x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cset_new ## -- Begin function cset_new
.p2align 4, 0x90
_cset_new: ## @cset_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $4, %esi
popq %rbp
jmp _calloc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cset_new ; -- Begin function cset_new
.p2align 2
_cset_new: ; @cset_new
.cfi_startproc
; %bb.0:
mov w0, #1
mov w1, #4
b _calloc
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/tar/extr_creation_set.c_cset_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_scsi_rev_5
_is_scsi_rev_5: ## @is_scsi_rev_5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl 8(%rax), %ecx
andl $7, %ecx
xorl %eax, %eax
cmpl $5, %ecx
sete %al
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _is_scsi_rev_5
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_scsi_rev_5
_is_scsi_rev_5: ; @is_scsi_rev_5
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
ldr w8, [x8, #8]
and w8, w8, #0x7
cmp w8, #5
cset w0, eq
ret
LBB0_2:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _is_scsi_rev_5
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_hpsa.c_is_scsi_rev_5.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___wgetmainargs ## -- Begin function __wgetmainargs
.p2align 4, 0x90
___wgetmainargs: ## @__wgetmainargs
.cfi_startproc
## %bb.0:
movq ___wargv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq ___winitenv@GOTPCREL(%rip), %r8
testq %rax, %rax
je LBB0_3
## %bb.1:
cmpq $0, (%r8)
je LBB0_3
## %bb.2:
movq %rax, (%rsi)
movq (%r8), %rax
movq %rax, (%rdx)
movq ___argc@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
retq
LBB0_3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -60(%rbp) ## 4-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdx, -88(%rbp) ## 8-byte Spill
movq _TRUE@GOTPCREL(%rip), %rbx
movl (%rbx), %r15d
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq ___argc@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq __wcmdln@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _wcslen
movq %rax, %r13
movl %r13d, %edi
callq _malloc
movq %rax, -56(%rbp) ## 8-byte Spill
cmpl $0, (%rbx)
je LBB0_50
## %bb.4:
movq %r14, %r9
xorl %eax, %eax
movl -60(%rbp), %ecx ## 4-byte Reload
movl %ecx, -48(%rbp) ## 4-byte Spill
xorl %esi, %esi
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_19 Depth 3
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_19 Depth 3
movslq %eax, %r14
movq %r14, %rdi
cmpq %r14, %r13
cmovaq %r13, %rdi
seta %bl
jbe LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq (%r9), %r8
movzbl (%r8,%r14), %edx
cmpl $32, %edx
jne LBB0_13
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movb $32, %dl
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_27
jmp LBB0_15
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=2
movl %edi, %eax
testl %r15d, %r15d
je LBB0_16
LBB0_11: ## in Loop: Header=BB0_6 Depth=2
movl %eax, %r14d
LBB0_12: ## in Loop: Header=BB0_6 Depth=2
movq -56(%rbp), %rdi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
movq %r9, %r15
callq _wcsndup
movl %eax, %edi
movl -48(%rbp), %esi ## 4-byte Reload
callq _wexpand
movq %r15, %r9
movl %r14d, %eax
testb %bl, %bl
jne LBB0_17
jmp LBB0_50
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_6 Depth=2
cmpb $9, %dl
jne LBB0_22
## %bb.14: ## in Loop: Header=BB0_6 Depth=2
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_22
LBB0_15: ## in Loop: Header=BB0_6 Depth=2
movl $0, -44(%rbp) ## 4-byte Folded Spill
testl %r15d, %r15d
jne LBB0_11
LBB0_16: ## in Loop: Header=BB0_6 Depth=2
cmpq %r14, %r13
jbe LBB0_50
LBB0_17: ## in Loop: Header=BB0_6 Depth=2
movslq %eax, %rcx
addq (%r9), %rcx
movl %eax, %r14d
jmp LBB0_19
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_19 Depth=3
decl %r14d
decq %rcx
LBB0_19: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%rcx), %eax
cmpl $32, %eax
je LBB0_18
## %bb.20: ## in Loop: Header=BB0_19 Depth=3
cmpl $9, %eax
je LBB0_18
## %bb.21: ## in Loop: Header=BB0_6 Depth=2
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r12d
xorl %ecx, %ecx
xorl %esi, %esi
movl %r12d, %r15d
jmp LBB0_29
LBB0_22: ## in Loop: Header=BB0_6 Depth=2
cmpl $92, %edx
je LBB0_43
## %bb.23: ## in Loop: Header=BB0_6 Depth=2
cmpl $34, %edx
jne LBB0_27
## %bb.24: ## in Loop: Header=BB0_6 Depth=2
testl %ecx, %ecx
js LBB0_31
## %bb.25: ## in Loop: Header=BB0_6 Depth=2
movl %ecx, %edx
shrl %edx
subl %edx, %esi
testb $1, %cl
je LBB0_45
## %bb.26: ## in Loop: Header=BB0_6 Depth=2
leal 1(%rsi), %ecx
addl $2, %esi
movslq %ecx, %rcx
movq -56(%rbp), %rdx ## 8-byte Reload
movb $34, (%rdx,%rcx)
movq _TRUE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
incl %eax
movl $1, %r15d
xorl %ecx, %ecx
movl %edx, %r12d
movl %eax, %r14d
jmp LBB0_30
LBB0_27: ## in Loop: Header=BB0_6 Depth=2
movl %eax, %r14d
LBB0_28: ## in Loop: Header=BB0_6 Depth=2
movslq %esi, %rax
incl %esi
movq -56(%rbp), %rcx ## 8-byte Reload
movb %dl, (%rcx,%rax)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r12d
incl %r14d
movl $1, %r15d
xorl %ecx, %ecx
LBB0_29: ## in Loop: Header=BB0_6 Depth=2
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
LBB0_30: ## in Loop: Header=BB0_6 Depth=2
movl %r14d, %eax
testl %edx, %edx
jne LBB0_6
jmp LBB0_50
LBB0_31: ## in Loop: Header=BB0_6 Depth=2
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_45
## %bb.32: ## in Loop: Header=BB0_6 Depth=2
testl %eax, %eax
jle LBB0_45
## %bb.33: ## in Loop: Header=BB0_6 Depth=2
cmpb $34, -1(%r8,%r14)
jne LBB0_46
## %bb.34: ## in Loop: Header=BB0_6 Depth=2
testl %r12d, %r12d
jne LBB0_46
## %bb.35: ## in Loop: Header=BB0_6 Depth=2
movslq %esi, %rax
movq -56(%rbp), %rdx ## 8-byte Reload
movb $34, (%rdx,%rax)
movq _TRUE@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_50
## %bb.36: ## in Loop: Header=BB0_6 Depth=2
incl %esi
incq %r14
xorl %ebx, %ebx
cmpq %r14, %r13
jbe LBB0_40
## %bb.37: ## in Loop: Header=BB0_6 Depth=2
movq (%r9), %rax
movzbl (%rax,%r14), %edx
movzbl %dl, %eax
movl $0, -44(%rbp) ## 4-byte Folded Spill
cmpl $33, %eax
jg LBB0_41
## %bb.38: ## in Loop: Header=BB0_6 Depth=2
movb $1, %bl
cmpl $9, %eax
je LBB0_12
## %bb.39: ## in Loop: Header=BB0_6 Depth=2
cmpl $32, %eax
je LBB0_12
jmp LBB0_28
LBB0_40: ## in Loop: Header=BB0_6 Depth=2
movl $0, -44(%rbp) ## 4-byte Folded Spill
movl %edi, %r14d
jmp LBB0_12
LBB0_41: ## in Loop: Header=BB0_6 Depth=2
cmpl $92, %eax
jne LBB0_44
## %bb.42: ## in Loop: Header=BB0_6 Depth=2
movl %r14d, %eax
LBB0_43: ## in Loop: Header=BB0_6 Depth=2
movslq %esi, %rdx
incl %esi
movq -56(%rbp), %rdi ## 8-byte Reload
movb $92, (%rdi,%rdx)
incl %ecx
incl %eax
movq _FALSE@GOTPCREL(%rip), %rdx
movl (%rdx), %r12d
movl $1, %r15d
movl %eax, %r14d
jmp LBB0_29
LBB0_44: ## in Loop: Header=BB0_6 Depth=2
cmpl $34, %eax
jne LBB0_28
jmp LBB0_47
LBB0_45: ## in Loop: Header=BB0_5 Depth=1
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
movl -44(%rbp), %edi ## 4-byte Reload
movl %edi, %ecx
xorl $1, %ecx
movl -60(%rbp), %edx ## 4-byte Reload
movl %edx, -48(%rbp) ## 4-byte Spill
testl %edi, %edi
jne LBB0_49
jmp LBB0_48
LBB0_46: ## in Loop: Header=BB0_5 Depth=1
movl %eax, %r14d
LBB0_47: ## in Loop: Header=BB0_5 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movl $1, %ecx
movl %r14d, %eax
LBB0_48: ## in Loop: Header=BB0_5 Depth=1
movl %r12d, -48(%rbp) ## 4-byte Spill
LBB0_49: ## in Loop: Header=BB0_5 Depth=1
incl %eax
movl $1, %r15d
movl %ecx, -44(%rbp) ## 4-byte Spill
jmp LBB0_5
LBB0_50:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _free
movq ___argc@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq ___wargv@GOTPCREL(%rip), %r15
movq (%r15), %rax
testq %rax, %rax
jne LBB0_52
## %bb.51:
movl $8, %edi
callq _malloc
movq %rax, (%r15)
movq $0, (%rax)
movq (%r15), %rax
LBB0_52:
movq -80(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq ___winitenv@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -88(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq _MAX_PATH@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _malloc
movq __wpgmptr@GOTPCREL(%rip), %r14
movq %rax, (%r14)
testq %rax, %rax
je LBB0_55
## %bb.53:
movl (%rbx), %edx
xorl %edi, %edi
movq %rax, %rsi
callq _GetModuleFileNameW
movq (%r14), %rcx
testl %eax, %eax
je LBB0_56
## %bb.54:
movslq (%rbx), %rax
movb $0, -1(%rcx,%rax)
jmp LBB0_57
LBB0_55:
movq (%r15), %rax
movq (%rax), %rdi
callq __wcsdup
movq %rax, (%r14)
jmp LBB0_57
LBB0_56:
movb $0, (%rcx)
LBB0_57:
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _HeapValidate ## TAILCALL
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.comm ___wargv,8,3 ## @__wargv
.comm ___winitenv,8,3 ## @__winitenv
.comm ___argc,4,2 ## @__argc
.comm __wcmdln,8,3 ## @_wcmdln
.comm _MAX_PATH,4,2 ## @MAX_PATH
.comm __wpgmptr,8,3 ## @_wpgmptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___wgetmainargs ; -- Begin function __wgetmainargs
.p2align 2
___wgetmainargs: ; @__wgetmainargs
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, ___wargv@GOTPAGE
Lloh1:
ldr x8, [x8, ___wargv@GOTPAGEOFF]
Lloh2:
adrp x10, ___winitenv@GOTPAGE
Lloh3:
ldr x10, [x10, ___winitenv@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldr x9, [x10]
cmp x8, #0
ccmp x9, #0, #4, ne
Lloh5:
adrp x9, ___argc@GOTPAGE
Lloh6:
ldr x9, [x9, ___argc@GOTPAGEOFF]
b.ne LBB0_44
; %bb.1:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str w3, [sp, #4] ; 4-byte Folded Spill
stp x0, x1, [sp, #8] ; 16-byte Folded Spill
str x2, [sp, #24] ; 8-byte Folded Spill
Lloh7:
adrp x28, _TRUE@GOTPAGE
Lloh8:
ldr x28, [x28, _TRUE@GOTPAGEOFF]
Lloh9:
adrp x8, _FALSE@GOTPAGE
Lloh10:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
ldr w25, [x28]
Lloh11:
ldr w19, [x8]
str wzr, [x9]
Lloh12:
adrp x26, __wcmdln@GOTPAGE
Lloh13:
ldr x26, [x26, __wcmdln@GOTPAGEOFF]
ldr x0, [x26]
bl _wcslen
mov x23, x0
bl _malloc
mov x24, x0
ldr w8, [x28]
cbz w8, LBB0_45
; %bb.2:
mov w8, #0 ; =0x0
mov w1, #0 ; =0x0
mov w27, #0 ; =0x0
ldr w20, [sp, #4] ; 4-byte Folded Reload
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
; Child Loop BB0_29 Depth 3
mov w9, #0 ; =0x0
b LBB0_9
LBB0_4: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #92
b.ne LBB0_8
; %bb.5: ; in Loop: Header=BB0_9 Depth=2
mov x8, x21
LBB0_6: ; in Loop: Header=BB0_9 Depth=2
mov w10, #92 ; =0x5c
strb w10, [x24, w1, sxtw]
add w10, w1, #1
add w9, w9, #1
add w8, w8, #1
Lloh14:
adrp x11, _FALSE@GOTPAGE
Lloh15:
ldr x11, [x11, _FALSE@GOTPAGEOFF]
Lloh16:
ldr w19, [x11]
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
mov w25, #1 ; =0x1
mov x1, x10
ldr w10, [x28]
cbnz w10, LBB0_9
b LBB0_45
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #34
b.ne LBB0_24
b LBB0_41
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_29 Depth 3
sxtw x10, w8
cmp x23, x10
csel x21, x23, x10, hi
cset w22, hi
b.ls LBB0_13
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
ldr x11, [x26]
add x12, x11, x10
ldrb w11, [x12]
cmp w11, #32
b.ne LBB0_17
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
cbz w27, LBB0_14
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
mov w11, #32 ; =0x20
b LBB0_23
LBB0_13: ; in Loop: Header=BB0_9 Depth=2
mov x8, x21
LBB0_14: ; in Loop: Header=BB0_9 Depth=2
cbz w25, LBB0_26
LBB0_15: ; in Loop: Header=BB0_9 Depth=2
mov x21, x8
LBB0_16: ; in Loop: Header=BB0_9 Depth=2
mov x0, x24
; kill: def $w1 killed $w1 killed $x1
bl _wcsndup
mov x1, x20
bl _wexpand
mov x8, x21
tbnz w22, #0, LBB0_27
b LBB0_45
LBB0_17: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #9
ccmp w27, #0, #0, eq
b.eq LBB0_25
; %bb.18: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #92
b.eq LBB0_6
; %bb.19: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #34
b.ne LBB0_23
; %bb.20: ; in Loop: Header=BB0_9 Depth=2
tbnz w9, #31, LBB0_31
; %bb.21: ; in Loop: Header=BB0_9 Depth=2
sub w1, w1, w9, lsr #1
tbz w9, #0, LBB0_39
; %bb.22: ; in Loop: Header=BB0_9 Depth=2
mov w9, #0 ; =0x0
add w10, w1, #1
add w1, w1, #2
mov w11, #34 ; =0x22
strb w11, [x24, w10, sxtw]
ldr w19, [x28]
add w8, w8, #1
mov w25, #1 ; =0x1
cbnz w19, LBB0_9
b LBB0_45
LBB0_23: ; in Loop: Header=BB0_9 Depth=2
mov x21, x8
LBB0_24: ; in Loop: Header=BB0_9 Depth=2
mov w9, #0 ; =0x0
strb w11, [x24, w1, sxtw]
add w10, w1, #1
Lloh17:
adrp x8, _FALSE@GOTPAGE
Lloh18:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
ldr w19, [x8]
add w8, w21, #1
b LBB0_7
LBB0_25: ; in Loop: Header=BB0_9 Depth=2
mov w27, #0 ; =0x0
cbnz w25, LBB0_15
LBB0_26: ; in Loop: Header=BB0_9 Depth=2
cmp x23, x10
b.ls LBB0_45
LBB0_27: ; in Loop: Header=BB0_9 Depth=2
ldr x9, [x26]
add x9, x9, w8, sxtw
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_29 Depth=3
sub w8, w8, #1
LBB0_29: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w10, [x9], #-1
cmp w10, #32
ccmp w10, #9, #4, ne
b.eq LBB0_28
; %bb.30: ; in Loop: Header=BB0_9 Depth=2
mov w9, #0 ; =0x0
mov w1, #0 ; =0x0
Lloh20:
adrp x10, _FALSE@GOTPAGE
Lloh21:
ldr x10, [x10, _FALSE@GOTPAGEOFF]
Lloh22:
ldr w19, [x10]
mov x25, x19
ldr w10, [x28]
cbnz w10, LBB0_9
b LBB0_45
LBB0_31: ; in Loop: Header=BB0_9 Depth=2
cbnz w27, LBB0_39
; %bb.32: ; in Loop: Header=BB0_9 Depth=2
cmp w8, #1
b.lt LBB0_39
; %bb.33: ; in Loop: Header=BB0_9 Depth=2
ldurb w11, [x12, #-1]
cmp w11, #34
ccmp w19, #0, #0, eq
b.ne LBB0_40
; %bb.34: ; in Loop: Header=BB0_9 Depth=2
mov w8, #34 ; =0x22
strb w8, [x24, w1, sxtw]
ldr w8, [x28]
cbz w8, LBB0_45
; %bb.35: ; in Loop: Header=BB0_9 Depth=2
add w1, w1, #1
add x8, x10, #1
cmp x23, x8
cset w22, hi
mov w27, #0 ; =0x0
b.eq LBB0_16
; %bb.36: ; in Loop: Header=BB0_9 Depth=2
mov x21, x8
ldr x10, [x26]
ldrb w11, [x10, x8]
cmp w11, #33
b.gt LBB0_4
; %bb.37: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #9
b.eq LBB0_16
; %bb.38: ; in Loop: Header=BB0_9 Depth=2
cmp w11, #32
b.eq LBB0_16
b LBB0_24
LBB0_39: ; in Loop: Header=BB0_3 Depth=1
Lloh23:
adrp x9, _FALSE@GOTPAGE
Lloh24:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
Lloh25:
ldr w19, [x9]
eor w9, w27, #0x1
ldr w20, [sp, #4] ; 4-byte Folded Reload
cbnz w27, LBB0_43
b LBB0_42
LBB0_40: ; in Loop: Header=BB0_3 Depth=1
mov x21, x8
LBB0_41: ; in Loop: Header=BB0_3 Depth=1
Lloh26:
adrp x8, _FALSE@GOTPAGE
Lloh27:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh28:
ldr w19, [x8]
mov w9, #1 ; =0x1
mov x8, x21
LBB0_42: ; in Loop: Header=BB0_3 Depth=1
mov x20, x19
LBB0_43: ; in Loop: Header=BB0_3 Depth=1
add w8, w8, #1
mov w25, #1 ; =0x1
mov x27, x9
b LBB0_3
LBB0_44:
str x8, [x1]
ldr x8, [x10]
str x8, [x2]
ldr w8, [x9]
str w8, [x0]
ret
LBB0_45:
mov x0, x24
bl _free
Lloh29:
adrp x8, ___argc@GOTPAGE
Lloh30:
ldr x8, [x8, ___argc@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
ldr x9, [sp, #8] ; 8-byte Folded Reload
str w8, [x9]
Lloh32:
adrp x21, ___wargv@GOTPAGE
Lloh33:
ldr x21, [x21, ___wargv@GOTPAGEOFF]
ldr x8, [x21]
cbnz x8, LBB0_47
; %bb.46:
mov w0, #8 ; =0x8
bl _malloc
str x0, [x21]
str xzr, [x0]
ldr x8, [x21]
LBB0_47:
ldp x10, x9, [sp, #16] ; 16-byte Folded Reload
str x8, [x10]
Lloh34:
adrp x8, ___winitenv@GOTPAGE
Lloh35:
ldr x8, [x8, ___winitenv@GOTPAGEOFF]
Lloh36:
ldr x8, [x8]
str x8, [x9]
Lloh37:
adrp x19, _MAX_PATH@GOTPAGE
Lloh38:
ldr x19, [x19, _MAX_PATH@GOTPAGEOFF]
ldr w0, [x19]
bl _malloc
Lloh39:
adrp x20, __wpgmptr@GOTPAGE
Lloh40:
ldr x20, [x20, __wpgmptr@GOTPAGEOFF]
str x0, [x20]
cbz x0, LBB0_50
; %bb.48:
mov x1, x0
ldr w2, [x19]
mov x0, #0 ; =0x0
bl _GetModuleFileNameW
ldr x8, [x20]
cbz w0, LBB0_51
; %bb.49:
ldrsw x9, [x19]
add x8, x8, x9
sturb wzr, [x8, #-1]
b LBB0_52
LBB0_50:
ldr x8, [x21]
ldr x0, [x8]
bl __wcsdup
str x0, [x20]
b LBB0_52
LBB0_51:
strb wzr, [x8]
LBB0_52:
bl _GetProcessHeap
mov w1, #0 ; =0x0
mov x2, #0 ; =0x0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _HeapValidate
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.comm ___wargv,8,3 ; @__wargv
.comm ___winitenv,8,3 ; @__winitenv
.comm ___argc,4,2 ; @__argc
.comm __wcmdln,8,3 ; @_wcmdln
.comm _MAX_PATH,4,2 ; @MAX_PATH
.comm __wpgmptr,8,3 ; @_wpgmptr
.subsections_via_symbols
| assembly_file_114835.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function check_wp
_check_wp: ## @check_wp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _FD_VERIFY_BIT@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq _DRS@GOTPCREL(%rip), %r14
movq (%r14), %rsi
callq _test_bit
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _FD_GETSTATUS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _output_byte
movq _current_drive@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _UNIT
movl %eax, %edi
callq _output_byte
xorl %eax, %eax
callq _result
cmpl $1, %eax
jne LBB0_2
## %bb.4:
movl (%rbx), %edi
movq (%r14), %rsi
callq _clear_bit
movq _FD_NEED_TWADDLE_BIT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rsi
callq _clear_bit
movq _DP@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _debug_dcl
movq (%rbx), %rax
movl (%rax), %edi
movq _ST3@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
andl $64, %edx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _debug_dcl
testb $64, (%rbx)
movq _FD_DISK_WRITABLE_BIT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rsi
jne LBB0_5
## %bb.6:
popq %rbx
popq %r14
popq %rbp
jmp _set_bit ## TAILCALL
LBB0_2:
movq _FDCS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $1, (%rax)
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
popq %rbx
popq %r14
popq %rbp
jmp _clear_bit ## TAILCALL
.cfi_endproc
## -- End function
.comm _FD_VERIFY_BIT,4,2 ## @FD_VERIFY_BIT
.comm _DRS,8,3 ## @DRS
.comm _FD_GETSTATUS,4,2 ## @FD_GETSTATUS
.comm _current_drive,4,2 ## @current_drive
.comm _FDCS,8,3 ## @FDCS
.comm _FD_NEED_TWADDLE_BIT,4,2 ## @FD_NEED_TWADDLE_BIT
.comm _DP,8,3 ## @DP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "checking whether disk is write protected\n"
L_.str.1: ## @.str.1
.asciz "wp=%x\n"
.comm _ST3,4,2 ## @ST3
.comm _FD_DISK_WRITABLE_BIT,4,2 ## @FD_DISK_WRITABLE_BIT
.no_dead_strip _check_wp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function check_wp
_check_wp: ; @check_wp
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x20, _FD_VERIFY_BIT@GOTPAGE
Lloh1:
ldr x20, [x20, _FD_VERIFY_BIT@GOTPAGEOFF]
ldr w0, [x20]
Lloh2:
adrp x19, _DRS@GOTPAGE
Lloh3:
ldr x19, [x19, _DRS@GOTPAGEOFF]
ldr x1, [x19]
bl _test_bit
cbz x0, LBB0_5
; %bb.1:
Lloh4:
adrp x8, _FD_GETSTATUS@GOTPAGE
Lloh5:
ldr x8, [x8, _FD_GETSTATUS@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
bl _output_byte
Lloh7:
adrp x8, _current_drive@GOTPAGE
Lloh8:
ldr x8, [x8, _current_drive@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
bl _UNIT
bl _output_byte
bl _result
cmp w0, #1
b.ne LBB0_4
; %bb.2:
ldr w0, [x20]
ldr x1, [x19]
bl _clear_bit
Lloh10:
adrp x8, _FD_NEED_TWADDLE_BIT@GOTPAGE
Lloh11:
ldr x8, [x8, _FD_NEED_TWADDLE_BIT@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
ldr x1, [x19]
bl _clear_bit
Lloh13:
adrp x20, _DP@GOTPAGE
Lloh14:
ldr x20, [x20, _DP@GOTPAGEOFF]
ldr x8, [x20]
ldr w0, [x8]
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
bl _debug_dcl
ldr x8, [x20]
ldr w0, [x8]
Lloh17:
adrp x20, _ST3@GOTPAGE
Lloh18:
ldr x20, [x20, _ST3@GOTPAGEOFF]
ldr w8, [x20]
and w8, w8, #0x40
str x8, [sp]
Lloh19:
adrp x1, l_.str.1@PAGE
Lloh20:
add x1, x1, l_.str.1@PAGEOFF
bl _debug_dcl
Lloh21:
adrp x8, _FD_DISK_WRITABLE_BIT@GOTPAGE
Lloh22:
ldr x8, [x8, _FD_DISK_WRITABLE_BIT@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
ldr x1, [x19]
ldrb w8, [x20]
tbnz w8, #6, LBB0_6
; %bb.3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _set_bit
LBB0_4:
Lloh24:
adrp x8, _FDCS@GOTPAGE
Lloh25:
ldr x8, [x8, _FDCS@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
mov w9, #1
str w9, [x8]
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _clear_bit
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _FD_VERIFY_BIT,4,2 ; @FD_VERIFY_BIT
.comm _DRS,8,3 ; @DRS
.comm _FD_GETSTATUS,4,2 ; @FD_GETSTATUS
.comm _current_drive,4,2 ; @current_drive
.comm _FDCS,8,3 ; @FDCS
.comm _FD_NEED_TWADDLE_BIT,4,2 ; @FD_NEED_TWADDLE_BIT
.comm _DP,8,3 ; @DP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "checking whether disk is write protected\n"
l_.str.1: ; @.str.1
.asciz "wp=%x\n"
.comm _ST3,4,2 ; @ST3
.comm _FD_DISK_WRITABLE_BIT,4,2 ; @FD_DISK_WRITABLE_BIT
.no_dead_strip _check_wp
.subsections_via_symbols
| AnghaBench/linux/drivers/block/extr_floppy.c_check_wp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t1 ## -- Begin function t1
.p2align 4, 0x90
_t1: ## @t1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
movq _a@GOTPCREL(%rip), %rcx
movq _b@GOTPCREL(%rip), %rdx
movq _r@GOTPCREL(%rip), %rsi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movaps (%rcx,%rax,4), %xmm0
sqrtps (%rdx,%rax,4), %xmm1
divps %xmm1, %xmm0
movaps %xmm0, (%rsi,%rax,4)
addq $4, %rax
cmpq $32, %rax
jne LBB0_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _t2 ## -- Begin function t2
.p2align 4, 0x90
_t2: ## @t2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
movq _a@GOTPCREL(%rip), %rcx
movq _b@GOTPCREL(%rip), %rdx
movq _r@GOTPCREL(%rip), %rsi
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movaps (%rcx,%rax,4), %xmm0
divps (%rdx,%rax,4), %xmm0
sqrtps %xmm0, %xmm0
movaps %xmm0, (%rsi,%rax,4)
addq $4, %rax
cmpq $32, %rax
jne LBB1_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _t3 ## -- Begin function t3
.p2align 4, 0x90
_t3: ## @t3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
movq _a@GOTPCREL(%rip), %rcx
movq _r@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
sqrtps (%rcx,%rax,4), %xmm0
movaps %xmm0, (%rdx,%rax,4)
addq $4, %rax
cmpq $32, %rax
jne LBB2_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _a,128,4 ## @a
.comm _b,128,4 ## @b
.comm _r,128,4 ## @r
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _t1 ; -- Begin function t1
.p2align 2
_t1: ; @t1
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _a@GOTPAGE
Lloh1:
ldr x8, [x8, _a@GOTPAGEOFF]
Lloh2:
adrp x9, _b@GOTPAGE
Lloh3:
ldr x9, [x9, _b@GOTPAGEOFF]
ldp q0, q1, [x9]
fsqrt.4s v0, v0
ldp q2, q3, [x8]
fdiv.4s v0, v2, v0
Lloh4:
adrp x10, _r@GOTPAGE
Lloh5:
ldr x10, [x10, _r@GOTPAGEOFF]
fsqrt.4s v1, v1
fdiv.4s v1, v3, v1
stp q0, q1, [x10]
ldp q0, q1, [x9, #32]
fsqrt.4s v0, v0
ldp q2, q3, [x8, #32]
fdiv.4s v0, v2, v0
fsqrt.4s v1, v1
fdiv.4s v1, v3, v1
stp q0, q1, [x10, #32]
ldp q0, q1, [x9, #64]
fsqrt.4s v0, v0
ldp q2, q3, [x8, #64]
fdiv.4s v0, v2, v0
fsqrt.4s v1, v1
fdiv.4s v1, v3, v1
stp q0, q1, [x10, #64]
ldp q0, q1, [x9, #96]
fsqrt.4s v0, v0
ldp q2, q3, [x8, #96]
fdiv.4s v0, v2, v0
fsqrt.4s v1, v1
fdiv.4s v1, v3, v1
stp q0, q1, [x10, #96]
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _t2 ; -- Begin function t2
.p2align 2
_t2: ; @t2
.cfi_startproc
; %bb.0:
Lloh6:
adrp x8, _a@GOTPAGE
Lloh7:
ldr x8, [x8, _a@GOTPAGEOFF]
Lloh8:
adrp x9, _b@GOTPAGE
Lloh9:
ldr x9, [x9, _b@GOTPAGEOFF]
ldp q0, q1, [x8]
ldp q2, q3, [x9]
fdiv.4s v0, v0, v2
fsqrt.4s v0, v0
Lloh10:
adrp x10, _r@GOTPAGE
Lloh11:
ldr x10, [x10, _r@GOTPAGEOFF]
fdiv.4s v1, v1, v3
fsqrt.4s v1, v1
stp q0, q1, [x10]
ldp q0, q1, [x8, #32]
ldp q2, q3, [x9, #32]
fdiv.4s v0, v0, v2
fsqrt.4s v0, v0
fdiv.4s v1, v1, v3
fsqrt.4s v1, v1
stp q0, q1, [x10, #32]
ldp q0, q1, [x8, #64]
ldp q2, q3, [x9, #64]
fdiv.4s v0, v0, v2
fsqrt.4s v0, v0
fdiv.4s v1, v1, v3
fsqrt.4s v1, v1
stp q0, q1, [x10, #64]
ldp q0, q1, [x8, #96]
ldp q2, q3, [x9, #96]
fdiv.4s v0, v0, v2
fdiv.4s v1, v1, v3
fsqrt.4s v0, v0
fsqrt.4s v1, v1
stp q0, q1, [x10, #96]
ret
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _t3 ; -- Begin function t3
.p2align 2
_t3: ; @t3
.cfi_startproc
; %bb.0:
Lloh12:
adrp x8, _a@GOTPAGE
Lloh13:
ldr x8, [x8, _a@GOTPAGEOFF]
ldp q0, q1, [x8]
fsqrt.4s v0, v0
Lloh14:
adrp x9, _r@GOTPAGE
Lloh15:
ldr x9, [x9, _r@GOTPAGEOFF]
fsqrt.4s v1, v1
stp q0, q1, [x9]
ldp q0, q1, [x8, #32]
fsqrt.4s v0, v0
fsqrt.4s v1, v1
stp q0, q1, [x9, #32]
ldp q0, q1, [x8, #64]
fsqrt.4s v0, v0
fsqrt.4s v1, v1
stp q0, q1, [x9, #64]
ldp q0, q1, [x8, #96]
fsqrt.4s v0, v0
fsqrt.4s v1, v1
stp q0, q1, [x9, #96]
ret
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _a,128,2 ; @a
.comm _b,128,2 ; @b
.comm _r,128,2 ; @r
.subsections_via_symbols
| the_stack_data/57950810.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcmcia_readl
_pcmcia_readl: ## @pcmcia_readl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rsi
movq %rsi, %rdi
popq %rbp
jmp _bcm_readl ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _pcmcia_readl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcmcia_readl
_pcmcia_readl: ; @pcmcia_readl
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x0, x8, x1
b _bcm_readl
.cfi_endproc
; -- End function
.no_dead_strip _pcmcia_readl
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_bcm63xx_pcmcia.c_pcmcia_readl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _unreg_event_syscall_enter ## -- Begin function unreg_event_syscall_enter
.p2align 4, 0x90
_unreg_event_syscall_enter: ## @unreg_event_syscall_enter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %rax
movq (%rax), %rdi
callq _syscall_name_to_nr
testl %eax, %eax
js LBB0_5
## %bb.1:
movl %eax, %ebx
movq _NR_syscalls@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jge LBB0_5
## %bb.2:
movq _syscall_trace_lock@GOTPCREL(%rip), %rdi
callq _mutex_lock
movq _sys_refcount_enter@GOTPCREL(%rip), %r14
decl (%r14)
movq _enabled_enter_syscalls@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _clear_bit
cmpl $0, (%r14)
jne LBB0_4
## %bb.3:
movq _ftrace_syscall_enter@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _unregister_trace_sys_enter
LBB0_4:
movq _syscall_trace_lock@GOTPCREL(%rip), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _mutex_unlock ## TAILCALL
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NR_syscalls,4,2 ## @NR_syscalls
.comm _syscall_trace_lock,4,2 ## @syscall_trace_lock
.comm _sys_refcount_enter,4,2 ## @sys_refcount_enter
.comm _enabled_enter_syscalls,4,2 ## @enabled_enter_syscalls
.comm _ftrace_syscall_enter,4,2 ## @ftrace_syscall_enter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _unreg_event_syscall_enter ; -- Begin function unreg_event_syscall_enter
.p2align 2
_unreg_event_syscall_enter: ; @unreg_event_syscall_enter
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
ldr x0, [x8]
bl _syscall_name_to_nr
tbnz w0, #31, LBB0_5
; %bb.1:
mov x19, x0
Lloh0:
adrp x8, _NR_syscalls@GOTPAGE
Lloh1:
ldr x8, [x8, _NR_syscalls@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ge LBB0_5
; %bb.2:
Lloh3:
adrp x0, _syscall_trace_lock@GOTPAGE
Lloh4:
ldr x0, [x0, _syscall_trace_lock@GOTPAGEOFF]
bl _mutex_lock
Lloh5:
adrp x20, _sys_refcount_enter@GOTPAGE
Lloh6:
ldr x20, [x20, _sys_refcount_enter@GOTPAGEOFF]
ldr w8, [x20]
sub w8, w8, #1
str w8, [x20]
Lloh7:
adrp x8, _enabled_enter_syscalls@GOTPAGE
Lloh8:
ldr x8, [x8, _enabled_enter_syscalls@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
mov x0, x19
bl _clear_bit
ldr w8, [x20]
cbnz w8, LBB0_4
; %bb.3:
Lloh10:
adrp x8, _ftrace_syscall_enter@GOTPAGE
Lloh11:
ldr x8, [x8, _ftrace_syscall_enter@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
bl _unregister_trace_sys_enter
LBB0_4:
Lloh13:
adrp x0, _syscall_trace_lock@GOTPAGE
Lloh14:
ldr x0, [x0, _syscall_trace_lock@GOTPAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mutex_unlock
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _NR_syscalls,4,2 ; @NR_syscalls
.comm _syscall_trace_lock,4,2 ; @syscall_trace_lock
.comm _sys_refcount_enter,4,2 ; @sys_refcount_enter
.comm _enabled_enter_syscalls,4,2 ; @enabled_enter_syscalls
.comm _ftrace_syscall_enter,4,2 ; @ftrace_syscall_enter
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_syscalls.c_unreg_event_syscall_enter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rq_prio
_rq_prio: ## @rq_prio
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___NO_PREEMPTION@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm ___NO_PREEMPTION,4,2 ## @__NO_PREEMPTION
.no_dead_strip _rq_prio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rq_prio
_rq_prio: ; @rq_prio
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, ___NO_PREEMPTION@GOTPAGE
Lloh1:
ldr x9, [x9, ___NO_PREEMPTION@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
orr w0, w9, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm ___NO_PREEMPTION,4,2 ; @__NO_PREEMPTION
.no_dead_strip _rq_prio
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gt/uc/extr_intel_guc_submission.c_rq_prio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
cmpl $1, %edi
jg LBB0_2
## %bb.1:
xorl %eax, %eax
callq _print_usage
LBB0_2:
leaq L_str(%rip), %rdi
callq _puts
movq 8(%rbx), %rbx
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_5
## %bb.6:
xorl %eax, %eax
callq _print_usage
jmp LBB0_7
LBB0_3:
xorl %eax, %eax
callq _show_format_opts
jmp LBB0_7
LBB0_5:
xorl %eax, %eax
callq _show_codec_opts
LBB0_7:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "format"
L_.str.2: ## @.str.2
.asciz "codec"
L_str: ## @str
.asciz "@c DO NOT EDIT THIS FILE!\n@c It was generated by print_options.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
cmp w0, #1
b.gt LBB0_2
; %bb.1:
bl _print_usage
LBB0_2:
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x19, [x19, #8]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _strcmp
cbz w0, LBB0_5
; %bb.3:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _strcmp
cbz w0, LBB0_6
; %bb.4:
bl _print_usage
b LBB0_7
LBB0_5:
bl _show_format_opts
b LBB0_7
LBB0_6:
bl _show_codec_opts
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "format"
l_.str.2: ; @.str.2
.asciz "codec"
l_str: ; @str
.asciz "@c DO NOT EDIT THIS FILE!\n@c It was generated by print_options.\n"
.subsections_via_symbols
| AnghaBench/FFmpeg/doc/extr_print_options.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ep93xx_pata_dma_status
_ep93xx_pata_dma_status: ## @ep93xx_pata_dma_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %rax
movq (%rax), %r14
movq _IDEUDMASTS@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r14), %rdi
callq _readl
movl %eax, %ebx
movq _IDEUDMASTS_NDO@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
jne LBB0_4
## %bb.1:
movq _IDEUDMASTS_NDI@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
jne LBB0_4
## %bb.2:
movq _IDEUDMASTS_N4X@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
jne LBB0_4
## %bb.3:
movq _IDEUDMASTS_INTIDE@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_5
LBB0_4:
movq _ATA_DMA_ERR@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
LBB0_12:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
movq _IDECTRL@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r14), %rdi
callq _readl
movq _IDECTRL_INTRQ@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_7
## %bb.6:
movq _ATA_DMA_INTR@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_7:
movq _IDEUDMASTS_SBUSY@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
jne LBB0_10
## %bb.8:
movq _IDEUDMASTS_DMAIDE@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_9
LBB0_10:
movq _ATA_DMA_ACTIVE@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_9:
xorl %eax, %eax
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _IDEUDMASTS,8,3 ## @IDEUDMASTS
.comm _IDEUDMASTS_NDO,4,2 ## @IDEUDMASTS_NDO
.comm _IDEUDMASTS_NDI,4,2 ## @IDEUDMASTS_NDI
.comm _IDEUDMASTS_N4X,4,2 ## @IDEUDMASTS_N4X
.comm _IDEUDMASTS_INTIDE,4,2 ## @IDEUDMASTS_INTIDE
.comm _ATA_DMA_ERR,4,2 ## @ATA_DMA_ERR
.comm _IDECTRL,8,3 ## @IDECTRL
.comm _IDECTRL_INTRQ,4,2 ## @IDECTRL_INTRQ
.comm _ATA_DMA_INTR,4,2 ## @ATA_DMA_INTR
.comm _IDEUDMASTS_SBUSY,4,2 ## @IDEUDMASTS_SBUSY
.comm _IDEUDMASTS_DMAIDE,4,2 ## @IDEUDMASTS_DMAIDE
.comm _ATA_DMA_ACTIVE,4,2 ## @ATA_DMA_ACTIVE
.no_dead_strip _ep93xx_pata_dma_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ep93xx_pata_dma_status
_ep93xx_pata_dma_status: ; @ep93xx_pata_dma_status
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
ldr x20, [x8]
ldr x8, [x20]
Lloh0:
adrp x9, _IDEUDMASTS@GOTPAGE
Lloh1:
ldr x9, [x9, _IDEUDMASTS@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x0, x9, x8
bl _readl
Lloh3:
adrp x8, _IDEUDMASTS_NDO@GOTPAGE
Lloh4:
ldr x8, [x8, _IDEUDMASTS_NDO@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w0
b.ne LBB0_4
; %bb.1:
mov x19, x0
Lloh6:
adrp x8, _IDEUDMASTS_NDI@GOTPAGE
Lloh7:
ldr x8, [x8, _IDEUDMASTS_NDI@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w0
b.ne LBB0_4
; %bb.2:
Lloh9:
adrp x8, _IDEUDMASTS_N4X@GOTPAGE
Lloh10:
ldr x8, [x8, _IDEUDMASTS_N4X@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
tst w8, w19
b.ne LBB0_4
; %bb.3:
Lloh12:
adrp x8, _IDEUDMASTS_INTIDE@GOTPAGE
Lloh13:
ldr x8, [x8, _IDEUDMASTS_INTIDE@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
tst w8, w19
b.eq LBB0_7
LBB0_4:
Lloh15:
adrp x8, _ATA_DMA_ERR@GOTPAGE
Lloh16:
ldr x8, [x8, _ATA_DMA_ERR@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_7:
ldr x8, [x20]
Lloh17:
adrp x9, _IDECTRL@GOTPAGE
Lloh18:
ldr x9, [x9, _IDECTRL@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
add x0, x9, x8
bl _readl
Lloh20:
adrp x8, _IDECTRL_INTRQ@GOTPAGE
Lloh21:
ldr x8, [x8, _IDECTRL_INTRQ@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_9
; %bb.8:
Lloh23:
adrp x8, _ATA_DMA_INTR@GOTPAGE
Lloh24:
ldr x8, [x8, _ATA_DMA_INTR@GOTPAGEOFF]
b LBB0_5
LBB0_9:
Lloh25:
adrp x8, _IDEUDMASTS_SBUSY@GOTPAGE
Lloh26:
ldr x8, [x8, _IDEUDMASTS_SBUSY@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
tst w8, w19
b.ne LBB0_11
; %bb.10:
Lloh28:
adrp x8, _IDEUDMASTS_DMAIDE@GOTPAGE
Lloh29:
ldr x8, [x8, _IDEUDMASTS_DMAIDE@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
tst w8, w19
b.eq LBB0_12
LBB0_11:
Lloh31:
adrp x8, _ATA_DMA_ACTIVE@GOTPAGE
Lloh32:
ldr x8, [x8, _ATA_DMA_ACTIVE@GOTPAGEOFF]
b LBB0_5
LBB0_12:
mov w0, #0
b LBB0_6
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _IDEUDMASTS,8,3 ; @IDEUDMASTS
.comm _IDEUDMASTS_NDO,4,2 ; @IDEUDMASTS_NDO
.comm _IDEUDMASTS_NDI,4,2 ; @IDEUDMASTS_NDI
.comm _IDEUDMASTS_N4X,4,2 ; @IDEUDMASTS_N4X
.comm _IDEUDMASTS_INTIDE,4,2 ; @IDEUDMASTS_INTIDE
.comm _ATA_DMA_ERR,4,2 ; @ATA_DMA_ERR
.comm _IDECTRL,8,3 ; @IDECTRL
.comm _IDECTRL_INTRQ,4,2 ; @IDECTRL_INTRQ
.comm _ATA_DMA_INTR,4,2 ; @ATA_DMA_INTR
.comm _IDEUDMASTS_SBUSY,4,2 ; @IDEUDMASTS_SBUSY
.comm _IDEUDMASTS_DMAIDE,4,2 ; @IDEUDMASTS_DMAIDE
.comm _ATA_DMA_ACTIVE,4,2 ; @ATA_DMA_ACTIVE
.no_dead_strip _ep93xx_pata_dma_status
.subsections_via_symbols
| AnghaBench/linux/drivers/ata/extr_pata_ep93xx.c_ep93xx_pata_dma_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gdbstub_rx_char ## -- Begin function gdbstub_rx_char
.p2align 4, 0x90
_gdbstub_rx_char: ## @gdbstub_rx_char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movb $-1, (%rdi)
movq _gdbstub_rx_unget@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
testb %cl, %cl
je LBB0_1
## %bb.11:
movb %cl, (%rdi)
movb $0, (%rax)
xorl %eax, %eax
jmp LBB0_10
LBB0_1:
movl %esi, %ebx
movq %rdi, %r14
movq _gdbstub_rx_outp@GOTPCREL(%rip), %r15
movq _gdbstub_rx_inp@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _gdbstub_do_rx
movl (%r15), %eax
cmpl (%r12), %eax
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
testl %ebx, %ebx
je LBB0_2
## %bb.4:
movq _EAGAIN@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_10
LBB0_5:
movq _gdbstub_rx_buffer@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leal -1(%rax), %esi
movl (%rcx,%rax,4), %edx
movl (%rcx,%rsi,4), %ebx
orl $4095, %eax ## imm = 0xFFF
movl %eax, (%r15)
movq _UART_LSR_BI@GOTPCREL(%rip), %rax
testl %edx, (%rax)
je LBB0_7
## %bb.6:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _gdbstub_proto
xorl %eax, %eax
movq _EINTR@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
jmp LBB0_10
LBB0_7:
movq _UART_LSR_FE@GOTPCREL(%rip), %rax
movq _UART_LSR_OE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _UART_LSR_PE@GOTPCREL(%rip), %rax
orl (%rax), %ecx
testl %edx, %ecx
je LBB0_9
## %bb.8:
leaq L_.str.1(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _gdbstub_proto
xorl %eax, %eax
movq _EIO@GOTPCREL(%rip), %rcx
subl (%rcx), %eax
jmp LBB0_10
LBB0_9:
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _gdbstub_proto
xorl %eax, %eax
andb $127, %bl
movb %bl, (%r14)
LBB0_10:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gdbstub_rx_unget,1,0 ## @gdbstub_rx_unget
.comm _gdbstub_rx_outp,4,2 ## @gdbstub_rx_outp
.comm _gdbstub_rx_inp,4,2 ## @gdbstub_rx_inp
.comm _EAGAIN,4,2 ## @EAGAIN
.comm _gdbstub_rx_buffer,8,3 ## @gdbstub_rx_buffer
.comm _UART_LSR_BI,4,2 ## @UART_LSR_BI
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "### GDB Rx Break Detected ###\n"
.comm _EINTR,4,2 ## @EINTR
.comm _UART_LSR_FE,4,2 ## @UART_LSR_FE
.comm _UART_LSR_OE,4,2 ## @UART_LSR_OE
.comm _UART_LSR_PE,4,2 ## @UART_LSR_PE
L_.str.1: ## @.str.1
.asciz "### GDB Rx Error (st=%02x) ###\n"
.comm _EIO,4,2 ## @EIO
L_.str.2: ## @.str.2
.asciz "### GDB Rx %02x (st=%02x) ###\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gdbstub_rx_char ; -- Begin function gdbstub_rx_char
.p2align 2
_gdbstub_rx_char: ; @gdbstub_rx_char
.cfi_startproc
; %bb.0:
mov x8, x0
mov w9, #255 ; =0xff
strb w9, [x0]
Lloh0:
adrp x9, _gdbstub_rx_unget@GOTPAGE
Lloh1:
ldr x9, [x9, _gdbstub_rx_unget@GOTPAGEOFF]
ldrb w10, [x9]
cbz w10, LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
strb w10, [x8]
strb wzr, [x9]
ret
LBB0_2:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x8
Lloh2:
adrp x21, _gdbstub_rx_outp@GOTPAGE
Lloh3:
ldr x21, [x21, _gdbstub_rx_outp@GOTPAGEOFF]
Lloh4:
adrp x22, _gdbstub_rx_inp@GOTPAGE
Lloh5:
ldr x22, [x22, _gdbstub_rx_inp@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
bl _gdbstub_do_rx
ldr w9, [x21]
ldr w8, [x22]
cmp w9, w8
b.ne LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cbz w19, LBB0_3
; %bb.5:
Lloh6:
adrp x8, _EAGAIN@GOTPAGE
Lloh7:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
b LBB0_10
LBB0_6:
Lloh8:
adrp x8, _gdbstub_rx_buffer@GOTPAGE
Lloh9:
ldr x8, [x8, _gdbstub_rx_buffer@GOTPAGEOFF]
Lloh10:
ldr x10, [x8]
sub w11, w9, #1
ldr w8, [x10, x9, lsl #2]
ldr w19, [x10, w11, uxtw #2]
orr w9, w9, #0xfff
str w9, [x21]
Lloh11:
adrp x9, _UART_LSR_BI@GOTPAGE
Lloh12:
ldr x9, [x9, _UART_LSR_BI@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_8
; %bb.7:
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
bl _gdbstub_proto
Lloh16:
adrp x8, _EINTR@GOTPAGE
Lloh17:
ldr x8, [x8, _EINTR@GOTPAGEOFF]
b LBB0_10
LBB0_8:
Lloh18:
adrp x9, _UART_LSR_FE@GOTPAGE
Lloh19:
ldr x9, [x9, _UART_LSR_FE@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
Lloh21:
adrp x10, _UART_LSR_OE@GOTPAGE
Lloh22:
ldr x10, [x10, _UART_LSR_OE@GOTPAGEOFF]
Lloh23:
ldr w10, [x10]
orr w9, w10, w9
Lloh24:
adrp x10, _UART_LSR_PE@GOTPAGE
Lloh25:
ldr x10, [x10, _UART_LSR_PE@GOTPAGEOFF]
Lloh26:
ldr w10, [x10]
orr w9, w9, w10
tst w9, w8
b.eq LBB0_12
; %bb.9:
str x8, [sp]
Lloh27:
adrp x0, l_.str.1@PAGE
Lloh28:
add x0, x0, l_.str.1@PAGEOFF
bl _gdbstub_proto
Lloh29:
adrp x8, _EIO@GOTPAGE
Lloh30:
ldr x8, [x8, _EIO@GOTPAGEOFF]
LBB0_10:
ldr w8, [x8]
neg w0, w8
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_12:
stp x19, x8, [sp]
Lloh31:
adrp x0, l_.str.2@PAGE
Lloh32:
add x0, x0, l_.str.2@PAGEOFF
bl _gdbstub_proto
mov w0, #0 ; =0x0
and w8, w19, #0x7f
strb w8, [x20]
b LBB0_11
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _gdbstub_rx_unget,1,0 ; @gdbstub_rx_unget
.comm _gdbstub_rx_outp,4,2 ; @gdbstub_rx_outp
.comm _gdbstub_rx_inp,4,2 ; @gdbstub_rx_inp
.comm _EAGAIN,4,2 ; @EAGAIN
.comm _gdbstub_rx_buffer,8,3 ; @gdbstub_rx_buffer
.comm _UART_LSR_BI,4,2 ; @UART_LSR_BI
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "### GDB Rx Break Detected ###\n"
.comm _EINTR,4,2 ; @EINTR
.comm _UART_LSR_FE,4,2 ; @UART_LSR_FE
.comm _UART_LSR_OE,4,2 ; @UART_LSR_OE
.comm _UART_LSR_PE,4,2 ; @UART_LSR_PE
l_.str.1: ; @.str.1
.asciz "### GDB Rx Error (st=%02x) ###\n"
.comm _EIO,4,2 ; @EIO
l_.str.2: ; @.str.2
.asciz "### GDB Rx %02x (st=%02x) ###\n"
.subsections_via_symbols
| assembly_file_170952.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_ptp_stop ## -- Begin function ixgbe_ptp_stop
.p2align 4, 0x90
_ixgbe_ptp_stop: ## @ixgbe_ptp_stop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq ___IXGBE_PTP_RUNNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 32(%rbx), %rsi
callq _test_and_clear_bit
testl %eax, %eax
je LBB0_4
## %bb.1:
movq _IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 28(%rbx)
movq %rbx, %rdi
callq _ixgbe_ptp_setup_sdp
leaq 24(%rbx), %rdi
callq _cancel_work_sync
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
callq _dev_kfree_skb_any
movq $0, 16(%rbx)
LBB0_3:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.5:
callq _ptp_clock_unregister
movq $0, 8(%rbx)
movq (%rbx), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _e_dev_info ## TAILCALL
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm ___IXGBE_PTP_RUNNING,4,2 ## @__IXGBE_PTP_RUNNING
.comm _IXGBE_FLAG2_PTP_PPS_ENABLED,4,2 ## @IXGBE_FLAG2_PTP_PPS_ENABLED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "removed PHC on %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_ptp_stop ; -- Begin function ixgbe_ptp_stop
.p2align 2
_ixgbe_ptp_stop: ; @ixgbe_ptp_stop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, ___IXGBE_PTP_RUNNING@GOTPAGE
Lloh1:
ldr x8, [x8, ___IXGBE_PTP_RUNNING@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x1, x19, #32
bl _test_and_clear_bit
cbz w0, LBB0_5
; %bb.1:
Lloh3:
adrp x8, _IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPAGE
Lloh4:
ldr x8, [x8, _IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #28]
bic w8, w9, w8
str w8, [x19, #28]
mov x0, x19
bl _ixgbe_ptp_setup_sdp
add x0, x19, #24
bl _cancel_work_sync
ldr x0, [x19, #16]
cbz x0, LBB0_3
; %bb.2:
bl _dev_kfree_skb_any
str xzr, [x19, #16]
LBB0_3:
ldr x0, [x19, #8]
cbz x0, LBB0_5
; %bb.4:
bl _ptp_clock_unregister
str xzr, [x19, #8]
ldr x8, [x19]
ldr w1, [x8]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _e_dev_info
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm ___IXGBE_PTP_RUNNING,4,2 ; @__IXGBE_PTP_RUNNING
.comm _IXGBE_FLAG2_PTP_PPS_ENABLED,4,2 ; @IXGBE_FLAG2_PTP_PPS_ENABLED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "removed PHC on %s\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_ptp.c_ixgbe_ptp_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _a ## -- Begin function a
.p2align 4, 0x90
_a: ## @a
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal 3(%rdi), %eax
cmpl $2, %edi
cmovnel %eax, %edi
cmovgel %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _b ## -- Begin function b
.p2align 4, 0x90
_b: ## @b
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal 3(%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _c ## -- Begin function c
.p2align 4, 0x90
_c: ## @c
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal 3(%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "a(1) returns %d\n"
L_.str.1: ## @.str.1
.asciz "b(2) returns %d\n"
L_.str.2: ## @.str.2
.asciz "a(3) returns %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _a ; -- Begin function a
.p2align 2
_a: ; @a
.cfi_startproc
; %bb.0:
add w8, w0, #3
cmp w0, #2
csel w9, w0, w8, eq
csel w0, w8, w9, lt
ret
.cfi_endproc
; -- End function
.globl _b ; -- Begin function b
.p2align 2
_b: ; @b
.cfi_startproc
; %bb.0:
add w0, w0, #3
ret
.cfi_endproc
; -- End function
.globl _c ; -- Begin function c
.p2align 2
_c: ; @c
.cfi_startproc
; %bb.0:
add w0, w0, #3
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #4
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #5
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #6
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "a(1) returns %d\n"
l_.str.1: ; @.str.1
.asciz "b(2) returns %d\n"
l_.str.2: ; @.str.2
.asciz "a(3) returns %d\n"
.subsections_via_symbols
| the_stack_data/247017720.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movl %edi, %r13d
movl $10, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
leaq L_.str(%rip), %r12
leaq _longopts(%rip), %rbx
movq _optarg@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edi
movq %r15, %rsi
movq %r12, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq _getopt_long
cmpl $103, %eax
jg LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, %eax
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $63, %eax
jne LBB0_1
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
cmpl $110, %eax
je LBB0_27
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
cmpl $104, %eax
jne LBB0_1
jmp LBB0_7
LBB0_27: ## in Loop: Header=BB0_1 Depth=1
movq (%r14), %rdi
callq _atol
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_1
LBB0_8:
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %r14
cmpl %r13d, %r14d
jne LBB0_9
## %bb.13:
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
jle LBB0_26
## %bb.14:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq %r15, %rdi
callq _getc
cmpl $-1, %eax
je LBB0_26
## %bb.15:
movl %eax, %ebx
jmp LBB0_16
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_16 Depth=1
movq %r15, %rdi
callq _getc
movl %eax, %ebx
cmpl $-1, %eax
je LBB0_26
LBB0_16: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _putchar
cmpl $10, %ebx
jne LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
decq -48(%rbp) ## 8-byte Folded Spill
jne LBB0_18
jmp LBB0_26
LBB0_9:
cmpl %r13d, %r14d
jge LBB0_26
## %bb.10:
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_11 Depth=1
movq %rbx, %rdi
callq _fclose
incq %r14
cmpl %r13d, %r14d
movq -56(%rbp), %r15 ## 8-byte Reload
je LBB0_26
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_22 Depth 2
movq (%r15,%r14,8), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_12
## %bb.19: ## in Loop: Header=BB0_11 Depth=1
movq %rax, %rbx
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
jle LBB0_25
## %bb.20: ## in Loop: Header=BB0_11 Depth=1
movq %rbx, %rdi
callq _getc
cmpl $-1, %eax
je LBB0_25
## %bb.21: ## in Loop: Header=BB0_11 Depth=1
movl %eax, %r12d
movq -48(%rbp), %r15 ## 8-byte Reload
jmp LBB0_22
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_22 Depth=2
movq %rbx, %rdi
callq _getc
movl %eax, %r12d
cmpl $-1, %eax
je LBB0_25
LBB0_22: ## Parent Loop BB0_11 Depth=1
## => This Inner Loop Header: Depth=2
movl %r12d, %edi
callq _putchar
cmpl $10, %r12d
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_22 Depth=2
decq %r15
jne LBB0_24
jmp LBB0_25
LBB0_12:
callq _main.cold.1
LBB0_26:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq (%r15), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
LBB0_7:
movq (%r15), %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.3(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n:"
.section __DATA,__data
.p2align 4 ## @longopts
_longopts:
.quad L_.str.4
.long 1 ## 0x1
.space 4
.quad 0
.long 110 ## 0x6e
.space 4
.quad L_.str.5
.long 0 ## 0x0
.space 4
.quad 0
.long 104 ## 0x68
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Usage: %s [-n lines] [-h] file1 ...\n"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "fopen"
L_.str.4: ## @.str.4
.asciz "lines"
L_.str.5: ## @.str.5
.asciz "help"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x21, x0
mov w19, #10
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
Lloh2:
adrp x24, _optarg@GOTPAGE
Lloh3:
ldr x24, [x24, _optarg@GOTPAGEOFF]
Lloh4:
adrp x23, _longopts@PAGE
Lloh5:
add x23, x23, _longopts@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x20
mov x2, x22
mov x3, x23
mov x4, #0
bl _getopt_long
cmp w0, #103
b.gt LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmn w0, #1
b.eq LBB0_7
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
cmp w0, #63
b.ne LBB0_1
b LBB0_25
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
cmp w0, #110
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
cmp w0, #104
b.ne LBB0_1
b LBB0_26
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [x24]
bl _atol
mov x19, x0
b LBB0_1
LBB0_7:
Lloh6:
adrp x8, _optind@GOTPAGE
Lloh7:
ldr x8, [x8, _optind@GOTPAGEOFF]
Lloh8:
ldrsw x25, [x8]
cmp w25, w21
b.ne LBB0_14
; %bb.8:
cmp x19, #1
b.lt LBB0_24
; %bb.9:
Lloh9:
adrp x8, ___stdinp@GOTPAGE
Lloh10:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh11:
ldr x20, [x8]
mov x0, x20
bl _getc
cmn w0, #1
b.eq LBB0_24
; %bb.10:
mov x21, x0
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
mov x0, x20
bl _getc
mov x21, x0
cmn w0, #1
b.eq LBB0_24
LBB0_12: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _putchar
cmp w21, #10
b.ne LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
subs x19, x19, #1
b.ne LBB0_11
b LBB0_24
LBB0_14:
cmp w25, w21
b.ge LBB0_24
; %bb.15:
Lloh12:
adrp x22, l_.str.2@PAGE
Lloh13:
add x22, x22, l_.str.2@PAGEOFF
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
mov x0, x23
bl _fclose
add x25, x25, #1
cmp w25, w21
b.eq LBB0_24
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_22 Depth 2
ldr x0, [x20, x25, lsl #3]
mov x1, x22
bl _fopen
cbz x0, LBB0_27
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
mov x23, x0
cmp x19, #1
b.lt LBB0_16
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
mov x0, x23
bl _getc
cmn w0, #1
b.eq LBB0_16
; %bb.20: ; in Loop: Header=BB0_17 Depth=1
mov x24, x0
mov x26, x19
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_22 Depth=2
mov x0, x23
bl _getc
mov x24, x0
cmn w0, #1
b.eq LBB0_16
LBB0_22: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x24
bl _putchar
cmp w24, #10
b.ne LBB0_21
; %bb.23: ; in Loop: Header=BB0_22 Depth=2
subs x26, x26, #1
b.ne LBB0_21
b LBB0_16
LBB0_24:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_25:
ldr x8, [x20]
str x8, [sp]
Lloh14:
adrp x0, l_.str.1@PAGE
Lloh15:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_26:
ldr x8, [x20]
str x8, [sp]
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB0_27:
bl _main.cold.1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh18:
adrp x0, l_.str.3@PAGE
Lloh19:
add x0, x0, l_.str.3@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "n:"
.section __DATA,__data
.p2align 3 ; @longopts
_longopts:
.quad l_.str.4
.long 1 ; 0x1
.space 4
.quad 0
.long 110 ; 0x6e
.space 4
.quad l_.str.5
.long 0 ; 0x0
.space 4
.quad 0
.long 104 ; 0x68
.space 4
.space 32
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Usage: %s [-n lines] [-h] file1 ...\n"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "fopen"
l_.str.4: ; @.str.4
.asciz "lines"
l_.str.5: ; @.str.5
.asciz "help"
.subsections_via_symbols
| the_stack_data/17764.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wm8776_reset
_wm8776_reset: ## @wm8776_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _WM8776_RESET@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
popq %rbp
jmp _snd_soc_write ## TAILCALL
.cfi_endproc
## -- End function
.comm _WM8776_RESET,4,2 ## @WM8776_RESET
.no_dead_strip _wm8776_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wm8776_reset
_wm8776_reset: ; @wm8776_reset
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _WM8776_RESET@GOTPAGE
Lloh1:
ldr x8, [x8, _WM8776_RESET@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #0
b _snd_soc_write
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _WM8776_RESET,4,2 ; @WM8776_RESET
.no_dead_strip _wm8776_reset
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8776.c_wm8776_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gl_save_Map2f ## -- Begin function gl_save_Map2f
.p2align 4, 0x90
_gl_save_Map2f: ## @gl_save_Map2f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -48(%rbp) ## 8-byte Spill
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
movq _OPCODE_MAP2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $10, %edx
callq _alloc_instruction
movl %r15d, %esi
movq %r13, %rcx
movq 48(%rbp), %r13
movq 24(%rbp), %r11
movq 16(%rbp), %r10
movq %r12, %r8
movq 40(%rbp), %r12
movq -48(%rbp), %r9 ## 8-byte Reload
movq 32(%rbp), %r15
testq %rax, %rax
je LBB0_2
## %bb.1:
movl %esi, 56(%rax)
movq %r14, 80(%rax)
movq %rcx, 112(%rax)
movq %r10, 144(%rax)
movq %r11, 176(%rax)
movq %r8, 200(%rax)
movq %r15, 232(%rax)
movq %r9, 264(%rax)
movq %r12, 296(%rax)
movq %r13, 320(%rax)
LBB0_2:
cmpq $0, 8(%rbx)
je LBB0_4
## %bb.3:
movq _GL_TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rbx, %rdi
movq %r14, %rdx
pushq %rax
pushq %r13
pushq %r12
pushq %r15
pushq %r11
pushq %r10
callq *(%rbx)
addq $56, %rsp
jmp LBB0_5
LBB0_4:
addq $8, %rsp
LBB0_5:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OPCODE_MAP2,4,2 ## @OPCODE_MAP2
.comm _GL_TRUE,4,2 ## @GL_TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gl_save_Map2f ; -- Begin function gl_save_Map2f
.p2align 2
_gl_save_Map2f: ; @gl_save_Map2f
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x7, [sp, #8] ; 8-byte Folded Spill
mov x21, x6
mov x22, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov x27, x1
mov x26, x0
ldp x19, x28, [x29, #24]
ldr x20, [x29, #16]
Lloh0:
adrp x8, _OPCODE_MAP2@GOTPAGE
Lloh1:
ldr x8, [x8, _OPCODE_MAP2@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #10
bl _alloc_instruction
ldr x7, [sp, #8] ; 8-byte Folded Reload
cbz x0, LBB0_2
; %bb.1:
str w27, [x0, #56]
str x25, [x0, #80]
str x24, [x0, #112]
str x21, [x0, #144]
str x7, [x0, #176]
str x23, [x0, #200]
str x20, [x0, #232]
str x22, [x0, #264]
str x19, [x0, #296]
str x28, [x0, #320]
LBB0_2:
ldr x8, [x26, #8]
cbz x8, LBB0_4
; %bb.3:
ldr x8, [x26]
Lloh3:
adrp x9, _GL_TRUE@GOTPAGE
Lloh4:
ldr x9, [x9, _GL_TRUE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp x20, x19, [x29, #16]
str x28, [x29, #32]
str w9, [x29, #40]
mov x0, x26
mov x1, x27
mov x2, x25
mov x3, x24
mov x4, x23
mov x5, x22
mov x6, x21
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
br x8
LBB0_4:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _OPCODE_MAP2,4,2 ; @OPCODE_MAP2
.comm _GL_TRUE,4,2 ; @GL_TRUE
.subsections_via_symbols
| AnghaBench/reactos/dll/opengl/mesa/extr_dlist.c_gl_save_Map2f.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dhcp6_get_prefix_delegation
_dhcp6_get_prefix_delegation: ## @dhcp6_get_prefix_delegation
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl (%rax), %edi
movq _RADV_PREFIX_DELEGATION_DHCP6@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RADV_PREFIX_DELEGATION_BOTH@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _IN_SET ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RADV_PREFIX_DELEGATION_DHCP6,4,2 ## @RADV_PREFIX_DELEGATION_DHCP6
.comm _RADV_PREFIX_DELEGATION_BOTH,4,2 ## @RADV_PREFIX_DELEGATION_BOTH
.no_dead_strip _dhcp6_get_prefix_delegation
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dhcp6_get_prefix_delegation
_dhcp6_get_prefix_delegation: ; @dhcp6_get_prefix_delegation
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x8]
Lloh0:
adrp x8, _RADV_PREFIX_DELEGATION_DHCP6@GOTPAGE
Lloh1:
ldr x8, [x8, _RADV_PREFIX_DELEGATION_DHCP6@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _RADV_PREFIX_DELEGATION_BOTH@GOTPAGE
Lloh4:
ldr x8, [x8, _RADV_PREFIX_DELEGATION_BOTH@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
b _IN_SET
LBB0_2:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RADV_PREFIX_DELEGATION_DHCP6,4,2 ; @RADV_PREFIX_DELEGATION_DHCP6
.comm _RADV_PREFIX_DELEGATION_BOTH,4,2 ; @RADV_PREFIX_DELEGATION_BOTH
.no_dead_strip _dhcp6_get_prefix_delegation
.subsections_via_symbols
| AnghaBench/systemd/src/network/extr_networkd-dhcp6.c_dhcp6_get_prefix_delegation.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getsockname ## -- Begin function _getsockname
.p2align 4, 0x90
_getsockname: ## @"\01_getsockname"
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq ___getsockname
movl %eax, %ebx
testl %eax, %eax
jns LBB0_3
## %bb.1:
callq ___error
cmpl $102, (%rax)
jne LBB0_3
## %bb.2:
callq ___error
movl $45, (%rax)
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getsockname ; -- Begin function _getsockname
.p2align 2
_getsockname: ; @"\01_getsockname"
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl ___getsockname
mov x19, x0
tbz w0, #31, LBB0_3
; %bb.1:
bl ___error
ldr w8, [x0]
cmp w8, #102
b.ne LBB0_3
; %bb.2:
bl ___error
mov w8, #45
str w8, [x0]
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/2250.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dgram_hash
_dgram_hash: ## @dgram_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _dgram_lock@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _write_lock_bh
movq _dgram_head@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
callq _sk_add_node
movq %rbx, %rdi
callq _sock_net
movl (%rbx), %esi
movl %eax, %edi
movl $1, %edx
callq _sock_prot_inuse_add
movq %r14, %rdi
callq _write_unlock_bh
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dgram_lock,4,2 ## @dgram_lock
.comm _dgram_head,4,2 ## @dgram_head
.no_dead_strip _dgram_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dgram_hash
_dgram_hash: ; @dgram_hash
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _dgram_lock@GOTPAGE
Lloh1:
ldr x20, [x20, _dgram_lock@GOTPAGEOFF]
mov x0, x20
bl _write_lock_bh
Lloh2:
adrp x1, _dgram_head@GOTPAGE
Lloh3:
ldr x1, [x1, _dgram_head@GOTPAGEOFF]
mov x0, x19
bl _sk_add_node
mov x0, x19
bl _sock_net
ldr w1, [x19]
mov w2, #1
bl _sock_prot_inuse_add
mov x0, x20
bl _write_unlock_bh
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _dgram_lock,4,2 ; @dgram_lock
.comm _dgram_head,4,2 ; @dgram_head
.no_dead_strip _dgram_hash
.subsections_via_symbols
| AnghaBench/linux/net/ieee802154/extr_socket.c_dgram_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cxgb3_process_iscsi_prov_pack
_cxgb3_process_iscsi_prov_pack: ## @cxgb3_process_iscsi_prov_pack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _is_arp
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _cxgb3_arp_process ## TAILCALL
LBB0_1:
movq (%r14), %rax
testq %rax, %rax
je LBB0_2
## %bb.4:
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cxgb3_process_iscsi_prov_pack
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cxgb3_process_iscsi_prov_pack
_cxgb3_process_iscsi_prov_pack: ; @cxgb3_process_iscsi_prov_pack
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x0, x1
bl _is_arp
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cxgb3_arp_process
LBB0_2:
ldr x2, [x20]
cbz x2, LBB0_4
; %bb.3:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x2
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _cxgb3_process_iscsi_prov_pack
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb3/extr_sge.c_cxgb3_process_iscsi_prov_pack.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function call_init
_call_init: ## @call_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _isluafunc
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _funcproto
movl (%rax), %r15d
movl 8(%r14), %ebx
subl (%r14), %ebx
movq _PROTO_VARARG@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl 8(%rax), %ecx
leal 1(%rbx), %esi
testl %ecx, %ecx
cmovel %ecx, %esi
addl 4(%rax), %esi
movq %r14, %rdi
callq _lj_state_checkstack
subl %ebx, %r15d
xorl %eax, %eax
testl %r15d, %r15d
cmovgl %r15d, %eax
jmp LBB0_3
LBB0_2:
movq _LUA_MINSTACK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _lj_state_checkstack
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PROTO_VARARG,4,2 ## @PROTO_VARARG
.comm _LUA_MINSTACK,4,2 ## @LUA_MINSTACK
.no_dead_strip _call_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function call_init
_call_init: ; @call_init
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov x0, x1
bl _isluafunc
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
bl _funcproto
ldr w8, [x19, #8]
ldr w9, [x19]
sub w20, w8, w9
ldp w21, w8, [x0]
ldr w9, [x0, #8]
Lloh0:
adrp x10, _PROTO_VARARG@GOTPAGE
Lloh1:
ldr x10, [x10, _PROTO_VARARG@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
csinc w9, wzr, w20, eq
add w1, w9, w8
mov x0, x19
bl _lj_state_checkstack
sub w8, w21, w20
cmp w8, #0
csel w0, w8, wzr, gt
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _LUA_MINSTACK@GOTPAGE
Lloh4:
ldr x8, [x8, _LUA_MINSTACK@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _lj_state_checkstack
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PROTO_VARARG,4,2 ; @PROTO_VARARG
.comm _LUA_MINSTACK,4,2 ; @LUA_MINSTACK
.no_dead_strip _call_init
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_dispatch.c_call_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ad1983_auto_smux_enum_info
_ad1983_auto_smux_enum_info: ## @ad1983_auto_smux_enum_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _snd_kcontrol_chip
movq (%rax), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _snd_hda_get_num_conns
cmpl $3, %eax
je LBB0_4
## %bb.1:
cmpl $2, %eax
jne LBB0_5
## %bb.2:
leaq _ad1983_auto_smux_enum_info.texts2(%rip), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movl $2, %edx
jmp LBB0_3
LBB0_4:
leaq _ad1983_auto_smux_enum_info.texts3(%rip), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movl $3, %edx
LBB0_3:
popq %rbx
popq %r14
popq %rbp
jmp _snd_hda_enum_helper_info ## TAILCALL
LBB0_5:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @ad1983_auto_smux_enum_info.texts2
_ad1983_auto_smux_enum_info.texts2:
.quad L_.str
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PCM"
L_.str.1: ## @.str.1
.asciz "ADC"
.section __DATA,__const
.p2align 4 ## @ad1983_auto_smux_enum_info.texts3
_ad1983_auto_smux_enum_info.texts3:
.quad L_.str
.quad L_.str.2
.quad L_.str.3
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "ADC1"
L_.str.3: ## @.str.3
.asciz "ADC2"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _ad1983_auto_smux_enum_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ad1983_auto_smux_enum_info
_ad1983_auto_smux_enum_info: ; @ad1983_auto_smux_enum_info
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _snd_kcontrol_chip
ldr x8, [x0]
ldr w1, [x8]
bl _snd_hda_get_num_conns
cmp w0, #3
b.eq LBB0_3
; %bb.1:
cmp w0, #2
b.ne LBB0_5
; %bb.2:
Lloh0:
adrp x3, _ad1983_auto_smux_enum_info.texts2@PAGE
Lloh1:
add x3, x3, _ad1983_auto_smux_enum_info.texts2@PAGEOFF
mov x0, x20
mov x1, x19
mov w2, #2
b LBB0_4
LBB0_3:
Lloh2:
adrp x3, _ad1983_auto_smux_enum_info.texts3@PAGE
Lloh3:
add x3, x3, _ad1983_auto_smux_enum_info.texts3@PAGEOFF
mov x0, x20
mov x1, x19
mov w2, #3
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _snd_hda_enum_helper_info
LBB0_5:
Lloh4:
adrp x8, _EINVAL@GOTPAGE
Lloh5:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @ad1983_auto_smux_enum_info.texts2
_ad1983_auto_smux_enum_info.texts2:
.quad l_.str
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PCM"
l_.str.1: ; @.str.1
.asciz "ADC"
.section __DATA,__const
.p2align 3 ; @ad1983_auto_smux_enum_info.texts3
_ad1983_auto_smux_enum_info.texts3:
.quad l_.str
.quad l_.str.2
.quad l_.str.3
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "ADC1"
l_.str.3: ; @.str.3
.asciz "ADC2"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _ad1983_auto_smux_enum_info
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_analog.c_ad1983_auto_smux_enum_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reg_write
_reg_write: ## @reg_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %esi
addq (%rdi), %rsi
movl %edx, %edi
popq %rbp
jmp _writel ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _reg_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reg_write
_reg_write: ; @reg_write
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x1, x8, w1, uxtw
mov x0, x2
b _writel
.cfi_endproc
; -- End function
.no_dead_strip _reg_write
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/tw686x/extr_tw686x.h_reg_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
leaq -116(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -116(%rbp), %eax
leaq L_.str.1(%rip), %r14
cmpl $7, %eax
jg LBB0_13
## %bb.1:
leaq L_.str.3(%rip), %rcx
testl %eax, %eax
jle LBB0_11
## %bb.2:
leaq -112(%rbp), %r15
leaq -80(%rbp), %rbx
leaq L_.str.2(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _scanf
incq %r13
movslq -116(%rbp), %rax
addq $4, %r15
addq $4, %rbx
cmpq %rax, %r13
jl LBB0_3
## %bb.4:
movl %eax, %eax
testl %eax, %eax
jle LBB0_12
## %bb.5:
leaq -80(%rbp), %rcx
xorl %esi, %esi
movq %rax, %rdx
jmp LBB0_7
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_7 Depth=1
addq $4, %rcx
decq %rdx
cmpq %rax, %rsi
je LBB0_15
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movq %rsi, %rdi
incq %rsi
cmpq %rax, %rsi
jae LBB0_6
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl -80(%rbp,%rdi,4), %edi
movl $1, %ebx
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpl (%rcx,%rbx,4), %edi
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
incq %rbx
cmpq %rbx, %rdx
jne LBB0_9
jmp LBB0_6
LBB0_11:
movq %rcx, %r14
jmp LBB0_13
LBB0_15:
leaq -112(%rbp), %rcx
xorl %esi, %esi
movq %rax, %rdx
jmp LBB0_17
LBB0_16: ## in Loop: Header=BB0_17 Depth=1
addq $4, %rcx
decq %rdx
cmpq %rax, %rsi
je LBB0_21
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movq %rsi, %rdi
incq %rsi
cmpq %rax, %rsi
jae LBB0_16
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl -112(%rbp,%rdi,4), %edi
movl $1, %ebx
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
cmpl (%rcx,%rbx,4), %edi
je LBB0_13
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
incq %rbx
cmpq %rbx, %rdx
jne LBB0_19
jmp LBB0_16
LBB0_21:
cmpl $2, %eax
jl LBB0_12
## %bb.22:
movl $1, %r8d
leaq -80(%rbp), %r9
leaq -112(%rbp), %rdx
movq %rax, %rsi
jmp LBB0_24
LBB0_23: ## in Loop: Header=BB0_24 Depth=1
addq $4, %r9
addq $4, %rdx
decq %rsi
cmpq %rax, %r8
je LBB0_12
LBB0_24: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
movq %r8, %rdi
incq %r8
cmpq %rax, %r8
jae LBB0_23
## %bb.25: ## in Loop: Header=BB0_24 Depth=1
movl -112(%rbp,%rdi,4), %ebx
subl -80(%rbp,%rdi,4), %ebx
movl $2, %edi
LBB0_26: ## Parent Loop BB0_24 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx,%rdi,4), %ecx
subl (%r9,%rdi,4), %ecx
cmpl %ecx, %ebx
je LBB0_13
## %bb.27: ## in Loop: Header=BB0_26 Depth=2
negl %ecx
cmpl %ecx, %ebx
je LBB0_13
## %bb.28: ## in Loop: Header=BB0_26 Depth=2
incq %rdi
cmpq %rdi, %rsi
jne LBB0_26
jmp LBB0_23
LBB0_12:
leaq L_.str.3(%rip), %r14
LBB0_13:
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_31
## %bb.14:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_31:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "no"
L_.str.2: ## @.str.2
.asciz "%d %d"
L_.str.3: ## @.str.3
.asciz "yes"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #20
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
cmp w8, #7
b.le LBB0_2
; %bb.1:
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_21
LBB0_2:
cmp w8, #1
b.lt LBB0_20
; %bb.3:
mov x20, #0
add x21, sp, #24
add x22, sp, #56
Lloh7:
adrp x19, l_.str.2@PAGE
Lloh8:
add x19, x19, l_.str.2@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
stp x22, x21, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x8, [sp, #20]
add x21, x21, #4
add x22, x22, #4
cmp x20, x8
b.lt LBB0_4
; %bb.5:
and x8, x8, #0xffffffff
cmp w8, #1
b.lt LBB0_20
; %bb.6:
mov x13, #0
add x9, sp, #56
add x10, x9, #4
mov w11, #1
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x11, x11, #1
add x10, x10, #4
mov x13, x12
cmp x12, x8
b.eq LBB0_12
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
add x12, x13, #1
cmp x12, x8
b.hs LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr w13, [x9, x13, lsl #2]
mov x14, x8
mov x15, x10
LBB0_10: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w16, [x15]
cmp w13, w16
b.eq LBB0_21
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
add x15, x15, #4
sub x14, x14, #1
cmp x11, x14
b.ne LBB0_10
b LBB0_7
LBB0_12:
mov x13, #0
add x9, sp, #24
add x10, x9, #4
mov w11, #1
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
add x11, x11, #1
add x10, x10, #4
mov x13, x12
cmp x12, x8
b.eq LBB0_18
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
add x12, x13, #1
cmp x12, x8
b.hs LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
ldr w13, [x9, x13, lsl #2]
mov x14, x8
mov x15, x10
LBB0_16: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
ldr w16, [x15]
cmp w13, w16
b.eq LBB0_21
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
add x15, x15, #4
sub x14, x14, #1
cmp x11, x14
b.ne LBB0_16
b LBB0_13
LBB0_18:
cmp w8, #2
b.lt LBB0_20
; %bb.19:
add x9, sp, #56
add x10, x9, #8
add x11, sp, #24
add x12, x11, #8
mov w13, #2
mov w16, #1
Lloh13:
adrp x14, l_.str.1@PAGE
Lloh14:
add x14, x14, l_.str.1@PAGEOFF
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_24
LBB0_20:
Lloh17:
adrp x0, l_.str.3@PAGE
Lloh18:
add x0, x0, l_.str.3@PAGEOFF
LBB0_21:
bl _printf
ldur x8, [x29, #-40]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_29
; %bb.22:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_23: ; in Loop: Header=BB0_24 Depth=1
add x13, x13, #1
add x10, x10, #4
add x12, x12, #4
mov x16, x15
cmp x15, x8
b.eq LBB0_21
LBB0_24: ; =>This Loop Header: Depth=1
; Child Loop BB0_26 Depth 2
add x15, x16, #1
cmp x15, x8
b.hs LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
lsl x16, x16, #2
ldr w17, [x11, x16]
ldr w16, [x9, x16]
sub w16, w17, w16
mov x17, x8
mov x1, x12
mov x2, x10
LBB0_26: ; Parent Loop BB0_24 Depth=1
; => This Inner Loop Header: Depth=2
ldr w3, [x1]
ldr w4, [x2]
sub w3, w3, w4
neg w4, w3
cmp w16, w3
ccmp w16, w4, #4, ne
b.eq LBB0_28
; %bb.27: ; in Loop: Header=BB0_26 Depth=2
add x2, x2, #4
add x1, x1, #4
sub x17, x17, #1
cmp x13, x17
b.ne LBB0_26
b LBB0_23
LBB0_28:
mov x0, x14
b LBB0_21
LBB0_29:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "no"
l_.str.2: ; @.str.2
.asciz "%d %d"
l_.str.3: ; @.str.3
.asciz "yes"
.subsections_via_symbols
| the_stack_data/692092.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rocker_cmd_set_port_settings_mtu_prep
_rocker_cmd_set_port_settings_mtu_prep: ## @rocker_cmd_set_port_settings_mtu_prep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r12
movl (%rdx), %r14d
movq _ROCKER_TLV_CMD_TYPE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _rocker_tlv_put_u16
testq %rax, %rax
je LBB0_2
LBB0_1:
movq _EMSGSIZE@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _ROCKER_TLV_CMD_INFO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _rocker_tlv_nest_start
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %r15
movq _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r12), %edx
movq %rbx, %rdi
callq _rocker_tlv_put_u32
testq %rax, %rax
jne LBB0_1
## %bb.4:
movq _ROCKER_TLV_CMD_PORT_SETTINGS_MTU@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl %r14d, %edx
callq _rocker_tlv_put_u16
testq %rax, %rax
jne LBB0_1
## %bb.5:
movq %rbx, %rdi
movq %r15, %rsi
callq _rocker_tlv_nest_end
xorl %eax, %eax
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _ROCKER_TLV_CMD_TYPE,4,2 ## @ROCKER_TLV_CMD_TYPE
.comm _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS,4,2 ## @ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS
.comm _EMSGSIZE,4,2 ## @EMSGSIZE
.comm _ROCKER_TLV_CMD_INFO,4,2 ## @ROCKER_TLV_CMD_INFO
.comm _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT,4,2 ## @ROCKER_TLV_CMD_PORT_SETTINGS_PPORT
.comm _ROCKER_TLV_CMD_PORT_SETTINGS_MTU,4,2 ## @ROCKER_TLV_CMD_PORT_SETTINGS_MTU
.no_dead_strip _rocker_cmd_set_port_settings_mtu_prep
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rocker_cmd_set_port_settings_mtu_prep
_rocker_cmd_set_port_settings_mtu_prep: ; @rocker_cmd_set_port_settings_mtu_prep
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x22, x0
ldr w20, [x2]
Lloh0:
adrp x8, _ROCKER_TLV_CMD_TYPE@GOTPAGE
Lloh1:
ldr x8, [x8, _ROCKER_TLV_CMD_TYPE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS@GOTPAGE
Lloh4:
ldr x8, [x8, _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x19
bl _rocker_tlv_put_u16
cbz x0, LBB0_3
LBB0_1:
Lloh6:
adrp x8, _EMSGSIZE@GOTPAGE
Lloh7:
ldr x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh9:
adrp x8, _ROCKER_TLV_CMD_INFO@GOTPAGE
Lloh10:
ldr x8, [x8, _ROCKER_TLV_CMD_INFO@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
bl _rocker_tlv_nest_start
cbz x0, LBB0_1
; %bb.4:
mov x21, x0
Lloh12:
adrp x8, _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT@GOTPAGE
Lloh13:
ldr x8, [x8, _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
ldr w2, [x22]
mov x0, x19
bl _rocker_tlv_put_u32
cbnz x0, LBB0_1
; %bb.5:
Lloh15:
adrp x8, _ROCKER_TLV_CMD_PORT_SETTINGS_MTU@GOTPAGE
Lloh16:
ldr x8, [x8, _ROCKER_TLV_CMD_PORT_SETTINGS_MTU@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _rocker_tlv_put_u16
cbnz x0, LBB0_1
; %bb.6:
mov x0, x19
mov x1, x21
bl _rocker_tlv_nest_end
mov w0, #0
b LBB0_2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _ROCKER_TLV_CMD_TYPE,4,2 ; @ROCKER_TLV_CMD_TYPE
.comm _ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS,4,2 ; @ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS
.comm _EMSGSIZE,4,2 ; @EMSGSIZE
.comm _ROCKER_TLV_CMD_INFO,4,2 ; @ROCKER_TLV_CMD_INFO
.comm _ROCKER_TLV_CMD_PORT_SETTINGS_PPORT,4,2 ; @ROCKER_TLV_CMD_PORT_SETTINGS_PPORT
.comm _ROCKER_TLV_CMD_PORT_SETTINGS_MTU,4,2 ; @ROCKER_TLV_CMD_PORT_SETTINGS_MTU
.no_dead_strip _rocker_cmd_set_port_settings_mtu_prep
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/rocker/extr_rocker_main.c_rocker_cmd_set_port_settings_mtu_prep.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _enter_person ## -- Begin function enter_person
.p2align 4, 0x90
_enter_person: ## @enter_person
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _db@GOTPCREL(%rip), %r14
cmpq $0, (%r14)
je LBB0_3
## %bb.1:
movq _O_RDWR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _DB_BTREE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %edi, %edi
xorl %edx, %edx
xorl %r8d, %r8d
callq _dbopen
movq %rax, (%r14)
testq %rax, %rax
jne LBB0_3
## %bb.2:
movl $1, %edi
xorl %esi, %esi
callq _err
LBB0_3:
movq (%rbx), %rdi
movq %rdi, -48(%rbp)
callq _strlen
movl %eax, -56(%rbp)
movq (%r14), %rdi
leaq -56(%rbp), %rsi
leaq -40(%rbp), %rdx
xorl %ecx, %ecx
callq *(%rdi)
cmpl $1, %eax
je LBB0_7
## %bb.4:
testl %eax, %eax
jne LBB0_6
## %bb.5:
movq -32(%rbp), %rsi
leaq -24(%rbp), %rdi
movl $8, %edx
callq _memmove
jmp LBB0_9
LBB0_6:
leaq L_.str(%rip), %rsi
movl $1, %edi
callq _err
LBB0_7:
movq _entries@GOTPCREL(%rip), %rax
incl (%rax)
xorl %eax, %eax
callq _palloc
movq %rax, -24(%rbp)
movq %rax, %rdi
movq %rbx, %rsi
callq _userinfo
movq -24(%rbp), %rax
movq $0, (%rax)
movl $8, -40(%rbp)
leaq -24(%rbp), %rax
movq %rax, -32(%rbp)
movq (%r14), %rdi
leaq -56(%rbp), %rsi
leaq -40(%rbp), %rdx
xorl %ecx, %ecx
callq *8(%rdi)
testl %eax, %eax
je LBB0_9
## %bb.8:
leaq L_.str.1(%rip), %rsi
movl $1, %edi
callq _err
LBB0_9:
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _db,8,3 ## @db
.comm _O_RDWR,4,2 ## @O_RDWR
.comm _DB_BTREE,4,2 ## @DB_BTREE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "db get"
.comm _entries,4,2 ## @entries
L_.str.1: ## @.str.1
.asciz "db put"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _enter_person ; -- Begin function enter_person
.p2align 2
_enter_person: ; @enter_person
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _db@GOTPAGE
Lloh1:
ldr x20, [x20, _db@GOTPAGEOFF]
ldr x8, [x20]
cbz x8, LBB0_3
; %bb.1:
Lloh2:
adrp x8, _O_RDWR@GOTPAGE
Lloh3:
ldr x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x8, _DB_BTREE@GOTPAGE
Lloh6:
ldr x8, [x8, _DB_BTREE@GOTPAGEOFF]
Lloh7:
ldr w3, [x8]
mov x0, #0 ; =0x0
mov w2, #0 ; =0x0
mov x4, #0 ; =0x0
bl _dbopen
str x0, [x20]
cbnz x0, LBB0_3
; %bb.2:
mov w0, #1 ; =0x1
mov x1, #0 ; =0x0
bl _err
LBB0_3:
ldr x0, [x19]
str x0, [sp, #24]
bl _strlen
str w0, [sp, #16]
ldr x0, [x20]
ldr x8, [x0]
add x1, sp, #16
add x2, sp, #32
mov w3, #0 ; =0x0
blr x8
cmp w0, #1
b.eq LBB0_7
; %bb.4:
cbnz w0, LBB0_6
; %bb.5:
ldr x1, [sp, #40]
add x0, sp, #8
mov w2, #8 ; =0x8
bl _memmove
b LBB0_9
LBB0_6:
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov w0, #1 ; =0x1
bl _err
LBB0_7:
Lloh10:
adrp x8, _entries@GOTPAGE
Lloh11:
ldr x8, [x8, _entries@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
bl _palloc
str x0, [sp, #8]
mov x1, x19
bl _userinfo
ldr x8, [sp, #8]
str xzr, [x8]
mov w8, #8 ; =0x8
str w8, [sp, #32]
add x8, sp, #8
str x8, [sp, #40]
ldr x0, [x20]
ldr x8, [x0, #8]
add x1, sp, #16
add x2, sp, #32
mov w3, #0 ; =0x0
blr x8
cbz w0, LBB0_9
; %bb.8:
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1 ; =0x1
bl _err
LBB0_9:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _db,8,3 ; @db
.comm _O_RDWR,4,2 ; @O_RDWR
.comm _DB_BTREE,4,2 ; @DB_BTREE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "db get"
.comm _entries,4,2 ; @entries
l_.str.1: ; @.str.1
.asciz "db put"
.subsections_via_symbols
| assembly_file_63342.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gf100_gr_ctxctl_debug ## -- Begin function gf100_gr_ctxctl_debug
.p2align 4, 0x90
_gf100_gr_ctxctl_debug: ## @gf100_gr_ctxctl_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq (%rdi), %rdi
movl $4232708, %esi ## imm = 0x409604
callq _nvkm_rd32
movl %eax, %r15d
movq %r14, %rdi
movl $4231168, %esi ## imm = 0x409000
callq _gf100_gr_ctxctl_debug_unit
andl $65535, %r15d ## imm = 0xFFFF
je LBB0_3
## %bb.1:
shll $15, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal 5251072(%rbx), %esi
movq %r14, %rdi
callq _gf100_gr_ctxctl_debug_unit
addl $32768, %ebx ## imm = 0x8000
cmpl %ebx, %r15d
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gf100_gr_ctxctl_debug ; -- Begin function gf100_gr_ctxctl_debug
.p2align 2
_gf100_gr_ctxctl_debug: ; @gf100_gr_ctxctl_debug
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w20, #36864
movk w20, #64, lsl #16
ldr x0, [x0]
mov w8, #1540
orr w1, w20, w8
bl _nvkm_rd32
and w22, w0, #0xffff
mov x0, x19
mov w1, #36864
movk w1, #64, lsl #16
bl _gf100_gr_ctxctl_debug_unit
cbz w22, LBB0_3
; %bb.1:
mov w21, #0
lsl w22, w22, #15
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w8, w20, w21
add w1, w8, #249, lsl #12 ; =1019904
mov x0, x19
bl _gf100_gr_ctxctl_debug_unit
add w21, w21, #8, lsl #12 ; =32768
cmp w22, w21
b.ne LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_gf100.c_gf100_gr_ctxctl_debug.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _objc_msgSend ## -- Begin function objc_msgSend
.p2align 4, 0x90
_objc_msgSend: ## @objc_msgSend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
ud2
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "null_objc_msgSend"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _objc_msgSend ; -- Begin function objc_msgSend
.p2align 2
_objc_msgSend: ; @objc_msgSend
.cfi_startproc
; %bb.0:
brk #0x1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
brk #0x1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "null_objc_msgSend"
.subsections_via_symbols
| the_stack_data/220454907.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function DACx_Direct_Data_671x
_DACx_Direct_Data_671x: ## @DACx_Direct_Data_671x
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _DACx_Direct_Data_671x
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function DACx_Direct_Data_671x
_DACx_Direct_Data_671x: ; @DACx_Direct_Data_671x
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _DACx_Direct_Data_671x
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_stc.h_DACx_Direct_Data_671x.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mscc_miim_wait_ready
_mscc_miim_wait_ready: ## @mscc_miim_wait_ready
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq _MSCC_MIIM_REG_STATUS@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
addq (%rax), %rdi
movl $1, %edx
movl $100, %ecx
movl $250000, %r8d ## imm = 0x3D090
callq _readl_poll_timeout
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSCC_MIIM_REG_STATUS,8,3 ## @MSCC_MIIM_REG_STATUS
.comm _MSCC_MIIM_STATUS_STAT_BUSY,4,2 ## @MSCC_MIIM_STATUS_STAT_BUSY
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.no_dead_strip _mscc_miim_wait_ready
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mscc_miim_wait_ready
_mscc_miim_wait_ready: ; @mscc_miim_wait_ready
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
ldr x8, [x8]
Lloh0:
adrp x9, _MSCC_MIIM_REG_STATUS@GOTPAGE
Lloh1:
ldr x9, [x9, _MSCC_MIIM_REG_STATUS@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x0, x9, x8
mov w2, #1
mov w3, #100
mov w4, #53392
movk w4, #3, lsl #16
bl _readl_poll_timeout
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSCC_MIIM_REG_STATUS,8,3 ; @MSCC_MIIM_REG_STATUS
.comm _MSCC_MIIM_STATUS_STAT_BUSY,4,2 ; @MSCC_MIIM_STATUS_STAT_BUSY
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.no_dead_strip _mscc_miim_wait_ready
.subsections_via_symbols
| AnghaBench/linux/drivers/net/phy/extr_mdio-mscc-miim.c_mscc_miim_wait_ready.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function do_sem2_wake
_do_sem2_wake: ## @do_sem2_wake
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq 4(%rsi), %rdi
leaq -44(%rbp), %rsi
callq _fueword32
cmpl $-1, %eax
je LBB0_1
## %bb.2:
movq _TYPE_SEM@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl -44(%rbp), %edi
callq _GET_SHARE
leaq -36(%rbp), %rcx
movq %rbx, %rdi
movl %r15d, %esi
movl %eax, %edx
callq _umtx_key_get
testl %eax, %eax
jne LBB0_17
## %bb.3:
leaq -36(%rbp), %r15
movq %r15, %rdi
callq _umtxq_lock
movq %r15, %rdi
callq _umtxq_busy
movq %r15, %rdi
callq _umtxq_count
xorl %r15d, %r15d
testl %eax, %eax
js LBB0_16
## %bb.4:
cmpl $1, %eax
jne LBB0_15
## %bb.5:
leaq -36(%rbp), %rdi
callq _umtxq_unlock
leaq -40(%rbp), %rsi
movq %rbx, %rdi
callq _fueword32
cmpl $-1, %eax
setne %dl
movl -40(%rbp), %esi
movq _USEM_HAS_WAITERS@GOTPCREL(%rip), %r12
movl (%r12), %ecx
movl %ecx, %edi
andl %esi, %edi
setne %dil
andb %dl, %dil
cmpb $1, %dil
jne LBB0_12
## %bb.6:
leaq -40(%rbp), %r15
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
notl %ecx
andl %esi, %ecx
movq %rbx, %rdi
movq %r15, %rdx
callq _casueword32
cmpl $1, %eax
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq %r14, %rdi
movl $1, %esi
callq _umtxq_check_susp
testl %eax, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
xorl %eax, %eax
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
cmpl $-1, %eax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
movl -40(%rbp), %esi
movl (%r12), %ecx
movl %ecx, %edx
andl %esi, %edx
jne LBB0_7
LBB0_12:
xorl %r15d, %r15d
testl %eax, %eax
cmovgl %eax, %r15d
cmpl $-1, %eax
jne LBB0_14
## %bb.13:
movq _EFAULT@GOTPCREL(%rip), %rax
movl (%rax), %r15d
LBB0_14:
leaq -36(%rbp), %rdi
callq _umtxq_lock
LBB0_15:
leaq -36(%rbp), %rdi
movl $1, %esi
callq _umtxq_signal
LBB0_16:
leaq -36(%rbp), %rbx
movq %rbx, %rdi
callq _umtxq_unbusy
movq %rbx, %rdi
callq _umtxq_unlock
movq %rbx, %rdi
callq _umtx_key_release
movl %r15d, %eax
jmp LBB0_17
LBB0_1:
movq _EFAULT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_17:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EFAULT,4,2 ## @EFAULT
.comm _TYPE_SEM,4,2 ## @TYPE_SEM
.comm _USEM_HAS_WAITERS,4,2 ## @USEM_HAS_WAITERS
.no_dead_strip _do_sem2_wake
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function do_sem2_wake
_do_sem2_wake: ; @do_sem2_wake
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
add x0, x1, #4
add x1, sp, #4
bl _fueword32
cmn w0, #1
b.eq LBB0_11
; %bb.1:
Lloh0:
adrp x8, _TYPE_SEM@GOTPAGE
Lloh1:
ldr x8, [x8, _TYPE_SEM@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
ldr w0, [sp, #4]
bl _GET_SHARE
mov x2, x0
add x3, sp, #12
mov x0, x19
mov x1, x21
bl _umtx_key_get
cbnz w0, LBB0_17
; %bb.2:
add x0, sp, #12
bl _umtxq_lock
add x0, sp, #12
bl _umtxq_busy
add x0, sp, #12
bl _umtxq_count
tbnz w0, #31, LBB0_12
; %bb.3:
cmp w0, #1
b.ne LBB0_13
; %bb.4:
add x0, sp, #12
bl _umtxq_unlock
add x1, sp, #8
mov x0, x19
bl _fueword32
cmn w0, #1
b.eq LBB0_14
; %bb.5:
ldr w1, [sp, #8]
Lloh3:
adrp x21, _USEM_HAS_WAITERS@GOTPAGE
Lloh4:
ldr x21, [x21, _USEM_HAS_WAITERS@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
and w9, w8, w1
cbz w9, LBB0_14
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x2, sp, #8
bic w3, w1, w8
mov x0, x19
bl _casueword32
cmp w0, #1
b.ne LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov w1, #1 ; =0x1
bl _umtxq_check_susp
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
cmn w0, #1
b.eq LBB0_14
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
ldr w1, [sp, #8]
b LBB0_6
LBB0_11:
Lloh5:
adrp x8, _EFAULT@GOTPAGE
Lloh6:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
b LBB0_17
LBB0_12:
mov w19, #0 ; =0x0
b LBB0_16
LBB0_13:
mov w19, #0 ; =0x0
b LBB0_15
LBB0_14:
Lloh8:
adrp x8, _EFAULT@GOTPAGE
Lloh9:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
bic w9, w0, w0, asr #31
cmn w0, #1
csel w19, w8, w9, eq
add x0, sp, #12
bl _umtxq_lock
LBB0_15:
add x0, sp, #12
mov w1, #1 ; =0x1
bl _umtxq_signal
LBB0_16:
add x0, sp, #12
bl _umtxq_unbusy
add x0, sp, #12
bl _umtxq_unlock
add x0, sp, #12
bl _umtx_key_release
mov x0, x19
LBB0_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _EFAULT,4,2 ; @EFAULT
.comm _TYPE_SEM,4,2 ; @TYPE_SEM
.comm _USEM_HAS_WAITERS,4,2 ; @USEM_HAS_WAITERS
.no_dead_strip _do_sem2_wake
.subsections_via_symbols
| assembly_file_39480.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_addrselectpolicy
_get_addrselectpolicy: ## @get_addrselectpolicy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CTL_NET,4,2 ## @CTL_NET
.comm _IPPROTO_IPV6,4,2 ## @IPPROTO_IPV6
.comm _IPV6CTL_ADDRCTLPOLICY,4,2 ## @IPV6CTL_ADDRCTLPOLICY
.comm _PF_INET6,4,2 ## @PF_INET6
.comm _pc_entry,4,2 ## @pc_entry
.no_dead_strip _get_addrselectpolicy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_addrselectpolicy
_get_addrselectpolicy: ; @get_addrselectpolicy
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.comm _CTL_NET,4,2 ; @CTL_NET
.comm _IPPROTO_IPV6,4,2 ; @IPPROTO_IPV6
.comm _IPV6CTL_ADDRCTLPOLICY,4,2 ; @IPV6CTL_ADDRCTLPOLICY
.comm _PF_INET6,4,2 ; @PF_INET6
.comm _pc_entry,4,2 ; @pc_entry
.no_dead_strip _get_addrselectpolicy
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/net/extr_getaddrinfo.c_get_addrselectpolicy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _edns_opt_append ## -- Begin function edns_opt_append
.p2align 4, 0x90
_edns_opt_append: ## @edns_opt_append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -56(%rbp) ## 8-byte Spill
movq %rcx, %r12
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r13
movq %rdi, %rbx
movq %rsi, %rdi
movl $32, %esi
callq _regional_alloc
xorl %r15d, %r15d
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, 24(%r14)
movq %r12, (%r14)
testq %r12, %r12
je LBB0_3
## %bb.2:
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdx
callq _regional_alloc_init
movq %rax, 16(%r14)
testq %rax, %rax
je LBB0_5
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
movq (%rbx), %rcx
leaq 8(%rcx), %rbx
testq %rcx, %rcx
jne LBB0_3
## %bb.4:
movq %r14, (%rax)
movl $1, %r15d
LBB0_5:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _edns_opt_append ; -- Begin function edns_opt_append
.p2align 2
_edns_opt_append: ; @edns_opt_append
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x4
mov x21, x3
mov x24, x2
mov x23, x1
mov x19, x0
mov x0, x1
mov w1, #32
bl _regional_alloc
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
stp xzr, xzr, [x0, #8]
str w24, [x0, #24]
str x21, [x0]
cbz x21, LBB0_3
; %bb.2:
mov x0, x23
mov x1, x22
mov x2, x21
bl _regional_alloc_init
str x0, [x20, #16]
cbz x0, LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x8, x19
ldr x9, [x19]
add x19, x9, #8
cbnz x9, LBB0_3
; %bb.4:
str x20, [x8]
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/util/data/extr_msgreply.c_edns_opt_append.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function send_broken_auth
_send_broken_auth: ## @send_broken_auth
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r12
movq %r8, %r14
movl %edi, %r15d
movq %r9, %rdi
callq _strlen
incl %eax
movslq %eax, %rbx
movl %r15d, %edi
movq %r12, %rsi
movq %rbx, %rdx
callq _net_write
cmpq %rbx, %rax
jne LBB0_3
## %bb.1:
movq %r14, %rdi
callq _strlen
incl %eax
movslq %eax, %rbx
movl %r15d, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq _net_write
cmpq %rbx, %rax
jne LBB0_3
## %bb.2:
movq 24(%rbp), %rsi
movq 16(%rbp), %rbx
movl %r15d, %edi
movq %rbx, %rdx
callq _net_write
movq %rax, %rcx
xorl %eax, %eax
cmpq %rbx, %rcx
je LBB0_4
LBB0_3:
leaq L_.str(%rip), %rdi
callq _warn
movl $1, %eax
LBB0_4:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "write"
.no_dead_strip _send_broken_auth
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function send_broken_auth
_send_broken_auth: ; @send_broken_auth
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x7
mov x19, x6
mov x23, x5
mov x22, x4
mov x21, x0
mov x0, x5
bl _strlen
add w8, w0, #1
sxtw x24, w8
mov x0, x21
mov x1, x23
mov x2, x24
bl _net_write
cmp x0, x24
b.ne LBB0_4
; %bb.1:
mov x0, x22
bl _strlen
add w8, w0, #1
sxtw x23, w8
mov x0, x21
mov x1, x22
mov x2, x23
bl _net_write
cmp x0, x23
b.ne LBB0_4
; %bb.2:
mov x0, x21
mov x1, x20
mov x2, x19
bl _net_write
cmp x0, x19
b.ne LBB0_4
; %bb.3:
mov w0, #0
b LBB0_5
LBB0_4:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _warn
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "write"
.no_dead_strip _send_broken_auth
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/appl/rsh/extr_rsh.c_send_broken_auth.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4053a28f60000000 ## double 78.540000915527344
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Area de Circulo con radio 5: %f"
L_str: ## @str
.asciz "Area"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov x8, #1610612736
movk x8, #41615, lsl #32
movk x8, #16467, lsl #48
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Area de Circulo con radio 5: %f"
l_str: ; @str
.asciz "Area"
.subsections_via_symbols
| the_stack_data/120242.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function s_mp_mul_digs
_s_mp_mul_digs: ## @s_mp_mul_digs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r13d
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq -80(%rbp), %rdi
movl %ecx, %esi
callq _mp_init_size
movq _MP_OKAY@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_16
## %bb.1:
movq %r14, -48(%rbp) ## 8-byte Spill
movl %r13d, -80(%rbp)
movl (%rbx), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB0_15
## %bb.2:
xorl %r14d, %r14d
movq _MP_MASK@GOTPCREL(%rip), %r12
movq %rbx, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
incq %r14
cmpq -64(%rbp), %r14 ## 8-byte Folded Reload
je LBB0_15
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movl (%r15), %edi
movl %r13d, %esi
subl %r14d, %esi
callq _MIN
## kill: def $eax killed $eax def $rax
movq -72(%rbp), %rdi
leaq (%rdi,%r14,8), %r11
testl %eax, %eax
jle LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r15), %r10
movq 8(%rbx), %rcx
movl (%rcx,%r14,8), %r9d
movq _DIGIT_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
xorl %esi, %esi
cmpl $1, %eax
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
leaq (%rdi,%r14,8), %r11
movl %eax, %r8d
andl $-2, %r8d
xorl %ebx, %ebx
xorl %edi, %edi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r10,%rbx,8), %edx
addl (%r11,%rbx,8), %esi
imull %r9d, %edx
addl %edx, %esi
movl (%r12), %edx
andl %esi, %edx
movslq %edx, %rdx
sarl %cl, %esi
movq %rdx, (%r11,%rbx,8)
movl 8(%r10,%rbx,8), %edx
addl 8(%r11,%rbx,8), %esi
imull %r9d, %edx
addl %edx, %esi
movl (%r12), %edx
andl %esi, %edx
movslq %edx, %rdx
sarl %cl, %esi
movq %rdx, 8(%r11,%rbx,8)
addq $-16, %rdi
addq $2, %rbx
cmpl %ebx, %r8d
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
subq %rdi, %r10
subq %rdi, %r11
movq -56(%rbp), %rbx ## 8-byte Reload
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
testb $1, %al
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
imull (%r10), %r9d
addl (%r11), %esi
addl %r9d, %esi
movl (%r12), %edx
andl %esi, %edx
movslq %edx, %rdx
movq %rdx, (%r11)
addq $8, %r11
## kill: def $cl killed $cl killed $ecx
sarl %cl, %esi
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movslq %esi, %rcx
jmp LBB0_12
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
xorl %ecx, %ecx
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
addl %r14d, %eax
cmpl %r13d, %eax
jge LBB0_14
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movq %rcx, (%r11)
jmp LBB0_14
LBB0_15:
leaq -80(%rbp), %rbx
movq %rbx, %rdi
callq _mp_clamp
movq %rbx, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _mp_exch
movq %rbx, %rdi
callq _mp_clear
movq _MP_OKAY@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_16:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MP_OKAY,4,2 ## @MP_OKAY
.comm _MP_MASK,8,3 ## @MP_MASK
.comm _DIGIT_BIT,4,2 ## @DIGIT_BIT
.comm _CHAR_BIT,4,2 ## @CHAR_BIT
.comm _MP_WARRAY,4,2 ## @MP_WARRAY
.no_dead_strip _s_mp_mul_digs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function s_mp_mul_digs
_s_mp_mul_digs: ; @s_mp_mul_digs
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x3
mov x19, x2
mov x21, x1
mov x22, x0
mov x0, sp
mov x1, x3
bl _mp_init_size
Lloh0:
adrp x23, _MP_OKAY@GOTPAGE
Lloh1:
ldr x23, [x23, _MP_OKAY@GOTPAGEOFF]
ldr w8, [x23]
cmp w0, w8
b.ne LBB0_12
; %bb.1:
str w20, [sp]
ldr w24, [x22]
cmp w24, #1
b.lt LBB0_11
; %bb.2:
mov x25, #0
Lloh2:
adrp x26, _DIGIT_BIT@GOTPAGE
Lloh3:
ldr x26, [x26, _DIGIT_BIT@GOTPAGEOFF]
Lloh4:
adrp x27, _MP_MASK@GOTPAGE
Lloh5:
ldr x27, [x27, _MP_MASK@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
cmp x25, x24
b.eq LBB0_11
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldr w0, [x21]
sub w1, w20, w25
bl _MIN
ldr x8, [sp, #8]
add x8, x8, x25, lsl #3
cmp w0, #1
b.lt LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w12, #0
ldr x9, [x21, #8]
ldr x10, [x22, #8]
ldr x10, [x10, x25, lsl #3]
ldr w11, [x26]
mov x13, x0
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x8]
ldr w15, [x9], #8
add w12, w12, w14
madd w12, w15, w10, w12
ldr w14, [x27]
and w14, w12, w14
sxtw x14, w14
str x14, [x8], #8
asr w12, w12, w11
subs w13, w13, #1
b.ne LBB0_6
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
sxtw x9, w12
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov w0, #0
mov x9, #0
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
add w10, w0, w25
cmp w10, w20
b.ge LBB0_3
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
str x9, [x8]
b LBB0_3
LBB0_11:
mov x0, sp
bl _mp_clamp
mov x0, sp
mov x1, x19
bl _mp_exch
mov x0, sp
bl _mp_clear
ldr w0, [x23]
LBB0_12:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _MP_OKAY,4,2 ; @MP_OKAY
.comm _MP_MASK,8,3 ; @MP_MASK
.comm _DIGIT_BIT,4,2 ; @DIGIT_BIT
.comm _CHAR_BIT,4,2 ; @CHAR_BIT
.comm _MP_WARRAY,4,2 ; @MP_WARRAY
.no_dead_strip _s_mp_mul_digs
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_s_mp_mul_digs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _seek_iov ## -- Begin function seek_iov
.p2align 4, 0x90
_seek_iov: ## @seek_iov
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
testl %esi, %esi
js LBB0_1
## %bb.2:
movq %r8, %r13
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
movl %esi, -44(%rbp) ## 4-byte Spill
movl %esi, %r14d
movq %r15, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rsi
movq %r13, %rdi
callq _MIN
cmpq (%r12), %rax
setne %cl
subq %rax, %r13
sete %dl
testb %dl, %cl
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
decq %rbx
addq $-16, %r12
cmpq %r14, %rbx
jle LBB0_3
## %bb.5:
xorl %eax, %eax
LBB0_6:
movq -64(%rbp), %rcx ## 8-byte Reload
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
jmp LBB0_7
LBB0_1:
xorl %ebx, %ebx
xorl %eax, %eax
LBB0_7:
movl %ebx, %edi
movl %ebx, %r8d
subl %esi, %edi
jge LBB0_15
## %bb.8:
movslq %ebx, %r10
movslq %esi, %r9
movq %r10, %r11
shlq $4, %r11
movq 8(%r15,%r11), %r8
addq %rax, %r8
movq %r8, 8(%rdx)
movq (%r15,%r11), %r8
subq %rax, %r8
movq %r8, (%rdx)
leaq 1(%r10), %rax
cmpq %r9, %rax
je LBB0_14
## %bb.9:
leaq -2(%r9), %r8
testb $1, %dil
jne LBB0_11
## %bb.10:
shlq $4, %rax
movq 8(%r15,%rax), %rdi
movq %rdi, 24(%rdx)
movq (%r15,%rax), %rax
movq %rax, 16(%rdx)
leaq 2(%r10), %rax
LBB0_11:
cmpq %r10, %r8
je LBB0_14
## %bb.12:
subq %rax, %r9
subq %r11, %rdx
shlq $4, %rax
addq $24, %rax
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq -16(%r15,%rax), %rdi
movq %rdi, -16(%rdx,%rax)
movq -24(%r15,%rax), %rdi
movq %rdi, -24(%rdx,%rax)
movq (%r15,%rax), %rdi
movq %rdi, (%rdx,%rax)
movq -8(%r15,%rax), %rdi
movq %rdi, -8(%rdx,%rax)
addq $32, %rax
addq $-2, %r9
jne LBB0_13
LBB0_14:
movl %esi, %r8d
LBB0_15:
subl %ebx, %r8d
movl %r8d, (%rcx)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _seek_iov ; -- Begin function seek_iov
.p2align 2
_seek_iov: ; @seek_iov
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x22, x2
mov x20, x1
mov x21, x0
tbnz w1, #31, LBB0_4
; %bb.1:
mov x23, x4
mov x24, #0 ; =0x0
mov w25, w20
mov x26, x21
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x1, [x26]
mov x0, x23
bl _MIN
sub x23, x23, x0
ldr x8, [x26], #-16
cmp x0, x8
ccmp x23, #0, #0, ne
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub x24, x24, #1
cmp x24, x25
b.le LBB0_2
b LBB0_5
LBB0_4:
mov w24, #0 ; =0x0
LBB0_5:
mov x0, #0 ; =0x0
LBB0_6:
mov x8, x24
cmp w24, w20
b.ge LBB0_12
; %bb.7:
mov x8, x24
sxtw x9, w8
sxtw x8, w20
add x10, x21, w24, sxtw #4
ldp x10, x11, [x10]
add x11, x11, x0
sub x10, x10, x0
stp x10, x11, [x22]
add x10, x9, #1
cmp x10, x8
b.eq LBB0_11
; %bb.8:
mvn x11, x9
add x11, x11, x8
cmp x11, #14
b.hs LBB0_13
LBB0_9:
mov w11, #8 ; =0x8
orr x11, x11, x10, lsl #4
sub x9, x11, x9, lsl #4
add x9, x22, x9
add x11, x21, x11
sub x8, x8, x10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldp x12, x10, [x11, #-8]
stp x12, x10, [x9, #-8]
add x9, x9, #16
add x11, x11, #16
subs x8, x8, #1
b.ne LBB0_10
LBB0_11:
mov x8, x20
LBB0_12:
sub w8, w8, w24
str w8, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_13:
add x13, x22, #24
lsl x12, x8, #4
lsl x14, x9, #4
sub x15, x12, x14
add x15, x22, x15
add x14, x21, x14
add x16, x14, #24
add x17, x21, x12
add x12, x22, #16
sub x0, x15, #8
add x14, x14, #16
sub x1, x17, #8
cmp x12, x1
ccmp x14, x0, #2, lo
cset w12, lo
cmp x16, x15
ccmp x13, x17, #2, lo
b.lo LBB0_9
; %bb.14:
tbnz w12, #0, LBB0_9
; %bb.15:
and x12, x11, #0xfffffffffffffffc
add x10, x10, x12
add x13, x21, x9, lsl #4
add x13, x13, #48
add x14, x22, #48
mov x15, x12
LBB0_16: ; =>This Inner Loop Header: Depth=1
sub x16, x13, #32
ld2.2d { v0, v1 }, [x16]
ld2.2d { v2, v3 }, [x13]
sub x16, x14, #32
st2.2d { v0, v1 }, [x16]
st2.2d { v2, v3 }, [x14]
add x13, x13, #64
add x14, x14, #64
subs x15, x15, #4
b.ne LBB0_16
; %bb.17:
cmp x11, x12
b.ne LBB0_9
b LBB0_11
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_101766.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __svc_init_bc
___svc_init_bc: ## @__svc_init_bc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip ___svc_init_bc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __svc_init_bc
___svc_init_bc: ; @__svc_init_bc
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip ___svc_init_bc
.subsections_via_symbols
| AnghaBench/linux/net/sunrpc/extr_svc.c___svc_init_bc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function handle_case_0x7f2
_handle_case_0x7f2: ## @handle_case_0x7f2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movl %edx, %r15d
movl %esi, %r14d
movq %rdi, %rbx
leal 1(%r14), %edi
movl 16(%rbx), %esi
callq _canonicalize
movl %eax, -52(%rbp) ## 4-byte Spill
leal 1(%r15), %edi
movl 12(%rbx), %esi
callq _canonicalize
movl %eax, %r13d
leal -1(%r12), %edi
movl 8(%rbx), %esi
callq _canonicalize
movl %eax, -44(%rbp) ## 4-byte Spill
leal 1(%r12), %edi
movl 8(%rbx), %esi
callq _canonicalize
movl %eax, -48(%rbp) ## 4-byte Spill
movq %rbx, %rdi
movl %r14d, %esi
movl %r13d, %edx
movl %r12d, %ecx
callq _safe_z_perpendicular
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%rbx), %r8
movslq %r14d, %rcx
movq (%r8,%rcx,8), %rcx
movslq %r15d, %rdx
movq (%rcx,%rdx,8), %rsi
movslq %r12d, %rdx
movl (%rsi,%rdx,4), %edi
movslq %r13d, %rax
movq (%rcx,%rax,8), %r9
movl (%r9,%rdx,4), %esi
movslq -52(%rbp), %rcx ## 4-byte Folded Reload
movq (%r8,%rcx,8), %rcx
movq (%rcx,%rax,8), %rax
movl (%rax,%rdx,4), %edx
movslq -44(%rbp), %rax ## 4-byte Folded Reload
movl (%r9,%rax,4), %ecx
callq _tfind_3d_perpendicular
movq %rbx, %rdi
movl %r14d, %esi
movl %r13d, %edx
movl -48(%rbp), %ecx ## 4-byte Reload
movl %eax, %r8d
callq _install_tswitch
movq %rax, %rcx
movl $1, %eax
testq %rcx, %rcx
jne LBB0_3
LBB0_2:
movq %rbx, %rdi
movl $2034, %esi ## imm = 0x7F2
movl %r14d, %edx
movl %r15d, %ecx
movl %r12d, %r8d
movl %r14d, %r9d
pushq %r12
pushq %r13
callq _log_no_perp
addq $16, %rsp
xorl %eax, %eax
LBB0_3:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _handle_case_0x7f2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function handle_case_0x7f2
_handle_case_0x7f2: ; @handle_case_0x7f2
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x21, x2
mov x20, x1
mov x22, x0
add w0, w1, #1
ldr w1, [x22, #16]
bl _canonicalize
mov x24, x0
add w0, w21, #1
ldr w1, [x22, #12]
bl _canonicalize
mov x23, x0
sub w0, w19, #1
ldr w1, [x22, #8]
bl _canonicalize
mov x26, x0
add w0, w19, #1
ldr w1, [x22, #8]
bl _canonicalize
mov x25, x0
mov x0, x22
mov x1, x20
mov x2, x23
mov x3, x19
bl _safe_z_perpendicular
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x22]
ldr x9, [x8, w20, sxtw #3]
ldr x10, [x9, w21, sxtw #3]
sbfiz x11, x19, #2, #32
ldr w0, [x10, x11]
sbfiz x10, x23, #3, #32
ldr x9, [x9, x10]
ldr w1, [x9, x11]
ldr x8, [x8, w24, sxtw #3]
ldr x8, [x8, x10]
ldr w2, [x8, x11]
ldr w3, [x9, w26, sxtw #2]
bl _tfind_3d_perpendicular
mov x4, x0
mov x0, x22
mov x1, x20
mov x2, x23
mov x3, x25
bl _install_tswitch
cbz x0, LBB0_3
; %bb.2:
mov w0, #1
b LBB0_4
LBB0_3:
mov x0, x22
mov w1, #2034
mov x2, x20
mov x3, x21
mov x4, x19
mov x5, x20
mov x6, x23
mov x7, x19
bl _log_no_perp
mov w0, #0
LBB0_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _handle_case_0x7f2
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_handle_case_0x7f2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\t"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w8, #1
str x8, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #5
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #4
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #3
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #2
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\t"
.subsections_via_symbols
| the_stack_data/103265126.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sony_nc_panelid_cleanup
_sony_nc_panelid_cleanup: ## @sony_nc_panelid_cleanup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _panel_handle@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
testq %rsi, %rsi
je LBB0_2
## %bb.1:
callq _device_remove_file
movq (%rbx), %rdi
callq _kfree
movq $0, (%rbx)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _panel_handle,8,3 ## @panel_handle
.no_dead_strip _sony_nc_panelid_cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sony_nc_panelid_cleanup
_sony_nc_panelid_cleanup: ; @sony_nc_panelid_cleanup
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _panel_handle@GOTPAGE
Lloh1:
ldr x19, [x19, _panel_handle@GOTPAGEOFF]
ldr x1, [x19]
cbz x1, LBB0_2
; %bb.1:
bl _device_remove_file
ldr x0, [x19]
bl _kfree
str xzr, [x19]
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _panel_handle,8,3 ; @panel_handle
.no_dead_strip _sony_nc_panelid_cleanup
.subsections_via_symbols
| AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_nc_panelid_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bx_digital_in
_bx_digital_in: ## @bx_digital_in
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _BX_DIGITAL_IN@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BX_DIGITAL_IN,4,2 ## @BX_DIGITAL_IN
.no_dead_strip _bx_digital_in
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bx_digital_in
_bx_digital_in: ; @bx_digital_in
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _BX_DIGITAL_IN@GOTPAGE
Lloh1:
ldr x8, [x8, _BX_DIGITAL_IN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BX_DIGITAL_IN,4,2 ; @BX_DIGITAL_IN
.no_dead_strip _bx_digital_in
.subsections_via_symbols
| AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio.h_bx_digital_in.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _menu_display_font_file ## -- Begin function menu_display_font_file
.p2align 4, 0x90
_menu_display_font_file: ## @menu_display_font_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq $0, -48(%rbp)
movq _menu_disp@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl %esi, %r14d
movq %rdi, %r15
movq (%rax), %r12
xorl %ebx, %ebx
xorl %edi, %edi
movss %xmm0, -36(%rbp) ## 4-byte Spill
callq _video_driver_get_ptr
leaq -48(%rbp), %rdi
movl %eax, %esi
movq %r15, %rdx
movss -36(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movl %r14d, %ecx
callq *%r12
testl %eax, %eax
je LBB0_4
## %bb.3:
movq -48(%rbp), %rbx
jmp LBB0_4
LBB0_1:
xorl %ebx, %ebx
LBB0_4:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _menu_disp,8,3 ## @menu_disp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _menu_display_font_file ; -- Begin function menu_display_font_file
.p2align 2
_menu_display_font_file: ; @menu_display_font_file
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
str xzr, [sp, #8]
Lloh0:
adrp x8, _menu_disp@GOTPAGE
Lloh1:
ldr x8, [x8, _menu_disp@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
mov x19, x1
fmov s8, s0
mov x20, x0
ldr x21, [x8]
mov w0, #0
bl _video_driver_get_ptr
mov x1, x0
add x0, sp, #8
mov x2, x20
fmov s0, s8
mov x3, x19
blr x21
ldr x8, [sp, #8]
cmp w0, #0
csel x0, xzr, x8, eq
b LBB0_3
LBB0_2:
mov x0, #0
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _menu_disp,8,3 ; @menu_disp
.subsections_via_symbols
| AnghaBench/RetroArch/menu/extr_menu_driver.c_menu_display_font_file.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -36(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %esi
testl %esi, %esi
je LBB0_3
## %bb.1:
leaq L_.str.2(%rip), %r14
leaq L_.str(%rip), %r15
leaq L_.str.1(%rip), %r12
leaq -36(%rbp), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %esi
testl %esi, %esi
jne LBB0_2
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite um n\303\272mero: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "O n\303\272mero lido foi = %d\n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x22, sp, #12
str x22, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cbz w8, LBB0_3
; %bb.1:
Lloh4:
adrp x19, l_.str.2@PAGE
Lloh5:
add x19, x19, l_.str.2@PAGEOFF
Lloh6:
adrp x20, l_.str@PAGE
Lloh7:
add x20, x20, l_.str@PAGEOFF
Lloh8:
adrp x21, l_.str.1@PAGE
Lloh9:
add x21, x21, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x8, [sp]
mov x0, x19
bl _printf
mov x0, x20
bl _printf
str x22, [sp]
mov x0, x21
bl _scanf
ldr w8, [sp, #12]
cbnz w8, LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite um n\303\272mero: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "O n\303\272mero lido foi = %d\n\n"
.subsections_via_symbols
| the_stack_data/70450173.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function coerce_template_template_parms
_coerce_template_template_parms: ## @coerce_template_template_parms
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
movl %edx, -52(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rdi, %rbx
callq _TREE_CODE
movq _TREE_VEC@GOTPCREL(%rip), %r14
xorl %edi, %edi
cmpl (%r14), %eax
sete %dil
callq _gcc_assert
movq %r12, %rdi
callq _TREE_CODE
xorl %edi, %edi
cmpl (%r14), %eax
sete %dil
callq _gcc_assert
movq %rbx, -88(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _TREE_VEC_LENGTH
movl %eax, %ebx
movq %r12, %rdi
callq _TREE_VEC_LENGTH
movl $0, -44(%rbp) ## 4-byte Folded Spill
cmpl %ebx, %eax
jne LBB0_20
## %bb.1:
testl %ebx, %ebx
jle LBB0_19
## %bb.2:
xorl %r15d, %r15d
movq %r12, -64(%rbp) ## 8-byte Spill
movl %ebx, -48(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
callq _gcc_unreachable
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
incl %r15d
cmpl %r15d, %ebx
je LBB0_19
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movl %r15d, %esi
callq _TREE_VEC_ELT
movq _error_mark_node@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_18
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
movl %r15d, %esi
callq _TREE_VEC_ELT
movq _error_mark_node@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_18
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movl %r15d, %esi
callq _TREE_VEC_ELT
movq %rax, %rdi
callq _TREE_VALUE
movq %rax, %r14
movq %r12, %rdi
movl %r15d, %esi
callq _TREE_VEC_ELT
movq %rax, %rdi
callq _TREE_VALUE
movq %rax, %r13
movq _NULL_TREE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, -44(%rbp) ## 4-byte Folded Spill
cmpq %rax, %r13
je LBB0_20
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq _error_mark_node@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq %rcx, %r13
je LBB0_20
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
cmpq %rax, %r14
je LBB0_20
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
cmpq %rcx, %r14
je LBB0_20
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _TREE_CODE
movl %eax, %ebx
movq %r14, %rdi
callq _TREE_CODE
cmpl %eax, %ebx
jne LBB0_20
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _TREE_CODE
cmpl $128, %eax
movq -64(%rbp), %r12 ## 8-byte Reload
movl -48(%rbp), %ebx ## 4-byte Reload
je LBB0_18
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cmpl $130, %eax
je LBB0_15
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
cmpl $129, %eax
jne LBB0_17
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _DECL_INNERMOST_TEMPLATE_PARMS
movq %rax, %rbx
movq %r13, %rdi
callq _DECL_INNERMOST_TEMPLATE_PARMS
movq %rbx, %rdi
movl -48(%rbp), %ebx ## 4-byte Reload
movq -64(%rbp), %r12 ## 8-byte Reload
movq %rax, %rsi
movl -52(%rbp), %edx ## 4-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
callq _coerce_template_template_parms
jmp LBB0_14
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _TREE_TYPE
movl %eax, %edi
callq _dependent_type_p
testl %eax, %eax
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _TREE_TYPE
movl %eax, %edi
movq -80(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %edx ## 4-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
callq _tsubst
movl %eax, %ebx
movq %r13, %rdi
callq _TREE_TYPE
movl %ebx, %edi
movl -48(%rbp), %ebx ## 4-byte Reload
movq -64(%rbp), %r12 ## 8-byte Reload
movl %eax, %esi
callq _same_type_p
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
jne LBB0_18
jmp LBB0_20
LBB0_19:
movl $1, -44(%rbp) ## 4-byte Folded Spill
LBB0_20:
movl -44(%rbp), %eax ## 4-byte Reload
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TREE_VEC,4,2 ## @TREE_VEC
.comm _error_mark_node,8,3 ## @error_mark_node
.comm _NULL_TREE,8,3 ## @NULL_TREE
.no_dead_strip _coerce_template_template_parms
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function coerce_template_template_parms
_coerce_template_template_parms: ; @coerce_template_template_parms
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x25, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
bl _TREE_CODE
Lloh0:
adrp x19, _TREE_VEC@GOTPAGE
Lloh1:
ldr x19, [x19, _TREE_VEC@GOTPAGEOFF]
ldr w8, [x19]
cmp w0, w8
cset w0, eq
bl _gcc_assert
mov x0, x22
bl _TREE_CODE
ldr w8, [x19]
cmp w0, w8
cset w0, eq
bl _gcc_assert
mov x0, x23
bl _TREE_VEC_LENGTH
mov x24, x0
mov x0, x22
bl _TREE_VEC_LENGTH
cmp w0, w24
b.ne LBB0_16
; %bb.1:
cmp w24, #1
b.lt LBB0_17
; %bb.2:
str x25, [sp, #8] ; 8-byte Folded Spill
mov w25, #0
Lloh2:
adrp x19, _error_mark_node@GOTPAGE
Lloh3:
ldr x19, [x19, _error_mark_node@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
bl _gcc_unreachable
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add w25, w25, #1
cmp w24, w25
b.eq LBB0_17
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x25
bl _TREE_VEC_ELT
ldr x8, [x19]
cmp x0, x8
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
mov x1, x25
bl _TREE_VEC_ELT
ldr x8, [x19]
cmp x0, x8
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
mov x1, x25
bl _TREE_VEC_ELT
bl _TREE_VALUE
mov x27, x0
mov x0, x22
mov x1, x25
bl _TREE_VEC_ELT
bl _TREE_VALUE
Lloh4:
adrp x8, _NULL_TREE@GOTPAGE
Lloh5:
ldr x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_16
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
mov x26, x0
ldr x9, [x19]
cmp x0, x9
ccmp x27, x8, #4, ne
ccmp x27, x9, #4, ne
b.eq LBB0_16
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x0, x26
bl _TREE_CODE
mov x28, x0
mov x0, x27
bl _TREE_CODE
cmp w28, w0
b.ne LBB0_16
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
mov x0, x27
bl _TREE_CODE
cmp w0, #128
b.eq LBB0_4
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #130
b.eq LBB0_14
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #129
b.ne LBB0_3
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
mov x0, x27
bl _DECL_INNERMOST_TEMPLATE_PARMS
mov x27, x0
mov x0, x26
bl _DECL_INNERMOST_TEMPLATE_PARMS
mov x1, x0
mov x0, x27
mov x2, x21
mov x3, x20
ldr x4, [sp, #8] ; 8-byte Folded Reload
bl _coerce_template_template_parms
cbnz w0, LBB0_4
b LBB0_18
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
mov x0, x26
bl _TREE_TYPE
bl _dependent_type_p
cbnz w0, LBB0_4
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
mov x0, x27
bl _TREE_TYPE
ldr x1, [sp, #8] ; 8-byte Folded Reload
mov x2, x21
mov x3, x20
bl _tsubst
mov x27, x0
mov x0, x26
bl _TREE_TYPE
mov x1, x0
mov x0, x27
bl _same_type_p
cbnz w0, LBB0_4
b LBB0_18
LBB0_16:
mov w0, #0
b LBB0_18
LBB0_17:
mov w0, #1
LBB0_18:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _TREE_VEC,4,2 ; @TREE_VEC
.comm _error_mark_node,8,3 ; @error_mark_node
.comm _NULL_TREE,8,3 ; @NULL_TREE
.no_dead_strip _coerce_template_template_parms
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/cp/extr_pt.c_coerce_template_template_parms.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function avg_width4_msa
_avg_width4_msa: ## @avg_width4_msa
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %ebx
movl %ecx, %r14d
movq %rdx, %r15
## kill: def $esi killed $esi def $rsi
movq %rdi, %r13
testb $3, %bl
movq %r14, -80(%rbp) ## 8-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.4:
testb $1, %bl
jne LBB0_7
## %bb.5:
sarl %ebx
leal (%rsi,%rsi), %eax
cltq
movslq %r14d, %rcx
shlq $2, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq (,%rcx,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
shlq $2, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _LD_UB2
movq %r15, %rdi
movl %r14d, %esi
callq _LD_UB2
callq _AVER_UB2_UB
xorl %esi, %esi
callq ___msa_copy_u_w
movl %eax, %r14d
xorl %esi, %esi
callq ___msa_copy_u_w
movl %eax, %r12d
movl %r14d, %edi
movq -80(%rbp), %r14 ## 8-byte Reload
movq %r15, %rsi
callq _SW
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%r15,%rax), %rsi
movl %r12d, %edi
callq _SW
addq -64(%rbp), %r13 ## 8-byte Folded Reload
addq -48(%rbp), %r15 ## 8-byte Folded Reload
decl %ebx
jne LBB0_6
jmp LBB0_7
LBB0_1:
testl %ebx, %ebx
je LBB0_7
## %bb.2:
sarl $2, %ebx
leal (,%rsi,4), %eax
movslq %eax, %rcx
leal (,%r14,4), %eax
cltq
shlq $2, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
shlq $2, %rax
movq %rax, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _LD_UB4
movq %r15, %rdi
movl %r14d, %esi
callq _LD_UB4
callq _AVER_UB4_UB
xorl %esi, %esi
callq ___msa_copy_u_w
movl %eax, -64(%rbp) ## 4-byte Spill
xorl %esi, %esi
callq ___msa_copy_u_w
movl %eax, %r14d
xorl %esi, %esi
callq ___msa_copy_u_w
movl %eax, %r12d
xorl %esi, %esi
callq ___msa_copy_u_w
movl -64(%rbp), %edi ## 4-byte Reload
movl %r14d, %esi
movq -80(%rbp), %r14 ## 8-byte Reload
movl %r12d, %edx
movl %eax, %ecx
movq %r15, %r8
movl %r14d, %r9d
callq _SW4
addq -56(%rbp), %r13 ## 8-byte Folded Reload
addq -48(%rbp), %r15 ## 8-byte Folded Reload
decl %ebx
jne LBB0_3
LBB0_7:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _avg_width4_msa
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function avg_width4_msa
_avg_width4_msa: ; @avg_width4_msa
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
tst w4, #0x3
b.eq LBB0_4
; %bb.1:
tbnz w4, #0, LBB0_7
; %bb.2:
asr w25, w4, #1
lsl w8, w21, #1
sbfiz x26, x8, #2, #32
sbfiz x27, x19, #3, #32
sbfiz x28, x19, #2, #32
LBB0_3: ; =>This Inner Loop Header: Depth=1
sub w25, w25, #1
mov x0, x22
mov x1, x21
bl _LD_UB2
mov x0, x20
mov x1, x19
bl _LD_UB2
bl _AVER_UB2_UB
mov w1, #0 ; =0x0
bl ___msa_copy_u_w
mov x23, x0
mov w1, #0 ; =0x0
bl ___msa_copy_u_w
mov x24, x0
mov x0, x23
mov x1, x20
bl _SW
add x1, x20, x28
mov x0, x24
bl _SW
add x22, x22, x26
add x20, x20, x27
cbnz w25, LBB0_3
b LBB0_7
LBB0_4:
cbz w4, LBB0_7
; %bb.5:
asr w26, w4, #2
lsl w8, w21, #2
lsl w9, w19, #2
sbfiz x27, x8, #2, #32
sbfiz x28, x9, #2, #32
LBB0_6: ; =>This Inner Loop Header: Depth=1
sub w26, w26, #1
mov x0, x22
mov x1, x21
bl _LD_UB4
mov x0, x20
mov x1, x19
bl _LD_UB4
bl _AVER_UB4_UB
mov w1, #0 ; =0x0
bl ___msa_copy_u_w
mov x23, x0
mov w1, #0 ; =0x0
bl ___msa_copy_u_w
mov x24, x0
mov w1, #0 ; =0x0
bl ___msa_copy_u_w
mov x25, x0
mov w1, #0 ; =0x0
bl ___msa_copy_u_w
mov x3, x0
mov x0, x23
mov x1, x24
mov x2, x25
mov x4, x20
mov x5, x19
bl _SW4
add x22, x22, x27
add x20, x20, x28
cbnz w26, LBB0_6
LBB0_7:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.no_dead_strip _avg_width4_msa
.subsections_via_symbols
| assembly_file_45202.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _transcode_encoder_audio_encode ## -- Begin function transcode_encoder_audio_encode
.p2align 4, 0x90
_transcode_encoder_audio_encode: ## @transcode_encoder_audio_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
movq (%rdi), %rax
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _transcode_encoder_audio_encode ; -- Begin function transcode_encoder_audio_encode
.p2align 2
_transcode_encoder_audio_encode: ; @transcode_encoder_audio_encode
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ldr x2, [x0]
br x2
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/vlc/modules/stream_out/transcode/encoder/extr_audio.c_transcode_encoder_audio_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __mlx4_ib_create_default_rules
___mlx4_ib_create_default_rules: ## @__mlx4_ib_create_default_rules
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %rbx
movq %rdi, %r15
movq (%rdx), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
jle LBB0_1
## %bb.2:
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
incq %r13
callq _ARRAY_SIZE
cltq
cmpq %rax, %r13
jge LBB0_10
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
movl (%rdi,%r13,4), %eax
testl %eax, %eax
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $128, %eax
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl $4, -48(%rbp)
movl (%r15), %edi
xorl %esi, %esi
leaq -48(%rbp), %rdx
movq %r14, %rcx
callq _parse_flow_attr
testl %eax, %eax
js LBB0_6
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %ecx
addq %rcx, %r14
addl %eax, %r12d
movq (%rbx), %rdi
jmp LBB0_9
LBB0_1:
xorl %r12d, %r12d
jmp LBB0_10
LBB0_6:
leaq L_.str(%rip), %rdi
callq _pr_info
LBB0_7:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
LBB0_10:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid parsing\n"
.no_dead_strip ___mlx4_ib_create_default_rules
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __mlx4_ib_create_default_rules
___mlx4_ib_create_default_rules: ; @__mlx4_ib_create_default_rules
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x21, x0
ldr x0, [x2]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_7
; %bb.1:
mov x23, #0
mov w22, #0
mov w24, #4
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
bl _ARRAY_SIZE
cmp x23, w0, sxtw
b.ge LBB0_10
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20]
ldr w8, [x0, x23, lsl #2]
cbz w8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #128
b.ne LBB0_9
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
str w24, [sp, #8]
ldr w0, [x21]
add x2, sp, #8
mov w1, #0
mov x3, x19
bl _parse_flow_attr
tbnz w0, #31, LBB0_8
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
add x19, x19, w0, uxtw
add w22, w0, w22
ldr x0, [x20]
b LBB0_2
LBB0_7:
mov w22, #0
b LBB0_10
LBB0_8:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _pr_info
LBB0_9:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w22, w8
LBB0_10:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid parsing\n"
.no_dead_strip ___mlx4_ib_create_default_rules
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mlx4/mlx4_ib/extr_mlx4_ib_main.c___mlx4_ib_create_default_rules.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _osal_dynlib_getproc ## -- Begin function osal_dynlib_getproc
.p2align 4, 0x90
_osal_dynlib_getproc: ## @osal_dynlib_getproc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rsi, %rsi
je LBB0_1
## %bb.2:
popq %rbp
jmp _dlsym ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _osal_dynlib_getproc ; -- Begin function osal_dynlib_getproc
.p2align 2
_osal_dynlib_getproc: ; @osal_dynlib_getproc
.cfi_startproc
; %bb.0:
cbz x1, LBB0_2
; %bb.1:
b _dlsym
LBB0_2:
mov x0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Mupen64Plus/mupen64plus-input-sdl/src/extr_osal_dynamiclib_unix.c_osal_dynlib_getproc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gigaset_chars_in_buffer
_gigaset_chars_in_buffer: ## @gigaset_chars_in_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _gigaset_chars_in_buffer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gigaset_chars_in_buffer
_gigaset_chars_in_buffer: ; @gigaset_chars_in_buffer
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _gigaset_chars_in_buffer
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/isdn/gigaset/extr_ser-gigaset.c_gigaset_chars_in_buffer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_card_asihpi_capture_pointer
_snd_card_asihpi_capture_pointer: ## @snd_card_asihpi_capture_pointer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq (%rdi), %r15
movq (%r15), %rbx
leaq -48(%rbp), %r14
movq %r14, %rsi
movl $16, %edx
callq _snd_pcm_debug_name
movl (%rbx), %edx
leaq L_.str(%rip), %rdi
movq %r14, %rsi
callq _snd_printddd
movl (%rbx), %eax
cltd
idivl 4(%rbx)
movq %r15, %rdi
movl %edx, %esi
callq _bytes_to_frames
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s, pointer=%d\n"
.no_dead_strip _snd_card_asihpi_capture_pointer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_card_asihpi_capture_pointer
_snd_card_asihpi_capture_pointer: ; @snd_card_asihpi_capture_pointer
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
ldr x19, [x0]
ldr x20, [x19]
add x1, sp, #8
mov w2, #16
bl _snd_pcm_debug_name
ldr w2, [x20]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
add x1, sp, #8
bl _snd_printddd
ldp w8, w9, [x20]
sdiv w10, w8, w9
msub w1, w10, w9, w8
mov x0, x19
bl _bytes_to_frames
ldr x8, [sp, #24]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s, pointer=%d\n"
.no_dead_strip _snd_card_asihpi_capture_pointer
.subsections_via_symbols
| AnghaBench/linux/sound/pci/asihpi/extr_asihpi.c_snd_card_asihpi_capture_pointer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function show_spd_enb
_show_spd_enb: ## @show_spd_enb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
callq _dev_get_drvdata
movq _IPATH_IB_CFG_SPD_ENB@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq *(%rax)
testl %eax, %eax
js LBB0_1
## %bb.2:
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl %eax, %ecx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _scnprintf ## TAILCALL
LBB0_1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IPATH_IB_CFG_SPD_ENB,4,2 ## @IPATH_IB_CFG_SPD_ENB
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.no_dead_strip _show_spd_enb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function show_spd_enb
_show_spd_enb: ; @show_spd_enb
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _dev_get_drvdata
ldr x8, [x0]
Lloh0:
adrp x9, _IPATH_IB_CFG_SPD_ENB@GOTPAGE
Lloh1:
ldr x9, [x9, _IPATH_IB_CFG_SPD_ENB@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
blr x8
mov x3, x0
tbnz w0, #31, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _scnprintf
LBB0_2:
mov x0, x3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IPATH_IB_CFG_SPD_ENB,4,2 ; @IPATH_IB_CFG_SPD_ENB
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.no_dead_strip _show_spd_enb
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_sysfs.c_show_spd_enb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function log4_entry_receiver
_log4_entry_receiver: ## @log4_entry_receiver
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rdx, %rdi
callq _svn_log_entry_create
movq (%r15), %rcx
movq %rcx, 32(%rax)
movl 16(%rbx), %edx
movl %edx, 24(%rax)
movl 12(%rbx), %edx
movl %edx, 20(%rax)
movl 8(%rbx), %edx
movl %edx, 16(%rax)
movq %rcx, 8(%rax)
movl 4(%rbx), %ecx
movl %ecx, 4(%rax)
movl (%rbx), %ecx
movl %ecx, (%rax)
movl 12(%r15), %edi
movq %rax, %rsi
movq %r14, %rdx
callq *16(%r15)
movl %eax, %edi
callq _SVN_ERR
movl 8(%r15), %edi
callq _svn_pool_clear
movq $0, (%r15)
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _log4_entry_receiver
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function log4_entry_receiver
_log4_entry_receiver: ; @log4_entry_receiver
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, x2
bl _svn_log_entry_create
mov x1, x0
ldr x8, [x21]
str x8, [x0, #32]
ldr w9, [x20, #16]
str w9, [x0, #24]
ldr d0, [x20, #8]
str d0, [x0, #16]
str x8, [x0, #8]
ldr d0, [x20]
str d0, [x0]
ldr x8, [x21, #16]
ldr w0, [x21, #12]
mov x2, x19
blr x8
bl _SVN_ERR
ldr w0, [x21, #8]
bl _svn_pool_clear
str xzr, [x21]
Lloh0:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _log4_entry_receiver
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_compat.c_log4_entry_receiver.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "\n\033[1mBold \033[0m\033[3mItalic \033[1mBold+Italic\033[0m\033[0m \033[4mUnderline\033[0m \033[9mX-Out\033[0m \033[1;3;4;9mEverything\033[0m"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "\n\033[1mBold \033[0m\033[3mItalic \033[1mBold+Italic\033[0m\033[0m \033[4mUnderline\033[0m \033[9mX-Out\033[0m \033[1;3;4;9mEverything\033[0m"
.subsections_via_symbols
| the_stack_data/154829588.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AAS_CreateReversedReachability ## -- Begin function AAS_CreateReversedReachability
.p2align 4, 0x90
_AAS_CreateReversedReachability: ## @AAS_CreateReversedReachability
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _aasworld@GOTPCREL(%rip), %r12
movq 8(%r12), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _FreeMemory
LBB0_2:
movl 4(%r12), %edi
addl (%r12), %edi
shll $4, %edi
callq _GetClearedMemory
movq %rax, %rbx
movq %rax, 8(%r12)
movl (%r12), %eax
cmpl $2, %eax
jl LBB0_10
## %bb.3:
shlq $4, %rax
addq %rax, %rbx
movl $1, %r15d
movl $127, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
incq %r15
movslq (%r12), %rax
cmpq %rax, %r15
jge LBB0_10
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movq 24(%r12), %r14
movl (%r14,%r15,8), %r9d
cmpl $128, %r9d
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq _PRT_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl %r15d, %edx
movq _botimport@GOTPCREL(%rip), %rax
callq *(%rax)
movl (%r14,%r15,8), %r9d
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
testl %r9d, %r9d
jle LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movl 4(%r14,%r15,8), %r8d
movq 8(%r12), %rdx
movslq %r8d, %rsi
decl %r9d
cmpl $127, %r9d
cmovael %r13d, %r9d
incl %r9d
shlq $3, %rsi
addq 16(%r12), %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, (%rbx)
leal (%r8,%rdi), %ecx
movl %ecx, 4(%rbx)
movq (%rsi,%rdi,8), %rcx
shlq $4, %rcx
movq 8(%rdx,%rcx), %rax
movq %rax, 8(%rbx)
movq %rbx, 8(%rdx,%rcx)
incl (%rdx,%rcx)
addq $16, %rbx
incq %rdi
cmpq %rdi, %r9
jne LBB0_8
jmp LBB0_9
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _aasworld,32,3 ## @aasworld
.comm _botimport,8,3 ## @botimport
.comm _PRT_WARNING,4,2 ## @PRT_WARNING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "area %d has more than 128 reachabilities\n"
.comm _PRT_MESSAGE,4,2 ## @PRT_MESSAGE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AAS_CreateReversedReachability ; -- Begin function AAS_CreateReversedReachability
.p2align 2
_AAS_CreateReversedReachability: ; @AAS_CreateReversedReachability
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x21, _aasworld@GOTPAGE
Lloh1:
ldr x21, [x21, _aasworld@GOTPAGEOFF]
ldr x0, [x21, #8]
cbz x0, LBB0_2
; %bb.1:
bl _FreeMemory
LBB0_2:
ldp w8, w9, [x21]
add w8, w9, w8
lsl w0, w8, #4
bl _GetClearedMemory
str x0, [x21, #8]
ldr w8, [x21]
cmp w8, #2
b.lt LBB0_11
; %bb.3:
add x25, x0, x8, lsl #4
Lloh2:
adrp x22, _botimport@GOTPAGE
Lloh3:
ldr x22, [x22, _botimport@GOTPAGEOFF]
mov w19, #1
Lloh4:
adrp x23, _PRT_WARNING@GOTPAGE
Lloh5:
ldr x23, [x23, _PRT_WARNING@GOTPAGEOFF]
mov w24, #127
Lloh6:
adrp x20, l_.str@PAGE
Lloh7:
add x20, x20, l_.str@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x19, x19, #1
ldrsw x8, [x21]
cmp x19, x8
b.ge LBB0_11
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
ldr x26, [x21, #24]
add x27, x26, x19, lsl #3
ldr w8, [x27]
cmp w8, #128
b.lt LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x22]
ldr w0, [x23]
mov x1, x20
mov x2, x19
blr x8
ldr w8, [x27]
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
subs w10, w8, #1
b.lt LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
add x8, x26, x19, lsl #3
ldrsw x8, [x8, #4]
ldp x9, x11, [x21, #8]
cmp w10, #127
csel w10, w10, w24, lo
add w10, w10, #1
add x11, x11, x8, lsl #3
LBB0_9: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add x12, x25, #16
stp w19, w8, [x25]
ldr x13, [x11], #8
add x13, x9, x13, lsl #4
ldr x14, [x13, #8]
str x14, [x25, #8]
str x25, [x13, #8]
ldr w14, [x13]
add w14, w14, #1
str w14, [x13]
add w8, w8, #1
mov x25, x12
subs x10, x10, #1
b.ne LBB0_9
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
mov x25, x12
b LBB0_4
LBB0_11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _aasworld,32,3 ; @aasworld
.comm _botimport,8,3 ; @botimport
.comm _PRT_WARNING,4,2 ; @PRT_WARNING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "area %d has more than 128 reachabilities\n"
.comm _PRT_MESSAGE,4,2 ; @PRT_MESSAGE
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_route.c_AAS_CreateReversedReachability.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq ___stdinp@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
callq _feof
testl %eax, %eax
jne LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
callq _quote_calc2_parse
jmp LBB0_2
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _quote_calc2_parse ## -- Begin function quote_calc2_parse
.p2align 4, 0x90
_quote_calc2_parse: ## @quote_calc2_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _quote_calc2_nerrs@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _quote_calc2_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
movl $-1, (%rdi)
movq _yystack+8(%rip), %rbx
testq %rbx, %rbx
je LBB1_2
## %bb.1:
movq _yystack+32(%rip), %rax
LBB1_9:
movq %rbx, _yystack+16(%rip)
movq %rax, _yystack+40(%rip)
movw $0, (%rbx)
xorl %ecx, %ecx
LBB1_10: ## =>This Loop Header: Depth=1
## Child Loop BB1_13 Depth 2
## Child Loop BB1_46 Depth 2
## Child Loop BB1_87 Depth 2
movslq %ecx, %r13
movabsq $8547955694, %rax ## imm = 0x1FD7F73EE
btq %r13, %rax
jb LBB1_11
## %bb.61: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_defred(%rip), %rax
leaq (%rax,%r13,2), %rax
LBB1_62: ## in Loop: Header=BB1_10 Depth=1
movswq (%rax), %r15
leaq _quote_calc2_len(%rip), %rax
movswq (%rax,%r15,2), %r14
cmpq $1, %r15
jne LBB1_64
## %bb.63: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_val@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_84
.p2align 4, 0x90
LBB1_11: ## in Loop: Header=BB1_10 Depth=1
movl $41978897, %r14d ## imm = 0x2808C11
movl %r13d, %ecx
shrq %cl, %r14
movl $50326751, %r15d ## imm = 0x2FFECDF
shrq %cl, %r15
movl (%rdi), %ebx
testl %ebx, %ebx
js LBB1_13
LBB1_22: ## in Loop: Header=BB1_10 Depth=1
testb $1, %r14b
je LBB1_23
jmp LBB1_36
.p2align 4, 0x90
LBB1_13: ## Parent Loop BB1_10 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $32, %eax
je LBB1_13
## %bb.14: ## in Loop: Header=BB1_10 Depth=1
movl %eax, %ebx
cmpl $127, %eax
ja LBB1_16
## %bb.15: ## in Loop: Header=BB1_10 Depth=1
movl %ebx, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $4096, %ecx ## imm = 0x1000
andl %ecx, %eax
jmp LBB1_17
LBB1_16: ## in Loop: Header=BB1_10 Depth=1
movl $4096, %esi ## imm = 0x1000
movl %ebx, %edi
callq ___maskrune
LBB1_17: ## in Loop: Header=BB1_10 Depth=1
testl %eax, %eax
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
je LBB1_19
## %bb.18: ## in Loop: Header=BB1_10 Depth=1
addl $-97, %ebx
movl $270, %ecx ## imm = 0x10E
movl %ebx, %eax
jmp LBB1_20
LBB1_19: ## in Loop: Header=BB1_10 Depth=1
movl %ebx, %eax
addl $-48, %eax
movl $269, %ecx ## imm = 0x10D
cmpl $9, %eax
ja LBB1_21
LBB1_20: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_lval@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
movl %ecx, %ebx
LBB1_21: ## in Loop: Header=BB1_10 Depth=1
testl %ebx, %ebx
movl $0, %eax
cmovlel %eax, %ebx
movl %ebx, (%rdi)
testb $1, %r14b
jne LBB1_36
LBB1_23: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_sindex(%rip), %rax
movswl (%rax,%r13,2), %eax
addl %ebx, %eax
cmpl $259, %eax ## imm = 0x103
ja LBB1_36
## %bb.24: ## in Loop: Header=BB1_10 Depth=1
movl %eax, %r12d
leaq _quote_calc2_check(%rip), %rax
movswl (%rax,%r12,2), %eax
cmpl %eax, %ebx
je LBB1_25
LBB1_36: ## in Loop: Header=BB1_10 Depth=1
testb $1, %r15b
jne LBB1_40
## %bb.37: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_rindex(%rip), %rax
movswl (%rax,%r13,2), %eax
addl %ebx, %eax
cmpl $259, %eax ## imm = 0x103
ja LBB1_40
## %bb.38: ## in Loop: Header=BB1_10 Depth=1
movl %eax, %eax
leaq _quote_calc2_check(%rip), %rcx
movswl (%rcx,%rax,2), %ecx
cmpl %ecx, %ebx
je LBB1_39
LBB1_40: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_errflag@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jne LBB1_42
## %bb.41: ## in Loop: Header=BB1_10 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
movq _quote_calc2_nerrs@GOTPCREL(%rip), %rax
incl (%rax)
movq _quote_calc2_errflag@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB1_42: ## in Loop: Header=BB1_10 Depth=1
cmpl $2, %eax
jle LBB1_43
## %bb.59: ## in Loop: Header=BB1_10 Depth=1
cmpl $0, (%rdi)
je LBB1_113
## %bb.60: ## in Loop: Header=BB1_10 Depth=1
movl $-1, (%rdi)
movl $-1, %ebx
testl %ebx, %ebx
jns LBB1_22
jmp LBB1_13
.p2align 4, 0x90
LBB1_64: ## in Loop: Header=BB1_10 Depth=1
movq _yystack+40(%rip), %rcx
movl $1, %eax
subq %r14, %rax
movl (%rcx,%rax,4), %eax
movq _quote_calc2_val@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
leal -3(%r15), %eax
cmpl $15, %eax
ja LBB1_84
## %bb.65: ## in Loop: Header=BB1_10 Depth=1
leaq LJTI1_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB1_66: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_84
.p2align 4, 0x90
LBB1_43: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_errflag@GOTPCREL(%rip), %rax
movl $3, (%rax)
movq _yystack+16(%rip), %rbx
movq _yystack+40(%rip), %rax
movq _yystack+8(%rip), %r14
movzwl (%rbx), %ecx
movl $41978897, %edx ## imm = 0x2808C11
btq %rcx, %rdx
jb LBB1_45
## %bb.44: ## in Loop: Header=BB1_10 Depth=1
cmpw $1, %cx
jne LBB1_45
## %bb.50: ## in Loop: Header=BB1_10 Depth=1
cmpq _yystack+24(%rip), %rbx
jae LBB1_51
jmp LBB1_58
LBB1_45: ## in Loop: Header=BB1_10 Depth=1
addq $-2, %rbx
.p2align 4, 0x90
LBB1_46: ## Parent Loop BB1_10 Depth=1
## => This Inner Loop Header: Depth=2
leaq 2(%rbx), %rcx
cmpq %r14, %rcx
jbe LBB1_113
## %bb.47: ## in Loop: Header=BB1_46 Depth=2
movq %rbx, _yystack+16(%rip)
addq $-4, %rax
movq %rax, _yystack+40(%rip)
movzwl (%rbx), %ecx
addq $-2, %rbx
movl $41978897, %edx ## imm = 0x2808C11
btq %rcx, %rdx
jb LBB1_46
## %bb.48: ## in Loop: Header=BB1_46 Depth=2
cmpw $1, %cx
jne LBB1_46
## %bb.49: ## in Loop: Header=BB1_10 Depth=1
addq $2, %rbx
cmpq _yystack+24(%rip), %rbx
jb LBB1_58
LBB1_51: ## in Loop: Header=BB1_10 Depth=1
movl _yystack(%rip), %r15d
testl %r15d, %r15d
je LBB1_52
## %bb.53: ## in Loop: Header=BB1_10 Depth=1
cmpl $499, %r15d ## imm = 0x1F3
ja LBB1_112
## %bb.54: ## in Loop: Header=BB1_10 Depth=1
addl %r15d, %r15d
cmpl $500, %r15d ## imm = 0x1F4
movl $500, %eax ## imm = 0x1F4
cmovael %eax, %r15d
jmp LBB1_55
LBB1_25: ## in Loop: Header=BB1_10 Depth=1
movq _yystack+16(%rip), %rbx
cmpq _yystack+24(%rip), %rbx
jae LBB1_27
## %bb.26: ## in Loop: Header=BB1_10 Depth=1
movq _yystack+40(%rip), %rax
jmp LBB1_34
LBB1_39: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_table(%rip), %rcx
leaq (%rcx,%rax,2), %rax
jmp LBB1_62
LBB1_52: ## in Loop: Header=BB1_10 Depth=1
movl $500, %r15d ## imm = 0x1F4
LBB1_55: ## in Loop: Header=BB1_10 Depth=1
movl %r15d, %r12d
leaq (%r12,%r12), %rsi
movq %r14, %rdi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.56: ## in Loop: Header=BB1_10 Depth=1
movq %rax, %r13
subq %r14, %rbx
movq %rax, _yystack+8(%rip)
shrq %rbx
movslq %ebx, %r14
leaq (%rax,%r14,2), %rbx
movq %rbx, _yystack+16(%rip)
movq _yystack+32(%rip), %rdi
leaq (,%r12,4), %rsi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.57: ## in Loop: Header=BB1_10 Depth=1
movq %rax, _yystack+32(%rip)
leaq (%rax,%r14,4), %rax
movl %r15d, _yystack(%rip)
leaq -2(,%r12,2), %rcx
addq %r13, %rcx
movq %rcx, _yystack+24(%rip)
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
LBB1_58: ## in Loop: Header=BB1_10 Depth=1
leaq 2(%rbx), %rcx
movq %rcx, _yystack+16(%rip)
movw $2, 2(%rbx)
movq _quote_calc2_lval@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
leaq 4(%rax), %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movl $2, %ecx
jmp LBB1_10
LBB1_27: ## in Loop: Header=BB1_10 Depth=1
movl _yystack(%rip), %r15d
testl %r15d, %r15d
je LBB1_28
## %bb.29: ## in Loop: Header=BB1_10 Depth=1
cmpl $499, %r15d ## imm = 0x1F3
ja LBB1_112
## %bb.30: ## in Loop: Header=BB1_10 Depth=1
addl %r15d, %r15d
cmpl $500, %r15d ## imm = 0x1F4
movl $500, %eax ## imm = 0x1F4
cmovael %eax, %r15d
jmp LBB1_31
LBB1_67: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
jmp LBB1_84
LBB1_68: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %eax
movslq -8(%rcx), %rcx
movq _regs@GOTPCREL(%rip), %rdx
movl %eax, (%rdx,%rcx,4)
jmp LBB1_84
LBB1_69: ## in Loop: Header=BB1_10 Depth=1
movl -4(%rcx), %eax
jmp LBB1_82
LBB1_70: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %eax
addl -8(%rcx), %eax
jmp LBB1_82
LBB1_71: ## in Loop: Header=BB1_10 Depth=1
movl -8(%rcx), %eax
subl (%rcx), %eax
jmp LBB1_82
LBB1_72: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %eax
imull -8(%rcx), %eax
jmp LBB1_82
LBB1_73: ## in Loop: Header=BB1_10 Depth=1
movl -8(%rcx), %eax
cltd
idivl (%rcx)
jmp LBB1_82
LBB1_74: ## in Loop: Header=BB1_10 Depth=1
movl -8(%rcx), %eax
cltd
idivl (%rcx)
movq _quote_calc2_val@GOTPCREL(%rip), %rax
movl %edx, (%rax)
jmp LBB1_84
LBB1_75: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %eax
andl -8(%rcx), %eax
jmp LBB1_82
LBB1_76: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %eax
orl -8(%rcx), %eax
jmp LBB1_82
LBB1_77: ## in Loop: Header=BB1_10 Depth=1
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB1_82
LBB1_79: ## in Loop: Header=BB1_10 Depth=1
movslq (%rcx), %rax
movq _regs@GOTPCREL(%rip), %rcx
movl (%rcx,%rax,4), %eax
jmp LBB1_82
LBB1_80: ## in Loop: Header=BB1_10 Depth=1
movl (%rcx), %eax
movq _quote_calc2_val@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
xorl %eax, %eax
cmpl $0, (%rcx)
setne %al
addl %eax, %eax
addl $8, %eax
movq _base@GOTPCREL(%rip), %rcx
jmp LBB1_83
LBB1_81: ## in Loop: Header=BB1_10 Depth=1
movl -4(%rcx), %eax
movq _base@GOTPCREL(%rip), %rdx
imull (%rdx), %eax
addl (%rcx), %eax
LBB1_82: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_val@GOTPCREL(%rip), %rcx
LBB1_83: ## in Loop: Header=BB1_10 Depth=1
movl %eax, (%rcx)
LBB1_84: ## in Loop: Header=BB1_10 Depth=1
movq _yystack+16(%rip), %rax
leaq (%r14,%r14), %rcx
movq %rax, %rbx
subq %rcx, %rbx
negq %rcx
movq %rbx, _yystack+16(%rip)
movswl (%rax,%rcx), %ecx
movq _yystack+40(%rip), %rax
shlq $2, %r14
subq %r14, %rax
movq %rax, _yystack+40(%rip)
testl %ecx, %ecx
jne LBB1_98
## %bb.85: ## in Loop: Header=BB1_10 Depth=1
leaq -1(%r15), %rdx
cmpq $2, %rdx
ja LBB1_98
## %bb.86: ## in Loop: Header=BB1_10 Depth=1
leaq 2(%rbx), %rcx
movq %rcx, _yystack+16(%rip)
movw $1, 2(%rbx)
movq _quote_calc2_val@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
leaq 4(%rax), %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movl (%rdi), %ebx
testl %ebx, %ebx
jns LBB1_96
.p2align 4, 0x90
LBB1_87: ## Parent Loop BB1_10 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $32, %eax
je LBB1_87
## %bb.88: ## in Loop: Header=BB1_10 Depth=1
movl %eax, %ebx
cmpl $127, %eax
ja LBB1_90
## %bb.89: ## in Loop: Header=BB1_10 Depth=1
movl %ebx, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $4096, %ecx ## imm = 0x1000
andl %ecx, %eax
jmp LBB1_91
.p2align 4, 0x90
LBB1_98: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_lhs(%rip), %rdx
movswq (%rdx,%r15,2), %rdx
addq $-6, %r15
cmpq $10, %r15
ja LBB1_102
## %bb.99: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_gindex(%rip), %rsi
movswl (%rsi,%rdx,2), %esi
addl %ecx, %esi
cmpl $259, %esi ## imm = 0x103
ja LBB1_102
## %bb.100: ## in Loop: Header=BB1_10 Depth=1
movl %esi, %r8d
leaq _quote_calc2_check(%rip), %rsi
cmpw %cx, (%rsi,%r8,2)
jne LBB1_102
## %bb.101: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_table(%rip), %rcx
leaq (%rcx,%r8,2), %rcx
cmpq _yystack+24(%rip), %rbx
jae LBB1_104
jmp LBB1_111
.p2align 4, 0x90
LBB1_102: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_dgoto(%rip), %rcx
leaq (%rcx,%rdx,2), %rcx
cmpq _yystack+24(%rip), %rbx
jb LBB1_111
LBB1_104: ## in Loop: Header=BB1_10 Depth=1
movq %rcx, -48(%rbp) ## 8-byte Spill
movl _yystack(%rip), %r12d
testl %r12d, %r12d
je LBB1_105
## %bb.106: ## in Loop: Header=BB1_10 Depth=1
cmpl $499, %r12d ## imm = 0x1F3
ja LBB1_112
## %bb.107: ## in Loop: Header=BB1_10 Depth=1
addl %r12d, %r12d
cmpl $500, %r12d ## imm = 0x1F4
movl $500, %eax ## imm = 0x1F4
cmovael %eax, %r12d
jmp LBB1_108
LBB1_90: ## in Loop: Header=BB1_10 Depth=1
movl $4096, %esi ## imm = 0x1000
movl %ebx, %edi
callq ___maskrune
LBB1_91: ## in Loop: Header=BB1_10 Depth=1
testl %eax, %eax
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
je LBB1_93
## %bb.92: ## in Loop: Header=BB1_10 Depth=1
addl $-97, %ebx
movl $270, %ecx ## imm = 0x10E
movl %ebx, %eax
jmp LBB1_94
LBB1_105: ## in Loop: Header=BB1_10 Depth=1
movl $500, %r12d ## imm = 0x1F4
LBB1_108: ## in Loop: Header=BB1_10 Depth=1
movq _yystack+8(%rip), %r13
movl %r12d, %r15d
leaq (%r15,%r15), %rsi
movq %r13, %rdi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.109: ## in Loop: Header=BB1_10 Depth=1
movq %rax, %r14
subq %r13, %rbx
movq %rax, _yystack+8(%rip)
shrq %rbx
movslq %ebx, %r13
leaq (%rax,%r13,2), %rbx
movq %rbx, _yystack+16(%rip)
movq _yystack+32(%rip), %rdi
leaq (,%r15,4), %rsi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.110: ## in Loop: Header=BB1_10 Depth=1
movq %rax, _yystack+32(%rip)
leaq (%rax,%r13,4), %rax
movl %r12d, _yystack(%rip)
leaq (%r14,%r15,2), %rcx
addq $-2, %rcx
movq %rcx, _yystack+24(%rip)
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
movq -48(%rbp), %rcx ## 8-byte Reload
LBB1_111: ## in Loop: Header=BB1_10 Depth=1
movzwl (%rcx), %ecx
movswl %cx, %ecx
leaq 2(%rbx), %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rbx)
movq _quote_calc2_val@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
leaq 4(%rax), %rsi
movq %rsi, _yystack+40(%rip)
movl %edx, 4(%rax)
jmp LBB1_10
LBB1_93: ## in Loop: Header=BB1_10 Depth=1
movl %ebx, %eax
addl $-48, %eax
movl $269, %ecx ## imm = 0x10D
cmpl $9, %eax
ja LBB1_95
LBB1_94: ## in Loop: Header=BB1_10 Depth=1
movq _quote_calc2_lval@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
movl %ecx, %ebx
LBB1_95: ## in Loop: Header=BB1_10 Depth=1
testl %ebx, %ebx
movl $0, %eax
cmovlel %eax, %ebx
movl %ebx, (%rdi)
LBB1_96: ## in Loop: Header=BB1_10 Depth=1
movl $1, %ecx
testl %ebx, %ebx
jne LBB1_10
jmp LBB1_97
LBB1_28: ## in Loop: Header=BB1_10 Depth=1
movl $500, %r15d ## imm = 0x1F4
LBB1_31: ## in Loop: Header=BB1_10 Depth=1
movq _yystack+8(%rip), %r13
movl %r15d, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
leaq (%rax,%rax), %rsi
movq %r13, %rdi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.32: ## in Loop: Header=BB1_10 Depth=1
movq %rax, %r14
subq %r13, %rbx
movq %rax, _yystack+8(%rip)
shrq %rbx
movslq %ebx, %r13
leaq (%rax,%r13,2), %rbx
movq %rbx, _yystack+16(%rip)
movq _yystack+32(%rip), %rdi
movq -48(%rbp), %rax ## 8-byte Reload
leaq (,%rax,4), %rsi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.33: ## in Loop: Header=BB1_10 Depth=1
movq %rax, _yystack+32(%rip)
leaq (%rax,%r13,4), %rax
movl %r15d, _yystack(%rip)
movq -48(%rbp), %rcx ## 8-byte Reload
leaq (%r14,%rcx,2), %rcx
addq $-2, %rcx
movq %rcx, _yystack+24(%rip)
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
LBB1_34: ## in Loop: Header=BB1_10 Depth=1
leaq _quote_calc2_table(%rip), %rcx
movswl (%rcx,%r12,2), %ecx
leaq 2(%rbx), %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rbx)
movq _quote_calc2_lval@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
leaq 4(%rax), %rsi
movq %rsi, _yystack+40(%rip)
movl %edx, 4(%rax)
movl $-1, (%rdi)
movq _quote_calc2_errflag@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB1_10
## %bb.35: ## in Loop: Header=BB1_10 Depth=1
decl %eax
movq _quote_calc2_errflag@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
jmp LBB1_10
LBB1_2:
movl _yystack(%rip), %eax
testl %eax, %eax
je LBB1_3
## %bb.4:
cmpl $499, %eax ## imm = 0x1F3
ja LBB1_112
## %bb.5:
addl %eax, %eax
cmpl $500, %eax ## imm = 0x1F4
movl $500, %r14d ## imm = 0x1F4
cmovbl %eax, %r14d
jmp LBB1_6
LBB1_3:
movl $500, %r14d ## imm = 0x1F4
LBB1_6:
movq _yystack+16(%rip), %r12
movl %r14d, %r15d
leaq (%r15,%r15), %rdi
callq _malloc
testq %rax, %rax
je LBB1_112
## %bb.7:
movq %rax, %rbx
movq %rax, _yystack+8(%rip)
shrq %r12
movslq %r12d, %rax
leaq (%rbx,%rax,2), %rax
movq %rax, _yystack+16(%rip)
movq _yystack+32(%rip), %rdi
leaq (,%r15,4), %rsi
callq _realloc
testq %rax, %rax
je LBB1_112
## %bb.8:
movq %rax, _yystack+32(%rip)
movl %r14d, _yystack(%rip)
leaq (%rbx,%r15,2), %rcx
addq $-2, %rcx
movq %rcx, _yystack+24(%rip)
movq _quote_calc2_char@GOTPCREL(%rip), %rdi
jmp LBB1_9
LBB1_112:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
leaq L_.str.2(%rip), %rdx
xorl %eax, %eax
callq _fprintf
LBB1_113:
movl $1, %eax
LBB1_114:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_97:
xorl %eax, %eax
jmp LBB1_114
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_66, LBB1_66-LJTI1_0
.set L1_0_set_67, LBB1_67-LJTI1_0
.set L1_0_set_68, LBB1_68-LJTI1_0
.set L1_0_set_69, LBB1_69-LJTI1_0
.set L1_0_set_70, LBB1_70-LJTI1_0
.set L1_0_set_71, LBB1_71-LJTI1_0
.set L1_0_set_72, LBB1_72-LJTI1_0
.set L1_0_set_73, LBB1_73-LJTI1_0
.set L1_0_set_74, LBB1_74-LJTI1_0
.set L1_0_set_75, LBB1_75-LJTI1_0
.set L1_0_set_76, LBB1_76-LJTI1_0
.set L1_0_set_77, LBB1_77-LJTI1_0
.set L1_0_set_79, LBB1_79-LJTI1_0
.set L1_0_set_84, LBB1_84-LJTI1_0
.set L1_0_set_80, LBB1_80-LJTI1_0
.set L1_0_set_81, LBB1_81-LJTI1_0
LJTI1_0:
.long L1_0_set_66
.long L1_0_set_67
.long L1_0_set_68
.long L1_0_set_69
.long L1_0_set_70
.long L1_0_set_71
.long L1_0_set_72
.long L1_0_set_73
.long L1_0_set_74
.long L1_0_set_75
.long L1_0_set_76
.long L1_0_set_77
.long L1_0_set_79
.long L1_0_set_84
.long L1_0_set_80
.long L1_0_set_81
.end_data_region
## -- End function
.globl _quote_calc2_lex ## -- Begin function quote_calc2_lex
.p2align 4, 0x90
_quote_calc2_lex: ## @quote_calc2_lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
cmpl $32, %eax
je LBB2_1
## %bb.2:
movl %eax, %ebx
cmpl $127, %eax
ja LBB2_4
## %bb.3:
movl %ebx, %ecx
movq __DefaultRuneLocale@GOTPCREL(%rip), %rdx
movl $4096, %eax ## imm = 0x1000
andl 60(%rdx,%rcx,4), %eax
testl %eax, %eax
je LBB2_7
LBB2_6:
addl $-97, %ebx
movl $270, %ecx ## imm = 0x10E
movl %ebx, %eax
jmp LBB2_8
LBB2_4:
movl $4096, %esi ## imm = 0x1000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB2_6
LBB2_7:
movl %ebx, %eax
addl $-48, %eax
movl $269, %ecx ## imm = 0x10D
cmpl $9, %eax
ja LBB2_9
LBB2_8:
movq _quote_calc2_lval@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
movl %ecx, %ebx
LBB2_9:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _quote_calc2_lval,4,2 ## @quote_calc2_lval
.comm _quote_calc2_nerrs,4,2 ## @quote_calc2_nerrs
.comm _quote_calc2_errflag,4,2 ## @quote_calc2_errflag
.comm _quote_calc2_char,4,2 ## @quote_calc2_char
.zerofill __DATA,__bss,_yystack,48,3 ## @yystack
.section __TEXT,__const
.p2align 4 ## @quote_calc2_defred
_quote_calc2_defred:
.short 1 ## 0x1
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 15 ## 0xf
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 6 ## 0x6
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.p2align 4 ## @quote_calc2_sindex
_quote_calc2_sindex:
.short 0 ## 0x0
.short 65498 ## 0xffda
.short 4 ## 0x4
.short 65500 ## 0xffdc
.short 0 ## 0x0
.short 65485 ## 0xffcd
.short 65500 ## 0xffdc
.short 6 ## 0x6
.short 65415 ## 0xff87
.short 65287 ## 0xff07
.short 0 ## 0x0
.short 0 ## 0x0
.short 65293 ## 0xff0d
.short 65500 ## 0xffdc
.short 65513 ## 0xffe9
.short 0 ## 0x0
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 65500 ## 0xffdc
.short 0 ## 0x0
.short 65415 ## 0xff87
.short 0 ## 0x0
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65415 ## 0xff87
.short 65293 ## 0xff0d
.p2align 4 ## @quote_calc2_check
_quote_calc2_check:
.short 10 ## 0xa
.short 10 ## 0xa
.short 40 ## 0x28
.short 124 ## 0x7c
.short 40 ## 0x28
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 61 ## 0x3d
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 10 ## 0xa
.short 258 ## 0x102
.short 10 ## 0xa
.short 260 ## 0x104
.short 41 ## 0x29
.short 262 ## 0x106
.short 269 ## 0x10d
.short 264 ## 0x108
.short 10 ## 0xa
.short 266 ## 0x10a
.short 10 ## 0xa
.short 268 ## 0x10c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 65535 ## 0xffff
.short 41 ## 0x29
.short 41 ## 0x29
.short 41 ## 0x29
.short 3 ## 0x3
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 6 ## 0x6
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 13 ## 0xd
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 16 ## 0x10
.short 17 ## 0x11
.short 18 ## 0x12
.short 19 ## 0x13
.short 20 ## 0x14
.short 21 ## 0x15
.short 22 ## 0x16
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 124 ## 0x7c
.short 124 ## 0x7c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 258 ## 0x102
.short 65535 ## 0xffff
.short 260 ## 0x104
.short 65535 ## 0xffff
.short 262 ## 0x106
.short 65535 ## 0xffff
.short 264 ## 0x108
.short 65535 ## 0xffff
.short 266 ## 0x10a
.short 65535 ## 0xffff
.short 268 ## 0x10c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 256 ## 0x100
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 260 ## 0x104
.short 65535 ## 0xffff
.short 260 ## 0x104
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 269 ## 0x10d
.short 270 ## 0x10e
.short 258 ## 0x102
.short 65535 ## 0xffff
.short 260 ## 0x104
.short 65535 ## 0xffff
.short 262 ## 0x106
.short 65535 ## 0xffff
.short 264 ## 0x108
.short 65535 ## 0xffff
.short 266 ## 0x10a
.short 65535 ## 0xffff
.short 268 ## 0x10c
.short 65535 ## 0xffff
.short 65535 ## 0xffff
.short 258 ## 0x102
.short 258 ## 0x102
.short 260 ## 0x104
.short 260 ## 0x104
.short 262 ## 0x106
.short 262 ## 0x106
.short 264 ## 0x108
.short 264 ## 0x108
.short 266 ## 0x10a
.short 266 ## 0x10a
.short 268 ## 0x10c
.short 268 ## 0x10c
.p2align 4 ## @quote_calc2_table
_quote_calc2_table:
.short 16 ## 0x10
.short 15 ## 0xf
.short 6 ## 0x6
.short 22 ## 0x16
.short 6 ## 0x6
.short 14 ## 0xe
.short 13 ## 0xd
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 13 ## 0xd
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 10 ## 0xa
.short 16 ## 0x10
.short 15 ## 0xf
.short 17 ## 0x11
.short 25 ## 0x19
.short 18 ## 0x12
.short 23 ## 0x17
.short 19 ## 0x13
.short 4 ## 0x4
.short 20 ## 0x14
.short 5 ## 0x5
.short 21 ## 0x15
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 13 ## 0xd
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.short 0 ## 0x0
.short 10 ## 0xa
.short 11 ## 0xb
.short 12 ## 0xc
.short 12 ## 0xc
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 24 ## 0x18
.short 0 ## 0x0
.short 0 ## 0x0
.short 26 ## 0x1a
.short 27 ## 0x1b
.short 28 ## 0x1c
.short 29 ## 0x1d
.short 30 ## 0x1e
.short 31 ## 0x1f
.short 32 ## 0x20
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 22 ## 0x16
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 15 ## 0xf
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 13 ## 0xd
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 19 ## 0x13
.short 0 ## 0x0
.short 20 ## 0x14
.short 0 ## 0x0
.short 21 ## 0x15
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 2 ## 0x2
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 3 ## 0x3
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 4 ## 0x4
.short 5 ## 0x5
.short 4 ## 0x4
.short 11 ## 0xb
.short 16 ## 0x10
.short 0 ## 0x0
.short 17 ## 0x11
.short 0 ## 0x0
.short 18 ## 0x12
.short 0 ## 0x0
.short 19 ## 0x13
.short 0 ## 0x0
.short 20 ## 0x14
.short 0 ## 0x0
.short 21 ## 0x15
.short 0 ## 0x0
.short 0 ## 0x0
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.short 16 ## 0x10
.short 15 ## 0xf
.p2align 4 ## @quote_calc2_rindex
_quote_calc2_rindex:
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 65527 ## 0xfff7
.short 0 ## 0x0
.short 0 ## 0x0
.short 12 ## 0xc
.short 65526 ## 0xfff6
.short 0 ## 0x0
.short 0 ## 0x0
.short 65531 ## 0xfffb
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 14 ## 0xe
.short 0 ## 0x0
.short 65533 ## 0xfffd
.short 65534 ## 0xfffe
.short 65535 ## 0xffff
.short 1 ## 0x1
.short 2 ## 0x2
.short 3 ## 0x3
.short 65532 ## 0xfffc
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 4 ## @quote_calc2_len
_quote_calc2_len:
.short 2 ## 0x2
.short 0 ## 0x0
.short 3 ## 0x3
.short 3 ## 0x3
.short 1 ## 0x1
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 3 ## 0x3
.short 2 ## 0x2
.short 1 ## 0x1
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.comm _quote_calc2_val,4,2 ## @quote_calc2_val
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\n"
.comm _regs,104,4 ## @regs
.comm _base,4,2 ## @base
.section __TEXT,__const
.p2align 4 ## @quote_calc2_lhs
_quote_calc2_lhs:
.short 65535 ## 0xffff
.short 0 ## 0x0
.short 0 ## 0x0
.short 0 ## 0x0
.short 1 ## 0x1
.short 1 ## 0x1
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 2 ## 0x2
.short 3 ## 0x3
.short 3 ## 0x3
.p2align 1 ## @quote_calc2_gindex
_quote_calc2_gindex:
.short 0 ## 0x0
.short 0 ## 0x0
.short 42 ## 0x2a
.short 0 ## 0x0
.p2align 1 ## @quote_calc2_dgoto
_quote_calc2_dgoto:
.short 1 ## 0x1
.short 7 ## 0x7
.short 8 ## 0x8
.short 9 ## 0x9
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "yacc stack overflow"
.comm _quote_calc2_debug,4,2 ## @quote_calc2_debug
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, ___stdinp@GOTPAGE
Lloh1:
ldr x19, [x19, ___stdinp@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
bl _feof
cbnz w0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl _quote_calc2_parse
b LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _quote_calc2_parse ; -- Begin function quote_calc2_parse
.p2align 2
_quote_calc2_parse: ; @quote_calc2_parse
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh2:
adrp x23, _quote_calc2_nerrs@GOTPAGE
Lloh3:
ldr x23, [x23, _quote_calc2_nerrs@GOTPAGEOFF]
str wzr, [x23]
Lloh4:
adrp x24, _quote_calc2_errflag@GOTPAGE
Lloh5:
ldr x24, [x24, _quote_calc2_errflag@GOTPAGEOFF]
str wzr, [x24]
Lloh6:
adrp x25, _quote_calc2_char@GOTPAGE
Lloh7:
ldr x25, [x25, _quote_calc2_char@GOTPAGEOFF]
mov w8, #-1
str w8, [x25]
Lloh8:
adrp x8, _yystack@PAGE+8
Lloh9:
ldr x19, [x8, _yystack@PAGEOFF+8]
Lloh10:
adrp x26, ___stderrp@GOTPAGE
Lloh11:
ldr x26, [x26, ___stderrp@GOTPAGEOFF]
Lloh12:
adrp x8, _yystack@PAGE
cbz x19, LBB1_102
; %bb.1:
Lloh13:
adrp x8, _yystack@PAGE+32
Lloh14:
ldr x0, [x8, _yystack@PAGEOFF+32]
LBB1_2:
mov w8, #0
Lloh15:
adrp x28, _yystack@PAGE+16
Lloh16:
add x28, x28, _yystack@PAGEOFF+16
str x19, [x28]
str x0, [x28, #24]
strh wzr, [x19]
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_9 Depth 2
; Child Loop BB1_34 Depth 2
; Child Loop BB1_76 Depth 2
mov x9, x8
sxtw x22, w9
mov x9, #29678
movk x9, #64895, lsl #16
movk x9, #1, lsl #32
lsr x8, x9, x8
tbnz w8, #0, LBB1_7
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
Lloh17:
adrp x8, _quote_calc2_defred@PAGE
Lloh18:
add x8, x8, _quote_calc2_defred@PAGEOFF
add x8, x8, x22, lsl #1
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
ldrsh x21, [x8]
Lloh19:
adrp x8, _quote_calc2_len@PAGE
Lloh20:
add x8, x8, _quote_calc2_len@PAGEOFF
ldrsh x20, [x8, x21, lsl #1]
subs x22, x21, #1
b.ne LBB1_28
; %bb.6: ; in Loop: Header=BB1_3 Depth=1
Lloh21:
adrp x8, _quote_calc2_val@GOTPAGE
Lloh22:
ldr x8, [x8, _quote_calc2_val@GOTPAGEOFF]
Lloh23:
str wzr, [x8]
b LBB1_69
LBB1_7: ; in Loop: Header=BB1_3 Depth=1
mov w8, #35857
movk w8, #640, lsl #16
lsr x20, x8, x22
mov w8, #60639
movk w8, #767, lsl #16
lsr x19, x8, x22
ldr w8, [x25]
tbnz w8, #31, LBB1_9
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
tbz w20, #0, LBB1_18
b LBB1_20
LBB1_9: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
cmp w0, #32
b.eq LBB1_9
; %bb.10: ; in Loop: Header=BB1_3 Depth=1
mov x21, x0
cmp w0, #127
b.hi LBB1_13
; %bb.11: ; in Loop: Header=BB1_3 Depth=1
Lloh24:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh25:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w21, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x1000
cbz w0, LBB1_14
LBB1_12: ; in Loop: Header=BB1_3 Depth=1
sub w8, w21, #97
mov w21, #270
b LBB1_16
LBB1_13: ; in Loop: Header=BB1_3 Depth=1
mov x0, x21
mov w1, #4096
bl ___maskrune
cbnz w0, LBB1_12
LBB1_14: ; in Loop: Header=BB1_3 Depth=1
sub w8, w21, #48
cmp w8, #9
b.hi LBB1_17
; %bb.15: ; in Loop: Header=BB1_3 Depth=1
mov w21, #269
LBB1_16: ; in Loop: Header=BB1_3 Depth=1
Lloh26:
adrp x9, _quote_calc2_lval@GOTPAGE
Lloh27:
ldr x9, [x9, _quote_calc2_lval@GOTPAGEOFF]
Lloh28:
str w8, [x9]
LBB1_17: ; in Loop: Header=BB1_3 Depth=1
cmp w21, #0
csel w8, w21, wzr, gt
str w8, [x25]
tbnz w20, #0, LBB1_20
LBB1_18: ; in Loop: Header=BB1_3 Depth=1
Lloh29:
adrp x9, _quote_calc2_sindex@PAGE
Lloh30:
add x9, x9, _quote_calc2_sindex@PAGEOFF
ldrsh w9, [x9, x22, lsl #1]
add w27, w8, w9
cmp w27, #259
b.hi LBB1_20
; %bb.19: ; in Loop: Header=BB1_3 Depth=1
Lloh31:
adrp x9, _quote_calc2_check@PAGE
Lloh32:
add x9, x9, _quote_calc2_check@PAGEOFF
ldrsh w9, [x9, w27, uxtw #1]
cmp w8, w9
b.eq LBB1_42
LBB1_20: ; in Loop: Header=BB1_3 Depth=1
tbnz w19, #0, LBB1_23
; %bb.21: ; in Loop: Header=BB1_3 Depth=1
Lloh33:
adrp x9, _quote_calc2_rindex@PAGE
Lloh34:
add x9, x9, _quote_calc2_rindex@PAGEOFF
ldrsh w9, [x9, x22, lsl #1]
add w9, w8, w9
cmp w9, #259
b.hi LBB1_23
; %bb.22: ; in Loop: Header=BB1_3 Depth=1
Lloh35:
adrp x10, _quote_calc2_check@PAGE
Lloh36:
add x10, x10, _quote_calc2_check@PAGEOFF
ldrsh w10, [x10, w9, uxtw #1]
cmp w8, w10
b.eq LBB1_44
LBB1_23: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [x24]
cbnz w8, LBB1_25
; %bb.24: ; in Loop: Header=BB1_3 Depth=1
ldr x0, [x26]
Lloh37:
adrp x8, l_.str@PAGE
Lloh38:
add x8, x8, l_.str@PAGEOFF
str x8, [sp]
Lloh39:
adrp x1, l_.str.3@PAGE
Lloh40:
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldr w8, [x23]
add w8, w8, #1
str w8, [x23]
ldr w8, [x24]
LBB1_25: ; in Loop: Header=BB1_3 Depth=1
cmp w8, #2
b.le LBB1_31
; %bb.26: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [x25]
cbz w8, LBB1_110
; %bb.27: ; in Loop: Header=BB1_3 Depth=1
mov w8, #-1
str w8, [x25]
tbz w8, #31, LBB1_8
b LBB1_9
LBB1_28: ; in Loop: Header=BB1_3 Depth=1
Lloh41:
adrp x8, _yystack@PAGE+40
Lloh42:
ldr x8, [x8, _yystack@PAGEOFF+40]
mov w9, #1
sub x9, x9, x20
ldr w9, [x8, x9, lsl #2]
Lloh43:
adrp x10, _quote_calc2_val@GOTPAGE
Lloh44:
ldr x10, [x10, _quote_calc2_val@GOTPAGEOFF]
Lloh45:
str w9, [x10]
sub w9, w21, #3
cmp w9, #15
b.hi LBB1_69
; %bb.29: ; in Loop: Header=BB1_3 Depth=1
Lloh46:
adrp x12, lJTI1_0@PAGE
Lloh47:
add x12, x12, lJTI1_0@PAGEOFF
adr x10, LBB1_30
ldrb w11, [x12, x9]
add x10, x10, x11, lsl #2
br x10
LBB1_30: ; in Loop: Header=BB1_3 Depth=1
str wzr, [x24]
b LBB1_69
LBB1_31: ; in Loop: Header=BB1_3 Depth=1
mov w8, #3
str w8, [x24]
Lloh48:
adrp x8, _yystack@PAGE+8
Lloh49:
add x8, x8, _yystack@PAGEOFF+8
ldr x9, [x8, #32]
ldp x21, x19, [x8]
ldrh w8, [x19]
mov w10, #35857
movk w10, #640, lsl #16
lsr x10, x10, x8
tbnz w10, #0, LBB1_33
; %bb.32: ; in Loop: Header=BB1_3 Depth=1
cmp w8, #1
b.eq LBB1_38
LBB1_33: ; in Loop: Header=BB1_3 Depth=1
sub x8, x19, #2
mov w12, #35857
movk w12, #640, lsl #16
LBB1_34: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
add x10, x8, #2
cmp x10, x21
b.ls LBB1_110
; %bb.35: ; in Loop: Header=BB1_34 Depth=2
str x8, [x28]
sub x9, x9, #4
str x9, [x28, #24]
ldrh w10, [x8], #-2
lsr x11, x12, x10
tbnz w11, #0, LBB1_34
; %bb.36: ; in Loop: Header=BB1_34 Depth=2
cmp w10, #1
b.ne LBB1_34
; %bb.37: ; in Loop: Header=BB1_3 Depth=1
add x19, x8, #2
LBB1_38: ; in Loop: Header=BB1_3 Depth=1
Lloh50:
adrp x8, _yystack@PAGE+24
Lloh51:
ldr x8, [x8, _yystack@PAGEOFF+24]
cmp x19, x8
b.lo LBB1_49
; %bb.39: ; in Loop: Header=BB1_3 Depth=1
Lloh52:
adrp x8, _yystack@PAGE
Lloh53:
ldr w8, [x8, _yystack@PAGEOFF]
cbz w8, LBB1_45
; %bb.40: ; in Loop: Header=BB1_3 Depth=1
mov x23, x26
cmp w8, #499
b.hi LBB1_109
; %bb.41: ; in Loop: Header=BB1_3 Depth=1
lsl w8, w8, #1
cmp w8, #500
mov w9, #500
csel w20, w8, w9, lo
b LBB1_46
LBB1_42: ; in Loop: Header=BB1_3 Depth=1
ldp x19, x8, [x28]
cmp x19, x8
b.hs LBB1_50
; %bb.43: ; in Loop: Header=BB1_3 Depth=1
Lloh54:
adrp x8, _yystack@PAGE+40
Lloh55:
ldr x9, [x8, _yystack@PAGEOFF+40]
b LBB1_100
LBB1_44: ; in Loop: Header=BB1_3 Depth=1
Lloh56:
adrp x8, _quote_calc2_table@PAGE
Lloh57:
add x8, x8, _quote_calc2_table@PAGEOFF
add x8, x8, w9, uxtw #1
b LBB1_5
LBB1_45: ; in Loop: Header=BB1_3 Depth=1
mov x23, x26
mov w20, #500
LBB1_46: ; in Loop: Header=BB1_3 Depth=1
mov w27, w20
lsl x1, x27, #1
mov x0, x21
bl _realloc
cbz x0, LBB1_109
; %bb.47: ; in Loop: Header=BB1_3 Depth=1
mov x22, x0
sub x21, x19, x21
lsr x8, x21, #1
add x19, x0, w8, sxtw #1
Lloh58:
adrp x8, _yystack@PAGE+8
Lloh59:
add x8, x8, _yystack@PAGEOFF+8
stp x0, x19, [x8]
ldr x0, [x8, #24]
lsl x1, x27, #2
bl _realloc
cbz x0, LBB1_109
; %bb.48: ; in Loop: Header=BB1_3 Depth=1
sbfx x8, x21, #1, #32
add x9, x0, x8, lsl #2
Lloh60:
adrp x10, _yystack@PAGE
Lloh61:
add x10, x10, _yystack@PAGEOFF
str w20, [x10]
add x8, x22, x27, lsl #1
sub x8, x8, #2
stp x8, x0, [x10, #24]
mov x26, x23
Lloh62:
adrp x23, _quote_calc2_nerrs@GOTPAGE
Lloh63:
ldr x23, [x23, _quote_calc2_nerrs@GOTPAGEOFF]
LBB1_49: ; in Loop: Header=BB1_3 Depth=1
mov w8, #2
strh w8, [x19, #2]!
str x19, [x28]
Lloh64:
adrp x10, _quote_calc2_lval@GOTPAGE
Lloh65:
ldr x10, [x10, _quote_calc2_lval@GOTPAGEOFF]
b LBB1_95
LBB1_50: ; in Loop: Header=BB1_3 Depth=1
Lloh66:
adrp x8, _yystack@PAGE
Lloh67:
ldr w8, [x8, _yystack@PAGEOFF]
cbz w8, LBB1_96
; %bb.51: ; in Loop: Header=BB1_3 Depth=1
mov x23, x26
cmp w8, #499
b.hi LBB1_109
; %bb.52: ; in Loop: Header=BB1_3 Depth=1
lsl w8, w8, #1
cmp w8, #500
mov w9, #500
csel w26, w8, w9, lo
b LBB1_97
LBB1_53: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [x8]
str x8, [sp]
Lloh68:
adrp x0, l_.str.1@PAGE
Lloh69:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_69
LBB1_54: ; in Loop: Header=BB1_3 Depth=1
ldr w9, [x8]
ldursw x8, [x8, #-8]
Lloh70:
adrp x10, _regs@GOTPAGE
Lloh71:
ldr x10, [x10, _regs@GOTPAGEOFF]
str w9, [x10, x8, lsl #2]
b LBB1_69
LBB1_55: ; in Loop: Header=BB1_3 Depth=1
ldur w8, [x8, #-4]
b LBB1_67
LBB1_56: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
add w8, w8, w9
b LBB1_67
LBB1_57: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
sub w8, w9, w8
b LBB1_67
LBB1_58: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
mul w8, w8, w9
b LBB1_67
LBB1_59: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
sdiv w8, w9, w8
b LBB1_67
LBB1_60: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
sdiv w10, w9, w8
msub w8, w10, w8, w9
b LBB1_67
LBB1_61: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
and w8, w8, w9
b LBB1_67
LBB1_62: ; in Loop: Header=BB1_3 Depth=1
ldur w9, [x8, #-8]
ldr w8, [x8]
orr w8, w8, w9
b LBB1_67
LBB1_63: ; in Loop: Header=BB1_3 Depth=1
ldr w8, [x8]
neg w8, w8
b LBB1_67
LBB1_64: ; in Loop: Header=BB1_3 Depth=1
ldrsw x8, [x8]
Lloh72:
adrp x9, _regs@GOTPAGE
Lloh73:
ldr x9, [x9, _regs@GOTPAGEOFF]
ldr w8, [x9, x8, lsl #2]
b LBB1_67
LBB1_65: ; in Loop: Header=BB1_3 Depth=1
ldr w9, [x8]
Lloh74:
adrp x10, _quote_calc2_val@GOTPAGE
Lloh75:
ldr x10, [x10, _quote_calc2_val@GOTPAGEOFF]
Lloh76:
str w9, [x10]
ldr w8, [x8]
cmp w8, #0
mov w8, #10
mov w9, #8
csel w8, w9, w8, eq
Lloh77:
adrp x9, _base@GOTPAGE
Lloh78:
ldr x9, [x9, _base@GOTPAGEOFF]
b LBB1_68
LBB1_66: ; in Loop: Header=BB1_3 Depth=1
Lloh79:
adrp x9, _base@GOTPAGE
Lloh80:
ldr x9, [x9, _base@GOTPAGEOFF]
Lloh81:
ldr w9, [x9]
ldp w10, w8, [x8, #-4]
madd w8, w10, w9, w8
LBB1_67: ; in Loop: Header=BB1_3 Depth=1
Lloh82:
adrp x9, _quote_calc2_val@GOTPAGE
Lloh83:
ldr x9, [x9, _quote_calc2_val@GOTPAGEOFF]
LBB1_68: ; in Loop: Header=BB1_3 Depth=1
str w8, [x9]
LBB1_69: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [x28]
sub x19, x8, x20, lsl #1
str x19, [x28]
ldrsh w8, [x19]
ldr x9, [x28, #24]
sub x9, x9, x20, lsl #2
str x9, [x28, #24]
cmp w8, #0
ccmp x22, #2, #2, eq
b.ls LBB1_74
; %bb.70: ; in Loop: Header=BB1_3 Depth=1
Lloh84:
adrp x10, _quote_calc2_lhs@PAGE
Lloh85:
add x10, x10, _quote_calc2_lhs@PAGEOFF
ldrsh x10, [x10, x21, lsl #1]
sub x11, x21, #6
cmp x11, #10
b.hi LBB1_80
; %bb.71: ; in Loop: Header=BB1_3 Depth=1
Lloh86:
adrp x11, _quote_calc2_gindex@PAGE
Lloh87:
add x11, x11, _quote_calc2_gindex@PAGEOFF
ldrsh w11, [x11, x10, lsl #1]
add w11, w11, w8
cmp w11, #259
b.hi LBB1_80
; %bb.72: ; in Loop: Header=BB1_3 Depth=1
Lloh88:
adrp x12, _quote_calc2_check@PAGE
Lloh89:
add x12, x12, _quote_calc2_check@PAGEOFF
ldrh w12, [x12, w11, uxtw #1]
cmp w12, w8, uxth
b.ne LBB1_80
; %bb.73: ; in Loop: Header=BB1_3 Depth=1
Lloh90:
adrp x8, _quote_calc2_table@PAGE
Lloh91:
add x8, x8, _quote_calc2_table@PAGEOFF
add x20, x8, x11, lsl #1
b LBB1_81
LBB1_74: ; in Loop: Header=BB1_3 Depth=1
mov w8, #1
strh w8, [x19, #2]!
str x19, [x28]
Lloh92:
adrp x8, _quote_calc2_val@GOTPAGE
Lloh93:
ldr x8, [x8, _quote_calc2_val@GOTPAGEOFF]
Lloh94:
ldr w8, [x8]
str w8, [x9, #4]!
str x9, [x28, #24]
ldr w9, [x25]
tbnz w9, #31, LBB1_76
; %bb.75: ; in Loop: Header=BB1_3 Depth=1
mov w8, #1
cbnz w9, LBB1_3
b LBB1_112
LBB1_76: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
cmp w0, #32
b.eq LBB1_76
; %bb.77: ; in Loop: Header=BB1_3 Depth=1
mov x21, x0
cmp w0, #127
b.hi LBB1_85
; %bb.78: ; in Loop: Header=BB1_3 Depth=1
Lloh95:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh96:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w21, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x1000
cbz w0, LBB1_86
LBB1_79: ; in Loop: Header=BB1_3 Depth=1
sub w8, w21, #97
mov w21, #270
b LBB1_88
LBB1_80: ; in Loop: Header=BB1_3 Depth=1
Lloh97:
adrp x8, _quote_calc2_dgoto@PAGE
Lloh98:
add x8, x8, _quote_calc2_dgoto@PAGEOFF
add x20, x8, x10, lsl #1
LBB1_81: ; in Loop: Header=BB1_3 Depth=1
Lloh99:
adrp x8, _yystack@PAGE+24
Lloh100:
ldr x8, [x8, _yystack@PAGEOFF+24]
cmp x19, x8
b.lo LBB1_94
; %bb.82: ; in Loop: Header=BB1_3 Depth=1
mov x23, x26
Lloh101:
adrp x8, _yystack@PAGE
Lloh102:
ldr w8, [x8, _yystack@PAGEOFF]
cbz w8, LBB1_90
; %bb.83: ; in Loop: Header=BB1_3 Depth=1
cmp w8, #499
b.hi LBB1_109
; %bb.84: ; in Loop: Header=BB1_3 Depth=1
lsl w8, w8, #1
cmp w8, #500
mov w9, #500
csel w27, w8, w9, lo
b LBB1_91
LBB1_85: ; in Loop: Header=BB1_3 Depth=1
mov x0, x21
mov w1, #4096
bl ___maskrune
cbnz w0, LBB1_79
LBB1_86: ; in Loop: Header=BB1_3 Depth=1
sub w8, w21, #48
cmp w8, #9
b.hi LBB1_89
; %bb.87: ; in Loop: Header=BB1_3 Depth=1
mov w21, #269
LBB1_88: ; in Loop: Header=BB1_3 Depth=1
Lloh103:
adrp x9, _quote_calc2_lval@GOTPAGE
Lloh104:
ldr x9, [x9, _quote_calc2_lval@GOTPAGEOFF]
Lloh105:
str w8, [x9]
LBB1_89: ; in Loop: Header=BB1_3 Depth=1
cmp w21, #0
csel w9, w21, wzr, gt
str w9, [x25]
mov w8, #1
cbnz w9, LBB1_3
b LBB1_112
LBB1_90: ; in Loop: Header=BB1_3 Depth=1
mov w27, #500
LBB1_91: ; in Loop: Header=BB1_3 Depth=1
Lloh106:
adrp x8, _yystack@PAGE+8
Lloh107:
ldr x22, [x8, _yystack@PAGEOFF+8]
mov w26, w27
lsl x1, x26, #1
mov x0, x22
bl _realloc
cbz x0, LBB1_109
; %bb.92: ; in Loop: Header=BB1_3 Depth=1
mov x21, x0
sub x22, x19, x22
lsr x8, x22, #1
add x19, x0, w8, sxtw #1
Lloh108:
adrp x8, _yystack@PAGE+8
Lloh109:
add x8, x8, _yystack@PAGEOFF+8
stp x0, x19, [x8]
ldr x0, [x8, #24]
lsl x1, x26, #2
bl _realloc
cbz x0, LBB1_109
; %bb.93: ; in Loop: Header=BB1_3 Depth=1
sbfx x8, x22, #1, #32
add x9, x0, x8, lsl #2
Lloh110:
adrp x10, _yystack@PAGE
Lloh111:
add x10, x10, _yystack@PAGEOFF
str w27, [x10]
add x8, x21, x26, lsl #1
sub x8, x8, #2
stp x8, x0, [x10, #24]
mov x26, x23
Lloh112:
adrp x23, _quote_calc2_nerrs@GOTPAGE
Lloh113:
ldr x23, [x23, _quote_calc2_nerrs@GOTPAGEOFF]
LBB1_94: ; in Loop: Header=BB1_3 Depth=1
ldrsh w8, [x20]
and w10, w8, #0xffff
strh w10, [x19, #2]!
str x19, [x28]
Lloh114:
adrp x10, _quote_calc2_val@GOTPAGE
Lloh115:
ldr x10, [x10, _quote_calc2_val@GOTPAGEOFF]
LBB1_95: ; in Loop: Header=BB1_3 Depth=1
ldr w10, [x10]
str w10, [x9, #4]!
str x9, [x28, #24]
b LBB1_3
LBB1_96: ; in Loop: Header=BB1_3 Depth=1
mov x23, x26
mov w26, #500
LBB1_97: ; in Loop: Header=BB1_3 Depth=1
Lloh116:
adrp x8, _yystack@PAGE+8
Lloh117:
ldr x22, [x8, _yystack@PAGEOFF+8]
mov w20, w26
lsl x1, x20, #1
mov x0, x22
bl _realloc
cbz x0, LBB1_109
; %bb.98: ; in Loop: Header=BB1_3 Depth=1
mov x21, x0
sub x22, x19, x22
lsr x8, x22, #1
add x19, x0, w8, sxtw #1
Lloh118:
adrp x8, _yystack@PAGE+8
Lloh119:
add x8, x8, _yystack@PAGEOFF+8
stp x0, x19, [x8]
ldr x0, [x8, #24]
lsl x1, x20, #2
bl _realloc
cbz x0, LBB1_109
; %bb.99: ; in Loop: Header=BB1_3 Depth=1
sbfx x8, x22, #1, #32
add x9, x0, x8, lsl #2
Lloh120:
adrp x10, _yystack@PAGE
Lloh121:
add x10, x10, _yystack@PAGEOFF
str w26, [x10]
add x8, x21, x20, lsl #1
sub x8, x8, #2
stp x8, x0, [x10, #24]
mov x26, x23
Lloh122:
adrp x23, _quote_calc2_nerrs@GOTPAGE
Lloh123:
ldr x23, [x23, _quote_calc2_nerrs@GOTPAGEOFF]
LBB1_100: ; in Loop: Header=BB1_3 Depth=1
Lloh124:
adrp x8, _quote_calc2_table@PAGE
Lloh125:
add x8, x8, _quote_calc2_table@PAGEOFF
ldrsh w8, [x8, x27, lsl #1]
strh w8, [x19, #2]!
str x19, [x28]
Lloh126:
adrp x10, _quote_calc2_lval@GOTPAGE
Lloh127:
ldr x10, [x10, _quote_calc2_lval@GOTPAGEOFF]
Lloh128:
ldr w10, [x10]
str w10, [x9, #4]!
str x9, [x28, #24]
mov w9, #-1
str w9, [x25]
ldr w9, [x24]
subs w9, w9, #1
b.lt LBB1_3
; %bb.101: ; in Loop: Header=BB1_3 Depth=1
str w9, [x24]
b LBB1_3
LBB1_102:
mov x27, x23
mov x23, x26
ldr w8, [x8, _yystack@PAGEOFF]
cbz w8, LBB1_105
; %bb.103:
cmp w8, #499
b.hi LBB1_109
; %bb.104:
lsl w8, w8, #1
mov w9, #500
cmp w8, #500
csel w20, w8, w9, lo
b LBB1_106
LBB1_105:
mov w20, #500
LBB1_106:
Lloh129:
adrp x8, _yystack@PAGE+16
Lloh130:
ldr x22, [x8, _yystack@PAGEOFF+16]
mov w21, w20
lsl x0, x21, #1
bl _malloc
cbz x0, LBB1_109
; %bb.107:
mov x19, x0
Lloh131:
adrp x8, _yystack@PAGE+8
Lloh132:
add x8, x8, _yystack@PAGEOFF+8
lsr x9, x22, #1
add x9, x0, w9, sxtw #1
stp x0, x9, [x8]
ldr x0, [x8, #24]
lsl x1, x21, #2
bl _realloc
cbz x0, LBB1_109
; %bb.108:
Lloh133:
adrp x8, _yystack@PAGE
Lloh134:
add x8, x8, _yystack@PAGEOFF
str w20, [x8]
add x9, x19, x21, lsl #1
sub x9, x9, #2
stp x9, x0, [x8, #24]
mov x26, x23
mov x23, x27
b LBB1_2
LBB1_109:
ldr x0, [x23]
Lloh135:
adrp x8, l_.str.2@PAGE
Lloh136:
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp]
Lloh137:
adrp x1, l_.str.3@PAGE
Lloh138:
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
LBB1_110:
mov w0, #1
LBB1_111:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB1_112:
mov w0, #0
b LBB1_111
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdrp Lloh8, Lloh12
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdr Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotStr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotStr Lloh26, Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotStr Lloh43, Lloh44, Lloh45
.loh AdrpLdr Lloh41, Lloh42
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdr Lloh50, Lloh51
.loh AdrpLdr Lloh52, Lloh53
.loh AdrpLdr Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdrGot Lloh64, Lloh65
.loh AdrpLdr Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGot Lloh70, Lloh71
.loh AdrpLdrGot Lloh72, Lloh73
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGotStr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.loh AdrpLdrGot Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpLdrGot Lloh95, Lloh96
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpLdr Lloh99, Lloh100
.loh AdrpLdr Lloh101, Lloh102
.loh AdrpLdrGotStr Lloh103, Lloh104, Lloh105
.loh AdrpLdr Lloh106, Lloh107
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpLdrGot Lloh112, Lloh113
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpLdrGot Lloh114, Lloh115
.loh AdrpLdr Lloh116, Lloh117
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpLdrGot Lloh122, Lloh123
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpLdrGotLdr Lloh126, Lloh127, Lloh128
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpLdr Lloh129, Lloh130
.loh AdrpAdd Lloh131, Lloh132
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpAdd Lloh135, Lloh136
.cfi_endproc
.section __TEXT,__const
lJTI1_0:
.byte (LBB1_30-LBB1_30)>>2
.byte (LBB1_53-LBB1_30)>>2
.byte (LBB1_54-LBB1_30)>>2
.byte (LBB1_55-LBB1_30)>>2
.byte (LBB1_56-LBB1_30)>>2
.byte (LBB1_57-LBB1_30)>>2
.byte (LBB1_58-LBB1_30)>>2
.byte (LBB1_59-LBB1_30)>>2
.byte (LBB1_60-LBB1_30)>>2
.byte (LBB1_61-LBB1_30)>>2
.byte (LBB1_62-LBB1_30)>>2
.byte (LBB1_63-LBB1_30)>>2
.byte (LBB1_64-LBB1_30)>>2
.byte (LBB1_69-LBB1_30)>>2
.byte (LBB1_65-LBB1_30)>>2
.byte (LBB1_66-LBB1_30)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _quote_calc2_lex ; -- Begin function quote_calc2_lex
.p2align 2
_quote_calc2_lex: ; @quote_calc2_lex
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
cmp w0, #32
b.eq LBB2_1
; %bb.2:
mov x19, x0
cmp w0, #127
b.hi LBB2_5
; %bb.3:
Lloh139:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh140:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w19, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x1000
cbz w0, LBB2_6
LBB2_4:
sub w8, w19, #97
mov w19, #270
b LBB2_8
LBB2_5:
mov x0, x19
mov w1, #4096
bl ___maskrune
cbnz w0, LBB2_4
LBB2_6:
sub w8, w19, #48
cmp w8, #9
b.hi LBB2_9
; %bb.7:
mov w19, #269
LBB2_8:
Lloh141:
adrp x9, _quote_calc2_lval@GOTPAGE
Lloh142:
ldr x9, [x9, _quote_calc2_lval@GOTPAGEOFF]
Lloh143:
str w8, [x9]
LBB2_9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh139, Lloh140
.loh AdrpLdrGotStr Lloh141, Lloh142, Lloh143
.cfi_endproc
; -- End function
.comm _quote_calc2_lval,4,2 ; @quote_calc2_lval
.comm _quote_calc2_nerrs,4,2 ; @quote_calc2_nerrs
.comm _quote_calc2_errflag,4,2 ; @quote_calc2_errflag
.comm _quote_calc2_char,4,2 ; @quote_calc2_char
.zerofill __DATA,__bss,_yystack,48,3 ; @yystack
.section __TEXT,__const
.p2align 1 ; @quote_calc2_defred
_quote_calc2_defred:
.short 1 ; 0x1
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 15 ; 0xf
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 6 ; 0x6
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.p2align 1 ; @quote_calc2_sindex
_quote_calc2_sindex:
.short 0 ; 0x0
.short 65498 ; 0xffda
.short 4 ; 0x4
.short 65500 ; 0xffdc
.short 0 ; 0x0
.short 65485 ; 0xffcd
.short 65500 ; 0xffdc
.short 6 ; 0x6
.short 65415 ; 0xff87
.short 65287 ; 0xff07
.short 0 ; 0x0
.short 0 ; 0x0
.short 65293 ; 0xff0d
.short 65500 ; 0xffdc
.short 65513 ; 0xffe9
.short 0 ; 0x0
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 65500 ; 0xffdc
.short 0 ; 0x0
.short 65415 ; 0xff87
.short 0 ; 0x0
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65415 ; 0xff87
.short 65293 ; 0xff0d
.p2align 1 ; @quote_calc2_check
_quote_calc2_check:
.short 10 ; 0xa
.short 10 ; 0xa
.short 40 ; 0x28
.short 124 ; 0x7c
.short 40 ; 0x28
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 61 ; 0x3d
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 10 ; 0xa
.short 258 ; 0x102
.short 10 ; 0xa
.short 260 ; 0x104
.short 41 ; 0x29
.short 262 ; 0x106
.short 269 ; 0x10d
.short 264 ; 0x108
.short 10 ; 0xa
.short 266 ; 0x10a
.short 10 ; 0xa
.short 268 ; 0x10c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 65535 ; 0xffff
.short 41 ; 0x29
.short 41 ; 0x29
.short 41 ; 0x29
.short 3 ; 0x3
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 6 ; 0x6
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 13 ; 0xd
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 16 ; 0x10
.short 17 ; 0x11
.short 18 ; 0x12
.short 19 ; 0x13
.short 20 ; 0x14
.short 21 ; 0x15
.short 22 ; 0x16
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 124 ; 0x7c
.short 124 ; 0x7c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 258 ; 0x102
.short 65535 ; 0xffff
.short 260 ; 0x104
.short 65535 ; 0xffff
.short 262 ; 0x106
.short 65535 ; 0xffff
.short 264 ; 0x108
.short 65535 ; 0xffff
.short 266 ; 0x10a
.short 65535 ; 0xffff
.short 268 ; 0x10c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 256 ; 0x100
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 260 ; 0x104
.short 65535 ; 0xffff
.short 260 ; 0x104
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 269 ; 0x10d
.short 270 ; 0x10e
.short 258 ; 0x102
.short 65535 ; 0xffff
.short 260 ; 0x104
.short 65535 ; 0xffff
.short 262 ; 0x106
.short 65535 ; 0xffff
.short 264 ; 0x108
.short 65535 ; 0xffff
.short 266 ; 0x10a
.short 65535 ; 0xffff
.short 268 ; 0x10c
.short 65535 ; 0xffff
.short 65535 ; 0xffff
.short 258 ; 0x102
.short 258 ; 0x102
.short 260 ; 0x104
.short 260 ; 0x104
.short 262 ; 0x106
.short 262 ; 0x106
.short 264 ; 0x108
.short 264 ; 0x108
.short 266 ; 0x10a
.short 266 ; 0x10a
.short 268 ; 0x10c
.short 268 ; 0x10c
.p2align 1 ; @quote_calc2_table
_quote_calc2_table:
.short 16 ; 0x10
.short 15 ; 0xf
.short 6 ; 0x6
.short 22 ; 0x16
.short 6 ; 0x6
.short 14 ; 0xe
.short 13 ; 0xd
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 13 ; 0xd
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 10 ; 0xa
.short 16 ; 0x10
.short 15 ; 0xf
.short 17 ; 0x11
.short 25 ; 0x19
.short 18 ; 0x12
.short 23 ; 0x17
.short 19 ; 0x13
.short 4 ; 0x4
.short 20 ; 0x14
.short 5 ; 0x5
.short 21 ; 0x15
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 13 ; 0xd
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.short 0 ; 0x0
.short 10 ; 0xa
.short 11 ; 0xb
.short 12 ; 0xc
.short 12 ; 0xc
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 24 ; 0x18
.short 0 ; 0x0
.short 0 ; 0x0
.short 26 ; 0x1a
.short 27 ; 0x1b
.short 28 ; 0x1c
.short 29 ; 0x1d
.short 30 ; 0x1e
.short 31 ; 0x1f
.short 32 ; 0x20
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 22 ; 0x16
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 15 ; 0xf
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 13 ; 0xd
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 19 ; 0x13
.short 0 ; 0x0
.short 20 ; 0x14
.short 0 ; 0x0
.short 21 ; 0x15
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 2 ; 0x2
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 3 ; 0x3
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 4 ; 0x4
.short 5 ; 0x5
.short 4 ; 0x4
.short 11 ; 0xb
.short 16 ; 0x10
.short 0 ; 0x0
.short 17 ; 0x11
.short 0 ; 0x0
.short 18 ; 0x12
.short 0 ; 0x0
.short 19 ; 0x13
.short 0 ; 0x0
.short 20 ; 0x14
.short 0 ; 0x0
.short 21 ; 0x15
.short 0 ; 0x0
.short 0 ; 0x0
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.short 16 ; 0x10
.short 15 ; 0xf
.p2align 1 ; @quote_calc2_rindex
_quote_calc2_rindex:
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 65527 ; 0xfff7
.short 0 ; 0x0
.short 0 ; 0x0
.short 12 ; 0xc
.short 65526 ; 0xfff6
.short 0 ; 0x0
.short 0 ; 0x0
.short 65531 ; 0xfffb
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 14 ; 0xe
.short 0 ; 0x0
.short 65533 ; 0xfffd
.short 65534 ; 0xfffe
.short 65535 ; 0xffff
.short 1 ; 0x1
.short 2 ; 0x2
.short 3 ; 0x3
.short 65532 ; 0xfffc
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syntax error"
.section __TEXT,__const
.p2align 1 ; @quote_calc2_len
_quote_calc2_len:
.short 2 ; 0x2
.short 0 ; 0x0
.short 3 ; 0x3
.short 3 ; 0x3
.short 1 ; 0x1
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 3 ; 0x3
.short 2 ; 0x2
.short 1 ; 0x1
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.comm _quote_calc2_val,4,2 ; @quote_calc2_val
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\n"
.comm _regs,104,2 ; @regs
.comm _base,4,2 ; @base
.section __TEXT,__const
.p2align 1 ; @quote_calc2_lhs
_quote_calc2_lhs:
.short 65535 ; 0xffff
.short 0 ; 0x0
.short 0 ; 0x0
.short 0 ; 0x0
.short 1 ; 0x1
.short 1 ; 0x1
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 2 ; 0x2
.short 3 ; 0x3
.short 3 ; 0x3
.p2align 1 ; @quote_calc2_gindex
_quote_calc2_gindex:
.short 0 ; 0x0
.short 0 ; 0x0
.short 42 ; 0x2a
.short 0 ; 0x0
.p2align 1 ; @quote_calc2_dgoto
_quote_calc2_dgoto:
.short 1 ; 0x1
.short 7 ; 0x7
.short 8 ; 0x8
.short 9 ; 0x9
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "yacc stack overflow"
.comm _quote_calc2_debug,4,2 ; @quote_calc2_debug
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/98574855.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function createBufferCollection_fromFiles
_createBufferCollection_fromFiles: ## @createBufferCollection_fromFiles
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, -64(%rbp) ## 8-byte Spill
movq %rsi, %rdi
movl %edx, %esi
callq _UTIL_getTotalFileSize
movq %rax, %r15
movq _UTIL_FILESIZE_UNKNOWN@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpq (%rax), %r15
setne %dil
callq _assert
movq _BENCH_SIZE_MAX@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpq (%rax), %r15
setle %dil
callq _assert
xorl %edi, %edi
testq %r15, %r15
setne %dil
movl %edi, -52(%rbp) ## 4-byte Spill
callq _assert
movq %r15, %rdi
callq _malloc
movq %rax, %r12
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
xorl %edi, %edi
testl %ebx, %ebx
setne %dil
movl %edi, -48(%rbp) ## 4-byte Spill
callq _assert
movl %ebx, %edi
movl $8, %esi
callq _calloc
movq %rax, %r13
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %rcx
movl %ebx, %r8d
callq _loadFiles
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert
movl %ebx, -44(%rbp) ## 4-byte Spill
movl %ebx, %edi
shlq $3, %rdi
callq _malloc
movq %rax, %r14
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movl -48(%rbp), %eax ## 4-byte Reload
orb -52(%rbp), %al ## 1-byte Folded Reload
cmpb $1, %al
jne LBB0_1
## %bb.2:
xorl %eax, %eax
xorl %ebx, %ebx
movl -44(%rbp), %esi ## 4-byte Reload
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq (%r12,%rax), %rcx
movl %ebx, %edx
movq %rcx, (%r14,%rdx,8)
addq (%r13,%rdx,8), %rax
decl %ebx
cmpq %r15, %rax
setb %cl
cmpl %esi, %ebx
setb %dl
orb %cl, %dl
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %ebx, %ebx
xorl %eax, %eax
LBB0_4:
xorl %edi, %edi
cmpq %r15, %rax
sete %dil
callq _assert
xorl %edi, %edi
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
sete %dil
callq _assert
movq -64(%rbp), %rax ## 8-byte Reload
movq %r12, 24(%rax)
movq %r15, 32(%rax)
movq %r15, 40(%rax)
movq %r14, (%rax)
movq %r13, 8(%rax)
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, 16(%rax)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UTIL_FILESIZE_UNKNOWN,8,3 ## @UTIL_FILESIZE_UNKNOWN
.comm _BENCH_SIZE_MAX,8,3 ## @BENCH_SIZE_MAX
.no_dead_strip _createBufferCollection_fromFiles
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function createBufferCollection_fromFiles
_createBufferCollection_fromFiles: ; @createBufferCollection_fromFiles
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x24, x0
mov x20, x8
bl _UTIL_getTotalFileSize
mov x21, x0
Lloh0:
adrp x8, _UTIL_FILESIZE_UNKNOWN@GOTPAGE
Lloh1:
ldr x8, [x8, _UTIL_FILESIZE_UNKNOWN@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
cset w0, ne
bl _assert
Lloh3:
adrp x8, _BENCH_SIZE_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _BENCH_SIZE_MAX@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x21, x8
cset w0, le
bl _assert
cmp x21, #0
cset w0, ne
bl _assert
mov x0, x21
bl _malloc
mov x22, x0
cmp x0, #0
cset w0, ne
bl _assert
cmp w19, #0
cset w0, ne
bl _assert
mov x0, x19
mov w1, #8 ; =0x8
bl _calloc
mov x23, x0
cmp x0, #0
cset w0, ne
bl _assert
mov x0, x22
mov x1, x21
mov x2, x23
mov x3, x24
mov x4, x19
bl _loadFiles
cmp w0, #0
cset w0, eq
bl _assert
ubfiz x0, x19, #3, #32
bl _malloc
mov x24, x0
cmp x0, #0
cset w0, ne
bl _assert
cbnz x21, LBB0_3
; %bb.1:
cbnz w19, LBB0_3
; %bb.2:
mov w25, #0 ; =0x0
mov x8, #0 ; =0x0
b LBB0_5
LBB0_3:
mov x8, #0 ; =0x0
mov w25, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x9, x22, x8
str x9, [x24, w25, uxtw #3]
ldr x9, [x23, w25, uxtw #3]
sub w25, w25, #1
add x8, x9, x8
cmp x8, x21
ccmp w25, w19, #0, hs
b.lo LBB0_4
LBB0_5:
cmp x8, x21
cset w0, eq
bl _assert
cmp w25, w19
cset w0, eq
bl _assert
stp x22, x21, [x20, #24]
str x21, [x20, #40]
stp x24, x23, [x20]
str w19, [x20, #16]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _UTIL_FILESIZE_UNKNOWN,8,3 ; @UTIL_FILESIZE_UNKNOWN
.comm _BENCH_SIZE_MAX,8,3 ; @BENCH_SIZE_MAX
.no_dead_strip _createBufferCollection_fromFiles
.subsections_via_symbols
| assembly_file_173705.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function log_noop_revs
_log_noop_revs: ## @log_noop_revs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, (%rsi)
je LBB0_20
## %bb.1:
movq %rdx, %r15
movq %rdi, %rbx
movq 8(%rsi), %r13
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movl (%rdi), %edx
movl 24(%rdi), %edi
movq %rsi, %r14
movq %r13, %rsi
callq _rangelist_merge_revision
movl %eax, %edi
callq _SVN_ERR
movl (%r14), %esi
movq %r15, %rdi
callq _apr_hash_first
testq %rax, %rax
je LBB0_18
## %bb.2:
leaq 1(%r13), %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %r13, -64(%rbp) ## 8-byte Spill
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -64(%rbp), %r13 ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq -80(%rbp), %rdi ## 8-byte Reload
callq _apr_hash_next
testq %rax, %rax
je LBB0_18
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _apr_hash_this_key
movq %rax, %r14
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %r12
movl 20(%rbx), %edi
movq %r14, %rsi
callq _svn_fspath__skip_ancestor
testq %rax, %rax
jne LBB0_17
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
movl (%rax), %edi
xorl %esi, %esi
movq %r15, %rdx
callq _svn_dirent_join
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
jne LBB0_16
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r13
xorl %r15d, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=2
movq %r14, %rsi
callq _svn_hash_gets
movq %rax, %r15
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rbx), %edi
movq %r13, %rsi
callq _get_child_with_mergeinfo
testq %rax, %rax
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movq (%rax), %rdi
testq %rdi, %rdi
jne LBB0_8
LBB0_9: ## in Loop: Header=BB0_6 Depth=2
cmpb $0, (%r13)
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_6 Depth=2
movq %r13, %rdi
callq _strlen
movq %r13, %rdi
movl %eax, %esi
callq _svn_dirent_is_root
testq %rax, %rax
jne LBB0_13
## %bb.11: ## in Loop: Header=BB0_6 Depth=2
movq 8(%rbx), %rax
movl (%rax), %edi
movq %r13, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_6 Depth=2
movq %r13, %rdi
movq -56(%rbp), %r12 ## 8-byte Reload
movq %r12, %rsi
callq _svn_dirent_dirname
movq %rax, %r13
movq %r14, %rdi
movq %r12, %rsi
callq _svn_fspath__dirname
movq %rax, %r14
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %r12
jmp LBB0_6
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
testq %r15, %r15
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq -72(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %rsi
movq -56(%rbp), %r14 ## 8-byte Reload
movq %r14, %rcx
callq _svn_rangelist__initialize
leaq -88(%rbp), %rdi
movq %r15, %rsi
movq %r14, %r15
movq %rax, %rdx
movq %r12, %rcx
movq %r14, %r8
callq _svn_rangelist_intersect
movl %eax, %edi
callq _SVN_ERR
movq -88(%rbp), %rax
cmpq $0, (%rax)
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_17
LBB0_18:
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
jne LBB0_20
## %bb.19:
movl (%rbx), %edx
movl 4(%rbx), %edi
movq %r13, %rsi
callq _rangelist_merge_revision
movl %eax, %edi
callq _SVN_ERR
LBB0_20:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.comm _TRUE,8,3 ## @TRUE
.no_dead_strip _log_noop_revs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function log_noop_revs
_log_noop_revs: ; @log_noop_revs
.cfi_startproc
; %bb.0:
ldr w8, [x1]
cbz w8, LBB0_20
; %bb.1:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x2
mov x19, x0
ldr x8, [x1, #8]
Lloh0:
adrp x28, _FALSE@GOTPAGE
Lloh1:
ldr x28, [x28, _FALSE@GOTPAGEOFF]
ldr x27, [x28]
ldr w0, [x0, #24]
ldr w2, [x19]
mov x20, x1
str x8, [sp] ; 8-byte Folded Spill
mov x1, x8
bl _rangelist_merge_revision
bl _SVN_ERR
ldr w1, [x20]
mov x0, x21
bl _apr_hash_first
cbz x0, LBB0_17
; %bb.2:
mov x22, x0
Lloh2:
adrp x20, _TRUE@GOTPAGE
Lloh3:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr x27, [x20]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
bl _apr_hash_next
mov x22, x0
cbz x0, LBB0_17
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
mov x0, x22
bl _apr_hash_this_key
mov x24, x0
ldr x23, [x28]
ldr w0, [x19, #20]
mov x1, x24
bl _svn_fspath__skip_ancestor
cbnz x0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #8]
ldr w0, [x8]
mov x1, #0 ; =0x0
mov x2, x21
bl _svn_dirent_join
cbnz x27, LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x26, x0
mov x25, #0 ; =0x0
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
mov x1, x24
bl _svn_hash_gets
mov x25, x0
LBB0_9: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x19, #16]
mov x1, x26
bl _get_child_with_mergeinfo
cbz x0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
ldr x0, [x0]
cbnz x0, LBB0_8
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
ldrb w8, [x26]
cbz w8, LBB0_15
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
mov x0, x26
bl _strlen
mov x1, x0
mov x0, x26
bl _svn_dirent_is_root
cbnz x0, LBB0_15
; %bb.13: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x19, #8]
ldr w0, [x8]
mov x1, x26
bl _strcmp
cbz x0, LBB0_15
; %bb.14: ; in Loop: Header=BB0_9 Depth=2
mov x0, x26
mov x1, x21
bl _svn_dirent_dirname
mov x26, x0
mov x0, x24
mov x1, x21
bl _svn_fspath__dirname
mov x24, x0
ldr x23, [x20]
b LBB0_9
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
cbz x25, LBB0_3
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
ldr x2, [x20]
ldr x1, [sp] ; 8-byte Folded Reload
add x0, x1, #1
mov x3, x21
bl _svn_rangelist__initialize
mov x2, x0
add x0, sp, #8
mov x1, x25
mov x3, x23
mov x4, x21
bl _svn_rangelist_intersect
bl _SVN_ERR
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x9, [x20]
cmp x8, #0
csel x27, x9, x27, eq
b LBB0_4
LBB0_17:
cbnz x27, LBB0_19
; %bb.18:
ldp w2, w0, [x19]
ldr x1, [sp] ; 8-byte Folded Reload
bl _rangelist_merge_revision
bl _SVN_ERR
LBB0_19:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
LBB0_20:
Lloh4:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh5:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh6:
ldr x0, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.comm _TRUE,8,3 ; @TRUE
.no_dead_strip _log_noop_revs
.subsections_via_symbols
| assembly_file_25067.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _WorkerGetRoundRobinCandidateNode ## -- Begin function WorkerGetRoundRobinCandidateNode
.p2align 4, 0x90
_WorkerGetRoundRobinCandidateNode: ## @WorkerGetRoundRobinCandidateNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r14
callq _list_length
cmpl %ebx, %eax
jle LBB0_1
## %bb.2:
movl %eax, %ecx
addl %r15d, %ebx
movl %ebx, %eax
cltd
idivl %ecx
movq %r14, %rdi
movl %edx, %esi
callq _list_nth
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _WorkerGetRoundRobinCandidateNode ; -- Begin function WorkerGetRoundRobinCandidateNode
.p2align 2
_WorkerGetRoundRobinCandidateNode: ; @WorkerGetRoundRobinCandidateNode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
bl _list_length
cmp w0, w20
b.le LBB0_2
; %bb.1:
add w8, w20, w21
sdiv w9, w8, w0
msub w1, w9, w0, w8
mov x0, x19
bl _list_nth
b LBB0_3
LBB0_2:
mov x0, #0
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/citus/src/backend/distributed/master/extr_worker_node_manager.c_WorkerGetRoundRobinCandidateNode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BotNumConsoleMessages ## -- Begin function BotNumConsoleMessages
.p2align 4, 0x90
_BotNumConsoleMessages: ## @BotNumConsoleMessages
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _BotChatStateFromHandle
testq %rax, %rax
je LBB0_1
## %bb.2:
movl (%rax), %eax
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BotNumConsoleMessages ; -- Begin function BotNumConsoleMessages
.p2align 2
_BotNumConsoleMessages: ; @BotNumConsoleMessages
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _BotChatStateFromHandle
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x0]
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/lab/engine/code/botlib/extr_be_ai_chat.c_BotNumConsoleMessages.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uart_change_speed
_uart_change_speed: ## @uart_change_speed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq 16(%rdi), %rax
testq %rax, %rax
je LBB0_13
## %bb.1:
movq (%rax), %r15
testq %r15, %r15
je LBB0_13
## %bb.2:
movq %rdi, %rbx
movq (%rdi), %r12
movq (%r12), %rax
movq _PORT_UNKNOWN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
LBB0_13:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq %rsi, %r14
movq _CRTSCTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rbx
movq _ASYNCB_CTS_FLOW@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testl %eax, (%r15)
je LBB0_5
## %bb.4:
movq %rbx, %rsi
callq _set_bit
jmp LBB0_6
LBB0_5:
movq %rbx, %rsi
callq _clear_bit
LBB0_6:
movq _CDTRDSR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _ASYNCB_DSR_FLOW@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testl %eax, (%r15)
je LBB0_8
## %bb.7:
movq %rbx, %rsi
callq _set_bit
jmp LBB0_9
LBB0_8:
movq %rbx, %rsi
callq _clear_bit
LBB0_9:
movq _CLOCAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _ASYNCB_CHECK_CD@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
testl %eax, (%r15)
je LBB0_11
## %bb.10:
movq %rbx, %rsi
callq _clear_bit
jmp LBB0_12
LBB0_11:
movq %rbx, %rsi
callq _set_bit
LBB0_12:
movq 8(%r12), %rax
movq (%rax), %rax
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.comm _PORT_UNKNOWN,8,3 ## @PORT_UNKNOWN
.comm _CRTSCTS,4,2 ## @CRTSCTS
.comm _ASYNCB_CTS_FLOW,4,2 ## @ASYNCB_CTS_FLOW
.comm _CDTRDSR,4,2 ## @CDTRDSR
.comm _ASYNCB_DSR_FLOW,4,2 ## @ASYNCB_DSR_FLOW
.comm _CLOCAL,4,2 ## @CLOCAL
.comm _ASYNCB_CHECK_CD,4,2 ## @ASYNCB_CHECK_CD
.no_dead_strip _uart_change_speed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uart_change_speed
_uart_change_speed: ; @uart_change_speed
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0, #16]
cbz x8, LBB0_3
; %bb.1:
ldr x20, [x8]
cbz x20, LBB0_3
; %bb.2:
ldr x21, [x0]
ldr x8, [x21]
Lloh0:
adrp x9, _PORT_UNKNOWN@GOTPAGE
Lloh1:
ldr x9, [x9, _PORT_UNKNOWN@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_4:
mov x19, x1
ldr w9, [x20]
Lloh3:
adrp x8, _CRTSCTS@GOTPAGE
Lloh4:
ldr x8, [x8, _CRTSCTS@GOTPAGEOFF]
Lloh5:
ldr w10, [x8]
Lloh6:
adrp x8, _ASYNCB_CTS_FLOW@GOTPAGE
Lloh7:
ldr x8, [x8, _ASYNCB_CTS_FLOW@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
add x22, x0, #8
mov x0, x8
mov x1, x22
tst w10, w9
b.eq LBB0_6
; %bb.5:
bl _set_bit
b LBB0_7
LBB0_6:
bl _clear_bit
LBB0_7:
Lloh9:
adrp x8, _CDTRDSR@GOTPAGE
Lloh10:
ldr x8, [x8, _CDTRDSR@GOTPAGEOFF]
ldr w9, [x20]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x10, _ASYNCB_DSR_FLOW@GOTPAGE
Lloh13:
ldr x10, [x10, _ASYNCB_DSR_FLOW@GOTPAGEOFF]
Lloh14:
ldr w0, [x10]
mov x1, x22
tst w8, w9
b.eq LBB0_9
; %bb.8:
bl _set_bit
b LBB0_10
LBB0_9:
bl _clear_bit
LBB0_10:
Lloh15:
adrp x8, _CLOCAL@GOTPAGE
Lloh16:
ldr x8, [x8, _CLOCAL@GOTPAGEOFF]
ldr w9, [x20]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x10, _ASYNCB_CHECK_CD@GOTPAGE
Lloh19:
ldr x10, [x10, _ASYNCB_CHECK_CD@GOTPAGEOFF]
Lloh20:
ldr w0, [x10]
mov x1, x22
tst w8, w9
b.eq LBB0_12
; %bb.11:
bl _clear_bit
b LBB0_13
LBB0_12:
bl _set_bit
LBB0_13:
ldr x8, [x21, #8]
ldr x3, [x8]
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
br x3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _PORT_UNKNOWN,8,3 ; @PORT_UNKNOWN
.comm _CRTSCTS,4,2 ; @CRTSCTS
.comm _ASYNCB_CTS_FLOW,4,2 ; @ASYNCB_CTS_FLOW
.comm _CDTRDSR,4,2 ; @CDTRDSR
.comm _ASYNCB_DSR_FLOW,4,2 ; @ASYNCB_DSR_FLOW
.comm _CLOCAL,4,2 ; @CLOCAL
.comm _ASYNCB_CHECK_CD,4,2 ; @ASYNCB_CHECK_CD
.no_dead_strip _uart_change_speed
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/serial/extr_serial_core.c_uart_change_speed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function devfreq_set_target
_devfreq_set_target: ## @devfreq_set_target
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, -40(%rbp)
movq 32(%rdi), %rax
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 24(%rbx), %edi
leaq -32(%rbp), %rsi
callq *%rax
movq -32(%rbp), %rax
jmp LBB0_3
LBB0_2:
movq (%rbx), %rax
movq %rax, -32(%rbp)
LBB0_3:
movq %rax, -56(%rbp)
movq %r15, -48(%rbp)
movq _DEVFREQ_PRECHANGE@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -56(%rbp), %rsi
movq %rbx, %rdi
callq _devfreq_notify_transition
movq 32(%rbx), %rax
movl 24(%rbx), %edi
leaq -40(%rbp), %rsi
movl %r14d, %edx
callq *(%rax)
movl %eax, %r14d
testl %eax, %eax
je LBB0_5
## %bb.4:
movq -32(%rbp), %rax
movq %rax, -48(%rbp)
movq _DEVFREQ_POSTCHANGE@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -56(%rbp), %rsi
movq %rbx, %rdi
callq _devfreq_notify_transition
jmp LBB0_9
LBB0_5:
movq -40(%rbp), %rax
movq %rax, -48(%rbp)
movq _DEVFREQ_POSTCHANGE@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -56(%rbp), %rsi
movq %rbx, %rdi
callq _devfreq_notify_transition
movq -40(%rbp), %rsi
movq %rbx, %rdi
callq _devfreq_update_status
testq %rax, %rax
je LBB0_7
## %bb.6:
leaq 24(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _dev_err
LBB0_7:
movq -40(%rbp), %rax
movq %rax, (%rbx)
cmpq $0, 16(%rbx)
je LBB0_9
## %bb.8:
movq -32(%rbp), %rax
movq %rax, 8(%rbx)
LBB0_9:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DEVFREQ_PRECHANGE,4,2 ## @DEVFREQ_PRECHANGE
.comm _DEVFREQ_POSTCHANGE,4,2 ## @DEVFREQ_POSTCHANGE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Couldn't update frequency transition information.\n"
.no_dead_strip _devfreq_set_target
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function devfreq_set_target
_devfreq_set_target: ; @devfreq_set_target
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
str x1, [sp, #24]
ldr x8, [x0, #32]
ldr x8, [x8, #8]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x19, #24]
mov x1, sp
blr x8
ldr x8, [sp]
b LBB0_3
LBB0_2:
ldr x8, [x19]
str x8, [sp]
LBB0_3:
stp x8, x21, [sp, #8]
Lloh0:
adrp x8, _DEVFREQ_PRECHANGE@GOTPAGE
Lloh1:
ldr x8, [x8, _DEVFREQ_PRECHANGE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x1, sp, #8
mov x0, x19
bl _devfreq_notify_transition
mov x21, x19
ldr w0, [x21, #24]!
ldr x8, [x21, #8]
ldr x8, [x8]
add x1, sp, #24
mov x2, x20
blr x8
mov x20, x0
cbz w0, LBB0_5
; %bb.4:
ldr x8, [sp]
str x8, [sp, #16]
Lloh3:
adrp x8, _DEVFREQ_POSTCHANGE@GOTPAGE
Lloh4:
ldr x8, [x8, _DEVFREQ_POSTCHANGE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
add x1, sp, #8
mov x0, x19
bl _devfreq_notify_transition
b LBB0_9
LBB0_5:
ldr x8, [sp, #24]
str x8, [sp, #16]
Lloh6:
adrp x8, _DEVFREQ_POSTCHANGE@GOTPAGE
Lloh7:
ldr x8, [x8, _DEVFREQ_POSTCHANGE@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
add x1, sp, #8
mov x0, x19
bl _devfreq_notify_transition
ldr x1, [sp, #24]
mov x0, x19
bl _devfreq_update_status
cbz x0, LBB0_7
; %bb.6:
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _dev_err
LBB0_7:
ldr x8, [sp, #24]
str x8, [x19]
ldr x8, [x19, #16]
cbz x8, LBB0_9
; %bb.8:
ldr x8, [sp]
str x8, [x19, #8]
LBB0_9:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _DEVFREQ_PRECHANGE,4,2 ; @DEVFREQ_PRECHANGE
.comm _DEVFREQ_POSTCHANGE,4,2 ; @DEVFREQ_POSTCHANGE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Couldn't update frequency transition information.\n"
.no_dead_strip _devfreq_set_target
.subsections_via_symbols
| AnghaBench/linux/drivers/devfreq/extr_devfreq.c_devfreq_set_target.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _timer_interfacetimeout ## -- Begin function timer_interfacetimeout
.p2align 4, 0x90
_timer_interfacetimeout: ## @timer_interfacetimeout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _interface_timer@GOTPCREL(%rip), %rax
movl %edi, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _interface_timer,4,2 ## @interface_timer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _timer_interfacetimeout ; -- Begin function timer_interfacetimeout
.p2align 2
_timer_interfacetimeout: ; @timer_interfacetimeout
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _interface_timer@GOTPAGE
Lloh1:
ldr x8, [x8, _interface_timer@GOTPAGEOFF]
Lloh2:
str w0, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _interface_timer,4,2 ; @interface_timer
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_timer.c_timer_interfacetimeout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bt_close
_bt_close: ## @bt_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 12(%rdi), %edi
callq _sqlite4BtClose
movl %eax, %r14d
movl 8(%rbx), %edi
callq _free
movq (%rbx), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_2
## %bb.1:
movq $0, (%rcx)
LBB0_2:
movq 8(%rax), %rax
testq %rax, %rax
je LBB0_4
## %bb.3:
movq $0, (%rax)
LBB0_4:
movq %rbx, %rdi
callq _bgc_detach
movq %rbx, %rdi
callq _testFree
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bt_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bt_close
_bt_close: ; @bt_close
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #12]
bl _sqlite4BtClose
mov x20, x0
ldr w0, [x19, #8]
bl _free
ldr x8, [x19]
ldr x9, [x8]
cbz x9, LBB0_2
; %bb.1:
str xzr, [x9]
LBB0_2:
ldr x8, [x8, #8]
cbz x8, LBB0_4
; %bb.3:
str xzr, [x8]
LBB0_4:
mov x0, x19
bl _bgc_detach
mov x0, x19
bl _testFree
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _bt_close
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest_tdb4.c_bt_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _unregister_chrdev_region ## -- Begin function unregister_chrdev_region
.p2align 4, 0x90
_unregister_chrdev_region: ## @unregister_chrdev_region
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
addl %edi, %r14d
cmpl %edi, %r14d
jbe LBB0_3
## %bb.1:
movl %edi, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _MAJOR
leaq 1(%rax), %rdi
xorl %esi, %esi
callq _MKDEV
movl %eax, %r15d
cmpl %r14d, %eax
movl %r14d, %r13d
cmovbl %eax, %r13d
movl %ebx, %edi
callq _MAJOR
movq %rax, %r12
movl %ebx, %edi
callq _MINOR
movl %r13d, %edx
subl %ebx, %edx
movq %r12, %rdi
movl %eax, %esi
callq ___unregister_chrdev_region
movl %eax, %edi
callq _kfree
movl %r13d, %ebx
cmpl %r15d, %r14d
ja LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _unregister_chrdev_region ; -- Begin function unregister_chrdev_region
.p2align 2
_unregister_chrdev_region: ; @unregister_chrdev_region
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
add w22, w1, w0
cmp w22, w0
b.ls LBB0_3
; %bb.1:
mov x19, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _MAJOR
add x0, x0, #1
mov w1, #0
bl _MKDEV
mov x20, x0
cmp w0, w22
csel w23, w0, w22, lo
mov x0, x19
bl _MAJOR
mov x21, x0
mov x0, x19
bl _MINOR
mov x1, x0
sub w2, w23, w19
mov x0, x21
bl ___unregister_chrdev_region
bl _kfree
mov x19, x23
cmp w22, w20
b.hi LBB0_2
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/extr_char_dev.c_unregister_chrdev_region.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ec_bits
_ec_bits: ## @ec_bits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
callq _EC_KEY_get0_group
movl %eax, %edi
popq %rbp
jmp _EC_GROUP_order_bits ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ec_bits
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ec_bits
_ec_bits: ; @ec_bits
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w0, [x0]
bl _EC_KEY_get0_group
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _EC_GROUP_order_bits
.cfi_endproc
; -- End function
.no_dead_strip _ec_bits
.subsections_via_symbols
| AnghaBench/openssl/crypto/ec/extr_ec_ameth.c_ec_bits.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __printbits ## -- Begin function _printbits
.p2align 4, 0x90
__printbits: ## @_printbits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl __printbits ; -- Begin function _printbits
.p2align 2
__printbits: ; @_printbits
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_130570.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i810fb_resume
_i810fb_resume: ## @i810fb_resume
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _pci_get_drvdata
movq %rax, %r14
movq 8(%rax), %r15
movl (%r15), %eax
movq _PM_EVENT_ON@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%r15)
movq _PM_EVENT_FREEZE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.1:
movq _PCI_D0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _pci_set_power_state
jmp LBB0_5
LBB0_2:
xorl %eax, %eax
callq _acquire_console_sem
movq _PCI_D0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _pci_set_power_state
movq %rbx, %rdi
callq _pci_restore_state
movq %rbx, %rdi
callq _pci_enable_device
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _pci_set_master
movl 12(%r15), %edi
movl 16(%r15), %esi
callq _agp_bind_memory
movl 4(%r15), %esi
movl 8(%r15), %edi
callq _agp_bind_memory
movq %r14, %rdi
callq _i810fb_set_par
movq %r14, %rdi
xorl %esi, %esi
callq _fb_set_suspend
movq (%r14), %rax
movq _VESA_NO_BLANKING@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %r14, %rsi
callq *(%rax)
LBB0_4:
xorl %eax, %eax
callq _release_console_sem
LBB0_5:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PM_EVENT_ON,4,2 ## @PM_EVENT_ON
.comm _PM_EVENT_FREEZE,4,2 ## @PM_EVENT_FREEZE
.comm _PCI_D0,4,2 ## @PCI_D0
.comm _VESA_NO_BLANKING,4,2 ## @VESA_NO_BLANKING
.no_dead_strip _i810fb_resume
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i810fb_resume
_i810fb_resume: ; @i810fb_resume
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
bl _pci_get_drvdata
ldr x21, [x0, #8]
ldr w8, [x21]
Lloh0:
adrp x9, _PM_EVENT_ON@GOTPAGE
Lloh1:
ldr x9, [x9, _PM_EVENT_ON@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
str w9, [x21]
Lloh3:
adrp x9, _PM_EVENT_FREEZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PM_EVENT_FREEZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x8, _PCI_D0@GOTPAGE
Lloh7:
ldr x8, [x8, _PCI_D0@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _pci_set_power_state
b LBB0_5
LBB0_2:
mov x19, x0
bl _acquire_console_sem
Lloh9:
adrp x8, _PCI_D0@GOTPAGE
Lloh10:
ldr x8, [x8, _PCI_D0@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _pci_set_power_state
mov x0, x20
bl _pci_restore_state
mov x0, x20
bl _pci_enable_device
cbnz x0, LBB0_4
; %bb.3:
mov x0, x20
bl _pci_set_master
ldp w0, w1, [x21, #12]
bl _agp_bind_memory
ldp w1, w0, [x21, #4]
bl _agp_bind_memory
mov x0, x19
bl _i810fb_set_par
mov x0, x19
mov w1, #0
bl _fb_set_suspend
ldr x8, [x19]
ldr x8, [x8]
Lloh12:
adrp x9, _VESA_NO_BLANKING@GOTPAGE
Lloh13:
ldr x9, [x9, _VESA_NO_BLANKING@GOTPAGEOFF]
Lloh14:
ldr w0, [x9]
mov x1, x19
blr x8
LBB0_4:
bl _release_console_sem
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _PM_EVENT_ON,4,2 ; @PM_EVENT_ON
.comm _PM_EVENT_FREEZE,4,2 ; @PM_EVENT_FREEZE
.comm _PCI_D0,4,2 ; @PCI_D0
.comm _VESA_NO_BLANKING,4,2 ; @VESA_NO_BLANKING
.no_dead_strip _i810fb_resume
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/i810/extr_i810_main.c_i810fb_resume.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function node_affinity_destroy
_node_affinity_destroy: ## @node_affinity_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _free_percpu
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _node_affinity_destroy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function node_affinity_destroy
_node_affinity_destroy: ; @node_affinity_destroy
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _free_percpu
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _node_affinity_destroy
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_affinity.c_node_affinity_destroy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tree_if_convert_cond_expr
_tree_if_convert_cond_expr: ## @tree_if_convert_cond_expr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movl %edx, -44(%rbp) ## 4-byte Spill
movl %esi, %r13d
movq %rdi, %r15
movl %esi, %edi
callq _TREE_CODE
movq _COND_EXPR@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _gcc_assert
movl %r13d, %edi
callq _COND_EXPR_COND
movl %eax, %r12d
movl %r13d, %edi
callq _bb_for_stmt
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
movl %eax, %edi
callq _extract_true_false_edges_from_block
movl -52(%rbp), %r14d
movl %r12d, %edi
callq _unshare_expr
movq %r15, %rdi
movl %r14d, %esi
movl -44(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edx
movl %eax, %ecx
movq %rbx, %r8
callq _add_to_dst_predicate_list
movl %r12d, %edi
callq _unshare_expr
movl %eax, %edi
callq _invert_truthvalue
movl -48(%rbp), %esi
movq %r15, %rdi
movl %r14d, %edx
movl %eax, %ecx
movq %rbx, %r8
callq _add_to_dst_predicate_list
movl %r13d, %edi
callq _bb_for_stmt
movq %r15, %rdi
movl %eax, %esi
callq _bb_with_exit_edge_p
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
movl $1, %esi
callq _bsi_remove
LBB0_2:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _COND_EXPR,8,3 ## @COND_EXPR
.comm _NULL_TREE,4,2 ## @NULL_TREE
.no_dead_strip _tree_if_convert_cond_expr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tree_if_convert_cond_expr
_tree_if_convert_cond_expr: ; @tree_if_convert_cond_expr
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x22, x2
mov x21, x1
mov x20, x0
mov x0, x1
bl _TREE_CODE
Lloh0:
adrp x8, _COND_EXPR@GOTPAGE
Lloh1:
ldr x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
cset w0, eq
bl _gcc_assert
mov x0, x21
bl _COND_EXPR_COND
mov x23, x0
mov x0, x21
bl _bb_for_stmt
add x1, sp, #12
add x2, sp, #8
bl _extract_true_false_edges_from_block
ldr w24, [sp, #12]
mov x0, x23
bl _unshare_expr
mov x3, x0
mov x0, x20
mov x1, x24
mov x2, x22
mov x4, x19
bl _add_to_dst_predicate_list
mov x0, x23
bl _unshare_expr
bl _invert_truthvalue
mov x3, x0
ldr w1, [sp, #8]
mov x0, x20
mov x2, x22
mov x4, x19
bl _add_to_dst_predicate_list
mov x0, x21
bl _bb_for_stmt
mov x1, x0
mov x0, x20
bl _bb_with_exit_edge_p
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
mov w1, #1
bl _bsi_remove
LBB0_2:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COND_EXPR,8,3 ; @COND_EXPR
.comm _NULL_TREE,4,2 ; @NULL_TREE
.no_dead_strip _tree_if_convert_cond_expr
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_tree-if-conv.c_tree_if_convert_cond_expr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sticon_save_screen
_sticon_save_screen: ## @sticon_save_screen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sticon_save_screen
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sticon_save_screen
_sticon_save_screen: ; @sticon_save_screen
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _sticon_save_screen
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/console/extr_sticon.c_sticon_save_screen.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_net_recv ## -- Begin function mbedtls_net_recv
.p2align 4, 0x90
_mbedtls_net_recv: ## @mbedtls_net_recv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
testl %edi, %edi
js LBB0_1
## %bb.2:
callq _read
testl %eax, %eax
jns LBB0_11
## %bb.3:
movq %rbx, %rdi
callq _net_would_block
testq %rax, %rax
je LBB0_5
LBB0_4:
movq _MBEDTLS_ERR_SSL_WANT_READ@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_1:
movq _MBEDTLS_ERR_NET_INVALID_CONTEXT@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
LBB0_11:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_5:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _EPIPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_7
## %bb.6:
movq _ECONNRESET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_7
## %bb.8:
movq _EINTR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_4
## %bb.9:
movq _MBEDTLS_ERR_NET_RECV_FAILED@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_7:
movq _MBEDTLS_ERR_NET_CONN_RESET@GOTPCREL(%rip), %rax
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _MBEDTLS_ERR_NET_INVALID_CONTEXT,4,2 ## @MBEDTLS_ERR_NET_INVALID_CONTEXT
.comm _MBEDTLS_ERR_SSL_WANT_READ,4,2 ## @MBEDTLS_ERR_SSL_WANT_READ
.comm _errno,8,3 ## @errno
.comm _EPIPE,8,3 ## @EPIPE
.comm _ECONNRESET,8,3 ## @ECONNRESET
.comm _MBEDTLS_ERR_NET_CONN_RESET,4,2 ## @MBEDTLS_ERR_NET_CONN_RESET
.comm _EINTR,8,3 ## @EINTR
.comm _MBEDTLS_ERR_NET_RECV_FAILED,4,2 ## @MBEDTLS_ERR_NET_RECV_FAILED
.comm _WSAECONNRESET,8,3 ## @WSAECONNRESET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_net_recv ; -- Begin function mbedtls_net_recv
.p2align 2
_mbedtls_net_recv: ; @mbedtls_net_recv
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
tbnz w0, #31, LBB0_4
; %bb.1:
bl _read
tbz w0, #31, LBB0_6
; %bb.2:
mov x0, x19
bl _net_would_block
cbz x0, LBB0_7
LBB0_3:
Lloh0:
adrp x8, _MBEDTLS_ERR_SSL_WANT_READ@GOTPAGE
Lloh1:
ldr x8, [x8, _MBEDTLS_ERR_SSL_WANT_READ@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh2:
adrp x8, _MBEDTLS_ERR_NET_INVALID_CONTEXT@GOTPAGE
Lloh3:
ldr x8, [x8, _MBEDTLS_ERR_NET_INVALID_CONTEXT@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
LBB0_6:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_7:
Lloh4:
adrp x8, _errno@GOTPAGE
Lloh5:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
Lloh7:
adrp x9, _EPIPE@GOTPAGE
Lloh8:
ldr x9, [x9, _EPIPE@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
Lloh10:
adrp x10, _ECONNRESET@GOTPAGE
Lloh11:
ldr x10, [x10, _ECONNRESET@GOTPAGEOFF]
Lloh12:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_9
; %bb.8:
Lloh13:
adrp x8, _MBEDTLS_ERR_NET_CONN_RESET@GOTPAGE
Lloh14:
ldr x8, [x8, _MBEDTLS_ERR_NET_CONN_RESET@GOTPAGEOFF]
b LBB0_5
LBB0_9:
Lloh15:
adrp x9, _EINTR@GOTPAGE
Lloh16:
ldr x9, [x9, _EINTR@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_3
; %bb.10:
Lloh18:
adrp x8, _MBEDTLS_ERR_NET_RECV_FAILED@GOTPAGE
Lloh19:
ldr x8, [x8, _MBEDTLS_ERR_NET_RECV_FAILED@GOTPAGEOFF]
b LBB0_5
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _MBEDTLS_ERR_NET_INVALID_CONTEXT,4,2 ; @MBEDTLS_ERR_NET_INVALID_CONTEXT
.comm _MBEDTLS_ERR_SSL_WANT_READ,4,2 ; @MBEDTLS_ERR_SSL_WANT_READ
.comm _errno,8,3 ; @errno
.comm _EPIPE,8,3 ; @EPIPE
.comm _ECONNRESET,8,3 ; @ECONNRESET
.comm _MBEDTLS_ERR_NET_CONN_RESET,4,2 ; @MBEDTLS_ERR_NET_CONN_RESET
.comm _EINTR,8,3 ; @EINTR
.comm _MBEDTLS_ERR_NET_RECV_FAILED,4,2 ; @MBEDTLS_ERR_NET_RECV_FAILED
.comm _WSAECONNRESET,8,3 ; @WSAECONNRESET
.subsections_via_symbols
| AnghaBench/RetroArch/deps/mbedtls/extr_net_sockets.c_mbedtls_net_recv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_hashfunc_37 ## -- Begin function get_hashfunc_37
.p2align 4, 0x90
_get_hashfunc_37: ## @get_hashfunc_37
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
andl $25165824, %esi ## imm = 0x1800000
cmpl $8388608, %esi ## imm = 0x800000
je LBB0_1
## %bb.2:
cmpl $25165824, %esi ## imm = 0x1800000
jne LBB0_4
## %bb.3:
movl $474, %eax ## imm = 0x1DA
popq %rbp
retq
LBB0_1:
movl $473, %eax ## imm = 0x1D9
popq %rbp
retq
LBB0_4:
movl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_hashfunc_37 ; -- Begin function get_hashfunc_37
.p2align 2
_get_hashfunc_37: ; @get_hashfunc_37
.cfi_startproc
; %bb.0:
and w8, w1, #0x1800000
mov w9, #473
mov w10, #25165824
mov w11, #474
cmp w8, w10
csel w10, w0, w11, ne
cmp w8, #2048, lsl #12 ; =8388608
csel w0, w9, w10, eq
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/tms320/c55x_plus/extr_hashtable.c_get_hashfunc_37.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qib_setup_7322_cleanup
_qib_setup_7322_cleanup: ## @qib_setup_7322_cleanup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _qib_7322_free_irq
movq 16(%r15), %rax
movl 24(%rax), %edi
callq _kfree
movq 16(%r15), %rax
movl 20(%rax), %edi
callq _kfree
movq 16(%r15), %rax
movl 16(%rax), %edi
callq _kfree
movq 16(%r15), %rax
movl 12(%rax), %edi
callq _kfree
movq 16(%r15), %rax
movl 8(%rax), %edi
callq _kfree
cmpl $0, (%r15)
jle LBB0_7
## %bb.1:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
incq %r13
movslq (%r15), %rax
addq $16, %r12
cmpq %rax, %r13
jge LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq _QSFP_GPIO_MOD_PRS_N@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _QSFP_GPIO_PORT2_SHIFT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq 8(%r15), %rax
movq 8(%rax,%r12), %rax
movl 4(%rax), %edi
callq _kfree
movq _QIB_HAS_QSFP@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r15)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %ebx, %ecx
movl %r14d, %ebx
## kill: def $cl killed $cl killed $ecx
shll %cl, %ebx
orl %r14d, %ebx
movq 16(%r15), %rdi
addq $4, %rdi
callq _spin_lock_irqsave
notl %ebx
movq 16(%r15), %rax
andl (%rax), %ebx
movl %ebx, (%rax)
movq _kr_gpio_mask@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movl %ebx, %edx
callq _qib_write_kreg
movq 16(%r15), %rdi
addq $4, %rdi
callq _spin_unlock_irqrestore
movq 8(%r15), %rax
movq 8(%rax,%r12), %rdi
callq _qib_qsfp_deinit
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %rax
movq (%rax,%r12), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
callq _ib_destroy_ah
jmp LBB0_6
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QSFP_GPIO_MOD_PRS_N,4,2 ## @QSFP_GPIO_MOD_PRS_N
.comm _QSFP_GPIO_PORT2_SHIFT,4,2 ## @QSFP_GPIO_PORT2_SHIFT
.comm _QIB_HAS_QSFP,4,2 ## @QIB_HAS_QSFP
.comm _kr_gpio_mask,4,2 ## @kr_gpio_mask
.no_dead_strip _qib_setup_7322_cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qib_setup_7322_cleanup
_qib_setup_7322_cleanup: ; @qib_setup_7322_cleanup
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
bl _qib_7322_free_irq
ldr x8, [x19, #16]
ldr w0, [x8, #24]
bl _kfree
ldr x8, [x19, #16]
ldr w0, [x8, #20]
bl _kfree
ldr x8, [x19, #16]
ldr w0, [x8, #16]
bl _kfree
ldr x8, [x19, #16]
ldr w0, [x8, #12]
bl _kfree
ldr x8, [x19, #16]
ldr w0, [x8, #8]
bl _kfree
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_7
; %bb.1:
mov x20, #0
mov x21, #0
Lloh0:
adrp x22, _QSFP_GPIO_MOD_PRS_N@GOTPAGE
Lloh1:
ldr x22, [x22, _QSFP_GPIO_MOD_PRS_N@GOTPAGEOFF]
Lloh2:
adrp x23, _QSFP_GPIO_PORT2_SHIFT@GOTPAGE
Lloh3:
ldr x23, [x23, _QSFP_GPIO_PORT2_SHIFT@GOTPAGEOFF]
Lloh4:
adrp x24, _QIB_HAS_QSFP@GOTPAGE
Lloh5:
ldr x24, [x24, _QIB_HAS_QSFP@GOTPAGEOFF]
Lloh6:
adrp x25, _kr_gpio_mask@GOTPAGE
Lloh7:
ldr x25, [x25, _kr_gpio_mask@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
ldrsw x8, [x19]
add x20, x20, #16
cmp x21, x8
b.ge LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w26, [x22]
ldr w27, [x23]
ldr x8, [x19, #8]
add x8, x8, x20
ldr x8, [x8, #8]
ldr w0, [x8, #4]
bl _kfree
ldr w8, [x19, #4]
ldr w9, [x24]
tst w9, w8
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
lsl w8, w26, w27
orr w26, w8, w26
ldr x8, [x19, #16]
add x0, x8, #4
bl _spin_lock_irqsave
ldr x8, [x19, #16]
ldr w9, [x8]
bic w2, w9, w26
str w2, [x8]
ldr w1, [x25]
mov x0, x19
bl _qib_write_kreg
ldr x8, [x19, #16]
add x0, x8, #4
bl _spin_unlock_irqrestore
ldr x8, [x19, #8]
add x8, x8, x20
ldr x0, [x8, #8]
bl _qib_qsfp_deinit
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #8]
ldr x0, [x8, x20]
cbz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
bl _ib_destroy_ah
b LBB0_2
LBB0_7:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _QSFP_GPIO_MOD_PRS_N,4,2 ; @QSFP_GPIO_MOD_PRS_N
.comm _QSFP_GPIO_PORT2_SHIFT,4,2 ; @QSFP_GPIO_PORT2_SHIFT
.comm _QIB_HAS_QSFP,4,2 ; @QIB_HAS_QSFP
.comm _kr_gpio_mask,4,2 ; @kr_gpio_mask
.no_dead_strip _qib_setup_7322_cleanup
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7322.c_qib_setup_7322_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_u16le ## -- Begin function get_u16le
.p2align 4, 0x90
_get_u16le: ## @get_u16le
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzwl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_u32le ## -- Begin function get_u32le
.p2align 4, 0x90
_get_u32le: ## @get_u32le
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_u64le ## -- Begin function get_u64le
.p2align 4, 0x90
_get_u64le: ## @get_u64le
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_u16le ## -- Begin function set_u16le
.p2align 4, 0x90
_set_u16le: ## @set_u16le
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw %si, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_u32le ## -- Begin function set_u32le
.p2align 4, 0x90
_set_u32le: ## @set_u32le
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_u64le ## -- Begin function set_u64le
.p2align 4, 0x90
_set_u64le: ## @set_u64le
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_LoadFile ## -- Begin function TgvLz_LoadFile
.p2align 4, 0x90
_TgvLz_LoadFile: ## @TgvLz_LoadFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
leaq L_.str(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB6_6
## %bb.1:
movq %rax, %rbx
movq %r14, -48(%rbp) ## 8-byte Spill
movq %rax, %rdi
xorl %esi, %esi
movl $2, %edx
callq _fseek
movq %rbx, %rdi
callq _ftell
movq %rax, %r12
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _fseek
leal 24(%r12), %eax
movslq %eax, %rdi
callq _malloc
movq %rax, %r15
movslq %r12d, %r14
movl $1, %esi
movq %rax, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq _fread
movq %rax, %r13
movq %rbx, %rdi
callq _fclose
cmpl %r14d, %r13d
je LBB6_3
## %bb.2:
movl %r13d, %r12d
testl %r13d, %r13d
jle LBB6_5
LBB6_3:
movslq %r12d, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%r15,%rax)
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
jmp LBB6_7
LBB6_5:
movq %r15, %rdi
callq _free
LBB6_6:
xorl %r15d, %r15d
LBB6_7:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_StoreFile ## -- Begin function TgvLz_StoreFile
.p2align 4, 0x90
_TgvLz_StoreFile: ## @TgvLz_StoreFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB7_1
## %bb.2:
movq %rax, %rbx
movslq %r15d, %rdx
movl $1, %esi
movq %r14, %rdi
movq %rax, %rcx
callq _fwrite
movq %rbx, %rdi
callq _fclose
xorl %eax, %eax
jmp LBB7_3
LBB7_1:
movl $-1, %eax
LBB7_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_CalcHash ## -- Begin function TgvLz_CalcHash
.p2align 4, 0x90
_TgvLz_CalcHash: ## @TgvLz_CalcHash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
imull $4093, (%rdi), %eax ## imm = 0xFFD
shrl $12, %eax
andl $4095, %eax ## imm = 0xFFF
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_CalcHashB ## -- Begin function TgvLz_CalcHashB
.p2align 4, 0x90
_TgvLz_CalcHashB: ## @TgvLz_CalcHashB
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl %eax, %ecx
sarl $16, %ecx
xorl %eax, %ecx
imull $4093, %ecx, %eax ## imm = 0xFFD
shrl $12, %eax
andl $16383, %eax ## imm = 0x3FFF
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_CheckMatch ## -- Begin function TgvLz_CheckMatch
.p2align 4, 0x90
_TgvLz_CheckMatch: ## @TgvLz_CheckMatch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq 4(%rdi), %rax
cmpq %rdx, %rax
jbe LBB10_2
## %bb.1:
movq %rdi, %rax
cmpq %rdx, %rax
jb LBB10_7
jmp LBB10_12
LBB10_2:
movq %rdi, %rcx
.p2align 4, 0x90
LBB10_3: ## =>This Inner Loop Header: Depth=1
movl (%rcx), %eax
cmpl (%rsi), %eax
jne LBB10_4
## %bb.5: ## in Loop: Header=BB10_3 Depth=1
addq $4, %rsi
leaq 4(%rcx), %rax
addq $8, %rcx
cmpq %rdx, %rcx
movq %rax, %rcx
jbe LBB10_3
## %bb.6:
cmpq %rdx, %rax
jb LBB10_7
jmp LBB10_12
LBB10_4:
movq %rcx, %rax
cmpq %rdx, %rax
jae LBB10_12
LBB10_7:
movq %rdx, %r8
subq %rax, %r8
xorl %r9d, %r9d
.p2align 4, 0x90
LBB10_8: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%r9), %ecx
cmpb (%rsi,%r9), %cl
jne LBB10_11
## %bb.9: ## in Loop: Header=BB10_8 Depth=1
incq %r9
cmpq %r9, %r8
jne LBB10_8
## %bb.10:
movq %rdx, %rax
jmp LBB10_12
LBB10_11:
addq %r9, %rax
LBB10_12:
subl %edi, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_HashByte ## -- Begin function TgvLz_HashByte
.p2align 4, 0x90
_TgvLz_HashByte: ## @TgvLz_HashByte
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
subq 2101280(%rdi), %rax
movzwl %ax, %eax
imull $4093, (%rsi), %ecx ## imm = 0xFFD
shrl $12, %ecx
andl $4095, %ecx ## imm = 0xFFF
movb 2097152(%rdi,%rcx), %dl
decb %dl
andb $63, %dl
movzbl %dl, %edx
movb %dl, 2097152(%rdi,%rcx)
shll $6, %ecx
orl %edx, %ecx
movq %rsi, (%rdi,%rcx,8)
movl (%rsi), %ecx
movl %ecx, %edx
sarl $16, %edx
xorl %ecx, %edx
imull $4093, %edx, %ecx ## imm = 0xFFD
shrl $12, %ecx
andl $16383, %ecx ## imm = 0x3FFF
movq %rsi, 2101288(%rdi,%rax,8)
movzwl 2756648(%rdi,%rcx,2), %edx
movw %dx, 2625576(%rdi,%rax,2)
movw %ax, 2756648(%rdi,%rcx,2)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_HashStr ## -- Begin function TgvLz_HashStr
.p2align 4, 0x90
_TgvLz_HashStr: ## @TgvLz_HashStr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
jle LBB12_3
## %bb.1:
movslq %edx, %r8
addq %rsi, %r8
movq %rsi, %rcx
subq 2101280(%rdi), %rcx
.p2align 4, 0x90
LBB12_2: ## =>This Inner Loop Header: Depth=1
imull $4093, (%rsi), %eax ## imm = 0xFFD
movzwl %cx, %r9d
shrl $12, %eax
andl $4095, %eax ## imm = 0xFFF
movzbl 2097152(%rdi,%rax), %edx
decb %dl
andb $63, %dl
movzbl %dl, %edx
movb %dl, 2097152(%rdi,%rax)
shll $6, %eax
orl %edx, %eax
movq %rsi, (%rdi,%rax,8)
movl (%rsi), %eax
movl %eax, %edx
sarl $16, %edx
xorl %eax, %edx
imull $4093, %edx, %eax ## imm = 0xFFD
shrl $12, %eax
andl $16383, %eax ## imm = 0x3FFF
movq %rsi, 2101288(%rdi,%r9,8)
movzwl 2756648(%rdi,%rax,2), %edx
movw %dx, 2625576(%rdi,%r9,2)
movw %r9w, 2756648(%rdi,%rax,2)
incq %rsi
incq %rcx
cmpq %r8, %rsi
jb LBB12_2
LBB12_3:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_LookupMatch ## -- Begin function TgvLz_LookupMatch
.p2align 4, 0x90
_TgvLz_LookupMatch: ## @TgvLz_LookupMatch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq %rsi, 2789736(%rdi)
je LBB13_1
## %bb.3:
movq %rsi, %r12
movq 2789728(%rdi), %rax
cmpq %rsi, %rax
je LBB13_4
## %bb.5:
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
movslq 2101264(%rdi), %r13
addq %r12, %r13
cmpq %rdx, %r13
cmovaq %rdx, %r13
movl 2101268(%rdi), %r10d
movl (%r12), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
imull $4093, %eax, %eax ## imm = 0xFFD
shrl $12, %eax
andl $4095, %eax ## imm = 0xFFF
movzbl 2097152(%rdi,%rax), %ecx
movq %rcx, -88(%rbp) ## 8-byte Spill
shlq $6, %rax
movq %rax, -96(%rbp) ## 8-byte Spill
leaq 4(%r12), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %edx, %edx
xorl %r11d, %r11d
xorl %r8d, %r8d
movl %r10d, -44(%rbp) ## 4-byte Spill
jmp LBB13_6
LBB13_17: ## in Loop: Header=BB13_6 Depth=1
addq %r10, %r15
LBB13_18: ## in Loop: Header=BB13_6 Depth=1
movl -44(%rbp), %r10d ## 4-byte Reload
movl %eax, %r11d
LBB13_19: ## in Loop: Header=BB13_6 Depth=1
subl %r12d, %r15d
movl %r12d, %ecx
subl %r14d, %ecx
testl %ecx, %ecx
setg %bl
cmpl %r15d, %r8d
setl %al
andb %bl, %al
cmpl %ecx, %r10d
setg %bl
testb %bl, %al
cmovel %r8d, %r15d
cmovnel %ecx, %r11d
movl %r15d, %r8d
LBB13_20: ## in Loop: Header=BB13_6 Depth=1
incl %edx
cmpl $64, %edx
je LBB13_21
LBB13_6: ## =>This Loop Header: Depth=1
## Child Loop BB13_9 Depth 2
## Child Loop BB13_14 Depth 2
movq -88(%rbp), %rax ## 8-byte Reload
leal (%rdx,%rax), %ecx
andl $63, %ecx
orq -96(%rbp), %rcx ## 8-byte Folded Reload
movq (%rdi,%rcx,8), %r14
testq %r14, %r14
je LBB13_20
## %bb.7: ## in Loop: Header=BB13_6 Depth=1
movq %r12, %r15
movq %r14, %r9
cmpq %r13, -56(%rbp) ## 8-byte Folded Reload
ja LBB13_12
## %bb.8: ## in Loop: Header=BB13_6 Depth=1
movq %r12, %rsi
movq %r14, %r9
.p2align 4, 0x90
LBB13_9: ## Parent Loop BB13_6 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rsi), %ecx
cmpl (%r9), %ecx
jne LBB13_10
## %bb.11: ## in Loop: Header=BB13_9 Depth=2
addq $4, %r9
leaq 4(%rsi), %r15
addq $8, %rsi
cmpq %r13, %rsi
movq %r15, %rsi
jbe LBB13_9
LBB13_12: ## in Loop: Header=BB13_6 Depth=1
cmpq %r13, %r15
jae LBB13_19
jmp LBB13_13
LBB13_10: ## in Loop: Header=BB13_6 Depth=1
movq %rsi, %r15
cmpq %r13, %r15
jae LBB13_19
LBB13_13: ## in Loop: Header=BB13_6 Depth=1
movl %r11d, %eax
movq %r13, %rcx
subq %r15, %rcx
leaq (%r15,%rcx), %rsi
xorl %r10d, %r10d
.p2align 4, 0x90
LBB13_14: ## Parent Loop BB13_6 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r15,%r10), %r11d
cmpb (%r9,%r10), %r11b
jne LBB13_17
## %bb.15: ## in Loop: Header=BB13_14 Depth=2
incq %r10
cmpq %r10, %rcx
jne LBB13_14
## %bb.16: ## in Loop: Header=BB13_6 Depth=1
movq %rsi, %r15
jmp LBB13_18
LBB13_21:
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, %eax
sarl $16, %eax
xorl %ecx, %eax
imull $4093, %eax, %eax ## imm = 0xFFD
shrl $12, %eax
andl $16383, %eax ## imm = 0x3FFF
leaq (%rdi,%rax,2), %rsi
addq $2756648, %rsi ## imm = 0x2A1028
xorl %edx, %edx
movl $1024, %ebx ## imm = 0x400
LBB13_22: ## =>This Loop Header: Depth=1
## Child Loop BB13_23 Depth 2
## Child Loop BB13_30 Depth 2
## Child Loop BB13_35 Depth 2
movzwl (%rsi), %r9d
negl %ebx
.p2align 4, 0x90
LBB13_23: ## Parent Loop BB13_22 Depth=1
## => This Inner Loop Header: Depth=2
incl %ebx
cmpl $1, %ebx
je LBB13_41
## %bb.24: ## in Loop: Header=BB13_23 Depth=2
movq 2101288(%rdi,%r9,8), %rsi
testq %rsi, %rsi
je LBB13_23
## %bb.25: ## in Loop: Header=BB13_22 Depth=1
movl %r12d, %r14d
subl %esi, %r14d
cmpl %r14d, %edx
jge LBB13_41
## %bb.26: ## in Loop: Header=BB13_22 Depth=1
cmpl %r14d, %r10d
jl LBB13_41
## %bb.27: ## in Loop: Header=BB13_22 Depth=1
cmpq %r13, -56(%rbp) ## 8-byte Folded Reload
jbe LBB13_29
## %bb.28: ## in Loop: Header=BB13_22 Depth=1
movq %r12, %rcx
cmpq %r13, %rcx
jb LBB13_34
jmp LBB13_40
LBB13_29: ## in Loop: Header=BB13_22 Depth=1
movq %r12, %rdx
.p2align 4, 0x90
LBB13_30: ## Parent Loop BB13_22 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx), %eax
cmpl (%rsi), %eax
jne LBB13_31
## %bb.32: ## in Loop: Header=BB13_30 Depth=2
addq $4, %rsi
leaq 4(%rdx), %rcx
addq $8, %rdx
cmpq %r13, %rdx
movq %rcx, %rdx
jbe LBB13_30
## %bb.33: ## in Loop: Header=BB13_22 Depth=1
cmpq %r13, %rcx
jb LBB13_34
jmp LBB13_40
LBB13_31: ## in Loop: Header=BB13_22 Depth=1
movq %rdx, %rcx
cmpq %r13, %rcx
jae LBB13_40
LBB13_34: ## in Loop: Header=BB13_22 Depth=1
movq %r13, %r10
subq %rcx, %r10
leaq (%rcx,%r10), %r15
xorl %edx, %edx
.p2align 4, 0x90
LBB13_35: ## Parent Loop BB13_22 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rcx,%rdx), %eax
cmpb (%rsi,%rdx), %al
jne LBB13_38
## %bb.36: ## in Loop: Header=BB13_35 Depth=2
incq %rdx
cmpq %rdx, %r10
jne LBB13_35
## %bb.37: ## in Loop: Header=BB13_22 Depth=1
movq %r15, %rcx
jmp LBB13_39
LBB13_38: ## in Loop: Header=BB13_22 Depth=1
addq %rdx, %rcx
LBB13_39: ## in Loop: Header=BB13_22 Depth=1
movl -44(%rbp), %r10d ## 4-byte Reload
LBB13_40: ## in Loop: Header=BB13_22 Depth=1
negl %ebx
subl %r12d, %ecx
cmpl %ecx, %r8d
setl %al
cmpl %r14d, %r10d
setg %dl
testb %dl, %al
cmovel %r8d, %ecx
cmovnel %r14d, %r11d
leaq (%rdi,%r9,2), %rsi
addq $2625576, %rsi ## imm = 0x281028
movl %ecx, %r8d
movl %r14d, %edx
jmp LBB13_22
LBB13_41:
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, 2789736(%rdi)
movq 2789744(%rdi), %rax
movq %rax, 2789752(%rdi)
movq %r12, 2789728(%rdi)
movl %r8d, 2789744(%rdi)
movl %r11d, 2789748(%rdi)
movq -72(%rbp), %rax ## 8-byte Reload
movl %r8d, (%rax)
movq -80(%rbp), %rax ## 8-byte Reload
movl %r11d, (%rax)
movb $1, %al
cmpl $3, %r8d
jg LBB13_45
## %bb.42:
xorl %eax, %eax
cmpl $3, %r8d
jne LBB13_45
## %bb.43:
cmpl $511, %r11d ## imm = 0x1FF
jg LBB13_45
## %bb.44:
cmpb $3, 2101276(%rdi)
sete %al
jmp LBB13_45
LBB13_1:
movl 2789752(%rdi), %eax
movl 2789756(%rdi), %esi
jmp LBB13_2
LBB13_4:
movl 2789744(%rdi), %eax
movl 2789748(%rdi), %esi
LBB13_2:
movl %eax, (%rcx)
movl %esi, (%r8)
cmpl $4, %eax
setge %dl
cmpl $3, %eax
sete %bl
cmpl $512, %esi ## imm = 0x200
setl %al
andb %bl, %al
orb %dl, %al
LBB13_45:
movzbl %al, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _tgvlz_log2u ## -- Begin function tgvlz_log2u
.p2align 4, 0x90
_tgvlz_log2u: ## @tgvlz_log2u
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testl %edi, %edi
je LBB14_3
## %bb.1:
movl %edi, %ecx
.p2align 4, 0x90
LBB14_2: ## =>This Inner Loop Header: Depth=1
incl %eax
sarl %ecx
cmpl $1, %edi
movl %ecx, %edi
ja LBB14_2
LBB14_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_EstRawCost ## -- Begin function TgvLz_EstRawCost
.p2align 4, 0x90
_TgvLz_EstRawCost: ## @TgvLz_EstRawCost
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
cmpb $4, 2101276(%rdi)
jne LBB15_1
## %bb.3:
leal 1(%rsi), %eax
cmpl $15, %esi
jl LBB15_7
## %bb.4:
cmpl $270, %esi ## imm = 0x10E
jb LBB15_6
## %bb.5:
cmpl $524, %esi ## imm = 0x20C
movl $524, %eax ## imm = 0x20C
cmovll %esi, %eax
negl %eax
addl %esi, %eax
addl $254, %eax
movl $2155905153, %ecx ## imm = 0x80808081
imulq %rax, %rcx
shrq $39, %rcx
leal (%rcx,%rsi), %eax
addl $2, %eax
LBB15_6:
incl %eax
LBB15_7:
addl $3, %eax
popq %rbp
retq
LBB15_1:
cmpl $4096, %esi ## imm = 0x1000
jl LBB15_2
## %bb.8:
cmpl $8191, %esi ## imm = 0x1FFF
movl $8191, %eax ## imm = 0x1FFF
cmovll %esi, %eax
negl %eax
leal (%rsi,%rax), %ecx
addl $4095, %ecx ## imm = 0xFFF
movl %ecx, %eax
shrl $12, %eax
leal (%rsi,%rax,2), %eax
addl $2, %eax
andl $-4096, %ecx ## imm = 0xF000
negl %ecx
addl %ecx, %esi
addl $-4096, %esi ## imm = 0xF000
jmp LBB15_9
LBB15_2:
movl %esi, %eax
LBB15_9:
leal 2(%rax), %ecx
movl %esi, %edx
andl $7, %edx
cmpl $136, %esi
cmovll %esi, %edx
cmovll %eax, %ecx
xorl %eax, %eax
cmpl $8, %edx
setge %al
addl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_EstMatchCost ## -- Begin function TgvLz_EstMatchCost
.p2align 4, 0x90
_TgvLz_EstMatchCost: ## @TgvLz_EstMatchCost
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edx killed $edx def $rdx
## kill: def $esi killed $esi def $rsi
cmpb $4, 2101276(%rdi)
jne LBB16_9
## %bb.1:
leal 1(%rsi), %eax
cmpl $15, %esi
jl LBB16_5
## %bb.2:
cmpl $270, %esi ## imm = 0x10E
jb LBB16_4
## %bb.3:
cmpl $524, %esi ## imm = 0x20C
movl $524, %eax ## imm = 0x20C
cmovll %esi, %eax
negl %eax
addl %esi, %eax
addl $254, %eax
movl $2155905153, %ecx ## imm = 0x80808081
imulq %rax, %rcx
shrq $39, %rcx
leal (%rcx,%rsi), %eax
addl $2, %eax
LBB16_4:
incl %eax
LBB16_5:
cmpl $19, %edx
jl LBB16_24
## %bb.6:
cmpl $274, %edx ## imm = 0x112
jb LBB16_8
## %bb.7:
cmpl $528, %edx ## imm = 0x210
movl $528, %ecx ## imm = 0x210
cmovll %edx, %ecx
negl %ecx
addl %edx, %ecx
addl $254, %ecx
movl $2155905153, %edx ## imm = 0x80808081
imulq %rcx, %rdx
shrq $39, %rdx
addl %edx, %eax
incl %eax
LBB16_8:
incl %eax
LBB16_24:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB16_9:
cmpl $4096, %esi ## imm = 0x1000
jl LBB16_11
## %bb.10:
cmpl $8191, %esi ## imm = 0x1FFF
movl $8191, %eax ## imm = 0x1FFF
cmovll %esi, %eax
negl %eax
leal (%rsi,%rax), %edi
addl $4095, %edi ## imm = 0xFFF
movl %edi, %eax
shrl $12, %eax
leal (%rsi,%rax,2), %eax
addl $2, %eax
andl $-4096, %edi ## imm = 0xF000
negl %edi
addl %edi, %esi
addl $-4096, %esi ## imm = 0xF000
jmp LBB16_12
LBB16_11:
movl %esi, %eax
LBB16_12:
movl %esi, %edi
andl $7, %edi
cmpl $136, %esi
cmovll %esi, %edi
leal 2(%rax), %esi
cmovll %eax, %esi
xorl %eax, %eax
cmpl $8, %edi
setge %al
addl %esi, %eax
cmpl $10, %edx
jg LBB16_15
## %bb.13:
cmpl $511, %ecx ## imm = 0x1FF
jg LBB16_15
## %bb.14:
addl $2, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB16_15:
cmpl $67, %edx
jg LBB16_18
## %bb.16:
cmpl $8191, %ecx ## imm = 0x1FFF
jg LBB16_18
## %bb.17:
addl $3, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB16_18:
cmpl $515, %edx ## imm = 0x203
jg LBB16_21
## %bb.19:
cmpl $131071, %ecx ## imm = 0x1FFFF
jg LBB16_21
## %bb.20:
addl $4, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB16_21:
cmpl $16383, %edx ## imm = 0x3FFF
jg LBB16_24
## %bb.22:
cmpl $4194303, %ecx ## imm = 0x3FFFFF
jg LBB16_24
## %bb.23:
xorl %esi, %esi
cmpl $128, %edx
setl %sil
xorl %edx, %edx
cmpl $32768, %ecx ## imm = 0x8000
setl %dl
addl %esi, %edx
subl %edx, %eax
addl $6, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_LookupMatchB ## -- Begin function TgvLz_LookupMatchB
.p2align 4, 0x90
_TgvLz_LookupMatchB: ## @TgvLz_LookupMatchB
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r12
movq %r8, -112(%rbp) ## 8-byte Spill
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r13
leaq -88(%rbp), %rcx
leaq -84(%rbp), %r8
movq %rdx, -104(%rbp) ## 8-byte Spill
callq _TgvLz_LookupMatch
movl %eax, -64(%rbp) ## 4-byte Spill
movq %r15, -96(%rbp) ## 8-byte Spill
## kill: def $r15d killed $r15d killed $r15 def $r15
subl %ebx, %r15d
movl -88(%rbp), %ebx
movl -84(%rbp), %r14d
movq %r13, %rdi
movl %r15d, %esi
movl %ebx, %edx
movl %r14d, %ecx
callq _TgvLz_EstMatchCost
movq %rbx, -80(%rbp) ## 8-byte Spill
leal (%rbx,%r15), %edi
cmpb $4, 2101276(%r13)
jne LBB17_1
## %bb.3:
leal 1(%rdi), %ecx
cmpl $15, %edi
jl LBB17_7
## %bb.4:
cmpl $270, %edi ## imm = 0x10E
jb LBB17_6
## %bb.5:
cmpl $524, %edi ## imm = 0x20C
movl $524, %ecx ## imm = 0x20C
cmovll %edi, %ecx
negl %ecx
addl %edi, %ecx
addl $254, %ecx
movl $2155905153, %edx ## imm = 0x80808081
imulq %rcx, %rdx
shrq $39, %rdx
leal (%rdi,%rdx), %ecx
addl $2, %ecx
LBB17_6:
incl %ecx
LBB17_7:
movq %r12, %rbx
addl $3, %ecx
jmp LBB17_10
LBB17_1:
cmpl $4096, %edi ## imm = 0x1000
jl LBB17_2
## %bb.8:
cmpl $8191, %edi ## imm = 0x1FFF
movl $8191, %ecx ## imm = 0x1FFF
cmovll %edi, %ecx
negl %ecx
leal (%rdi,%rcx), %edx
addl $4095, %edx ## imm = 0xFFF
movl %edx, %ecx
shrl $12, %ecx
leal (%rdi,%rcx,2), %ecx
addl $2, %ecx
andl $-4096, %edx ## imm = 0xF000
negl %edx
addl %edx, %edi
addl $-4096, %edi ## imm = 0xF000
jmp LBB17_9
LBB17_2:
movl %edi, %ecx
LBB17_9:
movq %r12, %rbx
leal 2(%rcx), %edx
movl %edi, %esi
andl $7, %esi
cmpl $136, %edi
cmovll %edi, %esi
cmovll %ecx, %edx
xorl %ecx, %ecx
cmpl $8, %esi
setge %cl
addl %edx, %ecx
LBB17_10:
xorl %r12d, %r12d
cmpl %ecx, %eax
jge LBB17_20
## %bb.11:
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
je LBB17_20
## %bb.12:
movl %eax, -68(%rbp) ## 4-byte Spill
movl %r14d, -48(%rbp) ## 4-byte Spill
movq %rbx, -64(%rbp) ## 8-byte Spill
leal 1(%r15), %ebx
movq -96(%rbp), %rax ## 8-byte Reload
leaq 1(%rax), %rsi
leaq -56(%rbp), %rcx
leaq -52(%rbp), %r8
movq %r13, %rdi
movq -104(%rbp), %rdx ## 8-byte Reload
callq _TgvLz_LookupMatch
movl -56(%rbp), %r14d
testl %eax, %eax
je LBB17_13
## %bb.14:
movq -80(%rbp), %rax ## 8-byte Reload
incl %eax
cmpl %eax, %r14d
setg -42(%rbp) ## 1-byte Folded Spill
movl %ebx, %eax
xorl %r15d, %eax
cmpl $8, %eax
setb -41(%rbp) ## 1-byte Folded Spill
movl -52(%rbp), %ecx
movq %r13, %rdi
movl %ebx, %esi
movl %r14d, %edx
callq _TgvLz_EstMatchCost
subl %r14d, %eax
movl -68(%rbp), %ecx ## 4-byte Reload
subl -80(%rbp), %ecx ## 4-byte Folded Reload
cmpl %ecx, %eax
jle LBB17_19
## %bb.15:
movb -41(%rbp), %al ## 1-byte Reload
andb %al, -42(%rbp) ## 1-byte Folded Spill
movq -64(%rbp), %rbx ## 8-byte Reload
movl -48(%rbp), %r14d ## 4-byte Reload
je LBB17_16
jmp LBB17_20
LBB17_13:
movl -52(%rbp), %ecx
movq %r13, %rdi
movl %ebx, %esi
movl %r14d, %edx
callq _TgvLz_EstMatchCost
LBB17_16:
addl $2, %r15d
movq -96(%rbp), %rsi ## 8-byte Reload
addq $2, %rsi
leaq -56(%rbp), %rcx
leaq -52(%rbp), %r8
movq %r13, %rdi
movq -104(%rbp), %rdx ## 8-byte Reload
callq _TgvLz_LookupMatch
movl %eax, %ebx
movl -56(%rbp), %r14d
movl -52(%rbp), %ecx
movq %r13, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq _TgvLz_EstMatchCost
testl %ebx, %ebx
je LBB17_17
## %bb.18:
subl %r14d, %eax
movl -68(%rbp), %ecx ## 4-byte Reload
subl -80(%rbp), %ecx ## 4-byte Folded Reload
xorl %r12d, %r12d
cmpl %ecx, %eax
setge %r12b
jmp LBB17_19
LBB17_17:
movl $1, %r12d
LBB17_19:
movq -64(%rbp), %rbx ## 8-byte Reload
movl -48(%rbp), %r14d ## 4-byte Reload
LBB17_20:
movq -112(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movl %ecx, (%rax)
movl %r14d, (%rbx)
movl %r12d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_MatchCopy ## -- Begin function TgvLz_MatchCopy
.p2align 4, 0x90
_TgvLz_MatchCopy: ## @TgvLz_MatchCopy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rax
subq %rsi, %rax
cmpl $7, %eax
jg LBB18_16
## %bb.1:
cmpl $4, %eax
je LBB18_10
## %bb.2:
cmpl $2, %eax
je LBB18_7
## %bb.3:
cmpl $1, %eax
jne LBB18_13
## %bb.4:
testl %edx, %edx
jle LBB18_19
## %bb.5:
movzbl (%rsi), %eax
movq %rax, %rcx
shlq $8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shlq $16, %rsi
orq %rcx, %rsi
movq %rsi, %rax
shlq $32, %rax
orq %rsi, %rax
movslq %edx, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB18_6: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdi)
addq $8, %rdi
cmpq %rcx, %rdi
jb LBB18_6
jmp LBB18_19
LBB18_16:
testl %edx, %edx
jle LBB18_19
## %bb.17:
movslq %edx, %rax
addq %rdi, %rax
.p2align 4, 0x90
LBB18_18: ## =>This Inner Loop Header: Depth=1
movq (%rsi), %rcx
movq %rcx, (%rdi)
addq $8, %rdi
addq $8, %rsi
cmpq %rax, %rdi
jb LBB18_18
jmp LBB18_19
LBB18_10:
testl %edx, %edx
jle LBB18_19
## %bb.11:
movl (%rsi), %ecx
movq %rcx, %rax
shlq $32, %rax
orq %rcx, %rax
movslq %edx, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB18_12: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdi)
addq $8, %rdi
cmpq %rcx, %rdi
jb LBB18_12
jmp LBB18_19
LBB18_7:
testl %edx, %edx
jle LBB18_19
## %bb.8:
movzwl (%rsi), %eax
movq %rax, %rcx
shlq $16, %rcx
orq %rax, %rcx
movq %rcx, %rax
shlq $32, %rax
orq %rcx, %rax
movslq %edx, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB18_9: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdi)
addq $8, %rdi
cmpq %rcx, %rdi
jb LBB18_9
jmp LBB18_19
LBB18_13:
testl %edx, %edx
jle LBB18_19
## %bb.14:
movq (%rsi), %rcx
movslq %edx, %rdx
addq %rdi, %rdx
cltq
.p2align 4, 0x90
LBB18_15: ## =>This Inner Loop Header: Depth=1
movq %rcx, (%rdi)
addq %rax, %rdi
cmpq %rdx, %rdi
jb LBB18_15
LBB18_19:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_MatchCopy2 ## -- Begin function TgvLz_MatchCopy2
.p2align 4, 0x90
_TgvLz_MatchCopy2: ## @TgvLz_MatchCopy2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $7, %edx
jg LBB19_16
## %bb.1:
cmpl $4, %edx
je LBB19_10
## %bb.2:
cmpl $2, %edx
je LBB19_7
## %bb.3:
cmpl $1, %edx
jne LBB19_13
## %bb.4:
testl %esi, %esi
jle LBB19_20
## %bb.5:
movzbl -1(%rdi), %eax
movq %rax, %rcx
shlq $8, %rcx
orq %rax, %rcx
movq %rcx, %rdx
shlq $16, %rdx
orq %rcx, %rdx
movq %rdx, %rax
shlq $32, %rax
orq %rdx, %rax
movslq %esi, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB19_6: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdi)
addq $8, %rdi
cmpq %rcx, %rdi
jb LBB19_6
jmp LBB19_20
LBB19_16:
cmpl $16, %esi
jg LBB19_18
## %bb.17:
movl %edx, %eax
movq %rdi, %rcx
subq %rax, %rcx
movq (%rcx), %rax
movq %rax, (%rdi)
movq 8(%rcx), %rax
movq %rax, 8(%rdi)
popq %rbp
retq
LBB19_18:
movl %esi, %eax
addq %rdi, %rax
movl %edx, %edx
movl $8, %ecx
subq %rdx, %rcx
.p2align 4, 0x90
LBB19_19: ## =>This Inner Loop Header: Depth=1
movq -8(%rdi,%rcx), %rdx
movq %rdx, (%rdi)
movq (%rdi,%rcx), %rdx
movq %rdx, 8(%rdi)
addq $16, %rdi
cmpq %rax, %rdi
jb LBB19_19
jmp LBB19_20
LBB19_10:
testl %esi, %esi
jle LBB19_20
## %bb.11:
movl -4(%rdi), %ecx
movq %rcx, %rax
shlq $32, %rax
orq %rcx, %rax
movslq %esi, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB19_12: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdi)
addq $8, %rdi
cmpq %rcx, %rdi
jb LBB19_12
jmp LBB19_20
LBB19_7:
testl %esi, %esi
jle LBB19_20
## %bb.8:
movzwl -2(%rdi), %eax
movq %rax, %rcx
shlq $16, %rcx
orq %rax, %rcx
movq %rcx, %rax
shlq $32, %rax
orq %rcx, %rax
movslq %esi, %rcx
addq %rdi, %rcx
.p2align 4, 0x90
LBB19_9: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rdi)
addq $8, %rdi
cmpq %rcx, %rdi
jb LBB19_9
jmp LBB19_20
LBB19_13:
testl %esi, %esi
jle LBB19_20
## %bb.14:
movslq %edx, %rax
movq %rdi, %rcx
subq %rax, %rcx
movq (%rcx), %rcx
movslq %esi, %rdx
addq %rdi, %rdx
.p2align 4, 0x90
LBB19_15: ## =>This Inner Loop Header: Depth=1
movq %rcx, (%rdi)
addq %rax, %rdi
cmpq %rdx, %rdi
jb LBB19_15
LBB19_20:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_RawCopy ## -- Begin function TgvLz_RawCopy
.p2align 4, 0x90
_TgvLz_RawCopy: ## @TgvLz_RawCopy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $9, %edx
jl LBB20_3
## %bb.1:
movl %edx, %eax
addq %rdi, %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB20_2: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%rcx), %rdx
movq %rdx, (%rdi,%rcx)
movq 8(%rsi,%rcx), %rdx
movq %rdx, 8(%rdi,%rcx)
leaq (%rdi,%rcx), %rdx
addq $16, %rdx
addq $16, %rcx
cmpq %rax, %rdx
jb LBB20_2
LBB20_5:
popq %rbp
retq
LBB20_3:
testl %edx, %edx
je LBB20_5
## %bb.4:
movq (%rsi), %rax
movq %rax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_RawCopyB ## -- Begin function TgvLz_RawCopyB
.p2align 4, 0x90
_TgvLz_RawCopyB: ## @TgvLz_RawCopyB
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
jle LBB21_3
## %bb.1:
movslq %edx, %rax
addq %rdi, %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB21_2: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%rcx), %rdx
movq %rdx, (%rdi,%rcx)
movq 8(%rsi,%rcx), %rdx
movq %rdx, 8(%rdi,%rcx)
leaq (%rdi,%rcx), %rdx
addq $16, %rdx
addq $16, %rcx
cmpq %rax, %rdx
jb LBB21_2
LBB21_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_EncodeBufferRP2 ## -- Begin function TgvLz_EncodeBufferRP2
.p2align 4, 0x90
_TgvLz_EncodeBufferRP2: ## @TgvLz_EncodeBufferRP2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rsi, 2101280(%rdi)
testl %ecx, %ecx
movq %rdx, -96(%rbp) ## 8-byte Spill
jle LBB22_46
## %bb.1:
movq %rdi, %r12
movslq %ecx, %r13
addq %r14, %r13
movq %rdx, -48(%rbp) ## 8-byte Spill
LBB22_2: ## =>This Loop Header: Depth=1
## Child Loop BB22_3 Depth 2
## Child Loop BB22_7 Depth 2
## Child Loop BB22_10 Depth 2
## Child Loop BB22_13 Depth 2
## Child Loop BB22_15 Depth 2
## Child Loop BB22_32 Depth 2
movq %r14, %r15
xorl %r14d, %r14d
movl %r15d, %ebx
movq %r15, %rdi
movq %r15, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB22_3: ## Parent Loop BB22_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rdi, -64(%rbp) ## 8-byte Spill
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq -80(%rbp), %rcx ## 8-byte Reload
leaq -52(%rbp), %r8
leaq -56(%rbp), %r9
callq _TgvLz_LookupMatchB
testl %eax, %eax
jne LBB22_5
## %bb.4: ## in Loop: Header=BB22_3 Depth=2
movl 2101280(%r12), %ecx
movq -64(%rbp), %rdi ## 8-byte Reload
movl %edi, %eax
subl %ecx, %eax
movzwl %ax, %esi
imull $4093, (%r15), %edx ## imm = 0xFFD
shrl $12, %edx
andl $4095, %edx ## imm = 0xFFF
movzbl 2097152(%r12,%rdx), %ecx
decb %cl
andb $63, %cl
movzbl %cl, %ecx
movb %cl, 2097152(%r12,%rdx)
shll $6, %edx
orl %ecx, %edx
movq %r15, (%r12,%rdx,8)
movl (%r15), %ecx
movl %ecx, %edx
sarl $16, %edx
xorl %ecx, %edx
imull $4093, %edx, %ecx ## imm = 0xFFD
shrl $12, %ecx
andl $16383, %ecx ## imm = 0x3FFF
movq %r15, 2101288(%r12,%rsi,8)
movzwl 2756648(%r12,%rcx,2), %edx
movw %dx, 2625576(%r12,%rsi,2)
movw %ax, 2756648(%r12,%rcx,2)
incq %r15
decl %r14d
incq %rdi
incl %ebx
cmpq %r13, %r15
jb LBB22_3
jmp LBB22_45
.p2align 4, 0x90
LBB22_5: ## in Loop: Header=BB22_2 Depth=1
movq %r13, -88(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %r14, %r8
negl %r8d
movl $0, %ecx
jae LBB22_8
## %bb.6: ## in Loop: Header=BB22_2 Depth=1
xorl %ecx, %ecx
movl %r8d, %edx
movl %r8d, %esi
.p2align 4, 0x90
LBB22_7: ## Parent Loop BB22_2 Depth=1
## => This Inner Loop Header: Depth=2
incl %ecx
sarl %esi
cmpl $1, %edx
movl %esi, %edx
ja LBB22_7
LBB22_8: ## in Loop: Header=BB22_2 Depth=1
movslq %ecx, %rcx
incl 2789632(%r12,%rcx,4)
movl -52(%rbp), %ecx
testl %ecx, %ecx
movq -48(%rbp), %rsi ## 8-byte Reload
movl $512, %edi ## imm = 0x200
movq -80(%rbp), %r14 ## 8-byte Reload
je LBB22_11
## %bb.9: ## in Loop: Header=BB22_2 Depth=1
xorl %eax, %eax
movl %ecx, %edx
.p2align 4, 0x90
LBB22_10: ## Parent Loop BB22_2 Depth=1
## => This Inner Loop Header: Depth=2
incl %eax
sarl %edx
cmpl $1, %ecx
movl %edx, %ecx
ja LBB22_10
LBB22_11: ## in Loop: Header=BB22_2 Depth=1
cltq
incl 2789440(%r12,%rax,4)
movl -56(%rbp), %ecx
xorl %eax, %eax
testl %ecx, %ecx
je LBB22_14
## %bb.12: ## in Loop: Header=BB22_2 Depth=1
movl %ecx, %edx
.p2align 4, 0x90
LBB22_13: ## Parent Loop BB22_2 Depth=1
## => This Inner Loop Header: Depth=2
incl %eax
sarl %edx
cmpl $1, %ecx
movl %edx, %ecx
ja LBB22_13
LBB22_14: ## in Loop: Header=BB22_2 Depth=1
cltq
movq %r12, -72(%rbp) ## 8-byte Spill
incl 2789536(%r12,%rax,4)
cmpl $136, %r8d
jl LBB22_16
.p2align 4, 0x90
LBB22_15: ## Parent Loop BB22_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r8d, %eax
shrl $3, %eax
cmpl $512, %eax ## imm = 0x200
cmovgel %edi, %eax
leal (,%rax,8), %ebx
shll $7, %eax
movq %rsi, %r12
leaq 2(%rsi), %rdi
addl $-65, %eax
movw %ax, (%rsi)
movq %r14, %rsi
movq %rbx, %rdx
movq %r14, %r13
movq %r8, %r14
callq _memcpy
movl $512, %edi ## imm = 0x200
movq %r14, %r8
movq %r13, %r14
movq %r12, %rsi
leaq (%r12,%rbx), %rsi
addq $2, %rsi
addq %rbx, %r14
subl %ebx, %r8d
cmpl $135, %r8d
jg LBB22_15
LBB22_16: ## in Loop: Header=BB22_2 Depth=1
cmpl $8, %r8d
jl LBB22_18
## %bb.17: ## in Loop: Header=BB22_2 Depth=1
movl %r8d, %r13d
andl $7, %r13d
movl %r8d, %ebx
andl $-8, %ebx
addb %r8b, %r8b
addb $-16, %r8b
andb $-16, %r8b
orb $7, %r8b
movq %rsi, %r12
leaq 1(%rsi), %rdi
movb %r8b, (%rsi)
movq %r14, %rsi
movq %rbx, %rdx
callq _memcpy
movq %r12, %rsi
leaq (%r12,%rbx), %rsi
incq %rsi
addq %rbx, %r14
movl %r13d, %r8d
LBB22_18: ## in Loop: Header=BB22_2 Depth=1
movl -52(%rbp), %ecx
movl -56(%rbp), %ebx
cmpl $10, %ecx
jg LBB22_21
## %bb.19: ## in Loop: Header=BB22_2 Depth=1
cmpl $511, %ebx ## imm = 0x1FF
jg LBB22_21
## %bb.20: ## in Loop: Header=BB22_2 Depth=1
shll $7, %ebx
shll $4, %ecx
addl $-48, %ecx
leal (%r8,%r8), %edx
orl %ecx, %edx
orl %ebx, %edx
movq %rsi, %rbx
leaq 2(%rsi), %rdi
movw %dx, (%rsi)
movslq %r8d, %r12
movq %r14, %rsi
movq %r12, %rdx
callq _memcpy
addq %r12, %rbx
addq $2, %rbx
movq %rbx, -48(%rbp) ## 8-byte Spill
jmp LBB22_28
.p2align 4, 0x90
LBB22_21: ## in Loop: Header=BB22_2 Depth=1
cmpl $67, %ecx
jg LBB22_24
## %bb.22: ## in Loop: Header=BB22_2 Depth=1
cmpl $8191, %ebx ## imm = 0x1FFF
jg LBB22_24
## %bb.23: ## in Loop: Header=BB22_2 Depth=1
shll $11, %ebx
shll $5, %ecx
addl $-128, %ecx
leal (,%r8,4), %edx
orl %ecx, %edx
orl %edx, %ebx
orb $1, %dl
movb %dl, (%rsi)
movb %bh, 1(%rsi)
shrl $16, %ebx
movq %rsi, %r13
leaq 3(%rsi), %rdi
movb %bl, 2(%rsi)
movslq %r8d, %r12
movq %r14, %rsi
movq %r12, %rdx
callq _memcpy
addq %r12, %r13
addq $3, %r13
jmp LBB22_27
LBB22_24: ## in Loop: Header=BB22_2 Depth=1
cmpl $515, %ecx ## imm = 0x203
jg LBB22_34
## %bb.25: ## in Loop: Header=BB22_2 Depth=1
cmpl $131071, %ebx ## imm = 0x1FFFF
jg LBB22_34
## %bb.26: ## in Loop: Header=BB22_2 Depth=1
shll $15, %ebx
shll $6, %ecx
addl $-256, %ecx
leal (,%r8,8), %edx
orl %ecx, %edx
orl %edx, %ebx
orb $3, %dl
movb %dl, (%rsi)
movb %bh, 1(%rsi)
movl %ebx, %ecx
shrl $16, %ecx
movb %cl, 2(%rsi)
shrl $24, %ebx
movq %rsi, %r13
leaq 4(%rsi), %rdi
movb %bl, 3(%rsi)
movslq %r8d, %r12
movq %r14, %rsi
movq %r12, %rdx
callq _memcpy
addq %r12, %r13
addq $4, %r13
LBB22_27: ## in Loop: Header=BB22_2 Depth=1
movq %r13, -48(%rbp) ## 8-byte Spill
LBB22_28: ## in Loop: Header=BB22_2 Depth=1
movq -72(%rbp), %r12 ## 8-byte Reload
LBB22_29: ## in Loop: Header=BB22_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
LBB22_30: ## in Loop: Header=BB22_2 Depth=1
movslq -52(%rbp), %r8
leaq (%r15,%r8), %r14
testq %r8, %r8
jle LBB22_33
## %bb.31: ## in Loop: Header=BB22_2 Depth=1
subq 2101280(%r12), %rax
movq %r15, %rcx
.p2align 4, 0x90
LBB22_32: ## Parent Loop BB22_2 Depth=1
## => This Inner Loop Header: Depth=2
imull $4093, (%rcx), %esi ## imm = 0xFFD
movzwl %ax, %edx
shrl $12, %esi
andl $4095, %esi ## imm = 0xFFF
movzbl 2097152(%r12,%rsi), %ebx
decb %bl
andb $63, %bl
movzbl %bl, %edi
movb %dil, 2097152(%r12,%rsi)
shll $6, %esi
orl %edi, %esi
movq %rcx, (%r12,%rsi,8)
movl (%rcx), %esi
movl %esi, %edi
sarl $16, %edi
xorl %esi, %edi
imull $4093, %edi, %esi ## imm = 0xFFD
shrl $12, %esi
andl $16383, %esi ## imm = 0x3FFF
movq %rcx, 2101288(%r12,%rdx,8)
movzwl 2756648(%r12,%rsi,2), %edi
movw %di, 2625576(%r12,%rdx,2)
movw %dx, 2756648(%r12,%rsi,2)
incq %rcx
incq %rax
cmpq %r14, %rcx
jb LBB22_32
LBB22_33: ## in Loop: Header=BB22_2 Depth=1
movq -88(%rbp), %r13 ## 8-byte Reload
cmpq %r13, %r14
jb LBB22_2
jmp LBB22_53
LBB22_34: ## in Loop: Header=BB22_2 Depth=1
cmpl $16383, %ecx ## imm = 0x3FFF
movq -72(%rbp), %r12 ## 8-byte Reload
movq -64(%rbp), %rax ## 8-byte Reload
jg LBB22_39
## %bb.35: ## in Loop: Header=BB22_2 Depth=1
cmpl $4194303, %ebx ## imm = 0x3FFFFF
jg LBB22_39
## %bb.36: ## in Loop: Header=BB22_2 Depth=1
movl %r8d, %eax
shlb $5, %al
orb $15, %al
movb %al, (%rsi)
movl -56(%rbp), %eax
movl -52(%rbp), %edx
leal -4(%rdx), %ecx
cmpl $131, %edx
jg LBB22_40
## %bb.37: ## in Loop: Header=BB22_2 Depth=1
addb %cl, %cl
movb %cl, 1(%rsi)
addq $2, %rsi
jmp LBB22_41
LBB22_39: ## in Loop: Header=BB22_2 Depth=1
movq %rsi, -48(%rbp) ## 8-byte Spill
jmp LBB22_30
LBB22_40: ## in Loop: Header=BB22_2 Depth=1
leal (,%rcx,4), %edx
orb $1, %dl
movb %dl, 1(%rsi)
shrl $6, %ecx
movb %cl, 2(%rsi)
addq $3, %rsi
LBB22_41: ## in Loop: Header=BB22_2 Depth=1
movq %rsi, %rcx
cmpl $32767, %eax ## imm = 0x7FFF
jg LBB22_43
## %bb.42: ## in Loop: Header=BB22_2 Depth=1
addl %eax, %eax
movb %al, (%rcx)
leaq 2(%rcx), %rbx
jmp LBB22_44
LBB22_43: ## in Loop: Header=BB22_2 Depth=1
leal (,%rax,4), %edx
leal 1(%rdx), %esi
movb %sil, (%rcx)
shrl $14, %eax
leaq 3(%rcx), %rbx
movb %al, 2(%rcx)
movl %edx, %eax
LBB22_44: ## in Loop: Header=BB22_2 Depth=1
movb %ah, 1(%rcx)
movslq %r8d, %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq _memcpy
addq %r13, %rbx
movq %rbx, -48(%rbp) ## 8-byte Spill
jmp LBB22_29
LBB22_45:
movq -48(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %r14 ## 8-byte Reload
jmp LBB22_47
LBB22_46:
movq %r14, %r15
LBB22_47:
subl %r14d, %r15d
cmpl $9, %r15d
jl LBB22_50
## %bb.48:
movl $16, %r12d
.p2align 4, 0x90
LBB22_49: ## =>This Inner Loop Header: Depth=1
movl %r15d, %eax
shrl $3, %eax
cmpl $16, %eax
cmovgel %r12d, %eax
leal (,%rax,8), %r13d
shlb $4, %al
addb $-9, %al
movq %rdx, %rbx
leaq 1(%rdx), %rdi
movb %al, (%rdx)
movq %r14, %rsi
movq %r13, %rdx
callq _memcpy
movq %rbx, %rdx
leaq (%rbx,%r13), %rdx
incq %rdx
subl %r13d, %r15d
addq %r13, %r14
cmpl $8, %r15d
jg LBB22_49
LBB22_50:
testl %r15d, %r15d
je LBB22_52
.p2align 4, 0x90
LBB22_51: ## =>This Inner Loop Header: Depth=1
cmpl $3, %r15d
movl $3, %eax
cmovll %r15d, %eax
movslq %eax, %r12
## kill: def $al killed $al killed $eax
shlb $6, %al
orb $31, %al
movq %rdx, %rbx
leaq 1(%rdx), %rdi
movb %al, (%rdx)
movq %r14, %rsi
movq %r12, %rdx
callq _memcpy
movq %rbx, %rdx
leaq (%rbx,%r12), %rdx
incq %rdx
addq %r12, %r14
subl %r12d, %r15d
jne LBB22_51
LBB22_52:
movb $31, (%rdx)
subl -96(%rbp), %edx ## 4-byte Folded Reload
incl %edx
movl %edx, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB22_53:
addq %r8, %r15
movq %r15, %r14
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB22_47
.cfi_endproc
## -- End function
.globl _TgvLz_DecodeBufferRP2 ## -- Begin function TgvLz_DecodeBufferRP2
.p2align 4, 0x90
_TgvLz_DecodeBufferRP2: ## @TgvLz_DecodeBufferRP2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
xorl %r14d, %r14d
movq %rsi, %rax
movq %rsi, -48(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %r13d, %r13d
jmp LBB23_2
.p2align 4, 0x90
LBB23_1: ## in Loop: Header=BB23_2 Depth=1
addq %rdx, %r12
LBB23_2: ## =>This Loop Header: Depth=1
## Child Loop BB23_14 Depth 2
## Child Loop BB23_11 Depth 2
movq (%r12), %rdx
movq %rax, %rbx
testb $1, %dl
je LBB23_15
## %bb.3: ## in Loop: Header=BB23_2 Depth=1
testb $2, %dl
je LBB23_18
## %bb.4: ## in Loop: Header=BB23_2 Depth=1
testb $4, %dl
je LBB23_19
## %bb.5: ## in Loop: Header=BB23_2 Depth=1
testb $8, %dl
jne LBB23_6
## %bb.10: ## in Loop: Header=BB23_2 Depth=1
incq %r12
shrl %edx
andl $120, %edx
leal 8(%rdx), %r14d
leaq (%rbx,%rdx), %rax
addq $8, %rax
addq $8, %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB23_11: ## Parent Loop BB23_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12,%rcx), %rsi
movq %rsi, (%rbx,%rcx)
movq 8(%r12,%rcx), %rsi
movq %rsi, 8(%rbx,%rcx)
leaq (%rbx,%rcx), %rsi
addq $16, %rsi
addq $16, %rcx
cmpq %rax, %rsi
jb LBB23_11
jmp LBB23_1
.p2align 4, 0x90
LBB23_6: ## in Loop: Header=BB23_2 Depth=1
testb $16, %dl
je LBB23_20
## %bb.7: ## in Loop: Header=BB23_2 Depth=1
testb $32, %dl
jne LBB23_12
## %bb.8: ## in Loop: Header=BB23_2 Depth=1
shrl $6, %edx
movl %edx, %r14d
andl $3, %r14d
je LBB23_26
## %bb.9: ## in Loop: Header=BB23_2 Depth=1
movl 1(%r12), %eax
movl %eax, (%rbx)
movl %r14d, %eax
addq %rax, %r12
incq %r12
addq %rax, %rbx
movq %rbx, %rax
jmp LBB23_2
LBB23_12: ## in Loop: Header=BB23_2 Depth=1
testb $64, %dl
jne LBB23_17
## %bb.13: ## in Loop: Header=BB23_2 Depth=1
addq $2, %r12
shrl $4, %edx
andl $4088, %edx ## imm = 0xFF8
leal 8(%rdx), %r14d
leaq (%rbx,%rdx), %rax
addq $8, %rax
addq $8, %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB23_14: ## Parent Loop BB23_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12,%rcx), %rsi
movq %rsi, (%rbx,%rcx)
movq 8(%r12,%rcx), %rsi
movq %rsi, 8(%rbx,%rcx)
leaq (%rbx,%rcx), %rsi
addq $16, %rsi
addq $16, %rcx
cmpq %rax, %rsi
jb LBB23_14
jmp LBB23_1
LBB23_15: ## in Loop: Header=BB23_2 Depth=1
addq $2, %r12
movl %edx, %r14d
shrl %r14d
andl $7, %r14d
movl %edx, %r15d
shrl $4, %r15d
andl $7, %r15d
addl $3, %r15d
shrl $7, %edx
andl $511, %edx ## imm = 0x1FF
LBB23_16: ## in Loop: Header=BB23_2 Depth=1
movl %edx, %r13d
LBB23_17: ## in Loop: Header=BB23_2 Depth=1
movq (%r12), %rax
movq %rax, (%rbx)
movl %r14d, %eax
addq %rax, %r12
addq %rax, %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r13d, %edx
callq _TgvLz_MatchCopy2
movl %r15d, %eax
addq %rbx, %rax
jmp LBB23_2
LBB23_18: ## in Loop: Header=BB23_2 Depth=1
addq $3, %r12
movl %edx, %r14d
shrl $2, %r14d
andl $7, %r14d
movl %edx, %r15d
shrl $5, %r15d
andl $63, %r15d
addl $4, %r15d
shrl $11, %edx
andl $8191, %edx ## imm = 0x1FFF
jmp LBB23_16
LBB23_19: ## in Loop: Header=BB23_2 Depth=1
addq $4, %r12
movl %edx, %r14d
shrl $3, %r14d
andl $7, %r14d
movl %edx, %r15d
shrl $6, %r15d
andl $511, %r15d ## imm = 0x1FF
addl $4, %r15d
shrl $15, %edx
jmp LBB23_16
LBB23_20: ## in Loop: Header=BB23_2 Depth=1
movl %edx, %r14d
shrl $5, %r14d
movq %rdx, %r15
shrq $8, %r15
btl $8, %edx
jb LBB23_22
## %bb.21: ## in Loop: Header=BB23_2 Depth=1
movl $16, %eax
movl $127, %esi
movl $1, %ecx
jmp LBB23_23
LBB23_22: ## in Loop: Header=BB23_2 Depth=1
incq %r12
movl $24, %eax
movl $16383, %esi ## imm = 0x3FFF
movl $2, %ecx
LBB23_23: ## in Loop: Header=BB23_2 Depth=1
## kill: def $cl killed $cl killed $ecx
shrl %cl, %r15d
movq %rdx, %r13
movl %eax, %ecx
shrq %cl, %r13
andl $7, %r14d
andl %esi, %r15d
addl $4, %r15d
btl %eax, %edx
jb LBB23_25
## %bb.24: ## in Loop: Header=BB23_2 Depth=1
shrl %r13d
andl $32767, %r13d ## imm = 0x7FFF
addq $4, %r12
jmp LBB23_17
LBB23_25: ## in Loop: Header=BB23_2 Depth=1
shrl $2, %r13d
andl $4194303, %r13d ## imm = 0x3FFFFF
addq $5, %r12
jmp LBB23_17
LBB23_26:
subl -48(%rbp), %ebx ## 4-byte Folded Reload
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_EncodeBufferLZ4 ## -- Begin function TgvLz_EncodeBufferLZ4
.p2align 4, 0x90
_TgvLz_EncodeBufferLZ4: ## @TgvLz_EncodeBufferLZ4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, -48(%rbp) ## 8-byte Spill
movq %rsi, 2101280(%rdi)
testl %ecx, %ecx
jle LBB24_1
## %bb.2:
movslq %ecx, %rdx
addq %r13, %rdx
movq %r12, -112(%rbp) ## 8-byte Spill
movq %r12, %rax
LBB24_3: ## =>This Loop Header: Depth=1
## Child Loop BB24_4 Depth 2
## Child Loop BB24_9 Depth 2
## Child Loop BB24_12 Depth 2
## Child Loop BB24_16 Depth 2
## Child Loop BB24_30 Depth 2
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r13, %rcx
leal 239(%r13), %r8d
movl $-15, %r9d
xorl %eax, %eax
movq %r13, %rsi
movl %ecx, %r15d
xorl %edi, %edi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB24_4: ## Parent Loop BB24_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, -128(%rbp) ## 8-byte Spill
movl %r9d, -68(%rbp) ## 4-byte Spill
movq %r8, -120(%rbp) ## 8-byte Spill
movq %rdi, -96(%rbp) ## 8-byte Spill
movq %rsi, -88(%rbp) ## 8-byte Spill
leaq (%rcx,%rbx), %r14
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
movq %rcx, %r12
movq %rdx, %r13
leaq -56(%rbp), %r8
leaq -52(%rbp), %r9
callq _TgvLz_LookupMatchB
testl %eax, %eax
jne LBB24_7
## %bb.5: ## in Loop: Header=BB24_4 Depth=2
movq -48(%rbp), %rdi ## 8-byte Reload
movl 2101280(%rdi), %ecx
movl %r14d, %eax
subl %ecx, %eax
imull $4093, (%r12,%rbx), %ecx ## imm = 0xFFD
shrl $12, %ecx
andl $4095, %ecx ## imm = 0xFFF
movzbl 2097152(%rdi,%rcx), %edx
decb %dl
andb $63, %dl
movzbl %dl, %edx
movb %dl, 2097152(%rdi,%rcx)
shll $6, %ecx
orl %edx, %ecx
movq %r14, (%rdi,%rcx,8)
movl (%r12,%rbx), %ecx
movl %ecx, %edx
sarl $16, %edx
xorl %ecx, %edx
movzwl %ax, %ecx
imull $4093, %edx, %edx ## imm = 0xFFD
shrl $12, %edx
andl $16383, %edx ## imm = 0x3FFF
movq %r14, 2101288(%rdi,%rcx,8)
movzwl 2756648(%rdi,%rdx,2), %esi
movw %si, 2625576(%rdi,%rcx,2)
movw %ax, 2756648(%rdi,%rdx,2)
leaq (%r12,%rbx), %rdx
incq %rdx
incq %rbx
movq -120(%rbp), %r8 ## 8-byte Reload
incl %r8d
movl -68(%rbp), %r9d ## 4-byte Reload
incl %r9d
movabsq $4294967296, %rcx ## imm = 0x100000000
movq -96(%rbp), %rdi ## 8-byte Reload
addq %rcx, %rdi
movq -128(%rbp), %rax ## 8-byte Reload
addl $16, %eax
incl %r15d
movq -88(%rbp), %rsi ## 8-byte Reload
incq %rsi
cmpq %r13, %rdx
movq %r12, %rcx
movq %r13, %rdx
jb LBB24_4
jmp LBB24_6
.p2align 4, 0x90
LBB24_7: ## in Loop: Header=BB24_3 Depth=1
movq %r13, -104(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
movl $0, %eax
testl %ebx, %ebx
movq %rbx, %r8
je LBB24_10
## %bb.8: ## in Loop: Header=BB24_3 Depth=1
xorl %eax, %eax
movl %r8d, %edx
movl %r8d, %esi
.p2align 4, 0x90
LBB24_9: ## Parent Loop BB24_3 Depth=1
## => This Inner Loop Header: Depth=2
incl %eax
sarl %esi
cmpl $1, %edx
movl %esi, %edx
ja LBB24_9
LBB24_10: ## in Loop: Header=BB24_3 Depth=1
cltq
movq -48(%rbp), %rdx ## 8-byte Reload
incl 2789632(%rdx,%rax,4)
movl -56(%rbp), %eax
testl %eax, %eax
movq -64(%rbp), %rsi ## 8-byte Reload
je LBB24_13
## %bb.11: ## in Loop: Header=BB24_3 Depth=1
xorl %ecx, %ecx
movl %eax, %edx
movl %eax, %edi
.p2align 4, 0x90
LBB24_12: ## Parent Loop BB24_3 Depth=1
## => This Inner Loop Header: Depth=2
incl %ecx
sarl %edi
cmpl $1, %edx
movl %edi, %edx
ja LBB24_12
LBB24_13: ## in Loop: Header=BB24_3 Depth=1
movslq %ecx, %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
incl 2789440(%rdx,%rcx,4)
movl -52(%rbp), %edx
testl %edx, %edx
movq -128(%rbp), %rbx ## 8-byte Reload
je LBB24_14
## %bb.15: ## in Loop: Header=BB24_3 Depth=1
xorl %ecx, %ecx
movl %edx, %edi
.p2align 4, 0x90
LBB24_16: ## Parent Loop BB24_3 Depth=1
## => This Inner Loop Header: Depth=2
incl %ecx
sarl %edi
cmpl $1, %edx
movl %edi, %edx
ja LBB24_16
jmp LBB24_17
LBB24_14: ## in Loop: Header=BB24_3 Depth=1
xorl %ecx, %ecx
LBB24_17: ## in Loop: Header=BB24_3 Depth=1
movslq %ecx, %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
incl 2789536(%rdx,%rcx,4)
leal 12(%rax), %ecx
andl $15, %ecx
cmpl $15, %r8d
movl $240, %edx
cmovgel %edx, %ebx
cmpl $19, %eax
movl $15, %eax
cmovgel %eax, %ecx
orl %ebx, %ecx
movq -80(%rbp), %rax ## 8-byte Reload
leaq 1(%rax), %r13
movb %cl, (%rax)
cmpl $15, %r8d
jl LBB24_18
## %bb.19: ## in Loop: Header=BB24_3 Depth=1
cmpl $269, %r8d ## imm = 0x10D
jbe LBB24_20
## %bb.21: ## in Loop: Header=BB24_3 Depth=1
movl -68(%rbp), %ebx ## 4-byte Reload
cmpl $509, %ebx ## imm = 0x1FD
movl $509, %ecx ## imm = 0x1FD
cmovgel %ecx, %ebx
movl %r8d, %r15d
subl %ebx, %r15d
addl $239, %r15d
movl $2155905153, %ecx ## imm = 0x80808081
imulq %rcx, %r15
shrq $39, %r15
leaq 1(%r15), %rdx
movq %rax, %r12
movq %r13, %rdi
movl $255, %esi
movq %r8, %r13
callq _memset
movq -64(%rbp), %rsi ## 8-byte Reload
leaq (%r12,%r15), %rdx
addq $2, %rdx
addl %esi, %ebx
movq -120(%rbp), %rcx ## 8-byte Reload
subl %ebx, %ecx
movl $2155905153, %eax ## imm = 0x80808081
imulq %rax, %rcx
shrq $39, %rcx
movl %ecx, %eax
shll $8, %eax
subl %eax, %ecx
movq %r13, %r12
leal (%rcx,%r13), %eax
addl $-270, %eax ## imm = 0xFEF2
movq %rdx, %r13
jmp LBB24_22
.p2align 4, 0x90
LBB24_18: ## in Loop: Header=BB24_3 Depth=1
movq %r8, %r12
jmp LBB24_23
LBB24_20: ## in Loop: Header=BB24_3 Depth=1
movq %r8, %r12
leaq -15(%r8), %rax
LBB24_22: ## in Loop: Header=BB24_3 Depth=1
movb %al, (%r13)
incq %r13
LBB24_23: ## in Loop: Header=BB24_3 Depth=1
movq -96(%rbp), %rbx ## 8-byte Reload
sarq $32, %rbx
movq %r13, %rdi
movq %rbx, %rdx
callq _memcpy
movb -52(%rbp), %al
movb %al, (%r13,%rbx)
movb -51(%rbp), %cl
leaq (%rbx,%r13), %rax
addq $2, %rax
movb %cl, 1(%r13,%rbx)
movl -56(%rbp), %r15d
cmpl $19, %r15d
jl LBB24_24
## %bb.25: ## in Loop: Header=BB24_3 Depth=1
leal -19(%r15), %esi
cmpl $274, %r15d ## imm = 0x112
jb LBB24_27
## %bb.26: ## in Loop: Header=BB24_3 Depth=1
cmpl $509, %esi ## imm = 0x1FD
movl $509, %ecx ## imm = 0x1FD
cmovgel %ecx, %esi
negl %esi
movq %r13, -96(%rbp) ## 8-byte Spill
leal (%r15,%rsi), %r13d
addl $235, %r13d
movl $2155905153, %ecx ## imm = 0x80808081
imulq %rcx, %r13
shrq $39, %r13
leaq 1(%r13), %rdx
movq %rax, %rdi
movl $255, %esi
callq _memset
addq %r13, %rbx
movq -96(%rbp), %rax ## 8-byte Reload
addq %rbx, %rax
addq $3, %rax
movl %r13d, %ecx
shll $8, %ecx
subl %ecx, %r13d
leal (%r15,%r13), %esi
addl $-274, %esi ## imm = 0xFEEE
LBB24_27: ## in Loop: Header=BB24_3 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movq -104(%rbp), %rdx ## 8-byte Reload
movq %r12, %r9
movq -88(%rbp), %r10 ## 8-byte Reload
movb %sil, (%rax)
incq %rax
movl -56(%rbp), %r15d
jmp LBB24_28
.p2align 4, 0x90
LBB24_24: ## in Loop: Header=BB24_3 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
movq -104(%rbp), %rdx ## 8-byte Reload
movq %r12, %r9
movq -88(%rbp), %r10 ## 8-byte Reload
LBB24_28: ## in Loop: Header=BB24_3 Depth=1
movslq %r15d, %rsi
addq %rsi, %rcx
leaq (%rcx,%r9), %r13
testl %esi, %esi
jle LBB24_31
## %bb.29: ## in Loop: Header=BB24_3 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
subq 2101280(%rsi), %r10
.p2align 4, 0x90
LBB24_30: ## Parent Loop BB24_3 Depth=1
## => This Inner Loop Header: Depth=2
imull $4093, (%r14), %esi ## imm = 0xFFD
movq -48(%rbp), %rbx ## 8-byte Reload
movzwl %r10w, %r8d
shrl $12, %esi
andl $4095, %esi ## imm = 0xFFF
movzbl 2097152(%rbx,%rsi), %edi
decb %dil
andb $63, %dil
movzbl %dil, %edi
movb %dil, 2097152(%rbx,%rsi)
shll $6, %esi
orl %edi, %esi
movq %r14, (%rbx,%rsi,8)
movl (%r14), %edi
movl %edi, %esi
sarl $16, %esi
xorl %edi, %esi
imull $4093, %esi, %esi ## imm = 0xFFD
shrl $12, %esi
andl $16383, %esi ## imm = 0x3FFF
movq %r14, 2101288(%rbx,%r8,8)
movzwl 2756648(%rbx,%rsi,2), %edi
movw %di, 2625576(%rbx,%r8,2)
movw %r8w, 2756648(%rbx,%rsi,2)
incq %r14
incq %r10
cmpq %r13, %r14
jb LBB24_30
LBB24_31: ## in Loop: Header=BB24_3 Depth=1
cmpq %rdx, %r13
jb LBB24_3
## %bb.32:
addq %r9, %rcx
movq %rcx, %r13
movq -112(%rbp), %r12 ## 8-byte Reload
jmp LBB24_33
LBB24_6:
addq %rcx, %rbx
movq %rbx, %r13
movq -112(%rbp), %r12 ## 8-byte Reload
movq -80(%rbp), %rax ## 8-byte Reload
jmp LBB24_33
LBB24_1:
movq %r12, %rax
movq %r13, %rcx
LBB24_33:
movq %r13, %rbx
subq %rcx, %rbx
testl %ebx, %ebx
jle LBB24_39
## %bb.34:
movl %ebx, %edx
shlb $4, %dl
leaq 1(%rax), %r14
movzbl %dl, %esi
movl $240, %edx
cmpl $15, %ebx
cmovbl %esi, %edx
movb %dl, (%rax)
jb LBB24_38
## %bb.35:
leal -15(%rbx), %esi
cmpl $270, %ebx ## imm = 0x10E
jb LBB24_37
## %bb.36:
cmpl $509, %esi ## imm = 0x1FD
movl $509, %edx ## imm = 0x1FD
cmovll %esi, %edx
addl %ecx, %edx
negl %edx
addl %r13d, %edx
addl $239, %edx
movl $2155905153, %r15d ## imm = 0x80808081
imulq %rdx, %r15
shrq $39, %r15
leaq 1(%r15), %rdx
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
movl $255, %esi
movq %rcx, %r14
callq _memset
movq %r14, %rcx
movl %r15d, %eax
shll $8, %eax
movl %r15d, %edx
subl %eax, %edx
movq -80(%rbp), %rax ## 8-byte Reload
leaq (%r15,%rax), %r14
addq $2, %r14
subl %ecx, %r13d
leal (%rdx,%r13), %esi
addl $-270, %esi ## imm = 0xFEF2
LBB24_37:
movb %sil, (%r14)
incq %r14
LBB24_38:
movslq %ebx, %rbx
movq %r14, %rdi
movq %rcx, %rsi
movq %rbx, %rdx
callq _memcpy
addq %rbx, %r14
movq %r14, %rax
LBB24_39:
subl %r12d, %eax
## kill: def $eax killed $eax killed $rax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_DecodeBufferLZ4 ## -- Begin function TgvLz_DecodeBufferLZ4
.p2align 4, 0x90
_TgvLz_DecodeBufferLZ4: ## @TgvLz_DecodeBufferLZ4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rsi, %r12
testl %edx, %edx
jle LBB25_23
## %bb.1:
movq %rdi, %rbx
movslq %edx, %r13
addq %rdi, %r13
movq %r14, %r12
jmp LBB25_2
.p2align 4, 0x90
LBB25_17: ## in Loop: Header=BB25_2 Depth=1
addq $2, %rax
LBB25_22: ## in Loop: Header=BB25_2 Depth=1
movq %rax, %rbx
movq %r12, %rdi
movl %r15d, %esi
callq _TgvLz_MatchCopy2
movslq %r15d, %rax
addq %rax, %r12
cmpq %r13, %rbx
jae LBB25_23
LBB25_2: ## =>This Loop Header: Depth=1
## Child Loop BB25_6 Depth 2
## Child Loop BB25_10 Depth 2
## Child Loop BB25_20 Depth 2
leaq 1(%rbx), %rax
movzbl (%rbx), %r15d
movl %r15d, %ecx
shrl $4, %ecx
je LBB25_13
## %bb.3: ## in Loop: Header=BB25_2 Depth=1
cmpl $15, %ecx
jne LBB25_8
## %bb.4: ## in Loop: Header=BB25_2 Depth=1
movb 1(%rbx), %cl
addq $2, %rbx
movl $15, %eax
cmpb $-1, %cl
jne LBB25_7
## %bb.5: ## in Loop: Header=BB25_2 Depth=1
movl $15, %eax
.p2align 4, 0x90
LBB25_6: ## Parent Loop BB25_2 Depth=1
## => This Inner Loop Header: Depth=2
addl $255, %eax
movzbl (%rbx), %ecx
incq %rbx
cmpb $-1, %cl
je LBB25_6
LBB25_7: ## in Loop: Header=BB25_2 Depth=1
movzbl %cl, %ecx
addl %eax, %ecx
movq %rbx, %rax
LBB25_8: ## in Loop: Header=BB25_2 Depth=1
cmpl $9, %ecx
jl LBB25_11
## %bb.9: ## in Loop: Header=BB25_2 Depth=1
movl %ecx, %edx
addq %r12, %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB25_10: ## Parent Loop BB25_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rax,%rsi), %rdi
movq %rdi, (%r12,%rsi)
movq 8(%rax,%rsi), %rdi
movq %rdi, 8(%r12,%rsi)
leaq (%r12,%rsi), %rdi
addq $16, %rdi
addq $16, %rsi
cmpq %rdx, %rdi
jb LBB25_10
jmp LBB25_12
.p2align 4, 0x90
LBB25_11: ## in Loop: Header=BB25_2 Depth=1
movq (%rax), %rdx
movq %rdx, (%r12)
LBB25_12: ## in Loop: Header=BB25_2 Depth=1
movslq %ecx, %rcx
addq %rcx, %rax
addq %rcx, %r12
LBB25_13: ## in Loop: Header=BB25_2 Depth=1
leaq 1(%rax), %rcx
cmpq %r13, %rcx
jae LBB25_23
## %bb.14: ## in Loop: Header=BB25_2 Depth=1
movzwl (%rax), %edx
testl %edx, %edx
je LBB25_15
## %bb.16: ## in Loop: Header=BB25_2 Depth=1
andl $15, %r15d
addl $4, %r15d
cmpl $19, %r15d
jne LBB25_17
## %bb.18: ## in Loop: Header=BB25_2 Depth=1
movb 2(%rax), %bl
addq $3, %rax
movl $19, %ecx
cmpb $-1, %bl
jne LBB25_21
## %bb.19: ## in Loop: Header=BB25_2 Depth=1
movl $19, %ecx
.p2align 4, 0x90
LBB25_20: ## Parent Loop BB25_2 Depth=1
## => This Inner Loop Header: Depth=2
addl $255, %ecx
movzbl (%rax), %ebx
incq %rax
cmpb $-1, %bl
je LBB25_20
LBB25_21: ## in Loop: Header=BB25_2 Depth=1
movzbl %bl, %r15d
addl %ecx, %r15d
jmp LBB25_22
LBB25_15:
leaq L_str(%rip), %rdi
callq _puts
LBB25_23:
subl %r14d, %r12d
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function TgvLz_CalculateImagePel4BChecksum
LCPI26_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _TgvLz_CalculateImagePel4BChecksum
.p2align 4, 0x90
_TgvLz_CalculateImagePel4BChecksum: ## @TgvLz_CalculateImagePel4BChecksum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB26_1
## %bb.2:
movslq %esi, %r8
addq %rdi, %r8
movl $1, %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB26_3: ## =>This Inner Loop Header: Depth=1
movl (%rdi), %esi
addq %rdx, %rsi
movl 4(%rdi), %edx
movl 8(%rdi), %eax
movl 12(%rdi), %r9d
addq %rsi, %rcx
addq %rsi, %rdx
addq %rdx, %rcx
addq %rax, %rdx
addq %rdx, %rcx
addq %r9, %rdx
addq %rdx, %rcx
addq $16, %rdi
cmpq %r8, %rdi
jb LBB26_3
## %bb.4:
movq %rdx, %xmm1
movq %rcx, %xmm0
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
jmp LBB26_5
LBB26_1:
movdqa LCPI26_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
LBB26_5:
pxor %xmm1, %xmm1
pblendw $51, %xmm0, %xmm1 ## xmm1 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
psrlq $32, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrlq $32, %xmm1
paddq %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
pxor %xmm1, %xmm0
movd %xmm0, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_DoEncode ## -- Begin function TgvLz_DoEncode
.p2align 4, 0x90
_TgvLz_DoEncode: ## @TgvLz_DoEncode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movq %rsi, %rbx
movq %rdi, %r14
leal (%r15,%r15), %r8d
callq *2789424(%rdi)
testl %r15d, %r15d
jle LBB27_1
## %bb.2:
movslq %r15d, %r8
addq %rbx, %r8
movl $1, %edi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB27_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movl 4(%rbx), %edx
addq %rdi, %rsi
movl 8(%rbx), %edi
movl 12(%rbx), %r9d
addq %rsi, %rcx
addq %rsi, %rdx
addq %rdx, %rcx
addq %rdi, %rdx
addq %rdx, %rcx
addq %r9, %rdx
addq %rdx, %rcx
addq $16, %rbx
movq %rdx, %rdi
cmpq %r8, %rbx
jb LBB27_3
jmp LBB27_4
LBB27_1:
movl $1, %edx
xorl %ecx, %ecx
LBB27_4:
movl %edx, %esi
shrq $32, %rdx
addq %rsi, %rdx
movq %rdx, %rsi
shrq $32, %rsi
addl %edx, %esi
movl %ecx, %edx
shrq $32, %rcx
addq %rdx, %rcx
movq %rcx, %rdx
shrq $32, %rdx
addl %ecx, %edx
xorl %esi, %edx
movl %edx, 2101272(%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function TgvLz_DoEncodeSafe
LCPI28_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _TgvLz_DoEncodeSafe
.p2align 4, 0x90
_TgvLz_DoEncodeSafe: ## @TgvLz_DoEncodeSafe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r15
leal (%r12,%r12), %ebx
leal (%r12,%r12), %eax
addl $1024, %eax ## imm = 0x400
movslq %eax, %rdi
callq _malloc
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %r12d, %ecx
movl %ebx, %r8d
callq *2789424(%r15)
movq %r14, %rdi
movl %eax, %edx
movq -56(%rbp), %rsi ## 8-byte Reload
movl %eax, -44(%rbp) ## 4-byte Spill
movl %ebx, %ecx
callq *2789432(%r15)
cmpl %r12d, %eax
jne LBB28_1
## %bb.2:
movslq %r12d, %r14
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
callq _memcmp
testl %eax, %eax
je LBB28_4
## %bb.3:
movq 2789416(%r15), %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, -44(%rbp) ## 4-byte Folded Spill
jmp LBB28_16
LBB28_1:
movq 2789416(%r15), %rsi
leaq L_.str.3(%rip), %rdi
movl %r12d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _printf
movl $-1, -44(%rbp) ## 4-byte Folded Spill
jmp LBB28_16
LBB28_4:
movq %r15, -64(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movq -56(%rbp), %r10 ## 8-byte Reload
movups %xmm0, (%r10,%r14)
testl %r12d, %r12d
jle LBB28_5
## %bb.6:
leaq (%r14,%r13), %rdx
movl $1, %esi
xorl %eax, %eax
.p2align 4, 0x90
LBB28_7: ## =>This Inner Loop Header: Depth=1
movl (%r13), %edi
movl 4(%r13), %ecx
addq %rsi, %rdi
movl 8(%r13), %esi
movl 12(%r13), %ebx
addq %rdi, %rax
addq %rdi, %rcx
addq %rcx, %rax
addq %rsi, %rcx
addq %rcx, %rax
addq %rbx, %rcx
addq %rcx, %rax
addq $16, %r13
movq %rcx, %rsi
cmpq %rdx, %r13
jb LBB28_7
jmp LBB28_8
LBB28_5:
movl $1, %ecx
xorl %eax, %eax
LBB28_8:
movl %ecx, %edx
shrq $32, %rcx
addq %rdx, %rcx
movq %rcx, %rsi
shrq $32, %rsi
addl %ecx, %esi
movl %eax, %ecx
shrq $32, %rax
addq %rcx, %rax
movq %rax, %rdx
shrq $32, %rdx
addl %eax, %edx
xorl %esi, %edx
testl %r12d, %r12d
jle LBB28_9
## %bb.10:
movq %r10, %r8
addq %r14, %r8
movl $1, %edi
xorl %ecx, %ecx
movq %r10, %rsi
.p2align 4, 0x90
LBB28_11: ## =>This Inner Loop Header: Depth=1
movl (%rsi), %ebx
addq %rdi, %rbx
movl 4(%rsi), %edi
movl 8(%rsi), %eax
movl 12(%rsi), %r9d
addq %rbx, %rcx
addq %rbx, %rdi
addq %rdi, %rcx
addq %rax, %rdi
addq %rdi, %rcx
addq %r9, %rdi
addq %rdi, %rcx
addq $16, %rsi
cmpq %r8, %rsi
jb LBB28_11
## %bb.12:
movq %rdi, %xmm1
movq %rcx, %xmm0
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
jmp LBB28_13
LBB28_9:
movdqa LCPI28_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
LBB28_13:
pxor %xmm1, %xmm1
pblendw $51, %xmm0, %xmm1 ## xmm1 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
psrlq $32, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrlq $32, %xmm1
paddq %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
pxor %xmm1, %xmm0
movd %xmm0, %ebx
cmpl %edx, %ebx
je LBB28_15
## %bb.14:
movq -64(%rbp), %rax ## 8-byte Reload
movq 2789416(%rax), %rsi
leaq L_.str.5(%rip), %rdi
## kill: def $edx killed $edx killed $rdx
movl %ebx, %ecx
xorl %eax, %eax
movq %r10, %r12
callq _printf
movq %r12, %r10
LBB28_15:
movq -64(%rbp), %rax ## 8-byte Reload
movl %ebx, 2101272(%rax)
movq %r10, %rdi
callq _free
LBB28_16:
movl -44(%rbp), %eax ## 4-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function TgvLz_DoTest
LCPI29_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI29_1:
.quad 0x412e848000000000 ## double 1.0E+6
LCPI29_2:
.quad 0x3eb0000000000000 ## double 9.5367431640625E-7
.section __TEXT,__text,regular,pure_instructions
.globl _TgvLz_DoTest
.p2align 4, 0x90
_TgvLz_DoTest: ## @TgvLz_DoTest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movq %rdx, %rbx
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rsi, %r13
movq %rdi, %r14
leal (%r15,%r15), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movslq %eax, %r12
movq %r12, %rdi
callq _malloc
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
movl %r15d, %ecx
movl %r12d, %r8d
callq *2789424(%r14)
movl %eax, %ebx
movq 2789416(%r14), %rsi
leaq L_.str.6(%rip), %rdi
movl %r15d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _printf
movq -80(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
movl %ebx, -44(%rbp) ## 4-byte Spill
movl %ebx, %edx
movl %r12d, %ecx
callq *2789432(%r14)
cmpl %r15d, %eax
jne LBB29_1
## %bb.2:
movslq %r15d, %rdx
movq %r13, %rdi
movq -56(%rbp), %r12 ## 8-byte Reload
movq %r12, %rsi
movq %rdx, -64(%rbp) ## 8-byte Spill
callq _memcmp
movq %r14, %rbx
movq 2789416(%r14), %rsi
testl %eax, %eax
je LBB29_4
## %bb.3:
leaq L_.str.4(%rip), %rdi
jmp LBB29_5
LBB29_1:
movq %r14, %rbx
movq 2789416(%r14), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movslq %r15d, %r9
movq -56(%rbp), %r12 ## 8-byte Reload
jmp LBB29_6
LBB29_4:
leaq L_.str.8(%rip), %rdi
LBB29_5:
xorl %eax, %eax
callq _printf
movq -64(%rbp), %r9 ## 8-byte Reload
LBB29_6:
xorps %xmm0, %xmm0
movups %xmm0, (%r12,%r9)
testl %r15d, %r15d
jle LBB29_7
## %bb.8:
leaq (%r9,%r13), %rdx
movl $1, %esi
xorl %eax, %eax
movq %rbx, %r14
.p2align 4, 0x90
LBB29_9: ## =>This Inner Loop Header: Depth=1
movl (%r13), %edi
movl 4(%r13), %ecx
addq %rsi, %rdi
movl 8(%r13), %esi
movl 12(%r13), %ebx
addq %rdi, %rax
addq %rdi, %rcx
addq %rcx, %rax
addq %rsi, %rcx
addq %rcx, %rax
addq %rbx, %rcx
addq %rcx, %rax
addq $16, %r13
movq %rcx, %rsi
cmpq %rdx, %r13
jb LBB29_9
jmp LBB29_10
LBB29_7:
movl $1, %ecx
xorl %eax, %eax
movq %rbx, %r14
LBB29_10:
movl %ecx, %edx
shrq $32, %rcx
addq %rdx, %rcx
movq %rcx, %rsi
shrq $32, %rsi
addl %ecx, %esi
movl %eax, %ecx
shrq $32, %rax
addq %rcx, %rax
movq %rax, %rdx
shrq $32, %rdx
addl %eax, %edx
xorl %esi, %edx
testl %r15d, %r15d
jle LBB29_11
## %bb.12:
movq %r12, %r8
addq %r9, %r8
movl $1, %edi
xorl %ecx, %ecx
movq %r12, %rsi
.p2align 4, 0x90
LBB29_13: ## =>This Inner Loop Header: Depth=1
movl (%rsi), %ebx
addq %rdi, %rbx
movl 4(%rsi), %edi
movl 8(%rsi), %eax
movl 12(%rsi), %r9d
addq %rbx, %rcx
addq %rbx, %rdi
addq %rdi, %rcx
addq %rax, %rdi
addq %rdi, %rcx
addq %r9, %rdi
addq %rdi, %rcx
addq $16, %rsi
cmpq %r8, %rsi
jb LBB29_13
## %bb.14:
movq %rdi, %xmm1
movq %rcx, %xmm0
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
jmp LBB29_15
LBB29_11:
movdqa LCPI29_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
LBB29_15:
movl -44(%rbp), %r13d ## 4-byte Reload
pxor %xmm1, %xmm1
pblendw $51, %xmm0, %xmm1 ## xmm1 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
psrlq $32, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrlq $32, %xmm1
paddq %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
pxor %xmm1, %xmm0
movd %xmm0, %ebx
cmpl %edx, %ebx
je LBB29_17
## %bb.16:
movq 2789416(%r14), %rsi
leaq L_.str.5(%rip), %rdi
## kill: def $edx killed $edx killed $rdx
movl %ebx, %ecx
xorl %eax, %eax
callq _printf
LBB29_17:
movl %ebx, 2101272(%r14)
callq _clock
movq %rax, %rcx
cmpl $2137483647, %ecx ## imm = 0x7F67697F
jg LBB29_18
## %bb.19:
movq %rcx, -64(%rbp) ## 8-byte Spill
leal 10000000(%rcx), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
xorl %ebx, %ebx
movq %r12, %rax
movq %r14, %r12
movq %rax, %r14
movq -80(%rbp), %r15 ## 8-byte Reload
movl -68(%rbp), %r13d ## 4-byte Reload
.p2align 4, 0x90
LBB29_20: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
movl %r13d, %ecx
callq *2789432(%r12)
cltq
addq %rax, %rbx
callq _clock
cmpl %eax, -56(%rbp) ## 4-byte Folded Reload
jg LBB29_20
## %bb.21:
movl -44(%rbp), %r13d ## 4-byte Reload
movq %r14, %rcx
movq %r12, %r14
movq %rcx, %r12
movq -64(%rbp), %rcx ## 8-byte Reload
jmp LBB29_22
LBB29_18:
xorl %ebx, %ebx
movl %ecx, %eax
LBB29_22:
subl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd LCPI29_1(%rip), %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rbx, %xmm1
movq 2789416(%r14), %rsi
divsd %xmm0, %xmm1
mulsd LCPI29_2(%rip), %xmm1
leaq L_.str.9(%rip), %rdi
movq %rbx, %rdx
movb $2, %al
callq _printf
movq %r12, %rdi
callq _free
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_CreateContext ## -- Begin function TgvLz_CreateContext
.p2align 4, 0x90
_TgvLz_CreateContext: ## @TgvLz_CreateContext
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $2789760, %esi ## imm = 0x2A9180
callq _calloc
movabsq $18014394214531071, %rcx ## imm = 0x3FFFFF00003FFF
movq %rcx, 2101264(%rax)
leaq _TgvLz_EncodeBufferRP2(%rip), %rcx
movq %rcx, 2789424(%rax)
leaq _TgvLz_DecodeBufferRP2(%rip), %rcx
movq %rcx, 2789432(%rax)
leaq L_.str.10(%rip), %rcx
movq %rcx, 2789416(%rax)
movb $3, 2101276(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_CreateContextLZ4 ## -- Begin function TgvLz_CreateContextLZ4
.p2align 4, 0x90
_TgvLz_CreateContextLZ4: ## @TgvLz_CreateContextLZ4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edi
movl $2789760, %esi ## imm = 0x2A9180
callq _calloc
movabsq $281470681759743, %rcx ## imm = 0xFFFF00003FFF
movq %rcx, 2101264(%rax)
leaq _TgvLz_EncodeBufferLZ4(%rip), %rcx
movq %rcx, 2789424(%rax)
leaq _TgvLz_DecodeBufferLZ4(%rip), %rcx
movq %rcx, 2789432(%rax)
leaq L_.str.11(%rip), %rcx
movq %rcx, 2789416(%rax)
movb $4, 2101276(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _TgvLz_DestroyContext ## -- Begin function TgvLz_DestroyContext
.p2align 4, 0x90
_TgvLz_DestroyContext: ## @TgvLz_DestroyContext
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _free
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $2, %edi
movq %rsi, -48(%rbp) ## 8-byte Spill
jl LBB33_8
## %bb.1:
movl %edi, %r12d
xorl %r13d, %r13d
movl $1, %r15d
xorl %ebx, %ebx
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB33_4
.p2align 4, 0x90
LBB33_2: ## in Loop: Header=BB33_4 Depth=1
movq %r14, %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
testl %eax, %eax
movl $1, %eax
cmovel %eax, %r13d
movq %r14, %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
testl %eax, %eax
movl $2, %eax
cmovel %eax, %r13d
movq %r14, %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
testl %eax, %eax
movl $3, %eax
cmovel %eax, %r13d
movq %r14, %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
movq -48(%rbp), %rsi ## 8-byte Reload
testl %eax, %eax
movl $4, %eax
cmovel %eax, %r13d
LBB33_3: ## in Loop: Header=BB33_4 Depth=1
incq %r15
cmpq %r15, %r12
je LBB33_9
LBB33_4: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%r15,8), %r14
cmpb $45, (%r14)
je LBB33_2
## %bb.5: ## in Loop: Header=BB33_4 Depth=1
testq %rbx, %rbx
je LBB33_7
## %bb.6: ## in Loop: Header=BB33_4 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
cmoveq %r14, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB33_3
LBB33_7: ## in Loop: Header=BB33_4 Depth=1
movq %r14, %rbx
jmp LBB33_3
LBB33_8:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorl %r13d, %r13d
LBB33_9:
testl %r13d, %r13d
jne LBB33_12
## %bb.10:
testq %rbx, %rbx
jne LBB33_12
## %bb.11:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rsi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.26(%rip), %rdi
callq _puts
leaq L_str.27(%rip), %rdi
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
movq -48(%rbp), %rsi ## 8-byte Reload
LBB33_12:
testq %rbx, %rbx
movq -56(%rbp), %r12 ## 8-byte Reload
je LBB33_20
## %bb.13:
leaq -60(%rbp), %rsi
movq %rbx, %rdi
callq _TgvLz_LoadFile
movq %rax, %rbx
movl $1, %edi
movl $2789760, %esi ## imm = 0x2A9180
callq _calloc
movq %rax, %r15
movabsq $18014394214531071, %rax ## imm = 0x3FFFFF00003FFF
movq %rax, 2101264(%r15)
leaq _TgvLz_EncodeBufferRP2(%rip), %rax
movq %rax, 2789424(%r15)
leaq _TgvLz_DecodeBufferRP2(%rip), %rax
movq %rax, 2789432(%r15)
leaq L_.str.10(%rip), %rax
movq %rax, 2789416(%r15)
cmpl $3, %r13d
je LBB33_16
## %bb.14:
testl %r13d, %r13d
jne LBB33_22
## %bb.15:
testq %r12, %r12
jne LBB33_22
LBB33_16:
movslq -60(%rbp), %r14
movq %r14, %rdi
addq %r14, %rdi
callq _malloc
movq %rax, %r13
leaq 16(%rax), %rdx
movq %r15, %rdi
movq %rbx, %rsi
movl %r14d, %ecx
callq _TgvLz_DoTest
movl %eax, %ebx
movl $1093816402, (%r13) ## imm = 0x41325052
movl %eax, 4(%r13)
movl %r14d, 8(%r13)
movl 2101272(%r15), %eax
movl %eax, 12(%r13)
xorl %r14d, %r14d
testq %r12, %r12
je LBB33_21
## %bb.17:
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _fopen
testq %rax, %rax
je LBB33_21
## %bb.18:
movq %rax, %r15
addl $16, %ebx
movslq %ebx, %rdx
movl $1, %esi
movq %r13, %rdi
LBB33_19:
movq %r15, %rcx
callq _fwrite
movq %r15, %rdi
callq _fclose
jmp LBB33_21
LBB33_20:
movq (%rsi), %rsi
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, %r14d
LBB33_21:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB33_22:
testq %r12, %r12
setne %al
testl %r13d, %r13d
sete %cl
cmpl $1, %r13d
je LBB33_28
## %bb.23:
andb %al, %cl
jne LBB33_28
## %bb.24:
testq %r12, %r12
setne %al
cmpl $2, %r13d
sete %cl
xorl %r14d, %r14d
cmpl $4, %r13d
je LBB33_26
## %bb.25:
andb %al, %cl
je LBB33_21
LBB33_26:
cmpl $1093816402, (%rbx) ## imm = 0x41325052
je LBB33_35
## %bb.27:
leaq L_str.31(%rip), %rdi
callq _puts
jmp LBB33_21
LBB33_28:
movslq -60(%rbp), %r13
movq %r13, %r14
addq %r13, %r14
movq %r14, %rdi
callq _malloc
movq %rax, -48(%rbp) ## 8-byte Spill
leaq 16(%rax), %rdx
movq %r15, %rdi
movq %rbx, %rsi
movl %r13d, %ecx
movl %r14d, %r8d
callq _TgvLz_EncodeBufferRP2
xorl %r14d, %r14d
testq %r13, %r13
jle LBB33_31
## %bb.29:
movq %rbx, %r8
addq %r13, %r8
movl $1, %esi
xorl %edx, %edx
.p2align 4, 0x90
LBB33_30: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
movl 4(%rbx), %ecx
addq %rsi, %rdi
movl 8(%rbx), %esi
movl 12(%rbx), %r9d
addq %rdi, %rdx
addq %rdi, %rcx
addq %rcx, %rdx
addq %rsi, %rcx
addq %rcx, %rdx
addq %r9, %rcx
addq %rcx, %rdx
addq $16, %rbx
movq %rcx, %rsi
cmpq %r8, %rbx
jb LBB33_30
jmp LBB33_32
LBB33_31:
movl $1, %ecx
xorl %edx, %edx
LBB33_32:
movl %ecx, %esi
shrq $32, %rcx
addq %rsi, %rcx
movq %rcx, %rsi
shrq $32, %rsi
addl %ecx, %esi
movl %edx, %ecx
shrq $32, %rdx
addq %rcx, %rdx
movq %rdx, %rcx
shrq $32, %rcx
addl %edx, %ecx
xorl %esi, %ecx
movl %ecx, 2101272(%r15)
movq -48(%rbp), %rbx ## 8-byte Reload
movl $1093816402, (%rbx) ## imm = 0x41325052
movl %eax, 4(%rbx)
movl %r13d, 8(%rbx)
movl %ecx, 12(%rbx)
testq %r12, %r12
je LBB33_21
## %bb.33:
movl %eax, %r13d
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _fopen
testq %rax, %rax
je LBB33_21
## %bb.34:
movq %rax, %r15
addl $16, %r13d
movslq %r13d, %rdx
movl $1, %esi
movq %rbx, %rdi
jmp LBB33_19
LBB33_35:
movslq 8(%rbx), %r15
movq %r15, -48(%rbp) ## 8-byte Spill
movl 4(%rbx), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movl 12(%rbx), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
addq %r15, %r15
movq %r15, %rdi
callq _malloc
movq %rax, %r12
addq $16, %rbx
movq %rbx, %rdi
movq %rax, %rsi
movl -72(%rbp), %edx ## 4-byte Reload
movl %r15d, %ecx
callq _TgvLz_DecodeBufferRP2
movl %eax, %r15d
cltq
xorps %xmm0, %xmm0
movups %xmm0, (%r12,%rax)
movq %r12, -72(%rbp) ## 8-byte Spill
movq %r12, %rdi
movl %r15d, %esi
callq _TgvLz_CalculateImagePel4BChecksum
cmpl -48(%rbp), %r15d ## 4-byte Folded Reload
jne LBB33_39
## %bb.36:
movl -76(%rbp), %esi ## 4-byte Reload
cmpl %esi, %eax
jne LBB33_40
## %bb.37:
cmpl $4, %r13d
movq -56(%rbp), %rbx ## 8-byte Reload
jne LBB33_42
## %bb.38:
leaq L_str.29(%rip), %rdi
callq _puts
jmp LBB33_42
LBB33_39:
leaq L_str.30(%rip), %rdi
callq _puts
jmp LBB33_41
LBB33_40:
leaq L_.str.24(%rip), %rdi
movl %eax, %edx
xorl %eax, %eax
callq _printf
LBB33_41:
movq -56(%rbp), %rbx ## 8-byte Reload
LBB33_42:
testq %rbx, %rbx
je LBB33_21
## %bb.43:
movq %rbx, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
callq _TgvLz_StoreFile
jmp LBB33_21
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
L_.str.1: ## @.str.1
.asciz "wb"
L_.str.3: ## @.str.3
.asciz "%s: Size mismatch %d->%d\n"
L_.str.4: ## @.str.4
.asciz "%s: Data mismatch\n"
L_.str.5: ## @.str.5
.asciz "%s: Checksum %08X->%08X\n"
L_.str.6: ## @.str.6
.asciz "%s: %d -> %d\n"
L_.str.7: ## @.str.7
.asciz "%s: Size mismatch\n"
L_.str.8: ## @.str.8
.asciz "%s: Data OK\n"
L_.str.9: ## @.str.9
.asciz "%s: %lldB %fs %.2f MB/s\n"
L_.str.10: ## @.str.10
.asciz "RP2"
L_.str.11: ## @.str.11
.asciz "LZ4"
L_.str.12: ## @.str.12
.asciz "-z"
L_.str.13: ## @.str.13
.asciz "-d"
L_.str.14: ## @.str.14
.asciz "-b"
L_.str.15: ## @.str.15
.asciz "-t"
L_.str.16: ## @.str.16
.asciz "usage: %s [opts*] infile [outfile]\n"
L_.str.20: ## @.str.20
.asciz "%s: no input file\n"
L_.str.21: ## @.str.21
.asciz "RP2A"
L_.str.24: ## @.str.24
.asciz "Checksum mismatch %08X->%08X\n"
L_str: ## @str
.asciz "TKPE_UnpackL4: End Of Image"
L_str.26: ## @str.26
.asciz "\t-z\t\tEncode"
L_str.27: ## @str.27
.asciz "\t-d\t\tDecode"
L_str.28: ## @str.28
.asciz "\t-b\t\tBenchmark"
L_str.29: ## @str.29
.asciz "OK"
L_str.30: ## @str.30
.asciz "Size mismatch"
L_str.31: ## @str.31
.asciz "Magic Fail"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_u16le ; -- Begin function get_u16le
.p2align 2
_get_u16le: ; @get_u16le
.cfi_startproc
; %bb.0:
ldrh w0, [x0]
ret
.cfi_endproc
; -- End function
.globl _get_u32le ; -- Begin function get_u32le
.p2align 2
_get_u32le: ; @get_u32le
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.globl _get_u64le ; -- Begin function get_u64le
.p2align 2
_get_u64le: ; @get_u64le
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_u16le ; -- Begin function set_u16le
.p2align 2
_set_u16le: ; @set_u16le
.cfi_startproc
; %bb.0:
strh w1, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_u32le ; -- Begin function set_u32le
.p2align 2
_set_u32le: ; @set_u32le
.cfi_startproc
; %bb.0:
str w1, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_u64le ; -- Begin function set_u64le
.p2align 2
_set_u64le: ; @set_u64le
.cfi_startproc
; %bb.0:
str x1, [x0]
ret
.cfi_endproc
; -- End function
.globl _TgvLz_LoadFile ; -- Begin function TgvLz_LoadFile
.p2align 2
_TgvLz_LoadFile: ; @TgvLz_LoadFile
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fopen
cbz x0, LBB6_5
; %bb.1:
mov x20, x0
mov x1, #0
mov w2, #2
bl _fseek
mov x0, x20
bl _ftell
mov x21, x0
mov x0, x20
mov x1, #0
mov w2, #0
bl _fseek
add w8, w21, #24
sxtw x0, w8
bl _malloc
mov x22, x0
sxtw x2, w21
mov w1, #1
mov x3, x20
bl _fread
mov x23, x0
mov x0, x20
bl _fclose
cmp w23, w21
b.eq LBB6_3
; %bb.2:
mov x21, x23
cmp w23, #0
b.le LBB6_4
LBB6_3:
add x8, x22, w21, sxtw
stp xzr, xzr, [x8]
str w21, [x19]
b LBB6_6
LBB6_4:
mov x0, x22
bl _free
LBB6_5:
mov x22, #0
LBB6_6:
mov x0, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _TgvLz_StoreFile ; -- Begin function TgvLz_StoreFile
.p2align 2
_TgvLz_StoreFile: ; @TgvLz_StoreFile
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x19, x1
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB7_2
; %bb.1:
mov x20, x0
sxtw x2, w21
mov x0, x19
mov w1, #1
mov x3, x20
bl _fwrite
mov x0, x20
bl _fclose
mov w0, #0
b LBB7_3
LBB7_2:
mov w0, #-1
LBB7_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _TgvLz_CalcHash ; -- Begin function TgvLz_CalcHash
.p2align 2
_TgvLz_CalcHash: ; @TgvLz_CalcHash
.cfi_startproc
; %bb.0:
ldrh w8, [x0]
ldrb w9, [x0, #2]
bfi w8, w9, #16, #16
mov w9, #4093
mul w8, w8, w9
ubfx w0, w8, #12, #12
ret
.cfi_endproc
; -- End function
.globl _TgvLz_CalcHashB ; -- Begin function TgvLz_CalcHashB
.p2align 2
_TgvLz_CalcHashB: ; @TgvLz_CalcHashB
.cfi_startproc
; %bb.0:
ldr w8, [x0]
eor w8, w8, w8, asr #16
mov w9, #4093
mul w8, w8, w9
ubfx w0, w8, #12, #14
ret
.cfi_endproc
; -- End function
.globl _TgvLz_CheckMatch ; -- Begin function TgvLz_CheckMatch
.p2align 2
_TgvLz_CheckMatch: ; @TgvLz_CheckMatch
.cfi_startproc
; %bb.0:
add x8, x0, #4
cmp x8, x2
b.ls LBB10_2
; %bb.1:
mov x8, x0
cmp x8, x2
b.hs LBB10_6
b LBB10_8
LBB10_2:
mov x9, x0
LBB10_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x9]
ldr w10, [x1]
cmp w8, w10
b.ne LBB10_7
; %bb.4: ; in Loop: Header=BB10_3 Depth=1
add x1, x1, #4
add x8, x9, #4
add x10, x9, #8
mov x9, x8
cmp x10, x2
b.ls LBB10_3
; %bb.5:
cmp x8, x2
b.lo LBB10_8
LBB10_6:
sub w0, w8, w0
ret
LBB10_7:
mov x8, x9
cmp x8, x2
b.hs LBB10_6
LBB10_8:
sub x9, x2, x8
LBB10_9: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x8]
ldrb w11, [x1]
cmp w10, w11
b.ne LBB10_6
; %bb.10: ; in Loop: Header=BB10_9 Depth=1
add x8, x8, #1
add x1, x1, #1
subs x9, x9, #1
b.ne LBB10_9
; %bb.11:
mov x8, x2
sub w0, w8, w0
ret
.cfi_endproc
; -- End function
.globl _TgvLz_HashByte ; -- Begin function TgvLz_HashByte
.p2align 2
_TgvLz_HashByte: ; @TgvLz_HashByte
.cfi_startproc
; %bb.0:
mov w8, #4128
movk w8, #32, lsl #16
ldr x8, [x0, x8]
sub x8, x1, x8
ldrh w9, [x1]
ldrb w10, [x1, #2]
bfi w9, w10, #16, #16
mov w10, #4093
mul w9, w9, w10
ubfx w9, w9, #12, #12
add x11, x0, x9
mov w12, #2097152
ldrb w13, [x11, x12]
sub w13, w13, #1
and w13, w13, #0x3f
strb w13, [x11, x12]
bfi w13, w9, #6, #12
str x1, [x0, w13, uxtw #3]
ldr w9, [x1]
eor w9, w9, w9, asr #16
mul w9, w9, w10
add x10, x0, w8, uxth #3
mov w11, #4136
movk w11, #32, lsl #16
str x1, [x10, x11]
ubfx w9, w9, #12, #14
add x9, x0, w9, uxtw #1
mov w10, #4136
movk w10, #42, lsl #16
ldrh w11, [x9, x10]
add x12, x0, w8, uxth #1
mov w13, #4136
movk w13, #40, lsl #16
strh w11, [x12, x13]
strh w8, [x9, x10]
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _TgvLz_HashStr ; -- Begin function TgvLz_HashStr
.p2align 2
_TgvLz_HashStr: ; @TgvLz_HashStr
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB12_3
; %bb.1:
add x8, x1, w2, sxtw
mov w9, #4128
movk w9, #32, lsl #16
ldr x9, [x0, x9]
sub x9, x1, x9
mov w10, #4093
mov w11, #2097152
mov w12, #4136
movk w12, #32, lsl #16
mov w13, #4136
movk w13, #42, lsl #16
mov w14, #4136
movk w14, #40, lsl #16
LBB12_2: ; =>This Inner Loop Header: Depth=1
ldrh w15, [x1]
ldrb w16, [x1, #2]
bfi w15, w16, #16, #16
mul w15, w15, w10
ubfx w15, w15, #12, #12
add x16, x0, x15
ldrb w17, [x16, x11]
sub w17, w17, #1
and w17, w17, #0x3f
strb w17, [x16, x11]
bfi w17, w15, #6, #12
str x1, [x0, w17, uxtw #3]
ldr w15, [x1]
eor w15, w15, w15, asr #16
mul w15, w15, w10
ubfx w15, w15, #12, #14
add x16, x0, w9, uxth #3
str x1, [x16, x12]
add x15, x0, w15, uxtw #1
ldrh w16, [x15, x13]
add x17, x0, w9, uxth #1
strh w16, [x17, x14]
add x16, x1, #1
strh w9, [x15, x13]
add x9, x9, #1
mov x1, x16
cmp x16, x8
b.lo LBB12_2
LBB12_3:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _TgvLz_LookupMatch ; -- Begin function TgvLz_LookupMatch
.p2align 2
_TgvLz_LookupMatch: ; @TgvLz_LookupMatch
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
add x8, x0, #681, lsl #12 ; =2789376
add x8, x8, #352
mov w9, #37224
movk w9, #42, lsl #16
ldr x9, [x0, x9]
cmp x9, x1
b.eq LBB13_35
; %bb.1:
ldr x12, [x8]
cmp x12, x1
b.eq LBB13_36
; %bb.2:
mov w16, #0
mov w10, #0
mov w11, #0
add x9, x0, #513, lsl #12 ; =2101248
ldp w14, w13, [x9, #16]!
; kill: def $w14 killed $w14 def $x14
sxtw x14, w14
add x14, x1, x14
cmp x14, x2
csel x14, x2, x14, hi
ldrh w17, [x1]
ldrb w15, [x1, #2]
bfi w17, w15, #16, #8
mov w15, #4093
mul w15, w17, w15
ubfx x15, x15, #12, #12
add x2, x0, x15
mov w5, #2097152
ldrb w2, [x2, x5]
lsl x5, x15, #6
add x15, x1, #4
b LBB13_5
LBB13_3: ; in Loop: Header=BB13_5 Depth=1
sub w7, w7, w1
sub w6, w1, w6
cmp w6, #0
ccmp w11, w7, #0, gt
cset w19, lt
cmp w13, w6
cset w20, gt
tst w19, w20
csel w11, w7, w11, ne
csel w10, w6, w10, ne
LBB13_4: ; in Loop: Header=BB13_5 Depth=1
add w16, w16, #1
cmp w16, #64
b.eq LBB13_16
LBB13_5: ; =>This Loop Header: Depth=1
; Child Loop BB13_8 Depth 2
; Child Loop BB13_13 Depth 2
add w6, w16, w2
and x6, x6, #0x3f
orr x6, x6, x5
ldr x6, [x0, x6, lsl #3]
cbz x6, LBB13_4
; %bb.6: ; in Loop: Header=BB13_5 Depth=1
mov x7, x1
mov x19, x6
cmp x15, x14
b.hi LBB13_10
; %bb.7: ; in Loop: Header=BB13_5 Depth=1
mov x20, x1
mov x19, x6
LBB13_8: ; Parent Loop BB13_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w7, [x20]
ldr w21, [x19]
cmp w7, w21
b.ne LBB13_11
; %bb.9: ; in Loop: Header=BB13_8 Depth=2
add x19, x19, #4
add x7, x20, #4
add x21, x20, #8
mov x20, x7
cmp x21, x14
b.ls LBB13_8
LBB13_10: ; in Loop: Header=BB13_5 Depth=1
cmp x7, x14
b.hs LBB13_3
b LBB13_12
LBB13_11: ; in Loop: Header=BB13_5 Depth=1
mov x7, x20
cmp x7, x14
b.hs LBB13_3
LBB13_12: ; in Loop: Header=BB13_5 Depth=1
sub x20, x14, x7
add x21, x7, x20
LBB13_13: ; Parent Loop BB13_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w22, [x7]
ldrb w23, [x19]
cmp w22, w23
b.ne LBB13_3
; %bb.14: ; in Loop: Header=BB13_13 Depth=2
add x7, x7, #1
add x19, x19, #1
subs x20, x20, #1
b.ne LBB13_13
; %bb.15: ; in Loop: Header=BB13_5 Depth=1
mov x7, x21
b LBB13_3
LBB13_16:
mov w19, #0
ldrb w16, [x1, #3]
bfi w17, w16, #24, #8
eor w16, w17, w17, asr #16
mov w17, #4093
mul w16, w16, w17
ubfx w16, w16, #12, #14
add x16, x0, w16, uxtw #1
add x16, x16, #673, lsl #12 ; =2756608
add x2, x16, #40
mov w6, #1024
mov w16, #4136
movk w16, #32, lsl #16
mov w17, #4136
movk w17, #40, lsl #16
LBB13_17: ; =>This Loop Header: Depth=1
; Child Loop BB13_18 Depth 2
; Child Loop BB13_24 Depth 2
; Child Loop BB13_29 Depth 2
ldrh w2, [x2]
add x5, x0, x2, lsl #3
add x5, x5, x16
neg w6, w6
LBB13_18: ; Parent Loop BB13_17 Depth=1
; => This Inner Loop Header: Depth=2
add w6, w6, #1
cmp w6, #1
b.eq LBB13_33
; %bb.19: ; in Loop: Header=BB13_18 Depth=2
ldr x7, [x5]
cbz x7, LBB13_18
; %bb.20: ; in Loop: Header=BB13_17 Depth=1
sub w5, w1, w7
cmp w19, w5
ccmp w13, w5, #8, lt
b.lt LBB13_33
; %bb.21: ; in Loop: Header=BB13_17 Depth=1
cmp x15, x14
b.ls LBB13_23
; %bb.22: ; in Loop: Header=BB13_17 Depth=1
mov x19, x1
b LBB13_27
LBB13_23: ; in Loop: Header=BB13_17 Depth=1
mov x20, x1
LBB13_24: ; Parent Loop BB13_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w19, [x20]
ldr w21, [x7]
cmp w19, w21
b.ne LBB13_26
; %bb.25: ; in Loop: Header=BB13_24 Depth=2
add x7, x7, #4
add x19, x20, #4
add x21, x20, #8
mov x20, x19
cmp x21, x14
b.ls LBB13_24
b LBB13_27
LBB13_26: ; in Loop: Header=BB13_17 Depth=1
mov x19, x20
LBB13_27: ; in Loop: Header=BB13_17 Depth=1
neg w6, w6
cmp x19, x14
b.hs LBB13_32
; %bb.28: ; in Loop: Header=BB13_17 Depth=1
sub x20, x14, x19
add x21, x19, x20
LBB13_29: ; Parent Loop BB13_17 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w22, [x19]
ldrb w23, [x7]
cmp w22, w23
b.ne LBB13_32
; %bb.30: ; in Loop: Header=BB13_29 Depth=2
add x19, x19, #1
add x7, x7, #1
subs x20, x20, #1
b.ne LBB13_29
; %bb.31: ; in Loop: Header=BB13_17 Depth=1
mov x19, x21
LBB13_32: ; in Loop: Header=BB13_17 Depth=1
sub w7, w19, w1
cmp w11, w7
cset w19, lt
cmp w13, w5
cset w20, gt
tst w19, w20
csel w11, w7, w11, ne
csel w10, w5, w10, ne
add x2, x0, x2, lsl #1
add x2, x2, x17
mov x19, x5
b LBB13_17
LBB13_33:
ldr d0, [x8, #16]
str d0, [x8, #24]
stp x1, x12, [x8]
stp w11, w10, [x8, #16]
str w11, [x3]
str w10, [x4]
cmp w11, #3
b.le LBB13_39
; %bb.34:
mov w0, #1
b LBB13_38
LBB13_35:
ldp w9, w8, [x8, #24]
b LBB13_37
LBB13_36:
ldp w9, w8, [x8, #16]
LBB13_37:
str w9, [x3]
str w8, [x4]
cmp w9, #3
cset w9, gt
cset w10, eq
cmp w8, #512
cset w8, lt
and w8, w10, w8
orr w0, w9, w8
LBB13_38:
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #48 ; 16-byte Folded Reload
ret
LBB13_39:
mov w0, #0
b.ne LBB13_38
; %bb.40:
cmp w10, #511
b.gt LBB13_38
; %bb.41:
ldrb w8, [x9, #12]
cmp w8, #3
cset w0, eq
b LBB13_38
.cfi_endproc
; -- End function
.globl _tgvlz_log2u ; -- Begin function tgvlz_log2u
.p2align 2
_tgvlz_log2u: ; @tgvlz_log2u
.cfi_startproc
; %bb.0:
mov w8, #0
cbz w0, LBB14_2
LBB14_1: ; =>This Inner Loop Header: Depth=1
add w8, w8, #1
asr w9, w0, #1
cmp w0, #1
mov x0, x9
b.hi LBB14_1
LBB14_2:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _TgvLz_EstRawCost ; -- Begin function TgvLz_EstRawCost
.p2align 2
_TgvLz_EstRawCost: ; @TgvLz_EstRawCost
.cfi_startproc
; %bb.0:
mov w8, #4124
movk w8, #32, lsl #16
ldrb w8, [x0, x8]
cmp w8, #4
b.ne LBB15_6
; %bb.1:
add w8, w1, #1
cmp w1, #15
b.lt LBB15_5
; %bb.2:
cmp w1, #270
b.lo LBB15_4
; %bb.3:
mov w8, #524
cmp w1, #524
csel w8, w1, w8, lt
sub w8, w1, w8
add w8, w8, #254
mov w9, #32897
movk w9, #32896, lsl #16
umull x8, w8, w9
lsr x8, x8, #39
add w8, w8, w1
add w8, w8, #2
LBB15_4:
add w8, w8, #1
LBB15_5:
add w0, w8, #3
ret
LBB15_6:
cmp w1, #1, lsl #12 ; =4096
b.lt LBB15_8
; %bb.7:
mov w8, #8191
cmp w1, w8
csel w8, w1, w8, lt
sub w8, w1, w8
add w9, w8, #4095
lsr w8, w9, #11
and w8, w8, #0x1ffffe
add w8, w8, w1
add w8, w8, #2
and w9, w9, #0xfffff000
sub w9, w1, w9
sub w1, w9, #1, lsl #12 ; =4096
b LBB15_9
LBB15_8:
mov x8, x1
LBB15_9:
add w9, w8, #2
and w10, w1, #0x7
cmp w1, #135
csel w10, w10, w1, gt
csel w8, w9, w8, gt
cmp w10, #7
cinc w0, w8, gt
ret
.cfi_endproc
; -- End function
.globl _TgvLz_EstMatchCost ; -- Begin function TgvLz_EstMatchCost
.p2align 2
_TgvLz_EstMatchCost: ; @TgvLz_EstMatchCost
.cfi_startproc
; %bb.0:
mov w8, #4124
movk w8, #32, lsl #16
ldrb w8, [x0, x8]
cmp w8, #4
b.ne LBB16_9
; %bb.1:
add w0, w1, #1
cmp w1, #15
b.lt LBB16_5
; %bb.2:
cmp w1, #270
b.lo LBB16_4
; %bb.3:
mov w8, #524
cmp w1, #524
csel w8, w1, w8, lt
sub w8, w1, w8
add w8, w8, #254
mov w9, #32897
movk w9, #32896, lsl #16
umull x8, w8, w9
lsr x8, x8, #39
add w8, w8, w1
add w0, w8, #2
LBB16_4:
add w0, w0, #1
LBB16_5:
cmp w2, #19
b.lt LBB16_22
; %bb.6:
cmp w2, #274
b.lo LBB16_8
; %bb.7:
mov w8, #528
cmp w2, #528
csel w8, w2, w8, lt
sub w8, w2, w8
add w8, w8, #254
mov w9, #32897
movk w9, #32896, lsl #16
umull x8, w8, w9
lsr x8, x8, #39
add w8, w0, w8
add w0, w8, #1
LBB16_8:
add w0, w0, #1
ret
LBB16_9:
cmp w1, #1, lsl #12 ; =4096
b.lt LBB16_11
; %bb.10:
mov w8, #8191
cmp w1, w8
csel w8, w1, w8, lt
sub w8, w1, w8
add w9, w8, #4095
lsr w8, w9, #11
and w8, w8, #0x1ffffe
add w8, w1, w8
add w8, w8, #2
and w9, w9, #0xfffff000
sub w9, w1, w9
sub w1, w9, #1, lsl #12 ; =4096
b LBB16_12
LBB16_11:
mov x8, x1
LBB16_12:
add w9, w8, #2
and w10, w1, #0x7
cmp w1, #135
csel w10, w10, w1, gt
csel w8, w9, w8, gt
cmp w10, #7
cinc w8, w8, gt
cmp w2, #10
b.gt LBB16_15
; %bb.13:
cmp w3, #511
b.gt LBB16_15
; %bb.14:
add w0, w8, #2
ret
LBB16_15:
cmp w2, #67
b.gt LBB16_18
; %bb.16:
cmp w3, #2, lsl #12 ; =8192
b.ge LBB16_18
; %bb.17:
add w0, w8, #3
ret
LBB16_18:
cmp w2, #515
b.gt LBB16_21
; %bb.19:
cmp w3, #32, lsl #12 ; =131072
b.ge LBB16_21
; %bb.20:
add w0, w8, #4
ret
LBB16_21:
cmp w2, #128
mov w9, #2
cinc w10, w9, ge
cmp w3, #8, lsl #12 ; =32768
cinc w9, w9, ge
add w9, w9, w10
add w9, w9, w8
cmp w3, #1024, lsl #12 ; =4194304
csel w9, w8, w9, ge
cmp w2, #4, lsl #12 ; =16384
csel w0, w8, w9, ge
LBB16_22:
ret
.cfi_endproc
; -- End function
.globl _TgvLz_LookupMatchB ; -- Begin function TgvLz_LookupMatchB
.p2align 2
_TgvLz_LookupMatchB: ; @TgvLz_LookupMatchB
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
stp x5, x4, [sp] ; 16-byte Folded Spill
mov x19, x3
mov x24, x2
mov x25, x1
mov x23, x0
add x3, sp, #28
add x4, sp, #24
bl _TgvLz_LookupMatch
mov x28, x0
sub w27, w25, w19
ldp w21, w22, [sp, #24]
mov x0, x23
mov x1, x27
mov x2, x22
mov x3, x21
bl _TgvLz_EstMatchCost
mov x26, x0
add w8, w22, w27
mov w9, #4124
movk w9, #32, lsl #16
ldrb w9, [x23, x9]
cmp w9, #4
b.ne LBB17_6
; %bb.1:
add w9, w8, #1
cmp w8, #15
b.lt LBB17_5
; %bb.2:
cmp w8, #270
b.lo LBB17_4
; %bb.3:
mov w9, #524
cmp w8, #524
csel w9, w8, w9, lt
sub w9, w8, w9
add w9, w9, #254
mov w10, #32897
movk w10, #32896, lsl #16
umull x9, w9, w10
lsr x9, x9, #39
add w8, w8, w9
add w9, w8, #2
LBB17_4:
add w9, w9, #1
LBB17_5:
add w8, w9, #3
b LBB17_7
LBB17_6:
mov w9, #8191
cmp w8, w9
csel w9, w8, w9, lt
sub w9, w8, w9
add w9, w9, #4095
lsr w10, w9, #11
and w10, w10, #0x1ffffe
add w10, w8, w10
add w10, w10, #2
and w9, w9, #0xfffff000
sub w9, w8, w9
sub w9, w9, #1, lsl #12 ; =4096
cmp w8, #1, lsl #12 ; =4096
csel w9, w8, w9, lt
csel w8, w8, w10, lt
add w10, w8, #2
and w11, w9, #0x7
cmp w9, #135
csel w9, w11, w9, gt
csel w8, w10, w8, gt
cmp w9, #7
cinc w8, w8, gt
LBB17_7:
cmp w26, w8
ccmp w28, #0, #4, lt
b.ne LBB17_9
; %bb.8:
mov w0, #0
ldr x28, [sp] ; 8-byte Folded Reload
b LBB17_14
LBB17_9:
add w28, w27, #1
add x1, x25, #1
add x3, sp, #20
add x4, sp, #16
mov x0, x23
mov x2, x24
bl _TgvLz_LookupMatch
ldr w19, [sp, #20]
cbz w0, LBB17_12
; %bb.10:
add w8, w22, #1
cmp w19, w8
eor w8, w28, w27
ccmp w8, #8, #2, gt
cset w20, lo
ldr w3, [sp, #16]
mov x0, x23
mov x1, x28
mov x2, x19
bl _TgvLz_EstMatchCost
mov x8, x0
mov w0, #0
sub w8, w8, w19
sub w9, w26, w22
cmp w8, w9
b.le LBB17_15
; %bb.11:
ldr x28, [sp] ; 8-byte Folded Reload
tbz w20, #0, LBB17_13
b LBB17_14
LBB17_12:
ldr w3, [sp, #16]
mov x0, x23
mov x1, x28
mov x2, x19
bl _TgvLz_EstMatchCost
ldr x28, [sp] ; 8-byte Folded Reload
LBB17_13:
add w19, w27, #2
add x1, x25, #2
add x3, sp, #20
add x4, sp, #16
mov x0, x23
mov x2, x24
bl _TgvLz_LookupMatch
mov x24, x0
ldp w3, w25, [sp, #16]
mov x0, x23
mov x1, x19
mov x2, x25
bl _TgvLz_EstMatchCost
mov w8, #1
sub w9, w0, w25
sub w10, w26, w22
cmp w9, w10
cset w9, ge
cmp w24, #0
csel w0, w8, w9, eq
LBB17_14:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str w22, [x8]
str w21, [x28]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB17_15:
ldr x28, [sp] ; 8-byte Folded Reload
b LBB17_14
.cfi_endproc
; -- End function
.globl _TgvLz_MatchCopy ; -- Begin function TgvLz_MatchCopy
.p2align 2
_TgvLz_MatchCopy: ; @TgvLz_MatchCopy
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
sub x8, x0, x1
cmp w8, #7
b.gt LBB18_7
; %bb.1:
cmp w8, #4
b.eq LBB18_11
; %bb.2:
cmp w8, #2
b.eq LBB18_14
; %bb.3:
cmp w8, #1
b.ne LBB18_17
; %bb.4:
cmp w2, #1
b.lt LBB18_10
; %bb.5:
ldrb w8, [x1]
add x9, x0, w2, sxtw
mov x12, x8
bfi x12, x8, #8, #8
bfi x12, x12, #16, #16
bfi x12, x12, #32, #32
lsr x10, x12, #56
lsr x11, x12, #48
lsr x12, x12, #40
mov w13, #16843009
LBB18_6: ; =>This Inner Loop Header: Depth=1
mul w14, w8, w13
strb w14, [x0, #4]
str w14, [x0]
strb w12, [x0, #5]
strb w11, [x0, #6]
strb w10, [x0, #7]
add x0, x0, #8
cmp x0, x9
b.lo LBB18_6
b LBB18_10
LBB18_7:
cmp w2, #1
b.lt LBB18_10
; %bb.8:
add x8, x0, w2, sxtw
LBB18_9: ; =>This Inner Loop Header: Depth=1
ldr x9, [x1], #8
str x9, [x0], #8
cmp x0, x8
b.lo LBB18_9
LBB18_10:
ret
LBB18_11:
cmp w2, #1
b.lt LBB18_10
; %bb.12:
ldr s0, [x1]
ushll.8h v0, v0, #0
; kill: def $w2 killed $w2 killed $x2 def $x2
sxtw x8, w2
add x9, x0, #8
add x8, x0, x8
cmp x8, x9
csel x9, x8, x9, hi
mvn x10, x0
add x9, x9, x10
cmp x9, #24
b.hs LBB18_20
; %bb.13:
mov x9, x0
b LBB18_23
LBB18_14:
cmp w2, #1
b.lt LBB18_10
; %bb.15:
ldrb w8, [x1]
ldrb w9, [x1, #1]
sxtw x10, w2
mov x13, x8
bfi x13, x9, #8, #8
bfi x13, x13, #16, #16
bfi x13, x13, #32, #32
add x11, x0, #8
add x10, x0, x10
cmp x10, x11
csel x12, x10, x11, hi
mvn x14, x0
lsr x11, x13, #56
add x14, x12, x14
lsr x12, x13, #48
lsr x13, x13, #40
cmp x14, #24
b.hs LBB18_25
; %bb.16:
mov x14, x0
b LBB18_28
LBB18_17:
cmp w2, #1
b.lt LBB18_10
; %bb.18:
ldr d0, [x1]
sxtw x8, w8
add x9, x0, w2, sxtw
LBB18_19: ; =>This Inner Loop Header: Depth=1
str d0, [x0]
add x0, x0, x8
cmp x0, x9
b.lo LBB18_19
b LBB18_10
LBB18_20:
mov.16b v1, v0
mov.d v1[1], v0[0]
uzp1.16b v1, v1, v1
lsr x9, x9, #3
add x10, x9, #1
and x11, x10, #0x3ffffffffffffffc
add x9, x0, x11, lsl #3
mov.16b v2, v0
mov.d v2[1], v0[0]
uzp1.16b v2, v2, v2
add x12, x0, #16
mov x13, x11
LBB18_21: ; =>This Inner Loop Header: Depth=1
stp q1, q2, [x12, #-16]
add x12, x12, #32
subs x13, x13, #4
b.ne LBB18_21
; %bb.22:
cmp x10, x11
b.eq LBB18_10
LBB18_23:
umov.h w10, v0[0]
umov.h w11, v0[1]
umov.h w12, v0[2]
umov.h w13, v0[3]
LBB18_24: ; =>This Inner Loop Header: Depth=1
strb w10, [x9]
strb w11, [x9, #1]
strb w12, [x9, #2]
strb w13, [x9, #3]
strb w10, [x9, #4]
strb w11, [x9, #5]
strb w12, [x9, #6]
strb w13, [x9, #7]
add x9, x9, #8
cmp x9, x8
b.lo LBB18_24
b LBB18_10
LBB18_25:
lsr x14, x14, #3
add x15, x14, #1
and x16, x15, #0x3ffffffffffffffc
add x14, x0, x16, lsl #3
add x17, x0, #15
mov x0, x16
LBB18_26: ; =>This Inner Loop Header: Depth=1
sturb w8, [x17, #-15]
sturb w8, [x17, #-7]
strb w8, [x17, #1]
strb w8, [x17, #9]
sturb w9, [x17, #-14]
sturb w9, [x17, #-6]
strb w9, [x17, #2]
strb w9, [x17, #10]
sturb w8, [x17, #-13]
sturb w8, [x17, #-5]
strb w8, [x17, #3]
strb w8, [x17, #11]
sturb w9, [x17, #-12]
sturb w9, [x17, #-4]
strb w9, [x17, #4]
strb w9, [x17, #12]
sturb w8, [x17, #-11]
sturb w8, [x17, #-3]
strb w8, [x17, #5]
strb w8, [x17, #13]
sturb w13, [x17, #-10]
sturb w13, [x17, #-2]
strb w13, [x17, #6]
strb w13, [x17, #14]
sturb w12, [x17, #-9]
sturb w12, [x17, #-1]
strb w12, [x17, #7]
strb w12, [x17, #15]
sturb w11, [x17, #-8]
strb w11, [x17]
strb w11, [x17, #8]
strb w11, [x17, #16]
add x17, x17, #32
subs x0, x0, #4
b.ne LBB18_26
; %bb.27:
cmp x15, x16
b.eq LBB18_10
LBB18_28: ; =>This Inner Loop Header: Depth=1
strb w8, [x14]
strb w9, [x14, #1]
strb w8, [x14, #2]
strb w9, [x14, #3]
strb w8, [x14, #4]
strb w13, [x14, #5]
strb w12, [x14, #6]
strb w11, [x14, #7]
add x14, x14, #8
cmp x14, x10
b.lo LBB18_28
b LBB18_10
.cfi_endproc
; -- End function
.globl _TgvLz_MatchCopy2 ; -- Begin function TgvLz_MatchCopy2
.p2align 2
_TgvLz_MatchCopy2: ; @TgvLz_MatchCopy2
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
; kill: def $w1 killed $w1 def $x1
cmp w2, #7
b.gt LBB19_7
; %bb.1:
cmp w2, #4
b.eq LBB19_11
; %bb.2:
cmp w2, #2
b.eq LBB19_14
; %bb.3:
cmp w2, #1
b.ne LBB19_17
; %bb.4:
cmp w1, #1
b.lt LBB19_29
; %bb.5:
ldurb w8, [x0, #-1]
add x9, x0, w1, sxtw
mov x12, x8
bfi x12, x8, #8, #8
bfi x12, x12, #16, #16
bfi x12, x12, #32, #32
lsr x10, x12, #56
lsr x11, x12, #48
lsr x12, x12, #40
mov w13, #16843009
LBB19_6: ; =>This Inner Loop Header: Depth=1
mul w14, w8, w13
strb w14, [x0, #4]
str w14, [x0]
strb w12, [x0, #5]
strb w11, [x0, #6]
strb w10, [x0, #7]
add x0, x0, #8
cmp x0, x9
b.lo LBB19_6
b LBB19_29
LBB19_7:
cmp w1, #16
b.gt LBB19_9
; %bb.8:
sub x8, x0, w2, uxtw
ldr x9, [x8]
str x9, [x0]
ldr x8, [x8, #8]
str x8, [x0, #8]
ret
LBB19_9:
mov x9, #0
add x8, x0, w1, uxtw
sub x9, x9, w2, uxtw
LBB19_10: ; =>This Inner Loop Header: Depth=1
add x10, x0, x9
ldr x11, [x10]
str x11, [x0]
ldr x10, [x10, #8]
str x10, [x0, #8]
add x0, x0, #16
cmp x0, x8
b.lo LBB19_10
b LBB19_29
LBB19_11:
cmp w1, #1
b.lt LBB19_29
; %bb.12:
ldur s0, [x0, #-4]
ushll.8h v0, v0, #0
; kill: def $w1 killed $w1 killed $x1 def $x1
sxtw x8, w1
add x9, x0, #8
add x8, x0, x8
cmp x8, x9
csel x9, x8, x9, hi
mvn x10, x0
add x9, x9, x10
cmp x9, #24
b.hs LBB19_20
; %bb.13:
mov x9, x0
b LBB19_23
LBB19_14:
cmp w1, #1
b.lt LBB19_29
; %bb.15:
ldurb w8, [x0, #-2]
ldurb w9, [x0, #-1]
sxtw x10, w1
mov x13, x8
bfi x13, x9, #8, #8
bfi x13, x13, #16, #16
bfi x13, x13, #32, #32
add x11, x0, #8
add x10, x0, x10
cmp x10, x11
csel x12, x10, x11, hi
mvn x14, x0
lsr x11, x13, #56
add x14, x12, x14
lsr x12, x13, #48
lsr x13, x13, #40
cmp x14, #24
b.hs LBB19_25
; %bb.16:
mov x14, x0
b LBB19_28
LBB19_17:
cmp w1, #1
b.lt LBB19_29
; %bb.18:
sxtw x8, w2
sub x9, x0, x8
ldr d0, [x9]
add x9, x0, w1, sxtw
LBB19_19: ; =>This Inner Loop Header: Depth=1
str d0, [x0]
add x0, x0, x8
cmp x0, x9
b.lo LBB19_19
b LBB19_29
LBB19_20:
mov.16b v1, v0
mov.d v1[1], v0[0]
uzp1.16b v1, v1, v1
lsr x9, x9, #3
add x10, x9, #1
and x11, x10, #0x3ffffffffffffffc
add x9, x0, x11, lsl #3
mov.16b v2, v0
mov.d v2[1], v0[0]
uzp1.16b v2, v2, v2
add x12, x0, #16
mov x13, x11
LBB19_21: ; =>This Inner Loop Header: Depth=1
stp q1, q2, [x12, #-16]
add x12, x12, #32
subs x13, x13, #4
b.ne LBB19_21
; %bb.22:
cmp x10, x11
b.eq LBB19_29
LBB19_23:
umov.h w10, v0[0]
umov.h w11, v0[1]
umov.h w12, v0[2]
umov.h w13, v0[3]
LBB19_24: ; =>This Inner Loop Header: Depth=1
strb w10, [x9]
strb w11, [x9, #1]
strb w12, [x9, #2]
strb w13, [x9, #3]
strb w10, [x9, #4]
strb w11, [x9, #5]
strb w12, [x9, #6]
strb w13, [x9, #7]
add x9, x9, #8
cmp x9, x8
b.lo LBB19_24
b LBB19_29
LBB19_25:
lsr x14, x14, #3
add x15, x14, #1
and x16, x15, #0x3ffffffffffffffc
add x14, x0, x16, lsl #3
add x17, x0, #15
mov x0, x16
LBB19_26: ; =>This Inner Loop Header: Depth=1
sturb w8, [x17, #-15]
sturb w8, [x17, #-7]
strb w8, [x17, #1]
strb w8, [x17, #9]
sturb w9, [x17, #-14]
sturb w9, [x17, #-6]
strb w9, [x17, #2]
strb w9, [x17, #10]
sturb w8, [x17, #-13]
sturb w8, [x17, #-5]
strb w8, [x17, #3]
strb w8, [x17, #11]
sturb w9, [x17, #-12]
sturb w9, [x17, #-4]
strb w9, [x17, #4]
strb w9, [x17, #12]
sturb w8, [x17, #-11]
sturb w8, [x17, #-3]
strb w8, [x17, #5]
strb w8, [x17, #13]
sturb w13, [x17, #-10]
sturb w13, [x17, #-2]
strb w13, [x17, #6]
strb w13, [x17, #14]
sturb w12, [x17, #-9]
sturb w12, [x17, #-1]
strb w12, [x17, #7]
strb w12, [x17, #15]
sturb w11, [x17, #-8]
strb w11, [x17]
strb w11, [x17, #8]
strb w11, [x17, #16]
add x17, x17, #32
subs x0, x0, #4
b.ne LBB19_26
; %bb.27:
cmp x15, x16
b.eq LBB19_29
LBB19_28: ; =>This Inner Loop Header: Depth=1
strb w8, [x14]
strb w9, [x14, #1]
strb w8, [x14, #2]
strb w9, [x14, #3]
strb w8, [x14, #4]
strb w13, [x14, #5]
strb w12, [x14, #6]
strb w11, [x14, #7]
add x14, x14, #8
cmp x14, x10
b.lo LBB19_28
LBB19_29:
ret
.cfi_endproc
; -- End function
.globl _TgvLz_RawCopy ; -- Begin function TgvLz_RawCopy
.p2align 2
_TgvLz_RawCopy: ; @TgvLz_RawCopy
.cfi_startproc
; %bb.0:
cmp w2, #9
b.lt LBB20_4
; %bb.1:
add x8, x0, w2, uxtw
LBB20_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x1]
str x9, [x0]
ldr x9, [x1, #8]
str x9, [x0, #8]
add x0, x0, #16
add x1, x1, #16
cmp x0, x8
b.lo LBB20_2
LBB20_3:
ret
LBB20_4:
cbz w2, LBB20_3
; %bb.5:
ldr x8, [x1]
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _TgvLz_RawCopyB ; -- Begin function TgvLz_RawCopyB
.p2align 2
_TgvLz_RawCopyB: ; @TgvLz_RawCopyB
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB21_3
; %bb.1:
add x8, x0, w2, sxtw
LBB21_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x1]
str x9, [x0]
ldr x9, [x1, #8]
str x9, [x0, #8]
add x0, x0, #16
add x1, x1, #16
cmp x0, x8
b.lo LBB21_2
LBB21_3:
ret
.cfi_endproc
; -- End function
.globl _TgvLz_EncodeBufferRP2 ; -- Begin function TgvLz_EncodeBufferRP2
.p2align 2
_TgvLz_EncodeBufferRP2: ; @TgvLz_EncodeBufferRP2
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x25, x2
add x8, x0, #513, lsl #12 ; =2101248
add x26, x8, #32
str x1, [x26]
cmp w3, #1
b.lt LBB22_48
; %bb.1:
mov x22, x0
mov w28, #4093
mov x21, x25
add x23, x1, w3, sxtw
LBB22_2: ; =>This Loop Header: Depth=1
; Child Loop BB22_3 Depth 2
; Child Loop BB22_7 Depth 2
; Child Loop BB22_10 Depth 2
; Child Loop BB22_14 Depth 2
; Child Loop BB22_18 Depth 2
; Child Loop BB22_36 Depth 2
mov x27, #0
mov x20, x1
mov x19, x1
LBB22_3: ; Parent Loop BB22_2 Depth=1
; => This Inner Loop Header: Depth=2
add x24, x20, x27
add x4, sp, #28
add x5, sp, #24
mov x0, x22
mov x1, x24
mov x2, x23
mov x3, x20
bl _TgvLz_LookupMatchB
cbnz w0, LBB22_5
; %bb.4: ; in Loop: Header=BB22_3 Depth=2
ldr x8, [x26]
sub x8, x24, x8
ldrh w9, [x24]
ldrb w10, [x24, #2]
bfi w9, w10, #16, #16
mul w9, w9, w28
ubfx w9, w9, #12, #12
add x10, x22, x9
mov w12, #2097152
ldrb w11, [x10, x12]
sub w11, w11, #1
and w11, w11, #0x3f
strb w11, [x10, x12]
bfi w11, w9, #6, #12
str x24, [x22, w11, uxtw #3]
ldr w9, [x24]
eor w9, w9, w9, asr #16
mul w9, w9, w28
ubfx w9, w9, #12, #14
add x10, x22, w8, uxth #3
mov w11, #4136
movk w11, #32, lsl #16
str x24, [x10, x11]
add x9, x22, w9, uxtw #1
mov w12, #4136
movk w12, #42, lsl #16
ldrh w10, [x9, x12]
add x11, x22, w8, uxth #1
mov w13, #4136
movk w13, #40, lsl #16
strh w10, [x11, x13]
strh w8, [x9, x12]
add x27, x27, #1
add x19, x19, #1
add x1, x20, x27
cmp x1, x23
b.lo LBB22_3
b LBB22_49
LBB22_5: ; in Loop: Header=BB22_2 Depth=1
mov w8, #0
cbz w27, LBB22_8
; %bb.6: ; in Loop: Header=BB22_2 Depth=1
mov x9, x27
LBB22_7: ; Parent Loop BB22_2 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w8, #1
asr w10, w9, #1
cmp w9, #1
mov x9, x10
b.hi LBB22_7
LBB22_8: ; in Loop: Header=BB22_2 Depth=1
add x8, x22, w8, sxtw #2
mov w10, #37120
movk w10, #42, lsl #16
ldr w9, [x8, x10]
add w9, w9, #1
str w9, [x8, x10]
ldr w8, [sp, #28]
cbz w8, LBB22_11
; %bb.9: ; in Loop: Header=BB22_2 Depth=1
mov w9, #0
LBB22_10: ; Parent Loop BB22_2 Depth=1
; => This Inner Loop Header: Depth=2
add w9, w9, #1
asr w10, w8, #1
cmp w8, #1
mov x8, x10
b.hi LBB22_10
b LBB22_12
LBB22_11: ; in Loop: Header=BB22_2 Depth=1
mov w9, #0
LBB22_12: ; in Loop: Header=BB22_2 Depth=1
add x8, x22, w9, sxtw #2
mov w10, #36928
movk w10, #42, lsl #16
ldr w9, [x8, x10]
add w9, w9, #1
str w9, [x8, x10]
ldr w8, [sp, #24]
cbz w8, LBB22_15
; %bb.13: ; in Loop: Header=BB22_2 Depth=1
mov w9, #0
LBB22_14: ; Parent Loop BB22_2 Depth=1
; => This Inner Loop Header: Depth=2
add w9, w9, #1
asr w10, w8, #1
cmp w8, #1
mov x8, x10
b.hi LBB22_14
b LBB22_16
LBB22_15: ; in Loop: Header=BB22_2 Depth=1
mov w9, #0
LBB22_16: ; in Loop: Header=BB22_2 Depth=1
add x8, x22, w9, sxtw #2
mov w10, #37024
movk w10, #42, lsl #16
ldr w9, [x8, x10]
add w9, w9, #1
str w9, [x8, x10]
cmp w27, #135
stp x26, x25, [sp] ; 16-byte Folded Spill
str x23, [sp, #16] ; 8-byte Folded Spill
b.le LBB22_28
; %bb.17: ; in Loop: Header=BB22_2 Depth=1
mov x28, x27
mov x25, x20
mov w23, #512
LBB22_18: ; Parent Loop BB22_2 Depth=1
; => This Inner Loop Header: Depth=2
lsr w8, w28, #3
cmp w8, #512
csel w8, w8, w23, lt
lsl w26, w8, #3
lsl w8, w8, #7
sub w8, w8, #65
strh w8, [x21], #2
mov x0, x21
mov x1, x25
mov x2, x26
bl _memcpy
add x21, x21, x26
add x25, x25, x26
sub w28, w28, w26
cmp w28, #135
b.gt LBB22_18
; %bb.19: ; in Loop: Header=BB22_2 Depth=1
cmp w28, #8
b.lt LBB22_21
LBB22_20: ; in Loop: Header=BB22_2 Depth=1
and w23, w28, #0x7
and w26, w28, #0xfffffff8
lsl w8, w28, #1
sub w8, w8, #16
and w8, w8, #0xf0
orr w8, w8, #0x7
strb w8, [x21], #1
mov x0, x21
mov x1, x25
mov x2, x26
bl _memcpy
add x21, x21, x26
add x25, x25, x26
mov x28, x23
LBB22_21: ; in Loop: Header=BB22_2 Depth=1
ldr x23, [sp, #16] ; 8-byte Folded Reload
ldp w8, w9, [sp, #24]
cmp w9, #10
b.gt LBB22_25
; %bb.22: ; in Loop: Header=BB22_2 Depth=1
cmp w8, #511
b.gt LBB22_25
; %bb.23: ; in Loop: Header=BB22_2 Depth=1
lsl w9, w9, #4
sub w9, w9, #48
orr w9, w9, w28, lsl #1
orr w8, w9, w8, lsl #7
strh w8, [x21], #2
; kill: def $w28 killed $w28 killed $x28 def $x28
LBB22_24: ; in Loop: Header=BB22_2 Depth=1
sxtw x26, w28
mov x0, x21
mov x1, x25
mov x2, x26
bl _memcpy
add x21, x21, x26
b LBB22_33
LBB22_25: ; in Loop: Header=BB22_2 Depth=1
cmp w9, #67
b.gt LBB22_29
; %bb.26: ; in Loop: Header=BB22_2 Depth=1
cmp w8, #2, lsl #12 ; =8192
b.ge LBB22_29
; %bb.27: ; in Loop: Header=BB22_2 Depth=1
lsl w9, w9, #5
sub w9, w9, #128
orr w9, w9, w28, lsl #2
orr w8, w9, w8, lsl #11
orr w9, w9, #0x1
strb w9, [x21]
lsr w9, w8, #8
strb w9, [x21, #1]
lsr w8, w8, #16
add x26, x21, #3
strb w8, [x21, #2]
b LBB22_32
LBB22_28: ; in Loop: Header=BB22_2 Depth=1
mov x25, x20
mov x28, x27
cmp w28, #8
b.ge LBB22_20
b LBB22_21
LBB22_29: ; in Loop: Header=BB22_2 Depth=1
cmp w9, #515
b.gt LBB22_38
; %bb.30: ; in Loop: Header=BB22_2 Depth=1
cmp w8, #32, lsl #12 ; =131072
b.ge LBB22_38
; %bb.31: ; in Loop: Header=BB22_2 Depth=1
lsl w9, w9, #6
sub w9, w9, #256
orr w9, w9, w28, lsl #3
orr w8, w9, w8, lsl #15
orr w9, w9, #0x3
strb w9, [x21]
lsr w9, w8, #8
strb w9, [x21, #1]
lsr w9, w8, #16
strb w9, [x21, #2]
lsr w8, w8, #24
add x26, x21, #4
strb w8, [x21, #3]
LBB22_32: ; in Loop: Header=BB22_2 Depth=1
; kill: def $w28 killed $w28 killed $x28 def $x28
sxtw x21, w28
mov x0, x26
mov x1, x25
mov x2, x21
bl _memcpy
add x21, x26, x21
LBB22_33: ; in Loop: Header=BB22_2 Depth=1
ldp x26, x25, [sp] ; 16-byte Folded Reload
mov w28, #4093
mov w13, #2097152
mov w14, #4136
movk w14, #32, lsl #16
mov w15, #4136
movk w15, #42, lsl #16
mov w16, #4136
movk w16, #40, lsl #16
LBB22_34: ; in Loop: Header=BB22_2 Depth=1
ldrsw x8, [sp, #28]
add x9, x20, x8
add x1, x9, x27
cmp w8, #1
b.lt LBB22_37
; %bb.35: ; in Loop: Header=BB22_2 Depth=1
ldr x9, [x26]
sub x9, x19, x9
LBB22_36: ; Parent Loop BB22_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrh w10, [x24]
ldrb w11, [x24, #2]
bfi w10, w11, #16, #16
mul w10, w10, w28
ubfx w10, w10, #12, #12
add x11, x22, x10
ldrb w12, [x11, x13]
sub w12, w12, #1
and w12, w12, #0x3f
strb w12, [x11, x13]
bfi w12, w10, #6, #12
str x24, [x22, w12, uxtw #3]
ldr w10, [x24]
eor w10, w10, w10, asr #16
mul w10, w10, w28
ubfx w10, w10, #12, #14
add x11, x22, w9, uxth #3
str x24, [x11, x14]
add x10, x22, w10, uxtw #1
ldrh w11, [x10, x15]
add x12, x22, w9, uxth #1
strh w11, [x12, x16]
add x11, x24, #1
strh w9, [x10, x15]
add x9, x9, #1
mov x24, x11
cmp x11, x1
b.lo LBB22_36
LBB22_37: ; in Loop: Header=BB22_2 Depth=1
cmp x1, x23
b.lo LBB22_2
b LBB22_56
LBB22_38: ; in Loop: Header=BB22_2 Depth=1
cmp w9, #4, lsl #12 ; =16384
mov w13, #2097152
mov w14, #4136
movk w14, #32, lsl #16
mov w15, #4136
movk w15, #42, lsl #16
mov w16, #4136
movk w16, #40, lsl #16
b.ge LBB22_42
; %bb.39: ; in Loop: Header=BB22_2 Depth=1
cmp w8, #1024, lsl #12 ; =4194304
b.ge LBB22_42
; %bb.40: ; in Loop: Header=BB22_2 Depth=1
mov w8, #15
bfi w8, w28, #5, #27
strb w8, [x21]
ldp w9, w10, [sp, #24]
sub w8, w10, #4
cmp w10, #131
b.gt LBB22_43
; %bb.41: ; in Loop: Header=BB22_2 Depth=1
lsl w10, w8, #1
add x8, x21, #2
strb w10, [x21, #1]
b LBB22_44
LBB22_42: ; in Loop: Header=BB22_2 Depth=1
ldp x26, x25, [sp] ; 16-byte Folded Reload
mov w28, #4093
b LBB22_34
LBB22_43: ; in Loop: Header=BB22_2 Depth=1
mov w10, #1
bfi w10, w8, #2, #30
strb w10, [x21, #1]
lsr w10, w8, #6
add x8, x21, #3
strb w10, [x21, #2]
LBB22_44: ; in Loop: Header=BB22_2 Depth=1
cmp w9, #8, lsl #12 ; =32768
b.ge LBB22_46
; %bb.45: ; in Loop: Header=BB22_2 Depth=1
lsl w10, w9, #1
mov x21, x8
strb w10, [x21], #2
b LBB22_47
LBB22_46: ; in Loop: Header=BB22_2 Depth=1
lsl w10, w9, #2
mov w11, #1
bfi w11, w9, #2, #30
strb w11, [x8]
lsr w9, w9, #14
add x21, x8, #3
strb w9, [x8, #2]
LBB22_47: ; in Loop: Header=BB22_2 Depth=1
lsr w9, w10, #8
strb w9, [x8, #1]
b LBB22_24
LBB22_48:
mov x20, x1
mov x21, x25
LBB22_49:
sub w19, w1, w20
cmp w19, #9
b.lt LBB22_52
; %bb.50:
mov w23, #16
LBB22_51: ; =>This Inner Loop Header: Depth=1
lsr w8, w19, #3
cmp w8, #16
csel w8, w8, w23, lt
lsl w22, w8, #3
lsl w8, w8, #4
sub w8, w8, #9
strb w8, [x21], #1
mov x0, x21
mov x1, x20
mov x2, x22
bl _memcpy
add x21, x21, x22
sub w19, w19, w22
add x20, x20, x22
cmp w19, #8
b.gt LBB22_51
LBB22_52:
cbz w19, LBB22_55
; %bb.53:
mov w23, #3
LBB22_54: ; =>This Inner Loop Header: Depth=1
cmp w19, #3
csel w24, w19, w23, lt
mov w8, #31
bfi w8, w24, #6, #26
strb w8, [x21], #1
sxtw x22, w24
mov x0, x21
mov x1, x20
mov x2, x22
bl _memcpy
add x21, x21, x22
add x20, x20, x22
subs w19, w19, w24
b.ne LBB22_54
LBB22_55:
mov w8, #31
strb w8, [x21]
sub w8, w21, w25
add w0, w8, #1
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB22_56:
add x8, x20, x8
add x20, x8, x27
mov x1, x20
b LBB22_49
.cfi_endproc
; -- End function
.globl _TgvLz_DecodeBufferRP2 ; -- Begin function TgvLz_DecodeBufferRP2
.p2align 2
_TgvLz_DecodeBufferRP2: ; @TgvLz_DecodeBufferRP2
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x22, x0
mov w24, #0
mov w20, #0
mov w21, #0
mov w25, #16383
mov w26, #127
mov w27, #24
mov w28, #16
mov x8, x1
b LBB23_3
LBB23_1: ; in Loop: Header=BB23_3 Depth=1
add x22, x22, #3
orr w9, w12, w11, lsl #16
ubfx w24, w9, #2, #3
ubfx w10, w9, #5, #6
add w20, w10, #4
ubfx w21, w9, #11, #13
LBB23_2: ; in Loop: Header=BB23_3 Depth=1
ldr x9, [x22]
str x9, [x8]
mov w9, w24
add x22, x22, x9
add x23, x8, x9
mov x0, x23
mov x1, x20
mov x2, x21
bl _TgvLz_MatchCopy2
add x8, x23, w20, uxtw
LBB23_3: ; =>This Loop Header: Depth=1
; Child Loop BB23_8 Depth 2
; Child Loop BB23_20 Depth 3
; Child Loop BB23_16 Depth 3
mov x9, x22
ldrb w13, [x9], #2
mov x10, x22
ldrb w11, [x10, #1]!
mov x12, x13
bfi x12, x11, #8, #8
tbnz w13, #0, LBB23_6
; %bb.4: ; in Loop: Header=BB23_3 Depth=1
mov x11, x8
LBB23_5: ; in Loop: Header=BB23_3 Depth=1
ubfx w24, w12, #1, #3
ubfx w8, w12, #4, #3
add w20, w8, #3
ubfx x21, x12, #7, #25
mov x8, x11
mov x22, x9
b LBB23_2
LBB23_6: ; in Loop: Header=BB23_3 Depth=1
mov x14, x13
b LBB23_8
LBB23_7: ; in Loop: Header=BB23_8 Depth=2
mov x9, x22
ldrb w13, [x9], #2
mov x10, x22
ldrb w8, [x10, #1]!
mov x12, x13
bfi x12, x8, #8, #8
mov x14, x13
mov x8, x11
tbz w13, #0, LBB23_5
LBB23_8: ; Parent Loop BB23_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB23_20 Depth 3
; Child Loop BB23_16 Depth 3
ldrb w11, [x22, #2]
tbz w13, #1, LBB23_1
; %bb.9: ; in Loop: Header=BB23_8 Depth=2
ldrb w15, [x22, #3]
tbz w13, #2, LBB23_22
; %bb.10: ; in Loop: Header=BB23_8 Depth=2
tbz w13, #3, LBB23_15
; %bb.11: ; in Loop: Header=BB23_8 Depth=2
tbz w13, #4, LBB23_23
; %bb.12: ; in Loop: Header=BB23_8 Depth=2
tbnz w13, #5, LBB23_18
; %bb.13: ; in Loop: Header=BB23_8 Depth=2
cmp w14, #64
b.lo LBB23_26
; %bb.14: ; in Loop: Header=BB23_8 Depth=2
lsr w24, w14, #6
ldr w9, [x10]
str w9, [x8]
ubfx x9, x14, #6, #8
add x22, x10, x9
add x11, x8, x9
b LBB23_7
LBB23_15: ; in Loop: Header=BB23_8 Depth=2
lsr w9, w14, #1
and w9, w9, #0x78
add w24, w9, #8
add x11, x8, x24
mov x9, x10
LBB23_16: ; Parent Loop BB23_3 Depth=1
; Parent Loop BB23_8 Depth=2
; => This Inner Loop Header: Depth=3
ldr x12, [x9]
str x12, [x8]
ldr x12, [x9, #8]
str x12, [x8, #8]
add x8, x8, #16
add x9, x9, #16
cmp x8, x11
b.lo LBB23_16
; %bb.17: ; in Loop: Header=BB23_8 Depth=2
add x22, x10, x24
b LBB23_7
LBB23_18: ; in Loop: Header=BB23_8 Depth=2
tbnz w13, #6, LBB23_2
; %bb.19: ; in Loop: Header=BB23_8 Depth=2
ubfx x10, x12, #4, #28
and w10, w10, #0xff8
add w10, w10, #8
mov x24, x10
add x11, x8, x10
mov x12, x9
LBB23_20: ; Parent Loop BB23_3 Depth=1
; Parent Loop BB23_8 Depth=2
; => This Inner Loop Header: Depth=3
ldr x13, [x12]
str x13, [x8]
ldr x13, [x12, #8]
str x13, [x8, #8]
add x8, x8, #16
add x12, x12, #16
cmp x8, x11
b.lo LBB23_20
; %bb.21: ; in Loop: Header=BB23_8 Depth=2
add x22, x9, x10
b LBB23_7
LBB23_22: ; in Loop: Header=BB23_3 Depth=1
add x22, x22, #4
orr w9, w12, w11, lsl #16
orr w9, w9, w15, lsl #24
ubfx w24, w9, #3, #3
ubfx w10, w9, #6, #9
add w20, w10, #4
lsr w21, w9, #15
b LBB23_2
LBB23_23: ; in Loop: Header=BB23_3 Depth=1
ldrb w9, [x22, #4]
ldrb w13, [x22, #5]
orr x11, x12, x11, lsl #16
orr x11, x11, x15, lsl #24
orr x9, x11, x9, lsl #32
orr x11, x9, x13, lsl #40
lsr w24, w14, #5
lsr x12, x9, #8
tst w12, #0x1
mov w9, #1
cinc w13, w9, ne
csel w14, w26, w25, eq
csel x15, x28, x27, eq
csel x9, x22, x10, eq
lsr w10, w12, w13
and w12, w10, w14
lsr x10, x11, x15
add w20, w12, #4
tbnz w10, #0, LBB23_25
; %bb.24: ; in Loop: Header=BB23_3 Depth=1
ubfx w21, w10, #1, #15
add x22, x9, #4
b LBB23_2
LBB23_25: ; in Loop: Header=BB23_3 Depth=1
ubfx w21, w10, #2, #22
add x22, x9, #5
b LBB23_2
LBB23_26:
sub w0, w8, w19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _TgvLz_EncodeBufferLZ4 ; -- Begin function TgvLz_EncodeBufferLZ4
.p2align 2
_TgvLz_EncodeBufferLZ4: ; @TgvLz_EncodeBufferLZ4
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x23, x2
mov x25, x1
add x8, x0, #513, lsl #12 ; =2101248
add x8, x8, #32
str x8, [sp, #32] ; 8-byte Folded Spill
str x1, [x8]
cmp w3, #1
b.lt LBB24_33
; %bb.1:
mov x21, x0
str x23, [sp, #16] ; 8-byte Folded Spill
mov x0, x23
add x23, x25, w3, sxtw
LBB24_2: ; =>This Loop Header: Depth=1
; Child Loop BB24_3 Depth 2
; Child Loop BB24_7 Depth 2
; Child Loop BB24_11 Depth 2
; Child Loop BB24_15 Depth 2
; Child Loop BB24_29 Depth 2
str x0, [sp, #24] ; 8-byte Folded Spill
mov w26, #0
mov x28, #0
mov x22, #0
mov x27, x25
mov w19, #-15
mov x20, x25
LBB24_3: ; Parent Loop BB24_2 Depth=1
; => This Inner Loop Header: Depth=2
add x24, x27, x22
add x4, sp, #44
add x5, sp, #40
mov x0, x21
mov x1, x24
mov x2, x23
mov x3, x27
bl _TgvLz_LookupMatchB
cbnz w0, LBB24_5
; %bb.4: ; in Loop: Header=BB24_3 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldrh w9, [x24]
ldrb w10, [x24, #2]
bfi w9, w10, #16, #16
mov w12, #4093
mul w9, w9, w12
ubfx w9, w9, #12, #12
add x10, x21, x9
mov w13, #2097152
ldrb w11, [x10, x13]
sub x8, x24, x8
sub w11, w11, #1
and w11, w11, #0x3f
strb w11, [x10, x13]
bfi w11, w9, #6, #12
str x24, [x21, w11, uxtw #3]
ldr w9, [x24]
eor w9, w9, w9, asr #16
mul w9, w9, w12
ubfx w9, w9, #12, #14
add x10, x21, w8, uxth #3
mov w11, #4136
movk w11, #32, lsl #16
str x24, [x10, x11]
add x9, x21, w9, uxtw #1
mov w12, #4136
movk w12, #42, lsl #16
ldrh w10, [x9, x12]
add x11, x21, w8, uxth #1
mov w13, #4136
movk w13, #40, lsl #16
strh w10, [x11, x13]
strh w8, [x9, x12]
add x22, x22, #1
add w19, w19, #1
mov x8, #4294967296
add x28, x28, x8
add w26, w26, #16
add x20, x20, #1
add x25, x27, x22
cmp x25, x23
b.lo LBB24_3
b LBB24_32
LBB24_5: ; in Loop: Header=BB24_2 Depth=1
mov w8, #0
cbz w22, LBB24_8
; %bb.6: ; in Loop: Header=BB24_2 Depth=1
mov x9, x22
ldr x12, [sp, #24] ; 8-byte Folded Reload
LBB24_7: ; Parent Loop BB24_2 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w8, #1
asr w10, w9, #1
cmp w9, #1
mov x9, x10
b.hi LBB24_7
b LBB24_9
LBB24_8: ; in Loop: Header=BB24_2 Depth=1
ldr x12, [sp, #24] ; 8-byte Folded Reload
LBB24_9: ; in Loop: Header=BB24_2 Depth=1
add x8, x21, w8, sxtw #2
mov w10, #37120
movk w10, #42, lsl #16
ldr w9, [x8, x10]
add w9, w9, #1
str w9, [x8, x10]
ldr w8, [sp, #44]
cbz w8, LBB24_12
; %bb.10: ; in Loop: Header=BB24_2 Depth=1
mov w9, #0
mov x10, x8
LBB24_11: ; Parent Loop BB24_2 Depth=1
; => This Inner Loop Header: Depth=2
add w9, w9, #1
asr w11, w10, #1
cmp w10, #1
mov x10, x11
b.hi LBB24_11
b LBB24_13
LBB24_12: ; in Loop: Header=BB24_2 Depth=1
mov w9, #0
LBB24_13: ; in Loop: Header=BB24_2 Depth=1
add x9, x21, w9, sxtw #2
mov w11, #36928
movk w11, #42, lsl #16
ldr w10, [x9, x11]
add w10, w10, #1
str w10, [x9, x11]
ldr w9, [sp, #40]
cbz w9, LBB24_16
; %bb.14: ; in Loop: Header=BB24_2 Depth=1
mov w10, #0
LBB24_15: ; Parent Loop BB24_2 Depth=1
; => This Inner Loop Header: Depth=2
add w10, w10, #1
asr w11, w9, #1
cmp w9, #1
mov x9, x11
b.hi LBB24_15
b LBB24_17
LBB24_16: ; in Loop: Header=BB24_2 Depth=1
mov w10, #0
LBB24_17: ; in Loop: Header=BB24_2 Depth=1
add x9, x21, w10, sxtw #2
mov w11, #37024
movk w11, #42, lsl #16
ldr w10, [x9, x11]
add w10, w10, #1
str w10, [x9, x11]
add w9, w8, #12
and w9, w9, #0xf
cmp w22, #14
mov w10, #240
csel w10, w10, w26, gt
cmp w8, #18
mov w8, #15
csel w8, w8, w9, gt
orr w8, w8, w10
mov x25, x12
strb w8, [x25], #1
cmp w22, #15
b.lt LBB24_22
; %bb.18: ; in Loop: Header=BB24_2 Depth=1
cmp w22, #269
b.ls LBB24_20
; %bb.19: ; in Loop: Header=BB24_2 Depth=1
cmp w19, #509
mov w8, #509
csel w8, w19, w8, lt
str w8, [sp, #12] ; 4-byte Folded Spill
sub w8, w22, w8
add w26, w8, #239
mov w8, #32897
movk w8, #32896, lsl #16
umull x8, w26, w8
lsr x19, x8, #39
add x2, x19, #1
mov x0, x25
mov w1, #255
bl _memset
mov x8, #-9187201950435737472
movk x8, #32897
umulh x8, x26, x8
lsr x8, x8, #7
sub w8, w8, w8, lsl #8
add w8, w26, w8
ldr w9, [sp, #12] ; 4-byte Folded Reload
add w8, w9, w8
ldr x9, [sp, #24] ; 8-byte Folded Reload
add x9, x9, x19
add x25, x9, #2
sub w8, w8, #509
b LBB24_21
LBB24_20: ; in Loop: Header=BB24_2 Depth=1
sub x8, x22, #15
LBB24_21: ; in Loop: Header=BB24_2 Depth=1
strb w8, [x25], #1
LBB24_22: ; in Loop: Header=BB24_2 Depth=1
asr x26, x28, #32
mov x0, x25
mov x1, x27
mov x2, x26
bl _memcpy
add x8, x25, x26
ldr w9, [sp, #40]
strb w9, [x8]
ldr w9, [sp, #40]
lsr w9, w9, #8
add x0, x8, #2
strb w9, [x8, #1]
ldr w19, [sp, #44]
subs w8, w19, #19
b.lt LBB24_26
; %bb.23: ; in Loop: Header=BB24_2 Depth=1
cmp w19, #274
b.lo LBB24_25
; %bb.24: ; in Loop: Header=BB24_2 Depth=1
cmp w8, #509
mov w9, #509
csel w8, w8, w9, lt
sub w8, w19, w8
str x26, [sp, #24] ; 8-byte Folded Spill
add w26, w8, #235
mov w8, #32897
movk w8, #32896, lsl #16
umull x8, w26, w8
lsr x28, x8, #39
add x2, x28, #1
mov w1, #255
bl _memset
ldr x8, [sp, #24] ; 8-byte Folded Reload
add x8, x8, x28
add x8, x25, x8
add x0, x8, #3
sub w8, w28, w28, lsl #8
add w8, w26, w8
sub w8, w8, w26
add w8, w19, w8
sub w8, w8, #274
LBB24_25: ; in Loop: Header=BB24_2 Depth=1
mov w13, #4093
mov w14, #2097152
mov w15, #4136
movk w15, #32, lsl #16
mov w16, #4136
movk w16, #42, lsl #16
mov w17, #4136
movk w17, #40, lsl #16
strb w8, [x0], #1
ldr w19, [sp, #44]
b LBB24_27
LBB24_26: ; in Loop: Header=BB24_2 Depth=1
mov w13, #4093
mov w14, #2097152
mov w15, #4136
movk w15, #32, lsl #16
mov w16, #4136
movk w16, #42, lsl #16
mov w17, #4136
movk w17, #40, lsl #16
LBB24_27: ; in Loop: Header=BB24_2 Depth=1
sxtw x8, w19
add x9, x27, x8
add x25, x9, x22
cmp w19, #1
b.lt LBB24_30
; %bb.28: ; in Loop: Header=BB24_2 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x9]
sub x9, x20, x9
LBB24_29: ; Parent Loop BB24_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrh w10, [x24]
ldrb w11, [x24, #2]
bfi w10, w11, #16, #16
mul w10, w10, w13
ubfx w10, w10, #12, #12
add x11, x21, x10
ldrb w12, [x11, x14]
sub w12, w12, #1
and w12, w12, #0x3f
strb w12, [x11, x14]
bfi w12, w10, #6, #12
str x24, [x21, w12, uxtw #3]
ldr w10, [x24]
eor w10, w10, w10, asr #16
mul w10, w10, w13
ubfx w10, w10, #12, #14
add x11, x21, w9, uxth #3
str x24, [x11, x15]
add x10, x21, w10, uxtw #1
ldrh w11, [x10, x16]
add x12, x21, w9, uxth #1
strh w11, [x12, x17]
add x11, x24, #1
strh w9, [x10, x16]
add x9, x9, #1
mov x24, x11
cmp x11, x25
b.lo LBB24_29
LBB24_30: ; in Loop: Header=BB24_2 Depth=1
cmp x25, x23
b.lo LBB24_2
; %bb.31:
add x8, x27, x8
add x27, x8, x22
mov x25, x27
ldr x23, [sp, #16] ; 8-byte Folded Reload
b LBB24_34
LBB24_32:
ldp x23, x0, [sp, #16] ; 16-byte Folded Reload
b LBB24_34
LBB24_33:
mov x0, x23
mov x27, x25
LBB24_34:
sub x19, x25, x27
cmp w19, #1
b.lt LBB24_40
; %bb.35:
lsl w8, w19, #4
mov w9, #-16
cmp w19, #14
csel w8, w9, w8, hi
mov x21, x0
strb w8, [x21], #1
subs w8, w19, #15
b.lo LBB24_39
; %bb.36:
cmp w19, #270
b.lo LBB24_38
; %bb.37:
mov w9, #509
cmp w8, #509
csel w8, w8, w9, lt
add w8, w8, w27
sub w8, w25, w8
add w20, w8, #239
mov w8, #32897
movk w8, #32896, lsl #16
umull x8, w20, w8
lsr x22, x8, #39
add x2, x22, #1
mov x24, x0
mov x0, x21
mov w1, #255
bl _memset
add x8, x22, x24
sub w9, w22, w22, lsl #8
add w9, w20, w9
sub w9, w9, w20
add x21, x8, #2
sub w8, w25, w27
add w8, w8, w9
sub w8, w8, #270
LBB24_38:
strb w8, [x21], #1
LBB24_39:
sxtw x22, w19
mov x0, x21
mov x1, x27
mov x2, x22
bl _memcpy
add x0, x21, x22
LBB24_40:
sub w0, w0, w23
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _TgvLz_DecodeBufferLZ4 ; -- Begin function TgvLz_DecodeBufferLZ4
.p2align 2
_TgvLz_DecodeBufferLZ4: ; @TgvLz_DecodeBufferLZ4
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x1
cmp w2, #1
b.lt LBB25_20
; %bb.1:
mov x21, x0
add x23, x0, w2, sxtw
mov x20, x19
b LBB25_4
LBB25_2: ; in Loop: Header=BB25_4 Depth=1
add w22, w8, w9
LBB25_3: ; in Loop: Header=BB25_4 Depth=1
mov x0, x20
mov x1, x22
bl _TgvLz_MatchCopy2
add x20, x20, w22, sxtw
cmp x21, x23
b.hs LBB25_20
LBB25_4: ; =>This Loop Header: Depth=1
; Child Loop BB25_7 Depth 2
; Child Loop BB25_11 Depth 2
; Child Loop BB25_18 Depth 2
mov x8, x21
ldrb w9, [x8], #1
lsr w10, w9, #4
cbz w10, LBB25_14
; %bb.5: ; in Loop: Header=BB25_4 Depth=1
cmp w10, #15
b.ne LBB25_9
; %bb.6: ; in Loop: Header=BB25_4 Depth=1
add x8, x21, #2
ldrb w11, [x21, #1]
mov w10, #15
cmp w11, #255
b.ne LBB25_8
LBB25_7: ; Parent Loop BB25_4 Depth=1
; => This Inner Loop Header: Depth=2
add w10, w10, #255
ldrb w11, [x8], #1
cmp w11, #255
b.eq LBB25_7
LBB25_8: ; in Loop: Header=BB25_4 Depth=1
add w10, w10, w11
LBB25_9: ; in Loop: Header=BB25_4 Depth=1
cmp w10, #9
b.lt LBB25_12
; %bb.10: ; in Loop: Header=BB25_4 Depth=1
add x11, x20, w10, uxtw
mov x12, x8
mov x13, x20
LBB25_11: ; Parent Loop BB25_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x14, [x12]
str x14, [x13]
ldr x14, [x12, #8]
str x14, [x13, #8]
add x13, x13, #16
add x12, x12, #16
cmp x13, x11
b.lo LBB25_11
b LBB25_13
LBB25_12: ; in Loop: Header=BB25_4 Depth=1
ldr x11, [x8]
str x11, [x20]
LBB25_13: ; in Loop: Header=BB25_4 Depth=1
sxtw x10, w10
add x8, x8, x10
add x20, x20, x10
LBB25_14: ; in Loop: Header=BB25_4 Depth=1
add x10, x8, #1
cmp x10, x23
b.hs LBB25_20
; %bb.15: ; in Loop: Header=BB25_4 Depth=1
mov x21, x8
ldrh w2, [x21], #2
cbz w2, LBB25_19
; %bb.16: ; in Loop: Header=BB25_4 Depth=1
and w9, w9, #0xf
add w22, w9, #4
cmp w22, #19
b.ne LBB25_3
; %bb.17: ; in Loop: Header=BB25_4 Depth=1
add x21, x8, #3
ldrb w9, [x8, #2]
mov w8, #19
cmp w9, #255
b.ne LBB25_2
LBB25_18: ; Parent Loop BB25_4 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w8, #255
ldrb w9, [x21], #1
cmp w9, #255
b.eq LBB25_18
b LBB25_2
LBB25_19:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB25_20:
sub w0, w20, w19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _TgvLz_CalculateImagePel4BChecksum ; -- Begin function TgvLz_CalculateImagePel4BChecksum
.p2align 2
_TgvLz_CalculateImagePel4BChecksum: ; @TgvLz_CalculateImagePel4BChecksum
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB26_3
; %bb.1:
mov x8, #0
add x10, x0, w1, sxtw
mov w9, #1
LBB26_2: ; =>This Inner Loop Header: Depth=1
ldp w11, w12, [x0]
ldp w13, w14, [x0, #8]
add x9, x11, x9
add x8, x9, x8
add x9, x12, x9
add x8, x8, x9
add x9, x13, x9
add x8, x8, x9
add x9, x14, x9
add x8, x8, x9
add x0, x0, #16
cmp x0, x10
b.lo LBB26_2
b LBB26_4
LBB26_3:
mov x8, #0
mov w9, #1
LBB26_4:
lsr x10, x9, #32
add x9, x10, w9, uxtw
lsr x10, x9, #32
add w9, w10, w9
lsr x10, x8, #32
add x8, x10, w8, uxtw
lsr x10, x8, #32
add w8, w10, w8
eor w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _TgvLz_DoEncode ; -- Begin function TgvLz_DoEncode
.p2align 2
_TgvLz_DoEncode: ; @TgvLz_DoEncode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x1
mov x21, x0
mov w8, #36912
movk w8, #42, lsl #16
ldr x8, [x0, x8]
lsl w4, w3, #1
blr x8
mov x22, x0
mov x0, x20
mov x1, x19
bl _TgvLz_CalculateImagePel4BChecksum
mov w8, #4120
movk w8, #32, lsl #16
str w0, [x21, x8]
mov x0, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _TgvLz_DoEncodeSafe ; -- Begin function TgvLz_DoEncodeSafe
.p2align 2
_TgvLz_DoEncodeSafe: ; @TgvLz_DoEncodeSafe
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x3
mov x24, x2
mov x22, x1
mov x23, x0
add x8, x0, #681, lsl #12 ; =2789376
add x26, x8, #40
lsl w25, w3, #1
add w8, w25, #1024
sxtw x0, w8
bl _malloc
mov x20, x0
mov w8, #36912
movk w8, #42, lsl #16
ldr x8, [x23, x8]
mov x0, x23
mov x1, x22
mov x2, x24
mov x3, x21
mov x4, x25
blr x8
mov x19, x0
mov w8, #36920
movk w8, #42, lsl #16
ldr x8, [x23, x8]
mov x0, x24
mov x1, x20
mov x2, x19
mov x3, x25
blr x8
; kill: def $w0 killed $w0 def $x0
cmp w0, w21
b.ne LBB28_3
; %bb.1:
sxtw x24, w21
mov x0, x22
mov x1, x20
mov x2, x24
bl _memcmp
cbz w0, LBB28_6
; %bb.2:
ldr x8, [x26]
str x8, [sp]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
b LBB28_4
LBB28_3:
ldr x8, [x26]
; kill: def $w21 killed $w21 killed $x21 def $x21
stp x21, x0, [sp, #8]
str x8, [sp]
Lloh8:
adrp x0, l_.str.3@PAGE
Lloh9:
add x0, x0, l_.str.3@PAGEOFF
LBB28_4:
bl _printf
mov w19, #-1
LBB28_5:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB28_6:
add x8, x23, #513, lsl #12 ; =2101248
add x23, x8, #24
add x8, x20, x24
stp xzr, xzr, [x8]
mov x0, x22
mov x1, x21
bl _TgvLz_CalculateImagePel4BChecksum
mov x22, x0
mov x0, x20
mov x1, x21
bl _TgvLz_CalculateImagePel4BChecksum
mov x21, x0
cmp w22, w0
b.eq LBB28_8
; %bb.7:
ldr x8, [x26]
stp x22, x21, [sp, #8]
str x8, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
LBB28_8:
str w21, [x23]
mov x0, x20
bl _free
b LBB28_5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _TgvLz_DoTest ; -- Begin function TgvLz_DoTest
.p2align 2
_TgvLz_DoTest: ; @TgvLz_DoTest
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x23, x3
mov x21, x2
mov x24, x1
mov x20, x0
add x8, x0, #681, lsl #12 ; =2789376
add x26, x8, #40
add x8, x0, #513, lsl #12 ; =2101248
add x27, x8, #24
lsl w22, w3, #1
sxtw x0, w22
bl _malloc
mov x19, x0
ldr x8, [x26, #8]
mov x0, x20
mov x1, x24
mov x2, x21
mov x3, x23
mov x4, x22
blr x8
mov x20, x0
ldr x8, [x26]
mov x9, x23
stp x9, x20, [sp, #8]
str x8, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x8, [x26, #16]
mov x0, x21
mov x1, x19
mov x2, x20
mov x3, x22
blr x8
cmp w0, w23
b.ne LBB29_3
; %bb.1:
sxtw x25, w23
mov x0, x24
mov x1, x19
mov x2, x25
bl _memcmp
ldr x8, [x26]
cbz w0, LBB29_4
; %bb.2:
str x8, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
b LBB29_5
LBB29_3:
ldr x8, [x26]
str x8, [sp]
Lloh16:
adrp x0, l_.str.7@PAGE
Lloh17:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x8, x23
sxtw x25, w8
b LBB29_6
LBB29_4:
str x8, [sp]
Lloh18:
adrp x0, l_.str.8@PAGE
Lloh19:
add x0, x0, l_.str.8@PAGEOFF
LBB29_5:
bl _printf
LBB29_6:
add x8, x19, x25
stp xzr, xzr, [x8]
mov x0, x24
mov x1, x23
bl _TgvLz_CalculateImagePel4BChecksum
mov x24, x0
mov x0, x19
mov x1, x23
bl _TgvLz_CalculateImagePel4BChecksum
mov x23, x0
cmp w24, w0
b.eq LBB29_8
; %bb.7:
ldr x8, [x26]
stp x24, x23, [sp, #8]
str x8, [sp]
Lloh20:
adrp x0, l_.str.5@PAGE
Lloh21:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
LBB29_8:
str w23, [x27]
bl _clock
mov x23, x0
mov w8, #27007
movk w8, #32615, lsl #16
cmp w23, w8
b.gt LBB29_11
; %bb.9:
mov x24, #0
add w8, w23, #2441, lsl #12 ; =9998336
add w25, w8, #1664
LBB29_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26, #16]
mov x0, x21
mov x1, x19
mov x2, x20
mov x3, x22
blr x8
add x24, x24, w0, sxtw
bl _clock
cmp w25, w0
b.gt LBB29_10
b LBB29_12
LBB29_11:
mov x24, #0
mov x0, x23
LBB29_12:
sub w8, w0, w23
scvtf d0, w8
mov x8, #145685290680320
movk x8, #16686, lsl #48
fmov d1, x8
fdiv d0, d0, d1
ldr x8, [x26]
scvtf d1, x24
fdiv d1, d1, d0
mov x9, #4517110426252607488
fmov d2, x9
fmul d1, d1, d2
stp x8, x24, [sp]
stp d0, d1, [sp, #16]
Lloh22:
adrp x0, l_.str.9@PAGE
Lloh23:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov x0, x19
bl _free
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function TgvLz_CreateContext
lCPI30_0:
.long 16383 ; 0x3fff
.long 4194303 ; 0x3fffff
.section __TEXT,__text,regular,pure_instructions
.globl _TgvLz_CreateContext
.p2align 2
_TgvLz_CreateContext: ; @TgvLz_CreateContext
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
mov w1, #37248
movk w1, #42, lsl #16
bl _calloc
Lloh24:
adrp x8, lCPI30_0@PAGE
Lloh25:
ldr d0, [x8, lCPI30_0@PAGEOFF]
mov w8, #4112
movk w8, #32, lsl #16
str d0, [x0, x8]
Lloh26:
adrp x8, _TgvLz_EncodeBufferRP2@PAGE
Lloh27:
add x8, x8, _TgvLz_EncodeBufferRP2@PAGEOFF
mov w9, #36912
movk w9, #42, lsl #16
str x8, [x0, x9]
Lloh28:
adrp x8, _TgvLz_DecodeBufferRP2@PAGE
Lloh29:
add x8, x8, _TgvLz_DecodeBufferRP2@PAGEOFF
mov w9, #36920
movk w9, #42, lsl #16
str x8, [x0, x9]
Lloh30:
adrp x8, l_.str.10@PAGE
Lloh31:
add x8, x8, l_.str.10@PAGEOFF
mov w9, #36904
movk w9, #42, lsl #16
str x8, [x0, x9]
mov w8, #4124
movk w8, #32, lsl #16
mov w9, #3
strb w9, [x0, x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdr Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function TgvLz_CreateContextLZ4
lCPI31_0:
.long 16383 ; 0x3fff
.long 65535 ; 0xffff
.section __TEXT,__text,regular,pure_instructions
.globl _TgvLz_CreateContextLZ4
.p2align 2
_TgvLz_CreateContextLZ4: ; @TgvLz_CreateContextLZ4
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #1
mov w1, #37248
movk w1, #42, lsl #16
bl _calloc
Lloh32:
adrp x8, lCPI31_0@PAGE
Lloh33:
ldr d0, [x8, lCPI31_0@PAGEOFF]
mov w8, #4112
movk w8, #32, lsl #16
str d0, [x0, x8]
Lloh34:
adrp x8, _TgvLz_EncodeBufferLZ4@PAGE
Lloh35:
add x8, x8, _TgvLz_EncodeBufferLZ4@PAGEOFF
mov w9, #36912
movk w9, #42, lsl #16
str x8, [x0, x9]
Lloh36:
adrp x8, _TgvLz_DecodeBufferLZ4@PAGE
Lloh37:
add x8, x8, _TgvLz_DecodeBufferLZ4@PAGEOFF
mov w9, #36920
movk w9, #42, lsl #16
str x8, [x0, x9]
Lloh38:
adrp x8, l_.str.11@PAGE
Lloh39:
add x8, x8, l_.str.11@PAGEOFF
mov w9, #36904
movk w9, #42, lsl #16
str x8, [x0, x9]
mov w8, #4124
movk w8, #32, lsl #16
mov w9, #4
strb w9, [x0, x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdr Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _TgvLz_DestroyContext ; -- Begin function TgvLz_DestroyContext
.p2align 2
_TgvLz_DestroyContext: ; @TgvLz_DestroyContext
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _free
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI33_0:
.long 16383 ; 0x3fff
.long 4194303 ; 0x3fffff
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cmp w0, #2
str x1, [sp, #16] ; 8-byte Folded Spill
b.lt LBB33_6
; %bb.1:
mov w27, #0
mov x21, #0
mov x19, #0
mov w8, w0
add x28, x1, #8
sub x20, x8, #1
Lloh40:
adrp x24, l_.str.14@PAGE
Lloh41:
add x24, x24, l_.str.14@PAGEOFF
mov w22, #3
mov w23, #4
Lloh42:
adrp x25, l_.str.15@PAGE
Lloh43:
add x25, x25, l_.str.15@PAGEOFF
b LBB33_4
LBB33_2: ; in Loop: Header=BB33_4 Depth=1
cmp x19, #0
csel x8, x26, x19, eq
cmp x21, #0
csel x19, x19, x8, eq
csel x21, x26, x21, eq
LBB33_3: ; in Loop: Header=BB33_4 Depth=1
add x28, x28, #8
subs x20, x20, #1
b.eq LBB33_7
LBB33_4: ; =>This Inner Loop Header: Depth=1
ldr x26, [x28]
ldrb w8, [x26]
cmp w8, #45
b.ne LBB33_2
; %bb.5: ; in Loop: Header=BB33_4 Depth=1
mov x0, x26
Lloh44:
adrp x1, l_.str.12@PAGE
Lloh45:
add x1, x1, l_.str.12@PAGEOFF
bl _strcmp
cmp w0, #0
csinc w27, w27, wzr, ne
mov x0, x26
Lloh46:
adrp x1, l_.str.13@PAGE
Lloh47:
add x1, x1, l_.str.13@PAGEOFF
bl _strcmp
cmp w0, #0
mov w8, #2
csel w27, w8, w27, eq
mov x0, x26
mov x1, x24
bl _strcmp
cmp w0, #0
csel w27, w22, w27, eq
mov x0, x26
mov x1, x25
bl _strcmp
cmp w0, #0
csel w27, w23, w27, eq
b LBB33_3
LBB33_6:
mov x19, #0
mov x21, #0
mov w27, #0
LBB33_7:
ldr x20, [sp, #16] ; 8-byte Folded Reload
cbnz w27, LBB33_10
; %bb.8:
cbnz x21, LBB33_10
; %bb.9:
ldr x8, [x20]
str x8, [sp]
Lloh48:
adrp x0, l_.str.16@PAGE
Lloh49:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
Lloh50:
adrp x0, l_str.26@PAGE
Lloh51:
add x0, x0, l_str.26@PAGEOFF
bl _puts
Lloh52:
adrp x0, l_str.27@PAGE
Lloh53:
add x0, x0, l_str.27@PAGEOFF
bl _puts
Lloh54:
adrp x0, l_str.28@PAGE
Lloh55:
add x0, x0, l_str.28@PAGEOFF
bl _puts
LBB33_10:
cbz x21, LBB33_19
; %bb.11:
add x1, sp, #28
mov x0, x21
bl _TgvLz_LoadFile
mov x20, x0
mov w0, #1
mov w1, #37248
movk w1, #42, lsl #16
bl _calloc
mov x21, x0
Lloh56:
adrp x8, lCPI33_0@PAGE
Lloh57:
ldr d0, [x8, lCPI33_0@PAGEOFF]
mov w8, #4112
movk w8, #32, lsl #16
str d0, [x0, x8]
Lloh58:
adrp x8, _TgvLz_EncodeBufferRP2@PAGE
Lloh59:
add x8, x8, _TgvLz_EncodeBufferRP2@PAGEOFF
mov w9, #36912
movk w9, #42, lsl #16
str x8, [x0, x9]
Lloh60:
adrp x8, _TgvLz_DecodeBufferRP2@PAGE
Lloh61:
add x8, x8, _TgvLz_DecodeBufferRP2@PAGEOFF
mov w9, #36920
movk w9, #42, lsl #16
str x8, [x0, x9]
Lloh62:
adrp x8, l_.str.10@PAGE
Lloh63:
add x8, x8, l_.str.10@PAGEOFF
mov w9, #36904
movk w9, #42, lsl #16
str x8, [x0, x9]
cmp w27, #3
b.eq LBB33_14
; %bb.12:
cbnz w27, LBB33_21
; %bb.13:
cbnz x19, LBB33_21
LBB33_14:
ldrsw x23, [sp, #28]
lsl x0, x23, #1
bl _malloc
mov x22, x0
add x2, x0, #16
mov x0, x21
mov x1, x20
mov x3, x23
bl _TgvLz_DoTest
mov w8, #20562
movk w8, #16690, lsl #16
str w8, [x22]
strb w0, [x22, #4]
lsr w8, w0, #8
strb w8, [x22, #5]
lsr w8, w0, #16
strb w8, [x22, #6]
lsr w8, w0, #24
strb w8, [x22, #7]
strb w23, [x22, #8]
ubfx x8, x23, #8, #24
strb w8, [x22, #9]
ubfx x8, x23, #16, #16
strb w8, [x22, #10]
ubfx x8, x23, #24, #8
strb w8, [x22, #11]
mov w8, #4120
movk w8, #32, lsl #16
ldr w8, [x21, x8]
str w8, [x22, #12]
cbz x19, LBB33_18
; %bb.15:
mov x20, x0
Lloh64:
adrp x1, l_.str.1@PAGE
Lloh65:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _fopen
cbz x0, LBB33_20
; %bb.16:
mov x19, x0
add w8, w20, #16
LBB33_17:
sxtw x2, w8
mov x0, x22
mov w1, #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fclose
LBB33_18:
mov w0, #0
b LBB33_20
LBB33_19:
ldr x8, [x20]
str x8, [sp]
Lloh66:
adrp x0, l_.str.20@PAGE
Lloh67:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
mov w0, #-1
LBB33_20:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB33_21:
cmp w27, #0
ccmp x19, #0, #4, eq
cset w8, ne
cmp w27, #1
b.eq LBB33_27
; %bb.22:
cbnz w8, LBB33_27
; %bb.23:
cmp w27, #2
ccmp x19, #0, #4, eq
cset w8, ne
cmp w27, #4
b.eq LBB33_25
; %bb.24:
cbz w8, LBB33_18
LBB33_25:
ldr w8, [x20]
mov w9, #20562
movk w9, #16690, lsl #16
cmp w8, w9
b.eq LBB33_30
; %bb.26:
Lloh68:
adrp x0, l_str.31@PAGE
Lloh69:
add x0, x0, l_str.31@PAGEOFF
bl _puts
b LBB33_18
LBB33_27:
ldrsw x24, [sp, #28]
lsl x23, x24, #1
mov x0, x23
bl _malloc
mov x22, x0
add x2, x0, #16
mov x0, x21
mov x1, x20
mov x3, x24
mov x4, x23
bl _TgvLz_EncodeBufferRP2
mov x23, x0
mov x0, x20
mov x1, x24
bl _TgvLz_CalculateImagePel4BChecksum
mov w8, #4120
movk w8, #32, lsl #16
str w0, [x21, x8]
mov w8, #20562
movk w8, #16690, lsl #16
str w8, [x22]
strb w23, [x22, #4]
lsr w8, w23, #8
strb w8, [x22, #5]
lsr w8, w23, #16
strb w8, [x22, #6]
lsr w8, w23, #24
strb w8, [x22, #7]
strb w24, [x22, #8]
ubfx x8, x24, #8, #24
strb w8, [x22, #9]
ubfx x8, x24, #16, #16
strb w8, [x22, #10]
ubfx x8, x24, #24, #8
strb w8, [x22, #11]
strb w0, [x22, #12]
lsr w8, w0, #8
strb w8, [x22, #13]
lsr w8, w0, #16
strb w8, [x22, #14]
lsr w8, w0, #24
strb w8, [x22, #15]
cbz x19, LBB33_18
; %bb.28:
Lloh70:
adrp x1, l_.str.1@PAGE
Lloh71:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _fopen
cbz x0, LBB33_20
; %bb.29:
mov x19, x0
add w8, w23, #16
b LBB33_17
LBB33_30:
ldp w22, w25, [x20, #4]
ldr w24, [x20, #12]
lsl w23, w25, #1
sxtw x0, w23
bl _malloc
mov x21, x0
add x0, x20, #16
mov x1, x21
mov x2, x22
mov x3, x23
bl _TgvLz_DecodeBufferRP2
mov x20, x0
add x8, x21, w0, sxtw
stp xzr, xzr, [x8]
mov x0, x21
mov x1, x20
bl _TgvLz_CalculateImagePel4BChecksum
; kill: def $w0 killed $w0 def $x0
cmp w20, w25
b.ne LBB33_34
; %bb.31:
cmp w0, w24
b.ne LBB33_36
; %bb.32:
cmp w27, #4
b.ne LBB33_37
; %bb.33:
Lloh72:
adrp x0, l_str.29@PAGE
Lloh73:
add x0, x0, l_str.29@PAGEOFF
b LBB33_35
LBB33_34:
Lloh74:
adrp x0, l_str.30@PAGE
Lloh75:
add x0, x0, l_str.30@PAGEOFF
LBB33_35:
bl _puts
b LBB33_37
LBB33_36:
stp x24, x0, [sp]
Lloh76:
adrp x0, l_.str.24@PAGE
Lloh77:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
LBB33_37:
cbz x19, LBB33_18
; %bb.38:
mov x0, x19
mov x1, x21
mov x2, x20
bl _TgvLz_StoreFile
b LBB33_18
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdr Lloh56, Lloh57
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rb"
l_.str.1: ; @.str.1
.asciz "wb"
l_.str.3: ; @.str.3
.asciz "%s: Size mismatch %d->%d\n"
l_.str.4: ; @.str.4
.asciz "%s: Data mismatch\n"
l_.str.5: ; @.str.5
.asciz "%s: Checksum %08X->%08X\n"
l_.str.6: ; @.str.6
.asciz "%s: %d -> %d\n"
l_.str.7: ; @.str.7
.asciz "%s: Size mismatch\n"
l_.str.8: ; @.str.8
.asciz "%s: Data OK\n"
l_.str.9: ; @.str.9
.asciz "%s: %lldB %fs %.2f MB/s\n"
l_.str.10: ; @.str.10
.asciz "RP2"
l_.str.11: ; @.str.11
.asciz "LZ4"
l_.str.12: ; @.str.12
.asciz "-z"
l_.str.13: ; @.str.13
.asciz "-d"
l_.str.14: ; @.str.14
.asciz "-b"
l_.str.15: ; @.str.15
.asciz "-t"
l_.str.16: ; @.str.16
.asciz "usage: %s [opts*] infile [outfile]\n"
l_.str.20: ; @.str.20
.asciz "%s: no input file\n"
l_.str.21: ; @.str.21
.asciz "RP2A"
l_.str.24: ; @.str.24
.asciz "Checksum mismatch %08X->%08X\n"
l_str: ; @str
.asciz "TKPE_UnpackL4: End Of Image"
l_str.26: ; @str.26
.asciz "\t-z\t\tEncode"
l_str.27: ; @str.27
.asciz "\t-d\t\tDecode"
l_str.28: ; @str.28
.asciz "\t-b\t\tBenchmark"
l_str.29: ; @str.29
.asciz "OK"
l_str.30: ; @str.30
.asciz "Size mismatch"
l_str.31: ; @str.31
.asciz "Magic Fail"
.subsections_via_symbols
| the_stack_data/9045.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfs3_write_done
_nfs3_write_done: ## @nfs3_write_done
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r12
movq 8(%rsi), %rax
movq (%rax), %r15
movq %r15, %rsi
callq _nfs3_async_handle_jukebox
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EAGAIN@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_4
LBB0_2:
xorl %ebx, %ebx
cmpq $0, (%r12)
js LBB0_4
## %bb.3:
movl (%r14), %esi
movq %r15, %rdi
callq _nfs_post_op_update_inode_force_wcc
LBB0_4:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EAGAIN,4,2 ## @EAGAIN
.no_dead_strip _nfs3_write_done
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfs3_write_done
_nfs3_write_done: ; @nfs3_write_done
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
ldr x8, [x1, #8]
ldr x20, [x8]
mov x1, x20
bl _nfs3_async_handle_jukebox
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EAGAIN@GOTPAGE
Lloh1:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_5
LBB0_2:
ldr x8, [x21]
tbnz x8, #63, LBB0_4
; %bb.3:
ldr w1, [x19]
mov x0, x20
bl _nfs_post_op_update_inode_force_wcc
LBB0_4:
mov w0, #0
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EAGAIN,4,2 ; @EAGAIN
.no_dead_strip _nfs3_write_done
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs3proc.c_nfs3_write_done.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function r600_rlc_init
_r600_rlc_init: ## @r600_rlc_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $0, 8(%rdi)
je LBB0_1
## %bb.2:
movq %rdi, %rbx
callq _r600_rlc_stop
movq _RLC_HB_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq (%rbx), %rax
movq _CHIP_ARUBA@GOTPCREL(%rip), %r15
cmpq (%r15), %rax
jne LBB0_4
## %bb.3:
movq _TN_RLC_SAVE_AND_RESTORE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 16(%rbx), %esi
sarl $8, %esi
callq _WREG32
movq _TN_RLC_CLEAR_STATE_RESTORE_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 20(%rbx), %esi
sarl $8, %esi
callq _WREG32
movq (%rbx), %rax
LBB0_4:
movq _CHIP_CAYMAN@GOTPCREL(%rip), %r14
cmpq (%r14), %rax
jg LBB0_6
## %bb.5:
movq _RLC_HB_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq _RLC_HB_RPTR@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq _RLC_HB_WPTR@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq (%rbx), %rax
LBB0_6:
movq _CHIP_CAICOS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_8
## %bb.7:
movq _RLC_HB_WPTR_LSB_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq _RLC_HB_WPTR_MSB_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
LBB0_8:
movq _RLC_MC_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq _RLC_UCODE_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _WREG32
movq (%rbx), %rax
movq 8(%rbx), %rcx
movq (%rcx), %r12
cmpq (%r15), %rax
movq %rbx, -48(%rbp) ## 8-byte Spill
jge LBB0_9
## %bb.12:
cmpq (%r14), %rax
jge LBB0_13
## %bb.16:
movq _CHIP_CEDAR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_17
## %bb.20:
movq _CHIP_RV770@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_21
## %bb.24:
movq _RLC_UCODE_SIZE@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
jle LBB0_27
## %bb.25:
xorl %r15d, %r15d
movq _RLC_UCODE_DATA@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_26: ## =>This Inner Loop Header: Depth=1
movq _RLC_UCODE_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %r15d, %esi
callq _WREG32
movl (%r14), %ebx
movl %r12d, %edi
callq _be32_to_cpup
movl %ebx, %edi
movl %eax, %esi
callq _WREG32
incl %r15d
addl $4, %r12d
cmpl (%r13), %r15d
jl LBB0_26
jmp LBB0_27
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_28
LBB0_9:
movq _ARUBA_RLC_UCODE_SIZE@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_27
## %bb.10:
xorl %ebx, %ebx
movq _RLC_UCODE_DATA@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq _RLC_UCODE_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %ebx, %esi
callq _WREG32
movl (%r13), %r15d
movl %r12d, %edi
callq _be32_to_cpup
movl %r15d, %edi
movl %eax, %esi
callq _WREG32
incl %ebx
addl $4, %r12d
cmpl (%r14), %ebx
jl LBB0_11
jmp LBB0_27
LBB0_13:
movq _CAYMAN_RLC_UCODE_SIZE@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_27
## %bb.14:
xorl %ebx, %ebx
movq _RLC_UCODE_DATA@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq _RLC_UCODE_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %ebx, %esi
callq _WREG32
movl (%r13), %r15d
movl %r12d, %edi
callq _be32_to_cpup
movl %r15d, %edi
movl %eax, %esi
callq _WREG32
incl %ebx
addl $4, %r12d
cmpl (%r14), %ebx
jl LBB0_15
jmp LBB0_27
LBB0_17:
movq _EVERGREEN_RLC_UCODE_SIZE@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_27
## %bb.18:
xorl %ebx, %ebx
movq _RLC_UCODE_DATA@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movq _RLC_UCODE_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %ebx, %esi
callq _WREG32
movl (%r13), %r15d
movl %r12d, %edi
callq _be32_to_cpup
movl %r15d, %edi
movl %eax, %esi
callq _WREG32
incl %ebx
addl $4, %r12d
cmpl (%r14), %ebx
jl LBB0_19
jmp LBB0_27
LBB0_21:
movq _R700_RLC_UCODE_SIZE@GOTPCREL(%rip), %r13
cmpl $0, (%r13)
jle LBB0_27
## %bb.22:
xorl %r15d, %r15d
movq _RLC_UCODE_DATA@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movq _RLC_UCODE_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %r15d, %esi
callq _WREG32
movl (%r14), %ebx
movl %r12d, %edi
callq _be32_to_cpup
movl %ebx, %edi
movl %eax, %esi
callq _WREG32
incl %r15d
addl $4, %r12d
cmpl (%r13), %r15d
jl LBB0_23
LBB0_27:
movq _RLC_UCODE_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %ebx, %ebx
xorl %esi, %esi
callq _WREG32
movq -48(%rbp), %rdi ## 8-byte Reload
callq _r600_rlc_start
LBB0_28:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _RLC_HB_CNTL,4,2 ## @RLC_HB_CNTL
.comm _CHIP_ARUBA,8,3 ## @CHIP_ARUBA
.comm _TN_RLC_SAVE_AND_RESTORE_BASE,4,2 ## @TN_RLC_SAVE_AND_RESTORE_BASE
.comm _TN_RLC_CLEAR_STATE_RESTORE_BASE,4,2 ## @TN_RLC_CLEAR_STATE_RESTORE_BASE
.comm _CHIP_CAYMAN,8,3 ## @CHIP_CAYMAN
.comm _RLC_HB_BASE,4,2 ## @RLC_HB_BASE
.comm _RLC_HB_RPTR,4,2 ## @RLC_HB_RPTR
.comm _RLC_HB_WPTR,4,2 ## @RLC_HB_WPTR
.comm _CHIP_CAICOS,8,3 ## @CHIP_CAICOS
.comm _RLC_HB_WPTR_LSB_ADDR,4,2 ## @RLC_HB_WPTR_LSB_ADDR
.comm _RLC_HB_WPTR_MSB_ADDR,4,2 ## @RLC_HB_WPTR_MSB_ADDR
.comm _RLC_MC_CNTL,4,2 ## @RLC_MC_CNTL
.comm _RLC_UCODE_CNTL,4,2 ## @RLC_UCODE_CNTL
.comm _ARUBA_RLC_UCODE_SIZE,4,2 ## @ARUBA_RLC_UCODE_SIZE
.comm _RLC_UCODE_ADDR,4,2 ## @RLC_UCODE_ADDR
.comm _RLC_UCODE_DATA,4,2 ## @RLC_UCODE_DATA
.comm _CAYMAN_RLC_UCODE_SIZE,4,2 ## @CAYMAN_RLC_UCODE_SIZE
.comm _CHIP_CEDAR,8,3 ## @CHIP_CEDAR
.comm _EVERGREEN_RLC_UCODE_SIZE,4,2 ## @EVERGREEN_RLC_UCODE_SIZE
.comm _CHIP_RV770,8,3 ## @CHIP_RV770
.comm _R700_RLC_UCODE_SIZE,4,2 ## @R700_RLC_UCODE_SIZE
.comm _RLC_UCODE_SIZE,4,2 ## @RLC_UCODE_SIZE
.no_dead_strip _r600_rlc_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function r600_rlc_init
_r600_rlc_init: ; @r600_rlc_init
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
ldr x8, [x0, #8]
cbz x8, LBB0_14
; %bb.1:
mov x19, x0
bl _r600_rlc_stop
Lloh0:
adrp x8, _RLC_HB_CNTL@GOTPAGE
Lloh1:
ldr x8, [x8, _RLC_HB_CNTL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
bl _WREG32
ldr x8, [x19]
Lloh3:
adrp x21, _CHIP_ARUBA@GOTPAGE
Lloh4:
ldr x21, [x21, _CHIP_ARUBA@GOTPAGEOFF]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
Lloh5:
adrp x8, _TN_RLC_SAVE_AND_RESTORE_BASE@GOTPAGE
Lloh6:
ldr x8, [x8, _TN_RLC_SAVE_AND_RESTORE_BASE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr w8, [x19, #16]
asr w1, w8, #8
bl _WREG32
Lloh8:
adrp x8, _TN_RLC_CLEAR_STATE_RESTORE_BASE@GOTPAGE
Lloh9:
ldr x8, [x8, _TN_RLC_CLEAR_STATE_RESTORE_BASE@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ldr w8, [x19, #20]
asr w1, w8, #8
bl _WREG32
ldr x8, [x19]
LBB0_3:
Lloh11:
adrp x22, _CHIP_CAYMAN@GOTPAGE
Lloh12:
ldr x22, [x22, _CHIP_CAYMAN@GOTPAGEOFF]
ldr x9, [x22]
cmp x8, x9
b.gt LBB0_5
; %bb.4:
Lloh13:
adrp x8, _RLC_HB_BASE@GOTPAGE
Lloh14:
ldr x8, [x8, _RLC_HB_BASE@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
mov w1, #0
bl _WREG32
Lloh16:
adrp x8, _RLC_HB_RPTR@GOTPAGE
Lloh17:
ldr x8, [x8, _RLC_HB_RPTR@GOTPAGEOFF]
Lloh18:
ldr w0, [x8]
mov w1, #0
bl _WREG32
Lloh19:
adrp x8, _RLC_HB_WPTR@GOTPAGE
Lloh20:
ldr x8, [x8, _RLC_HB_WPTR@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
mov w1, #0
bl _WREG32
ldr x8, [x19]
LBB0_5:
Lloh22:
adrp x9, _CHIP_CAICOS@GOTPAGE
Lloh23:
ldr x9, [x9, _CHIP_CAICOS@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x8, x9
b.gt LBB0_7
; %bb.6:
Lloh25:
adrp x8, _RLC_HB_WPTR_LSB_ADDR@GOTPAGE
Lloh26:
ldr x8, [x8, _RLC_HB_WPTR_LSB_ADDR@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
mov w1, #0
bl _WREG32
Lloh28:
adrp x8, _RLC_HB_WPTR_MSB_ADDR@GOTPAGE
Lloh29:
ldr x8, [x8, _RLC_HB_WPTR_MSB_ADDR@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
mov w1, #0
bl _WREG32
LBB0_7:
Lloh31:
adrp x8, _RLC_MC_CNTL@GOTPAGE
Lloh32:
ldr x8, [x8, _RLC_MC_CNTL@GOTPAGEOFF]
Lloh33:
ldr w0, [x8]
mov w1, #0
bl _WREG32
Lloh34:
adrp x8, _RLC_UCODE_CNTL@GOTPAGE
Lloh35:
ldr x8, [x8, _RLC_UCODE_CNTL@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
mov w1, #0
bl _WREG32
ldp x8, x9, [x19]
ldr x20, [x9]
ldr x9, [x21]
Lloh37:
adrp x23, _RLC_UCODE_ADDR@GOTPAGE
Lloh38:
ldr x23, [x23, _RLC_UCODE_ADDR@GOTPAGEOFF]
cmp x8, x9
b.ge LBB0_15
; %bb.8:
ldr x9, [x22]
cmp x8, x9
b.ge LBB0_18
; %bb.9:
Lloh39:
adrp x9, _CHIP_CEDAR@GOTPAGE
Lloh40:
ldr x9, [x9, _CHIP_CEDAR@GOTPAGEOFF]
Lloh41:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_21
; %bb.10:
Lloh42:
adrp x9, _CHIP_RV770@GOTPAGE
Lloh43:
ldr x9, [x9, _CHIP_RV770@GOTPAGEOFF]
Lloh44:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_24
; %bb.11:
Lloh45:
adrp x24, _RLC_UCODE_SIZE@GOTPAGE
Lloh46:
ldr x24, [x24, _RLC_UCODE_SIZE@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_27
; %bb.12:
mov w21, #0
Lloh47:
adrp x25, _RLC_UCODE_DATA@GOTPAGE
Lloh48:
ldr x25, [x25, _RLC_UCODE_DATA@GOTPAGEOFF]
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23]
mov x1, x21
bl _WREG32
ldr w22, [x25]
mov x0, x20
bl _be32_to_cpup
mov x1, x0
mov x0, x22
bl _WREG32
add w21, w21, #1
ldr w8, [x24]
add w20, w20, #4
cmp w21, w8
b.lt LBB0_13
b LBB0_27
LBB0_14:
Lloh49:
adrp x8, _EINVAL@GOTPAGE
Lloh50:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh51:
ldr w8, [x8]
neg w0, w8
b LBB0_28
LBB0_15:
Lloh52:
adrp x24, _ARUBA_RLC_UCODE_SIZE@GOTPAGE
Lloh53:
ldr x24, [x24, _ARUBA_RLC_UCODE_SIZE@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_27
; %bb.16:
mov w21, #0
Lloh54:
adrp x25, _RLC_UCODE_DATA@GOTPAGE
Lloh55:
ldr x25, [x25, _RLC_UCODE_DATA@GOTPAGEOFF]
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23]
mov x1, x21
bl _WREG32
ldr w22, [x25]
mov x0, x20
bl _be32_to_cpup
mov x1, x0
mov x0, x22
bl _WREG32
add w21, w21, #1
ldr w8, [x24]
add w20, w20, #4
cmp w21, w8
b.lt LBB0_17
b LBB0_27
LBB0_18:
Lloh56:
adrp x24, _CAYMAN_RLC_UCODE_SIZE@GOTPAGE
Lloh57:
ldr x24, [x24, _CAYMAN_RLC_UCODE_SIZE@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_27
; %bb.19:
mov w21, #0
Lloh58:
adrp x25, _RLC_UCODE_DATA@GOTPAGE
Lloh59:
ldr x25, [x25, _RLC_UCODE_DATA@GOTPAGEOFF]
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23]
mov x1, x21
bl _WREG32
ldr w22, [x25]
mov x0, x20
bl _be32_to_cpup
mov x1, x0
mov x0, x22
bl _WREG32
add w21, w21, #1
ldr w8, [x24]
add w20, w20, #4
cmp w21, w8
b.lt LBB0_20
b LBB0_27
LBB0_21:
Lloh60:
adrp x24, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGE
Lloh61:
ldr x24, [x24, _EVERGREEN_RLC_UCODE_SIZE@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_27
; %bb.22:
mov w21, #0
Lloh62:
adrp x25, _RLC_UCODE_DATA@GOTPAGE
Lloh63:
ldr x25, [x25, _RLC_UCODE_DATA@GOTPAGEOFF]
LBB0_23: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23]
mov x1, x21
bl _WREG32
ldr w22, [x25]
mov x0, x20
bl _be32_to_cpup
mov x1, x0
mov x0, x22
bl _WREG32
add w21, w21, #1
ldr w8, [x24]
add w20, w20, #4
cmp w21, w8
b.lt LBB0_23
b LBB0_27
LBB0_24:
Lloh64:
adrp x24, _R700_RLC_UCODE_SIZE@GOTPAGE
Lloh65:
ldr x24, [x24, _R700_RLC_UCODE_SIZE@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_27
; %bb.25:
mov w21, #0
Lloh66:
adrp x25, _RLC_UCODE_DATA@GOTPAGE
Lloh67:
ldr x25, [x25, _RLC_UCODE_DATA@GOTPAGEOFF]
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23]
mov x1, x21
bl _WREG32
ldr w22, [x25]
mov x0, x20
bl _be32_to_cpup
mov x1, x0
mov x0, x22
bl _WREG32
add w21, w21, #1
ldr w8, [x24]
add w20, w20, #4
cmp w21, w8
b.lt LBB0_26
LBB0_27:
ldr w0, [x23]
mov w1, #0
bl _WREG32
mov x0, x19
bl _r600_rlc_start
mov w0, #0
LBB0_28:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGot Lloh64, Lloh65
.loh AdrpLdrGot Lloh66, Lloh67
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _RLC_HB_CNTL,4,2 ; @RLC_HB_CNTL
.comm _CHIP_ARUBA,8,3 ; @CHIP_ARUBA
.comm _TN_RLC_SAVE_AND_RESTORE_BASE,4,2 ; @TN_RLC_SAVE_AND_RESTORE_BASE
.comm _TN_RLC_CLEAR_STATE_RESTORE_BASE,4,2 ; @TN_RLC_CLEAR_STATE_RESTORE_BASE
.comm _CHIP_CAYMAN,8,3 ; @CHIP_CAYMAN
.comm _RLC_HB_BASE,4,2 ; @RLC_HB_BASE
.comm _RLC_HB_RPTR,4,2 ; @RLC_HB_RPTR
.comm _RLC_HB_WPTR,4,2 ; @RLC_HB_WPTR
.comm _CHIP_CAICOS,8,3 ; @CHIP_CAICOS
.comm _RLC_HB_WPTR_LSB_ADDR,4,2 ; @RLC_HB_WPTR_LSB_ADDR
.comm _RLC_HB_WPTR_MSB_ADDR,4,2 ; @RLC_HB_WPTR_MSB_ADDR
.comm _RLC_MC_CNTL,4,2 ; @RLC_MC_CNTL
.comm _RLC_UCODE_CNTL,4,2 ; @RLC_UCODE_CNTL
.comm _ARUBA_RLC_UCODE_SIZE,4,2 ; @ARUBA_RLC_UCODE_SIZE
.comm _RLC_UCODE_ADDR,4,2 ; @RLC_UCODE_ADDR
.comm _RLC_UCODE_DATA,4,2 ; @RLC_UCODE_DATA
.comm _CAYMAN_RLC_UCODE_SIZE,4,2 ; @CAYMAN_RLC_UCODE_SIZE
.comm _CHIP_CEDAR,8,3 ; @CHIP_CEDAR
.comm _EVERGREEN_RLC_UCODE_SIZE,4,2 ; @EVERGREEN_RLC_UCODE_SIZE
.comm _CHIP_RV770,8,3 ; @CHIP_RV770
.comm _R700_RLC_UCODE_SIZE,4,2 ; @R700_RLC_UCODE_SIZE
.comm _RLC_UCODE_SIZE,4,2 ; @RLC_UCODE_SIZE
.no_dead_strip _r600_rlc_init
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r600.c_r600_rlc_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ether_ioctl ## -- Begin function ether_ioctl
.p2align 4, 0x90
_ether_ioctl: ## @ether_ioctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ether_ioctl ; -- Begin function ether_ioctl
.p2align 2
_ether_ioctl: ; @ether_ioctl
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/net/extr_ether_if_module.c_ether_ioctl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ib_port_cap_flags_to_pvrdma
_ib_port_cap_flags_to_pvrdma: ## @ib_port_cap_flags_to_pvrdma
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movq _PVRDMA_PORT_CAP_FLAGS_MAX@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _PVRDMA_MASK
andl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PVRDMA_PORT_CAP_FLAGS_MAX,4,2 ## @PVRDMA_PORT_CAP_FLAGS_MAX
.no_dead_strip _ib_port_cap_flags_to_pvrdma
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ib_port_cap_flags_to_pvrdma
_ib_port_cap_flags_to_pvrdma: ; @ib_port_cap_flags_to_pvrdma
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _PVRDMA_PORT_CAP_FLAGS_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _PVRDMA_PORT_CAP_FLAGS_MAX@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _PVRDMA_MASK
and w0, w0, w19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PVRDMA_PORT_CAP_FLAGS_MAX,4,2 ; @PVRDMA_PORT_CAP_FLAGS_MAX
.no_dead_strip _ib_port_cap_flags_to_pvrdma
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/vmw_pvrdma/extr_pvrdma.h_ib_port_cap_flags_to_pvrdma.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _destroy_dev_sched ## -- Begin function destroy_dev_sched
.p2align 4, 0x90
_destroy_dev_sched: ## @destroy_dev_sched
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %esi, %esi
xorl %edx, %edx
popq %rbp
jmp _destroy_dev_sched_cb ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _destroy_dev_sched ; -- Begin function destroy_dev_sched
.p2align 2
_destroy_dev_sched: ; @destroy_dev_sched
.cfi_startproc
; %bb.0:
mov x1, #0
mov x2, #0
b _destroy_dev_sched_cb
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_kern_conf.c_destroy_dev_sched.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xo_open_instance_h ## -- Begin function xo_open_instance_h
.p2align 4, 0x90
_xo_open_instance_h: ## @xo_open_instance_h
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdx
xorl %esi, %esi
popq %rbp
jmp _xo_open_instance_hf ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xo_open_instance_h ; -- Begin function xo_open_instance_h
.p2align 2
_xo_open_instance_h: ; @xo_open_instance_h
.cfi_startproc
; %bb.0:
mov x2, x1
mov w1, #0
b _xo_open_instance_hf
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_open_instance_h.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function puts_queue
_puts_queue: ## @puts_queue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %r14
testq %r14, %r14
je LBB0_5
## %bb.1:
movq %rsi, %rbx
movb (%rsi), %al
testb %al, %al
je LBB0_4
## %bb.2:
incq %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl %al, %esi
movq %r14, %rdi
xorl %edx, %edx
callq _tty_insert_flip_char
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB0_3
LBB0_4:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _con_schedule_flip ## TAILCALL
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _puts_queue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function puts_queue
_puts_queue: ; @puts_queue
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0]
cbz x19, LBB0_5
; %bb.1:
ldrb w8, [x1]
cbz w8, LBB0_4
; %bb.2:
add x20, x1, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
sxtb w1, w8
mov x0, x19
mov w2, #0
bl _tty_insert_flip_char
ldrb w8, [x20], #1
cbnz w8, LBB0_3
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _con_schedule_flip
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _puts_queue
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_puts_queue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _chopup_args ## -- Begin function chopup_args
.p2align 4, 0x90
_chopup_args: ## @chopup_args
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq $0, (%rdi)
cmpl $0, 8(%rdi)
jne LBB0_2
## %bb.1:
movl $20, 8(%rbx)
leaq L_.str(%rip), %rsi
movl $160, %edi
callq _app_malloc
movq %rax, 16(%rbx)
LBB0_2:
xorl %r15d, %r15d
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incq %r14
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_20 Depth 2
## Child Loop BB0_15 Depth 2
cmpb $0, (%r14)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
callq __UC
movl %eax, %edi
callq _isspace
testq %rax, %rax
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movzbl (%r14), %eax
testb %al, %al
je LBB0_3
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movslq 8(%rbx), %rcx
cmpq %rcx, (%rbx)
jb LBB0_10
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
leal 20(%rcx), %eax
movl %eax, 8(%rbx)
movq 16(%rbx), %rdi
leal 160(,%rcx,8), %esi
callq _OPENSSL_realloc
testq %rax, %rax
je LBB0_25
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq %rax, 16(%rbx)
movzbl (%r14), %eax
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movzbl %al, %ecx
cmpb $39, %cl
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cmpl $34, %ecx
jne LBB0_13
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
incq %r14
movl %eax, %r15d
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rdx
movq 16(%rbx), %rsi
leaq 1(%rdx), %rdi
movq %rdi, (%rbx)
movq %r14, (%rsi,%rdx,8)
cmpb $39, %al
je LBB0_14
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
cmpl $34, %ecx
jne LBB0_18
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %r12
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %eax
incq %r12
testb %al, %al
je LBB0_24
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
cmpb %r15b, %al
jne LBB0_15
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
movb $0, -1(%r12)
movq %r12, %r14
jmp LBB0_3
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movzbl (%r14), %eax
testb %al, %al
je LBB0_3
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
incq %r14
movq %r14, %r12
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
callq __UC
movl %eax, %edi
callq _isspace
testq %rax, %rax
jne LBB0_23
## %bb.21: ## in Loop: Header=BB0_20 Depth=2
movzbl (%r12), %eax
incq %r12
testb %al, %al
jne LBB0_20
## %bb.22: ## in Loop: Header=BB0_3 Depth=1
decq %r12
movq %r12, %r14
jmp LBB0_3
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
leaq -1(%r12), %r14
cmpb $0, -1(%r12)
jne LBB0_24
jmp LBB0_3
LBB0_25:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "argv space"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _chopup_args ; -- Begin function chopup_args
.p2align 2
_chopup_args: ; @chopup_args
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
str xzr, [x0]
ldr w8, [x0, #8]
cbnz w8, LBB0_2
; %bb.1:
mov w8, #20 ; =0x14
str w8, [x19, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #160 ; =0xa0
bl _app_malloc
str x0, [x19, #16]
LBB0_2:
mov w21, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x20, x20, #1
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_20 Depth 2
; Child Loop BB0_16 Depth 2
ldrb w8, [x20]
cbnz w8, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w0, #0 ; =0x0
bl __UC
bl _isspace
cbnz x0, LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x20]
cbz w8, LBB0_4
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x19]
ldrsw x9, [x19, #8]
cmp x10, x9
b.lo LBB0_10
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
add w8, w9, #20
str w8, [x19, #8]
ldr x0, [x19, #16]
lsl w1, w8, #3
bl _OPENSSL_realloc
cbz x0, LBB0_24
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
str x0, [x19, #16]
ldrb w8, [x20]
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #39
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #34
b.ne LBB0_13
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
add x20, x20, #1
mov x21, x8
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19, #16]
ldr x10, [x19]
add x11, x10, #1
str x11, [x19]
str x20, [x9, x10, lsl #3]
cmp w8, #39
b.eq LBB0_15
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #34
b.ne LBB0_18
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
mov x22, x20
LBB0_16: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x22], #1
cmp w8, #0
ccmp w8, w21, #4, ne
b.ne LBB0_16
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
sturb wzr, [x22, #-1]
mov x20, x22
b LBB0_4
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x20]
cbz w8, LBB0_4
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
add x22, x20, #1
LBB0_20: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
bl __UC
bl _isspace
cbnz x0, LBB0_23
; %bb.21: ; in Loop: Header=BB0_20 Depth=2
ldrb w8, [x22], #1
cbnz w8, LBB0_20
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
sub x20, x22, #1
b LBB0_4
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
mov x20, x22
ldrb w8, [x20, #-1]!
cbnz w8, LBB0_17
b LBB0_4
LBB0_24:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "argv space"
.subsections_via_symbols
| assembly_file_140377.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SSLv3_server_method ## -- Begin function SSLv3_server_method
.p2align 4, 0x90
_SSLv3_server_method: ## @SSLv3_server_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, _init(%rip)
jne LBB0_2
## %bb.1:
callq _sslv3_base_method
leaq _SSLv3_server_data(%rip), %rdi
movq %rax, %rsi
movl $200, %edx
callq _memcpy
leaq _ssl3_accept(%rip), %rax
movq %rax, _SSLv3_server_data+32(%rip)
leaq _ssl3_get_server_method(%rip), %rax
movq %rax, _SSLv3_server_data+152(%rip)
movb $1, _init(%rip)
LBB0_2:
leaq _SSLv3_server_data(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ssl3_accept ## -- Begin function ssl3_accept
.p2align 4, 0x90
_ssl3_accept: ## @ssl3_accept
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq ___VERIFIER_nondet_int
callq ___VERIFIER_nondet_int
callq ___VERIFIER_nondet_int
movl %eax, -48(%rbp) ## 4-byte Spill
callq ___VERIFIER_nondet_int
movl %eax, -64(%rbp) ## 4-byte Spill
callq ___VERIFIER_nondet_int
movl %eax, -60(%rbp) ## 4-byte Spill
callq ___VERIFIER_nondet_int
movl %eax, %r14d
callq ___VERIFIER_nondet_long
movq %rax, %r15
callq ___VERIFIER_nondet_int
movl %eax, -56(%rbp) ## 4-byte Spill
callq ___VERIFIER_nondet_int
movl %eax, -52(%rbp) ## 4-byte Spill
movl $8464, 72(%rbx) ## imm = 0x2110
callq ___VERIFIER_nondet_int
movl %eax, 132(%rbx)
movl $8464, 72(%rbx) ## imm = 0x2110
callq ___VERIFIER_nondet_int
incl 44(%rbx)
cmpq $0, 208(%rbx)
je LBB1_88
## %bb.1:
movq %r15, -72(%rbp) ## 8-byte Spill
movl %r15d, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
shll $3, %r14d
movl %r14d, -44(%rbp) ## 4-byte Spill
xorl %r14d, %r14d
leaq LJTI1_0(%rip), %r13
xorl %r15d, %r15d
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl 72(%rbx), %eax
movl $-1, %r12d
cmpl $12291, %eax ## imm = 0x3003
jg LBB1_8
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
cmpl $8447, %eax ## imm = 0x20FF
jle LBB1_12
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
addl $-8448, %eax ## imm = 0xDF00
cmpl $225, %eax
ja LBB1_87
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
LBB1_6: ## in Loop: Header=BB1_2 Depth=1
movl $0, 68(%rbx)
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.7: ## in Loop: Header=BB1_2 Depth=1
testl %r15d, %r15d
movl $1, %r14d
cmovel %r14d, %r15d
movl $8496, 72(%rbx) ## imm = 0x2130
jmp LBB1_81
LBB1_8: ## in Loop: Header=BB1_2 Depth=1
cmpl $24576, %eax ## imm = 0x6000
je LBB1_14
## %bb.9: ## in Loop: Header=BB1_2 Depth=1
cmpl $16384, %eax ## imm = 0x4000
je LBB1_14
## %bb.10: ## in Loop: Header=BB1_2 Depth=1
cmpl $12292, %eax ## imm = 0x3004
jne LBB1_87
## %bb.11: ## in Loop: Header=BB1_2 Depth=1
movl $1, 60(%rbx)
jmp LBB1_14
LBB1_12: ## in Loop: Header=BB1_2 Depth=1
cmpl $8192, %eax ## imm = 0x2000
je LBB1_14
## %bb.13: ## in Loop: Header=BB1_2 Depth=1
cmpl $8195, %eax ## imm = 0x2003
jne LBB1_91
LBB1_14: ## in Loop: Header=BB1_2 Depth=1
movl $1, 56(%rbx)
movl (%rbx), %eax
movl $-256, %ecx
andl %ecx, %eax
cmpl $768, %eax ## imm = 0x300
jne LBB1_88
## %bb.15: ## in Loop: Header=BB1_2 Depth=1
movl $8192, 4(%rbx) ## imm = 0x2000
cmpq $0, 80(%rbx)
jne LBB1_19
## %bb.16: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_pointer
movl $-1, %r12d
testq %rax, %rax
je LBB1_87
## %bb.17: ## in Loop: Header=BB1_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB1_87
## %bb.18: ## in Loop: Header=BB1_2 Depth=1
movq %rax, 80(%rbx)
LBB1_19: ## in Loop: Header=BB1_2 Depth=1
movl $-1, %r12d
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
je LBB1_87
## %bb.20: ## in Loop: Header=BB1_2 Depth=1
movl $0, 88(%rbx)
cmpl $12292, 72(%rbx) ## imm = 0x3004
jne LBB1_22
## %bb.21: ## in Loop: Header=BB1_2 Depth=1
movq 296(%rbx), %rax
incl 136(%rax)
movl $8480, 72(%rbx) ## imm = 0x2120
jmp LBB1_82
LBB1_22: ## in Loop: Header=BB1_2 Depth=1
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
je LBB1_87
## %bb.23: ## in Loop: Header=BB1_2 Depth=1
movl $8464, 72(%rbx) ## imm = 0x2110
movq 296(%rbx), %rax
incl 132(%rax)
jmp LBB1_82
LBB1_24: ## in Loop: Header=BB1_2 Depth=1
movl $0, 68(%rbx)
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.25: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
movl $8482, 936(%rax) ## imm = 0x2122
jmp LBB1_41
LBB1_26: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.27: ## in Loop: Header=BB1_2 Depth=1
cmpl $1, %r15d
movl $2, %eax
cmovel %eax, %r15d
cmpl $0, 132(%rbx)
movl $8656, %eax ## imm = 0x21D0
movl $8512, %ecx ## imm = 0x2140
jmp LBB1_52
LBB1_28: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
movq 920(%rax), %rcx
movl $1, %eax
testb $1, 25(%rcx)
jne LBB1_30
## %bb.29: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
movl %eax, %r12d
cmpl $2, %r15d
movl $6, %eax
cmovel %eax, %r15d
xorl %eax, %eax
testl %r12d, %r12d
jle LBB1_87
LBB1_30: ## in Loop: Header=BB1_2 Depth=1
movl $8528, 72(%rbx) ## imm = 0x2150
movl $0, 88(%rbx)
jmp LBB1_83
LBB1_31: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
testb $32, 354(%rbx)
jne LBB1_64
## %bb.32: ## in Loop: Header=BB1_2 Depth=1
movq 920(%rax), %rcx
movq 24(%rcx), %rdx
movl $0, 968(%rax)
testb $30, %dl
jne LBB1_65
## %bb.33: ## in Loop: Header=BB1_2 Depth=1
movl $1, %eax
testb $1, %dl
je LBB1_66
## %bb.34: ## in Loop: Header=BB1_2 Depth=1
movq 208(%rbx), %rdx
cmpq $0, 72(%rdx)
je LBB1_65
## %bb.35: ## in Loop: Header=BB1_2 Depth=1
movq 32(%rcx), %rcx
testb $2, %cl
je LBB1_66
## %bb.36: ## in Loop: Header=BB1_2 Depth=1
xorl %edx, %edx
testb $4, %cl
sete %dl
shll $9, %edx
addl $512, %edx ## imm = 0x200
cmpl %edx, -44(%rbp) ## 4-byte Folded Reload
jg LBB1_65
jmp LBB1_66
LBB1_37: ## in Loop: Header=BB1_2 Depth=1
movl 264(%rbx), %ecx
testb $1, %cl
jne LBB1_67
## %bb.38: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
jmp LBB1_71
LBB1_39: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.40: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
movl $8576, 936(%rax) ## imm = 0x2180
LBB1_41: ## in Loop: Header=BB1_2 Depth=1
movl $8448, 72(%rbx) ## imm = 0x2100
jmp LBB1_81
LBB1_42: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
movl %eax, %r12d
testl %eax, %eax
jle LBB1_87
## %bb.43: ## in Loop: Header=BB1_2 Depth=1
cmpl $2, %r12d
jne LBB1_72
## %bb.44: ## in Loop: Header=BB1_2 Depth=1
movl $8466, 72(%rbx) ## imm = 0x2112
jmp LBB1_82
LBB1_45: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.46: ## in Loop: Header=BB1_2 Depth=1
movl $8608, 72(%rbx) ## imm = 0x21A0
jmp LBB1_81
LBB1_47: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.48: ## in Loop: Header=BB1_2 Depth=1
movl $8640, 72(%rbx) ## imm = 0x21C0
jmp LBB1_81
LBB1_49: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
cmpl $5, %r15d
je LBB1_94
## %bb.50: ## in Loop: Header=BB1_2 Depth=1
movl %eax, %r12d
testl %eax, %eax
jle LBB1_87
## %bb.51: ## in Loop: Header=BB1_2 Depth=1
cmpl $0, 132(%rbx)
movl $3, %eax
movl $8656, %ecx ## imm = 0x21D0
LBB1_52: ## in Loop: Header=BB1_2 Depth=1
cmovel %ecx, %eax
movl %eax, 72(%rbx)
jmp LBB1_81
LBB1_53: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
movq 256(%rbx), %rcx
movq 920(%rax), %rax
movq %rax, 200(%rcx)
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
je LBB1_87
## %bb.54: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
cmpl $2, %r15d
je LBB1_74
## %bb.55: ## in Loop: Header=BB1_2 Depth=1
cmpl $4, %r15d
jne LBB1_75
## %bb.56: ## in Loop: Header=BB1_2 Depth=1
movl $5, %r15d
jmp LBB1_76
LBB1_57: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.58: ## in Loop: Header=BB1_2 Depth=1
cmpl $3, %r15d
movl $4, %eax
cmovel %eax, %r15d
movl $8448, 72(%rbx) ## imm = 0x2100
cmpl $0, 132(%rbx)
movl $8640, %eax ## imm = 0x21C0
movl $3, %ecx
cmovel %ecx, %eax
movq 120(%rbx), %rcx
movl %eax, 936(%rcx)
.p2align 4, 0x90
LBB1_81: ## in Loop: Header=BB1_2 Depth=1
movl $0, 88(%rbx)
LBB1_82: ## in Loop: Header=BB1_2 Depth=1
xorl %eax, %eax
LBB1_83: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rcx
orl 940(%rcx), %eax
jne LBB1_2
## %bb.84: ## in Loop: Header=BB1_2 Depth=1
cmpl $0, 304(%rbx)
je LBB1_2
## %bb.85: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jg LBB1_2
jmp LBB1_86
LBB1_59: ## in Loop: Header=BB1_2 Depth=1
cmpq $0, -80(%rbp) ## 8-byte Folded Reload
jle LBB1_62
## %bb.60: ## in Loop: Header=BB1_2 Depth=1
movl $2, 40(%rbx)
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jle LBB1_87
## %bb.61: ## in Loop: Header=BB1_2 Depth=1
movl $1, 40(%rbx)
LBB1_62: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
movl 936(%rax), %eax
movl %eax, 72(%rbx)
jmp LBB1_82
LBB1_63: ## in Loop: Header=BB1_2 Depth=1
movl $3, 72(%rbx)
jmp LBB1_82
LBB1_64: ## in Loop: Header=BB1_2 Depth=1
movl $1, 968(%rax)
LBB1_65: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
movl %eax, %r12d
cmpl $6, %r15d
movl $7, %eax
cmovel %eax, %r15d
xorl %eax, %eax
testl %r12d, %r12d
jle LBB1_87
LBB1_66: ## in Loop: Header=BB1_2 Depth=1
movl $8544, 72(%rbx) ## imm = 0x2160
movl $0, 88(%rbx)
jmp LBB1_83
LBB1_67: ## in Loop: Header=BB1_2 Depth=1
movq 120(%rbx), %rax
movq 256(%rbx), %rdx
cmpq $0, 152(%rdx)
je LBB1_69
## %bb.68: ## in Loop: Header=BB1_2 Depth=1
movl %ecx, %edx
andl $4, %edx
jne LBB1_71
LBB1_69: ## in Loop: Header=BB1_2 Depth=1
movq 920(%rax), %rdx
testb $1, 25(%rdx)
je LBB1_78
## %bb.70: ## in Loop: Header=BB1_2 Depth=1
andl $2, %ecx
jne LBB1_78
LBB1_71: ## in Loop: Header=BB1_2 Depth=1
movl $0, 1008(%rax)
movl $8560, 72(%rbx) ## imm = 0x2170
movl $1, %eax
jmp LBB1_83
LBB1_72: ## in Loop: Header=BB1_2 Depth=1
callq ___VERIFIER_nondet_int
testl %eax, %eax
jle LBB1_86
## %bb.73: ## in Loop: Header=BB1_2 Depth=1
movl $0, 88(%rbx)
movl $8592, 72(%rbx) ## imm = 0x2190
jmp LBB1_82
LBB1_74: ## in Loop: Header=BB1_2 Depth=1
movl $3, %r15d
jmp LBB1_76
LBB1_75: ## in Loop: Header=BB1_2 Depth=1
cmpl $7, %r15d
movl $8, %ecx
cmovel %ecx, %r15d
LBB1_76: ## in Loop: Header=BB1_2 Depth=1
testl %eax, %eax
jle LBB1_86
## %bb.77: ## in Loop: Header=BB1_2 Depth=1
xorl %eax, %eax
movl $8672, 72(%rbx) ## imm = 0x21E0
movl $0, 88(%rbx)
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
jne LBB1_83
jmp LBB1_87
LBB1_78: ## in Loop: Header=BB1_2 Depth=1
movl $1, 1008(%rax)
callq ___VERIFIER_nondet_int
cmpl $8, %r15d
je LBB1_94
## %bb.79: ## in Loop: Header=BB1_2 Depth=1
movl %eax, %r12d
testl %eax, %eax
jle LBB1_87
## %bb.80: ## in Loop: Header=BB1_2 Depth=1
movl $8448, 72(%rbx) ## imm = 0x2100
movq 120(%rbx), %rax
movl $8576, 936(%rax) ## imm = 0x2180
jmp LBB1_81
LBB1_88:
movl $-1, %r12d
jmp LBB1_89
LBB1_86:
movl %eax, %r12d
LBB1_87:
decl 44(%rbx)
LBB1_89:
movl %r12d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_91:
cmpl $3, %eax
jne LBB1_87
## %bb.92:
movq $0, 80(%rbx)
movl $0, 88(%rbx)
movl $1, %r12d
testl %r14d, %r14d
je LBB1_87
## %bb.93:
movl $0, 60(%rbx)
movq 296(%rbx), %rax
incl 140(%rax)
leaq _ssl3_accept(%rip), %rax
movq %rax, 48(%rbx)
jmp LBB1_87
LBB1_94:
xorl %eax, %eax
callq ___VERIFIER_error
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_59, LBB1_59-LJTI1_0
.set L1_0_set_87, LBB1_87-LJTI1_0
.set L1_0_set_6, LBB1_6-LJTI1_0
.set L1_0_set_24, LBB1_24-LJTI1_0
.set L1_0_set_63, LBB1_63-LJTI1_0
.set L1_0_set_26, LBB1_26-LJTI1_0
.set L1_0_set_28, LBB1_28-LJTI1_0
.set L1_0_set_31, LBB1_31-LJTI1_0
.set L1_0_set_37, LBB1_37-LJTI1_0
.set L1_0_set_39, LBB1_39-LJTI1_0
.set L1_0_set_42, LBB1_42-LJTI1_0
.set L1_0_set_45, LBB1_45-LJTI1_0
.set L1_0_set_47, LBB1_47-LJTI1_0
.set L1_0_set_49, LBB1_49-LJTI1_0
.set L1_0_set_53, LBB1_53-LJTI1_0
.set L1_0_set_57, LBB1_57-LJTI1_0
LJTI1_0:
.long L1_0_set_59
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_6
.long L1_0_set_6
.long L1_0_set_6
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_24
.long L1_0_set_24
.long L1_0_set_63
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_26
.long L1_0_set_26
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_28
.long L1_0_set_28
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_31
.long L1_0_set_31
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_37
.long L1_0_set_37
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_39
.long L1_0_set_39
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_42
.long L1_0_set_42
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_45
.long L1_0_set_45
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_47
.long L1_0_set_47
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_49
.long L1_0_set_49
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_53
.long L1_0_set_53
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_87
.long L1_0_set_57
.long L1_0_set_57
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function ssl3_get_server_method
_ssl3_get_server_method: ## @ssl3_get_server_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
cmpl $768, %edi ## imm = 0x300
jne LBB2_1
## %bb.2:
cmpb $0, _init(%rip)
je LBB2_4
## %bb.3:
leaq _SSLv3_server_data(%rip), %rbx
jmp LBB2_5
LBB2_1:
xorl %ebx, %ebx
jmp LBB2_5
LBB2_4:
callq _sslv3_base_method
leaq _SSLv3_server_data(%rip), %rbx
movq %rbx, %rdi
movq %rax, %rsi
movl $200, %edx
callq _memcpy
leaq _ssl3_accept(%rip), %rax
movq %rax, _SSLv3_server_data+32(%rip)
leaq _ssl3_get_server_method(%rip), %rax
movq %rax, _SSLv3_server_data+152(%rip)
movb $1, _init(%rip)
LBB2_5:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $376, %edi ## imm = 0x178
callq _malloc
movq %rax, %rbx
movl $1016, %edi ## imm = 0x3F8
callq _malloc
movq %rax, 120(%rbx)
movl $360, %edi ## imm = 0x168
callq _malloc
movq %rax, 296(%rbx)
movl $256, %edi ## imm = 0x100
callq _malloc
movq %rax, 256(%rbx)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ssl3_accept ## TAILCALL
.cfi_endproc
## -- End function
.globl _ssl3_send_server_certificate ## -- Begin function ssl3_send_server_certificate
.p2align 4, 0x90
_ssl3_send_server_certificate: ## @ssl3_send_server_certificate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
cmpl $8512, 72(%rdi) ## imm = 0x2140
jne LBB4_3
## %bb.1:
movq %rbx, %rdi
callq _ssl_get_server_send_cert
testq %rax, %rax
je LBB4_4
## %bb.2:
movq %rbx, %rdi
movq %rax, %rsi
callq _ssl3_output_cert_chain
movl $8513, 72(%rbx) ## imm = 0x2141
movl %eax, 88(%rbx)
movl $0, 92(%rbx)
LBB4_3:
movq %rbx, %rdi
movl $22, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ssl3_do_write ## TAILCALL
LBB4_4:
leaq L_.str(%rip), %rcx
movl $20, %edi
movl $154, %esi
movl $157, %edx
movl $1844, %r8d ## imm = 0x734
callq _ERR_put_error
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_init,1,2 ## @init
.zerofill __DATA,__bss,_SSLv3_server_data,200,3 ## @SSLv3_server_data
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "s3_srvr.c"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SSLv3_server_method ; -- Begin function SSLv3_server_method
.p2align 2
_SSLv3_server_method: ; @SSLv3_server_method
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
adrp x20, _init@PAGE
ldrb w8, [x20, _init@PAGEOFF]
tbnz w8, #0, LBB0_2
; %bb.1:
bl _sslv3_base_method
mov x1, x0
Lloh0:
adrp x19, _SSLv3_server_data@PAGE
Lloh1:
add x19, x19, _SSLv3_server_data@PAGEOFF
mov x0, x19
mov w2, #200
bl _memcpy
Lloh2:
adrp x8, _ssl3_accept@PAGE
Lloh3:
add x8, x8, _ssl3_accept@PAGEOFF
str x8, [x19, #32]
Lloh4:
adrp x8, _ssl3_get_server_method@PAGE
Lloh5:
add x8, x8, _ssl3_get_server_method@PAGEOFF
str x8, [x19, #152]
mov w8, #1
strb w8, [x20, _init@PAGEOFF]
LBB0_2:
Lloh6:
adrp x0, _SSLv3_server_data@PAGE
Lloh7:
add x0, x0, _SSLv3_server_data@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _ssl3_accept ; -- Begin function ssl3_accept
.p2align 2
_ssl3_accept: ; @ssl3_accept
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
bl ___VERIFIER_nondet_int
bl ___VERIFIER_nondet_int
bl ___VERIFIER_nondet_int
str w0, [sp, #28] ; 4-byte Folded Spill
bl ___VERIFIER_nondet_int
mov x21, x0
bl ___VERIFIER_nondet_int
str w0, [sp, #44] ; 4-byte Folded Spill
bl ___VERIFIER_nondet_int
mov x26, x0
bl ___VERIFIER_nondet_long
mov x23, x0
bl ___VERIFIER_nondet_int
str w0, [sp, #40] ; 4-byte Folded Spill
bl ___VERIFIER_nondet_int
str w0, [sp, #32] ; 4-byte Folded Spill
mov w27, #8464
str w27, [x19, #72]
bl ___VERIFIER_nondet_int
str w0, [x19, #132]
str w27, [x19, #72]
bl ___VERIFIER_nondet_int
ldr w8, [x19, #44]
add w8, w8, #1
str w8, [x19, #44]
ldr x8, [x19, #208]
cbz x8, LBB1_87
; %bb.1:
str wzr, [sp, #36] ; 4-byte Folded Spill
mov w28, #0
and x8, x23, #0xffffffff
str x8, [sp, #16] ; 8-byte Folded Spill
lsl w8, w26, #3
str w8, [sp, #12] ; 4-byte Folded Spill
mov w26, #12291
mov w25, #8447
mov w24, #-8448
mov w20, #1
Lloh8:
adrp x22, lJTI1_0@PAGE
Lloh9:
add x22, x22, lJTI1_0@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #72]
mov w0, #-1
cmp w8, w26
b.gt LBB1_8
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
cmp w8, w25
b.le LBB1_12
; %bb.4: ; in Loop: Header=BB1_2 Depth=1
add w8, w8, w24
cmp w8, #225
b.hi LBB1_89
; %bb.5: ; in Loop: Header=BB1_2 Depth=1
adr x9, LBB1_6
ldrh w10, [x22, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB1_6: ; in Loop: Header=BB1_2 Depth=1
str wzr, [x19, #68]
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.7: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
cmp w28, #0
csinc w28, w28, wzr, ne
mov w9, #8496
str w9, [x19, #72]
str wzr, [x19, #88]
mov w9, #1
str w9, [sp, #36] ; 4-byte Folded Spill
b LBB1_71
LBB1_8: ; in Loop: Header=BB1_2 Depth=1
cmp w8, #6, lsl #12 ; =24576
b.eq LBB1_13
; %bb.9: ; in Loop: Header=BB1_2 Depth=1
cmp w8, #4, lsl #12 ; =16384
b.eq LBB1_13
; %bb.10: ; in Loop: Header=BB1_2 Depth=1
mov w9, #12292
cmp w8, w9
b.ne LBB1_89
; %bb.11: ; in Loop: Header=BB1_2 Depth=1
str w20, [x19, #60]
b LBB1_13
LBB1_12: ; in Loop: Header=BB1_2 Depth=1
cmp w8, #2, lsl #12 ; =8192
mov w9, #8195
ccmp w8, w9, #4, ne
b.ne LBB1_91
LBB1_13: ; in Loop: Header=BB1_2 Depth=1
str w20, [x19, #56]
ldr w8, [x19]
and w8, w8, #0xffffff00
cmp w8, #768
b.ne LBB1_87
; %bb.14: ; in Loop: Header=BB1_2 Depth=1
mov w8, #8192
str w8, [x19, #4]
ldr x8, [x19, #80]
cbnz x8, LBB1_18
; %bb.15: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_pointer
mov x8, x0
mov w0, #-1
cbz x8, LBB1_89
; %bb.16: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #28] ; 4-byte Folded Reload
cbz w9, LBB1_89
; %bb.17: ; in Loop: Header=BB1_2 Depth=1
str x8, [x19, #80]
LBB1_18: ; in Loop: Header=BB1_2 Depth=1
cbz w21, LBB1_88
; %bb.19: ; in Loop: Header=BB1_2 Depth=1
str wzr, [x19, #88]
ldr w8, [x19, #72]
mov w9, #12292
cmp w8, w9
b.ne LBB1_21
; %bb.20: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
ldr x9, [x19, #296]
ldr w10, [x9, #136]
add w10, w10, #1
str w10, [x9, #136]
mov w9, #8480
str w9, [x19, #72]
b LBB1_71
LBB1_21: ; in Loop: Header=BB1_2 Depth=1
ldr w8, [sp, #44] ; 4-byte Folded Reload
cbz w8, LBB1_88
; %bb.22: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
str w27, [x19, #72]
ldr x9, [x19, #296]
ldr w10, [x9, #132]
add w10, w10, #1
str w10, [x9, #132]
b LBB1_71
LBB1_23: ; in Loop: Header=BB1_2 Depth=1
str wzr, [x19, #68]
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.24: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
ldr x9, [x19, #120]
mov w10, #8482
b LBB1_41
LBB1_25: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.26: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
cmp w28, #1
mov w9, #2
csel w28, w9, w28, eq
ldr w9, [x19, #132]
cmp w9, #0
mov w9, #8656
mov w10, #8512
csel w9, w10, w9, eq
b LBB1_69
LBB1_27: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x19, #120]
ldr x8, [x8, #920]
ldrb w8, [x8, #25]
tbnz w8, #0, LBB1_63
; %bb.28: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w28, #2
mov w8, #6
csel w28, w8, w28, eq
cmp w0, #1
b.lt LBB1_89
; %bb.29: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
b LBB1_64
LBB1_30: ; in Loop: Header=BB1_2 Depth=1
ldr x9, [x19, #120]
ldrb w8, [x19, #354]
tbnz w8, #5, LBB1_65
; %bb.31: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x9, #920]
ldr x10, [x8, #24]
str wzr, [x9, #968]
tst x10, #0x1e
b.ne LBB1_66
; %bb.32: ; in Loop: Header=BB1_2 Depth=1
tbz w10, #0, LBB1_36
; %bb.33: ; in Loop: Header=BB1_2 Depth=1
ldr x9, [x19, #208]
ldr x9, [x9, #72]
cbz x9, LBB1_66
; %bb.34: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x8, #32]
tbz w8, #1, LBB1_36
; %bb.35: ; in Loop: Header=BB1_2 Depth=1
tst x8, #0x4
mov w8, #512
mov w9, #1024
csel w8, w9, w8, eq
ldr w9, [sp, #12] ; 4-byte Folded Reload
cmp w9, w8
b.gt LBB1_66
LBB1_36: ; in Loop: Header=BB1_2 Depth=1
mov w8, #1
b LBB1_68
LBB1_37: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [x19, #264]
tbnz w9, #0, LBB1_74
; %bb.38: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x19, #120]
b LBB1_77
LBB1_39: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.40: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
ldr x9, [x19, #120]
mov w10, #8576
LBB1_41: ; in Loop: Header=BB1_2 Depth=1
str w10, [x9, #936]
mov w9, #8448
b LBB1_69
LBB1_42: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.43: ; in Loop: Header=BB1_2 Depth=1
cmp w0, #2
b.ne LBB1_78
; %bb.44: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
mov w9, #8466
str w9, [x19, #72]
b LBB1_71
LBB1_45: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.46: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
mov w9, #8608
b LBB1_69
LBB1_47: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.48: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
mov w9, #8640
b LBB1_69
LBB1_49: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w28, #5
b.eq LBB1_95
; %bb.50: ; in Loop: Header=BB1_2 Depth=1
cmp w0, #1
b.lt LBB1_89
; %bb.51: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
ldr w9, [x19, #132]
cmp w9, #0
mov w9, #3
mov w10, #8656
csel w9, w10, w9, eq
b LBB1_69
LBB1_52: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x19, #120]
ldr x8, [x8, #920]
ldr x9, [x19, #256]
str x8, [x9, #200]
ldr w8, [sp, #40] ; 4-byte Folded Reload
cbz w8, LBB1_88
; %bb.53: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w28, #2
b.eq LBB1_80
; %bb.54: ; in Loop: Header=BB1_2 Depth=1
cmp w28, #4
b.ne LBB1_81
; %bb.55: ; in Loop: Header=BB1_2 Depth=1
mov w28, #5
b LBB1_82
LBB1_56: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.57: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
cmp w28, #3
mov w9, #4
csel w28, w9, w28, eq
mov w9, #8448
str w9, [x19, #72]
ldr w9, [x19, #132]
ldr x10, [x19, #120]
cmp w9, #0
mov w9, #3
mov w11, #8640
csel w9, w9, w11, eq
str w9, [x10, #936]
b LBB1_70
LBB1_58: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
cmp x8, #1
b.lt LBB1_61
; %bb.59: ; in Loop: Header=BB1_2 Depth=1
mov w8, #2
str w8, [x19, #40]
cmp w23, #1
b.lt LBB1_88
; %bb.60: ; in Loop: Header=BB1_2 Depth=1
str w20, [x19, #40]
LBB1_61: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
ldr x9, [x19, #120]
ldr w9, [x9, #936]
str w9, [x19, #72]
b LBB1_71
LBB1_62: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
mov w9, #3
str w9, [x19, #72]
b LBB1_71
LBB1_63: ; in Loop: Header=BB1_2 Depth=1
mov w8, #1
LBB1_64: ; in Loop: Header=BB1_2 Depth=1
mov w9, #8528
b LBB1_69
LBB1_65: ; in Loop: Header=BB1_2 Depth=1
str w20, [x9, #968]
LBB1_66: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w28, #6
mov w8, #7
csel w28, w8, w28, eq
cmp w0, #1
b.lt LBB1_89
; %bb.67: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
LBB1_68: ; in Loop: Header=BB1_2 Depth=1
mov w9, #8544
LBB1_69: ; in Loop: Header=BB1_2 Depth=1
str w9, [x19, #72]
LBB1_70: ; in Loop: Header=BB1_2 Depth=1
str wzr, [x19, #88]
LBB1_71: ; in Loop: Header=BB1_2 Depth=1
ldr x9, [x19, #120]
ldr w9, [x9, #940]
orr w8, w9, w8
cbnz w8, LBB1_2
; %bb.72: ; in Loop: Header=BB1_2 Depth=1
ldr w8, [x19, #304]
cbz w8, LBB1_2
; %bb.73: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #0
b.gt LBB1_2
b LBB1_89
LBB1_74: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x19, #256]
ldr x10, [x8, #152]
and w11, w9, #0x4
ldr x8, [x19, #120]
cmp x10, #0
ccmp w11, #0, #4, ne
b.ne LBB1_77
; %bb.75: ; in Loop: Header=BB1_2 Depth=1
ldr x10, [x8, #920]
ldrb w10, [x10, #25]
tbz w10, #0, LBB1_84
; %bb.76: ; in Loop: Header=BB1_2 Depth=1
tbnz w9, #1, LBB1_84
LBB1_77: ; in Loop: Header=BB1_2 Depth=1
str wzr, [x8, #1008]
mov w8, #8560
str w8, [x19, #72]
mov w8, #1
b LBB1_71
LBB1_78: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
cmp w0, #1
b.lt LBB1_89
; %bb.79: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
str wzr, [x19, #88]
mov w9, #8592
str w9, [x19, #72]
b LBB1_71
LBB1_80: ; in Loop: Header=BB1_2 Depth=1
mov w28, #3
b LBB1_82
LBB1_81: ; in Loop: Header=BB1_2 Depth=1
cmp w28, #7
mov w8, #8
csel w28, w8, w28, eq
LBB1_82: ; in Loop: Header=BB1_2 Depth=1
cmp w0, #1
b.lt LBB1_89
; %bb.83: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
mov w9, #8672
str w9, [x19, #72]
str wzr, [x19, #88]
ldr w9, [sp, #32] ; 4-byte Folded Reload
cbnz w9, LBB1_71
b LBB1_88
LBB1_84: ; in Loop: Header=BB1_2 Depth=1
str w20, [x8, #1008]
bl ___VERIFIER_nondet_int
cmp w28, #8
b.eq LBB1_95
; %bb.85: ; in Loop: Header=BB1_2 Depth=1
cmp w0, #1
b.lt LBB1_89
; %bb.86: ; in Loop: Header=BB1_2 Depth=1
mov w8, #0
mov w9, #8448
str w9, [x19, #72]
ldr x9, [x19, #120]
mov w10, #8576
str w10, [x9, #936]
b LBB1_70
LBB1_87:
mov w0, #-1
b LBB1_90
LBB1_88:
mov w0, #-1
LBB1_89:
ldr w8, [x19, #44]
sub w8, w8, #1
str w8, [x19, #44]
LBB1_90:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB1_91:
cmp w8, #3
b.ne LBB1_89
; %bb.92:
str xzr, [x19, #80]
str wzr, [x19, #88]
ldr w8, [sp, #36] ; 4-byte Folded Reload
cbz w8, LBB1_94
; %bb.93:
str wzr, [x19, #60]
ldr x8, [x19, #296]
ldr w9, [x8, #140]
add w9, w9, #1
str w9, [x8, #140]
Lloh10:
adrp x8, _ssl3_accept@PAGE
Lloh11:
add x8, x8, _ssl3_accept@PAGEOFF
str x8, [x19, #48]
LBB1_94:
mov w0, #1
b LBB1_89
LBB1_95:
bl ___VERIFIER_error
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI1_0:
.short (LBB1_58-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_6-LBB1_6)>>2
.short (LBB1_6-LBB1_6)>>2
.short (LBB1_6-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_23-LBB1_6)>>2
.short (LBB1_23-LBB1_6)>>2
.short (LBB1_62-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_25-LBB1_6)>>2
.short (LBB1_25-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_27-LBB1_6)>>2
.short (LBB1_27-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_30-LBB1_6)>>2
.short (LBB1_30-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_37-LBB1_6)>>2
.short (LBB1_37-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_39-LBB1_6)>>2
.short (LBB1_39-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_42-LBB1_6)>>2
.short (LBB1_42-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_45-LBB1_6)>>2
.short (LBB1_45-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_47-LBB1_6)>>2
.short (LBB1_47-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_49-LBB1_6)>>2
.short (LBB1_49-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_52-LBB1_6)>>2
.short (LBB1_52-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_89-LBB1_6)>>2
.short (LBB1_56-LBB1_6)>>2
.short (LBB1_56-LBB1_6)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function ssl3_get_server_method
_ssl3_get_server_method: ; @ssl3_get_server_method
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w0, #768
b.ne LBB2_3
; %bb.1:
adrp x20, _init@PAGE
ldrb w8, [x20, _init@PAGEOFF]
Lloh12:
adrp x19, _SSLv3_server_data@PAGE
Lloh13:
add x19, x19, _SSLv3_server_data@PAGEOFF
tbnz w8, #0, LBB2_4
; %bb.2:
bl _sslv3_base_method
mov x1, x0
mov x0, x19
mov w2, #200
bl _memcpy
Lloh14:
adrp x8, _ssl3_accept@PAGE
Lloh15:
add x8, x8, _ssl3_accept@PAGEOFF
str x8, [x19, #32]
Lloh16:
adrp x8, _ssl3_get_server_method@PAGE
Lloh17:
add x8, x8, _ssl3_get_server_method@PAGEOFF
str x8, [x19, #152]
mov w8, #1
strb w8, [x20, _init@PAGEOFF]
b LBB2_4
LBB2_3:
mov x19, #0
LBB2_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w0, #376
bl _malloc
mov x19, x0
mov w0, #1016
bl _malloc
str x0, [x19, #120]
mov w0, #360
bl _malloc
str x0, [x19, #296]
mov w0, #256
bl _malloc
str x0, [x19, #256]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ssl3_accept
.cfi_endproc
; -- End function
.globl _ssl3_send_server_certificate ; -- Begin function ssl3_send_server_certificate
.p2align 2
_ssl3_send_server_certificate: ; @ssl3_send_server_certificate
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #72]
mov w9, #8512
cmp w8, w9
b.ne LBB4_3
; %bb.1:
mov x0, x19
bl _ssl_get_server_send_cert
cbz x0, LBB4_4
; %bb.2:
mov x1, x0
mov x0, x19
bl _ssl3_output_cert_chain
mov w8, #8513
str w8, [x19, #72]
stp w0, wzr, [x19, #88]
LBB4_3:
mov x0, x19
mov w1, #22
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ssl3_do_write
LBB4_4:
Lloh18:
adrp x3, l_.str@PAGE
Lloh19:
add x3, x3, l_.str@PAGEOFF
mov w0, #20
mov w1, #154
mov w2, #157
mov w4, #1844
bl _ERR_put_error
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_init,1,2 ; @init
.zerofill __DATA,__bss,_SSLv3_server_data,200,3 ; @SSLv3_server_data
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "s3_srvr.c"
.subsections_via_symbols
| the_stack_data/53128.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function handle_request
_handle_request: ## @handle_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %rbx
movl %edi, %r15d
movl 8(%rsi), %edi
callq _log_set_peer_addr
movq (%rbx), %rdi
cmpb $0, (%rdi)
jne LBB0_1
## %bb.2:
movl 8(%rbx), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _setproctitle
jmp LBB0_3
LBB0_1:
callq _log_set_peer_name
movl 8(%rbx), %esi
movq (%rbx), %rdx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _setproctitle
LBB0_3:
movl %r15d, %edi
movq %rbx, %rsi
callq _connection_new
movq %rax, %rbx
movl %r14d, %edi
callq _set_timeout
movq %rbx, %rdi
callq _capsicate
movq %rbx, %rdi
callq _login
cmpq $0, (%rbx)
jne LBB0_4
## %bb.5:
movq %rbx, %rdi
callq _handoff
jmp LBB0_6
LBB0_4:
movq %rbx, %rdi
callq _discovery
LBB0_6:
leaq L_.str.2(%rip), %rdi
callq _log_debugx
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s (%s)"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "nothing more to do; exiting"
.no_dead_strip _handle_request
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function handle_request
_handle_request: ; @handle_request
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
ldr w0, [x1, #8]
bl _log_set_peer_addr
ldr x0, [x20]
ldrb w8, [x0]
cbnz w8, LBB0_2
; %bb.1:
ldr w1, [x20, #8]
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2:
bl _log_set_peer_name
ldr w1, [x20, #8]
ldr x8, [x20]
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
LBB0_3:
bl _setproctitle
mov x0, x21
mov x1, x20
bl _connection_new
mov x20, x0
mov x0, x19
bl _set_timeout
mov x0, x20
bl _capsicate
mov x0, x20
bl _login
ldr x8, [x20]
cbnz x8, LBB0_5
; %bb.4:
mov x0, x20
bl _handoff
b LBB0_6
LBB0_5:
mov x0, x20
bl _discovery
LBB0_6:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _log_debugx
mov w0, #0
bl _exit
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s (%s)"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "nothing more to do; exiting"
.no_dead_strip _handle_request
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/iscsid/extr_iscsid.c_handle_request.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rt5651_probe
_rt5651_probe: ## @rt5651_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _snd_soc_component_get_drvdata
movq %rbx, (%rax)
movq _RT5651_PWR_ANLG1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RT5651_PWR_LDO_DVO_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _RT5651_PWR_LDO_DVO_1_2V@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
callq _snd_soc_component_update_bits
movq _SND_SOC_BIAS_OFF@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _snd_soc_component_force_bias_level
movq %rbx, %rdi
callq _rt5651_apply_properties
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RT5651_PWR_ANLG1,4,2 ## @RT5651_PWR_ANLG1
.comm _RT5651_PWR_LDO_DVO_MASK,4,2 ## @RT5651_PWR_LDO_DVO_MASK
.comm _RT5651_PWR_LDO_DVO_1_2V,4,2 ## @RT5651_PWR_LDO_DVO_1_2V
.comm _SND_SOC_BIAS_OFF,4,2 ## @SND_SOC_BIAS_OFF
.no_dead_strip _rt5651_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rt5651_probe
_rt5651_probe: ; @rt5651_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _snd_soc_component_get_drvdata
str x19, [x0]
Lloh0:
adrp x8, _RT5651_PWR_ANLG1@GOTPAGE
Lloh1:
ldr x8, [x8, _RT5651_PWR_ANLG1@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _RT5651_PWR_LDO_DVO_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _RT5651_PWR_LDO_DVO_MASK@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
Lloh6:
adrp x8, _RT5651_PWR_LDO_DVO_1_2V@GOTPAGE
Lloh7:
ldr x8, [x8, _RT5651_PWR_LDO_DVO_1_2V@GOTPAGEOFF]
Lloh8:
ldr w3, [x8]
mov x0, x19
bl _snd_soc_component_update_bits
Lloh9:
adrp x8, _SND_SOC_BIAS_OFF@GOTPAGE
Lloh10:
ldr x8, [x8, _SND_SOC_BIAS_OFF@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
bl _snd_soc_component_force_bias_level
mov x0, x19
bl _rt5651_apply_properties
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RT5651_PWR_ANLG1,4,2 ; @RT5651_PWR_ANLG1
.comm _RT5651_PWR_LDO_DVO_MASK,4,2 ; @RT5651_PWR_LDO_DVO_MASK
.comm _RT5651_PWR_LDO_DVO_1_2V,4,2 ; @RT5651_PWR_LDO_DVO_1_2V
.comm _SND_SOC_BIAS_OFF,4,2 ; @SND_SOC_BIAS_OFF
.no_dead_strip _rt5651_probe
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_rt5651.c_rt5651_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_suspend_switch ## -- Begin function thread_suspend_switch
.p2align 4, 0x90
_thread_suspend_switch: ## @thread_suspend_switch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _TD_IS_SUSPENDED
xorl %edi, %edi
testl %eax, %eax
sete %dil
leaq L_.str(%rip), %rsi
callq _KASSERT
movq _MA_OWNED@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq %r14, %rdi
callq _PROC_LOCK_ASSERT
movl (%r15), %esi
movq %r14, %rdi
callq _PROC_SLOCK_ASSERT
cmpq %r14, 8(%rbx)
jne LBB0_2
## %bb.1:
movq %r14, %rdi
callq _thread_stopped
incl (%r14)
LBB0_2:
movq %r14, %rdi
callq _PROC_UNLOCK
movq %rbx, %rdi
callq _thread_lock
movq _TDF_NEEDSUSPCHK@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%rbx)
movq %rbx, %rdi
callq _TD_SET_SUSPENDED
movq %rbx, %rdi
xorl %esi, %esi
callq _sched_sleep
movq %r14, %rdi
callq _PROC_SUNLOCK
xorl %eax, %eax
callq _DROP_GIANT
movq _SW_VOL@GOTPCREL(%rip), %rax
movq _SWT_SUSPEND@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
orl (%rax), %edi
xorl %esi, %esi
callq _mi_switch
movq %rbx, %rdi
callq _thread_unlock
xorl %eax, %eax
callq _PICKUP_GIANT
movq %r14, %rdi
callq _PROC_LOCK
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _PROC_SLOCK ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "already suspended"
.comm _MA_OWNED,4,2 ## @MA_OWNED
.comm _TDF_NEEDSUSPCHK,4,2 ## @TDF_NEEDSUSPCHK
.comm _SW_VOL,4,2 ## @SW_VOL
.comm _SWT_SUSPEND,4,2 ## @SWT_SUSPEND
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_suspend_switch ; -- Begin function thread_suspend_switch
.p2align 2
_thread_suspend_switch: ; @thread_suspend_switch
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _TD_IS_SUSPENDED
cmp w0, #0
cset w0, eq
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _KASSERT
Lloh2:
adrp x21, _MA_OWNED@GOTPAGE
Lloh3:
ldr x21, [x21, _MA_OWNED@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x19
bl _PROC_LOCK_ASSERT
ldr w1, [x21]
mov x0, x19
bl _PROC_SLOCK_ASSERT
ldr x8, [x20, #8]
cmp x8, x19
b.ne LBB0_2
; %bb.1:
mov x0, x19
bl _thread_stopped
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_2:
mov x0, x19
bl _PROC_UNLOCK
mov x0, x20
bl _thread_lock
Lloh4:
adrp x8, _TDF_NEEDSUSPCHK@GOTPAGE
Lloh5:
ldr x8, [x8, _TDF_NEEDSUSPCHK@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
ldr w9, [x20]
bic w8, w9, w8
str w8, [x20]
mov x0, x20
bl _TD_SET_SUSPENDED
mov x0, x20
mov w1, #0
bl _sched_sleep
mov x0, x19
bl _PROC_SUNLOCK
bl _DROP_GIANT
Lloh7:
adrp x8, _SW_VOL@GOTPAGE
Lloh8:
ldr x8, [x8, _SW_VOL@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
Lloh10:
adrp x9, _SWT_SUSPEND@GOTPAGE
Lloh11:
ldr x9, [x9, _SWT_SUSPEND@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
orr w0, w9, w8
mov x1, #0
bl _mi_switch
mov x0, x20
bl _thread_unlock
bl _PICKUP_GIANT
mov x0, x19
bl _PROC_LOCK
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _PROC_SLOCK
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "already suspended"
.comm _MA_OWNED,4,2 ; @MA_OWNED
.comm _TDF_NEEDSUSPCHK,4,2 ; @TDF_NEEDSUSPCHK
.comm _SW_VOL,4,2 ; @SW_VOL
.comm _SWT_SUSPEND,4,2 ; @SWT_SUSPEND
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_kern_thread.c_thread_suspend_switch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bwn_pio_rx_write_4
_bwn_pio_rx_write_4: ## @bwn_pio_rx_write_4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 8(%rdi), %eax
addq (%rdi), %rsi
movl %eax, %edi
popq %rbp
jmp _BWN_WRITE_4 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _bwn_pio_rx_write_4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bwn_pio_rx_write_4
_bwn_pio_rx_write_4: ; @bwn_pio_rx_write_4
.cfi_startproc
; %bb.0:
ldr w8, [x0, #8]
ldr x9, [x0]
add x1, x9, x1
mov x0, x8
b _BWN_WRITE_4
.cfi_endproc
; -- End function
.no_dead_strip _bwn_pio_rx_write_4
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn.c_bwn_pio_rx_write_4.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_lisp_indent ## -- Begin function get_lisp_indent
.p2align 4, 0x90
_get_lisp_indent: ## @get_lisp_indent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _p_cpo@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _CPO_LISP@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _vim_strchr
movq %rax, %r12
movq _curwin@GOTPCREL(%rip), %r13
movq (%r13), %rax
movups (%rax), %xmm0
movaps %xmm0, -96(%rbp)
movl $0, (%rax)
xorl %r15d, %r15d
xorl %edi, %edi
movl $40, %esi
callq _findmatch
testq %rax, %rax
je LBB0_2
## %bb.1:
xorl %edi, %edi
movl $91, %esi
callq _findmatch
testq %rax, %rax
jne LBB0_3
jmp LBB0_88
LBB0_2:
movups 0, %xmm0
movaps %xmm0, -80(%rbp)
xorl %r15d, %r15d
xorl %edi, %edi
movl $91, %esi
callq _findmatch
testq %rax, %rax
je LBB0_76
LBB0_3:
movq %rax, %r14
LBB0_4:
movq _NUL@GOTPCREL(%rip), %rbx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 3
movq (%r13), %rax
movq 8(%rax), %rdx
leaq -1(%rdx), %rdi
movq %rdi, 8(%rax)
movq 8(%r14), %rcx
cmpq %rcx, %rdx
jle LBB0_34
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
callq _linewhite
testq %rax, %rax
jne LBB0_5
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
callq _ml_get_curline
movzbl (%rbx), %ecx
movq %rax, -48(%rbp)
movzbl (%rax), %edx
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_10 Depth=2
leaq 1(%rax), %rdx
cmpb %cl, 1(%rax)
cmovneq %rdx, %rax
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
leaq 1(%rax), %rsi
movq %rsi, -48(%rbp)
movzbl 1(%rax), %edx
movq %rsi, %rax
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_15 Depth 3
## Child Loop BB0_17 Depth 3
cmpb %cl, %dl
je LBB0_31
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
cmpb $34, %dl
je LBB0_16
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
movzbl %dl, %esi
cmpl $92, %esi
je LBB0_8
## %bb.13: ## in Loop: Header=BB0_10 Depth=2
cmpl $59, %esi
jne LBB0_24
## %bb.14: ## in Loop: Header=BB0_10 Depth=2
cmpb %cl, -1(%rax)
je LBB0_9
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movq %rax, %rdx
incq %rax
movq %rax, -48(%rbp)
cmpb %cl, (%rdx)
jne LBB0_15
jmp LBB0_9
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_10 Depth=2
cmpb %cl, 1(%rax)
je LBB0_9
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movq %rax, %rsi
incq %rax
movq %rax, -48(%rbp)
movzbl 1(%rsi), %edx
cmpl $92, %edx
je LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=3
testl %edx, %edx
je LBB0_24
## %bb.19: ## in Loop: Header=BB0_17 Depth=3
cmpl $34, %edx
jne LBB0_17
jmp LBB0_24
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_17 Depth=3
leaq 2(%rsi), %rax
movq %rax, -48(%rbp)
cmpb %cl, 2(%rsi)
je LBB0_23
## %bb.21: ## in Loop: Header=BB0_17 Depth=3
cmpb %cl, 3(%rsi)
jne LBB0_17
## %bb.22: ## in Loop: Header=BB0_10 Depth=2
leaq 3(%rsi), %rax
movq %rax, -48(%rbp)
movzbl 3(%rsi), %edx
jmp LBB0_24
LBB0_23: ## in Loop: Header=BB0_10 Depth=2
movl %ecx, %edx
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_10 Depth=2
movzbl %dl, %edx
cmpl $90, %edx
jg LBB0_27
## %bb.25: ## in Loop: Header=BB0_10 Depth=2
cmpl $40, %edx
je LBB0_29
## %bb.26: ## in Loop: Header=BB0_10 Depth=2
cmpl $41, %edx
je LBB0_30
jmp LBB0_9
LBB0_27: ## in Loop: Header=BB0_10 Depth=2
cmpl $93, %edx
je LBB0_30
## %bb.28: ## in Loop: Header=BB0_10 Depth=2
cmpl $91, %edx
jne LBB0_9
LBB0_29: ## in Loop: Header=BB0_10 Depth=2
incl %r15d
jmp LBB0_9
LBB0_30: ## in Loop: Header=BB0_10 Depth=2
decl %r15d
jmp LBB0_9
LBB0_31: ## in Loop: Header=BB0_5 Depth=1
testl %r15d, %r15d
jne LBB0_5
## %bb.32:
xorl %eax, %eax
callq _get_indent
movl %eax, %r15d
cmpl $-1, %eax
jne LBB0_88
## %bb.33:
movq 8(%r14), %rcx
movq (%r13), %rax
LBB0_34:
movq %rcx, 8(%rax)
movl (%r14), %ebx
movl %ebx, (%rax)
xorl %eax, %eax
callq _ml_get_curline
movq %rax, -48(%rbp)
testq %r12, %r12
je LBB0_37
## %bb.35:
xorl %eax, %eax
callq _get_indent
testl %eax, %eax
je LBB0_53
## %bb.36:
movq -48(%rbp), %rax
LBB0_37:
movzbl (%rax), %edx
testb %dl, %dl
setne %cl
testl %ebx, %ebx
setne %sil
andb %cl, %sil
cmpb $1, %sil
movl $0, %ecx
jne LBB0_41
## %bb.38:
decl %ebx
xorl %ecx, %ecx
leaq -48(%rbp), %r14
.p2align 4, 0x90
LBB0_39: ## =>This Inner Loop Header: Depth=1
movl %ecx, %r15d
movq %r14, %rdi
movl %ecx, %esi
callq _lbr_chartabsize_adv
movq %rax, %rcx
addl %r15d, %ecx
movq -48(%rbp), %rax
movzbl (%rax), %edx
addl $-1, %ebx
setb %sil
testb %dl, %dl
je LBB0_41
## %bb.40: ## in Loop: Header=BB0_39 Depth=1
testb %sil, %sil
jne LBB0_39
LBB0_41:
testq %r12, %r12
je LBB0_49
LBB0_42:
movq %r12, -56(%rbp) ## 8-byte Spill
LBB0_43:
leaq 1(%rax), %rdx
movq %rdx, -48(%rbp)
movq %rcx, %r12
leal 1(%rcx), %ebx
movsbl 1(%rax), %edi
callq _vim_iswhite
movl %ebx, %r14d
testq %rax, %rax
je LBB0_46
## %bb.44:
movl %ebx, %r15d
.p2align 4, 0x90
LBB0_45: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdi
movl %r15d, %esi
callq _lbr_chartabsize
movq %rax, %r14
addl %r15d, %r14d
movq -48(%rbp), %rax
leaq 1(%rax), %rcx
movq %rcx, -48(%rbp)
movsbl 1(%rax), %edi
callq _vim_iswhite
movl %r14d, %r15d
testq %rax, %rax
jne LBB0_45
LBB0_46:
movq -48(%rbp), %rax
movzbl (%rax), %eax
testl %eax, %eax
je LBB0_54
## %bb.47:
cmpl $59, %eax
jne LBB0_55
LBB0_54:
movl %r14d, %r15d
jmp LBB0_88
LBB0_49:
cmpb $91, %dl
je LBB0_51
## %bb.50:
movzbl %dl, %edx
cmpl $40, %edx
jne LBB0_42
LBB0_51:
movq %rcx, %rbx
incq %rax
movq %rax, %rdi
callq _lisp_match
testq %rax, %rax
je LBB0_89
## %bb.52:
movq %rbx, %r15
addl $2, %r15d
jmp LBB0_87
LBB0_53:
movl $2, %r15d
jmp LBB0_88
LBB0_55:
movq %r12, %rcx
addl $2, %ecx
cmpb $91, %al
cmovel %ebx, %ecx
cmpb $40, %al
cmovel %ebx, %ecx
movq -56(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
cmovnel %ebx, %ecx
movq %rcx, -64(%rbp) ## 8-byte Spill
je LBB0_79
LBB0_56:
xorl %r12d, %r12d
testb %al, %al
je LBB0_78
## %bb.57:
xorl %r15d, %r15d
jmp LBB0_60
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_60 Depth=1
incl %r15d
xorl %ebx, %ebx
LBB0_59: ## in Loop: Header=BB0_60 Depth=1
movl %r14d, %r12d
leaq -48(%rbp), %rdi
movl %r14d, %esi
callq _lbr_chartabsize_adv
movq %rax, %r14
addl %r12d, %r14d
movq -48(%rbp), %rax
movzbl (%rax), %eax
movl %ebx, %r12d
testb %al, %al
je LBB0_78
LBB0_60: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
callq _vim_iswhite
testq %rax, %rax
sete %al
movl %r12d, %ecx
orl %r15d, %ecx
setne %dl
orb %al, %dl
movq -48(%rbp), %rcx
movzbl (%rcx), %eax
cmpb $1, %dl
jne LBB0_81
## %bb.61: ## in Loop: Header=BB0_60 Depth=1
cmpb $40, %al
jne LBB0_65
## %bb.62: ## in Loop: Header=BB0_60 Depth=1
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
setne %al
movl %r12d, %ecx
orl %r15d, %ecx
sete %cl
testb %al, %cl
jne LBB0_92
## %bb.63: ## in Loop: Header=BB0_60 Depth=1
testl %r12d, %r12d
je LBB0_58
## %bb.64: ## in Loop: Header=BB0_60 Depth=1
movl %r12d, %ebx
jmp LBB0_59
.p2align 4, 0x90
LBB0_65: ## in Loop: Header=BB0_60 Depth=1
testl %r15d, %r15d
sete %dl
testl %r12d, %r12d
sete %sil
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
setne %dil
cmpb $91, %al
sete %r8b
andb %dl, %sil
andb %r8b, %sil
testb %dil, %sil
jne LBB0_91
## %bb.66: ## in Loop: Header=BB0_60 Depth=1
xorl %ebx, %ebx
testl %r12d, %r12d
sete %bl
cmpb $34, %al
cmovnel %r12d, %ebx
cmpb $91, %al
jne LBB0_68
## %bb.67: ## in Loop: Header=BB0_60 Depth=1
testl %ebx, %ebx
je LBB0_58
LBB0_68: ## in Loop: Header=BB0_60 Depth=1
cmpb $41, %al
jne LBB0_70
## %bb.69: ## in Loop: Header=BB0_60 Depth=1
testl %ebx, %ebx
jne LBB0_59
jmp LBB0_72
LBB0_70: ## in Loop: Header=BB0_60 Depth=1
cmpb $93, %al
jne LBB0_73
## %bb.71: ## in Loop: Header=BB0_60 Depth=1
testl %ebx, %ebx
jne LBB0_73
LBB0_72: ## in Loop: Header=BB0_60 Depth=1
decl %r15d
xorl %ebx, %ebx
LBB0_73: ## in Loop: Header=BB0_60 Depth=1
cmpb $92, %al
jne LBB0_59
## %bb.74: ## in Loop: Header=BB0_60 Depth=1
movzbl 1(%rcx), %eax
movq _NUL@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
je LBB0_59
## %bb.75: ## in Loop: Header=BB0_60 Depth=1
leaq -48(%rbp), %rdi
movl %r14d, %esi
callq _lbr_chartabsize_adv
addl %r14d, %eax
movl %eax, %r14d
jmp LBB0_59
LBB0_76:
leaq -80(%rbp), %r14
xorl %edi, %edi
movq %r14, %rsi
callq _ltp
testq %rax, %rax
jne LBB0_4
jmp LBB0_88
LBB0_78:
xorl %eax, %eax
jmp LBB0_81
LBB0_79:
cmpl $39, %eax
ja LBB0_90
## %bb.80:
movl %eax, %edx
movabsq $601295421440, %rsi ## imm = 0x8C00000000
btq %rdx, %rsi
jae LBB0_90
LBB0_81:
movsbl %al, %edi
callq _vim_iswhite
testq %rax, %rax
je LBB0_83
.p2align 4, 0x90
LBB0_82: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdi
movl %r14d, %esi
callq _lbr_chartabsize
movq %rax, %r15
addl %r14d, %r15d
movq -48(%rbp), %rax
leaq 1(%rax), %rcx
movq %rcx, -48(%rbp)
movsbl 1(%rax), %edi
callq _vim_iswhite
movl %r15d, %r14d
testq %rax, %rax
jne LBB0_82
jmp LBB0_84
LBB0_83:
movl %r14d, %r15d
LBB0_84:
movq -48(%rbp), %rax
movzbl (%rax), %eax
cmpl $59, %eax
je LBB0_86
## %bb.85:
testl %eax, %eax
jne LBB0_88
LBB0_86:
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_87:
## kill: def $r15d killed $r15d killed $r15 def $r15
LBB0_88:
movq (%r13), %rax
movaps -96(%rbp), %xmm0
movups %xmm0, (%rax)
movl %r15d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_89:
movq %r12, -56(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq %rbx, %rcx
jmp LBB0_43
LBB0_90:
leal -58(%rax), %edx
cmpb $-11, %dl
jbe LBB0_56
jmp LBB0_81
LBB0_91:
movb $91, %al
jmp LBB0_81
LBB0_92:
movb $40, %al
jmp LBB0_81
.cfi_endproc
## -- End function
.comm _p_cpo,4,2 ## @p_cpo
.comm _CPO_LISP,4,2 ## @CPO_LISP
.comm _curwin,8,3 ## @curwin
.comm _NUL,1,0 ## @NUL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _get_lisp_indent ; -- Begin function get_lisp_indent
.p2align 2
_get_lisp_indent: ; @get_lisp_indent
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x8, _p_cpo@GOTPAGE
Lloh1:
ldr x8, [x8, _p_cpo@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _CPO_LISP@GOTPAGE
Lloh4:
ldr x8, [x8, _CPO_LISP@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _vim_strchr
mov x19, x0
Lloh6:
adrp x22, _curwin@GOTPAGE
Lloh7:
ldr x22, [x22, _curwin@GOTPAGEOFF]
ldr x8, [x22]
ldr q0, [x8]
str q0, [sp, #32]
str wzr, [x8]
mov x0, #0 ; =0x0
mov w1, #40 ; =0x28
bl _findmatch
cbz x0, LBB0_3
; %bb.1:
mov x0, #0 ; =0x0
mov w1, #91 ; =0x5b
bl _findmatch
cbnz x0, LBB0_4
LBB0_2:
mov w20, #0 ; =0x0
b LBB0_84
LBB0_3:
ldr q0, [x0]
str q0, [sp, #16]
mov w1, #91 ; =0x5b
bl _findmatch
cbz x0, LBB0_74
LBB0_4:
mov x21, x0
LBB0_5:
mov w20, #0 ; =0x0
Lloh8:
adrp x23, _NUL@GOTPAGE
Lloh9:
ldr x23, [x23, _NUL@GOTPAGEOFF]
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_18 Depth 3
ldr x8, [x22]
ldr x10, [x8, #8]
sub x0, x10, #1
str x0, [x8, #8]
ldr x9, [x21, #8]
cmp x10, x9
b.le LBB0_35
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
bl _linewhite
cbnz x0, LBB0_6
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
bl _ml_get_curline
ldrb w8, [x23]
str x0, [sp, #8]
ldrb w9, [x0]
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=2
mov x9, x0
ldrb w10, [x9, #1]!
cmp w10, w8
csel x0, x0, x9, eq
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
add x10, x0, #1
str x10, [sp, #8]
ldrb w9, [x0, #1]
mov x0, x10
LBB0_11: ; Parent Loop BB0_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_18 Depth 3
cmp w9, w8
b.eq LBB0_32
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #34
b.eq LBB0_17
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #92
b.eq LBB0_9
; %bb.14: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #59
b.ne LBB0_24
; %bb.15: ; in Loop: Header=BB0_11 Depth=2
ldurb w9, [x0, #-1]
cmp w9, w8
b.eq LBB0_10
LBB0_16: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_11 Depth=2
; => This Inner Loop Header: Depth=3
mov x9, x0
add x0, x0, #1
str x0, [sp, #8]
ldrb w9, [x9]
cmp w9, w8
b.ne LBB0_16
b LBB0_10
LBB0_17: ; in Loop: Header=BB0_11 Depth=2
ldrb w9, [x0, #1]
cmp w9, w8
b.eq LBB0_10
LBB0_18: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_11 Depth=2
; => This Inner Loop Header: Depth=3
mov x10, x0
add x0, x0, #1
str x0, [sp, #8]
ldrb w9, [x10, #1]
cmp w9, #92
b.eq LBB0_21
; %bb.19: ; in Loop: Header=BB0_18 Depth=3
cbz w9, LBB0_24
; %bb.20: ; in Loop: Header=BB0_18 Depth=3
cmp w9, #34
b.ne LBB0_18
b LBB0_24
LBB0_21: ; in Loop: Header=BB0_18 Depth=3
add x0, x10, #2
str x0, [sp, #8]
ldrb w9, [x10, #2]
cmp w9, w8
b.eq LBB0_27
; %bb.22: ; in Loop: Header=BB0_18 Depth=3
ldrb w9, [x10, #3]
cmp w9, w8
b.ne LBB0_18
; %bb.23: ; in Loop: Header=BB0_11 Depth=2
add x0, x10, #3
str x0, [sp, #8]
ldrb w9, [x10, #3]
LBB0_24: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #90
b.gt LBB0_28
LBB0_25: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #40
b.eq LBB0_30
; %bb.26: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #41
b.eq LBB0_31
b LBB0_10
LBB0_27: ; in Loop: Header=BB0_11 Depth=2
mov x9, x8
cmp w9, #90
b.le LBB0_25
LBB0_28: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #93
b.eq LBB0_31
; %bb.29: ; in Loop: Header=BB0_11 Depth=2
cmp w9, #91
b.ne LBB0_10
LBB0_30: ; in Loop: Header=BB0_11 Depth=2
add w20, w20, #1
b LBB0_10
LBB0_31: ; in Loop: Header=BB0_11 Depth=2
sub w20, w20, #1
b LBB0_10
LBB0_32: ; in Loop: Header=BB0_6 Depth=1
cbnz w20, LBB0_6
; %bb.33:
bl _get_indent
mov x20, x0
cmn w0, #1
b.ne LBB0_84
; %bb.34:
ldr x9, [x21, #8]
ldr x8, [x22]
LBB0_35:
str x9, [x8, #8]
ldr w20, [x21]
str w20, [x8]
bl _ml_get_curline
str x0, [sp, #8]
cbz x19, LBB0_38
; %bb.36:
bl _get_indent
cbz w0, LBB0_73
; %bb.37:
ldr x0, [sp, #8]
LBB0_38:
ldrb w8, [x0]
cmp w8, #0
mov w21, #0 ; =0x0
ccmp w20, #0, #4, ne
b.eq LBB0_42
; %bb.39:
sub w20, w20, #1
LBB0_40: ; =>This Inner Loop Header: Depth=1
add x0, sp, #8
mov x1, x21
bl _lbr_chartabsize_adv
add w21, w21, w0
ldr x0, [sp, #8]
ldrb w8, [x0]
subs w20, w20, #1
cset w9, hs
cbz w8, LBB0_42
; %bb.41: ; in Loop: Header=BB0_40 Depth=1
tbnz w9, #0, LBB0_40
LBB0_42:
cbz x19, LBB0_69
LBB0_43:
add x8, x0, #1
str x8, [sp, #8]
add w24, w21, #1
ldrsb w0, [x0, #1]
bl _vim_iswhite
mov x20, x24
cbz x0, LBB0_45
LBB0_44: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #8]
mov x1, x20
bl _lbr_chartabsize
add w20, w20, w0
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrsb w0, [x8, #1]
bl _vim_iswhite
cbnz x0, LBB0_44
LBB0_45:
ldr x8, [sp, #8]
ldrb w8, [x8]
cbz w8, LBB0_84
; %bb.46:
cmp w8, #59
b.eq LBB0_84
; %bb.47:
cmp w8, #91
mov w9, #40 ; =0x28
ccmp w8, w9, #4, ne
ccmp x19, #0, #0, ne
add w9, w21, #2
csel w21, w24, w9, ne
cbz x19, LBB0_75
LBB0_48:
cbz w8, LBB0_76
; %bb.49:
mov w25, #0 ; =0x0
mov w24, #0 ; =0x0
b LBB0_52
LBB0_50: ; in Loop: Header=BB0_52 Depth=1
mov w25, #0 ; =0x0
add w24, w24, #1
LBB0_51: ; in Loop: Header=BB0_52 Depth=1
add x0, sp, #8
mov x1, x20
bl _lbr_chartabsize_adv
add w20, w20, w0
ldr x8, [sp, #8]
ldrb w8, [x8]
cbz w8, LBB0_76
LBB0_52: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _vim_iswhite
ldr x9, [sp, #8]
ldrb w8, [x9]
cbz x0, LBB0_55
; %bb.53: ; in Loop: Header=BB0_52 Depth=1
cbnz w25, LBB0_55
; %bb.54: ; in Loop: Header=BB0_52 Depth=1
cbz w24, LBB0_76
LBB0_55: ; in Loop: Header=BB0_52 Depth=1
cmp w8, #40
b.ne LBB0_60
; %bb.56: ; in Loop: Header=BB0_52 Depth=1
cbnz w25, LBB0_59
; %bb.57: ; in Loop: Header=BB0_52 Depth=1
cbnz w24, LBB0_59
; %bb.58: ; in Loop: Header=BB0_52 Depth=1
cbnz x19, LBB0_80
LBB0_59: ; in Loop: Header=BB0_52 Depth=1
cbnz w25, LBB0_51
b LBB0_50
LBB0_60: ; in Loop: Header=BB0_52 Depth=1
cmp w8, #91
ccmp w25, #0, #0, eq
ccmp w24, #0, #0, eq
ccmp x19, #0, #4, eq
b.ne LBB0_79
; %bb.61: ; in Loop: Header=BB0_52 Depth=1
cmp w25, #0
cset w10, eq
cmp w8, #34
csel w25, w10, w25, eq
cmp w8, #91
ccmp w25, #0, #0, eq
b.eq LBB0_50
; %bb.62: ; in Loop: Header=BB0_52 Depth=1
cmp w8, #41
b.ne LBB0_64
; %bb.63: ; in Loop: Header=BB0_52 Depth=1
cbnz w25, LBB0_51
b LBB0_65
LBB0_64: ; in Loop: Header=BB0_52 Depth=1
cmp w8, #93
ccmp w25, #0, #0, eq
b.ne LBB0_66
LBB0_65: ; in Loop: Header=BB0_52 Depth=1
mov w25, #0 ; =0x0
sub w24, w24, #1
LBB0_66: ; in Loop: Header=BB0_52 Depth=1
cmp w8, #92
b.ne LBB0_51
; %bb.67: ; in Loop: Header=BB0_52 Depth=1
ldrb w8, [x9, #1]
ldrb w9, [x23]
cmp w8, w9
b.eq LBB0_51
; %bb.68: ; in Loop: Header=BB0_52 Depth=1
add x0, sp, #8
mov x1, x20
bl _lbr_chartabsize_adv
add w20, w20, w0
b LBB0_51
LBB0_69:
cmp w8, #91
b.eq LBB0_71
; %bb.70:
cmp w8, #40
b.ne LBB0_43
LBB0_71:
add x0, x0, #1
bl _lisp_match
cbz x0, LBB0_77
; %bb.72:
add w20, w21, #2
b LBB0_84
LBB0_73:
mov w20, #2 ; =0x2
b LBB0_84
LBB0_74:
add x21, sp, #16
add x1, sp, #16
bl _ltp
cbnz x0, LBB0_5
b LBB0_2
LBB0_75:
cmp w8, #39
mov w9, #1 ; =0x1
lsl x9, x9, x8
mov x10, #601295421440 ; =0x8c00000000
and x9, x9, x10
ccmp x9, #0, #4, ls
b.eq LBB0_78
LBB0_76:
sxtb w0, w8
b LBB0_82
LBB0_77:
ldr x0, [sp, #8]
b LBB0_43
LBB0_78:
sub w9, w8, #58
and w9, w9, #0xff
cmp w9, #245
b.ls LBB0_48
b LBB0_76
LBB0_79:
mov w8, #91 ; =0x5b
sxtb w0, w8
b LBB0_82
LBB0_80:
mov w8, #40 ; =0x28
sxtb w0, w8
b LBB0_82
LBB0_81: ; in Loop: Header=BB0_82 Depth=1
ldr x0, [sp, #8]
mov x1, x20
bl _lbr_chartabsize
add w20, w20, w0
ldr x8, [sp, #8]
add x9, x8, #1
str x9, [sp, #8]
ldrsb w0, [x8, #1]
LBB0_82: ; =>This Inner Loop Header: Depth=1
bl _vim_iswhite
cbnz x0, LBB0_81
; %bb.83:
ldr x8, [sp, #8]
ldrb w8, [x8]
cmp w8, #59
ccmp w8, #0, #4, ne
csel w20, w20, w21, ne
LBB0_84:
ldr x8, [x22]
ldr q0, [sp, #32]
str q0, [x8]
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _p_cpo,4,2 ; @p_cpo
.comm _CPO_LISP,4,2 ; @CPO_LISP
.comm _curwin,8,3 ; @curwin
.comm _NUL,1,0 ; @NUL
.subsections_via_symbols
| assembly_file_155279.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _debug ## -- Begin function debug
.p2align 4, 0x90
_debug: ## @debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $216, %rsp
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rsi, -216(%rbp)
movq %rdx, -208(%rbp)
movq %rcx, -200(%rbp)
movq %r8, -192(%rbp)
movq %r9, -184(%rbp)
testb %al, %al
je LBB0_8
## %bb.7:
movaps %xmm0, -176(%rbp)
movaps %xmm1, -160(%rbp)
movaps %xmm2, -144(%rbp)
movaps %xmm3, -128(%rbp)
movaps %xmm4, -112(%rbp)
movaps %xmm5, -96(%rbp)
movaps %xmm6, -80(%rbp)
movaps %xmm7, -64(%rbp)
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movl _do_debug(%rip), %ecx
testl %ecx, %ecx
jns LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _getenv
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, _do_debug(%rip)
LBB0_2:
testl %ecx, %ecx
je LBB0_4
## %bb.3:
leaq -224(%rbp), %rax
movq %rax, -32(%rbp)
leaq 16(%rbp), %rax
movq %rax, -40(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -48(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq -48(%rbp), %rdx
movq %rbx, %rsi
callq _vfprintf
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_6
## %bb.5:
addq $216, %rsp
popq %rbx
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $2, %edi
jl LBB1_4
## %bb.1:
movq 8(%rsi), %rdi
movq ___stdinp@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
leaq L_.str.1(%rip), %rsi
callq _freopen
movq %rax, (%rbx)
testq %rax, %rax
je LBB1_2
LBB1_4:
callq _getchar
cmpl $-1, %eax
je LBB1_29
## %bb.5:
leaq _list(%rip), %r15
leaq L_.str.4(%rip), %r13
jmp LBB1_6
.p2align 4, 0x90
LBB1_28: ## in Loop: Header=BB1_6 Depth=1
movl 8(%r12,%r15), %esi
movl 24(%r12,%r15), %ecx
leaq L_.str.9(%rip), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _debug
callq _getchar
cmpl $-1, %eax
je LBB1_29
LBB1_6: ## =>This Inner Loop Header: Depth=1
movl _count(%rip), %ecx
leal 1(%rcx), %edx
movl %edx, _count(%rip)
cmpl $999, %ecx ## imm = 0x3E7
jge LBB1_44
## %bb.7: ## in Loop: Header=BB1_6 Depth=1
movq ___stdinp@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movl %eax, %edi
callq _ungetc
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $36, %rsi
leaq (%rax,%r15), %rdx
addq $28, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.8: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 40(%rax,%r15)
callq _getchar
movl $1, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.9: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $52, %rsi
leaq (%rax,%r15), %rdx
addq $44, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.10: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 56(%rax,%r15)
callq _getchar
movl $2, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.11: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $68, %rsi
leaq (%rax,%r15), %rdx
addq $60, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.12: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 72(%rax,%r15)
callq _getchar
movl $3, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.13: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $84, %rsi
leaq (%rax,%r15), %rdx
addq $76, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.14: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 88(%rax,%r15)
callq _getchar
movl $4, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.15: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $100, %rsi
leaq (%rax,%r15), %rdx
addq $92, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.16: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 104(%rax,%r15)
callq _getchar
movl $5, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.17: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $116, %rsi
leaq (%rax,%r15), %rdx
addq $108, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.18: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 120(%rax,%r15)
callq _getchar
movl $6, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.19: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $132, %rsi
leaq (%rax,%r15), %rdx
addq $124, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.20: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 136(%rax,%r15)
callq _getchar
movl $7, %ecx
cmpl $32, %eax
je LBB1_25
## %bb.21: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $148, %rsi
leaq (%rax,%r15), %rdx
addq $140, %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.22: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 152(%rax,%r15)
callq _getchar
movl $8, %ecx
cmpl $32, %eax
jne LBB1_23
.p2align 4, 0x90
LBB1_25: ## in Loop: Header=BB1_6 Depth=1
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%r15,%rax), %rdx
movl %ecx, 24(%rax,%r15)
leaq (%rax,%r15), %rsi
addq $8, %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _scanf
movl _count(%rip), %ebx
cmpl $2, %eax
jne LBB1_46
## %bb.26: ## in Loop: Header=BB1_6 Depth=1
movslq %ebx, %rax
leaq (%rax,%rax,4), %r12
shlq $5, %r12
leaq (%r15,%r12), %r14
movq %r14, %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB1_28
## %bb.27: ## in Loop: Header=BB1_6 Depth=1
movl %ebx, _fuel_idx(%rip)
jmp LBB1_28
LBB1_29:
movl _count(%rip), %esi
movl _fuel_idx(%rip), %edx
decl %edx
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
movl _fuel_idx(%rip), %edi
movl $1, %esi
callq _produce
testb %al, %al
je LBB1_47
## %bb.30:
movabsq $1000000000000, %rbx ## imm = 0xE8D4A51000
subq _list+16(%rip), %rbx
leaq L_.str.12(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.13(%rip), %r14
jmp LBB1_31
.p2align 4, 0x90
LBB1_41: ## in Loop: Header=BB1_31 Depth=1
cqto
idivq %rbx
movq %rax, %rsi
LBB1_42: ## in Loop: Header=BB1_31 Depth=1
callq _produce
testb %al, %al
je LBB1_43
LBB1_31: ## =>This Inner Loop Header: Depth=1
movq _list+16(%rip), %rax
cmpq %rbx, %rax
jle LBB1_32
## %bb.36: ## in Loop: Header=BB1_31 Depth=1
movq %rax, %rcx
orq %rbx, %rcx
shrq $32, %rcx
je LBB1_37
## %bb.38: ## in Loop: Header=BB1_31 Depth=1
cqto
idivq %rbx
movq %rax, %rsi
jmp LBB1_39
.p2align 4, 0x90
LBB1_37: ## in Loop: Header=BB1_31 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ebx
movl %eax, %esi
LBB1_39: ## in Loop: Header=BB1_31 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl _fuel_idx(%rip), %edi
movq _list+16(%rip), %rax
movq %rax, %rcx
orq %rbx, %rcx
shrq $32, %rcx
jne LBB1_41
## %bb.40: ## in Loop: Header=BB1_31 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ebx
movl %eax, %esi
jmp LBB1_42
LBB1_32:
movl _fuel_idx(%rip), %edi
movl $1, %esi
callq _produce
testb %al, %al
je LBB1_35
## %bb.33:
leaq L_.str.15(%rip), %rbx
.p2align 4, 0x90
LBB1_34: ## =>This Inner Loop Header: Depth=1
movq _produced(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl _fuel_idx(%rip), %edi
movl $1, %esi
callq _produce
testb %al, %al
jne LBB1_34
LBB1_35:
movq _produced(%rip), %rsi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB1_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_2:
callq _main.cold.1
jmp LBB1_3
LBB1_43:
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _die
LBB1_44:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _die
LBB1_46:
decl %ebx
leaq L_.str.5(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _die
LBB1_47:
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _die
LBB1_23:
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
leaq (%rax,%r15), %rsi
addq $164, %rsi
leaq (%rax,%r15), %rdx
addq $156, %rdx
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _scanf
cmpl $2, %eax
jne LBB1_45
## %bb.24:
movslq _count(%rip), %rax
leaq (%rax,%rax,4), %rax
shlq $5, %rax
movl $-1, 168(%rax,%r15)
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _die
LBB1_45:
movl _count(%rip), %esi
decl %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _die
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function die
_die: ## @die
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB2_2
## %bb.1:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB2_2:
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
leaq -32(%rbp), %rsi
callq _vprintf
movl $10, %edi
callq _putchar
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function produce
_produce: ## @produce
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r12d
movslq %edi, %rax
leaq (%rax,%rax,4), %rdi
shlq $5, %rdi
leaq _list(%rip), %rax
movq 16(%rdi,%rax), %rcx
movq %rsi, %r13
subq %rcx, %r13
jle LBB3_1
## %bb.2:
leaq _list(%rip), %rax
movslq 8(%rdi,%rax), %rsi
leaq (%rsi,%r13), %rax
decq %rax
movq %rax, %rdx
orq %rsi, %rdx
shrq $32, %rdx
je LBB3_3
## %bb.4:
cqto
idivq %rsi
movq %rax, %r15
jmp LBB3_5
LBB3_1:
xorl %r15d, %r15d
jmp LBB3_5
LBB3_3:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %esi
movl %eax, %r15d
LBB3_5:
movq %rdi, -48(%rbp) ## 8-byte Spill
leaq _list(%rip), %rax
leaq (%rax,%rdi), %rdx
leaq L_.str.17(%rip), %rdi
xorl %r14d, %r14d
movq %rbx, %rsi
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %r15, %r8
xorl %eax, %eax
callq _debug
testl %r12d, %r12d
jne LBB3_7
## %bb.6:
testq %r13, %r13
jg LBB3_21
LBB3_7:
movl %r12d, -60(%rbp) ## 4-byte Spill
movq %rbx, -80(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax ## 8-byte Reload
leaq _list(%rip), %rcx
cmpl $0, 24(%rax,%rcx)
movq -56(%rbp), %rbx ## 8-byte Reload
jle LBB3_19
## %bb.8:
movq -48(%rbp), %rax ## 8-byte Reload
leaq _list(%rip), %rcx
leaq (%rax,%rcx), %r13
addq $24, %r13
xorl %r12d, %r12d
movq %r15, -96(%rbp) ## 8-byte Spill
movq %r13, -88(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB3_10: ## =>This Loop Header: Depth=1
## Child Loop BB3_13 Depth 2
movq %r12, %rax
shlq $4, %rax
movl 40(%rax,%rbx), %r14d
testl %r14d, %r14d
jns LBB3_15
## %bb.11: ## in Loop: Header=BB3_10 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
addq %rax, %rbx
addq $28, %rbx
movl _count(%rip), %r13d
testl %r13d, %r13d
js LBB3_18
## %bb.12: ## in Loop: Header=BB3_10 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
addq %rcx, %rax
addq $40, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
incq %r13
leaq _list(%rip), %r15
xorl %r14d, %r14d
.p2align 4, 0x90
LBB3_13: ## Parent Loop BB3_10 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB3_14
## %bb.17: ## in Loop: Header=BB3_13 Depth=2
incq %r14
addq $160, %r15
cmpq %r14, %r13
jne LBB3_13
jmp LBB3_18
.p2align 4, 0x90
LBB3_14: ## in Loop: Header=BB3_10 Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
movl %r14d, (%rax)
movq -96(%rbp), %r15 ## 8-byte Reload
movq -56(%rbp), %rbx ## 8-byte Reload
movq -88(%rbp), %r13 ## 8-byte Reload
movq -72(%rbp), %rax ## 8-byte Reload
LBB3_15: ## in Loop: Header=BB3_10 Depth=1
movslq 36(%rax,%rbx), %rsi
imulq %r15, %rsi
movl %r14d, %edi
callq _produce
testb %al, %al
je LBB3_16
## %bb.9: ## in Loop: Header=BB3_10 Depth=1
incq %r12
movslq (%r13), %rax
cmpq %rax, %r12
jl LBB3_10
LBB3_19:
movq -48(%rbp), %rcx ## 8-byte Reload
leaq _list(%rip), %rdx
leaq (%rcx,%rdx), %rax
addq $16, %rax
movslq 8(%rcx,%rdx), %rcx
imulq %rcx, %r15
movq (%rax), %rcx
movq -80(%rbp), %rdx ## 8-byte Reload
subq %rdx, %rcx
addq %r15, %rcx
movq %rcx, (%rax)
movb $1, %r14b
movl -60(%rbp), %eax ## 4-byte Reload
cmpl %eax, _fuel_idx(%rip)
jne LBB3_21
## %bb.20:
addq %rdx, _produced(%rip)
jmp LBB3_21
LBB3_16:
xorl %r14d, %r14d
LBB3_21:
movl %r14d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_18:
leaq L_.str.18(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _die
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.2(%rip), %rdi
callq _perror
pushq $2
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 2 ## @do_debug
_do_debug:
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DEBUG"
.section __DATA,__data
.globl _list ## @list
.p2align 4
_list:
.asciz "ORE\000\000"
.space 2
.long 1 ## 0x1
.space 4
.quad 1000000000000 ## 0xe8d4a51000
.long 0 ## 0x0
.space 128
.space 4
.space 159840
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "failure"
.zerofill __DATA,__bss,_count,4,2 ## @count
L_.str.3: ## @.str.3
.asciz "recompile with larger LIMIT"
L_.str.4: ## @.str.4
.asciz " %d %5[A-Z]"
L_.str.5: ## @.str.5
.asciz "parse failure at line %d"
L_.str.6: ## @.str.6
.asciz "recompile with larger MAXIN"
L_.str.7: ## @.str.7
.asciz "=> %d %5[A-Z]\n"
L_.str.8: ## @.str.8
.asciz "FUEL"
.zerofill __DATA,__bss,_fuel_idx,4,2 ## @fuel_idx
L_.str.9: ## @.str.9
.asciz "parsed instructions for %d %s from %d inputs\n"
L_.str.10: ## @.str.10
.asciz "scanned %d formulas, fuel at line %d\n"
L_.str.11: ## @.str.11
.asciz "unable to produce 1 fuel"
L_.str.12: ## @.str.12
.asciz "1 fuel requires %lld ore\n"
L_.str.13: ## @.str.13
.asciz "producing %lld more...\n"
L_.str.14: ## @.str.14
.asciz "unexpected failure in bulk production"
L_.str.15: ## @.str.15
.asciz "at %lld, used up spares for 1 more...\n"
.zerofill __DATA,__bss,_produced,8,3 ## @produced
L_.str.16: ## @.str.16
.asciz "produced %lld total\n"
L_.str.17: ## @.str.17
.asciz "want %lld of %s, have %lld, needs %lld more batches\n"
L_.str.18: ## @.str.18
.asciz "missing rule for %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _debug ; -- Begin function debug
.p2align 2
_debug: ; @debug
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
adrp x20, _do_debug@PAGE
ldr w8, [x20, _do_debug@PAGEOFF]
tbnz w8, #31, LBB0_4
; %bb.1:
cbz w8, LBB0_3
LBB0_2:
add x8, x29, #16
str x8, [sp, #8]
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
add x2, x29, #16
mov x1, x19
bl _vfprintf
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_4:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _getenv
cmp x0, #0
cset w8, ne
str w8, [x20, _do_debug@PAGEOFF]
cbnz w8, LBB0_2
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cmp w0, #2
b.lt LBB1_2
; %bb.1:
ldr x0, [x1, #8]
Lloh5:
adrp x19, ___stdinp@GOTPAGE
Lloh6:
ldr x19, [x19, ___stdinp@GOTPAGEOFF]
ldr x2, [x19]
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
bl _freopen
str x0, [x19]
cbz x0, LBB1_45
LBB1_2:
bl _getchar
adrp x25, _count@PAGE
adrp x24, _fuel_idx@PAGE
cmn w0, #1
b.eq LBB1_33
; %bb.3:
mov w28, #160
Lloh9:
adrp x27, _list@PAGE
Lloh10:
add x27, x27, _list@PAGEOFF
Lloh11:
adrp x19, l_.str.4@PAGE
Lloh12:
add x19, x19, l_.str.4@PAGEOFF
mov w26, #-1
Lloh13:
adrp x22, l_.str.9@PAGE
Lloh14:
add x22, x22, l_.str.9@PAGEOFF
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_5 Depth=1
madd x8, x21, x28, x27
ldr w9, [x8, #8]
ldr w8, [x8, #24]
stp x23, x8, [sp, #8]
str x9, [sp]
mov x0, x22
bl _debug
bl _getchar
cmn w0, #1
b.eq LBB1_33
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x25, _count@PAGEOFF]
add w9, w8, #1
str w9, [x25, _count@PAGEOFF]
cmp w8, #999
b.ge LBB1_42
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
Lloh15:
adrp x8, ___stdinp@GOTPAGE
Lloh16:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh17:
ldr x1, [x8]
bl _ungetc
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #36
add x8, x8, #28
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.7: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #40]
bl _getchar
cmp w0, #32
b.ne LBB1_9
; %bb.8: ; in Loop: Header=BB1_5 Depth=1
mov w8, #1
b LBB1_30
LBB1_9: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #52
add x8, x8, #44
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.10: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #56]
bl _getchar
cmp w0, #32
b.ne LBB1_12
; %bb.11: ; in Loop: Header=BB1_5 Depth=1
mov w8, #2
b LBB1_30
LBB1_12: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #68
add x8, x8, #60
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.13: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #72]
bl _getchar
cmp w0, #32
b.ne LBB1_15
; %bb.14: ; in Loop: Header=BB1_5 Depth=1
mov w8, #3
b LBB1_30
LBB1_15: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #84
add x8, x8, #76
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.16: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #88]
bl _getchar
cmp w0, #32
b.ne LBB1_18
; %bb.17: ; in Loop: Header=BB1_5 Depth=1
mov w8, #4
b LBB1_30
LBB1_18: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #100
add x8, x8, #92
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.19: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #104]
bl _getchar
cmp w0, #32
b.ne LBB1_21
; %bb.20: ; in Loop: Header=BB1_5 Depth=1
mov w8, #5
b LBB1_30
LBB1_21: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #116
add x8, x8, #108
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.22: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #120]
bl _getchar
cmp w0, #32
b.ne LBB1_24
; %bb.23: ; in Loop: Header=BB1_5 Depth=1
mov w8, #6
b LBB1_30
LBB1_24: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #132
add x8, x8, #124
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.25: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #136]
bl _getchar
cmp w0, #32
b.ne LBB1_27
; %bb.26: ; in Loop: Header=BB1_5 Depth=1
mov w8, #7
b LBB1_30
LBB1_27: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
add x9, x8, #148
add x8, x8, #140
stp x9, x8, [sp]
mov x0, x19
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.28: ; in Loop: Header=BB1_5 Depth=1
ldrsw x8, [x25, _count@PAGEOFF]
madd x8, x8, x28, x27
str w26, [x8, #152]
bl _getchar
cmp w0, #32
b.ne LBB1_46
; %bb.29: ; in Loop: Header=BB1_5 Depth=1
mov w8, #8
LBB1_30: ; in Loop: Header=BB1_5 Depth=1
ldrsw x9, [x25, _count@PAGEOFF]
madd x9, x9, x28, x27
str w8, [x9, #24]
add x8, x9, #8
stp x8, x9, [sp]
Lloh18:
adrp x0, l_.str.7@PAGE
Lloh19:
add x0, x0, l_.str.7@PAGEOFF
bl _scanf
ldr w20, [x25, _count@PAGEOFF]
cmp w0, #2
b.ne LBB1_43
; %bb.31: ; in Loop: Header=BB1_5 Depth=1
sxtw x21, w20
madd x23, x21, x28, x27
mov x0, x23
Lloh20:
adrp x1, l_.str.8@PAGE
Lloh21:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
cbnz w0, LBB1_4
; %bb.32: ; in Loop: Header=BB1_5 Depth=1
str w20, [x24, _fuel_idx@PAGEOFF]
b LBB1_4
LBB1_33:
ldr w8, [x24, _fuel_idx@PAGEOFF]
sub w8, w8, #1
ldr w9, [x25, _count@PAGEOFF]
stp x9, x8, [sp]
Lloh22:
adrp x0, l_.str.10@PAGE
Lloh23:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w0, [x24, _fuel_idx@PAGEOFF]
mov w1, #1
bl _produce
tbz w0, #0, LBB1_44
; %bb.34:
adrp x20, _list@PAGE+16
ldr x8, [x20, _list@PAGEOFF+16]
mov x9, #4096
movk x9, #54437, lsl #16
movk x9, #232, lsl #32
sub x21, x9, x8
str x21, [sp]
Lloh24:
adrp x0, l_.str.12@PAGE
Lloh25:
add x0, x0, l_.str.12@PAGEOFF
bl _printf
Lloh26:
adrp x19, l_.str.13@PAGE
Lloh27:
add x19, x19, l_.str.13@PAGEOFF
LBB1_35: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, _list@PAGEOFF+16]
cmp x8, x21
b.le LBB1_38
; %bb.36: ; in Loop: Header=BB1_35 Depth=1
sdiv x8, x8, x21
str x8, [sp]
mov x0, x19
bl _printf
ldr w0, [x24, _fuel_idx@PAGEOFF]
ldr x8, [x20, _list@PAGEOFF+16]
sdiv x1, x8, x21
bl _produce
tbnz w0, #0, LBB1_35
; %bb.37:
Lloh28:
adrp x0, l_.str.14@PAGE
Lloh29:
add x0, x0, l_.str.14@PAGEOFF
bl _die
LBB1_38:
ldr w0, [x24, _fuel_idx@PAGEOFF]
mov w1, #1
bl _produce
cbz w0, LBB1_41
; %bb.39:
adrp x20, _produced@PAGE
Lloh30:
adrp x19, l_.str.15@PAGE
Lloh31:
add x19, x19, l_.str.15@PAGEOFF
LBB1_40: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, _produced@PAGEOFF]
str x8, [sp]
mov x0, x19
bl _printf
ldr w0, [x24, _fuel_idx@PAGEOFF]
mov w1, #1
bl _produce
tbnz w0, #0, LBB1_40
LBB1_41:
Lloh32:
adrp x8, _produced@PAGE
Lloh33:
ldr x8, [x8, _produced@PAGEOFF]
str x8, [sp]
Lloh34:
adrp x0, l_.str.16@PAGE
Lloh35:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB1_42:
Lloh36:
adrp x0, l_.str.3@PAGE
Lloh37:
add x0, x0, l_.str.3@PAGEOFF
bl _die
LBB1_43:
sub w8, w20, #1
b LBB1_49
LBB1_44:
Lloh38:
adrp x0, l_.str.11@PAGE
Lloh39:
add x0, x0, l_.str.11@PAGEOFF
bl _die
LBB1_45:
bl _main.cold.1
LBB1_46:
ldrsw x8, [x25, _count@PAGEOFF]
mov w9, #160
madd x8, x8, x9, x27
add x9, x8, #164
add x8, x8, #156
stp x9, x8, [sp]
Lloh40:
adrp x0, l_.str.4@PAGE
Lloh41:
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
cmp w0, #2
b.ne LBB1_48
; %bb.47:
ldrsw x8, [x25, _count@PAGEOFF]
mov w9, #160
madd x8, x8, x9, x27
mov w9, #-1
str w9, [x8, #168]
Lloh42:
adrp x0, l_.str.6@PAGE
Lloh43:
add x0, x0, l_.str.6@PAGEOFF
bl _die
LBB1_48:
ldr w8, [x25, _count@PAGEOFF]
sub w8, w8, #1
LBB1_49:
str x8, [sp]
Lloh44:
adrp x0, l_.str.5@PAGE
Lloh45:
add x0, x0, l_.str.5@PAGEOFF
bl _die
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdr Lloh32, Lloh33
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function die
_die: ; @die
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x8, x29, #16
str x8, [sp, #8]
add x1, x29, #16
bl _vprintf
mov w0, #10
bl _putchar
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function produce
_produce: ; @produce
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x21, x0
sxtw x28, w21
Lloh46:
adrp x23, _list@PAGE
Lloh47:
add x23, x23, _list@PAGEOFF
mov w8, #160
smaddl x22, w0, w8, x23
ldr x8, [x22, #16]!
sub x19, x1, x8
cmp x19, #1
b.lt LBB3_2
; %bb.1:
mov w9, #160
madd x9, x28, x9, x23
ldrsw x9, [x9, #8]
add x10, x19, x9
sub x10, x10, #1
sdiv x26, x10, x9
b LBB3_3
LBB3_2:
mov x26, #0
LBB3_3:
mov w9, #160
madd x9, x28, x9, x23
stp x8, x26, [sp, #16]
stp x20, x9, [sp]
Lloh48:
adrp x0, l_.str.17@PAGE
Lloh49:
add x0, x0, l_.str.17@PAGEOFF
bl _debug
cbnz w21, LBB3_6
; %bb.4:
cmp x19, #0
b.le LBB3_6
LBB3_5:
mov w0, #0
b LBB3_19
LBB3_6:
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
str x20, [sp, #48] ; 8-byte Folded Spill
mov w8, #160
madd x22, x28, x8, x23
ldr w8, [x22, #24]!
cmp w8, #1
b.lt LBB3_16
; %bb.7:
mov x19, #0
mov w20, #160
madd x25, x28, x20, x23
str x22, [sp, #56] ; 8-byte Folded Spill
LBB3_8: ; =>This Loop Header: Depth=1
; Child Loop BB3_11 Depth 2
add x24, x25, x19, lsl #4
ldr w21, [x24, #40]!
tbz w21, #31, LBB3_14
; %bb.9: ; in Loop: Header=BB3_8 Depth=1
sub x22, x24, #12
Lloh50:
adrp x8, _count@PAGE
Lloh51:
ldr w8, [x8, _count@PAGEOFF]
tbnz w8, #31, LBB3_20
; %bb.10: ; in Loop: Header=BB3_8 Depth=1
mov x20, x26
mov x27, x23
mov x21, #0
add x26, x8, #1
LBB3_11: ; Parent Loop BB3_8 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x23
mov x1, x22
bl _strcmp
cbz w0, LBB3_13
; %bb.12: ; in Loop: Header=BB3_11 Depth=2
add x21, x21, #1
add x23, x23, #160
cmp x26, x21
b.ne LBB3_11
b LBB3_20
LBB3_13: ; in Loop: Header=BB3_8 Depth=1
str w21, [x24]
mov x23, x27
mov x26, x20
mov w20, #160
ldr x22, [sp, #56] ; 8-byte Folded Reload
LBB3_14: ; in Loop: Header=BB3_8 Depth=1
madd x8, x28, x20, x23
add x8, x8, x19, lsl #4
ldrsw x8, [x8, #36]
mul x1, x26, x8
mov x0, x21
bl _produce
tbz w0, #0, LBB3_5
; %bb.15: ; in Loop: Header=BB3_8 Depth=1
add x19, x19, #1
ldrsw x8, [x22]
cmp x19, x8
b.lt LBB3_8
LBB3_16:
mov w8, #160
madd x8, x28, x8, x23
ldrsw x8, [x8, #8]
ldr x11, [sp, #32] ; 8-byte Folded Reload
ldr x9, [x11]
ldr x10, [sp, #48] ; 8-byte Folded Reload
sub x9, x9, x10
madd x8, x26, x8, x9
str x8, [x11]
Lloh52:
adrp x8, _fuel_idx@PAGE
Lloh53:
ldr w8, [x8, _fuel_idx@PAGEOFF]
ldr x9, [sp, #40] ; 8-byte Folded Reload
cmp w8, w9
b.ne LBB3_18
; %bb.17:
adrp x8, _produced@PAGE
ldr x9, [x8, _produced@PAGEOFF]
add x9, x9, x10
str x9, [x8, _produced@PAGEOFF]
LBB3_18:
mov w0, #1
LBB3_19:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB3_20:
str x22, [sp]
Lloh54:
adrp x0, l_.str.18@PAGE
Lloh55:
add x0, x0, l_.str.18@PAGEOFF
bl _die
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdr Lloh50, Lloh51
.loh AdrpLdr Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh56:
adrp x0, l_.str.2@PAGE
Lloh57:
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #2
bl _exit
.loh AdrpAdd Lloh56, Lloh57
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @do_debug
_do_debug:
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DEBUG"
.section __DATA,__data
.globl _list ; @list
.p2align 3
_list:
.asciz "ORE\000\000"
.space 2
.long 1 ; 0x1
.space 4
.quad 1000000000000 ; 0xe8d4a51000
.long 0 ; 0x0
.space 128
.space 4
.space 159840
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "failure"
.zerofill __DATA,__bss,_count,4,2 ; @count
l_.str.3: ; @.str.3
.asciz "recompile with larger LIMIT"
l_.str.4: ; @.str.4
.asciz " %d %5[A-Z]"
l_.str.5: ; @.str.5
.asciz "parse failure at line %d"
l_.str.6: ; @.str.6
.asciz "recompile with larger MAXIN"
l_.str.7: ; @.str.7
.asciz "=> %d %5[A-Z]\n"
l_.str.8: ; @.str.8
.asciz "FUEL"
.zerofill __DATA,__bss,_fuel_idx,4,2 ; @fuel_idx
l_.str.9: ; @.str.9
.asciz "parsed instructions for %d %s from %d inputs\n"
l_.str.10: ; @.str.10
.asciz "scanned %d formulas, fuel at line %d\n"
l_.str.11: ; @.str.11
.asciz "unable to produce 1 fuel"
l_.str.12: ; @.str.12
.asciz "1 fuel requires %lld ore\n"
l_.str.13: ; @.str.13
.asciz "producing %lld more...\n"
l_.str.14: ; @.str.14
.asciz "unexpected failure in bulk production"
l_.str.15: ; @.str.15
.asciz "at %lld, used up spares for 1 more...\n"
.zerofill __DATA,__bss,_produced,8,3 ; @produced
l_.str.16: ; @.str.16
.asciz "produced %lld total\n"
l_.str.17: ; @.str.17
.asciz "want %lld of %s, have %lld, needs %lld more batches\n"
l_.str.18: ; @.str.18
.asciz "missing rule for %s"
.subsections_via_symbols
| the_stack_data/68887490.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %r14
xorl %r15d, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
leal -65(%rbx), %eax
leal 536870912(%r15), %edx
cmpl $26, %eax
cmovael %r15d, %edx
sarl $24, %edx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
incl %ebx
addl $16777216, %r15d ## imm = 0x1000000
cmpl $120, %ebx
jne LBB0_1
## %bb.2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lower ## -- Begin function lower
.p2align 4, 0x90
_lower: ## @lower
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal -65(%rdi), %ecx
leal 32(%rdi), %eax
cmpl $26, %ecx
cmovael %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c: %c\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w20, #0
mov w21, #0
mov w22, #536870912
mov w23, #16777216
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
sub w8, w21, #65
add w9, w20, w22
cmp w8, #26
csel w8, w9, w20, lo
asr w8, w8, #24
stp x21, x8, [sp]
mov x0, x19
bl _printf
add w21, w21, #1
add w20, w20, w23
cmp w21, #120
b.ne LBB0_1
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _lower ; -- Begin function lower
.p2align 2
_lower: ; @lower
.cfi_startproc
; %bb.0:
sub w8, w0, #65
add w9, w0, #32
cmp w8, #26
csel w0, w9, w0, lo
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c: %c\n"
.subsections_via_symbols
| the_stack_data/173579483.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _can_init ## -- Begin function can_init
.p2align 4, 0x90
_can_init: ## @can_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _can_init ; -- Begin function can_init
.p2align 2
_can_init: ; @can_init
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/18887159.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_para ## -- Begin function print_para
.p2align 4, 0x90
_print_para: ## @print_para
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movl _print_para.i(%rip), %ecx
testl %ecx, %ecx
je LBB0_2
## %bb.1:
movl _print_para.j(%rip), %eax
addl %ecx, %eax
decl %eax
cltq
movb %sil, (%r15,%rax)
LBB0_2:
movq _len@GOTPCREL(%rip), %r14
movl (%r14), %eax
cmpl %eax, %ecx
jge LBB0_3
## %bb.11:
movl _print_para.j(%rip), %eax
cmpl %ecx, %eax
jge LBB0_12
## %bb.10:
incl %eax
movl %eax, _print_para.j(%rip)
movq %r15, %rdi
movl $125, %esi
callq _print_para
decl _print_para.j(%rip)
incl _print_para.i(%rip)
jmp LBB0_13
LBB0_3:
testl %eax, %eax
jle LBB0_6
## %bb.4:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movsbl (%r15,%rbx), %edi
callq _putchar
incq %rbx
movslq (%r14), %rax
leaq (%rax,%rax), %rcx
cmpq %rcx, %rbx
jl LBB0_5
LBB0_6:
movl _print_para.j(%rip), %ebx
cmpl %eax, %ebx
je LBB0_9
## %bb.7:
addl _print_para.i(%rip), %ebx
addl %eax, %eax
cmpl %eax, %ebx
jge LBB0_9
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl $125, %edi
callq _putchar
incl %ebx
movl (%r14), %eax
addl %eax, %eax
cmpl %eax, %ebx
jl LBB0_8
LBB0_9:
leaq L_str(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
LBB0_12:
incl %ecx
movl %ecx, _print_para.i(%rip)
LBB0_13:
movq %r15, %rdi
movl $123, %esi
callq _print_para
decl _print_para.i(%rip)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.3(%rip), %rdi
movq _len@GOTPCREL(%rip), %rsi
xorl %eax, %eax
callq _scanf
movq _arr@GOTPCREL(%rip), %rdi
movl $123, %esi
callq _print_para
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_print_para.i,4,2 ## @print_para.i
.zerofill __DATA,__bss,_print_para.j,4,2 ## @print_para.j
.comm _len,4,2 ## @len
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "%d"
.comm _arr,40,4 ## @arr
L_str: ## @str
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_para ; -- Begin function print_para
.p2align 2
_print_para: ; @print_para
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
adrp x20, _print_para.i@PAGE
ldr w9, [x20, _print_para.i@PAGEOFF]
adrp x22, _print_para.j@PAGE
cbz w9, LBB0_2
; %bb.1:
ldr w8, [x22, _print_para.j@PAGEOFF]
add w8, w9, w8
sub w8, w8, #1
strb w1, [x19, w8, sxtw]
LBB0_2:
Lloh0:
adrp x21, _len@GOTPAGE
Lloh1:
ldr x21, [x21, _len@GOTPAGEOFF]
ldr w8, [x21]
cmp w9, w8
b.ge LBB0_5
; %bb.3:
ldr w8, [x22, _print_para.j@PAGEOFF]
cmp w8, w9
b.ge LBB0_12
; %bb.4:
add w8, w8, #1
str w8, [x22, _print_para.j@PAGEOFF]
mov x0, x19
mov w1, #125
bl _print_para
ldr w8, [x22, _print_para.j@PAGEOFF]
sub w8, w8, #1
str w8, [x22, _print_para.j@PAGEOFF]
ldr w8, [x20, _print_para.i@PAGEOFF]
add w8, w8, #1
b LBB0_13
LBB0_5:
cmp w8, #1
b.lt LBB0_8
; %bb.6:
mov x23, #0
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x19, x23]
bl _putchar
add x23, x23, #1
ldrsw x8, [x21]
cmp x23, x8, lsl #1
b.lt LBB0_7
LBB0_8:
ldr w9, [x22, _print_para.j@PAGEOFF]
cmp w9, w8
b.eq LBB0_11
; %bb.9:
ldr w10, [x20, _print_para.i@PAGEOFF]
add w19, w10, w9
cmp w19, w8, lsl #1
b.ge LBB0_11
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov w0, #125
bl _putchar
add w19, w19, #1
ldr w8, [x21]
cmp w19, w8, lsl #1
b.lt LBB0_10
LBB0_11:
Lloh2:
adrp x0, l_str@PAGE
Lloh3:
add x0, x0, l_str@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _puts
LBB0_12:
add w8, w9, #1
LBB0_13:
str w8, [x20, _print_para.i@PAGEOFF]
mov x0, x19
mov w1, #123
bl _print_para
ldr w8, [x20, _print_para.i@PAGEOFF]
sub w8, w8, #1
str w8, [x20, _print_para.i@PAGEOFF]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh4:
adrp x8, _len@GOTPAGE
Lloh5:
ldr x8, [x8, _len@GOTPAGEOFF]
str x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
Lloh8:
adrp x0, _arr@GOTPAGE
Lloh9:
ldr x0, [x0, _arr@GOTPAGEOFF]
mov w1, #123
bl _print_para
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_print_para.i,4,2 ; @print_para.i
.zerofill __DATA,__bss,_print_para.j,4,2 ; @print_para.j
.comm _len,4,2 ; @len
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "%d"
.comm _arr,40,0 ; @arr
l_str: ; @str
.asciz " "
.subsections_via_symbols
| the_stack_data/218892909.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function clk_busy_mux_set_parent
_clk_busy_mux_set_parent: ## @clk_busy_mux_set_parent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
callq _to_clk_busy_mux
movq %rax, %rbx
movq 16(%rax), %rax
leaq 8(%rbx), %rdi
movl %r14d, %esi
callq *(%rax)
testl %eax, %eax
je LBB0_2
## %bb.1:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
movl (%rbx), %esi
movl 4(%rbx), %edi
popq %rbx
popq %r14
popq %rbp
jmp _clk_busy_wait ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _clk_busy_mux_set_parent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function clk_busy_mux_set_parent
_clk_busy_mux_set_parent: ; @clk_busy_mux_set_parent
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
bl _to_clk_busy_mux
mov x19, x0
ldr x8, [x0, #16]
ldr x8, [x8]
add x0, x0, #8
mov x1, x20
blr x8
cbz w0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
ldp w1, w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _clk_busy_wait
.cfi_endproc
; -- End function
.no_dead_strip _clk_busy_mux_set_parent
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/imx/extr_clk-busy.c_clk_busy_mux_set_parent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_xsurf100_network_irq
_is_xsurf100_network_irq: ## @is_xsurf100_network_irq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _dev_get_platdata
movq _XS100_IRQSTATUS_BASE@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
addq (%rax), %rdi
callq _readw
xorl %ecx, %ecx
testl $43690, %eax ## imm = 0xAAAA
setne %cl
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XS100_IRQSTATUS_BASE,8,3 ## @XS100_IRQSTATUS_BASE
.no_dead_strip _is_xsurf100_network_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_xsurf100_network_irq
_is_xsurf100_network_irq: ; @is_xsurf100_network_irq
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _dev_get_platdata
ldr x8, [x0]
Lloh0:
adrp x9, _XS100_IRQSTATUS_BASE@GOTPAGE
Lloh1:
ldr x9, [x9, _XS100_IRQSTATUS_BASE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x0, x9, x8
bl _readw
mov w8, #43690
tst w0, w8
cset w0, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _XS100_IRQSTATUS_BASE,8,3 ; @XS100_IRQSTATUS_BASE
.no_dead_strip _is_xsurf100_network_irq
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/8390/extr_xsurf100.c_is_xsurf100_network_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __af4list_valid
___af4list_valid: ## @__af4list_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq ___af4list_entry
cmpq %r14, %rbx
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, (%rax)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rbx
movq %rbx, %rdi
jmp LBB0_1
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip ___af4list_valid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __af4list_valid
___af4list_valid: ; @__af4list_valid
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl ___af4list_entry
cmp x20, x19
b.eq LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x0]
cbnz w8, LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x20, [x20]
mov x0, x20
b LBB0_1
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip ___af4list_valid
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/netlabel/extr_netlabel_addrlist.h___af4list_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _btracker_destroy ## -- Begin function btracker_destroy
.p2align 4, 0x90
_btracker_destroy: ## @btracker_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _kmem_cache_destroy
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _btracker_destroy ; -- Begin function btracker_destroy
.p2align 2
_btracker_destroy: ; @btracker_destroy
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _kmem_cache_destroy
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/md/extr_dm-cache-background-tracker.c_btracker_destroy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function TREEVIEW_RemoveAllChildren
_TREEVIEW_RemoveAllChildren: ## @TREEVIEW_RemoveAllChildren
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq 16(%rsi), %rsi
testq %rsi, %rsi
je LBB0_3
## %bb.1:
movq %rdi, %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 24(%rsi), %rbx
movq %r15, %rdi
callq _TREEVIEW_RemoveItem
movq %rbx, %rsi
testq %rbx, %rbx
jne LBB0_2
LBB0_3:
xorl %edi, %edi
cmpq $0, (%r14)
setle %dil
callq _assert
xorl %edi, %edi
cmpq $0, 16(%r14)
sete %dil
callq _assert
xorl %edi, %edi
cmpq $0, 8(%r14)
sete %dil
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _assert ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _TREEVIEW_RemoveAllChildren
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function TREEVIEW_RemoveAllChildren
_TREEVIEW_RemoveAllChildren: ; @TREEVIEW_RemoveAllChildren
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
ldr x1, [x1, #16]
cbz x1, LBB0_3
; %bb.1:
mov x20, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x21, [x1, #24]
mov x0, x20
bl _TREEVIEW_RemoveItem
mov x1, x21
cbnz x21, LBB0_2
LBB0_3:
ldr x8, [x19]
cmp x8, #1
cset w0, lt
bl _assert
ldr x8, [x19, #16]
cmp x8, #0
cset w0, eq
bl _assert
ldr x8, [x19, #8]
cmp x8, #0
cset w0, eq
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _assert
.cfi_endproc
; -- End function
.no_dead_strip _TREEVIEW_RemoveAllChildren
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/comctl32/extr_treeview.c_TREEVIEW_RemoveAllChildren.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sh_eth_parse_dt
_sh_eth_parse_dt: ## @sh_eth_parse_dt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sh_eth_parse_dt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sh_eth_parse_dt
_sh_eth_parse_dt: ; @sh_eth_parse_dt
.cfi_startproc
; %bb.0:
mov x0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _sh_eth_parse_dt
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_parse_dt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mpsc_set_mctrl
_mpsc_set_mctrl: ## @mpsc_set_mctrl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mpsc_set_mctrl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mpsc_set_mctrl
_mpsc_set_mctrl: ; @mpsc_set_mctrl
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _mpsc_set_mctrl
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/serial/extr_mpsc.c_mpsc_set_mctrl.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.