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 _fz_page_presentation ## -- Begin function fz_page_presentation
.p2align 4, 0x90
_fz_page_presentation: ## @fz_page_presentation
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
testq %rcx, %rcx
je LBB0_4
## %bb.1:
movl $0, (%rcx)
testq %rsi, %rsi
jne LBB0_2
jmp LBB0_6
LBB0_4:
leaq -4(%rbp), %rcx
testq %rsi, %rsi
je LBB0_6
LBB0_2:
movq (%rsi), %rax
testq %rax, %rax
je LBB0_6
## %bb.3:
callq *%rax
jmp LBB0_7
LBB0_6:
xorl %eax, %eax
LBB0_7:
addq $16, %rsp
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 _fz_page_presentation ; -- Begin function fz_page_presentation
.p2align 2
_fz_page_presentation: ; @fz_page_presentation
.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
cbz x3, LBB0_2
; %bb.1:
str wzr, [x3]
cbnz x1, LBB0_3
b LBB0_5
LBB0_2:
sub x3, x29, #4
cbz x1, LBB0_5
LBB0_3:
ldr x8, [x1]
cbz x8, LBB0_5
; %bb.4:
blr x8
b LBB0_6
LBB0_5:
mov x0, #0
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_page_presentation.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.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 %esi, %r14d
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
callq __
movq _program_name@GOTPCREL(%rip), %r15
movq (%r15), %rdx
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _fprintf
leaq L_.str.1(%rip), %rdi
callq __
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _fprintf
leaq L_.str.2(%rip), %rdi
callq __
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq %rbx, %rsi
callq _list_supported_targets
testl %r14d, %r14d
jne LBB0_3
## %bb.1:
movq _REPORT_BUGS_TO@GOTPCREL(%rip), %r15
movq (%r15), %rax
cmpb $0, (%rax)
je LBB0_3
## %bb.2:
leaq L_.str.3(%rip), %rdi
callq __
movq (%r15), %rdx
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _fprintf
LBB0_3:
movl %r14d, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s [option(s)] [file(s)]\n"
.comm _program_name,8,3 ## @program_name
L_.str.1: ## @.str.1
.asciz " Display printable strings in [file(s)] (stdin by default)\n"
L_.str.2: ## @.str.2
.asciz " The options are:\n -a - --all Scan the entire file, not just the data section\n -f --print-file-name Print the name of the file before each string\n -n --bytes=[number] Locate & print any NUL-terminated sequence of at\n -<number> least [number] characters (default 4).\n -t --radix={o,d,x} Print the location of the string in base 8, 10 or 16\n -o An alias for --radix=o\n -T --target=<BFDNAME> Specify the binary file format\n -e --encoding={s,S,b,l,B,L} Select character size and endianness:\n s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit\n @<file> Read options from <file>\n -h --help Display this information\n -v --version Print the program's version number\n"
.comm _REPORT_BUGS_TO,8,3 ## @REPORT_BUGS_TO
L_.str.3: ## @.str.3
.asciz "Report bugs to %s\n"
.no_dead_strip _usage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.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, x1
mov x20, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl __
mov x1, x0
Lloh2:
adrp x21, _program_name@GOTPAGE
Lloh3:
ldr x21, [x21, _program_name@GOTPAGEOFF]
ldr x8, [x21]
str x8, [sp]
mov x0, x20
bl _fprintf
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl __
mov x1, x0
mov x0, x20
bl _fprintf
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl __
mov x1, x0
mov x0, x20
bl _fprintf
ldr x0, [x21]
mov x1, x20
bl _list_supported_targets
cbnz w19, LBB0_3
; %bb.1:
Lloh8:
adrp x21, _REPORT_BUGS_TO@GOTPAGE
Lloh9:
ldr x21, [x21, _REPORT_BUGS_TO@GOTPAGEOFF]
ldr x8, [x21]
ldrb w8, [x8]
cbz w8, LBB0_3
; %bb.2:
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
bl __
mov x1, x0
ldr x8, [x21]
str x8, [sp]
mov x0, x20
bl _fprintf
LBB0_3:
mov x0, x19
bl _exit
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s [option(s)] [file(s)]\n"
.comm _program_name,8,3 ; @program_name
l_.str.1: ; @.str.1
.asciz " Display printable strings in [file(s)] (stdin by default)\n"
l_.str.2: ; @.str.2
.asciz " The options are:\n -a - --all Scan the entire file, not just the data section\n -f --print-file-name Print the name of the file before each string\n -n --bytes=[number] Locate & print any NUL-terminated sequence of at\n -<number> least [number] characters (default 4).\n -t --radix={o,d,x} Print the location of the string in base 8, 10 or 16\n -o An alias for --radix=o\n -T --target=<BFDNAME> Specify the binary file format\n -e --encoding={s,S,b,l,B,L} Select character size and endianness:\n s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit\n @<file> Read options from <file>\n -h --help Display this information\n -v --version Print the program's version number\n"
.comm _REPORT_BUGS_TO,8,3 ; @REPORT_BUGS_TO
l_.str.3: ; @.str.3
.asciz "Report bugs to %s\n"
.no_dead_strip _usage
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/binutils/extr_strings.c_usage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lm73_probe
_lm73_probe: ## @lm73_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
leaq 4(%rdi), %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movl $16, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %r15, 8(%rax)
movq %rax, %rdi
addq $4, %rdi
callq _mutex_init
movq _LM73_REG_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _i2c_smbus_read_byte_data
testl %eax, %eax
js LBB0_5
## %bb.3:
movl %eax, (%rbx)
movl (%r15), %esi
movq _lm73_groups@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movq %rbx, %rdx
callq _devm_hwmon_device_register_with_groups
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_4
## %bb.6:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_5
LBB0_4:
movl (%r15), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _dev_info
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _LM73_REG_CTRL,4,2 ## @LM73_REG_CTRL
.comm _lm73_groups,4,2 ## @lm73_groups
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sensor '%s'\n"
.no_dead_strip _lm73_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lm73_probe
_lm73_probe: ; @lm73_probe
.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
add x19, x0, #4
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x19
mov w1, #16
bl _devm_kzalloc
cbz x0, LBB0_4
; %bb.1:
mov x21, x0
str x20, [x0, #8]
add x0, x0, #4
bl _mutex_init
Lloh3:
adrp x8, _LM73_REG_CTRL@GOTPAGE
Lloh4:
ldr x8, [x8, _LM73_REG_CTRL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _i2c_smbus_read_byte_data
tbnz w0, #31, LBB0_6
; %bb.2:
str w0, [x21]
ldr w1, [x20]
Lloh6:
adrp x8, _lm73_groups@GOTPAGE
Lloh7:
ldr x8, [x8, _lm73_groups@GOTPAGEOFF]
Lloh8:
ldr w3, [x8]
mov x0, x19
mov x2, x21
bl _devm_hwmon_device_register_with_groups
mov x21, x0
bl _IS_ERR
cbz x0, LBB0_5
; %bb.3:
mov x0, x21
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 _PTR_ERR
LBB0_4:
Lloh9:
adrp x8, _ENOMEM@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
neg w0, w8
b LBB0_6
LBB0_5:
ldr w2, [x20]
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _dev_info
mov w0, #0
LBB0_6:
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
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _LM73_REG_CTRL,4,2 ; @LM73_REG_CTRL
.comm _lm73_groups,4,2 ; @lm73_groups
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sensor '%s'\n"
.no_dead_strip _lm73_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_lm73.c_lm73_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_misc_decoding
_do_misc_decoding: ## @do_misc_decoding
.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 8(%rdi), %rax
movl (%rax), %eax
addl $-128, %eax
cmpl $16, %eax
ja LBB0_1
## %bb.2:
movq %rdi, %rbx
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_4:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _decode_asimd_fcvt ## TAILCALL
LBB0_17:
movq _FLD_SVE_Pm@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
xorl %edx, %edx
callq _extract_field
movl %eax, %r15d
jmp LBB0_18
LBB0_6:
movq _FLD_SVE_Pn@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
xorl %r14d, %r14d
xorl %edx, %edx
callq _extract_field
movl %eax, %r15d
movq _FLD_SVE_Pm@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
xorl %edx, %edx
callq _extract_field
cmpl %eax, %r15d
jne LBB0_21
LBB0_18:
movq _FLD_SVE_Pg4_10@GOTPCREL(%rip), %rax
jmp LBB0_19
LBB0_16:
movq _FLD_SVE_Pn@GOTPCREL(%rip), %rax
jmp LBB0_15
LBB0_12:
movl (%rbx), %edi
movq _FLD_SVE_tszh@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FLD_imm5@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %r14d, %r14d
xorl %esi, %esi
movl $2, %edx
callq _extract_fields
## kill: def $eax killed $eax def $rax
testl %eax, %eax
je LBB0_21
## %bb.13:
leal -1(%rax), %ecx
xorl %r14d, %r14d
testl %ecx, %eax
setne %r14b
jmp LBB0_21
LBB0_11:
movq _FLD_SVE_Zn@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_7:
movq _FLD_SVE_Zd@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %edi
movl (%rbx), %esi
xorl %edx, %edx
callq _extract_field
movl %eax, %r15d
movq _FLD_SVE_Zm_16@GOTPCREL(%rip), %rax
jmp LBB0_19
LBB0_14:
movq _FLD_SVE_Pd@GOTPCREL(%rip), %rax
LBB0_15:
movl (%rax), %edi
movl (%rbx), %esi
xorl %edx, %edx
callq _extract_field
movl %eax, %r15d
movq _FLD_SVE_Pm@GOTPCREL(%rip), %rax
LBB0_19:
movl (%rax), %edi
movl (%rbx), %esi
xorl %edx, %edx
callq _extract_field
xorl %r14d, %r14d
cmpl %eax, %r15d
LBB0_20:
sete %r14b
LBB0_21:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _decode_asisd_fcvtxn ## TAILCALL
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _decode_fcvt ## TAILCALL
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_21
LBB0_9:
movl (%rbx), %edi
movq _FLD_SVE_tszh@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _FLD_imm5@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %r14d, %r14d
xorl %esi, %esi
movl $2, %edx
callq _extract_fields
## kill: def $eax killed $eax def $rax
leal -1(%rax), %ecx
cmpl $15, %ecx
ja LBB0_21
## %bb.10:
xorl %r14d, %r14d
testl %ecx, %eax
jmp LBB0_20
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
.long L0_0_set_17
.long L0_0_set_17
.long L0_0_set_12
.long L0_0_set_11
.long L0_0_set_9
.long L0_0_set_7
.long L0_0_set_6
.long L0_0_set_16
.long L0_0_set_16
.long L0_0_set_6
.long L0_0_set_14
.long L0_0_set_5
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_3
.end_data_region
## -- End function
.comm _FLD_SVE_Pn,4,2 ## @FLD_SVE_Pn
.comm _FLD_SVE_Pm,4,2 ## @FLD_SVE_Pm
.comm _FLD_SVE_Pg4_10,4,2 ## @FLD_SVE_Pg4_10
.comm _FLD_SVE_Zd,4,2 ## @FLD_SVE_Zd
.comm _FLD_SVE_Zm_16,4,2 ## @FLD_SVE_Zm_16
.comm _FLD_SVE_tszh,4,2 ## @FLD_SVE_tszh
.comm _FLD_imm5,4,2 ## @FLD_imm5
.comm _FLD_SVE_Zn,4,2 ## @FLD_SVE_Zn
.comm _FLD_SVE_Pd,4,2 ## @FLD_SVE_Pd
.no_dead_strip _do_misc_decoding
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_misc_decoding
_do_misc_decoding: ; @do_misc_decoding
.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, #8]
ldr w8, [x8]
sub w8, w8, #128
cmp w8, #16
b.hi LBB0_19
; %bb.1:
mov x19, x0
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _decode_asimd_fcvt
LBB0_3:
Lloh2:
adrp x8, _FLD_SVE_Pm@GOTPAGE
Lloh3:
ldr x8, [x8, _FLD_SVE_Pm@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldr w1, [x19]
mov w2, #0
bl _extract_field
mov x20, x0
b LBB0_5
LBB0_4:
Lloh5:
adrp x8, _FLD_SVE_Pn@GOTPAGE
Lloh6:
ldr x8, [x8, _FLD_SVE_Pn@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr w1, [x19]
mov w2, #0
bl _extract_field
mov x20, x0
Lloh8:
adrp x8, _FLD_SVE_Pm@GOTPAGE
Lloh9:
ldr x8, [x8, _FLD_SVE_Pm@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ldr w1, [x19]
mov w2, #0
bl _extract_field
mov x8, x0
mov w0, #0
cmp w20, w8
b.ne LBB0_16
LBB0_5:
Lloh11:
adrp x8, _FLD_SVE_Pg4_10@GOTPAGE
Lloh12:
ldr x8, [x8, _FLD_SVE_Pg4_10@GOTPAGEOFF]
b LBB0_14
LBB0_6:
Lloh13:
adrp x8, _FLD_SVE_Pn@GOTPAGE
Lloh14:
ldr x8, [x8, _FLD_SVE_Pn@GOTPAGEOFF]
b LBB0_13
LBB0_7:
ldr w0, [x19]
Lloh15:
adrp x8, _FLD_SVE_tszh@GOTPAGE
Lloh16:
ldr x8, [x8, _FLD_SVE_tszh@GOTPAGEOFF]
Lloh17:
ldr w3, [x8]
Lloh18:
adrp x8, _FLD_imm5@GOTPAGE
Lloh19:
ldr x8, [x8, _FLD_imm5@GOTPAGEOFF]
Lloh20:
ldr w4, [x8]
mov w1, #0
mov w2, #2
bl _extract_fields
cbz w0, LBB0_16
; %bb.8:
sub w8, w0, #1
tst w0, w8
cset w0, ne
b LBB0_16
LBB0_9:
Lloh21:
adrp x8, _FLD_SVE_Zn@GOTPAGE
Lloh22:
ldr x8, [x8, _FLD_SVE_Zn@GOTPAGEOFF]
b LBB0_11
LBB0_10:
Lloh23:
adrp x8, _FLD_SVE_Zd@GOTPAGE
Lloh24:
ldr x8, [x8, _FLD_SVE_Zd@GOTPAGEOFF]
LBB0_11:
ldr w0, [x8]
ldr w1, [x19]
mov w2, #0
bl _extract_field
mov x20, x0
Lloh25:
adrp x8, _FLD_SVE_Zm_16@GOTPAGE
Lloh26:
ldr x8, [x8, _FLD_SVE_Zm_16@GOTPAGEOFF]
b LBB0_14
LBB0_12:
Lloh27:
adrp x8, _FLD_SVE_Pd@GOTPAGE
Lloh28:
ldr x8, [x8, _FLD_SVE_Pd@GOTPAGEOFF]
LBB0_13:
ldr w0, [x8]
ldr w1, [x19]
mov w2, #0
bl _extract_field
mov x20, x0
Lloh29:
adrp x8, _FLD_SVE_Pm@GOTPAGE
Lloh30:
ldr x8, [x8, _FLD_SVE_Pm@GOTPAGEOFF]
LBB0_14:
ldr w0, [x8]
ldr w1, [x19]
mov w2, #0
bl _extract_field
cmp w20, w0
LBB0_15:
cset w0, eq
LBB0_16:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_17:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _decode_asisd_fcvtxn
LBB0_18:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _decode_fcvt
LBB0_19:
mov w0, #0
b LBB0_16
LBB0_20:
ldr w0, [x19]
Lloh31:
adrp x8, _FLD_SVE_tszh@GOTPAGE
Lloh32:
ldr x8, [x8, _FLD_SVE_tszh@GOTPAGEOFF]
Lloh33:
ldr w3, [x8]
Lloh34:
adrp x8, _FLD_imm5@GOTPAGE
Lloh35:
ldr x8, [x8, _FLD_imm5@GOTPAGEOFF]
Lloh36:
ldr w4, [x8]
mov w1, #0
mov w2, #2
bl _extract_fields
mov x8, x0
mov w0, #0
sub w9, w8, #1
cmp w9, #15
b.hi LBB0_16
; %bb.21:
tst w8, w9
b LBB0_15
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_20-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_17-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_18-LBB0_2)>>2
; -- End function
.comm _FLD_SVE_Pn,4,2 ; @FLD_SVE_Pn
.comm _FLD_SVE_Pm,4,2 ; @FLD_SVE_Pm
.comm _FLD_SVE_Pg4_10,4,2 ; @FLD_SVE_Pg4_10
.comm _FLD_SVE_Zd,4,2 ; @FLD_SVE_Zd
.comm _FLD_SVE_Zm_16,4,2 ; @FLD_SVE_Zm_16
.comm _FLD_SVE_tszh,4,2 ; @FLD_SVE_tszh
.comm _FLD_imm5,4,2 ; @FLD_imm5
.comm _FLD_SVE_Zn,4,2 ; @FLD_SVE_Zn
.comm _FLD_SVE_Pd,4,2 ; @FLD_SVE_Pd
.no_dead_strip _do_misc_decoding
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-dis.c_do_misc_decoding.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocfs2_lock_res_dl
_ocfs2_lock_res_dl: ## @ocfs2_lock_res_dl
.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 (%rdi), %rax
movq _OCFS2_LOCK_TYPE_DENTRY@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setne %dil
callq _BUG_ON
movq 8(%rbx), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OCFS2_LOCK_TYPE_DENTRY,8,3 ## @OCFS2_LOCK_TYPE_DENTRY
.no_dead_strip _ocfs2_lock_res_dl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocfs2_lock_res_dl
_ocfs2_lock_res_dl: ; @ocfs2_lock_res_dl
.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 x8, [x0]
Lloh0:
adrp x9, _OCFS2_LOCK_TYPE_DENTRY@GOTPAGE
Lloh1:
ldr x9, [x9, _OCFS2_LOCK_TYPE_DENTRY@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, ne
bl _BUG_ON
ldr x0, [x19, #8]
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 _OCFS2_LOCK_TYPE_DENTRY,8,3 ; @OCFS2_LOCK_TYPE_DENTRY
.no_dead_strip _ocfs2_lock_res_dl
.subsections_via_symbols
| AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_lock_res_dl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qedf_vport_destroy
_qedf_vport_destroy: ## @qedf_vport_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _vport_to_shost
movq %rax, %rdi
callq _shost_priv
movq %rax, %r14
movq (%rbx), %rbx
movq %rbx, %rdi
callq _lport_priv
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _QEDF_UNLOADING@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %rax, %rsi
callq _set_bit
addq $16, %r14
movq %r14, %rdi
callq _mutex_lock
leaq 20(%rbx), %rdi
callq _list_del
movq %r14, %rdi
callq _mutex_unlock
movq %rbx, %rdi
callq _fc_fabric_logoff
movq %rbx, %rdi
callq _fc_lport_destroy
movq 8(%rbx), %rdi
callq _fc_remove_host
movq 8(%rbx), %rdi
callq _scsi_remove_host
movq (%rbx), %rax
movq _LPORT_ST_READY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _fc_exch_mgr_free
LBB0_4:
movq %rbx, %rdi
callq _fc_lport_free_stats
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.5:
callq _scsi_host_put
jmp LBB0_6
LBB0_1:
leaq L_.str(%rip), %rsi
xorl %edi, %edi
callq _QEDF_ERR
LBB0_6:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "qedf is NULL.\n"
.comm _QEDF_UNLOADING,4,2 ## @QEDF_UNLOADING
.comm _LPORT_ST_READY,8,3 ## @LPORT_ST_READY
.no_dead_strip _qedf_vport_destroy
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qedf_vport_destroy
_qedf_vport_destroy: ; @qedf_vport_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
bl _vport_to_shost
bl _shost_priv
mov x20, x0
ldr x19, [x19]
mov x0, x19
bl _lport_priv
cbz x0, LBB0_5
; %bb.1:
mov x1, x0
Lloh0:
adrp x8, _QEDF_UNLOADING@GOTPAGE
Lloh1:
ldr x8, [x8, _QEDF_UNLOADING@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _set_bit
add x20, x20, #16
mov x0, x20
bl _mutex_lock
add x0, x19, #20
bl _list_del
mov x0, x20
bl _mutex_unlock
mov x0, x19
bl _fc_fabric_logoff
mov x0, x19
bl _fc_lport_destroy
ldr x0, [x19, #8]
bl _fc_remove_host
ldr x0, [x19, #8]
bl _scsi_remove_host
ldr x8, [x19]
Lloh3:
adrp x9, _LPORT_ST_READY@GOTPAGE
Lloh4:
ldr x9, [x9, _LPORT_ST_READY@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
mov x0, x19
bl _fc_exch_mgr_free
LBB0_3:
mov x0, x19
bl _fc_lport_free_stats
ldr x0, [x19, #8]
cbz x0, LBB0_6
; %bb.4:
bl _scsi_host_put
b LBB0_6
LBB0_5:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _QEDF_ERR
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "qedf is NULL.\n"
.comm _QEDF_UNLOADING,4,2 ; @QEDF_UNLOADING
.comm _LPORT_ST_READY,8,3 ; @LPORT_ST_READY
.no_dead_strip _qedf_vport_destroy
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/qedf/extr_qedf_main.c_qedf_vport_destroy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function bridge_port_get_iflist
_bridge_port_get_iflist: ## @bridge_port_get_iflist
.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 %rsi, %rbx
movq $0, (%rsi)
movl (%rdi), %esi
movq _IFNAMSIZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _strlcpy
movq _BRDGGIFS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movl $16, -80(%rbp)
leaq -56(%rbp), %rax
movq %rax, -72(%rbp)
movq (%rbx), %rdi
movl $512, %r14d ## imm = 0x200
movl $512, %esi ## imm = 0x200
callq _realloc
testq %rax, %rax
je LBB0_4
LBB0_1:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
callq _syslog
movq (%rbx), %rdi
callq _free
movq $0, (%rbx)
LBB0_2:
movl $-1, %eax
LBB0_3:
## kill: def $eax killed $eax killed $rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _sock@GOTPCREL(%rip), %r12
movq _SIOCGDRVSPEC@GOTPCREL(%rip), %r13
leaq -80(%rbp), %r15
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl %r14d, -56(%rbp)
movq $0, (%rbx)
movq $0, -48(%rbp)
movl (%r12), %edi
movl (%r13), %esi
movq %r15, %rdx
callq _ioctl
testq %rax, %rax
js LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -56(%rbp), %rax
leaq -4(%rax), %rcx
movslq %r14d, %rdx
cmpq %rdx, %rcx
jb LBB0_3
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
addl $256, %r14d ## imm = 0x100
movq (%rbx), %rdi
movl %r14d, %esi
callq _realloc
testq %rax, %rax
je LBB0_5
jmp LBB0_1
LBB0_8:
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str.1(%rip), %rsi
movl %r14d, %edi
movl %eax, %edx
callq _syslog
movq (%rbx), %rdi
callq _free
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _IFNAMSIZ,4,2 ## @IFNAMSIZ
.comm _BRDGGIFS,4,2 ## @BRDGGIFS
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "get bridge member list: realloc failed: %s"
.comm _errno,4,2 ## @errno
.comm _sock,4,2 ## @sock
.comm _SIOCGDRVSPEC,4,2 ## @SIOCGDRVSPEC
L_.str.1: ## @.str.1
.asciz "get bridge member list: ioctl (BRDGGIFS) failed: %s"
.no_dead_strip _bridge_port_get_iflist
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function bridge_port_get_iflist
_bridge_port_get_iflist: ; @bridge_port_get_iflist
.cfi_startproc
; %bb.0:
sub sp, sp, #96
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
mov x19, x1
str xzr, [x1]
ldr w1, [x0]
Lloh0:
adrp x8, _IFNAMSIZ@GOTPAGE
Lloh1:
ldr x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
bl _strlcpy
Lloh3:
adrp x8, _BRDGGIFS@GOTPAGE
Lloh4:
ldr x8, [x8, _BRDGGIFS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [sp, #24]
mov w8, #16 ; =0x10
str w8, [sp, #8]
add x8, sp, #32
str x8, [sp, #16]
ldr x0, [x19]
mov w1, #512 ; =0x200
bl _realloc
cbz x0, LBB0_4
LBB0_1:
Lloh6:
adrp x8, _LOG_ERR@GOTPAGE
Lloh7:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh8:
ldr w20, [x8]
Lloh9:
adrp x8, _errno@GOTPAGE
Lloh10:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _syslog
ldr x0, [x19]
bl _free
str xzr, [x19]
LBB0_2:
mov w0, #-1 ; =0xffffffff
LBB0_3:
; kill: def $w0 killed $w0 killed $x0
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
add sp, sp, #96
ret
LBB0_4:
mov w20, #512 ; =0x200
Lloh14:
adrp x21, _sock@GOTPAGE
Lloh15:
ldr x21, [x21, _sock@GOTPAGEOFF]
Lloh16:
adrp x22, _SIOCGDRVSPEC@GOTPAGE
Lloh17:
ldr x22, [x22, _SIOCGDRVSPEC@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
str w20, [sp, #32]
str xzr, [x19]
str xzr, [sp, #40]
ldr w0, [x21]
ldr w1, [x22]
add x2, sp, #8
bl _ioctl
tbnz x0, #63, LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x0, [sp, #32]
sub x8, x0, #4
cmp x8, w20, sxtw
b.lo LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
add w20, w20, #256
ldr x0, [x19]
mov x1, x20
bl _realloc
cbz x0, LBB0_5
b LBB0_1
LBB0_8:
Lloh18:
adrp x8, _LOG_ERR@GOTPAGE
Lloh19:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
ldr w20, [x8]
Lloh21:
adrp x8, _errno@GOTPAGE
Lloh22:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh24:
adrp x1, l_.str.1@PAGE
Lloh25:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _syslog
ldr x0, [x19]
bl _free
b LBB0_2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _IFNAMSIZ,4,2 ; @IFNAMSIZ
.comm _BRDGGIFS,4,2 ; @BRDGGIFS
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "get bridge member list: realloc failed: %s"
.comm _errno,4,2 ; @errno
.comm _sock,4,2 ; @sock
.comm _SIOCGDRVSPEC,4,2 ; @SIOCGDRVSPEC
l_.str.1: ; @.str.1
.asciz "get bridge member list: ioctl (BRDGGIFS) failed: %s"
.no_dead_strip _bridge_port_get_iflist
.subsections_via_symbols
| assembly_file_78232.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fixup_pcr
_fixup_pcr: ## @fixup_pcr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %ecx, %r10d
## kill: def $edx killed $edx def $rdx
movq %rsi, %r9
movq %rdi, %rax
movq %rdi, %rcx
andq $-32, %rcx
movq %rsi, %r8
subq %rcx, %r8
sarq $2, %r8
leal -1(%rdx), %ecx
movq %r8, %rsi
## kill: def $cl killed $cl killed $ecx
sarq %cl, %rsi
incq %rsi
cmpq $1, %rsi
ja LBB0_2
## %bb.1:
movl $-1, %esi
movl %edx, %ecx
shll %cl, %esi
notl %esi
movslq %esi, %rsi
andq %rsi, %r8
movl %r10d, %ecx
shlq %cl, %rsi
notl %esi
shlq %cl, %r8
andl (%rax), %esi
orl %esi, %r8d
movl %r8d, (%rax)
leaq L_.str(%rip), %rdi
movl %edx, %esi
movq %rax, %rdx
movq %r9, %rcx
## kill: def $r8d killed $r8d killed $r8
callq _pr_debug
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
leaq L_.str.1(%rip), %rdi
movl %edx, %esi
movq %rax, %rdx
movq %r9, %rcx
callq _pr_err
movl $-1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "REL PCR_S%d[%p] dest[%p] opcode[%08x]\n"
L_.str.1: ## @.str.1
.asciz "PCR_S%d reloc %p -> %p out of range!\n"
.no_dead_strip _fixup_pcr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fixup_pcr
_fixup_pcr: ; @fixup_pcr
.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
; kill: def $w3 killed $w3 def $x3
mov x8, x2
mov x9, x1
mov x2, x0
and x10, x0, #0xffffffffffffffe0
sub x10, x1, x10
asr x10, x10, #2
sub w11, w8, #1
asr x11, x10, x11
add x11, x11, #1
cmp x11, #1
b.hi LBB0_2
; %bb.1:
mov w11, #-1
lsl w11, w11, w8
mvn w11, w11
sxtw x11, w11
ldr w12, [x2]
lsl x13, x11, x3
bic w12, w12, w13
and x10, x10, x11
lsl x10, x10, x3
orr w4, w12, w10
str w4, [x2]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x8
mov x3, x9
bl _pr_debug
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x8
mov x3, x9
bl _pr_err
mov w0, #-1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "REL PCR_S%d[%p] dest[%p] opcode[%08x]\n"
l_.str.1: ; @.str.1
.asciz "PCR_S%d reloc %p -> %p out of range!\n"
.no_dead_strip _fixup_pcr
.subsections_via_symbols
| AnghaBench/linux/arch/c6x/kernel/extr_module.c_fixup_pcr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function carthw_radica_read16
_carthw_radica_read16: ## @carthw_radica_read16
.cfi_startproc
## %bb.0:
movl %edi, %eax
andl $16776960, %eax ## imm = 0xFFFF00
cmpl $10563584, %eax ## imm = 0xA13000
jne LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $126, %esi
movl $15, %edx
callq _carthw_Xin1_do
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
jmp _PicoRead16_io ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _carthw_radica_read16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function carthw_radica_read16
_carthw_radica_read16: ; @carthw_radica_read16
.cfi_startproc
; %bb.0:
and w8, w0, #0xffff00
cmp w8, #2579, lsl #12 ; =10563584
b.ne LBB0_2
; %bb.1:
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 w1, #126
mov w2, #15
bl _carthw_Xin1_do
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
b _PicoRead16_io
.cfi_endproc
; -- End function
.no_dead_strip _carthw_radica_read16
.subsections_via_symbols
| AnghaBench/Provenance/Cores/PicoDrive/pico/carthw/extr_carthw.c_carthw_radica_read16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sec_login ## -- Begin function sec_login
.p2align 4, 0x90
_sec_login: ## @sec_login
.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 _verbose@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $-1, (%rax)
movq _mechs@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq (%r13), %rax
testq %rax, %rax
movl %ecx, -44(%rbp) ## 4-byte Spill
je LBB0_23
## %bb.1:
movq %rdi, %rbx
movq _app_data@GOTPCREL(%rip), %r12
leaq L_.str.3(%rip), %r15
leaq L_.str.1(%rip), %r14
jmp LBB0_2
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.5(%rip), %rdi
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq (%r13), %rcx
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq (%rcx), %rsi
xorl %eax, %eax
callq _printf
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r13), %rax
addq $8, %r13
testq %rax, %rax
je LBB0_23
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rax)
je LBB0_23
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq (%r12), %rdi
movq 24(%rax), %rsi
callq _realloc
testq %rax, %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, (%r12)
movq (%r13), %rcx
movq 8(%rcx), %rdx
testq %rdx, %rdx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %rdi
callq *%rdx
movq (%r13), %rcx
movq %r14, %rdi
testq %rax, %rax
jne LBB0_12
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq (%rcx), %rsi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq (%r13), %rax
movq (%rax), %rsi
movq %r15, %rdi
callq _command
movq _CONTINUE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_8
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
movq (%r13), %rax
movq (%r12), %rdi
movq %rbx, %rsi
callq *16(%rax)
movq _AUTH_CONTINUE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_13
jmp LBB0_17
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq _code@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
leaq L_.str.4(%rip), %rdi
cmpl $504, %ecx ## imm = 0x1F8
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
cmpl $534, %ecx ## imm = 0x216
je LBB0_10
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
movq _ERROR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_13
## %bb.15:
leaq L_str(%rip), %rdi
callq _puts
jmp LBB0_18
LBB0_4:
movq (%r13), %rax
movq 24(%rax), %rsi
leaq L_.str(%rip), %rdi
callq _warnx
movl $-1, %eax
jmp LBB0_24
LBB0_17:
movq _AUTH_OK@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_18
## %bb.19:
movq (%r13), %rax
movq _mech@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _sec_complete@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _doencrypt@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_21
## %bb.20:
movq _prot_private@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _command_prot@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _request_data_prot@GOTPCREL(%rip), %rcx
jmp LBB0_22
LBB0_18:
movq _verbose@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
movl $-1, %eax
jmp LBB0_24
LBB0_21:
movq _prot_safe@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _command_prot@GOTPCREL(%rip), %rcx
LBB0_22:
movq %rax, (%rcx)
LBB0_23:
movq _verbose@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
xorl %eax, %eax
cmpq $0, (%r13)
sete %al
LBB0_24:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _verbose,4,2 ## @verbose
.comm _mechs,8,3 ## @mechs
.comm _app_data,8,3 ## @app_data
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "realloc %lu failed"
L_.str.1: ## @.str.1
.asciz "Skipping %s...\n"
L_.str.2: ## @.str.2
.asciz "Trying %s...\n"
L_.str.3: ## @.str.3
.asciz "AUTH %s"
.comm _CONTINUE,4,2 ## @CONTINUE
.comm _code,4,2 ## @code
L_.str.4: ## @.str.4
.asciz "%s is not supported by the server.\n"
L_.str.5: ## @.str.5
.asciz "%s rejected as security mechanism.\n"
.comm _ERROR,4,2 ## @ERROR
.comm _AUTH_CONTINUE,4,2 ## @AUTH_CONTINUE
.comm _AUTH_OK,4,2 ## @AUTH_OK
.comm _mech,8,3 ## @mech
.comm _sec_complete,4,2 ## @sec_complete
.comm _doencrypt,8,3 ## @doencrypt
.comm _prot_private,8,3 ## @prot_private
.comm _command_prot,8,3 ## @command_prot
.comm _request_data_prot,8,3 ## @request_data_prot
.comm _prot_safe,8,3 ## @prot_safe
L_str: ## @str
.asciz "The server doesn't support the FTP security extensions."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sec_login ; -- Begin function sec_login
.p2align 2
_sec_login: ; @sec_login
.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
Lloh0:
adrp x22, _verbose@GOTPAGE
Lloh1:
ldr x22, [x22, _verbose@GOTPAGEOFF]
ldr w23, [x22]
mov w8, #-1
str w8, [x22]
Lloh2:
adrp x8, _mechs@GOTPAGE
Lloh3:
ldr x8, [x8, _mechs@GOTPAGEOFF]
Lloh4:
ldr x24, [x8]
ldr x8, [x24]
cbz x8, LBB0_24
; %bb.1:
mov x19, x0
Lloh5:
adrp x25, _app_data@GOTPAGE
Lloh6:
ldr x25, [x25, _app_data@GOTPAGEOFF]
Lloh7:
adrp x20, l_.str.2@PAGE
Lloh8:
add x20, x20, l_.str.2@PAGEOFF
Lloh9:
adrp x21, l_.str.3@PAGE
Lloh10:
add x21, x21, l_.str.3@PAGEOFF
Lloh11:
adrp x26, _CONTINUE@GOTPAGE
Lloh12:
ldr x26, [x26, _CONTINUE@GOTPAGEOFF]
Lloh13:
adrp x28, _code@GOTPAGE
Lloh14:
ldr x28, [x28, _code@GOTPAGEOFF]
Lloh15:
adrp x27, l_.str.1@PAGE
Lloh16:
add x27, x27, l_.str.1@PAGEOFF
b LBB0_6
LBB0_2: ; in Loop: Header=BB0_6 Depth=1
Lloh17:
adrp x0, l_.str.4@PAGE
Lloh18:
add x0, x0, l_.str.4@PAGEOFF
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x24]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x9]
str x8, [sp]
bl _printf
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x24, #8]!
cbz x8, LBB0_24
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x9, [x8]
cbz x9, LBB0_24
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x25]
ldr x1, [x8, #24]
bl _realloc
cbz x0, LBB0_17
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
str x0, [x25]
ldr x9, [x24]
ldr x8, [x9, #8]
cbz x8, LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
blr x8
mov x8, x0
ldr x9, [x24]
mov x0, x27
cbnz x8, LBB0_4
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x9]
str x8, [sp]
mov x0, x20
bl _printf
ldr x8, [x24]
ldr x1, [x8]
mov x0, x21
bl _command
ldr w8, [x26]
cmp w0, w8
b.ne LBB0_12
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x24]
ldr x8, [x8, #16]
ldr x0, [x25]
mov x1, x19
blr x8
Lloh19:
adrp x8, _AUTH_CONTINUE@GOTPAGE
Lloh20:
ldr x8, [x8, _AUTH_CONTINUE@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_5
b LBB0_18
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x28]
cmp w8, #504
b.eq LBB0_2
; %bb.13: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #534
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_6 Depth=1
Lloh22:
adrp x0, l_.str.5@PAGE
Lloh23:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_3
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
Lloh24:
adrp x8, _ERROR@GOTPAGE
Lloh25:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_5
; %bb.16:
Lloh27:
adrp x0, l_str@PAGE
Lloh28:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB0_21
LBB0_17:
ldr x8, [x24]
ldr x1, [x8, #24]
Lloh29:
adrp x0, l_.str@PAGE
Lloh30:
add x0, x0, l_.str@PAGEOFF
bl _warnx
mov w0, #-1
b LBB0_25
LBB0_18:
Lloh31:
adrp x8, _AUTH_OK@GOTPAGE
Lloh32:
ldr x8, [x8, _AUTH_OK@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_21
; %bb.19:
ldr x8, [x24]
Lloh34:
adrp x9, _mech@GOTPAGE
Lloh35:
ldr x9, [x9, _mech@GOTPAGEOFF]
Lloh36:
adrp x10, _sec_complete@GOTPAGE
Lloh37:
ldr x10, [x10, _sec_complete@GOTPAGEOFF]
Lloh38:
str x8, [x9]
mov w8, #1
Lloh39:
str w8, [x10]
Lloh40:
adrp x8, _doencrypt@GOTPAGE
Lloh41:
ldr x8, [x8, _doencrypt@GOTPAGEOFF]
Lloh42:
ldr x8, [x8]
cbz x8, LBB0_22
; %bb.20:
Lloh43:
adrp x8, _prot_private@GOTPAGE
Lloh44:
ldr x8, [x8, _prot_private@GOTPAGEOFF]
Lloh45:
ldr x8, [x8]
Lloh46:
adrp x9, _command_prot@GOTPAGE
Lloh47:
ldr x9, [x9, _command_prot@GOTPAGEOFF]
Lloh48:
str x8, [x9]
Lloh49:
adrp x9, _request_data_prot@GOTPAGE
Lloh50:
ldr x9, [x9, _request_data_prot@GOTPAGEOFF]
b LBB0_23
LBB0_21:
str w23, [x22]
mov w0, #-1
b LBB0_25
LBB0_22:
Lloh51:
adrp x8, _prot_safe@GOTPAGE
Lloh52:
ldr x8, [x8, _prot_safe@GOTPAGEOFF]
Lloh53:
ldr x8, [x8]
Lloh54:
adrp x9, _command_prot@GOTPAGE
Lloh55:
ldr x9, [x9, _command_prot@GOTPAGEOFF]
LBB0_23:
str x8, [x9]
LBB0_24:
str w23, [x22]
ldr x8, [x24]
cmp x8, #0
cset w0, eq
LBB0_25:
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 Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotStr Lloh36, Lloh37, Lloh39
.loh AdrpLdrGotStr Lloh34, Lloh35, Lloh38
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGotStr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.cfi_endproc
; -- End function
.comm _verbose,4,2 ; @verbose
.comm _mechs,8,3 ; @mechs
.comm _app_data,8,3 ; @app_data
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "realloc %lu failed"
l_.str.1: ; @.str.1
.asciz "Skipping %s...\n"
l_.str.2: ; @.str.2
.asciz "Trying %s...\n"
l_.str.3: ; @.str.3
.asciz "AUTH %s"
.comm _CONTINUE,4,2 ; @CONTINUE
.comm _code,4,2 ; @code
l_.str.4: ; @.str.4
.asciz "%s is not supported by the server.\n"
l_.str.5: ; @.str.5
.asciz "%s rejected as security mechanism.\n"
.comm _ERROR,4,2 ; @ERROR
.comm _AUTH_CONTINUE,4,2 ; @AUTH_CONTINUE
.comm _AUTH_OK,4,2 ; @AUTH_OK
.comm _mech,8,3 ; @mech
.comm _sec_complete,4,2 ; @sec_complete
.comm _doencrypt,8,3 ; @doencrypt
.comm _prot_private,8,3 ; @prot_private
.comm _command_prot,8,3 ; @command_prot
.comm _request_data_prot,8,3 ; @request_data_prot
.comm _prot_safe,8,3 ; @prot_safe
l_str: ; @str
.asciz "The server doesn't support the FTP security extensions."
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/appl/ftp/ftpd/extr_security.c_sec_login.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dev_change_flags ## -- Begin function dev_change_flags
.p2align 4, 0x90
_dev_change_flags: ## @dev_change_flags
.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 %rdi, %rbx
movl (%rdi), %r14d
movl 4(%rdi), %r15d
callq ___dev_change_flags
movl %eax, %r12d
testl %eax, %eax
js LBB0_2
## %bb.1:
movl (%rbx), %eax
xorl %r14d, %eax
xorl 4(%rbx), %r15d
orl %eax, %r15d
movq %rbx, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq ___dev_notify_flags
LBB0_2:
movl %r12d, %eax
popq %rbx
popq %r12
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 _dev_change_flags ; -- Begin function dev_change_flags
.p2align 2
_dev_change_flags: ; @dev_change_flags
.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
ldp w19, w22, [x0]
bl ___dev_change_flags
mov x21, x0
tbnz w0, #31, LBB0_2
; %bb.1:
ldp w8, w9, [x20]
eor w8, w8, w19
eor w9, w9, w22
orr w2, w9, w8
mov x0, x20
mov x1, x19
bl ___dev_notify_flags
LBB0_2:
mov x0, x21
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/net/core/extr_dev.c_dev_change_flags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cxacru_atm_start
_cxacru_atm_start: ## @cxacru_atm_start
.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, %r15
movq 8(%rdi), %r12
leaq L_.str(%rip), %rdi
callq _dbg
movq _CM_REQUEST_CARD_GET_MAC_ADDRESS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%rbx), %r8
movq %r12, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
movl $8, %r9d
callq _cxacru_cm
testl %eax, %eax
js LBB0_1
## %bb.2:
movq _CREATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CXACRU_ALL_FILES
leaq 8(%r12), %r14
movq %r14, %rdi
callq _mutex_lock
movq _CM_REQUEST_CHIP_ADSL_LINE_START@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _cxacru_cm
testl %eax, %eax
jns LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
movl %eax, %edx
callq _atm_err
LBB0_4:
leaq 12(%r12), %r15
movq %r15, %rdi
callq _mutex_lock
movl (%r12), %eax
leal -130(%rax), %ecx
cmpl $2, %ecx
jb LBB0_10
## %bb.5:
cmpl $128, %eax
je LBB0_9
## %bb.6:
cmpl $129, %eax
jne LBB0_8
## %bb.7:
movl $131, (%r12)
LBB0_8:
movq %r15, %rdi
callq _mutex_unlock
movq %r14, %rdi
callq _mutex_unlock
addq $4, %r12
movq %r12, %rdi
callq _cxacru_poll_status
jmp LBB0_11
LBB0_1:
movl %eax, %ebx
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
movl %eax, %edx
callq _atm_err
jmp LBB0_12
LBB0_9:
movl $131, (%r12)
LBB0_10:
movq %r15, %rdi
callq _mutex_unlock
movq %r14, %rdi
callq _mutex_unlock
LBB0_11:
xorl %ebx, %ebx
LBB0_12:
movl %ebx, %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 "cxacru_atm_start"
.comm _CM_REQUEST_CARD_GET_MAC_ADDRESS,4,2 ## @CM_REQUEST_CARD_GET_MAC_ADDRESS
L_.str.1: ## @.str.1
.asciz "cxacru_atm_start: CARD_GET_MAC_ADDRESS returned %d\n"
.comm _CREATE,4,2 ## @CREATE
.comm _CM_REQUEST_CHIP_ADSL_LINE_START,4,2 ## @CM_REQUEST_CHIP_ADSL_LINE_START
L_.str.2: ## @.str.2
.asciz "cxacru_atm_start: CHIP_ADSL_LINE_START returned %d\n"
.no_dead_strip _cxacru_atm_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cxacru_atm_start
_cxacru_atm_start: ; @cxacru_atm_start
.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 x21, x0
ldr x19, [x0, #8]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _dbg
Lloh2:
adrp x8, _CM_REQUEST_CARD_GET_MAC_ADDRESS@GOTPAGE
Lloh3:
ldr x8, [x8, _CM_REQUEST_CARD_GET_MAC_ADDRESS@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
ldr x4, [x20]
mov x0, x19
mov x2, #0
mov w3, #0
mov w5, #8
bl _cxacru_cm
tbnz w0, #31, LBB0_8
; %bb.1:
Lloh5:
adrp x8, _CREATE@GOTPAGE
Lloh6:
ldr x8, [x8, _CREATE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _CXACRU_ALL_FILES
add x20, x19, #8
mov x0, x20
bl _mutex_lock
Lloh8:
adrp x8, _CM_REQUEST_CHIP_ADSL_LINE_START@GOTPAGE
Lloh9:
ldr x8, [x8, _CM_REQUEST_CHIP_ADSL_LINE_START@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
mov x2, #0
mov w3, #0
mov x4, #0
mov w5, #0
bl _cxacru_cm
tbz w0, #31, LBB0_3
; %bb.2:
mov x2, x0
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _atm_err
LBB0_3:
add x21, x19, #12
mov x0, x21
bl _mutex_lock
ldr w8, [x19]
sub w9, w8, #130
cmp w9, #2
b.lo LBB0_10
; %bb.4:
cmp w8, #128
b.eq LBB0_9
; %bb.5:
cmp w8, #129
b.ne LBB0_7
; %bb.6:
mov w8, #131
str w8, [x19]
LBB0_7:
mov x0, x21
bl _mutex_unlock
mov x0, x20
bl _mutex_unlock
add x0, x19, #4
bl _cxacru_poll_status
b LBB0_11
LBB0_8:
mov x20, x0
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
mov x2, x20
bl _atm_err
b LBB0_12
LBB0_9:
mov w8, #131
str w8, [x19]
LBB0_10:
mov x0, x21
bl _mutex_unlock
mov x0, x20
bl _mutex_unlock
LBB0_11:
mov w20, #0
LBB0_12:
mov x0, x20
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 Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cxacru_atm_start"
.comm _CM_REQUEST_CARD_GET_MAC_ADDRESS,4,2 ; @CM_REQUEST_CARD_GET_MAC_ADDRESS
l_.str.1: ; @.str.1
.asciz "cxacru_atm_start: CARD_GET_MAC_ADDRESS returned %d\n"
.comm _CREATE,4,2 ; @CREATE
.comm _CM_REQUEST_CHIP_ADSL_LINE_START,4,2 ; @CM_REQUEST_CHIP_ADSL_LINE_START
l_.str.2: ; @.str.2
.asciz "cxacru_atm_start: CHIP_ADSL_LINE_START returned %d\n"
.no_dead_strip _cxacru_atm_start
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/atm/extr_cxacru.c_cxacru_atm_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function compressor_selector_update
_compressor_selector_update: ## @compressor_selector_update
.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 %edx, %r14d
movl %esi, %r15d
movl %edi, %ebx
movq _compressor_stats@GOTPCREL(%rip), %r13
movl 16(%r13), %edi
leal 1(%rdi), %eax
movl %eax, 16(%r13)
## kill: def $edi killed $edi killed $rdi
callq _VM_COMPRESSOR_STAT
testl %ebx, %ebx
je LBB0_1
## %bb.2:
movq _vmcstate@GOTPCREL(%rip), %r12
movq $0, 16(%r12)
movl (%r13), %edi
addl %ebx, %edi
movl %edi, (%r13)
callq _VM_COMPRESSOR_STAT
movq _vmctune@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jge LBB0_5
## %bb.3:
testl %r15d, %r15d
jne LBB0_6
jmp LBB0_4
LBB0_1:
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%r13), %edi
addl (%rax), %edi
movl %edi, (%r13)
callq _VM_COMPRESSOR_STAT
movl 12(%r13), %edi
leal 1(%rdi), %eax
movl %eax, 12(%r13)
## kill: def $edi killed $edi killed $rdi
callq _VM_COMPRESSOR_STAT
movq _vmcstate@GOTPCREL(%rip), %rax
incq 16(%rax)
movl 28(%rax), %edi
leal 1(%rdi), %ecx
movl %ecx, 28(%rax)
jmp LBB0_11
LBB0_5:
movq $0, (%r12)
testl %r15d, %r15d
je LBB0_14
LBB0_6:
xorl %edi, %edi
movl %r14d, %r15d
subl %ebx, %r15d
setg %dil
callq ___probable
testq %rax, %rax
je LBB0_10
## %bb.7:
movslq %r15d, %rbx
movl 8(%r13), %edi
addl %ebx, %edi
movl %edi, 8(%r13)
callq _VM_COMPRESSOR_STAT
movq _vmctune@GOTPCREL(%rip), %rax
cmpq %rbx, 8(%rax)
jle LBB0_4
## %bb.8:
cmpq %rbx, 16(%rax)
jl LBB0_12
## %bb.9:
incq 16(%r12)
movl 24(%r12), %edi
leal 1(%rdi), %eax
movl %eax, 24(%r12)
jmp LBB0_11
LBB0_4:
movq (%r12), %rax
incq %rax
jmp LBB0_13
LBB0_10:
subl %r14d, %ebx
addl 4(%r13), %ebx
movl %ebx, 4(%r13)
movl %ebx, %edi
callq _VM_COMPRESSOR_STAT
incq 16(%r12)
movl 8(%r12), %edi
leal 1(%rdi), %eax
movl %eax, 8(%r12)
LBB0_11:
## kill: def $edi killed $edi killed $rdi
callq _VM_COMPRESSOR_STAT
LBB0_12:
xorl %eax, %eax
LBB0_13:
movq _vmcstate@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _compressor_stats,20,2 ## @compressor_stats
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _vmcstate,32,3 ## @vmcstate
.comm _vmctune,24,3 ## @vmctune
.no_dead_strip _compressor_selector_update
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function compressor_selector_update
_compressor_selector_update: ; @compressor_selector_update
.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, x2
mov x21, x1
mov x20, x0
Lloh0:
adrp x23, _compressor_stats@GOTPAGE
Lloh1:
ldr x23, [x23, _compressor_stats@GOTPAGEOFF]
ldr w0, [x23, #16]
add w8, w0, #1
str w8, [x23, #16]
bl _VM_COMPRESSOR_STAT
Lloh2:
adrp x22, _vmcstate@GOTPAGE
Lloh3:
ldr x22, [x22, _vmcstate@GOTPAGEOFF]
cbz w20, LBB0_3
; %bb.1:
str xzr, [x22, #16]
ldr w8, [x23]
add w0, w8, w20
str w0, [x23]
bl _VM_COMPRESSOR_STAT
Lloh4:
adrp x24, _vmctune@GOTPAGE
Lloh5:
ldr x24, [x24, _vmctune@GOTPAGEOFF]
ldr w8, [x24]
cmp w8, w20
b.ge LBB0_4
; %bb.2:
cbnz w21, LBB0_5
b LBB0_9
LBB0_3:
Lloh6:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh7:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ldr w9, [x23]
add w0, w9, w8
str w0, [x23]
bl _VM_COMPRESSOR_STAT
ldr w0, [x23, #12]
add w8, w0, #1
str w8, [x23, #12]
bl _VM_COMPRESSOR_STAT
ldr x8, [x22, #16]
add x8, x8, #1
str x8, [x22, #16]
ldr w0, [x22, #28]
add w8, w0, #1
str w8, [x22, #28]
b LBB0_11
LBB0_4:
str xzr, [x22]
cbz w21, LBB0_14
LBB0_5:
subs w21, w19, w20
cset w0, gt
bl ___probable
cbz x0, LBB0_10
; %bb.6:
sxtw x19, w21
ldr w8, [x23, #8]
add w0, w8, w21
str w0, [x23, #8]
bl _VM_COMPRESSOR_STAT
ldr x8, [x24, #8]
cmp x8, x19
b.le LBB0_9
; %bb.7:
ldr x8, [x24, #16]
cmp x8, x19
b.lt LBB0_12
; %bb.8:
ldr x8, [x22, #16]
add x8, x8, #1
str x8, [x22, #16]
ldr w0, [x22, #24]
add w8, w0, #1
str w8, [x22, #24]
b LBB0_11
LBB0_9:
ldr x8, [x22]
add x8, x8, #1
b LBB0_13
LBB0_10:
ldr w8, [x23, #4]
sub w9, w20, w19
add w0, w8, w9
str w0, [x23, #4]
bl _VM_COMPRESSOR_STAT
ldr x8, [x22, #16]
add x8, x8, #1
str x8, [x22, #16]
ldr w0, [x22, #8]
add w8, w0, #1
str w8, [x22, #8]
LBB0_11:
bl _VM_COMPRESSOR_STAT
LBB0_12:
mov x8, #0
LBB0_13:
str x8, [x22]
LBB0_14:
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _compressor_stats,20,2 ; @compressor_stats
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _vmcstate,32,3 ; @vmcstate
.comm _vmctune,24,3 ; @vmctune
.no_dead_strip _compressor_selector_update
.subsections_via_symbols
| AnghaBench/darwin-xnu/osfmk/vm/extr_vm_compressor_algorithms.c_compressor_selector_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_sof_ipc_init ## -- Begin function snd_sof_ipc_init
.p2align 4, 0x90
_snd_sof_ipc_init: ## @snd_sof_ipc_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _sof_ops
cmpl $0, (%rax)
movl (%rbx), %edi
je LBB0_5
## %bb.1:
movq _GFP_KERNEL@GOTPCREL(%rip), %r15
movl (%r15), %edx
movl $40, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_8
## %bb.2:
movq %rax, %r14
leaq 32(%rax), %rdi
callq _mutex_init
movq %rbx, 24(%r14)
movl $1, (%r14)
movl (%rbx), %edi
movq _SOF_IPC_MSG_MAX_SIZE@GOTPCREL(%rip), %r12
movl (%r12), %esi
movl (%r15), %edx
callq _devm_kzalloc
movq %rax, 16(%r14)
testq %rax, %rax
je LBB0_8
## %bb.3:
movl (%rbx), %edi
movl (%r12), %esi
movl (%r15), %edx
callq _devm_kzalloc
movq %rax, 8(%r14)
testq %rax, %rax
je LBB0_8
## %bb.4:
movq %r14, %rdi
addq $4, %rdi
callq _init_waitqueue_head
jmp LBB0_9
LBB0_5:
leaq L_.str(%rip), %rsi
callq _dev_err
LBB0_8:
xorl %r14d, %r14d
LBB0_9:
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error: ipc mandatory ops not defined\n"
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _SOF_IPC_MSG_MAX_SIZE,4,2 ## @SOF_IPC_MSG_MAX_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_sof_ipc_init ; -- Begin function snd_sof_ipc_init
.p2align 2
_snd_sof_ipc_init: ; @snd_sof_ipc_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, x0
bl _sof_ops
ldr w8, [x0]
ldr w0, [x20]
cbz w8, LBB0_5
; %bb.1:
Lloh0:
adrp x21, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
ldr w2, [x21]
mov w1, #40
bl _devm_kzalloc
mov x19, x0
cbz x0, LBB0_7
; %bb.2:
add x0, x19, #32
bl _mutex_init
str x20, [x19, #24]
mov w8, #1
str w8, [x19]
ldr w0, [x20]
Lloh2:
adrp x22, _SOF_IPC_MSG_MAX_SIZE@GOTPAGE
Lloh3:
ldr x22, [x22, _SOF_IPC_MSG_MAX_SIZE@GOTPAGEOFF]
ldr w1, [x22]
ldr w2, [x21]
bl _devm_kzalloc
str x0, [x19, #16]
cbz x0, LBB0_6
; %bb.3:
ldr w0, [x20]
ldr w1, [x22]
ldr w2, [x21]
bl _devm_kzalloc
str x0, [x19, #8]
cbz x0, LBB0_6
; %bb.4:
add x0, x19, #4
bl _init_waitqueue_head
b LBB0_7
LBB0_5:
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
LBB0_6:
mov x19, #0
LBB0_7:
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
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error: ipc mandatory ops not defined\n"
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _SOF_IPC_MSG_MAX_SIZE,4,2 ; @SOF_IPC_MSG_MAX_SIZE
.subsections_via_symbols
| AnghaBench/linux/sound/soc/sof/extr_ipc.c_snd_sof_ipc_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcl812_alloc_dma
_pcl812_alloc_dma: ## @pcl812_alloc_dma
.cfi_startproc
## %bb.0:
movl %esi, %eax
andl $-3, %eax
cmpl $1, %eax
jne LBB0_2
## %bb.1:
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 %esi, %ecx
movq (%rdi), %rbx
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r8d
addl %r8d, %r8d
movq _COMEDI_ISADMA_READ@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl $2, %esi
movl %ecx, %edx
callq _comedi_isadma_alloc
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _COMEDI_ISADMA_READ,4,2 ## @COMEDI_ISADMA_READ
.no_dead_strip _pcl812_alloc_dma
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcl812_alloc_dma
_pcl812_alloc_dma: ; @pcl812_alloc_dma
.cfi_startproc
; %bb.0:
and w8, w1, #0xfffffffd
cmp w8, #1
b.ne LBB0_2
; %bb.1:
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 x2, x1
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
ldr x19, [x0]
Lloh2:
ldr w8, [x8]
lsl w4, w8, #1
Lloh3:
adrp x8, _COMEDI_ISADMA_READ@GOTPAGE
Lloh4:
ldr x8, [x8, _COMEDI_ISADMA_READ@GOTPAGEOFF]
Lloh5:
ldr w5, [x8]
mov w1, #2
mov x3, x2
bl _comedi_isadma_alloc
str w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _COMEDI_ISADMA_READ,4,2 ; @COMEDI_ISADMA_READ
.no_dead_strip _pcl812_alloc_dma
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/comedi/drivers/extr_pcl812.c_pcl812_alloc_dma.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function LoadUnicodeName
LCPI0_0:
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
LCPI0_1:
.byte 0 ## 0x0
.byte 2 ## 0x2
.byte 4 ## 0x4
.byte 6 ## 0x6
.byte 8 ## 0x8
.byte 10 ## 0xa
.byte 12 ## 0xc
.byte 14 ## 0xe
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_3:
.byte 0 ## 0x0
.byte 2 ## 0x2
.byte 4 ## 0x4
.byte 6 ## 0x6
.byte 8 ## 0x8
.byte 10 ## 0xa
.byte 12 ## 0xc
.byte 14 ## 0xe
.byte 0 ## 0x0
.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
LCPI0_2:
.space 8,255
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_LoadUnicodeName: ## @LoadUnicodeName
.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
movq %rsi, %r12
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rdx, -56(%rbp)
movq _HPDF_LIMIT_MAX_NAME_LEN@GOTPCREL(%rip), %rax
movl (%rax), %r13d
leal 1(,%r13,2), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
incl %r13d
movq %rbx, %rdi
xorl %esi, %esi
movl %r13d, %edx
callq _HPDF_MemSet
movq _HPDF_SEEK_SET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r15d, %edi
movq %r12, %rsi
callq _HPDF_Stream_Seek
movq _HPDF_OK@GOTPCREL(%rip), %r12
cmpl (%r12), %eax
jne LBB0_16
## %bb.1:
leaq -56(%rbp), %rdx
movl %r15d, %edi
movq %r14, %rsi
callq _HPDF_Stream_Read
cmpl (%r12), %eax
jne LBB0_16
## %bb.2:
movq -56(%rbp), %rax
cmpq $16, %rax
jae LBB0_4
## %bb.3:
xorl %edx, %edx
xorl %esi, %esi
jmp LBB0_13
LBB0_4:
movq %rax, %rcx
shrq %rcx
incq %rcx
cmpq $32, %rax
jae LBB0_9
## %bb.5:
xorl %edx, %edx
jmp LBB0_6
LBB0_9:
movl %ecx, %edx
andl $15, %edx
movl $16, %esi
cmovneq %rdx, %rsi
movq %rcx, %rdx
subq %rsi, %rdx
xorl %edi, %edi
pmovzxbw LCPI0_2(%rip), %xmm0 ## xmm0 = [255,255,255,255,255,255,255,255]
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movdqu 1(%r14,%rdi,2), %xmm1
movdqu 17(%r14,%rdi,2), %xmm2
pand %xmm0, %xmm2
pand %xmm0, %xmm1
packuswb %xmm2, %xmm1
movdqu %xmm1, (%rbx,%rdi)
addq $16, %rdi
cmpq %rdi, %rdx
jne LBB0_10
## %bb.11:
cmpl $9, %esi
jae LBB0_6
## %bb.12:
leaq (%rdx,%rdx), %rsi
jmp LBB0_13
LBB0_6:
movl %ecx, %esi
andl $7, %esi
movl $8, %edi
cmovneq %rsi, %rdi
subq %rdi, %rcx
leaq (%rcx,%rcx), %rsi
movq LCPI0_3(%rip), %xmm0 ## xmm0 = [0,2,4,6,8,10,12,14,0,0,0,0,0,0,0,0]
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movdqu 1(%r14,%rdx,2), %xmm1
pshufb %xmm0, %xmm1
movq %xmm1, (%rbx,%rdx)
addq $8, %rdx
cmpq %rdx, %rcx
jne LBB0_7
## %bb.8:
movq %rcx, %rdx
LBB0_13:
addq %rdx, %rbx
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movzbl 1(%r14,%rsi), %ecx
movb %cl, (%rbx)
addq $2, %rsi
incq %rbx
cmpq %rax, %rsi
jbe LBB0_14
## %bb.15:
movl (%r12), %eax
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_18
## %bb.17:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HPDF_LIMIT_MAX_NAME_LEN,4,2 ## @HPDF_LIMIT_MAX_NAME_LEN
.comm _HPDF_SEEK_SET,4,2 ## @HPDF_SEEK_SET
.comm _HPDF_OK,4,2 ## @HPDF_OK
.no_dead_strip _LoadUnicodeName
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function LoadUnicodeName
_LoadUnicodeName: ; @LoadUnicodeName
.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
sub sp, sp, #16
.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 x22, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _HPDF_LIMIT_MAX_NAME_LEN@GOTPAGEOFF]
stur x2, [x29, #-48]
Lloh5:
ldr w8, [x8]
mov w9, #1 ; =0x1
orr w9, w9, w8, lsl #1
add x10, x9, #15
and x12, x10, #0x1fffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x12
mov sp, x20
add w2, w8, #1
mov x0, x3
mov w1, #0 ; =0x0
bl _HPDF_MemSet
Lloh8:
adrp x8, _HPDF_SEEK_SET@GOTPAGE
Lloh9:
ldr x8, [x8, _HPDF_SEEK_SET@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x21
mov x1, x22
bl _HPDF_Stream_Seek
Lloh11:
adrp x22, _HPDF_OK@GOTPAGE
Lloh12:
ldr x22, [x22, _HPDF_OK@GOTPAGEOFF]
ldr w8, [x22]
cmp w0, w8
b.ne LBB0_15
; %bb.1:
sub x2, x29, #48
mov x0, x21
mov x1, x20
bl _HPDF_Stream_Read
ldr w8, [x22]
cmp w0, w8
b.ne LBB0_15
; %bb.2:
ldur x8, [x29, #-48]
cmp x8, #16
b.hs LBB0_4
; %bb.3:
mov x9, #0 ; =0x0
mov x11, #0 ; =0x0
b LBB0_12
LBB0_4:
lsr x10, x8, #1
add x11, x10, #1
cmp x8, #128
b.hs LBB0_6
; %bb.5:
mov x9, #0 ; =0x0
b LBB0_10
LBB0_6:
ands x9, x11, #0x3f
mov w12, #64 ; =0x40
csel x12, x12, x9, eq
sub x9, x11, x12
add x15, x20, #65
add x13, x19, #32
mov x14, x11
LBB0_7: ; =>This Inner Loop Header: Depth=1
sub x16, x15, #64
ld2.16b { v0, v1 }, [x16]
sub x16, x15, #32
ld2.16b { v2, v3 }, [x16]
add x16, x15, #128
ld2.16b { v4, v5 }, [x15], #32
ld2.16b { v6, v7 }, [x15]
stp q0, q2, [x13, #-32]
stp q4, q6, [x13], #64
sub x14, x14, #64
mov x15, x16
cmp x12, x14
b.ne LBB0_7
; %bb.8:
cmp x12, #9
b.hs LBB0_10
; %bb.9:
lsl x11, x9, #1
b LBB0_12
LBB0_10:
mov x14, x9
ands x9, x11, #0x7
mov w12, #8 ; =0x8
csel x15, x12, x9, eq
add x13, x20, x14, lsl #1
add x12, x19, x14
sub x9, x11, x15
lsl x11, x9, #1
add x13, x13, #1
mvn x10, x10
add x10, x10, x14
add x10, x10, x15
LBB0_11: ; =>This Inner Loop Header: Depth=1
ld2.8b { v0, v1 }, [x13], #16
str d0, [x12], #8
adds x10, x10, #8
b.ne LBB0_11
LBB0_12:
add x9, x19, x9
add x10, x20, #1
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x10, x11]
strb w12, [x9], #1
add x11, x11, #2
cmp x11, x8
b.ls LBB0_13
; %bb.14:
ldr w0, [x22]
LBB0_15:
ldur x8, [x29, #-40]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_17
; %bb.16:
sub sp, x29, #32
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_17:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _HPDF_LIMIT_MAX_NAME_LEN,4,2 ; @HPDF_LIMIT_MAX_NAME_LEN
.comm _HPDF_SEEK_SET,4,2 ; @HPDF_SEEK_SET
.comm _HPDF_OK,4,2 ; @HPDF_OK
.no_dead_strip _LoadUnicodeName
.subsections_via_symbols
| assembly_file_13609.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpc_decoder_synthese_filter_float ## -- Begin function mpc_decoder_synthese_filter_float
.p2align 4, 0x90
_mpc_decoder_synthese_filter_float: ## @mpc_decoder_synthese_filter_float
.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
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq 24(%rdi), %rsi
movq _MPC_V_MEM@GOTPCREL(%rip), %r12
movq (%r12), %rax
leaq (%rsi,%rax,4), %rdi
movl $3840, %edx ## imm = 0xF00
callq _memmove
movq (%r12), %rsi
shlq $2, %rsi
addq 24(%rbx), %rsi
movq 16(%rbx), %rax
movl (%rax), %edx
movq %r15, %rdi
movl %r14d, %ecx
callq _mpc_synthese_filter_float_internal
cmpl $2, %r14d
jl LBB0_1
## %bb.2:
movq 8(%rbx), %rsi
movq (%r12), %rax
leaq (%rsi,%rax,4), %rdi
movl $3840, %edx ## imm = 0xF00
callq _memmove
addq $4, %r15
movq (%r12), %rsi
shlq $2, %rsi
addq 8(%rbx), %rsi
movq (%rbx), %rax
movl (%rax), %edx
movq %r15, %rdi
movl %r14d, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _mpc_synthese_filter_float_internal ## TAILCALL
LBB0_1:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MPC_V_MEM,8,3 ## @MPC_V_MEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpc_decoder_synthese_filter_float ; -- Begin function mpc_decoder_synthese_filter_float
.p2align 2
_mpc_decoder_synthese_filter_float: ; @mpc_decoder_synthese_filter_float
.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 x21, x1
mov x20, x0
ldr x1, [x0, #24]
Lloh0:
adrp x22, _MPC_V_MEM@GOTPAGE
Lloh1:
ldr x22, [x22, _MPC_V_MEM@GOTPAGEOFF]
ldr x8, [x22]
add x0, x1, x8, lsl #2
mov w2, #3840
bl _memmove
ldr x8, [x22]
ldp x10, x9, [x20, #16]
add x1, x9, x8, lsl #2
ldr w2, [x10]
mov x0, x21
mov x3, x19
bl _mpc_synthese_filter_float_internal
cmp w19, #2
b.lt LBB0_2
; %bb.1:
ldr x1, [x20, #8]
ldr x8, [x22]
add x0, x1, x8, lsl #2
mov w2, #3840
bl _memmove
add x0, x21, #4
ldr x8, [x22]
ldp x10, x9, [x20]
add x1, x9, x8, lsl #2
ldr w2, [x10]
mov x3, 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 _mpc_synthese_filter_float_internal
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
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MPC_V_MEM,8,3 ; @MPC_V_MEM
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/mpcdec/extr_synth_filter.c_mpc_decoder_synthese_filter_float.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocfs2_dx_dir_rebalance_credits
_ocfs2_dx_dir_rebalance_credits: ## @ocfs2_dx_dir_rebalance_credits
.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
movl (%rdi), %edi
movl $3, %esi
callq _ocfs2_clusters_to_blocks
movl %eax, %r15d
movl (%r12), %edi
movq %r14, %rsi
callq _ocfs2_calc_extend_credits
movq %rax, %rbx
addl %r15d, %ebx
movl (%r12), %edi
callq _ocfs2_quota_trans_credits
addl %ebx, %eax
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ocfs2_dx_dir_rebalance_credits
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocfs2_dx_dir_rebalance_credits
_ocfs2_dx_dir_rebalance_credits: ; @ocfs2_dx_dir_rebalance_credits
.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
ldr w0, [x0]
mov w1, #3
bl _ocfs2_clusters_to_blocks
mov x21, x0
ldr w0, [x20]
mov x1, x19
bl _ocfs2_calc_extend_credits
add w19, w21, w0
ldr w0, [x20]
bl _ocfs2_quota_trans_credits
add w0, w19, w0
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
.no_dead_strip _ocfs2_dx_dir_rebalance_credits
.subsections_via_symbols
| AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_dx_dir_rebalance_credits.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bt856_write
_bt856_write: ## @bt856_write
.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, %r15
movq %rdi, %rbx
addq $8, %rdi
callq _v4l2_get_subdevdata
movq (%rbx), %rcx
movq _BT856_REG_OFFSET@GOTPCREL(%rip), %rdx
movq %r15, %rsi
subq (%rdx), %rsi
movq %r14, (%rcx,%rsi,8)
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _i2c_smbus_write_byte_data ## TAILCALL
.cfi_endproc
## -- End function
.comm _BT856_REG_OFFSET,8,3 ## @BT856_REG_OFFSET
.no_dead_strip _bt856_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bt856_write
_bt856_write: ; @bt856_write
.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
add x0, x0, #8
bl _v4l2_get_subdevdata
ldr x8, [x21]
Lloh0:
adrp x9, _BT856_REG_OFFSET@GOTPAGE
Lloh1:
ldr x9, [x9, _BT856_REG_OFFSET@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
sub x9, x20, x9
str x19, [x8, x9, lsl #3]
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
b _i2c_smbus_write_byte_data
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BT856_REG_OFFSET,8,3 ; @BT856_REG_OFFSET
.no_dead_strip _bt856_write
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/extr_bt856.c_bt856_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lookup_class_name
_lookup_class_name: ## @lookup_class_name
.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 (%rdi), %rbx
movq _FALSE@GOTPCREL(%rip), %r14
testq %rbx, %rbx
je LBB0_5
## %bb.1:
movq %rsi, %r15
movq _TRUE@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
movq %r15, %rsi
callq _strcmpiW
testl %eax, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_3
jmp LBB0_5
LBB0_4:
movq %r12, %r14
LBB0_5:
movl (%r14), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _lookup_class_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lookup_class_name
_lookup_class_name: ; @lookup_class_name
.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 x21, [x0]
cbz x21, LBB0_4
; %bb.1:
mov x19, x1
Lloh0:
adrp x22, _TRUE@GOTPAGE
Lloh1:
ldr x22, [x22, _TRUE@GOTPAGEOFF]
Lloh2:
adrp x20, _FALSE@GOTPAGE
Lloh3:
ldr x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21]
mov x1, x19
bl _strcmpiW
cbz w0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x21, [x21, #8]
cbnz x21, LBB0_2
b LBB0_6
LBB0_4:
Lloh4:
adrp x20, _FALSE@GOTPAGE
Lloh5:
ldr x20, [x20, _FALSE@GOTPAGEOFF]
b LBB0_6
LBB0_5:
mov x20, x22
LBB0_6:
ldr w0, [x20]
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _lookup_class_name
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/vbscript/extr_compile.c_lookup_class_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dump_bih
_dump_bih: ## @dump_bih
.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 %rdi, %rbx
movq _AV_LOG_DEBUG@GOTPCREL(%rip), %r13
movl (%r13), %esi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _av_log
movq _biSize@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.1(%rip), %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _dstruct
movq _biWidth@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.2(%rip), %r12
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
callq _dstruct
movq _biHeight@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
callq _dstruct
movq _biPlanes@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.3(%rip), %r12
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
callq _dstruct
movq _biBitCount@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
callq _dstruct
movq _biCompression@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _dstruct
movl (%r13), %esi
leaq L_.str.4(%rip), %rdx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq _av_log
movq _biSizeImage@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _dstruct
movq _biXPelsPerMeter@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _dstruct
movq _biYPelsPerMeter@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _dstruct
movq _biClrUsed@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _dstruct
movq _biClrImportant@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dstruct ## TAILCALL
.cfi_endproc
## -- End function
.comm _AV_LOG_DEBUG,4,2 ## @AV_LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "BITMAPINFOHEADER\n"
.comm _biSize,4,2 ## @biSize
L_.str.1: ## @.str.1
.asciz "lu"
.comm _biWidth,4,2 ## @biWidth
L_.str.2: ## @.str.2
.asciz "ld"
.comm _biHeight,4,2 ## @biHeight
.comm _biPlanes,4,2 ## @biPlanes
L_.str.3: ## @.str.3
.asciz "d"
.comm _biBitCount,4,2 ## @biBitCount
.comm _biCompression,4,2 ## @biCompression
L_.str.4: ## @.str.4
.asciz " biCompression:\t\"%.4s\"\n"
.comm _biSizeImage,4,2 ## @biSizeImage
.comm _biXPelsPerMeter,4,2 ## @biXPelsPerMeter
.comm _biYPelsPerMeter,4,2 ## @biYPelsPerMeter
.comm _biClrUsed,4,2 ## @biClrUsed
.comm _biClrImportant,4,2 ## @biClrImportant
.no_dead_strip _dump_bih
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dump_bih
_dump_bih: ; @dump_bih
.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, x1
mov x20, x0
Lloh0:
adrp x23, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
ldr x23, [x23, _AV_LOG_DEBUG@GOTPAGEOFF]
ldr w1, [x23]
Lloh2:
adrp x2, l_.str@PAGE
Lloh3:
add x2, x2, l_.str@PAGEOFF
bl _av_log
Lloh4:
adrp x8, _biSize@GOTPAGE
Lloh5:
ldr x8, [x8, _biSize@GOTPAGEOFF]
Lloh6:
ldr w2, [x8]
Lloh7:
adrp x21, l_.str.1@PAGE
Lloh8:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x20
mov x1, x19
mov x3, x21
bl _dstruct
Lloh9:
adrp x8, _biWidth@GOTPAGE
Lloh10:
ldr x8, [x8, _biWidth@GOTPAGEOFF]
Lloh11:
ldr w2, [x8]
Lloh12:
adrp x22, l_.str.2@PAGE
Lloh13:
add x22, x22, l_.str.2@PAGEOFF
mov x0, x20
mov x1, x19
mov x3, x22
bl _dstruct
Lloh14:
adrp x8, _biHeight@GOTPAGE
Lloh15:
ldr x8, [x8, _biHeight@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x22
bl _dstruct
Lloh17:
adrp x8, _biPlanes@GOTPAGE
Lloh18:
ldr x8, [x8, _biPlanes@GOTPAGEOFF]
Lloh19:
ldr w2, [x8]
Lloh20:
adrp x22, l_.str.3@PAGE
Lloh21:
add x22, x22, l_.str.3@PAGEOFF
mov x0, x20
mov x1, x19
mov x3, x22
bl _dstruct
Lloh22:
adrp x8, _biBitCount@GOTPAGE
Lloh23:
ldr x8, [x8, _biBitCount@GOTPAGEOFF]
Lloh24:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x22
bl _dstruct
Lloh25:
adrp x8, _biCompression@GOTPAGE
Lloh26:
ldr x8, [x8, _biCompression@GOTPAGEOFF]
Lloh27:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x21
bl _dstruct
ldr w1, [x23]
str x19, [sp]
Lloh28:
adrp x2, l_.str.4@PAGE
Lloh29:
add x2, x2, l_.str.4@PAGEOFF
mov x0, x20
bl _av_log
Lloh30:
adrp x8, _biSizeImage@GOTPAGE
Lloh31:
ldr x8, [x8, _biSizeImage@GOTPAGEOFF]
Lloh32:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x21
bl _dstruct
Lloh33:
adrp x8, _biXPelsPerMeter@GOTPAGE
Lloh34:
ldr x8, [x8, _biXPelsPerMeter@GOTPAGEOFF]
Lloh35:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x21
bl _dstruct
Lloh36:
adrp x8, _biYPelsPerMeter@GOTPAGE
Lloh37:
ldr x8, [x8, _biYPelsPerMeter@GOTPAGEOFF]
Lloh38:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x21
bl _dstruct
Lloh39:
adrp x8, _biClrUsed@GOTPAGE
Lloh40:
ldr x8, [x8, _biClrUsed@GOTPAGEOFF]
Lloh41:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x21
bl _dstruct
Lloh42:
adrp x8, _biClrImportant@GOTPAGE
Lloh43:
ldr x8, [x8, _biClrImportant@GOTPAGEOFF]
Lloh44:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, x21
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
b _dstruct
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _AV_LOG_DEBUG,4,2 ; @AV_LOG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "BITMAPINFOHEADER\n"
.comm _biSize,4,2 ; @biSize
l_.str.1: ; @.str.1
.asciz "lu"
.comm _biWidth,4,2 ; @biWidth
l_.str.2: ; @.str.2
.asciz "ld"
.comm _biHeight,4,2 ; @biHeight
.comm _biPlanes,4,2 ; @biPlanes
l_.str.3: ; @.str.3
.asciz "d"
.comm _biBitCount,4,2 ; @biBitCount
.comm _biCompression,4,2 ; @biCompression
l_.str.4: ; @.str.4
.asciz " biCompression:\t\"%.4s\"\n"
.comm _biSizeImage,4,2 ; @biSizeImage
.comm _biXPelsPerMeter,4,2 ; @biXPelsPerMeter
.comm _biYPelsPerMeter,4,2 ; @biYPelsPerMeter
.comm _biClrUsed,4,2 ; @biClrUsed
.comm _biClrImportant,4,2 ; @biClrImportant
.no_dead_strip _dump_bih
.subsections_via_symbols
| AnghaBench/FFmpeg/libavdevice/extr_vfwcap.c_dump_bih.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _THRealloc ## -- Begin function THRealloc
.p2align 4, 0x90
_THRealloc: ## @THRealloc
.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
movl %esi, %r14d
testq %rdi, %rdi
je LBB0_6
## %bb.1:
movq %rdi, %r15
testl %r14d, %r14d
je LBB0_7
## %bb.2:
jns LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _THError
LBB0_4:
movq %r15, %rdi
callq _getAllocSize
movl %eax, %ebx
movq %r15, %rdi
movl %r14d, %esi
callq _realloc
testq %rax, %rax
jne LBB0_5
## %bb.8:
movq _torchGCData@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _torchGCFunction
movq %r15, %rdi
movl %r14d, %esi
callq _realloc
testq %rax, %rax
je LBB0_10
LBB0_5:
movq %rax, %r12
LBB0_11:
movq %r12, %rdi
callq _getAllocSize
subl %ebx, %eax
movl %eax, %edi
callq _THHeapUpdate
jmp LBB0_12
LBB0_6:
movl %r14d, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _THAlloc ## TAILCALL
LBB0_7:
movq %r15, %rdi
callq _THFree
xorl %r12d, %r12d
LBB0_12:
movq %r12, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
leal 1073741823(%r14), %esi
testl %r14d, %r14d
cmovnsl %r14d, %esi
sarl $30, %esi
leaq L_.str.1(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _THError
jmp LBB0_11
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "$ Torch: invalid memory size ++ maybe an overflow?"
.comm _torchGCData,4,2 ## @torchGCData
L_.str.1: ## @.str.1
.asciz "$ Torch: not enough memory: you tried to reallocate %dGB. Buy new RAM!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _THRealloc ; -- Begin function THRealloc
.p2align 2
_THRealloc: ; @THRealloc
.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 x20, x1
cbz x0, LBB0_8
; %bb.1:
mov x21, x0
cbz w20, LBB0_9
; %bb.2:
tbz w20, #31, LBB0_4
; %bb.3:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _THError
LBB0_4:
mov x0, x21
bl _getAllocSize
mov x19, x0
mov x0, x21
mov x1, x20
bl _realloc
cbnz x0, LBB0_7
; %bb.5:
Lloh2:
adrp x8, _torchGCData@GOTPAGE
Lloh3:
ldr x8, [x8, _torchGCData@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
bl _torchGCFunction
mov x0, x21
mov x1, x20
bl _realloc
cbnz x0, LBB0_7
; %bb.6:
mov w8, #1073741823 ; =0x3fffffff
add w8, w20, w8
cmp w20, #0
csel w8, w8, w20, lt
asr w8, w8, #30
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _THError
mov x0, #0 ; =0x0
LBB0_7:
mov x20, x0
bl _getAllocSize
sub w0, w0, w19
bl _THHeapUpdate
mov x0, x20
b LBB0_10
LBB0_8:
mov x0, x20
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
b _THAlloc
LBB0_9:
mov x0, x21
bl _THFree
mov x0, #0 ; =0x0
LBB0_10:
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 Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "$ Torch: invalid memory size ++ maybe an overflow?"
.comm _torchGCData,4,2 ; @torchGCData
l_.str.1: ; @.str.1
.asciz "$ Torch: not enough memory: you tried to reallocate %dGB. Buy new RAM!"
.subsections_via_symbols
| assembly_file_173038.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xtensa_state_lookup ## -- Begin function xtensa_state_lookup
.p2align 4, 0x90
_xtensa_state_lookup: ## @xtensa_state_lookup
.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 $24, %rsp
.cfi_offset %rbx, -24
testq %rsi, %rsi
je LBB0_5
## %bb.1:
movq %rsi, %rbx
cmpb $0, (%rsi)
je LBB0_5
## %bb.2:
movq (%rdi), %rdx
testq %rdx, %rdx
je LBB0_6
## %bb.3:
movq %rbx, -24(%rbp)
movl 8(%rdi), %esi
movq _xtensa_isa_name_compare@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -24(%rbp), %rdi
movl $16, %ecx
callq _bsearch
testq %rax, %rax
je LBB0_6
## %bb.4:
addq $8, %rax
jmp LBB0_8
LBB0_5:
movq _xtensa_isa_bad_state@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _xtisa_errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _xtisa_error_msg@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _strcpy
jmp LBB0_7
LBB0_6:
movq _xtensa_isa_bad_state@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _xtisa_errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _xtisa_error_msg@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdx
callq _sprintf
LBB0_7:
movq _XTENSA_UNDEFINED@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _xtensa_isa_bad_state,4,2 ## @xtensa_isa_bad_state
.comm _xtisa_errno,4,2 ## @xtisa_errno
.comm _xtisa_error_msg,4,2 ## @xtisa_error_msg
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid state name"
.comm _XTENSA_UNDEFINED,4,2 ## @XTENSA_UNDEFINED
.comm _xtensa_isa_name_compare,4,2 ## @xtensa_isa_name_compare
L_.str.1: ## @.str.1
.asciz "state \"%s\" not recognized"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xtensa_state_lookup ; -- Begin function xtensa_state_lookup
.p2align 2
_xtensa_state_lookup: ; @xtensa_state_lookup
.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
cbz x1, LBB0_5
; %bb.1:
mov x19, x1
ldrb w8, [x1]
cbz w8, LBB0_5
; %bb.2:
ldr x2, [x0]
cbz x2, LBB0_6
; %bb.3:
str x19, [sp]
ldr w1, [x0, #8]
Lloh0:
adrp x8, _xtensa_isa_name_compare@GOTPAGE
Lloh1:
ldr x8, [x8, _xtensa_isa_name_compare@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
mov x0, sp
mov w3, #16
bl _bsearch
cbz x0, LBB0_6
; %bb.4:
add x8, x0, #8
b LBB0_8
LBB0_5:
Lloh3:
adrp x8, _xtensa_isa_bad_state@GOTPAGE
Lloh4:
ldr x8, [x8, _xtensa_isa_bad_state@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _xtisa_errno@GOTPAGE
Lloh7:
ldr x9, [x9, _xtisa_errno@GOTPAGEOFF]
Lloh8:
str w8, [x9]
Lloh9:
adrp x8, _xtisa_error_msg@GOTPAGE
Lloh10:
ldr x8, [x8, _xtisa_error_msg@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
b LBB0_7
LBB0_6:
Lloh14:
adrp x8, _xtensa_isa_bad_state@GOTPAGE
Lloh15:
ldr x8, [x8, _xtensa_isa_bad_state@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _xtisa_errno@GOTPAGE
Lloh18:
ldr x9, [x9, _xtisa_errno@GOTPAGEOFF]
Lloh19:
str w8, [x9]
Lloh20:
adrp x8, _xtisa_error_msg@GOTPAGE
Lloh21:
ldr x8, [x8, _xtisa_error_msg@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
Lloh23:
adrp x1, l_.str.1@PAGE
Lloh24:
add x1, x1, l_.str.1@PAGEOFF
mov x2, x19
bl _sprintf
LBB0_7:
Lloh25:
adrp x8, _XTENSA_UNDEFINED@GOTPAGE
Lloh26:
ldr x8, [x8, _XTENSA_UNDEFINED@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _xtensa_isa_bad_state,4,2 ; @xtensa_isa_bad_state
.comm _xtisa_errno,4,2 ; @xtisa_errno
.comm _xtisa_error_msg,4,2 ; @xtisa_error_msg
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid state name"
.comm _XTENSA_UNDEFINED,4,2 ; @XTENSA_UNDEFINED
.comm _xtensa_isa_name_compare,4,2 ; @xtensa_isa_name_compare
l_.str.1: ; @.str.1
.asciz "state \"%s\" not recognized"
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-isa.c_xtensa_state_lookup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sierra_net_get_link
_sierra_net_get_link: ## @sierra_net_get_link
.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 _netdev_priv
movq %rax, %rdi
callq _sierra_net_get_private
cmpq $0, (%rax)
je LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _netif_running
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sierra_net_get_link
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sierra_net_get_link
_sierra_net_get_link: ; @sierra_net_get_link
.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 _netdev_priv
bl _sierra_net_get_private
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
mov x0, x19
bl _netif_running
cmp x0, #0
cset w0, ne
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
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 _sierra_net_get_link
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/usb/extr_sierra_net.c_sierra_net_get_link.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _I2C_SlaveAddressConfig ## -- Begin function I2C_SlaveAddressConfig
.p2align 4, 0x90
_I2C_SlaveAddressConfig: ## @I2C_SlaveAddressConfig
.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
callq _IS_I2C_ALL_PERIPH
movl %eax, %edi
callq _assert_param
movq %rbx, %rdi
callq _IS_I2C_SLAVE_ADDRESS
movl %eax, %edi
callq _assert_param
movl (%r14), %eax
movq _I2C_CR2_SADD@GOTPCREL(%rip), %rcx
xorl %eax, %ebx
andl (%rcx), %ebx
xorl %eax, %ebx
movl %ebx, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _I2C_CR2_SADD,4,2 ## @I2C_CR2_SADD
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _I2C_SlaveAddressConfig ; -- Begin function I2C_SlaveAddressConfig
.p2align 2
_I2C_SlaveAddressConfig: ; @I2C_SlaveAddressConfig
.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 _IS_I2C_ALL_PERIPH
bl _assert_param
mov x0, x19
bl _IS_I2C_SLAVE_ADDRESS
bl _assert_param
Lloh0:
adrp x8, _I2C_CR2_SADD@GOTPAGE
Lloh1:
ldr x8, [x8, _I2C_CR2_SADD@GOTPAGEOFF]
ldr w9, [x20]
Lloh2:
ldr w8, [x8]
bic w9, w9, w8
and w8, w8, w19
orr w8, w9, w8
str w8, [x20]
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 _I2C_CR2_SADD,4,2 ; @I2C_CR2_SADD
.subsections_via_symbols
| AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_i2c.c_I2C_SlaveAddressConfig.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function m68k_op_ori_32_ai
_m68k_op_ori_32_ai: ## @m68k_op_ori_32_ai
.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
xorl %eax, %eax
callq _OPER_I_32
movl %eax, %r14d
xorl %eax, %eax
callq _EA_AY_AI_32
movl %eax, %r15d
movl %eax, %edi
callq _m68ki_read_32
movl %eax, %ebx
orl %r14d, %ebx
movl %r15d, %edi
movl %ebx, %esi
callq _m68ki_write_32
movl %ebx, %edi
callq _NFLAG_32
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.no_dead_strip _m68k_op_ori_32_ai
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function m68k_op_ori_32_ai
_m68k_op_ori_32_ai: ; @m68k_op_ori_32_ai
.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 _OPER_I_32
mov x19, x0
bl _EA_AY_AI_32
mov x20, x0
bl _m68ki_read_32
orr w19, w0, w19
mov x0, x20
mov x1, x19
bl _m68ki_write_32
mov x0, x19
bl _NFLAG_32
Lloh0:
adrp x8, _FLAG_N@GOTPAGE
Lloh1:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh2:
str w0, [x8]
Lloh3:
adrp x8, _FLAG_Z@GOTPAGE
Lloh4:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh5:
str w19, [x8]
Lloh6:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh7:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FLAG_C@GOTPAGE
Lloh10:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh11:
str w8, [x9]
Lloh12:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh13:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _FLAG_V@GOTPAGE
Lloh16:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh17:
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.no_dead_strip _m68k_op_ori_32_ai
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_ori_32_ai.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/200143076.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aq_fw1x_set_power
_aq_fw1x_set_power: ## @aq_fw1x_set_power
.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 $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq $0, -24(%rbp)
movq (%rdi), %rax
movq _AQ_NIC_WOL_ENABLED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_4
## %bb.1:
movq %r14, %rdi
movl $1, %esi
callq _aq_fw1x_set_wol
testl %eax, %eax
js LBB0_7
## %bb.2:
leaq -24(%rbp), %rsi
movq %r14, %rdi
callq _hw_atl_utils_fw_rpc_wait
testl %eax, %eax
js LBB0_7
## %bb.3:
movq -24(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movq _HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -24(%rbp), %rcx
movl %eax, 4(%rcx)
movl $2, (%rcx)
movq %r14, %rdi
movl $8, %esi
callq _hw_atl_utils_fw_rpc_call
movl %eax, %ebx
testl %eax, %eax
jns LBB0_5
jmp LBB0_8
LBB0_4:
xorl %ebx, %ebx
LBB0_5:
movq %r14, %rdi
xorl %esi, %esi
callq _hw_atl_utils_mpi_set_speed
movq _MPI_POWER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _hw_atl_utils_mpi_set_state
jmp LBB0_8
LBB0_7:
movl %eax, %ebx
LBB0_8:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AQ_NIC_WOL_ENABLED,4,2 ## @AQ_NIC_WOL_ENABLED
.comm _HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP,4,2 ## @HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP
.comm _MPI_POWER,4,2 ## @MPI_POWER
.no_dead_strip _aq_fw1x_set_power
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aq_fw1x_set_power
_aq_fw1x_set_power: ; @aq_fw1x_set_power
.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
str xzr, [sp, #8]
ldr x8, [x0]
ldr w8, [x8]
Lloh0:
adrp x9, _AQ_NIC_WOL_ENABLED@GOTPAGE
Lloh1:
ldr x9, [x9, _AQ_NIC_WOL_ENABLED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.1:
mov x0, x19
mov w1, #1
bl _aq_fw1x_set_wol
tbnz w0, #31, LBB0_6
; %bb.2:
add x1, sp, #8
mov x0, x19
bl _hw_atl_utils_fw_rpc_wait
tbnz w0, #31, LBB0_6
; %bb.3:
ldr x0, [sp, #8]
mov w1, #0
mov w2, #8
bl _memset
Lloh3:
adrp x8, _HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP@GOTPAGE
Lloh4:
ldr x8, [x8, _HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr x9, [sp, #8]
mov w10, #2
stp w10, w8, [x9]
mov x0, x19
mov w1, #8
bl _hw_atl_utils_fw_rpc_call
mov x20, x0
tbz w0, #31, LBB0_5
b LBB0_7
LBB0_4:
mov w20, #0
LBB0_5:
mov x0, x19
mov w1, #0
bl _hw_atl_utils_mpi_set_speed
Lloh6:
adrp x8, _MPI_POWER@GOTPAGE
Lloh7:
ldr x8, [x8, _MPI_POWER@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _hw_atl_utils_mpi_set_state
b LBB0_7
LBB0_6:
mov x20, x0
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _AQ_NIC_WOL_ENABLED,4,2 ; @AQ_NIC_WOL_ENABLED
.comm _HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP,4,2 ; @HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP
.comm _MPI_POWER,4,2 ; @MPI_POWER
.no_dead_strip _aq_fw1x_set_power
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_utils.c_aq_fw1x_set_power.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function read_specs
_read_specs: ## @read_specs
.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
movl %esi, -60(%rbp) ## 4-byte Spill
movq %rdi, -112(%rbp) ## 8-byte Spill
callq _load_specs
movq %rax, %r15
movl $17, %ecx
subq %rax, %rcx
movq %rcx, -96(%rbp) ## 8-byte Spill
movq %rax, %rcx
negq %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movl $1, %ecx
subq %rax, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_1
LBB0_77: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r12), %rax
leaq L_.str.9(%rip), %rcx
movq %rcx, (%rax)
movq $0, 24(%r12)
movq -72(%rbp), %r15 ## 8-byte Reload
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_37 Depth 2
## Child Loop BB0_44 Depth 2
## Child Loop BB0_50 Depth 2
## Child Loop BB0_57 Depth 2
## Child Loop BB0_63 Depth 2
## Child Loop BB0_69 Depth 2
## Child Loop BB0_24 Depth 2
## Child Loop BB0_80 Depth 2
## Child Loop BB0_87 Depth 2
## Child Loop BB0_93 Depth 2
## Child Loop BB0_96 Depth 2
## Child Loop BB0_105 Depth 3
movq %r15, %rdi
callq _skip_whitespace
movq %rax, %r15
movzbl (%rax), %eax
testb %al, %al
je LBB0_1
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpb $37, %al
jne LBB0_3
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movb $37, %al
movq %r15, %r13
movq -48(%rbp), %r12 ## 8-byte Reload
testb %al, %al
je LBB0_9
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl %al, %eax
cmpl $10, %eax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movzbl -1(%r13), %eax
decq %r13
testb %al, %al
jne LBB0_7
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
leaq L_.str(%rip), %rsi
movl $8, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_20
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movzbl 8(%r15), %eax
cmpl $32, %eax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
cmpl $9, %eax
je LBB0_12
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
leaq 1(%r13), %rbx
movq %r15, %rdi
leaq L_.str.2(%rip), %rsi
movl $14, %edx
callq _strncmp
testl %eax, %eax
je LBB0_21
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
leaq L_.str.4(%rip), %rsi
movl $7, %edx
callq _strncmp
testl %eax, %eax
je LBB0_34
LBB0_78: ## in Loop: Header=BB0_1 Depth=1
subq %r12, %r15
leaq L_.str.10(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _fatal
jmp LBB0_79
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rbx
movq -48(%rbp), %r12 ## 8-byte Reload
LBB0_79: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rbx), %rsi
movq %rbx, %r14
.p2align 4, 0x90
LBB0_80: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r14), %eax
testl %eax, %eax
je LBB0_84
## %bb.81: ## in Loop: Header=BB0_80 Depth=2
cmpl $10, %eax
je LBB0_84
## %bb.82: ## in Loop: Header=BB0_80 Depth=2
cmpl $58, %eax
je LBB0_85
## %bb.83: ## in Loop: Header=BB0_80 Depth=2
incq %r14
incq %rsi
jmp LBB0_80
.p2align 4, 0x90
LBB0_84: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _fatal
LBB0_85: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rsi
cmpq %r12, %r14
jb LBB0_90
## %bb.86: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rsi
jmp LBB0_87
.p2align 4, 0x90
LBB0_89: ## in Loop: Header=BB0_87 Depth=2
decq %rsi
cmpq %r12, %rsi
jb LBB0_90
LBB0_87: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -1(%rsi), %eax
cmpl $32, %eax
je LBB0_89
## %bb.88: ## in Loop: Header=BB0_87 Depth=2
cmpl $9, %eax
je LBB0_89
.p2align 4, 0x90
LBB0_90: ## in Loop: Header=BB0_1 Depth=1
subl %ebx, %esi
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
callq _save_string
movq %rax, %rbx
incq %r14
movq %r14, %rdi
callq _skip_whitespace
movq %rax, %r15
cmpb $0, 1(%rax)
jne LBB0_92
## %bb.91: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rsi
subq %r12, %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _fatal
LBB0_92: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
jmp LBB0_93
.p2align 4, 0x90
LBB0_94: ## in Loop: Header=BB0_93 Depth=2
testl %eax, %eax
je LBB0_95
LBB0_102: ## in Loop: Header=BB0_93 Depth=2
incq %r12
LBB0_93: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r15,%r12), %eax
cmpl $10, %eax
jne LBB0_94
## %bb.100: ## in Loop: Header=BB0_93 Depth=2
movzbl 1(%r15,%r12), %eax
testl %eax, %eax
je LBB0_95
## %bb.101: ## in Loop: Header=BB0_93 Depth=2
cmpl $10, %eax
jne LBB0_102
LBB0_95: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movl %r12d, %esi
callq _save_string
movq %rax, %r14
addq %r12, %r15
movq %rax, %rcx
.p2align 4, 0x90
LBB0_96: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_105 Depth 3
movzbl (%rcx), %edx
cmpl $35, %edx
je LBB0_105
## %bb.97: ## in Loop: Header=BB0_96 Depth=2
cmpl $92, %edx
jne LBB0_98
## %bb.103: ## in Loop: Header=BB0_96 Depth=2
cmpb $10, 1(%rcx)
jne LBB0_99
## %bb.104: ## in Loop: Header=BB0_96 Depth=2
addq $2, %rcx
jmp LBB0_96
.p2align 4, 0x90
LBB0_107: ## in Loop: Header=BB0_105 Depth=3
movzbl 1(%rcx), %edx
incq %rcx
LBB0_105: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_96 Depth=2
## => This Inner Loop Header: Depth=3
movzbl %dl, %edx
testb %dl, %dl
je LBB0_96
## %bb.106: ## in Loop: Header=BB0_105 Depth=3
cmpl $10, %edx
jne LBB0_107
jmp LBB0_96
LBB0_98: ## in Loop: Header=BB0_96 Depth=2
testl %edx, %edx
je LBB0_108
LBB0_99: ## in Loop: Header=BB0_96 Depth=2
incq %rcx
movb %dl, (%rax)
incq %rax
jmp LBB0_96
.p2align 4, 0x90
LBB0_108: ## in Loop: Header=BB0_1 Depth=1
movb $0, (%rax)
cmpb $42, (%rbx)
jne LBB0_112
## %bb.109: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_110
## %bb.111: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
incq %rdi
movq %r14, %rsi
callq _set_spec
cmpb $0, (%rbx)
jne LBB0_1
jmp LBB0_114
.p2align 4, 0x90
LBB0_112: ## in Loop: Header=BB0_1 Depth=1
movq _compilers@GOTPCREL(%rip), %r12
movq (%r12), %rdi
movq _n_compilers@GOTPCREL(%rip), %r13
movl (%r13), %eax
leal 8(,%rax,4), %esi
callq _xrealloc
movq %rax, (%r12)
movslq (%r13), %rdi
movq %rdi, %rcx
shlq $4, %rcx
movq %rbx, (%rax,%rcx)
movq (%r12), %rax
movq %r14, 8(%rax,%rcx)
incq %rdi
movl %edi, (%r13)
shlq $4, %rdi
addq (%r12), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
cmpb $0, (%rbx)
jne LBB0_1
jmp LBB0_114
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movzbl 14(%r15), %eax
cmpl $32, %eax
je LBB0_23
## %bb.22: ## in Loop: Header=BB0_1 Depth=1
cmpl $9, %eax
jne LBB0_33
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %r14
movq -96(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r15), %rsi
addq $16, %r15
movq %r15, %rbx
jmp LBB0_24
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_24 Depth=2
incq %rbx
incq %rsi
LBB0_24: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -1(%rbx), %eax
cmpl $32, %eax
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_24 Depth=2
cmpl $9, %eax
je LBB0_26
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
cmpb $60, %al
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_1 Depth=1
cmpb $62, -1(%r13)
je LBB0_30
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _fatal
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
movb $0, -1(%r13)
movq _R_OK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _startfile_prefixes@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
movl $1, %ecx
callq _find_a_file
testq %rax, %rax
jne LBB0_115
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movq _verbose_flag@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq %r14, %r15
je LBB0_1
## %bb.32: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _notice
movq %r14, %r15
jmp LBB0_1
LBB0_110: ## in Loop: Header=BB0_1 Depth=1
movq _link_command_spec@GOTPCREL(%rip), %rax
movq %r14, (%rax)
cmpb $0, (%rbx)
jne LBB0_1
LBB0_114: ## in Loop: Header=BB0_1 Depth=1
movq _link_command_spec@GOTPCREL(%rip), %rax
movq %r14, (%rax)
jmp LBB0_1
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
movzbl 7(%r15), %eax
cmpl $32, %eax
je LBB0_36
## %bb.35: ## in Loop: Header=BB0_1 Depth=1
cmpl $9, %eax
jne LBB0_78
LBB0_36: ## in Loop: Header=BB0_1 Depth=1
leaq 8(%r15), %r14
movq $-8, %rcx
jmp LBB0_37
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_37 Depth=2
incq %r14
decq %rcx
LBB0_37: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r14), %eax
cmpl $32, %eax
je LBB0_39
## %bb.38: ## in Loop: Header=BB0_37 Depth=2
cmpl $9, %eax
je LBB0_39
## %bb.40: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, -72(%rbp) ## 8-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
movzbl %al, %edi
callq _ISALPHA
testl %eax, %eax
jne LBB0_42
## %bb.41: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rsi
addq -80(%rbp), %rsi ## 8-byte Folded Reload
subq -56(%rbp), %rsi ## 8-byte Folded Reload
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _fatal
LBB0_42: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r14), %eax
movq %r14, %rcx
testb %al, %al
je LBB0_48
## %bb.43: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rcx
.p2align 4, 0x90
LBB0_44: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %rbx
movzbl %al, %edi
callq _ISSPACE
movq %rbx, %rcx
testl %eax, %eax
jne LBB0_46
## %bb.45: ## in Loop: Header=BB0_44 Depth=2
movzbl 1(%rbx), %eax
incq %rcx
testb %al, %al
jne LBB0_44
jmp LBB0_48
LBB0_46: ## in Loop: Header=BB0_1 Depth=1
movzbl (%rbx), %eax
cmpl $9, %eax
je LBB0_49
## %bb.47: ## in Loop: Header=BB0_1 Depth=1
cmpl $32, %eax
je LBB0_49
LBB0_48: ## in Loop: Header=BB0_1 Depth=1
movq %rcx, %rbx
movq %rcx, %rsi
subq %r12, %rsi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _fatal
movq %rbx, %rcx
LBB0_49: ## in Loop: Header=BB0_1 Depth=1
movb $0, (%rcx)
leaq 1(%rcx), %rbx
movq -88(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx), %r12
jmp LBB0_50
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_50 Depth=2
incq %rbx
incq %r12
LBB0_50: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rbx), %eax
cmpl $32, %eax
je LBB0_52
## %bb.51: ## in Loop: Header=BB0_50 Depth=2
cmpl $9, %eax
je LBB0_52
## %bb.53: ## in Loop: Header=BB0_1 Depth=1
movq %rcx, -104(%rbp) ## 8-byte Spill
movzbl %al, %edi
callq _ISALPHA
testl %eax, %eax
jne LBB0_55
## %bb.54: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _fatal
LBB0_55: ## in Loop: Header=BB0_1 Depth=1
movzbl (%rbx), %eax
movq %rbx, %r12
testb %al, %al
je LBB0_59
## %bb.56: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %r12
.p2align 4, 0x90
LBB0_57: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movzbl %al, %edi
callq _ISSPACE
testl %eax, %eax
jne LBB0_59
## %bb.58: ## in Loop: Header=BB0_57 Depth=2
movzbl 1(%r12), %eax
incq %r12
testb %al, %al
jne LBB0_57
LBB0_59: ## in Loop: Header=BB0_1 Depth=1
cmpq %r12, %r13
je LBB0_61
## %bb.60: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rsi
subq -48(%rbp), %rsi ## 8-byte Folded Reload
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _fatal
LBB0_61: ## in Loop: Header=BB0_1 Depth=1
movb $0, (%r12)
movq _specs@GOTPCREL(%rip), %rax
movq (%rax), %r12
testq %r12, %r12
movq -56(%rbp), %rcx ## 8-byte Reload
movq -104(%rbp), %r13 ## 8-byte Reload
je LBB0_66
## %bb.62: ## in Loop: Header=BB0_1 Depth=1
negl %r13d
jmp LBB0_63
.p2align 4, 0x90
LBB0_65: ## in Loop: Header=BB0_63 Depth=2
movq 32(%r12), %r12
testq %r12, %r12
je LBB0_66
LBB0_63: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r12), %eax
addl %r13d, %eax
addl %r15d, %eax
cmpl %ecx, %eax
jne LBB0_65
## %bb.64: ## in Loop: Header=BB0_63 Depth=2
movq 8(%r12), %rdi
movq %r14, %rsi
callq _strcmp
movq -56(%rbp), %rcx ## 8-byte Reload
testq %rax, %rax
jne LBB0_65
jmp LBB0_67
LBB0_66: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.6(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _fatal
xorl %r12d, %r12d
LBB0_67: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _strcmp
movq -72(%rbp), %r15 ## 8-byte Reload
testq %rax, %rax
je LBB0_1
## %bb.68: ## in Loop: Header=BB0_1 Depth=1
movq _specs@GOTPCREL(%rip), %rax
movq (%rax), %r15
jmp LBB0_69
.p2align 4, 0x90
LBB0_72: ## in Loop: Header=BB0_69 Depth=2
movq 32(%r15), %r15
LBB0_69: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
testq %r15, %r15
je LBB0_73
## %bb.70: ## in Loop: Header=BB0_69 Depth=2
movq 8(%r15), %rdi
movq %rbx, %rsi
callq _strcmp
testq %rax, %rax
jne LBB0_72
## %bb.71: ## in Loop: Header=BB0_69 Depth=2
leaq L_.str.7(%rip), %rdi
movq -112(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq _fatal
jmp LBB0_72
LBB0_73: ## in Loop: Header=BB0_1 Depth=1
movq _verbose_flag@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_75
## %bb.74: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.8(%rip), %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _notice
LBB0_75: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r12), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _set_spec
cmpq $0, 24(%r12)
je LBB0_77
## %bb.76: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r12), %rax
movq (%rax), %rdi
callq _free
jmp LBB0_77
LBB0_12:
leaq 10(%r15), %rbx
subq %r12, %r15
addq $11, %r15
jmp LBB0_13
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_13 Depth=1
incq %rbx
incq %r15
LBB0_13: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rbx), %eax
cmpl $32, %eax
je LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
cmpl $9, %eax
je LBB0_15
## %bb.16:
cmpb $60, %al
jne LBB0_18
## %bb.17:
cmpb $62, -1(%r13)
je LBB0_19
LBB0_18:
leaq L_.str.1(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _fatal
LBB0_19:
movb $0, -1(%r13)
movq _R_OK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _startfile_prefixes@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
movl $1, %ecx
callq _find_a_file
testq %rax, %rax
cmovneq %rax, %rbx
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _read_specs
LBB0_115:
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _read_specs
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%include"
L_.str.1: ## @.str.1
.asciz "specs %%include syntax malformed after %ld characters"
.comm _startfile_prefixes,4,2 ## @startfile_prefixes
.comm _R_OK,4,2 ## @R_OK
.comm _FALSE,4,2 ## @FALSE
L_.str.2: ## @.str.2
.asciz "%include_noerr"
.comm _verbose_flag,8,3 ## @verbose_flag
L_.str.3: ## @.str.3
.asciz "could not find specs file %s\n"
L_.str.4: ## @.str.4
.asciz "%rename"
L_.str.5: ## @.str.5
.asciz "specs %%rename syntax malformed after %ld characters"
.comm _specs,8,3 ## @specs
L_.str.6: ## @.str.6
.asciz "specs %s spec was not found to be renamed"
L_.str.7: ## @.str.7
.asciz "%s: attempt to rename spec '%s' to already defined spec '%s'"
L_.str.8: ## @.str.8
.asciz "rename spec %s to %s\n"
L_.str.9: ## @.str.9
.space 1
L_.str.10: ## @.str.10
.asciz "specs unknown %% command after %ld characters"
L_.str.11: ## @.str.11
.asciz "specs file malformed after %ld characters"
L_.str.12: ## @.str.12
.asciz "*link_command"
.comm _link_command_spec,8,3 ## @link_command_spec
.comm _compilers,8,3 ## @compilers
.comm _n_compilers,4,2 ## @n_compilers
.no_dead_strip _read_specs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function read_specs
_read_specs: ; @read_specs
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x19, x1
mov x24, x0
bl _load_specs
mov x21, x0
mov w8, #17 ; =0x11
sub x8, x8, x0
stp x24, x8, [sp, #48] ; 16-byte Folded Spill
mov w8, #8 ; =0x8
sub x8, x8, x0
str x8, [sp, #40] ; 8-byte Folded Spill
mov w8, #1 ; =0x1
sub x8, x8, x0
str x8, [sp, #32] ; 8-byte Folded Spill
Lloh0:
adrp x25, l_.str.11@PAGE
Lloh1:
add x25, x25, l_.str.11@PAGEOFF
neg x22, x0
mov x23, x0
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
Lloh2:
adrp x8, _link_command_spec@GOTPAGE
Lloh3:
ldr x8, [x8, _link_command_spec@GOTPAGEOFF]
Lloh4:
str x26, [x8]
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_31 Depth 2
; Child Loop BB0_65 Depth 2
; Child Loop BB0_71 Depth 2
; Child Loop BB0_77 Depth 2
; Child Loop BB0_84 Depth 2
; Child Loop BB0_94 Depth 2
; Child Loop BB0_26 Depth 2
; Child Loop BB0_15 Depth 2
; Child Loop BB0_21 Depth 2
; Child Loop BB0_39 Depth 2
; Child Loop BB0_42 Depth 2
; Child Loop BB0_47 Depth 3
mov x0, x23
bl _skip_whitespace
mov x23, x0
ldrb w8, [x0]
cbz w8, LBB0_2
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cbnz w19, LBB0_13
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #37
b.ne LBB0_13
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov x28, x23
ands w8, w8, #0xff
b.eq LBB0_8
LBB0_6: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp w8, #10
b.eq LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldrb w8, [x28, #-1]!
ands w8, w8, #0xff
b.ne LBB0_6
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
mov x0, x23
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov w2, #8 ; =0x8
bl _strncmp
cbnz w0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x23, #8]
cmp w8, #32
ccmp w8, #9, #4, ne
b.eq LBB0_96
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
add x20, x28, #1
mov x0, x23
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
mov w2, #14 ; =0xe
bl _strncmp
cbz w0, LBB0_23
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
mov x0, x23
Lloh9:
adrp x1, l_.str.4@PAGE
Lloh10:
add x1, x1, l_.str.4@PAGEOFF
mov w2, #7 ; =0x7
bl _strncmp
cbz w0, LBB0_28
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
sub x8, x23, x21
str x8, [sp]
Lloh11:
adrp x0, l_.str.10@PAGE
Lloh12:
add x0, x0, l_.str.10@PAGEOFF
bl _fatal
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_2 Depth=1
mov x20, x23
LBB0_14: ; in Loop: Header=BB0_2 Depth=1
add x8, x22, x20
mov x23, x20
LBB0_15: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x23]
cmp w9, #0
ccmp w9, #10, #4, ne
b.eq LBB0_18
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
cmp w9, #58
b.eq LBB0_19
; %bb.17: ; in Loop: Header=BB0_15 Depth=2
add x23, x23, #1
add x8, x8, #1
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
mov x0, x25
bl _fatal
LBB0_19: ; in Loop: Header=BB0_2 Depth=1
mov x8, x23
cmp x23, x21
b.lo LBB0_34
; %bb.20: ; in Loop: Header=BB0_2 Depth=1
mov x9, x23
mov x8, x23
LBB0_21: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x8, #-1]!
cmp w10, #32
ccmp w10, #9, #4, ne
b.ne LBB0_33
; %bb.22: ; in Loop: Header=BB0_21 Depth=2
mov x9, x8
cmp x8, x21
b.hs LBB0_21
b LBB0_34
LBB0_23: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x23, #14]
cmp w8, #32
b.eq LBB0_25
; %bb.24: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #9
b.ne LBB0_11
LBB0_25: ; in Loop: Header=BB0_2 Depth=1
add x26, x23, #16
ldr x8, [sp, #56] ; 8-byte Folded Reload
add x8, x8, x23
LBB0_26: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldurb w9, [x26, #-1]
cmp w9, #32
ccmp w9, #9, #4, ne
b.ne LBB0_55
; %bb.27: ; in Loop: Header=BB0_26 Depth=2
add x26, x26, #1
add x8, x8, #1
b LBB0_26
LBB0_28: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x23, #7]
cmp w8, #32
b.eq LBB0_30
; %bb.29: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #9
b.ne LBB0_12
LBB0_30: ; in Loop: Header=BB0_2 Depth=1
add x27, x23, #8
ldr x8, [sp, #40] ; 8-byte Folded Reload
add x24, x8, x23
add w23, w23, #8
LBB0_31: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x27]
cmp w0, #32
ccmp w0, #9, #4, ne
b.ne LBB0_61
; %bb.32: ; in Loop: Header=BB0_31 Depth=2
add x27, x27, #1
add x24, x24, #1
add w23, w23, #1
b LBB0_31
LBB0_33: ; in Loop: Header=BB0_2 Depth=1
mov x8, x9
LBB0_34: ; in Loop: Header=BB0_2 Depth=1
sub w1, w8, w20
mov x0, x20
bl _save_string
mov x20, x0
add x0, x23, #1
bl _skip_whitespace
mov x27, x0
ldrb w8, [x0, #1]
cbnz w8, LBB0_36
; %bb.35: ; in Loop: Header=BB0_2 Depth=1
sub x8, x27, x21
str x8, [sp]
mov x0, x25
bl _fatal
LBB0_36: ; in Loop: Header=BB0_2 Depth=1
mov x28, #0 ; =0x0
b LBB0_39
LBB0_37: ; in Loop: Header=BB0_39 Depth=2
cbz w8, LBB0_41
LBB0_38: ; in Loop: Header=BB0_39 Depth=2
add x28, x28, #1
LBB0_39: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x27, x28]
cmp w8, #10
b.ne LBB0_37
; %bb.40: ; in Loop: Header=BB0_39 Depth=2
add x8, x27, x28
ldrb w8, [x8, #1]
cmp w8, #0
ccmp w8, #10, #4, ne
b.ne LBB0_38
LBB0_41: ; in Loop: Header=BB0_2 Depth=1
mov x0, x27
mov x1, x28
bl _save_string
mov x26, x0
add x23, x27, x28
mov x8, x0
mov x9, x0
LBB0_42: ; Parent Loop BB0_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_47 Depth 3
ldrb w10, [x9]
cmp w10, #35
b.eq LBB0_47
; %bb.43: ; in Loop: Header=BB0_42 Depth=2
cmp w10, #92
b.ne LBB0_48
; %bb.44: ; in Loop: Header=BB0_42 Depth=2
ldrb w11, [x9, #1]
cmp w11, #10
b.ne LBB0_49
; %bb.45: ; in Loop: Header=BB0_42 Depth=2
add x9, x9, #2
b LBB0_42
LBB0_46: ; in Loop: Header=BB0_47 Depth=3
ldrb w10, [x9, #1]!
LBB0_47: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_42 Depth=2
; => This Inner Loop Header: Depth=3
and w10, w10, #0xff
cmp w10, #0
ccmp w10, #10, #4, ne
b.ne LBB0_46
b LBB0_42
LBB0_48: ; in Loop: Header=BB0_42 Depth=2
cbz w10, LBB0_50
LBB0_49: ; in Loop: Header=BB0_42 Depth=2
add x9, x9, #1
strb w10, [x8], #1
b LBB0_42
LBB0_50: ; in Loop: Header=BB0_2 Depth=1
strb wzr, [x8]
ldrb w8, [x20]
cmp w8, #42
b.ne LBB0_53
; %bb.51: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
Lloh13:
adrp x1, l_.str.12@PAGE
Lloh14:
add x1, x1, l_.str.12@PAGEOFF
bl _strcmp
cbz x0, LBB0_54
; %bb.52: ; in Loop: Header=BB0_2 Depth=1
add x0, x20, #1
mov x1, x26
bl _set_spec
ldrb w8, [x20]
cbnz w8, LBB0_2
b LBB0_1
LBB0_53: ; in Loop: Header=BB0_2 Depth=1
Lloh15:
adrp x27, _compilers@GOTPAGE
Lloh16:
ldr x27, [x27, _compilers@GOTPAGEOFF]
ldr x0, [x27]
Lloh17:
adrp x28, _n_compilers@GOTPAGE
Lloh18:
ldr x28, [x28, _n_compilers@GOTPAGEOFF]
ldr w8, [x28]
lsl w8, w8, #2
add w1, w8, #8
bl _xrealloc
str x0, [x27]
ldrsw x8, [x28]
lsl x9, x8, #4
str x20, [x0, x9]
ldr x10, [x27]
add x9, x10, x9
str x26, [x9, #8]
add x8, x8, #1
str w8, [x28]
ldr x9, [x27]
add x0, x9, x8, lsl #4
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _memset
ldrb w8, [x20]
cbnz w8, LBB0_2
b LBB0_1
LBB0_54: ; in Loop: Header=BB0_2 Depth=1
Lloh19:
adrp x8, _link_command_spec@GOTPAGE
Lloh20:
ldr x8, [x8, _link_command_spec@GOTPAGEOFF]
Lloh21:
str x26, [x8]
ldrb w8, [x20]
cbnz w8, LBB0_2
b LBB0_1
LBB0_55: ; in Loop: Header=BB0_2 Depth=1
cmp w9, #60
b.ne LBB0_57
; %bb.56: ; in Loop: Header=BB0_2 Depth=1
ldurb w9, [x28, #-1]
cmp w9, #62
b.eq LBB0_58
LBB0_57: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh22:
adrp x0, l_.str.1@PAGE
Lloh23:
add x0, x0, l_.str.1@PAGEOFF
bl _fatal
LBB0_58: ; in Loop: Header=BB0_2 Depth=1
sturb wzr, [x28, #-1]
Lloh24:
adrp x8, _R_OK@GOTPAGE
Lloh25:
ldr x8, [x8, _R_OK@GOTPAGEOFF]
Lloh26:
ldr w2, [x8]
Lloh27:
adrp x0, _startfile_prefixes@GOTPAGE
Lloh28:
ldr x0, [x0, _startfile_prefixes@GOTPAGEOFF]
mov x1, x26
mov w3, #1 ; =0x1
bl _find_a_file
cbnz x0, LBB0_103
; %bb.59: ; in Loop: Header=BB0_2 Depth=1
Lloh29:
adrp x8, _verbose_flag@GOTPAGE
Lloh30:
ldr x8, [x8, _verbose_flag@GOTPAGEOFF]
Lloh31:
ldr x8, [x8]
mov x23, x20
cbz x8, LBB0_2
; %bb.60: ; in Loop: Header=BB0_2 Depth=1
Lloh32:
adrp x0, l_.str.3@PAGE
Lloh33:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x26
bl _notice
mov x23, x20
b LBB0_2
LBB0_61: ; in Loop: Header=BB0_2 Depth=1
bl _ISALPHA
cbnz w0, LBB0_63
; %bb.62: ; in Loop: Header=BB0_2 Depth=1
str x24, [sp]
Lloh34:
adrp x0, l_.str.5@PAGE
Lloh35:
add x0, x0, l_.str.5@PAGEOFF
bl _fatal
LBB0_63: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x27]
mov x25, x27
cbz w8, LBB0_69
; %bb.64: ; in Loop: Header=BB0_2 Depth=1
mov x25, x27
LBB0_65: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
and w0, w8, #0xff
bl _ISSPACE
cbnz w0, LBB0_67
; %bb.66: ; in Loop: Header=BB0_65 Depth=2
ldrb w8, [x25, #1]!
cbnz w8, LBB0_65
b LBB0_69
LBB0_67: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x25]
cmp w8, #9
b.eq LBB0_70
; %bb.68: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #32
b.eq LBB0_70
LBB0_69: ; in Loop: Header=BB0_2 Depth=1
sub x8, x25, x21
str x8, [sp]
Lloh36:
adrp x0, l_.str.5@PAGE
Lloh37:
add x0, x0, l_.str.5@PAGEOFF
bl _fatal
LBB0_70: ; in Loop: Header=BB0_2 Depth=1
mov x26, x25
strb wzr, [x26], #1
ldr x8, [sp, #32] ; 8-byte Folded Reload
add x24, x8, x25
LBB0_71: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x26]
cmp w0, #32
ccmp w0, #9, #4, ne
b.ne LBB0_73
; %bb.72: ; in Loop: Header=BB0_71 Depth=2
add x26, x26, #1
add x24, x24, #1
b LBB0_71
LBB0_73: ; in Loop: Header=BB0_2 Depth=1
bl _ISALPHA
cbnz w0, LBB0_75
; %bb.74: ; in Loop: Header=BB0_2 Depth=1
str x24, [sp]
Lloh38:
adrp x0, l_.str.5@PAGE
Lloh39:
add x0, x0, l_.str.5@PAGEOFF
bl _fatal
LBB0_75: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x26]
mov x24, x26
cbz w8, LBB0_79
; %bb.76: ; in Loop: Header=BB0_2 Depth=1
mov x24, x26
LBB0_77: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
and w0, w8, #0xff
bl _ISSPACE
cbnz w0, LBB0_79
; %bb.78: ; in Loop: Header=BB0_77 Depth=2
ldrb w8, [x24, #1]!
cbnz w8, LBB0_77
LBB0_79: ; in Loop: Header=BB0_2 Depth=1
cmp x28, x24
b.eq LBB0_81
; %bb.80: ; in Loop: Header=BB0_2 Depth=1
sub x8, x24, x21
str x8, [sp]
Lloh40:
adrp x0, l_.str.5@PAGE
Lloh41:
add x0, x0, l_.str.5@PAGEOFF
bl _fatal
LBB0_81: ; in Loop: Header=BB0_2 Depth=1
strb wzr, [x24]
Lloh42:
adrp x8, _specs@GOTPAGE
Lloh43:
ldr x8, [x8, _specs@GOTPAGEOFF]
Lloh44:
ldr x28, [x8]
ldr x24, [sp, #48] ; 8-byte Folded Reload
cbnz x28, LBB0_84
LBB0_82: ; in Loop: Header=BB0_2 Depth=1
str x27, [sp]
Lloh45:
adrp x0, l_.str.6@PAGE
Lloh46:
add x0, x0, l_.str.6@PAGEOFF
bl _fatal
mov x28, #0 ; =0x0
b LBB0_86
LBB0_83: ; in Loop: Header=BB0_84 Depth=2
ldr x28, [x28, #32]
cbz x28, LBB0_82
LBB0_84: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x28]
sub w8, w25, w8
cmp w8, w23
b.ne LBB0_83
; %bb.85: ; in Loop: Header=BB0_84 Depth=2
ldr x0, [x28, #8]
mov x1, x27
bl _strcmp
cbnz x0, LBB0_83
LBB0_86: ; in Loop: Header=BB0_2 Depth=1
mov x0, x27
mov x1, x26
bl _strcmp
mov x23, x20
Lloh47:
adrp x25, l_.str.11@PAGE
Lloh48:
add x25, x25, l_.str.11@PAGEOFF
cbz x0, LBB0_2
; %bb.87: ; in Loop: Header=BB0_2 Depth=1
Lloh49:
adrp x8, _specs@GOTPAGE
Lloh50:
ldr x8, [x8, _specs@GOTPAGEOFF]
Lloh51:
ldr x23, [x8]
cbnz x23, LBB0_94
LBB0_88: ; in Loop: Header=BB0_2 Depth=1
Lloh52:
adrp x8, _verbose_flag@GOTPAGE
Lloh53:
ldr x8, [x8, _verbose_flag@GOTPAGEOFF]
Lloh54:
ldr x8, [x8]
cbz x8, LBB0_90
; %bb.89: ; in Loop: Header=BB0_2 Depth=1
str x26, [sp]
Lloh55:
adrp x0, l_.str.8@PAGE
Lloh56:
add x0, x0, l_.str.8@PAGEOFF
mov x1, x27
bl _notice
LBB0_90: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28, #16]
ldr x1, [x8]
mov x0, x26
bl _set_spec
ldr x8, [x28, #24]
cbz x8, LBB0_92
; %bb.91: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28, #16]
ldr x0, [x8]
bl _free
LBB0_92: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28, #16]
Lloh57:
adrp x9, l_.str.9@PAGE
Lloh58:
add x9, x9, l_.str.9@PAGEOFF
str x9, [x8]
str xzr, [x28, #24]
mov x23, x20
b LBB0_2
LBB0_93: ; in Loop: Header=BB0_94 Depth=2
ldr x23, [x23, #32]
cbz x23, LBB0_88
LBB0_94: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x0, [x23, #8]
mov x1, x26
bl _strcmp
cbnz x0, LBB0_93
; %bb.95: ; in Loop: Header=BB0_94 Depth=2
stp x27, x26, [sp, #8]
str x24, [sp]
Lloh59:
adrp x0, l_.str.7@PAGE
Lloh60:
add x0, x0, l_.str.7@PAGEOFF
bl _fatal
b LBB0_93
LBB0_96:
add x19, x23, #10
sub x8, x23, x21
add x8, x8, #11
LBB0_97: ; =>This Inner Loop Header: Depth=1
ldurb w9, [x19, #-1]
cmp w9, #32
ccmp w9, #9, #4, ne
b.ne LBB0_99
; %bb.98: ; in Loop: Header=BB0_97 Depth=1
add x19, x19, #1
add x8, x8, #1
b LBB0_97
LBB0_99:
cmp w9, #60
b.ne LBB0_101
; %bb.100:
ldurb w9, [x28, #-1]
cmp w9, #62
b.eq LBB0_102
LBB0_101:
str x8, [sp]
Lloh61:
adrp x0, l_.str.1@PAGE
Lloh62:
add x0, x0, l_.str.1@PAGEOFF
bl _fatal
LBB0_102:
sturb wzr, [x28, #-1]
Lloh63:
adrp x8, _R_OK@GOTPAGE
Lloh64:
ldr x8, [x8, _R_OK@GOTPAGEOFF]
Lloh65:
ldr w2, [x8]
Lloh66:
adrp x0, _startfile_prefixes@GOTPAGE
Lloh67:
ldr x0, [x0, _startfile_prefixes@GOTPAGEOFF]
mov x1, x19
mov w3, #1 ; =0x1
bl _find_a_file
cmp x0, #0
csel x0, x19, x0, eq
LBB0_103:
Lloh68:
adrp x8, _FALSE@GOTPAGE
Lloh69:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh70:
ldr w1, [x8]
bl _read_specs
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGot Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%include"
l_.str.1: ; @.str.1
.asciz "specs %%include syntax malformed after %ld characters"
.comm _startfile_prefixes,4,2 ; @startfile_prefixes
.comm _R_OK,4,2 ; @R_OK
.comm _FALSE,4,2 ; @FALSE
l_.str.2: ; @.str.2
.asciz "%include_noerr"
.comm _verbose_flag,8,3 ; @verbose_flag
l_.str.3: ; @.str.3
.asciz "could not find specs file %s\n"
l_.str.4: ; @.str.4
.asciz "%rename"
l_.str.5: ; @.str.5
.asciz "specs %%rename syntax malformed after %ld characters"
.comm _specs,8,3 ; @specs
l_.str.6: ; @.str.6
.asciz "specs %s spec was not found to be renamed"
l_.str.7: ; @.str.7
.asciz "%s: attempt to rename spec '%s' to already defined spec '%s'"
l_.str.8: ; @.str.8
.asciz "rename spec %s to %s\n"
l_.str.9: ; @.str.9
.space 1
l_.str.10: ; @.str.10
.asciz "specs unknown %% command after %ld characters"
l_.str.11: ; @.str.11
.asciz "specs file malformed after %ld characters"
l_.str.12: ; @.str.12
.asciz "*link_command"
.comm _link_command_spec,8,3 ; @link_command_spec
.comm _compilers,8,3 ; @compilers
.comm _n_compilers,4,2 ; @n_compilers
.no_dead_strip _read_specs
.subsections_via_symbols
| assembly_file_163025.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __scalb ## -- Begin function _scalb
.p2align 4, 0x90
__scalb: ## @_scalb
.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
jmp _ldexp ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __scalb ; -- Begin function _scalb
.p2align 2
__scalb: ; @_scalb
.cfi_startproc
; %bb.0:
b _ldexp
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/crt/float/extr_scalb.c__scalb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function show_fan_alarm
_show_fan_alarm: ## @show_fan_alarm
.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 %rdi, %r15
movq %rsi, %rdi
callq _to_sensor_dev_attr
movq %rax, %rbx
movq %r15, %rdi
callq _pc87427_update_device
movslq (%rbx), %rcx
movq (%rax), %rax
movq _FAN_STATUS_LOSPD@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
xorl %edx, %edx
andl (%rax,%rcx,4), %esi
setne %dl
leaq L_.str(%rip), %rsi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.comm _FAN_STATUS_LOSPD,4,2 ## @FAN_STATUS_LOSPD
.no_dead_strip _show_fan_alarm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function show_fan_alarm
_show_fan_alarm: ; @show_fan_alarm
.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, x0
mov x0, x1
bl _to_sensor_dev_attr
mov x21, x0
mov x0, x20
bl _pc87427_update_device
ldrsw x8, [x21]
ldr x9, [x0]
ldr w8, [x9, x8, lsl #2]
Lloh0:
adrp x9, _FAN_STATUS_LOSPD@GOTPAGE
Lloh1:
ldr x9, [x9, _FAN_STATUS_LOSPD@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w2, ne
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
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 _sprintf
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.comm _FAN_STATUS_LOSPD,4,2 ; @FAN_STATUS_LOSPD
.no_dead_strip _show_fan_alarm
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hwmon/extr_pc87427.c_show_fan_alarm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _LinesProc ## -- Begin function LinesProc
.p2align 4, 0x90
_LinesProc: ## @LinesProc
.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 %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r14
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_1: ## in Loop: Header=BB0_2 Depth=1
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
ja LBB0_20
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_9 Depth 2
## Child Loop BB0_13 Depth 2
## Child Loop BB0_17 Depth 2
movl (%r14), %r12d
movl 12(%r14), %r15d
cmpl $2, %r12d
jg LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jae LBB0_7
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl $2, %r13d
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _MoveToEx
movl 4(%r14), %esi
movl %r15d, %edi
movl %r13d, %edx
callq _LineTo
incl %ebx
addl $2, %r13d
movl (%r14), %r12d
cmpl %r12d, %r13d
jl LBB0_5
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jb LBB0_5
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl 4(%r14), %r13d
cmpl $2, %r13d
jl LBB0_12
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jae LBB0_12
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r13d, %r12d
leal -2(%r12), %r13d
movl 4(%r14), %esi
movl %r15d, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq _MoveToEx
movl (%r14), %edx
movl %r15d, %edi
movl %r13d, %esi
callq _LineTo
incl %ebx
cmpl $4, %r12d
jb LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jb LBB0_9
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl (%r14), %r12d
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpl $2, %r12d
jl LBB0_14
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jae LBB0_14
## %bb.19: ## in Loop: Header=BB0_13 Depth=2
movl %r12d, %r13d
leal -2(%r13), %r12d
movl (%r14), %edx
movl 4(%r14), %esi
movl %r15d, %edi
xorl %ecx, %ecx
callq _MoveToEx
movl %r15d, %edi
xorl %esi, %esi
movl %r12d, %edx
callq _LineTo
incl %ebx
cmpl $4, %r13d
jae LBB0_13
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
cmpl $3, 4(%r14)
jl LBB0_1
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jae LBB0_1
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
movl $4, %r13d
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal -2(%r13), %r12d
movl (%r14), %edx
movl %r15d, %edi
xorl %esi, %esi
xorl %ecx, %ecx
callq _MoveToEx
movl %r15d, %edi
movl %r12d, %esi
xorl %edx, %edx
callq _LineTo
incl %ebx
cmpl 4(%r14), %r13d
jge LBB0_1
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
addl $2, %r13d
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jb LBB0_17
jmp LBB0_1
LBB0_20:
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, 15, 0 sdk_version 15, 5
.globl _LinesProc ; -- Begin function LinesProc
.p2align 2
_LinesProc: ; @LinesProc
.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, x2
mov x20, x1
mov w23, #0 ; =0x0
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
cmp w23, w19
b.hi LBB0_15
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_6 Depth 2
; Child Loop BB0_10 Depth 2
; Child Loop BB0_14 Depth 2
ldr w21, [x20, #12]
ldr w24, [x20]
cmp w24, #2
ccmp w23, w19, #0, le
b.hs LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w22, #2 ; =0x2
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _MoveToEx
ldr w1, [x20, #4]
mov x0, x21
mov x2, x22
bl _LineTo
add w23, w23, #1
add w22, w22, #2
ldr w24, [x20]
cmp w22, w24
ccmp w23, w19, #0, ge
b.lo LBB0_4
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
ldr w25, [x20, #4]
cmp w25, #2
ccmp w23, w19, #2, ge
b.hs LBB0_9
LBB0_6: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
sub w22, w25, #2
ldr w1, [x20, #4]
mov x0, x21
mov w2, #0 ; =0x0
mov x3, #0 ; =0x0
bl _MoveToEx
ldr w2, [x20]
mov x0, x21
mov x1, x22
bl _LineTo
add w23, w23, #1
cmp w25, #4
b.lo LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mov x25, x22
cmp w23, w19
b.lo LBB0_6
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
ldr w24, [x20]
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
cmp w24, #2
ccmp w23, w19, #2, ge
b.hs LBB0_12
LBB0_10: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
sub w22, w24, #2
ldp w2, w1, [x20]
mov x0, x21
mov x3, #0 ; =0x0
bl _MoveToEx
mov x0, x21
mov w1, #0 ; =0x0
mov x2, x22
bl _LineTo
add w23, w23, #1
cmp w24, #4
b.lo LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
mov x24, x22
cmp w23, w19
b.lo LBB0_10
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x20, #4]
cmp w8, #2
ccmp w23, w19, #2, gt
b.hs LBB0_1
; %bb.13: ; in Loop: Header=BB0_2 Depth=1
mov w24, #4 ; =0x4
LBB0_14: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
sub w22, w24, #2
ldr w2, [x20]
mov x0, x21
mov w1, #0 ; =0x0
mov x3, #0 ; =0x0
bl _MoveToEx
mov x0, x21
mov x1, x22
mov w2, #0 ; =0x0
bl _LineTo
add w23, w23, #1
ldr w8, [x20, #4]
cmp w24, w8
add w24, w24, #2
ccmp w23, w19, #2, lt
b.lo LBB0_14
b LBB0_1
LBB0_15:
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
.subsections_via_symbols
| assembly_file_120355.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function getstdfmt
_getstdfmt: ## @getstdfmt
.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 _stdfmt@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _nitems
movq %rax, %r15
testq %rax, %rax
je LBB0_1
## %bb.2:
movq (%r12), %rax
movl 4(%rax), %esi
movq %rbx, %rdi
callq _strcmp
xorl %ecx, %ecx
negq %rax
sbbq %rcx, %rcx
cmpq %r15, %rcx
jne LBB0_5
LBB0_4:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _warnx
movl $-1, %eax
jmp LBB0_6
LBB0_1:
xorl %ecx, %ecx
cmpq %r15, %rcx
je LBB0_4
LBB0_5:
movq (%r12), %rax
movl (%rax,%rcx,8), %eax
movl %eax, (%r14)
xorl %eax, %eax
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stdfmt,8,3 ## @stdfmt
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: unknown standard format"
.no_dead_strip _getstdfmt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function getstdfmt
_getstdfmt: ; @getstdfmt
.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 x19, x1
mov x20, x0
Lloh0:
adrp x22, _stdfmt@GOTPAGE
Lloh1:
ldr x22, [x22, _stdfmt@GOTPAGEOFF]
ldr x0, [x22]
bl _nitems
mov x21, x0
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x22]
ldr w1, [x8, #4]
mov x0, x20
bl _strcmp
cmp x0, #0
csetm x8, ne
cmp x8, x21
b.ne LBB0_4
LBB0_2:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
bl _warnx
mov w0, #-1 ; =0xffffffff
b LBB0_5
LBB0_3:
mov x8, #0 ; =0x0
cmp x8, x21
b.eq LBB0_2
LBB0_4:
mov w0, #0 ; =0x0
ldr x9, [x22]
lsl x8, x8, #3
ldr w8, [x9, x8]
str w8, [x19]
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _stdfmt,8,3 ; @stdfmt
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: unknown standard format"
.no_dead_strip _getstdfmt
.subsections_via_symbols
| assembly_file_54370.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function ipow10
LCPI0_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI0_1:
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
LCPI0_2:
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.section __TEXT,__text,regular,pure_instructions
.globl _ipow10
.p2align 4, 0x90
_ipow10: ## @ipow10
.cfi_startproc
## %bb.0:
movl $1, %eax
testl %edi, %edi
je LBB0_12
## %bb.1:
cmpl $8, %edi
jb LBB0_11
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %ecx
andl $-8, %ecx
leal -8(%rcx), %esi
movl %esi, %edx
shrl $3, %edx
incl %edx
movl %edx, %eax
andl $7, %eax
cmpl $56, %esi
jae LBB0_4
## %bb.3:
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [1,1,1,1]
movdqa %xmm0, %xmm1
jmp LBB0_6
LBB0_4:
andl $-8, %edx
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [1,1,1,1]
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = [100000000,100000000,100000000,100000000]
movdqa %xmm0, %xmm1
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
pmulld %xmm2, %xmm0
pmulld %xmm2, %xmm1
addl $-8, %edx
jne LBB0_5
LBB0_6:
testl %eax, %eax
je LBB0_9
## %bb.7:
movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [10,10,10,10]
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
pmulld %xmm2, %xmm0
pmulld %xmm2, %xmm1
decl %eax
jne LBB0_8
LBB0_9:
pmulld %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
pmulld %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
pmulld %xmm1, %xmm0
movd %xmm0, %eax
cmpl %edi, %ecx
popq %rbp
je LBB0_12
## %bb.10:
andl $7, %edi
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
addl %eax, %eax
leal (%rax,%rax,4), %eax
decl %edi
jne LBB0_11
LBB0_12:
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function get_digit
LCPI1_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI1_1:
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
LCPI1_2:
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.section __TEXT,__text,regular,pure_instructions
.globl _get_digit
.p2align 4, 0x90
_get_digit: ## @get_digit
.cfi_startproc
## %bb.0:
movl %edi, %eax
movl $1, %edi
decl %esi
je LBB1_12
## %bb.1:
cmpl $8, %esi
jb LBB1_11
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %r8d
andl $-8, %r8d
leal -8(%r8), %ecx
movl %ecx, %edi
shrl $3, %edi
incl %edi
movl %edi, %edx
andl $7, %edx
cmpl $56, %ecx
jae LBB1_4
## %bb.3:
movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = [1,1,1,1]
movdqa %xmm0, %xmm1
jmp LBB1_6
LBB1_4:
andl $-8, %edi
movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = [1,1,1,1]
movdqa LCPI1_1(%rip), %xmm2 ## xmm2 = [100000000,100000000,100000000,100000000]
movdqa %xmm0, %xmm1
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
pmulld %xmm2, %xmm0
pmulld %xmm2, %xmm1
addl $-8, %edi
jne LBB1_5
LBB1_6:
testl %edx, %edx
je LBB1_9
## %bb.7:
movdqa LCPI1_2(%rip), %xmm2 ## xmm2 = [10,10,10,10]
.p2align 4, 0x90
LBB1_8: ## =>This Inner Loop Header: Depth=1
pmulld %xmm2, %xmm0
pmulld %xmm2, %xmm1
decl %edx
jne LBB1_8
LBB1_9:
pmulld %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
pmulld %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
pmulld %xmm1, %xmm0
movd %xmm0, %edi
cmpl %r8d, %esi
popq %rbp
je LBB1_12
## %bb.10:
andl $7, %esi
.p2align 4, 0x90
LBB1_11: ## =>This Inner Loop Header: Depth=1
addl %edi, %edi
leal (%rdi,%rdi,4), %edi
decl %esi
jne LBB1_11
LBB1_12:
cltd
idivl %edi
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI2_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI2_1:
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
.long 100000000 ## 0x5f5e100
LCPI2_2:
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.long 10 ## 0xa
.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
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $1000000, %r8d ## imm = 0xF4240
cmpl $2, %edi
jl LBB2_3
## %bb.1:
movq 8(%rsi), %rdi
callq _atoi
movl %eax, %r8d
testl %eax, %eax
jle LBB2_2
LBB2_3:
movl $2, %edi
movl $1, %r10d
movl $10, %r9d
movdqa LCPI2_0(%rip), %xmm0 ## xmm0 = [1,1,1,1]
movdqa LCPI2_2(%rip), %xmm1 ## xmm1 = [10,10,10,10]
movdqa LCPI2_1(%rip), %xmm2 ## xmm2 = [100000000,100000000,100000000,100000000]
movl $1, %r14d
movl $1, %esi
jmp LBB2_4
.p2align 4, 0x90
LBB2_24: ## in Loop: Header=BB2_4 Depth=1
movl %edi, %eax
cltd
idivl %ebx
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
imull %esi, %eax
addl %r9d, %r9d
leal (%r9,%r9,4), %r9d
movl %eax, %esi
LBB2_25: ## in Loop: Header=BB2_4 Depth=1
incl %edi
cmpl %r8d, %r10d
jg LBB2_26
LBB2_4: ## =>This Loop Header: Depth=1
## Child Loop BB2_7 Depth 2
## Child Loop BB2_9 Depth 2
## Child Loop BB2_12 Depth 2
## Child Loop BB2_18 Depth 2
## Child Loop BB2_20 Depth 2
## Child Loop BB2_23 Depth 2
movl $1, %ebx
movl %r14d, %eax
cmpl $8, %r14d
jb LBB2_12
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movl %r14d, %eax
andl $2147483640, %eax ## imm = 0x7FFFFFF8
leal -8(%rax), %ecx
movl %ecx, %edx
shrl $3, %edx
incl %edx
movl %edx, %ebx
andl $7, %ebx
movdqa %xmm0, %xmm3
movdqa %xmm0, %xmm4
cmpl $56, %ecx
jb LBB2_8
## %bb.6: ## in Loop: Header=BB2_4 Depth=1
andl $-8, %edx
movdqa %xmm0, %xmm3
movdqa %xmm0, %xmm4
.p2align 4, 0x90
LBB2_7: ## Parent Loop BB2_4 Depth=1
## => This Inner Loop Header: Depth=2
pmulld %xmm2, %xmm3
pmulld %xmm2, %xmm4
addl $-8, %edx
jne LBB2_7
LBB2_8: ## in Loop: Header=BB2_4 Depth=1
testl %ebx, %ebx
je LBB2_10
.p2align 4, 0x90
LBB2_9: ## Parent Loop BB2_4 Depth=1
## => This Inner Loop Header: Depth=2
pmulld %xmm1, %xmm3
pmulld %xmm1, %xmm4
decl %ebx
jne LBB2_9
LBB2_10: ## in Loop: Header=BB2_4 Depth=1
pmulld %xmm4, %xmm3
pshufd $238, %xmm3, %xmm4 ## xmm4 = xmm3[2,3,2,3]
pmulld %xmm3, %xmm4
pshufd $85, %xmm4, %xmm3 ## xmm3 = xmm4[1,1,1,1]
pmulld %xmm4, %xmm3
movd %xmm3, %ebx
cmpl %eax, %r14d
je LBB2_13
## %bb.11: ## in Loop: Header=BB2_4 Depth=1
movl %r14d, %eax
andl $7, %eax
.p2align 4, 0x90
LBB2_12: ## Parent Loop BB2_4 Depth=1
## => This Inner Loop Header: Depth=2
addl %ebx, %ebx
leal (%rbx,%rbx,4), %ebx
decl %eax
jne LBB2_12
LBB2_13: ## in Loop: Header=BB2_4 Depth=1
movl %edi, %eax
xorl %edx, %edx
divl %ebx
cmpl $1, %edx
adcl $0, %r14d
addl %r14d, %r10d
movl %r10d, %eax
subl %r9d, %eax
jl LBB2_25
## %bb.14: ## in Loop: Header=BB2_4 Depth=1
movl $1, %ebx
je LBB2_24
## %bb.15: ## in Loop: Header=BB2_4 Depth=1
cmpl $8, %eax
jb LBB2_23
## %bb.16: ## in Loop: Header=BB2_4 Depth=1
movl %eax, %r11d
andl $-8, %r11d
leal -8(%r11), %ecx
movl %ecx, %ebx
shrl $3, %ebx
incl %ebx
movl %ebx, %edx
andl $7, %edx
movdqa %xmm0, %xmm3
movdqa %xmm0, %xmm4
cmpl $56, %ecx
jb LBB2_19
## %bb.17: ## in Loop: Header=BB2_4 Depth=1
andl $-8, %ebx
movdqa %xmm0, %xmm3
movdqa %xmm0, %xmm4
.p2align 4, 0x90
LBB2_18: ## Parent Loop BB2_4 Depth=1
## => This Inner Loop Header: Depth=2
pmulld %xmm2, %xmm3
pmulld %xmm2, %xmm4
addl $-8, %ebx
jne LBB2_18
LBB2_19: ## in Loop: Header=BB2_4 Depth=1
testl %edx, %edx
je LBB2_21
.p2align 4, 0x90
LBB2_20: ## Parent Loop BB2_4 Depth=1
## => This Inner Loop Header: Depth=2
pmulld %xmm1, %xmm3
pmulld %xmm1, %xmm4
decl %edx
jne LBB2_20
LBB2_21: ## in Loop: Header=BB2_4 Depth=1
pmulld %xmm4, %xmm3
pshufd $238, %xmm3, %xmm4 ## xmm4 = xmm3[2,3,2,3]
pmulld %xmm3, %xmm4
pshufd $85, %xmm4, %xmm3 ## xmm3 = xmm4[1,1,1,1]
pmulld %xmm4, %xmm3
movd %xmm3, %ebx
cmpl %r11d, %eax
je LBB2_24
## %bb.22: ## in Loop: Header=BB2_4 Depth=1
andl $7, %eax
.p2align 4, 0x90
LBB2_23: ## Parent Loop BB2_4 Depth=1
## => This Inner Loop Header: Depth=2
addl %ebx, %ebx
leal (%rbx,%rbx,4), %ebx
decl %eax
jne LBB2_23
jmp LBB2_24
LBB2_2:
movl $1, %esi
LBB2_26:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipow10 ; -- Begin function ipow10
.p2align 2
_ipow10: ; @ipow10
.cfi_startproc
; %bb.0:
cbz w0, LBB0_3
; %bb.1:
cmp w0, #16
b.hs LBB0_4
; %bb.2:
mov w8, #1
mov x9, x0
b LBB0_7
LBB0_3:
mov w0, #1
ret
LBB0_4:
and w10, w0, #0xfffffff0
and w9, w0, #0xf
movi.4s v0, #1
movi.4s v1, #10
mov x8, x10
movi.4s v2, #1
movi.4s v3, #1
movi.4s v4, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
mul.4s v0, v0, v1
mul.4s v2, v2, v1
mul.4s v3, v3, v1
mul.4s v4, v4, v1
subs w8, w8, #16
b.ne LBB0_5
; %bb.6:
mul.4s v0, v2, v0
mul.4s v0, v3, v0
mul.4s v0, v4, v0
ext.16b v1, v0, v0, #8
mul.2s v0, v0, v1
fmov w8, s0
mov.s w11, v0[1]
mul w8, w8, w11
cmp w10, w0
b.eq LBB0_8
LBB0_7: ; =>This Inner Loop Header: Depth=1
add w8, w8, w8, lsl #2
lsl w8, w8, #1
subs w9, w9, #1
b.ne LBB0_7
LBB0_8:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _get_digit ; -- Begin function get_digit
.p2align 2
_get_digit: ; @get_digit
.cfi_startproc
; %bb.0:
subs w9, w1, #1
b.eq LBB1_3
; %bb.1:
cmp w9, #16
b.hs LBB1_4
; %bb.2:
mov w11, #1
mov x8, x9
b LBB1_7
LBB1_3:
mov w11, #1
b LBB1_8
LBB1_4:
and w10, w9, #0xfffffff0
and w8, w9, #0xf
movi.4s v0, #1
movi.4s v1, #10
mov x11, x10
movi.4s v2, #1
movi.4s v3, #1
movi.4s v4, #1
LBB1_5: ; =>This Inner Loop Header: Depth=1
mul.4s v0, v0, v1
mul.4s v2, v2, v1
mul.4s v3, v3, v1
mul.4s v4, v4, v1
subs w11, w11, #16
b.ne LBB1_5
; %bb.6:
mul.4s v0, v2, v0
mul.4s v0, v3, v0
mul.4s v0, v4, v0
ext.16b v1, v0, v0, #8
mul.2s v0, v0, v1
fmov w11, s0
mov.s w12, v0[1]
mul w11, w11, w12
cmp w9, w10
b.eq LBB1_8
LBB1_7: ; =>This Inner Loop Header: Depth=1
add w9, w11, w11, lsl #2
lsl w11, w9, #1
subs w8, w8, #1
b.ne LBB1_7
LBB1_8:
sdiv w8, w0, w11
mov w9, #26215
movk w9, #26214, lsl #16
smull x9, w8, w9
lsr x10, x9, #63
asr x9, x9, #34
add w9, w9, w10
mov w10, #10
msub w0, w9, w10, w8
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
cmp w0, #2
b.lt LBB2_4
; %bb.1:
ldr x0, [x1, #8]
bl _atoi
cmp w0, #1
b.ge LBB2_5
; %bb.2:
mov w10, #1
LBB2_3:
str x10, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB2_4:
mov w0, #16960
movk w0, #15, lsl #16
LBB2_5:
mov w8, #2
mov w9, #1
mov w11, #10
mov w12, #26215
movk w12, #26214, lsl #16
movi.4s v0, #10
mov w13, #10
mov w14, #1
mov w10, #1
b LBB2_9
LBB2_6: ; in Loop: Header=BB2_9 Depth=1
mov w1, #1
LBB2_7: ; in Loop: Header=BB2_9 Depth=1
sdiv w15, w8, w1
smull x16, w15, w12
lsr x17, x16, #63
asr x16, x16, #34
add w16, w16, w17
msub w15, w16, w11, w15
mul w10, w15, w10
add w13, w13, w13, lsl #2
lsl w13, w13, #1
LBB2_8: ; in Loop: Header=BB2_9 Depth=1
add w8, w8, #1
cmp w9, w0
b.gt LBB2_3
LBB2_9: ; =>This Loop Header: Depth=1
; Child Loop BB2_12 Depth 2
; Child Loop BB2_14 Depth 2
; Child Loop BB2_20 Depth 2
; Child Loop BB2_22 Depth 2
cmp w14, #16
b.hs LBB2_11
; %bb.10: ; in Loop: Header=BB2_9 Depth=1
mov w17, #1
mov x15, x14
b LBB2_14
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
and w16, w14, #0x7ffffff0
and w15, w14, #0xf
movi.4s v1, #1
mov x17, x16
movi.4s v2, #1
movi.4s v3, #1
movi.4s v4, #1
LBB2_12: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
mul.4s v1, v1, v0
mul.4s v2, v2, v0
mul.4s v3, v3, v0
mul.4s v4, v4, v0
subs w17, w17, #16
b.ne LBB2_12
; %bb.13: ; in Loop: Header=BB2_9 Depth=1
mul.4s v1, v2, v1
mul.4s v1, v3, v1
mul.4s v1, v4, v1
ext.16b v2, v1, v1, #8
mul.2s v1, v1, v2
fmov w17, s1
mov.s w1, v1[1]
mul w17, w17, w1
cmp w14, w16
b.eq LBB2_15
LBB2_14: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
add w16, w17, w17, lsl #2
lsl w17, w16, #1
subs w15, w15, #1
b.ne LBB2_14
LBB2_15: ; in Loop: Header=BB2_9 Depth=1
udiv w15, w8, w17
msub w15, w15, w17, w8
cmp w15, #0
cinc w14, w14, eq
add w9, w14, w9
subs w16, w9, w13
b.lt LBB2_8
; %bb.16: ; in Loop: Header=BB2_9 Depth=1
b.eq LBB2_6
; %bb.17: ; in Loop: Header=BB2_9 Depth=1
cmp w16, #16
b.hs LBB2_19
; %bb.18: ; in Loop: Header=BB2_9 Depth=1
mov w1, #1
mov x15, x16
b LBB2_22
LBB2_19: ; in Loop: Header=BB2_9 Depth=1
and w17, w16, #0xfffffff0
and w15, w16, #0xf
movi.4s v1, #1
mov x1, x17
movi.4s v2, #1
movi.4s v3, #1
movi.4s v4, #1
LBB2_20: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
mul.4s v1, v1, v0
mul.4s v2, v2, v0
mul.4s v3, v3, v0
mul.4s v4, v4, v0
subs w1, w1, #16
b.ne LBB2_20
; %bb.21: ; in Loop: Header=BB2_9 Depth=1
mul.4s v1, v2, v1
mul.4s v1, v3, v1
mul.4s v1, v4, v1
ext.16b v2, v1, v1, #8
mul.2s v1, v1, v2
fmov w1, s1
mov.s w2, v1[1]
mul w1, w1, w2
cmp w16, w17
b.eq LBB2_7
LBB2_22: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
add w16, w1, w1, lsl #2
lsl w1, w16, #1
subs w15, w15, #1
b.ne LBB2_22
b LBB2_7
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/107954114.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _netbios_redirector ## -- Begin function netbios_redirector
.p2align 4, 0x90
_netbios_redirector: ## @netbios_redirector
.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 $31, %edi
callq _malloc
movq %rax, %rbx
movq %rax, %rdi
movl $31, %esi
callq _bzero
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CA"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _netbios_redirector ; -- Begin function netbios_redirector
.p2align 2
_netbios_redirector: ; @netbios_redirector
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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, #31 ; =0x1f
bl _malloc
mov x19, x0
mov w1, #31 ; =0x1f
bl _bzero
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _strcat
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CA"
.subsections_via_symbols
| assembly_file_178379.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function BotCheckAttack
LCPI0_0:
.quad 0xbfb999999999999a ## double -0.10000000000000001
LCPI0_1:
.long 0x42480000 ## float 50
.long 0x42f00000 ## float 120
.section __TEXT,__text,regular,pure_instructions
.globl _BotCheckAttack
.p2align 4, 0x90
_BotCheckAttack: ## @BotCheckAttack
.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 $72, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
leaq -56(%rbp), %rsi
movl %r14d, %edi
callq _BotEntityInfo
movl 88(%rbx), %edi
movq _CHARACTERISTIC_REACTIONTIME@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
movl $1, %ecx
callq _trap_Characteristic_BFloat
movss %xmm0, -40(%rbp) ## 4-byte Spill
movss 4(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -28(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _FloatTime
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
subss -40(%rbp), %xmm0 ## 4-byte Folded Reload
movss -28(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm0, %xmm1
ja LBB0_14
## %bb.1:
movss 8(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -28(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _FloatTime
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
subss -40(%rbp), %xmm0 ## 4-byte Folded Reload
movss -28(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm0, %xmm1
ja LBB0_14
## %bb.2:
movsd 16(%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq _FloatTime
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
addsd LCPI0_0(%rip), %xmm0
movsd -40(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB0_14
## %bb.3:
movl 24(%rbx), %r15d
xorl %eax, %eax
callq _FloatTime
cmpl %eax, %r15d
jg LBB0_14
## %bb.4:
movl 88(%rbx), %edi
movq _CHARACTERISTIC_FIRETHROTTLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
movl $1, %ecx
callq _trap_Characteristic_BFloat
movss %xmm0, -40(%rbp) ## 4-byte Spill
movl 28(%rbx), %r15d
xorl %eax, %eax
callq _FloatTime
cmpl %eax, %r15d
jge LBB0_8
## %bb.5:
xorl %eax, %eax
callq _random
movss %xmm0, -28(%rbp) ## 4-byte Spill
xorl %eax, %eax
callq _FloatTime
movss -40(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
movss -28(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jbe LBB0_7
## %bb.6:
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
addss %xmm0, %xmm1
cvttss2si %xmm1, %eax
movl %eax, 24(%rbx)
movl $0, 28(%rbx)
jmp LBB0_8
LBB0_7:
incl %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
subss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, 28(%rbx)
movl $0, 24(%rbx)
LBB0_8:
movq 32(%rbx), %rdi
movq 40(%rbx), %rsi
callq _VectorSubtract
movq 48(%rbx), %rax
movq _WP_GAUNTLET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_10
## %bb.9:
callq _VectorLengthSquared
movq %rax, %r15
movl $60, %edi
callq _Square
cmpq %rax, %r15
jg LBB0_14
LBB0_10:
callq _VectorLengthSquared
movq %rax, %r15
movl $100, %edi
callq _Square
xorl %ecx, %ecx
cmpq %rax, %r15
setl %cl
leaq LCPI0_1(%rip), %rax
movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -40(%rbp) ## 4-byte Spill
callq _vectoangles
movl 68(%rbx), %edi
movss -40(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
callq _InFieldOfVision
testl %eax, %eax
je LBB0_14
## %bb.11:
movq 32(%rbx), %r8
movq 40(%rbx), %rsi
movl 60(%rbx), %r9d
movq _CONTENTS_SOLID@GOTPCREL(%rip), %rax
movq _CONTENTS_PLAYERCLIP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, (%rsp)
leaq -48(%rbp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq _BotAI_Trace
cmpl $0, -48(%rbp)
jg LBB0_13
## %bb.12:
cmpl %r14d, -44(%rbp)
je LBB0_13
LBB0_14:
addq $72, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
leaq 48(%rbx), %rsi
leaq -88(%rbp), %rdx
movq %rbx, %rdi
callq _BotCheckAttack.cold.1
jmp LBB0_14
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function BotCheckAttack.cold.1
_BotCheckAttack.cold.1: ## @BotCheckAttack.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
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 84(%rdi), %edi
movq (%rsi), %rsi
callq _trap_BotGetWeaponInfo
movl 80(%rbx), %edi
callq _VectorCopy
ud2
.cfi_endproc
## -- End function
.comm _MAX_CLIENTS,4,2 ## @MAX_CLIENTS
.comm _CHARACTERISTIC_REACTIONTIME,4,2 ## @CHARACTERISTIC_REACTIONTIME
.comm _CHARACTERISTIC_FIRETHROTTLE,4,2 ## @CHARACTERISTIC_FIRETHROTTLE
.comm _WP_GAUNTLET,8,3 ## @WP_GAUNTLET
.comm _CONTENTS_SOLID,4,2 ## @CONTENTS_SOLID
.comm _CONTENTS_PLAYERCLIP,4,2 ## @CONTENTS_PLAYERCLIP
.comm _MASK_SHOT,4,2 ## @MASK_SHOT
.comm _DAMAGETYPE_RADIAL,4,2 ## @DAMAGETYPE_RADIAL
.comm _WFL_FIRERELEASED,4,2 ## @WFL_FIRERELEASED
.comm _BFL_ATTACKED,4,2 ## @BFL_ATTACKED
.comm _blueobelisk,8,3 ## @blueobelisk
.comm _g_entities,8,3 ## @g_entities
.comm _redobelisk,8,3 ## @redobelisk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BotCheckAttack ; -- Begin function BotCheckAttack
.p2align 2
_BotCheckAttack: ; @BotCheckAttack
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
mov x19, x0
ldr w20, [x0]
mov x1, sp
mov x0, x20
bl _BotEntityInfo
ldr w0, [x19, #88]
Lloh0:
adrp x8, _CHARACTERISTIC_REACTIONTIME@GOTPAGE
Lloh1:
ldr x8, [x8, _CHARACTERISTIC_REACTIONTIME@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #0
mov w3, #1
bl _trap_Characteristic_BFloat
fmov s8, s0
ldr s9, [x19, #4]
bl _FloatTime
scvtf s0, w0
fsub s0, s0, s8
fcmp s9, s0
b.gt LBB0_13
; %bb.1:
ldr s9, [x19, #8]
bl _FloatTime
scvtf s0, w0
fsub s0, s0, s8
fcmp s9, s0
b.gt LBB0_13
; %bb.2:
ldr d8, [x19, #16]
bl _FloatTime
scvtf d0, w0
mov x8, #-7378697629483820647
movk x8, #39322
movk x8, #49081, lsl #48
fmov d1, x8
fadd d0, d0, d1
fcmp d8, d0
b.gt LBB0_13
; %bb.3:
ldr w21, [x19, #24]
bl _FloatTime
cmp w21, w0
b.gt LBB0_13
; %bb.4:
ldr w0, [x19, #88]
Lloh3:
adrp x8, _CHARACTERISTIC_FIRETHROTTLE@GOTPAGE
Lloh4:
ldr x8, [x8, _CHARACTERISTIC_FIRETHROTTLE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov w2, #0
mov w3, #1
bl _trap_Characteristic_BFloat
fmov s8, s0
ldr w21, [x19, #28]
bl _FloatTime
cmp w21, w0
b.ge LBB0_8
; %bb.5:
bl _random
fmov s9, s0
bl _FloatTime
fcmp s9, s8
b.le LBB0_7
; %bb.6:
scvtf s0, w0
fadd s0, s8, s0
fcvtzs w8, s0
stp w8, wzr, [x19, #24]
b LBB0_8
LBB0_7:
add w8, w0, #1
scvtf s0, w8
fsub s0, s0, s8
fcvtzs w8, s0
stp wzr, w8, [x19, #24]
LBB0_8:
ldp x0, x1, [x19, #32]
bl _VectorSubtract
mov x21, x19
ldr x8, [x21, #48]!
Lloh6:
adrp x9, _WP_GAUNTLET@GOTPAGE
Lloh7:
ldr x9, [x9, _WP_GAUNTLET@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_10
; %bb.9:
bl _VectorLengthSquared
mov x22, x0
mov w0, #60
bl _Square
cmp x22, x0
b.gt LBB0_13
LBB0_10:
bl _VectorLengthSquared
mov x22, x0
mov w0, #100
bl _Square
cmp x22, x0
mov w8, #1112014848
fmov s0, w8
mov w8, #1123024896
fmov s1, w8
fcsel s8, s1, s0, lt
bl _vectoangles
ldr w0, [x19, #68]
fmov s0, s8
bl _InFieldOfVision
cbz w0, LBB0_13
; %bb.11:
ldp x4, x1, [x19, #32]
Lloh9:
adrp x8, _CONTENTS_SOLID@GOTPAGE
Lloh10:
ldr x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
ldr w5, [x19, #60]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x9, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh13:
ldr x9, [x9, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w6, w9, w8
add x0, sp, #40
mov x2, #0
mov x3, #0
bl _BotAI_Trace
ldr w8, [sp, #40]
cmp w8, #0
b.gt LBB0_14
; %bb.12:
ldr w8, [sp, #44]
cmp w8, w20
b.eq LBB0_14
LBB0_13:
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 d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_14:
add x2, sp, #8
mov x0, x19
mov x1, x21
bl _BotCheckAttack.cold.1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function BotCheckAttack.cold.1
_BotCheckAttack.cold.1: ; @BotCheckAttack.cold.1
.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, #84]
ldr x1, [x1]
bl _trap_BotGetWeaponInfo
ldr w0, [x19, #80]
bl _VectorCopy
brk #0x1
.cfi_endproc
; -- End function
.comm _MAX_CLIENTS,4,2 ; @MAX_CLIENTS
.comm _CHARACTERISTIC_REACTIONTIME,4,2 ; @CHARACTERISTIC_REACTIONTIME
.comm _CHARACTERISTIC_FIRETHROTTLE,4,2 ; @CHARACTERISTIC_FIRETHROTTLE
.comm _WP_GAUNTLET,8,3 ; @WP_GAUNTLET
.comm _CONTENTS_SOLID,4,2 ; @CONTENTS_SOLID
.comm _CONTENTS_PLAYERCLIP,4,2 ; @CONTENTS_PLAYERCLIP
.comm _MASK_SHOT,4,2 ; @MASK_SHOT
.comm _DAMAGETYPE_RADIAL,4,2 ; @DAMAGETYPE_RADIAL
.comm _WFL_FIRERELEASED,4,2 ; @WFL_FIRERELEASED
.comm _BFL_ATTACKED,4,2 ; @BFL_ATTACKED
.comm _blueobelisk,8,3 ; @blueobelisk
.comm _g_entities,8,3 ; @g_entities
.comm _redobelisk,8,3 ; @redobelisk
.subsections_via_symbols
| AnghaBench/lab/engine/code/game/extr_ai_dmq3.c_BotCheckAttack.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function op_gt
_op_gt: ## @op_gt
.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
cmpl %esi, %edi
setg %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _op_gt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function op_gt
_op_gt: ; @op_gt
.cfi_startproc
; %bb.0:
cmp w0, w1
cset w0, gt
ret
.cfi_endproc
; -- End function
.no_dead_strip _op_gt
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/scripts/extr_unifdef.c_op_gt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function system_name_show
_system_name_show: ## @system_name_show
.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 %rdx, %rbx
movq _sclp_cpi_mutex@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _mutex_lock
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _system_name@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
callq _snprintf
movl %eax, %ebx
movq %r14, %rdi
callq _mutex_unlock
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _sclp_cpi_mutex,4,2 ## @sclp_cpi_mutex
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
.comm _system_name,8,3 ## @system_name
.no_dead_strip _system_name_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function system_name_show
_system_name_show: ; @system_name_show
.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
Lloh0:
adrp x20, _sclp_cpi_mutex@GOTPAGE
Lloh1:
ldr x20, [x20, _sclp_cpi_mutex@GOTPAGEOFF]
mov x0, x20
bl _mutex_lock
Lloh2:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh3:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x8, _system_name@GOTPAGE
Lloh6:
ldr x8, [x8, _system_name@GOTPAGEOFF]
Lloh7:
ldr x3, [x8]
Lloh8:
adrp x2, l_.str@PAGE
Lloh9:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _snprintf
mov x19, x0
mov x0, x20
bl _mutex_unlock
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _sclp_cpi_mutex,4,2 ; @sclp_cpi_mutex
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
.comm _system_name,8,3 ; @system_name
.no_dead_strip _system_name_show
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_cpi_sys.c_system_name_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _drm_fb_cma_get_gem_obj ## -- Begin function drm_fb_cma_get_gem_obj
.p2align 4, 0x90
_drm_fb_cma_get_gem_obj: ## @drm_fb_cma_get_gem_obj
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _drm_gem_fb_get_obj
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rdi
popq %rbp
jmp _to_drm_gem_cma_obj ## 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 _drm_fb_cma_get_gem_obj ; -- Begin function drm_fb_cma_get_gem_obj
.p2align 2
_drm_fb_cma_get_gem_obj: ; @drm_fb_cma_get_gem_obj
.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 _drm_gem_fb_get_obj
cbz x0, LBB0_2
; %bb.1:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _to_drm_gem_cma_obj
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/extr_drm_fb_cma_helper.c_drm_fb_cma_get_gem_obj.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cx231xx_init_v4l2
_cx231xx_init_v4l2: ## @cx231xx_init_v4l2
.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, %r13
movq 40(%rdi), %rax
movslq (%rax), %rax
leal 1(%rax), %edx
cmpl (%rdi), %edx
jge LBB0_21
## %bb.1:
movl %ecx, %r14d
movq %rsi, %rbx
movq 8(%rsi), %rcx
movq (%rcx), %rcx
movq 8(%rcx,%rax,8), %r15
movq 8(%r15), %rax
cmpl %r14d, 8(%rax)
jle LBB0_23
## %bb.2:
movq (%rax), %rax
movslq %r14d, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movl 4(%rax,%rcx,8), %edx
movl %edx, 88(%r13)
movl (%r15), %ecx
movl %ecx, 72(%r13)
movl 32(%r13), %edi
leaq L_.str.1(%rip), %rsi
callq _dev_info
movl 72(%r13), %edx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
movl $32, %esi
callq _devm_kmalloc_array
movq %rax, 80(%r13)
testq %rax, %rax
je LBB0_26
## %bb.3:
movq %rbx, -64(%rbp) ## 8-byte Spill
movl %r14d, -44(%rbp) ## 4-byte Spill
cmpl $0, 72(%r13)
jle LBB0_7
## %bb.4:
movl $8, %r14d
xorl %ebx, %ebx
leaq L_.str.2(%rip), %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax,%r14)
jle LBB0_23
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq -8(%rax,%r14), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rax,%rcx,8), %edi
callq _le16_to_cpu
## kill: def $eax killed $eax def $rax
movl %eax, %edx
andl $2047, %edx ## imm = 0x7FF
shrl $11, %eax
andl $3, %eax
leal 1(%rax), %ecx
imull %edx, %ecx
movq 80(%r13), %rax
movl %ecx, (%rax,%rbx,4)
movl 32(%r13), %edi
movq %r12, %rsi
movl %ebx, %edx
callq _dev_dbg
incq %rbx
movslq 72(%r13), %rax
addq $16, %r14
cmpq %rax, %rbx
jl LBB0_5
LBB0_7:
movq 40(%r13), %rax
movslq 4(%rax), %rax
leal 1(%rax), %edx
cmpl (%r13), %edx
jge LBB0_27
## %bb.8:
movq -64(%rbp), %rbx ## 8-byte Reload
movq 8(%rbx), %rcx
movq (%rcx), %rcx
movq 8(%rcx,%rax,8), %r15
movq 8(%r15), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, 8(%rax)
jle LBB0_23
## %bb.9:
movq (%rax), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl 4(%rax,%rcx,8), %edx
movl %edx, 64(%r13)
movl (%r15), %ecx
movl %ecx, 48(%r13)
movl 32(%r13), %edi
leaq L_.str.4(%rip), %rsi
callq _dev_info
movl 48(%r13), %edx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
movl $32, %esi
callq _devm_kmalloc_array
movq %rax, 56(%r13)
testq %rax, %rax
je LBB0_26
## %bb.10:
cmpl $0, 48(%r13)
jle LBB0_14
## %bb.11:
movl $8, %r14d
xorl %ebx, %ebx
leaq L_.str.2(%rip), %r12
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax,%r14)
jle LBB0_23
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq -8(%rax,%r14), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rax,%rcx,8), %edi
callq _le16_to_cpu
## kill: def $eax killed $eax def $rax
movl %eax, %edx
andl $2047, %edx ## imm = 0x7FF
shrl $11, %eax
andl $3, %eax
leal 1(%rax), %ecx
imull %edx, %ecx
movq 56(%r13), %rax
movl %ecx, (%rax,%rbx,4)
movl 32(%r13), %edi
movq %r12, %rsi
movl %ebx, %edx
callq _dev_dbg
incq %rbx
movslq 48(%r13), %rax
addq $16, %r14
cmpq %rax, %rbx
jl LBB0_12
LBB0_14:
movq 40(%r13), %rax
movslq 8(%rax), %rax
leal 1(%rax), %edx
cmpl (%r13), %edx
jge LBB0_28
## %bb.15:
movq -64(%rbp), %rbx ## 8-byte Reload
movq 8(%rbx), %rcx
movq (%rcx), %rcx
movq 8(%rcx,%rax,8), %r15
movq 8(%r15), %rax
movl -44(%rbp), %r14d ## 4-byte Reload
cmpl %r14d, 8(%rax)
jle LBB0_23
## %bb.16:
movq (%rax), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl 4(%rax,%rcx,8), %edx
movl %edx, 24(%r13)
movl (%r15), %ecx
movl %ecx, 8(%r13)
movl 32(%r13), %edi
leaq L_.str.6(%rip), %rsi
callq _dev_info
movl 8(%r13), %edx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
movl $32, %esi
callq _devm_kmalloc_array
movq %rax, 16(%r13)
testq %rax, %rax
je LBB0_26
## %bb.17:
cmpl $0, 8(%r13)
jle LBB0_29
## %bb.18:
movl $8, %r12d
xorl %ebx, %ebx
LBB0_19: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
cmpl %r14d, (%rax,%r12)
jle LBB0_23
## %bb.20: ## in Loop: Header=BB0_19 Depth=1
movq -8(%rax,%r12), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rax,%rcx,8), %edi
callq _le16_to_cpu
## kill: def $eax killed $eax def $rax
movl %eax, %edx
andl $2047, %edx ## imm = 0x7FF
shrl $11, %eax
andl $3, %eax
leal 1(%rax), %ecx
imull %edx, %ecx
movq 16(%r13), %rax
movl %ecx, (%rax,%rbx,4)
movl 32(%r13), %edi
leaq L_.str.2(%rip), %rsi
movl %ebx, %edx
callq _dev_dbg
incq %rbx
movslq 8(%r13), %rcx
addq $16, %r12
xorl %eax, %eax
cmpq %rcx, %rbx
jl LBB0_19
jmp LBB0_25
LBB0_21:
movl 32(%r13), %edi
leaq L_.str(%rip), %rsi
LBB0_22:
callq _dev_err
LBB0_23:
movq _ENODEV@GOTPCREL(%rip), %rcx
LBB0_24:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_25:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_26:
movq _ENOMEM@GOTPCREL(%rip), %rcx
jmp LBB0_24
LBB0_27:
movl 32(%r13), %edi
leaq L_.str.3(%rip), %rsi
jmp LBB0_22
LBB0_28:
movl 32(%r13), %edi
leaq L_.str.5(%rip), %rsi
jmp LBB0_22
LBB0_29:
xorl %eax, %eax
jmp LBB0_25
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Video PCB interface #%d doesn't exist\n"
.comm _ENODEV,4,2 ## @ENODEV
L_.str.1: ## @.str.1
.asciz "video EndPoint Addr 0x%x, Alternate settings: %i\n"
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.2: ## @.str.2
.asciz "Alternate setting %i, max size= %i\n"
L_.str.3: ## @.str.3
.asciz "VBI PCB interface #%d doesn't exist\n"
L_.str.4: ## @.str.4
.asciz "VBI EndPoint Addr 0x%x, Alternate settings: %i\n"
L_.str.5: ## @.str.5
.asciz "Sliced CC PCB interface #%d doesn't exist\n"
L_.str.6: ## @.str.6
.asciz "sliced CC EndPoint Addr 0x%x, Alternate settings: %i\n"
.no_dead_strip _cx231xx_init_v4l2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cx231xx_init_v4l2
_cx231xx_init_v4l2: ; @cx231xx_init_v4l2
.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
ldr x8, [x0, #40]
ldrsw x8, [x8]
add x2, x8, #1
ldr w8, [x0]
cmp w2, w8
b.ge LBB0_21
; %bb.1:
mov x20, x3
mov x21, x1
ldr x8, [x1, #8]
ldr x8, [x8]
ldr x26, [x8, x2, lsl #3]
ldr x8, [x26, #8]
ldr w9, [x8, #8]
cmp w9, w3
b.le LBB0_23
; %bb.2:
ldr x8, [x8]
add x8, x8, w20, sxtw #3
ldr w2, [x8, #4]
str w2, [x19, #88]
ldr w3, [x26]
str w3, [x19, #72]
ldr w0, [x19, #32]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_info
ldr w2, [x19, #72]
Lloh2:
adrp x25, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
ldr w3, [x25]
mov x0, x21
mov w1, #32
bl _devm_kmalloc_array
str x0, [x19, #80]
cbz x0, LBB0_26
; %bb.3:
sxtw x24, w20
ldr w8, [x19, #72]
cmp w8, #1
b.lt LBB0_7
; %bb.4:
mov x27, #0
mov x22, #0
lsl x28, x24, #3
Lloh4:
adrp x23, l_.str.2@PAGE
Lloh5:
add x23, x23, l_.str.2@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26, #8]
add x9, x8, x27
ldr w9, [x9, #8]
cmp w9, w20
b.le LBB0_23
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x8, x27]
ldr w0, [x8, x28]
bl _le16_to_cpu
and w8, w0, #0x7ff
ubfx w9, w0, #11, #2
madd w3, w8, w9, w8
ldr x8, [x19, #80]
str w3, [x8, x22, lsl #2]
ldr w0, [x19, #32]
mov x1, x23
mov x2, x22
bl _dev_dbg
add x22, x22, #1
ldrsw x8, [x19, #72]
add x27, x27, #16
cmp x22, x8
b.lt LBB0_5
LBB0_7:
ldr x8, [x19, #40]
ldrsw x8, [x8, #4]
add x2, x8, #1
ldr w8, [x19]
cmp w2, w8
b.ge LBB0_27
; %bb.8:
ldr x8, [x21, #8]
ldr x8, [x8]
ldr x26, [x8, x2, lsl #3]
ldr x8, [x26, #8]
ldr w9, [x8, #8]
cmp w9, w20
b.le LBB0_23
; %bb.9:
ldr x8, [x8]
add x8, x8, x24, lsl #3
ldr w2, [x8, #4]
str w2, [x19, #64]
ldr w3, [x26]
str w3, [x19, #48]
ldr w0, [x19, #32]
Lloh6:
adrp x1, l_.str.4@PAGE
Lloh7:
add x1, x1, l_.str.4@PAGEOFF
bl _dev_info
ldr w2, [x19, #48]
ldr w3, [x25]
mov x0, x21
mov w1, #32
bl _devm_kmalloc_array
str x0, [x19, #56]
cbz x0, LBB0_26
; %bb.10:
ldr w8, [x19, #48]
cmp w8, #1
b.lt LBB0_14
; %bb.11:
mov x27, #0
mov x22, #0
lsl x28, x24, #3
Lloh8:
adrp x23, l_.str.2@PAGE
Lloh9:
add x23, x23, l_.str.2@PAGEOFF
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26, #8]
add x9, x8, x27
ldr w9, [x9, #8]
cmp w9, w20
b.le LBB0_23
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x8, x27]
ldr w0, [x8, x28]
bl _le16_to_cpu
and w8, w0, #0x7ff
ubfx w9, w0, #11, #2
madd w3, w8, w9, w8
ldr x8, [x19, #56]
str w3, [x8, x22, lsl #2]
ldr w0, [x19, #32]
mov x1, x23
mov x2, x22
bl _dev_dbg
add x22, x22, #1
ldrsw x8, [x19, #48]
add x27, x27, #16
cmp x22, x8
b.lt LBB0_12
LBB0_14:
ldr x8, [x19, #40]
ldrsw x8, [x8, #8]
add x2, x8, #1
ldr w8, [x19]
cmp w2, w8
b.ge LBB0_28
; %bb.15:
ldr x8, [x21, #8]
ldr x8, [x8]
ldr x23, [x8, x2, lsl #3]
ldr x8, [x23, #8]
ldr w9, [x8, #8]
cmp w9, w20
b.le LBB0_23
; %bb.16:
ldr x8, [x8]
add x8, x8, x24, lsl #3
ldr w2, [x8, #4]
str w2, [x19, #24]
ldr w3, [x23]
str w3, [x19, #8]
ldr w0, [x19, #32]
Lloh10:
adrp x1, l_.str.6@PAGE
Lloh11:
add x1, x1, l_.str.6@PAGEOFF
bl _dev_info
ldr w2, [x19, #8]
ldr w3, [x25]
mov x0, x21
mov w1, #32
bl _devm_kmalloc_array
str x0, [x19, #16]
cbz x0, LBB0_26
; %bb.17:
ldr w8, [x19, #8]
cmp w8, #1
b.lt LBB0_29
; %bb.18:
mov x25, #0
mov x21, #0
lsl x24, x24, #3
Lloh12:
adrp x22, l_.str.2@PAGE
Lloh13:
add x22, x22, l_.str.2@PAGEOFF
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23, #8]
add x9, x8, x25
ldr w9, [x9, #8]
cmp w9, w20
b.le LBB0_23
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
ldr x8, [x8, x25]
ldr w0, [x8, x24]
bl _le16_to_cpu
and w8, w0, #0x7ff
ubfx w9, w0, #11, #2
madd w3, w8, w9, w8
ldr x8, [x19, #16]
str w3, [x8, x21, lsl #2]
ldr w0, [x19, #32]
mov x1, x22
mov x2, x21
bl _dev_dbg
mov w0, #0
add x21, x21, #1
ldrsw x8, [x19, #8]
add x25, x25, #16
cmp x21, x8
b.lt LBB0_19
b LBB0_25
LBB0_21:
ldr w0, [x19, #32]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
LBB0_22:
; kill: def $w2 killed $w2 killed $x2
bl _dev_err
LBB0_23:
Lloh16:
adrp x8, _ENODEV@GOTPAGE
Lloh17:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_24:
ldr w8, [x8]
neg w0, w8
LBB0_25:
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
LBB0_26:
Lloh18:
adrp x8, _ENOMEM@GOTPAGE
Lloh19:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_24
LBB0_27:
ldr w0, [x19, #32]
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_22
LBB0_28:
ldr w0, [x19, #32]
Lloh22:
adrp x1, l_.str.5@PAGE
Lloh23:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_22
LBB0_29:
mov w0, #0
b LBB0_25
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Video PCB interface #%d doesn't exist\n"
.comm _ENODEV,4,2 ; @ENODEV
l_.str.1: ; @.str.1
.asciz "video EndPoint Addr 0x%x, Alternate settings: %i\n"
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.2: ; @.str.2
.asciz "Alternate setting %i, max size= %i\n"
l_.str.3: ; @.str.3
.asciz "VBI PCB interface #%d doesn't exist\n"
l_.str.4: ; @.str.4
.asciz "VBI EndPoint Addr 0x%x, Alternate settings: %i\n"
l_.str.5: ; @.str.5
.asciz "Sliced CC PCB interface #%d doesn't exist\n"
l_.str.6: ; @.str.6
.asciz "sliced CC EndPoint Addr 0x%x, Alternate settings: %i\n"
.no_dead_strip _cx231xx_init_v4l2
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-cards.c_cx231xx_init_v4l2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cf_sha384_digest_final ## -- Begin function cf_sha384_digest_final
.p2align 4, 0x90
_cf_sha384_digest_final: ## @cf_sha384_digest_final
.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, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq _CF_SHA512_HASHSZ@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq _cf_sha512_digest_final
movq _CF_SHA384_HASHSZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _memcpy
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_2
## %bb.1:
leaq -24(%rbp), %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _CF_SHA384_HASHSZ,4,2 ## @CF_SHA384_HASHSZ
.comm _CF_SHA512_HASHSZ,4,2 ## @CF_SHA512_HASHSZ
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cf_sha384_digest_final ; -- Begin function cf_sha384_digest_final
.p2align 2
_cf_sha384_digest_final: ; @cf_sha384_digest_final
.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
sub sp, sp, #16
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, _CF_SHA512_HASHSZ@GOTPAGE
Lloh4:
ldr x8, [x8, _CF_SHA512_HASHSZ@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
mov x1, x20
bl _cf_sha512_digest_final
Lloh8:
adrp x8, _CF_SHA384_HASHSZ@GOTPAGE
Lloh9:
ldr x8, [x8, _CF_SHA384_HASHSZ@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl _memcpy
ldur x8, [x29, #-24]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CF_SHA384_HASHSZ,4,2 ; @CF_SHA384_HASHSZ
.comm _CF_SHA512_HASHSZ,4,2 ; @CF_SHA512_HASHSZ
.subsections_via_symbols
| AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_sha512.c_cf_sha384_digest_final.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function readline_apr_lf
_readline_apr_lf: ## @readline_apr_lf
.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 %rdx, -56(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %r13
movq _SVN__LINE_CHUNK_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rcx, %rsi
callq _svn_stringbuf_create_ensure
movq %rax, %rbx
movq _APR_SUCCESS@GOTPCREL(%rip), %r12
jmp LBB0_1
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movq _SVN__LINE_CHUNK_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq 16(%rbx), %rsi
movq %rbx, %rdi
callq _svn_stringbuf_ensure
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq 8(%rbx), %rdi
movl 16(%rbx), %esi
subl %edi, %esi
addq (%rbx), %rdi
movq %r13, %rdx
callq _apr_file_gets
movq %rax, %r14
movslq 8(%rbx), %r15
movq %r15, %rdi
addq (%rbx), %rdi
callq _strlen
addl %r15d, %eax
movl %eax, 8(%rbx)
movq %r14, %rdi
callq _APR_STATUS_IS_EOF
testq %rax, %rax
jne LBB0_2
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
cmpq (%r12), %r14
jne LBB0_8
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movl 8(%rbx), %eax
testl %eax, %eax
jle LBB0_15
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rcx
decl %eax
cmpb $10, (%rcx,%rax)
jne LBB0_15
## %bb.14:
movq %rbx, %rdi
movl $1, %esi
callq _svn_stringbuf_chop
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_2:
movl 8(%rbx), %eax
testl %eax, %eax
jle LBB0_5
## %bb.3:
movq (%rbx), %rcx
decl %eax
cmpb $10, (%rcx,%rax)
jne LBB0_5
## %bb.4:
movq %rbx, %rdi
movl $1, %esi
callq _svn_stringbuf_chop
LBB0_5:
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq -64(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_17
LBB0_8:
leaq -48(%rbp), %rdi
movq %r13, %rsi
movq -72(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
callq _svn_io_file_name_get
testq %rax, %rax
je LBB0_10
## %bb.9:
movq $0, -48(%rbp)
LBB0_10:
movq %rax, %rdi
callq _svn_error_clear
cmpq $0, -48(%rbp)
je LBB0_16
## %bb.11:
leaq L_.str(%rip), %rdi
callq __
movl %eax, %r15d
movq -48(%rbp), %rdi
movq %rbx, %rsi
callq _svn_dirent_local_style
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _svn_error_wrap_apr
jmp LBB0_17
LBB0_16:
leaq L_.str.1(%rip), %rdi
callq __
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _svn_error_wrap_apr
LBB0_17:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN__LINE_CHUNK_SIZE,8,3 ## @SVN__LINE_CHUNK_SIZE
.comm _TRUE,4,2 ## @TRUE
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.comm _APR_SUCCESS,8,3 ## @APR_SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Can't read a line from file '%s'"
L_.str.1: ## @.str.1
.asciz "Can't read a line from stream"
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _readline_apr_lf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function readline_apr_lf
_readline_apr_lf: ; @readline_apr_lf
.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 x19, x3
mov x21, x2
mov x20, x1
mov x24, x0
Lloh0:
adrp x25, _SVN__LINE_CHUNK_SIZE@GOTPAGE
Lloh1:
ldr x25, [x25, _SVN__LINE_CHUNK_SIZE@GOTPAGEOFF]
ldr x0, [x25]
mov x1, x3
bl _svn_stringbuf_create_ensure
mov x22, x0
Lloh2:
adrp x26, _APR_SUCCESS@GOTPAGE
Lloh3:
ldr x26, [x26, _APR_SUCCESS@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x22, #16]
ldr x9, [x25]
add x1, x9, x8
mov x0, x22
bl _svn_stringbuf_ensure
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldrsw x9, [x22, #8]
add x0, x8, x9
ldr w8, [x22, #16]
sub w1, w8, w9
mov x2, x24
bl _apr_file_gets
mov x23, x0
ldr x8, [x22]
ldrsw x27, [x22, #8]
add x0, x8, x27
bl _strlen
add w8, w27, w0
str w8, [x22, #8]
mov x0, x23
bl _APR_STATUS_IS_EOF
cbnz x0, LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x26]
cmp x23, x8
b.ne LBB0_12
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x22, #8]
subs w8, w8, #1
b.lt LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x22]
ldrb w8, [x9, w8, uxtw]
cmp w8, #10
b.ne LBB0_1
; %bb.6:
mov x0, x22
mov w1, #1
bl _svn_stringbuf_chop
Lloh4:
adrp x8, _FALSE@GOTPAGE
Lloh5:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_11
LBB0_7:
ldr w8, [x22, #8]
subs w8, w8, #1
b.lt LBB0_10
; %bb.8:
ldr x9, [x22]
ldrb w8, [x9, w8, uxtw]
cmp w8, #10
b.ne LBB0_10
; %bb.9:
mov x0, x22
mov w1, #1
bl _svn_stringbuf_chop
LBB0_10:
Lloh6:
adrp x8, _TRUE@GOTPAGE
Lloh7:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_11:
ldr w8, [x8]
str w8, [x21]
str x22, [x20]
Lloh8:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh10:
ldr x0, [x8]
b LBB0_18
LBB0_12:
add x0, sp, #8
mov x1, x24
mov x2, x19
bl _svn_io_file_name_get
cbz x0, LBB0_14
; %bb.13:
str xzr, [sp, #8]
LBB0_14:
bl _svn_error_clear
ldr x8, [sp, #8]
cbz x8, LBB0_16
; %bb.15:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
bl __
mov x20, x0
ldr x0, [sp, #8]
mov x1, x19
bl _svn_dirent_local_style
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x23
mov x1, x20
b LBB0_17
LBB0_16:
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl __
mov x1, x0
mov x0, x23
LBB0_17:
bl _svn_error_wrap_apr
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _SVN__LINE_CHUNK_SIZE,8,3 ; @SVN__LINE_CHUNK_SIZE
.comm _TRUE,4,2 ; @TRUE
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.comm _APR_SUCCESS,8,3 ; @APR_SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't read a line from file '%s'"
l_.str.1: ; @.str.1
.asciz "Can't read a line from stream"
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _readline_apr_lf
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_readline_apr_lf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsbl %dil, %esi
andl $16777215, %edi ## imm = 0xFFFFFF
movl %edi, %eax
shrl $8, %eax
shrl $16, %edi
movsbl %al, %edx
movsbl %dil, %ecx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.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
movq _s1@GOTPCREL(%rip), %rax
movw $515, (%rax) ## imm = 0x203
movb $1, 2(%rax)
leaq L_.str(%rip), %rdi
movl $3, %esi
movl $2, %edx
movl $1, %ecx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $3, %edx
xorl %esi, %esi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "{%d, %d, %d}\n"
.comm _s1,3,0 ## @s1
L_.str.1: ## @.str.1
.asciz "size: %lu, %lu\n"
.comm _foo,1,2 ## @foo
.comm _bar,1,2 ## @bar
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
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
sxtb w8, w0
sbfx w9, w0, #8, #8
sbfx w10, w0, #16, #8
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
Lloh2:
adrp x8, _s1@GOTPAGE
Lloh3:
ldr x8, [x8, _s1@GOTPAGEOFF]
mov w9, #515
strh w9, [x8]
mov w9, #1
strb w9, [x8, #2]
mov w8, #2
mov w19, #3
stp x8, x9, [sp, #8]
str x19, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
stp xzr, x19, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "{%d, %d, %d}\n"
.comm _s1,3,0 ; @s1
l_.str.1: ; @.str.1
.asciz "size: %lu, %lu\n"
.comm _foo,1,2 ; @foo
.comm _bar,1,2 ; @bar
.subsections_via_symbols
| the_stack_data/148025.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
movslq %edi, %rax
leaq _info_size(%rip), %rcx
movsbl (%rax,%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _info_size ## @info_size
.p2align 4
_info_size:
.asciz "INFO:size[00028] key[__x86_64]"
.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:
Lloh0:
adrp x8, _info_size@PAGE
Lloh1:
add x8, x8, _info_size@PAGEOFF
ldrsb w0, [x8, w0, sxtw]
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _info_size ; @info_size
_info_size:
.asciz "INFO:size[00028]"
.subsections_via_symbols
| the_stack_data/182952431.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HUlib_drawIText ## -- Begin function HUlib_drawIText
.p2align 4, 0x90
_HUlib_drawIText: ## @HUlib_drawIText
.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
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
addq $8, %rdi
movl $1, %esi
popq %rbp
jmp _HUlib_drawTextLine ## TAILCALL
LBB0_1:
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 _HUlib_drawIText ; -- Begin function HUlib_drawIText
.p2align 2
_HUlib_drawIText: ; @HUlib_drawIText
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
add x0, x0, #8
mov w1, #1
b _HUlib_drawTextLine
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/DOOM/linuxdoom-1.10/extr_hu_lib.c_HUlib_drawIText.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function topdown_filter_events
_topdown_filter_events: ## @topdown_filter_events
.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, %rax
movq %rdi, %r14
movq (%rdi), %rsi
testq %rsi, %rsi
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rax, -56(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.2:
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incl %r13d
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r14,%r15,8), %rsi
incq %r15
testq %rsi, %rsi
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
callq _pmu_have_event
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq (%r14,%r15,8), %rbx
movq %rbx, %rdi
callq _strlen
addl %eax, %r12d
incl %r12d
movl %r15d, %eax
subl %r13d, %eax
cltq
movq %rbx, (%r14,%rax,8)
jmp LBB0_6
LBB0_1:
xorl %r13d, %r13d
xorl %r15d, %r15d
xorl %r12d, %r12d
LBB0_7:
movl %r15d, %eax
subl %r13d, %eax
cltq
movq $0, (%r14,%rax,8)
addl $3, %r12d
movl %r12d, %edi
callq _malloc
movq %rax, %rbx
movq -56(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
testq %rbx, %rbx
je LBB0_8
## %bb.9:
cmpl %r13d, %r15d
jne LBB0_11
## %bb.10:
movq %rbx, %rcx
jmp LBB0_20
LBB0_8:
movl $-1, %eax
jmp LBB0_21
LBB0_11:
movl -44(%rbp), %r15d ## 4-byte Reload
testl %r15d, %r15d
je LBB0_13
## %bb.12:
movb $123, (%rbx)
incq %rbx
LBB0_13:
movq (%r14), %rsi
testq %rsi, %rsi
je LBB0_14
## %bb.15:
addq $8, %r14
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _strcpy
movq %rbx, %rdi
callq _strlen
leaq (%rbx,%rax), %rcx
incq %rcx
movb $44, (%rbx,%rax)
movq (%r14), %rsi
addq $8, %r14
movq %rcx, %rbx
testq %rsi, %rsi
jne LBB0_16
jmp LBB0_17
LBB0_14:
movq %rbx, %rcx
LBB0_17:
leaq -1(%rcx), %rax
testl %r15d, %r15d
je LBB0_18
## %bb.19:
movb $125, (%rax)
jmp LBB0_20
LBB0_18:
movq %rax, %rcx
LBB0_20:
movb $0, (%rcx)
xorl %eax, %eax
LBB0_21:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cpu"
.no_dead_strip _topdown_filter_events
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function topdown_filter_events
_topdown_filter_events: ; @topdown_filter_events
.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, x2
mov x21, x1
mov x20, x0
ldr x1, [x0]
cbz x1, LBB0_6
; %bb.1:
mov x26, #0
mov w25, #0
mov w24, #0
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w24, w24, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x23, x26, #1
add x8, x20, x26, lsl #3
ldr x1, [x8, #8]
mov x26, x23
cbz x1, LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _pmu_have_event
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x23, [x20, x26, lsl #3]
mov x0, x23
bl _strlen
add w8, w25, w0
add w25, w8, #1
sub w8, w26, w24
str x23, [x20, w8, sxtw #3]
b LBB0_3
LBB0_6:
mov w24, #0
mov w23, #0
mov w25, #0
LBB0_7:
sub w8, w23, w24
str xzr, [x20, w8, sxtw #3]
add w0, w25, #3
bl _malloc
str x0, [x21]
cbz x0, LBB0_16
; %bb.8:
mov x22, x0
cmp w23, w24
b.eq LBB0_18
; %bb.9:
cbz w19, LBB0_11
; %bb.10:
mov w8, #123
strb w8, [x22], #1
LBB0_11:
ldr x1, [x20]
cbz x1, LBB0_14
; %bb.12:
add x20, x20, #8
mov w21, #44
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _strcpy
mov x0, x22
bl _strlen
add x22, x22, x0
strb w21, [x22], #1
ldr x1, [x20], #8
cbnz x1, LBB0_13
LBB0_14:
sub x8, x22, #1
cbz w19, LBB0_17
; %bb.15:
mov w9, #125
strb w9, [x8]
b LBB0_18
LBB0_16:
mov w0, #-1
b LBB0_19
LBB0_17:
mov x22, x8
LBB0_18:
mov w0, #0
strb wzr, [x22]
LBB0_19:
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 AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cpu"
.no_dead_strip _topdown_filter_events
.subsections_via_symbols
| AnghaBench/linux/tools/perf/extr_builtin-stat.c_topdown_filter_events.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function svg_dev_path
_svg_dev_path: ## @svg_dev_path
.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
movl (%rsi), %esi
leaq L_.str(%rip), %rdx
callq _fz_write_printf
movl (%rbx), %ecx
movq _svg_path_walker@GOTPCREL(%rip), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq _fz_walk_path
movl (%rbx), %esi
leaq L_.str.1(%rip), %rdx
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fz_write_printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " d=\""
.comm _svg_path_walker,4,2 ## @svg_path_walker
L_.str.1: ## @.str.1
.asciz "\""
.no_dead_strip _svg_dev_path
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function svg_dev_path
_svg_dev_path: ; @svg_dev_path
.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
ldr w1, [x1]
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
bl _fz_write_printf
ldr w3, [x20]
Lloh2:
adrp x2, _svg_path_walker@GOTPAGE
Lloh3:
ldr x2, [x2, _svg_path_walker@GOTPAGEOFF]
mov x0, x21
mov x1, x19
bl _fz_walk_path
ldr w1, [x20]
Lloh4:
adrp x2, l_.str.1@PAGE
Lloh5:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x21
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 _fz_write_printf
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " d=\""
.comm _svg_path_walker,4,2 ; @svg_path_walker
l_.str.1: ; @.str.1
.asciz "\""
.no_dead_strip _svg_dev_path
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/fitz/extr_svg-device.c_svg_dev_path.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vm_object_page_remove ## -- Begin function vm_object_page_remove
.p2align 4, 0x90
_vm_object_page_remove: ## @vm_object_page_remove
.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 %ecx, %ebx
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
callq _VM_OBJECT_ASSERT_WLOCKED
movq _OBJ_UNMANAGED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r14)
je LBB0_1
## %bb.2:
movq _OBJPR_CLEANONLY@GOTPCREL(%rip), %rax
movq _OBJPR_NOTMAPPED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl (%rax), %eax
orl %ecx, %eax
andl %ebx, %eax
xorl %edi, %edi
cmpl %ecx, %eax
sete %dil
jmp LBB0_3
LBB0_1:
movl $1, %edi
LBB0_3:
movq %r14, %rsi
callq _KASSERT
cmpq $0, 8(%r14)
je LBB0_28
## %bb.4:
movq %r14, %rdi
movl $1, %esi
callq _vm_object_pip_add
movq %r14, %rdi
movq %r15, %rsi
callq _vm_page_find_least
testq %r12, %r12
jne LBB0_27
## %bb.5:
testq %rax, %rax
jne LBB0_27
## %bb.6:
movq _listq@GOTPCREL(%rip), %r12
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_7 Depth=1
leaq L_.str.1(%rip), %rsi
callq _vm_page_sleep_if_busy
movq %r14, %rdi
movq %r15, %rsi
callq _vm_page_find_least
testq %rax, %rax
jne LBB0_27
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
xorl %edi, %edi
callq _TAILQ_NEXT
movq %rax, %r13
xorl %edi, %edi
callq _vm_page_tryxbusy
xorl %edi, %edi
testq %rax, %rax
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
callq _vm_page_wired
testq %rax, %rax
je LBB0_16
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movq _OBJPR_NOTMAPPED@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
jne LBB0_13
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
cmpq $0, 16(%r14)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _pmap_remove_all
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movq _OBJPR_CLEANONLY@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _vm_page_invalid
xorl %edi, %edi
callq _vm_page_undirty
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _vm_page_xunbusy
testq %r13, %r13
je LBB0_7
jmp LBB0_27
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
movq _PG_FICTITIOUS@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %edi, %edi
testl %eax, 8
sete %dil
xorl %esi, %esi
callq _KASSERT
movq _OBJPR_CLEANONLY@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_22
## %bb.17: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _vm_page_none_valid
testl %eax, %eax
je LBB0_18
LBB0_22: ## in Loop: Header=BB0_7 Depth=1
movq _OBJPR_NOTMAPPED@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_23
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _vm_page_free
testq %r13, %r13
je LBB0_7
jmp LBB0_27
LBB0_23: ## in Loop: Header=BB0_7 Depth=1
cmpq $0, 16(%r14)
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _vm_page_try_remove_all
testl %eax, %eax
jne LBB0_25
jmp LBB0_10
LBB0_18: ## in Loop: Header=BB0_7 Depth=1
movq _OBJPR_NOTMAPPED@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_19
LBB0_21: ## in Loop: Header=BB0_7 Depth=1
cmpq $0, 16
jne LBB0_15
jmp LBB0_22
LBB0_19: ## in Loop: Header=BB0_7 Depth=1
cmpq $0, 16(%r14)
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_7 Depth=1
xorl %edi, %edi
callq _vm_page_try_remove_write
testl %eax, %eax
jne LBB0_21
jmp LBB0_10
LBB0_27:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _vm_object_pip_wakeup ## TAILCALL
LBB0_28:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OBJ_UNMANAGED,4,2 ## @OBJ_UNMANAGED
.comm _OBJPR_CLEANONLY,4,2 ## @OBJPR_CLEANONLY
.comm _OBJPR_NOTMAPPED,4,2 ## @OBJPR_NOTMAPPED
.comm _listq,4,2 ## @listq
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "vmopar"
.comm _PG_FICTITIOUS,4,2 ## @PG_FICTITIOUS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _vm_object_page_remove ; -- Begin function vm_object_page_remove
.p2align 2
_vm_object_page_remove: ; @vm_object_page_remove
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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, x3
mov x22, x2
mov x21, x1
mov x20, x0
bl _VM_OBJECT_ASSERT_WLOCKED
ldr w8, [x20]
Lloh0:
adrp x9, _OBJ_UNMANAGED@GOTPAGE
Lloh1:
ldr x9, [x9, _OBJ_UNMANAGED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
Lloh3:
adrp x8, _OBJPR_CLEANONLY@GOTPAGE
Lloh4:
ldr x8, [x8, _OBJPR_CLEANONLY@GOTPAGEOFF]
Lloh5:
adrp x9, _OBJPR_NOTMAPPED@GOTPAGE
Lloh6:
ldr x9, [x9, _OBJPR_NOTMAPPED@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
ldr w9, [x9]
orr w8, w9, w8
and w8, w8, w19
cmp w8, w9
cset w0, eq
b LBB0_3
LBB0_2:
mov w0, #1 ; =0x1
LBB0_3:
mov x1, x20
bl _KASSERT
ldr x8, [x20, #8]
cbz x8, LBB0_27
; %bb.4:
mov x0, x20
mov w1, #1 ; =0x1
bl _vm_object_pip_add
mov x0, x20
mov x1, x21
bl _vm_page_find_least
cbnz x22, LBB0_26
; %bb.5:
cbnz x0, LBB0_26
; %bb.6:
Lloh9:
adrp x24, _listq@GOTPAGE
Lloh10:
ldr x24, [x24, _listq@GOTPAGEOFF]
Lloh11:
adrp x22, l_.str.1@PAGE
Lloh12:
add x22, x22, l_.str.1@PAGEOFF
Lloh13:
adrp x25, _PG_FICTITIOUS@GOTPAGE
Lloh14:
ldr x25, [x25, _PG_FICTITIOUS@GOTPAGEOFF]
mov w26, #8 ; =0x8
Lloh15:
adrp x27, _OBJPR_CLEANONLY@GOTPAGE
Lloh16:
ldr x27, [x27, _OBJPR_CLEANONLY@GOTPAGEOFF]
Lloh17:
adrp x28, _OBJPR_NOTMAPPED@GOTPAGE
Lloh18:
ldr x28, [x28, _OBJPR_NOTMAPPED@GOTPAGEOFF]
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
mov x1, x22
bl _vm_page_sleep_if_busy
mov x0, x20
mov x1, x21
bl _vm_page_find_least
cbnz x0, LBB0_26
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, #0 ; =0x0
bl _TAILQ_NEXT
mov x23, x0
mov x0, #0 ; =0x0
bl _vm_page_tryxbusy
cbz x0, LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_wired
cbz x0, LBB0_16
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x28]
tst w8, w19
b.ne LBB0_13
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x20, #16]
cbz x8, LBB0_13
; %bb.12: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _pmap_remove_all
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x27]
tst w8, w19
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_invalid
mov x0, #0 ; =0x0
bl _vm_page_undirty
LBB0_15: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_xunbusy
cbz x23, LBB0_8
b LBB0_26
LBB0_16: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x26]
ldr w9, [x25]
tst w9, w8
cset w0, eq
mov x1, #0 ; =0x0
bl _KASSERT
ldr w8, [x27]
tst w8, w19
b.eq LBB0_18
; %bb.17: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_none_valid
cbz w0, LBB0_22
LBB0_18: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x28]
tst w8, w19
b.eq LBB0_20
LBB0_19: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_free
cbz x23, LBB0_8
b LBB0_26
LBB0_20: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x20, #16]
cbz x8, LBB0_19
; %bb.21: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_try_remove_all
cbnz w0, LBB0_19
b LBB0_10
LBB0_22: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x28]
tst w8, w19
b.eq LBB0_24
LBB0_23: ; in Loop: Header=BB0_8 Depth=1
mov w8, #16 ; =0x10
ldr x8, [x8]
cbnz x8, LBB0_15
b LBB0_18
LBB0_24: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x20, #16]
cbz x8, LBB0_23
; %bb.25: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _vm_page_try_remove_write
cbnz w0, LBB0_23
b LBB0_10
LBB0_26:
mov x0, x20
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
b _vm_object_pip_wakeup
LBB0_27:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _OBJ_UNMANAGED,4,2 ; @OBJ_UNMANAGED
.comm _OBJPR_CLEANONLY,4,2 ; @OBJPR_CLEANONLY
.comm _OBJPR_NOTMAPPED,4,2 ; @OBJPR_NOTMAPPED
.comm _listq,4,2 ; @listq
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "vmopar"
.comm _PG_FICTITIOUS,4,2 ; @PG_FICTITIOUS
.subsections_via_symbols
| assembly_file_54040.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function internal_current_GAA
_internal_current_GAA: ## @internal_current_GAA
.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 %rdi, %rbx
xorl %edi, %edi
cmpq $0, 40(%rbx)
setne %dil
callq _REQUIRE
xorl %edi, %edi
cmpq $0, 32(%rbx)
setne %dil
callq _REQUIRE
movq 32(%rbx), %r15
movq _IpDadStatePreferred@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq (%r15), %rax
jne LBB0_1
## %bb.2:
movq 40(%rbx), %r12
movq %rbx, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movq 16(%r15), %rsi
movl (%rsi), %eax
movl %eax, 24(%rbx)
leaq 16(%rbx), %r14
movq %r14, %rdi
callq _isc_netaddr_fromsockaddr
movq _AF_INET6@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl 24(%rbx), %eax
jne LBB0_4
## %bb.3:
movl 24(%r12), %eax
movl %eax, 28(%rbx)
LBB0_4:
movq (%rbx), %rax
movb $0, (%rax)
movq _CP_ACP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 20(%r12), %edx
movq (%rbx), %r8
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
xorl %esi, %esi
movl $-1, %ecx
movl $8, %r9d
callq _WideCharToMultiByte
movq (%rbx), %rax
movb $0, 7(%rax)
movq _IfOperStatusUp@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq (%r12), %rax
jne LBB0_6
## %bb.5:
movq _INTERFACE_F_UP@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rbx)
LBB0_6:
movq _IF_TYPE_PPP@GOTPCREL(%rip), %rcx
movq 8(%r12), %rax
cmpq %rax, (%rcx)
jne LBB0_8
## %bb.7:
movq _INTERFACE_F_POINTTOPOINT@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_1:
movq _ISC_R_IGNORE@GOTPCREL(%rip), %r15
jmp LBB0_19
LBB0_8:
movq _IF_TYPE_SOFTWARE_LOOPBACK@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
jne LBB0_11
## %bb.9:
movq _INTERFACE_F_LOOPBACK@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
orl %eax, 8(%rbx)
LBB0_11:
movq _IP_ADAPTER_NO_MULTICAST@GOTPCREL(%rip), %rax
movl 16(%r12), %ecx
testl %ecx, (%rax)
jne LBB0_13
## %bb.12:
movq _INTERFACE_F_MULTICAST@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rbx)
LBB0_13:
movq _IpSuffixOriginRandom@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq 8(%r15), %rax
jne LBB0_15
## %bb.14:
movq _INTERFACE_F_PRIVACY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rbx)
LBB0_15:
movq %rbx, %rdi
callq _GAA_find_prefix
movq _AF_INET@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _ISC_R_SUCCESS@GOTPCREL(%rip), %r15
cmpl 24(%rbx), %ecx
jne LBB0_19
## %bb.16:
cmpb $31, %al
ja LBB0_19
## %bb.17:
movq _INTERFACE_F_LOOPBACK@GOTPCREL(%rip), %rcx
movl 8(%rbx), %eax
testl %eax, (%rcx)
jne LBB0_19
## %bb.18:
movq _INTERFACE_F_BROADCAST@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, 8(%rbx)
leaq 20(%rbx), %rdi
addq $12, %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq _get_broadcastaddr
LBB0_19:
movl (%r15), %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IpDadStatePreferred,8,3 ## @IpDadStatePreferred
.comm _ISC_R_IGNORE,4,2 ## @ISC_R_IGNORE
.comm _AF_INET6,4,2 ## @AF_INET6
.comm _CP_ACP,4,2 ## @CP_ACP
.comm _IfOperStatusUp,8,3 ## @IfOperStatusUp
.comm _INTERFACE_F_UP,4,2 ## @INTERFACE_F_UP
.comm _IF_TYPE_PPP,8,3 ## @IF_TYPE_PPP
.comm _INTERFACE_F_POINTTOPOINT,4,2 ## @INTERFACE_F_POINTTOPOINT
.comm _IF_TYPE_SOFTWARE_LOOPBACK,8,3 ## @IF_TYPE_SOFTWARE_LOOPBACK
.comm _INTERFACE_F_LOOPBACK,4,2 ## @INTERFACE_F_LOOPBACK
.comm _IP_ADAPTER_NO_MULTICAST,4,2 ## @IP_ADAPTER_NO_MULTICAST
.comm _INTERFACE_F_MULTICAST,4,2 ## @INTERFACE_F_MULTICAST
.comm _IpSuffixOriginRandom,8,3 ## @IpSuffixOriginRandom
.comm _INTERFACE_F_PRIVACY,4,2 ## @INTERFACE_F_PRIVACY
.comm _AF_INET,4,2 ## @AF_INET
.comm _INTERFACE_F_BROADCAST,4,2 ## @INTERFACE_F_BROADCAST
.comm _ISC_R_SUCCESS,4,2 ## @ISC_R_SUCCESS
.no_dead_strip _internal_current_GAA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function internal_current_GAA
_internal_current_GAA: ; @internal_current_GAA
.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
ldr x8, [x0, #40]
cmp x8, #0
cset w0, ne
bl _REQUIRE
ldr x8, [x19, #32]
cmp x8, #0
cset w0, ne
bl _REQUIRE
ldr x21, [x19, #32]
Lloh0:
adrp x8, _IpDadStatePreferred@GOTPAGE
Lloh1:
ldr x8, [x8, _IpDadStatePreferred@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_7
; %bb.1:
ldr x22, [x19, #40]
mov x0, x19
mov w1, #0
mov w2, #32
bl _memset
ldr x1, [x21, #16]
ldr w8, [x1]
str w8, [x19, #24]
add x20, x19, #16
mov x0, x20
bl _isc_netaddr_fromsockaddr
Lloh3:
adrp x8, _AF_INET6@GOTPAGE
Lloh4:
ldr x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #24]
cmp w8, w9
b.ne LBB0_3
; %bb.2:
ldr w8, [x22, #24]
str w8, [x19, #28]
LBB0_3:
ldr x8, [x19]
strb wzr, [x8]
Lloh6:
adrp x8, _CP_ACP@GOTPAGE
Lloh7:
ldr x8, [x8, _CP_ACP@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ldr w2, [x22, #20]
ldr x4, [x19]
mov w1, #0
mov w3, #-1
mov w5, #8
mov x6, #0
mov x7, #0
bl _WideCharToMultiByte
ldr x8, [x19]
strb wzr, [x8, #7]
Lloh9:
adrp x8, _IfOperStatusUp@GOTPAGE
Lloh10:
ldr x8, [x8, _IfOperStatusUp@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_5
; %bb.4:
Lloh12:
adrp x8, _INTERFACE_F_UP@GOTPAGE
Lloh13:
ldr x8, [x8, _INTERFACE_F_UP@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
ldr w9, [x19, #8]
orr w8, w9, w8
str w8, [x19, #8]
LBB0_5:
Lloh15:
adrp x8, _IF_TYPE_PPP@GOTPAGE
Lloh16:
ldr x8, [x8, _IF_TYPE_PPP@GOTPAGEOFF]
Lloh17:
ldr x9, [x8]
ldr x8, [x22, #8]
cmp x9, x8
b.ne LBB0_8
; %bb.6:
Lloh18:
adrp x8, _INTERFACE_F_POINTTOPOINT@GOTPAGE
Lloh19:
ldr x8, [x8, _INTERFACE_F_POINTTOPOINT@GOTPAGEOFF]
b LBB0_10
LBB0_7:
Lloh20:
adrp x8, _ISC_R_IGNORE@GOTPAGE
Lloh21:
ldr x8, [x8, _ISC_R_IGNORE@GOTPAGEOFF]
b LBB0_20
LBB0_8:
Lloh22:
adrp x9, _IF_TYPE_SOFTWARE_LOOPBACK@GOTPAGE
Lloh23:
ldr x9, [x9, _IF_TYPE_SOFTWARE_LOOPBACK@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.9:
Lloh25:
adrp x8, _INTERFACE_F_LOOPBACK@GOTPAGE
Lloh26:
ldr x8, [x8, _INTERFACE_F_LOOPBACK@GOTPAGEOFF]
LBB0_10:
ldr w8, [x8]
ldr w9, [x19, #8]
orr w8, w9, w8
str w8, [x19, #8]
LBB0_11:
Lloh27:
adrp x8, _IP_ADAPTER_NO_MULTICAST@GOTPAGE
Lloh28:
ldr x8, [x8, _IP_ADAPTER_NO_MULTICAST@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
ldr w9, [x22, #16]
tst w9, w8
b.ne LBB0_13
; %bb.12:
Lloh30:
adrp x8, _INTERFACE_F_MULTICAST@GOTPAGE
Lloh31:
ldr x8, [x8, _INTERFACE_F_MULTICAST@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
ldr w9, [x19, #8]
orr w8, w9, w8
str w8, [x19, #8]
LBB0_13:
Lloh33:
adrp x8, _IpSuffixOriginRandom@GOTPAGE
Lloh34:
ldr x8, [x8, _IpSuffixOriginRandom@GOTPAGEOFF]
Lloh35:
ldr x8, [x8]
ldr x9, [x21, #8]
cmp x8, x9
b.ne LBB0_15
; %bb.14:
Lloh36:
adrp x8, _INTERFACE_F_PRIVACY@GOTPAGE
Lloh37:
ldr x8, [x8, _INTERFACE_F_PRIVACY@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
ldr w9, [x19, #8]
orr w8, w9, w8
str w8, [x19, #8]
LBB0_15:
mov x0, x19
bl _GAA_find_prefix
Lloh39:
adrp x8, _AF_INET@GOTPAGE
Lloh40:
ldr x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh41:
ldr w9, [x8]
ldr w10, [x19, #24]
Lloh42:
adrp x8, _ISC_R_SUCCESS@GOTPAGE
Lloh43:
ldr x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
cmp w9, w10
b.ne LBB0_20
; %bb.16:
cmp w0, #31
b.hi LBB0_20
; %bb.17:
Lloh44:
adrp x8, _INTERFACE_F_LOOPBACK@GOTPAGE
Lloh45:
ldr x8, [x8, _INTERFACE_F_LOOPBACK@GOTPAGEOFF]
Lloh46:
ldr w9, [x8]
ldr w8, [x19, #8]
tst w8, w9
b.ne LBB0_19
; %bb.18:
Lloh47:
adrp x9, _INTERFACE_F_BROADCAST@GOTPAGE
Lloh48:
ldr x9, [x9, _INTERFACE_F_BROADCAST@GOTPAGEOFF]
Lloh49:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x19, #8]
add x0, x19, #20
add x2, x19, #12
mov x1, x20
bl _get_broadcastaddr
LBB0_19:
Lloh50:
adrp x8, _ISC_R_SUCCESS@GOTPAGE
Lloh51:
ldr x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
LBB0_20:
ldr w0, [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
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGot Lloh50, Lloh51
.cfi_endproc
; -- End function
.comm _IpDadStatePreferred,8,3 ; @IpDadStatePreferred
.comm _ISC_R_IGNORE,4,2 ; @ISC_R_IGNORE
.comm _AF_INET6,4,2 ; @AF_INET6
.comm _CP_ACP,4,2 ; @CP_ACP
.comm _IfOperStatusUp,8,3 ; @IfOperStatusUp
.comm _INTERFACE_F_UP,4,2 ; @INTERFACE_F_UP
.comm _IF_TYPE_PPP,8,3 ; @IF_TYPE_PPP
.comm _INTERFACE_F_POINTTOPOINT,4,2 ; @INTERFACE_F_POINTTOPOINT
.comm _IF_TYPE_SOFTWARE_LOOPBACK,8,3 ; @IF_TYPE_SOFTWARE_LOOPBACK
.comm _INTERFACE_F_LOOPBACK,4,2 ; @INTERFACE_F_LOOPBACK
.comm _IP_ADAPTER_NO_MULTICAST,4,2 ; @IP_ADAPTER_NO_MULTICAST
.comm _INTERFACE_F_MULTICAST,4,2 ; @INTERFACE_F_MULTICAST
.comm _IpSuffixOriginRandom,8,3 ; @IpSuffixOriginRandom
.comm _INTERFACE_F_PRIVACY,4,2 ; @INTERFACE_F_PRIVACY
.comm _AF_INET,4,2 ; @AF_INET
.comm _INTERFACE_F_BROADCAST,4,2 ; @INTERFACE_F_BROADCAST
.comm _ISC_R_SUCCESS,4,2 ; @ISC_R_SUCCESS
.no_dead_strip _internal_current_GAA
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_interfaceiter.c_internal_current_GAA.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ebml_parse_nest
_ebml_parse_nest: ## @ebml_parse_nest
.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 %rdx, %r13
movq %rsi, %r15
movq %rdi, %r14
testq %rdx, %rdx
je LBB0_14
## %bb.1:
cmpq $0, 40(%r15)
je LBB0_12
## %bb.2:
leaq LJTI0_0(%rip), %r12
movq %r15, %rbx
jmp LBB0_3
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl 24(%rbx), %eax
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movslq 32(%rbx), %rcx
movl %eax, (%r13,%rcx)
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, 88(%rbx)
leaq 48(%rbx), %rbx
je LBB0_12
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %eax
addl $-128, %eax
cmpl $4, %eax
ja LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq (%r12,%rax,4), %rax
addq %r12, %rax
jmpq *%rax
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movl 16(%rbx), %edi
testl %edi, %edi
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movslq 32(%rbx), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
callq _av_strdup
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rax, (%r13,%rcx,4)
testq %rax, %rax
jne LBB0_11
jmp LBB0_17
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl 20(%rbx), %eax
jmp LBB0_6
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movsd 8(%rbx), %xmm0 ## xmm0 = mem[0],zero
movslq 32(%rbx), %rax
movsd %xmm0, (%r13,%rax)
jmp LBB0_11
LBB0_12:
movq 8(%r14), %rcx
movslq (%r14), %rax
cmpl $0, -4(%rcx,%rax,4)
je LBB0_13
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq _ebml_parse
testl %eax, %eax
je LBB0_14
## %bb.15:
movq _LEVEL_ENDED@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
cmpl (%rdx), %eax
cmovnel %eax, %ecx
jmp LBB0_16
LBB0_13:
decq %rax
movl %eax, (%r14)
xorl %ecx, %ecx
LBB0_16:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
.long L0_0_set_9
.long L0_0_set_5
.long L0_0_set_9
.long L0_0_set_7
.long L0_0_set_8
.end_data_region
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _LEVEL_ENDED,4,2 ## @LEVEL_ENDED
.no_dead_strip _ebml_parse_nest
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ebml_parse_nest
_ebml_parse_nest: ; @ebml_parse_nest
.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, x2
mov x21, x1
mov x19, x0
cbz x2, LBB0_13
; %bb.1:
ldr x8, [x21, #40]
cbz x8, LBB0_12
; %bb.2:
Lloh0:
adrp x22, lJTI0_0@PAGE
Lloh1:
add x22, x22, lJTI0_0@PAGEOFF
mov x23, x21
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x23, #24]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldrsw x9, [x23, #32]
str w8, [x20, x9]
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x23, #88]
add x23, x23, #48
cbz x8, LBB0_12
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
sub w8, w8, #128
cmp w8, #4
b.hi LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
adr x9, LBB0_3
ldrb w10, [x22, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x23, #16]
cbz w0, LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
ldrsw x8, [x23, #32]
lsl x24, x8, #2
bl _av_strdup
str x0, [x20, x24]
cbnz x0, LBB0_5
b LBB0_17
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x23, #20]
b LBB0_4
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
ldr d0, [x23, #8]
ldrsw x8, [x23, #32]
str d0, [x20, x8]
b LBB0_5
LBB0_12:
ldr x9, [x19, #8]
ldrsw x8, [x19]
sub x8, x8, #1
ldr w9, [x9, x8, lsl #2]
cbz w9, LBB0_15
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x21
mov x2, x20
bl _ebml_parse
cbz w0, LBB0_13
; %bb.14:
Lloh2:
adrp x8, _LEVEL_ENDED@GOTPAGE
Lloh3:
ldr x8, [x8, _LEVEL_ENDED@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w0, w8
csel w0, wzr, w0, eq
b LBB0_16
LBB0_15:
mov w0, #0
str w8, [x19]
LBB0_16:
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
LBB0_17:
Lloh5:
adrp x8, _ENOMEM@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
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 _AVERROR
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
.byte (LBB0_11-LBB0_3)>>2
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _LEVEL_ENDED,4,2 ; @LEVEL_ENDED
.no_dead_strip _ebml_parse_nest
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_matroskadec.c_ebml_parse_nest.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mv88e1xxx_autoneg_restart
_mv88e1xxx_autoneg_restart: ## @mv88e1xxx_autoneg_restart
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MII_BMCR@GOTPCREL(%rip), %rax
movq _BMCR_PDOWN@GOTPCREL(%rip), %rdx
movq _BMCR_ISOLATE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdx), %ecx
movl (%rax), %edx
movq _BMCR_ANRESTART@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %esi, %esi
popq %rbp
jmp _t3_mdio_change_bits ## TAILCALL
.cfi_endproc
## -- End function
.comm _MII_BMCR,4,2 ## @MII_BMCR
.comm _BMCR_PDOWN,4,2 ## @BMCR_PDOWN
.comm _BMCR_ISOLATE,4,2 ## @BMCR_ISOLATE
.comm _BMCR_ANRESTART,4,2 ## @BMCR_ANRESTART
.no_dead_strip _mv88e1xxx_autoneg_restart
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mv88e1xxx_autoneg_restart
_mv88e1xxx_autoneg_restart: ; @mv88e1xxx_autoneg_restart
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MII_BMCR@GOTPAGE
Lloh1:
ldr x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _BMCR_PDOWN@GOTPAGE
Lloh4:
ldr x8, [x8, _BMCR_PDOWN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _BMCR_ISOLATE@GOTPAGE
Lloh7:
ldr x9, [x9, _BMCR_ISOLATE@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w3, w9, w8
Lloh9:
adrp x8, _BMCR_ANRESTART@GOTPAGE
Lloh10:
ldr x8, [x8, _BMCR_ANRESTART@GOTPAGEOFF]
Lloh11:
ldr w4, [x8]
mov w1, #0
b _t3_mdio_change_bits
.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 _MII_BMCR,4,2 ; @MII_BMCR
.comm _BMCR_PDOWN,4,2 ; @BMCR_PDOWN
.comm _BMCR_ISOLATE,4,2 ; @BMCR_ISOLATE
.comm _BMCR_ANRESTART,4,2 ; @BMCR_ANRESTART
.no_dead_strip _mv88e1xxx_autoneg_restart
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_mv88e1xxx.c_mv88e1xxx_autoneg_restart.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function HTMLAnchorElement_QI
_HTMLAnchorElement_QI: ## @HTMLAnchorElement_QI
.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
movl %esi, %r15d
callq _impl_from_HTMLDOMNode
movq %rax, %rbx
movq $0, (%r14)
movq _IID_IUnknown@GOTPCREL(%rip), %rdi
movl %r15d, %esi
callq _IsEqualGUID
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
jmp LBB0_6
LBB0_2:
movq _IID_IDispatch@GOTPCREL(%rip), %rdi
movl %r15d, %esi
callq _IsEqualGUID
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
jmp LBB0_6
LBB0_4:
movq _IID_IHTMLAnchorElement@GOTPCREL(%rip), %rdi
movl %r15d, %esi
callq _IsEqualGUID
testq %rax, %rax
je LBB0_8
## %bb.5:
leaq L_.str.2(%rip), %rdi
LBB0_6:
movq %rbx, %rsi
movq %r14, %rdx
callq _TRACE
addq $4, %rbx
movq %rbx, (%r14)
movq %rbx, %rdi
LBB0_7:
callq _IUnknown_AddRef
movq _S_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq (%r14), %rdi
testq %rdi, %rdi
jne LBB0_7
## %bb.9:
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _HTMLElement_QI ## TAILCALL
.cfi_endproc
## -- End function
.comm _IID_IUnknown,4,2 ## @IID_IUnknown
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(%p)->(IID_IUnknown %p)\n"
.comm _IID_IDispatch,4,2 ## @IID_IDispatch
L_.str.1: ## @.str.1
.asciz "(%p)->(IID_IDispatch %p)\n"
.comm _IID_IHTMLAnchorElement,4,2 ## @IID_IHTMLAnchorElement
L_.str.2: ## @.str.2
.asciz "(%p)->(IID_IHTMLAnchorElement %p)\n"
.comm _S_OK,4,2 ## @S_OK
.no_dead_strip _HTMLAnchorElement_QI
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function HTMLAnchorElement_QI
_HTMLAnchorElement_QI: ; @HTMLAnchorElement_QI
.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 x21, x1
bl _impl_from_HTMLDOMNode
mov x20, x0
str xzr, [x19]
Lloh0:
adrp x0, _IID_IUnknown@GOTPAGE
Lloh1:
ldr x0, [x0, _IID_IUnknown@GOTPAGEOFF]
mov x1, x21
bl _IsEqualGUID
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
b LBB0_6
LBB0_2:
Lloh4:
adrp x0, _IID_IDispatch@GOTPAGE
Lloh5:
ldr x0, [x0, _IID_IDispatch@GOTPAGEOFF]
mov x1, x21
bl _IsEqualGUID
cbz x0, LBB0_4
; %bb.3:
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_6
LBB0_4:
Lloh8:
adrp x0, _IID_IHTMLAnchorElement@GOTPAGE
Lloh9:
ldr x0, [x0, _IID_IHTMLAnchorElement@GOTPAGEOFF]
mov x1, x21
bl _IsEqualGUID
cbz x0, LBB0_8
; %bb.5:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
LBB0_6:
mov x1, x20
mov x2, x19
bl _TRACE
add x0, x20, #4
str x0, [x19]
LBB0_7:
bl _IUnknown_AddRef
Lloh12:
adrp x8, _S_OK@GOTPAGE
Lloh13:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
Lloh14:
ldr w0, [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
LBB0_8:
ldr x0, [x19]
cbnz x0, LBB0_7
; %bb.9:
mov x0, x20
mov x1, x21
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
b _HTMLElement_QI
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _IID_IUnknown,4,2 ; @IID_IUnknown
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(%p)->(IID_IUnknown %p)\n"
.comm _IID_IDispatch,4,2 ; @IID_IDispatch
l_.str.1: ; @.str.1
.asciz "(%p)->(IID_IDispatch %p)\n"
.comm _IID_IHTMLAnchorElement,4,2 ; @IID_IHTMLAnchorElement
l_.str.2: ; @.str.2
.asciz "(%p)->(IID_IHTMLAnchorElement %p)\n"
.comm _S_OK,4,2 ; @S_OK
.no_dead_strip _HTMLAnchorElement_QI
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/mshtml/extr_htmlanchor.c_HTMLAnchorElement_QI.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function done
_done: ## @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 %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 %edx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
movl (%rdi), %r13d
movq 16(%rdi), %r14
leaq 4(%rsi), %rdi
callq _list_del_init
movl (%r15), %ecx
movq _EINPROGRESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %ecx, %eax
jne LBB0_2
## %bb.1:
movl %r12d, (%r15)
movl %r12d, %ecx
LBB0_2:
testl %ecx, %ecx
je LBB0_5
## %bb.3:
movq _ESHUTDOWN@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %ecx, %eax
je LBB0_5
## %bb.4:
movl 12(%rbx), %esi
leaq L_.str(%rip), %rdi
movq %r15, %rdx
callq _VDBG
LBB0_5:
movl $1, (%rbx)
movq %r14, %rdi
callq _spin_unlock
leaq 12(%rbx), %rdi
movq %r15, %rsi
callq _usb_gadget_giveback_request
movq %r14, %rdi
callq _spin_lock
movl %r13d, (%rbx)
leaq 8(%rbx), %rdi
callq _list_empty
testq %rax, %rax
je LBB0_7
## %bb.6:
movl 4(%rbx), %edx
cmpl $1, %edx
jne LBB0_8
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq _AT91_UDP_IDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _at91_udp_write ## TAILCALL
.cfi_endproc
## -- End function
.comm _EINPROGRESS,4,2 ## @EINPROGRESS
.comm _ESHUTDOWN,4,2 ## @ESHUTDOWN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s done %p, status %d\n"
.comm _AT91_UDP_IDR,4,2 ## @AT91_UDP_IDR
.no_dead_strip _done
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function done
_done: ; @done
.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, x2
mov x21, x1
mov x20, x0
ldr w23, [x0]
ldr x19, [x0, #16]
add x0, x1, #4
bl _list_del_init
ldr w3, [x21]
Lloh0:
adrp x8, _EINPROGRESS@GOTPAGE
Lloh1:
ldr x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmn w3, w8
b.ne LBB0_2
; %bb.1:
str w22, [x21]
mov x3, x22
LBB0_2:
cbz w3, LBB0_5
; %bb.3:
Lloh3:
adrp x8, _ESHUTDOWN@GOTPAGE
Lloh4:
ldr x8, [x8, _ESHUTDOWN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmn w3, w8
b.eq LBB0_5
; %bb.4:
ldr w1, [x20, #12]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x2, x21
bl _VDBG
LBB0_5:
mov w8, #1
mov x22, x20
str w8, [x22], #12
mov x0, x19
bl _spin_unlock
mov x0, x22
mov x1, x21
bl _usb_gadget_giveback_request
mov x0, x19
bl _spin_lock
mov x0, x20
str w23, [x0], #8
bl _list_empty
cbz x0, LBB0_7
; %bb.6:
ldr w2, [x20, #4]
cmp w2, #1
b.ne LBB0_8
LBB0_7:
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
LBB0_8:
Lloh8:
adrp x8, _AT91_UDP_IDR@GOTPAGE
Lloh9:
ldr x8, [x8, _AT91_UDP_IDR@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
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 _at91_udp_write
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _EINPROGRESS,4,2 ; @EINPROGRESS
.comm _ESHUTDOWN,4,2 ; @ESHUTDOWN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s done %p, status %d\n"
.comm _AT91_UDP_IDR,4,2 ; @AT91_UDP_IDR
.no_dead_strip _done
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/udc/extr_at91_udc.c_done.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function check_admin_rights
_check_admin_rights: ## @check_admin_rights
.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 $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _S_OK@GOTPCREL(%rip), %r14
movl (%r14), %ebx
movl (%rdi), %esi
movl 4(%rdi), %edi
movq _CheckAdminRights@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -20(%rbp), %rcx
callq _SetupFindFirstLineW
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq -20(%rbp), %rdi
leaq -24(%rbp), %rdx
movl $1, %esi
callq _SetupGetIntField
testl %eax, %eax
je LBB0_1
## %bb.3:
cmpl $1, -24(%rbp)
jne LBB0_7
## %bb.4:
xorl %edi, %edi
xorl %esi, %esi
callq _IsNTAdmin
testq %rax, %rax
jne LBB0_6
## %bb.5:
movq _E_FAIL@GOTPCREL(%rip), %r14
LBB0_6:
movl (%r14), %ebx
jmp LBB0_7
LBB0_1:
movq _S_OK@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_7:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _S_OK,4,2 ## @S_OK
.comm _CheckAdminRights,4,2 ## @CheckAdminRights
.comm _E_FAIL,4,2 ## @E_FAIL
.no_dead_strip _check_admin_rights
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function check_admin_rights
_check_admin_rights: ; @check_admin_rights
.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, _S_OK@GOTPAGE
Lloh1:
ldr x20, [x20, _S_OK@GOTPAGEOFF]
ldr w19, [x20]
ldp w1, w8, [x0]
Lloh2:
adrp x9, _CheckAdminRights@GOTPAGE
Lloh3:
ldr x9, [x9, _CheckAdminRights@GOTPAGEOFF]
Lloh4:
ldr w2, [x9]
add x3, sp, #8
mov x0, x8
bl _SetupFindFirstLineW
cbz w0, LBB0_4
; %bb.1:
add x0, sp, #8
add x2, sp, #12
mov w1, #1
bl _SetupGetIntField
cbz w0, LBB0_4
; %bb.2:
ldr w8, [sp, #12]
cmp w8, #1
b.ne LBB0_5
; %bb.3:
mov w0, #0
mov x1, #0
bl _IsNTAdmin
Lloh5:
adrp x8, _E_FAIL@GOTPAGE
Lloh6:
ldr x8, [x8, _E_FAIL@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x20, eq
ldr w19, [x8]
b LBB0_5
LBB0_4:
ldr w19, [x20]
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _S_OK,4,2 ; @S_OK
.comm _CheckAdminRights,4,2 ; @CheckAdminRights
.comm _E_FAIL,4,2 ; @E_FAIL
.no_dead_strip _check_admin_rights
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/advpack/extr_install.c_check_admin_rights.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tsc200x_update_pen_state
_tsc200x_update_pen_state: ## @tsc200x_update_pen_state
.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
movl %ecx, %r12d
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movl 8(%rdi), %edi
testl %ecx, %ecx
je LBB0_3
## %bb.1:
movq _ABS_X@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r15d, %edx
callq _input_report_abs
movl 8(%rbx), %edi
movq _ABS_Y@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edx
callq _input_report_abs
movl 8(%rbx), %edi
movq _ABS_PRESSURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r12d, %edx
callq _input_report_abs
cmpl $0, (%rbx)
jne LBB0_5
## %bb.2:
movl 8(%rbx), %edi
movq _BTN_TOUCH@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
callq _input_report_key
movl $1, (%rbx)
jmp LBB0_5
LBB0_3:
movq _ABS_PRESSURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _input_report_abs
cmpl $0, (%rbx)
je LBB0_5
## %bb.4:
movl 8(%rbx), %edi
movq _BTN_TOUCH@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _input_report_key
movl $0, (%rbx)
LBB0_5:
movl 8(%rbx), %edi
callq _input_sync
movl 4(%rbx), %edi
leaq L_.str(%rip), %rsi
movl %r15d, %edx
movl %r14d, %ecx
movl %r12d, %r8d
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _dev_dbg ## TAILCALL
.cfi_endproc
## -- End function
.comm _ABS_X,4,2 ## @ABS_X
.comm _ABS_Y,4,2 ## @ABS_Y
.comm _ABS_PRESSURE,4,2 ## @ABS_PRESSURE
.comm _BTN_TOUCH,4,2 ## @BTN_TOUCH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "point(%4d,%4d), pressure (%4d)\n"
.no_dead_strip _tsc200x_update_pen_state
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tsc200x_update_pen_state
_tsc200x_update_pen_state: ; @tsc200x_update_pen_state
.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, x3
mov x20, x2
mov x21, x1
mov x22, x0
ldr w0, [x0, #8]
cbz w3, LBB0_3
; %bb.1:
Lloh0:
adrp x8, _ABS_X@GOTPAGE
Lloh1:
ldr x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x2, x21
bl _input_report_abs
ldr w0, [x22, #8]
Lloh3:
adrp x8, _ABS_Y@GOTPAGE
Lloh4:
ldr x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x2, x20
bl _input_report_abs
ldr w0, [x22, #8]
Lloh6:
adrp x8, _ABS_PRESSURE@GOTPAGE
Lloh7:
ldr x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x2, x19
bl _input_report_abs
ldr w8, [x22]
cbnz w8, LBB0_5
; %bb.2:
ldr w0, [x22, #8]
Lloh9:
adrp x8, _BTN_TOUCH@GOTPAGE
Lloh10:
ldr x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov w23, #1
mov w2, #1
bl _input_report_key
str w23, [x22]
b LBB0_5
LBB0_3:
Lloh12:
adrp x8, _ABS_PRESSURE@GOTPAGE
Lloh13:
ldr x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov w2, #0
bl _input_report_abs
ldr w8, [x22]
cbz w8, LBB0_5
; %bb.4:
ldr w0, [x22, #8]
Lloh15:
adrp x8, _BTN_TOUCH@GOTPAGE
Lloh16:
ldr x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov w2, #0
bl _input_report_key
str wzr, [x22]
LBB0_5:
ldr w0, [x22, #8]
bl _input_sync
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
ldr w0, [x22, #4]
mov x2, x21
mov x3, x20
mov x4, x19
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 _dev_dbg
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _ABS_X,4,2 ; @ABS_X
.comm _ABS_Y,4,2 ; @ABS_Y
.comm _ABS_PRESSURE,4,2 ; @ABS_PRESSURE
.comm _BTN_TOUCH,4,2 ; @BTN_TOUCH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "point(%4d,%4d), pressure (%4d)\n"
.no_dead_strip _tsc200x_update_pen_state
.subsections_via_symbols
| AnghaBench/linux/drivers/input/touchscreen/extr_tsc200x-core.c_tsc200x_update_pen_state.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lasat_machine_halt
_lasat_machine_halt: ## @lasat_machine_halt
.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
callq _local_irq_disable
xorl %eax, %eax
callq _prom_monitor
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.no_dead_strip _lasat_machine_halt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lasat_machine_halt
_lasat_machine_halt: ; @lasat_machine_halt
.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 _local_irq_disable
bl _prom_monitor
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.no_dead_strip _lasat_machine_halt
.subsections_via_symbols
| AnghaBench/linux/arch/mips/lasat/extr_reset.c_lasat_machine_halt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_mods ## -- Begin function set_mods
.p2align 4, 0x90
_set_mods: ## @set_mods
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _real_mods@GOTPCREL(%rip), %rax
movl %edi, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _real_mods,4,2 ## @real_mods
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_mods ; -- Begin function set_mods
.p2align 2
_set_mods: ; @set_mods
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _real_mods@GOTPAGE
Lloh1:
ldr x8, [x8, _real_mods@GOTPAGEOFF]
Lloh2:
str w0, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _real_mods,4,2 ; @real_mods
.subsections_via_symbols
| AnghaBench/qmk_firmware/tmk_core/common/extr_action_util.c_set_mods.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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $200, %edi
callq _malloc
movq %rax, %rbx
leaq L_.str(%rip), %r15
xorl %r14d, %r14d
movq %r15, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
leaq 4(%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
leaq 8(%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
leaq 12(%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
leaq 16(%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
leaq 20(%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
movslq (%rbx), %rax
movl $1, %edx
cmpq $48, %rax
jg LBB0_8
## %bb.1:
movl $1, %edx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq (,%rax,4), %rcx
cmpq $23, %rcx
jg LBB0_8
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, (%rbx,%rcx)
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
leal 1(%rdx), %ecx
cmpl $48, %edx
ja LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
leaq (%rbx,%rax,4), %rdx
movslq (%rdx), %rdx
addq %rdx, %rax
movl %ecx, %edx
cmpq $49, %rax
jl LBB0_2
LBB0_7:
movl %ecx, %edx
jmp LBB0_8
LBB0_4:
movl $1, %r14d
LBB0_8:
leaq L_.str.1(%rip), %rdi
movl %r14d, %esi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _free
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hop ## -- Begin function hop
.p2align 4, 0x90
_hop: ## @hop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq (%rdi), %rax
leaq (%rdi,%rax,4), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_in_bound ## -- Begin function is_in_bound
.p2align 4, 0x90
_is_in_bound: ## @is_in_bound
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq $196, %rdi
xorl %eax, %eax
cmpq %rdx, %rdi
seta %al
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d\n%d"
.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 w0, #200
bl _malloc
mov x19, x0
str x0, [sp]
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _scanf
add x8, x19, #4
str x8, [sp]
mov x0, x20
bl _scanf
add x8, x19, #8
str x8, [sp]
mov x0, x20
bl _scanf
add x8, x19, #12
str x8, [sp]
mov x0, x20
bl _scanf
add x8, x19, #16
str x8, [sp]
mov x0, x20
bl _scanf
add x8, x19, #20
str x8, [sp]
mov x0, x20
bl _scanf
ldrsw x9, [x19]
cmp w9, #48
b.gt LBB0_6
; %bb.1:
mov w11, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
lsl x12, x9, #2
cmp x12, #23
b.gt LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x19, x12]
cbz w8, LBB0_8
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
mov w8, #0
add w10, w11, #1
cmp w11, #48
b.hi LBB0_10
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
add x11, x19, x12
ldrsw x11, [x11]
add x9, x9, x11
mov x11, x10
cmp x9, #49
b.lt LBB0_2
b LBB0_10
LBB0_6:
mov w8, #0
mov w10, #1
b LBB0_10
LBB0_7:
mov w8, #0
b LBB0_9
LBB0_8:
mov w8, #1
LBB0_9:
mov x10, x11
LBB0_10:
stp x8, x10, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x0, x19
bl _free
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
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _hop ; -- Begin function hop
.p2align 2
_hop: ; @hop
.cfi_startproc
; %bb.0:
ldrsw x8, [x0]
add x0, x0, x8, lsl #2
ret
.cfi_endproc
; -- End function
.globl _is_in_bound ; -- Begin function is_in_bound
.p2align 2
_is_in_bound: ; @is_in_bound
.cfi_startproc
; %bb.0:
add x8, x0, #196
cmp x8, x2
cset w0, hi
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n%d"
.subsections_via_symbols
| the_stack_data/76786.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wds_flush
_wds_flush: ## @wds_flush
.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
movq 8(%rdi), %r14
leaq 8(%r14), %rbx
movl 4(%rdi), %esi
movq %r14, %rdi
callq _ieee80211_mac_hash
movq %rbx, %rdi
movq %rax, %rsi
callq _ieee80211_ageq_remove
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
movl (%r15), %edi
movq _IEEE80211_MSG_WDS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rcx
leaq L_.str.1(%rip), %r8
movq %r15, %rdx
callq _IEEE80211_NOTE
leaq -32(%rbp), %rsi
leaq -28(%rbp), %rdx
movq %r15, %rdi
callq *(%r14)
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %r14
movq $0, (%rbx)
movl -32(%rbp), %edx
movl -28(%rbp), %ecx
movq %r15, %rdi
movq %rbx, %rsi
callq _ieee80211_input
movq %r14, %rbx
testq %r14, %r14
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_MSG_WDS,4,2 ## @IEEE80211_MSG_WDS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "flush wds queue"
.no_dead_strip _wds_flush
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wds_flush
_wds_flush: ; @wds_flush
.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, x0
ldr x21, [x0, #8]
add x20, x21, #8
ldr w1, [x0, #4]
mov x0, x21
bl _ieee80211_mac_hash
mov x1, x0
mov x0, x20
bl _ieee80211_ageq_remove
cbz x0, LBB0_3
; %bb.1:
mov x20, x0
ldr w0, [x19]
Lloh0:
adrp x8, _IEEE80211_MSG_WDS@GOTPAGE
Lloh1:
ldr x8, [x8, _IEEE80211_MSG_WDS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x3, l_.str@PAGE
Lloh4:
add x3, x3, l_.str@PAGEOFF
Lloh5:
adrp x4, l_.str.1@PAGE
Lloh6:
add x4, x4, l_.str.1@PAGEOFF
mov x2, x19
bl _IEEE80211_NOTE
ldr x8, [x21]
add x1, sp, #12
add x2, sp, #8
mov x0, x19
blr x8
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x21, [x20]
str xzr, [x20]
ldp w3, w2, [sp, #8]
mov x0, x19
mov x1, x20
bl _ieee80211_input
mov x20, x21
cbnz x21, 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
add sp, sp, #64
ret
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IEEE80211_MSG_WDS,4,2 ; @IEEE80211_MSG_WDS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "flush wds queue"
.no_dead_strip _wds_flush
.subsections_via_symbols
| AnghaBench/freebsd/sys/net80211/extr_ieee80211_wds.c_wds_flush.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function compare_strings
_compare_strings: ## @compare_strings
.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
movl (%rsi), %esi
popq %rbp
jmp _strcmp ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _compare_strings
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function compare_strings
_compare_strings: ; @compare_strings
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ldr w1, [x1]
b _strcmp
.cfi_endproc
; -- End function
.no_dead_strip _compare_strings
.subsections_via_symbols
| AnghaBench/git/t/helper/extr_test-mergesort.c_compare_strings.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function NFP_CPP_ID_TOKEN_of
_NFP_CPP_ID_TOKEN_of: ## @NFP_CPP_ID_TOKEN_of
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shrl $16, %edi
movzbl %dil, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _NFP_CPP_ID_TOKEN_of
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function NFP_CPP_ID_TOKEN_of
_NFP_CPP_ID_TOKEN_of: ; @NFP_CPP_ID_TOKEN_of
.cfi_startproc
; %bb.0:
ubfx w0, w0, #16, #8
ret
.cfi_endproc
; -- End function
.no_dead_strip _NFP_CPP_ID_TOKEN_of
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfpcorenfp_cpp.h_NFP_CPP_ID_TOKEN_of.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function PeekByte
_PeekByte: ## @PeekByte
.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
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.1:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.2:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.3:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.4:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.5:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.6:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.7:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.8:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.9:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.10:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.11:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.12:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.13:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.14:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.15:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.16:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.17:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.18:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.19:
xorl %eax, %eax
callq _HwDelay
movl %ebx, %edi
callq _ReadStatus
testb $1, %al
jne LBB0_21
## %bb.20:
xorl %eax, %eax
callq _HwDelay
movl $255, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_21:
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ReadResourceData ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _PeekByte
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function PeekByte
_PeekByte: ; @PeekByte
.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 _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.1:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.2:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.3:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.4:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.5:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.6:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.7:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.8:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.9:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.10:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.11:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.12:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.13:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.14:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.15:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.16:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.17:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.18:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.19:
bl _HwDelay
mov x0, x19
bl _ReadStatus
tbnz w0, #0, LBB0_21
; %bb.20:
bl _HwDelay
mov w0, #255
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_21:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ReadResourceData
.cfi_endproc
; -- End function
.no_dead_strip _PeekByte
.subsections_via_symbols
| AnghaBench/reactos/drivers/bus/isapnp/extr_hardware.c_PeekByte.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hashLookup ## -- Begin function hashLookup
.p2align 4, 0x90
_hashLookup: ## @hashLookup
.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, %rax
movq _nFICLNAME@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
cmpq %rsi, %r13
cmovgeq %rsi, %r13
testq %rdi, %rdi
je LBB0_13
## %bb.1:
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movq %rax, %rcx
shrq $32, %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq 16(%r12), %r12
testq %r12, %r12
movq -56(%rbp), %rax ## 8-byte Reload
je LBB0_13
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movslq (%r12), %rcx
cmpq $2, %rcx
jl LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, -48(%rbp) ## 8-byte Folded Reload
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
xorl %edx, %edx
divq %rcx
jmp LBB0_7
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
xorl %edx, %edx
jmp LBB0_7
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r12), %rax
movq (%rax,%rdx,8), %rbx
jmp LBB0_8
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_8 Depth=2
movq 8(%rbx), %rbx
LBB0_8: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
testq %rbx, %rbx
je LBB0_12
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
cmpq %r15, (%rbx)
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movl 16(%rbx), %esi
movl %r14d, %edi
movq %r13, %rdx
callq _strincmp
testl %eax, %eax
jne LBB0_11
jmp LBB0_14
LBB0_13:
xorl %ebx, %ebx
LBB0_14:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nFICLNAME,8,3 ## @nFICLNAME
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hashLookup ; -- Begin function hashLookup
.p2align 2
_hashLookup: ; @hashLookup
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
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
Lloh0:
adrp x8, _nFICLNAME@GOTPAGE
Lloh1:
ldr x8, [x8, _nFICLNAME@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x1, x8
csel x23, x1, x8, lt
cbz x0, LBB0_10
; %bb.1:
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x22, [x22, #16]
cbz x22, LBB0_10
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldr w8, [x22]
cmp w8, #2
b.lt LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
udiv x9, x19, x8
msub x8, x9, x8, x19
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0 ; =0x0
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x22, #8]
ldr x24, [x9, x8, lsl #3]
cbnz x24, LBB0_8
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
ldr x24, [x24, #8]
cbz x24, LBB0_2
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24]
cmp x8, x21
b.ne LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr w1, [x24, #16]
mov x0, x20
mov x2, x23
bl _strincmp
cbnz w0, LBB0_7
b LBB0_11
LBB0_10:
mov x24, #0 ; =0x0
LBB0_11:
mov x0, x24
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _nFICLNAME,8,3 ; @nFICLNAME
.subsections_via_symbols
| assembly_file_118810.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_config
_do_config: ## @do_config
.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 _do_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_config
_do_config: ; @do_config
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _do_config
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_daq_700.c_do_config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function FunctionNew
_FunctionNew: ## @FunctionNew
.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
xorl %esi, %esi
callq *(%rdi)
testq %rax, %rax
je LBB0_9
## %bb.1:
movq %rax, %rbx
movl (%r14), %edi
callq _isdigit
testq %rax, %rax
je LBB0_5
## %bb.2:
movq %r14, %rdi
callq _translated_function_exists
testl %eax, %eax
je LBB0_7
## %bb.3:
movq %r14, %rdi
callq _vim_strsave
movq %rax, (%rbx)
movq %rax, %rdi
callq _func_ref
jmp LBB0_10
LBB0_5:
movq _AUTOLOAD_CHAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _vim_strchr
xorl %esi, %esi
testq %rax, %rax
sete %sil
movq %r14, %rdi
callq _get_expanded_name
movq %rax, (%rbx)
testq %rax, %rax
jne LBB0_10
## %bb.6:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq L_.str.1(%rip), %rdi
jmp LBB0_8
LBB0_7:
movq _PyExc_ValueError@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leaq L_.str(%rip), %rdi
LBB0_8:
callq _N_
movl %ebx, %edi
movl %eax, %esi
movq %r14, %rdx
callq _PyErr_FORMAT
LBB0_9:
xorl %ebx, %ebx
LBB0_10:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PyExc_ValueError,4,2 ## @PyExc_ValueError
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unnamed function %s does not exist"
.comm _AUTOLOAD_CHAR,4,2 ## @AUTOLOAD_CHAR
L_.str.1: ## @.str.1
.asciz "function %s does not exist"
.no_dead_strip _FunctionNew
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function FunctionNew
_FunctionNew: ; @FunctionNew
.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
ldr x8, [x0]
mov w1, #0
blr x8
mov x20, x0
cbz x0, LBB0_8
; %bb.1:
ldr w0, [x19]
bl _isdigit
cbz x0, LBB0_4
; %bb.2:
mov x0, x19
bl _translated_function_exists
cbz w0, LBB0_6
; %bb.3:
mov x0, x19
bl _vim_strsave
str x0, [x20]
bl _func_ref
b LBB0_8
LBB0_4:
Lloh0:
adrp x8, _AUTOLOAD_CHAR@GOTPAGE
Lloh1:
ldr x8, [x8, _AUTOLOAD_CHAR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _vim_strchr
cmp x0, #0
cset w1, eq
mov x0, x19
bl _get_expanded_name
str x0, [x20]
cbnz x0, LBB0_8
; %bb.5:
Lloh3:
adrp x8, _PyExc_ValueError@GOTPAGE
Lloh4:
ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_7
LBB0_6:
Lloh8:
adrp x8, _PyExc_ValueError@GOTPAGE
Lloh9:
ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF]
Lloh10:
ldr w20, [x8]
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
LBB0_7:
bl _N_
mov x1, x0
mov x0, x20
mov x2, x19
bl _PyErr_FORMAT
mov x20, #0
LBB0_8:
mov x0, x20
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
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _PyExc_ValueError,4,2 ; @PyExc_ValueError
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unnamed function %s does not exist"
.comm _AUTOLOAD_CHAR,4,2 ; @AUTOLOAD_CHAR
l_.str.1: ; @.str.1
.asciz "function %s does not exist"
.no_dead_strip _FunctionNew
.subsections_via_symbols
| AnghaBench/macvim/src/extr_if_py_both.h_FunctionNew.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function porterNext
_porterNext: ## @porterNext
.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 %r9, -80(%rbp) ## 8-byte Spill
movq %r8, -72(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r14
movq (%rdi), %r15
movq 8(%rdi), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movslq %r12d, %rbx
cmpq %rbx, %r13
ja LBB0_11
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_8 Depth 2
cmpq 16(%r14), %r13
jae LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %r12
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r15,%r12), %edi
callq _isDelim
movq 8(%r14), %r12
movq 16(%r14), %rcx
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
incq %r12
movq %r12, 8(%r14)
cmpq %rcx, %r12
jb LBB0_4
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %r13
cmpq %rcx, %r12
jae LBB0_10
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %r13
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%r15,%r13), %edi
callq _isDelim
movq 8(%r14), %r13
testq %rax, %rax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
incq %r13
movq %r13, 8(%r14)
cmpq 16(%r14), %r13
jb LBB0_8
jmp LBB0_10
LBB0_2:
movq _SQLITE_DONE@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_11:
subl %r12d, %r13d
cmpl %r13d, 24(%r14)
jge LBB0_12
## %bb.14:
leal 20(%r13), %esi
movl %esi, 24(%r14)
movq 32(%r14), %rdi
callq _realloc
movq %rax, %rdx
movq %rax, 32(%r14)
testq %rax, %rax
jne LBB0_13
## %bb.15:
movq _SQLITE_NOMEM@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_12:
movq 32(%r14), %rdx
LBB0_13:
addq %rbx, %r15
movq %r15, %rdi
movl %r13d, %esi
movq -48(%rbp), %rcx ## 8-byte Reload
callq _porter_stemmer
movq 32(%r14), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq -64(%rbp), %rax ## 8-byte Reload
movl %r12d, (%rax)
movl 8(%r14), %eax
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl 40(%r14), %eax
leal 1(%rax), %ecx
movl %ecx, 40(%r14)
movq -80(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_8078 ## @g_aug_volatile_8078
.p2align 2, 0x0
_g_aug_volatile_8078:
.long 9 ## 0x9
.comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _SQLITE_DONE,4,2 ## @SQLITE_DONE
.no_dead_strip _porterNext
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function porterNext
_porterNext: ; @porterNext
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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, x5
mov x20, x4
mov x22, x3
mov x24, x2
mov x23, x1
mov x21, x0
ldp x26, x8, [x0]
Lloh0:
adrp x25, _SQLITE_DONE@GOTPAGE
Lloh1:
ldr x25, [x25, _SQLITE_DONE@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sxtw x28, w27
cmp x8, x28
b.hi LBB0_10
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_8 Depth 2
ldr x9, [x21, #16]
cmp x8, x9
b.hs LBB0_15
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x27, x8
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x26, x27]
bl _isDelim
ldp x27, x9, [x21, #8]
cbz x0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
add x27, x27, #1
str x27, [x21, #8]
cmp x27, x9
b.lo LBB0_4
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
mov x8, x27
cmp x27, x9
b.hs LBB0_1
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov x8, x27
LBB0_8: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x26, x8]
bl _isDelim
ldr x8, [x21, #8]
cbnz x0, LBB0_1
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x8, x8, #1
str x8, [x21, #8]
ldr x9, [x21, #16]
cmp x8, x9
b.lo LBB0_8
b LBB0_1
LBB0_10:
ldr w9, [x21, #24]
sub w25, w8, w27
cmp w9, w25
b.ge LBB0_13
; %bb.11:
add w1, w25, #20
str w1, [x21, #24]
ldr x0, [x21, #32]
bl _realloc
mov x2, x0
str x0, [x21, #32]
cbnz x0, LBB0_14
; %bb.12:
Lloh2:
adrp x25, _SQLITE_NOMEM@GOTPAGE
Lloh3:
ldr x25, [x25, _SQLITE_NOMEM@GOTPAGEOFF]
b LBB0_15
LBB0_13:
ldr x2, [x21, #32]
LBB0_14:
add x0, x26, x28
mov x1, x25
mov x3, x24
bl _porter_stemmer
ldr x8, [x21, #32]
str x8, [x23]
str w27, [x22]
ldr x8, [x21, #8]
str w8, [x20]
ldr w8, [x21, #40]
add w9, w8, #1
str w9, [x21, #40]
str w8, [x19]
Lloh4:
adrp x25, _SQLITE_OK@GOTPAGE
Lloh5:
ldr x25, [x25, _SQLITE_OK@GOTPAGEOFF]
LBB0_15:
ldr w0, [x25]
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_8078 ; @g_aug_volatile_8078
.p2align 2, 0x0
_g_aug_volatile_8078:
.long 9 ; 0x9
.comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _SQLITE_DONE,4,2 ; @SQLITE_DONE
.no_dead_strip _porterNext
.subsections_via_symbols
| assembly_file_137390.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_bom
_test_bom: ## @test_bom
.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 _TRUE@GOTPCREL(%rip), %r12
movl (%r12), %esi
leaq -64(%rbp), %r13
xorl %edi, %edi
movq %r13, %rdx
callq _CreateStreamOnHGlobal
movq _S_OK@GOTPCREL(%rip), %r15
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
leaq L_.str(%rip), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
leaq _test_bom.utf16W(%rip), %rdx
leaq -72(%rbp), %rcx
xorl %esi, %esi
callq _CreateXmlWriterOutputWithEncodingName
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _ok
movq _IID_IXmlWriter@GOTPCREL(%rip), %rdi
leaq -56(%rbp), %rsi
xorl %edx, %edx
callq _CreateXmlWriter
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq _XmlWriterProperty_OmitXmlDeclaration@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _writer_set_property
movq -56(%rbp), %rdi
movq -72(%rbp), %rsi
callq _IXmlWriter_SetOutput
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq _XmlStandalone_Yes@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _IXmlWriter_WriteStartDocument
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
callq _IXmlWriter_Flush
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _GetHGlobalFromStream
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalLock
movzbl (%rax), %edx
movl %edx, %esi
xorl $255, %esi
movzbl 1(%rax), %ecx
movl %ecx, %eax
xorl $254, %eax
xorl %edi, %edi
orl %esi, %eax
sete %dil
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalUnlock
movq -64(%rbp), %rdi
callq _IStream_Release
movq -72(%rbp), %rdi
callq _IUnknown_Release
movl (%r12), %esi
xorl %edi, %edi
movq %r13, %rdx
callq _CreateStreamOnHGlobal
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
xorl %esi, %esi
leaq _test_bom.utf16W(%rip), %rdx
movq %rdx, %r14
leaq -72(%rbp), %rcx
callq _CreateXmlWriterOutputWithEncodingName
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq -72(%rbp), %rsi
callq _IXmlWriter_SetOutput
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
leaq _test_bom.xmlW(%rip), %rsi
leaq _test_bom.versionW(%rip), %rdx
callq _IXmlWriter_WriteProcessingInstruction
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
callq _IXmlWriter_Flush
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _GetHGlobalFromStream
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalLock
movzbl (%rax), %edx
movl %edx, %esi
xorl $255, %esi
movzbl 1(%rax), %ecx
movl %ecx, %eax
xorl $254, %eax
xorl %edi, %edi
orl %esi, %eax
sete %dil
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalUnlock
movq -72(%rbp), %rdi
callq _IUnknown_Release
movq -64(%rbp), %rdi
callq _IStream_Release
movl (%r12), %esi
xorl %edi, %edi
movq %r13, %rdx
callq _CreateStreamOnHGlobal
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
xorl %esi, %esi
movq %r14, %rdx
leaq -72(%rbp), %rcx
callq _CreateXmlWriterOutputWithEncodingName
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq -72(%rbp), %rsi
callq _IXmlWriter_SetOutput
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq _aW@GOTPCREL(%rip), %r13
movl (%r13), %edx
xorl %esi, %esi
xorl %ecx, %ecx
callq _IXmlWriter_WriteStartElement
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
callq _IXmlWriter_Flush
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _GetHGlobalFromStream
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalLock
movzbl (%rax), %edx
movl %edx, %esi
xorl $255, %esi
movzbl 1(%rax), %ecx
movl %ecx, %eax
xorl $254, %eax
xorl %edi, %edi
orl %esi, %eax
sete %dil
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalUnlock
movq -72(%rbp), %rdi
callq _IUnknown_Release
movq -64(%rbp), %rdi
callq _IStream_Release
movl (%r12), %esi
xorl %edi, %edi
leaq -64(%rbp), %rdx
callq _CreateStreamOnHGlobal
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
xorl %esi, %esi
movq %r14, %rdx
leaq -72(%rbp), %rcx
callq _CreateXmlWriterOutputWithEncodingName
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq -72(%rbp), %rsi
callq _IXmlWriter_SetOutput
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
movq _XmlWriterProperty_Indent@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _writer_set_property
movq -56(%rbp), %rdi
movl (%r13), %edx
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _IXmlWriter_WriteElementString
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -56(%rbp), %rdi
callq _IXmlWriter_Flush
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _GetHGlobalFromStream
xorl %edi, %edi
cmpl (%r15), %eax
sete %dil
movzbl %al, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalLock
movb (%rax), %dl
movb 1(%rax), %cl
cmpb $-1, %dl
jne LBB0_1
## %bb.2:
cmpb $-2, %cl
movl $0, %edi
jne LBB0_4
## %bb.3:
xorl %edi, %edi
cmpb $60, 2(%rax)
sete %dil
movb $-2, %cl
jmp LBB0_4
LBB0_1:
xorl %edi, %edi
LBB0_4:
movzbl %cl, %ecx
movzbl 2(%rax), %r8d
movzbl %dl, %edx
leaq L_.str.4(%rip), %rsi
## kill: def $edi killed $edi killed $rdi
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _GlobalUnlock
movq -72(%rbp), %rdi
callq _IUnknown_Release
movq -64(%rbp), %rdi
callq _IStream_Release
movq -56(%rbp), %rdi
callq _IXmlWriter_Release
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
_test_bom.versionW: ## @test_bom.versionW
.asciz "version=\"1.0\""
_test_bom.utf16W: ## @test_bom.utf16W
.asciz "utf-16"
_test_bom.xmlW: ## @test_bom.xmlW
.asciz "xml"
.comm _TRUE,4,2 ## @TRUE
.comm _S_OK,4,2 ## @S_OK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "got 0x%08x\n"
L_.str.1: ## @.str.1
.asciz "got %08x\n"
.comm _IID_IXmlWriter,4,2 ## @IID_IXmlWriter
L_.str.2: ## @.str.2
.asciz "Expected S_OK, got %08x\n"
.comm _XmlWriterProperty_OmitXmlDeclaration,4,2 ## @XmlWriterProperty_OmitXmlDeclaration
.comm _XmlStandalone_Yes,4,2 ## @XmlStandalone_Yes
L_.str.3: ## @.str.3
.asciz "got %x,%x\n"
.comm _aW,4,2 ## @aW
.comm _XmlWriterProperty_Indent,4,2 ## @XmlWriterProperty_Indent
L_.str.4: ## @.str.4
.asciz "Unexpected output: %#x,%#x,%#x\n"
.no_dead_strip _test_bom
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_bom
_test_bom: ; @test_bom
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 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 x24, _TRUE@GOTPAGE
Lloh1:
ldr x24, [x24, _TRUE@GOTPAGEOFF]
ldr w1, [x24]
add x2, sp, #24
mov x0, #0
bl _CreateStreamOnHGlobal
Lloh2:
adrp x23, _S_OK@GOTPAGE
Lloh3:
ldr x23, [x23, _S_OK@GOTPAGEOFF]
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
Lloh6:
adrp x20, _test_bom.utf16W@PAGE
Lloh7:
add x20, x20, _test_bom.utf16W@PAGEOFF
add x3, sp, #40
mov x1, #0
mov x2, x20
bl _CreateXmlWriterOutputWithEncodingName
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
Lloh8:
adrp x21, l_.str.1@PAGE
Lloh9:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x8
mov x1, x21
bl _ok
Lloh10:
adrp x0, _IID_IXmlWriter@GOTPAGE
Lloh11:
ldr x0, [x0, _IID_IXmlWriter@GOTPAGEOFF]
add x1, sp, #32
mov x2, #0
bl _CreateXmlWriter
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x8
bl _ok
ldr x0, [sp, #32]
Lloh14:
adrp x8, _XmlWriterProperty_OmitXmlDeclaration@GOTPAGE
Lloh15:
ldr x8, [x8, _XmlWriterProperty_OmitXmlDeclaration@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
bl _writer_set_property
ldp x0, x1, [sp, #32]
bl _IXmlWriter_SetOutput
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
Lloh17:
adrp x8, _XmlStandalone_Yes@GOTPAGE
Lloh18:
ldr x8, [x8, _XmlStandalone_Yes@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
bl _IXmlWriter_WriteStartDocument
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
bl _IXmlWriter_Flush
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x1, sp, #20
bl _GetHGlobalFromStream
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr w0, [sp, #20]
bl _GlobalLock
ldrb w2, [x0]
cmp w2, #255
ldrb w8, [x0, #1]
mov w25, #254
ccmp x8, x25, #0, eq
cset w0, eq
str x8, [sp]
Lloh20:
adrp x22, l_.str.3@PAGE
Lloh21:
add x22, x22, l_.str.3@PAGEOFF
mov x1, x22
bl _ok
ldr w0, [sp, #20]
bl _GlobalUnlock
ldr x0, [sp, #24]
bl _IStream_Release
ldr x0, [sp, #40]
bl _IUnknown_Release
ldr w1, [x24]
add x2, sp, #24
mov x0, #0
bl _CreateStreamOnHGlobal
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x3, sp, #40
mov x1, #0
mov x2, x20
bl _CreateXmlWriterOutputWithEncodingName
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x21
bl _ok
ldp x0, x1, [sp, #32]
bl _IXmlWriter_SetOutput
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
Lloh22:
adrp x1, _test_bom.xmlW@PAGE
Lloh23:
add x1, x1, _test_bom.xmlW@PAGEOFF
Lloh24:
adrp x2, _test_bom.versionW@PAGE
Lloh25:
add x2, x2, _test_bom.versionW@PAGEOFF
bl _IXmlWriter_WriteProcessingInstruction
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
bl _IXmlWriter_Flush
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x1, sp, #20
bl _GetHGlobalFromStream
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr w0, [sp, #20]
bl _GlobalLock
ldrb w2, [x0]
cmp w2, #255
ldrb w8, [x0, #1]
ccmp x8, x25, #0, eq
cset w0, eq
str x8, [sp]
mov x1, x22
bl _ok
ldr w0, [sp, #20]
bl _GlobalUnlock
ldr x0, [sp, #40]
bl _IUnknown_Release
ldr x0, [sp, #24]
bl _IStream_Release
ldr w1, [x24]
add x2, sp, #24
mov x0, #0
bl _CreateStreamOnHGlobal
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x3, sp, #40
mov x1, #0
mov x2, x20
bl _CreateXmlWriterOutputWithEncodingName
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x21
bl _ok
ldp x0, x1, [sp, #32]
bl _IXmlWriter_SetOutput
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
Lloh26:
adrp x26, _aW@GOTPAGE
Lloh27:
ldr x26, [x26, _aW@GOTPAGEOFF]
ldr w2, [x26]
mov x1, #0
mov x3, #0
bl _IXmlWriter_WriteStartElement
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
bl _IXmlWriter_Flush
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x1, sp, #20
bl _GetHGlobalFromStream
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr w0, [sp, #20]
bl _GlobalLock
ldrb w2, [x0]
cmp w2, #255
ldrb w8, [x0, #1]
ccmp x8, x25, #0, eq
cset w0, eq
str x8, [sp]
mov x1, x22
bl _ok
ldr w0, [sp, #20]
bl _GlobalUnlock
ldr x0, [sp, #40]
bl _IUnknown_Release
ldr x0, [sp, #24]
bl _IStream_Release
ldr w1, [x24]
add x2, sp, #24
mov x0, #0
bl _CreateStreamOnHGlobal
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x3, sp, #40
mov x1, #0
mov x2, x20
bl _CreateXmlWriterOutputWithEncodingName
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x21
bl _ok
ldp x0, x1, [sp, #32]
bl _IXmlWriter_SetOutput
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
Lloh28:
adrp x8, _XmlWriterProperty_Indent@GOTPAGE
Lloh29:
ldr x8, [x8, _XmlWriterProperty_Indent@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
bl _writer_set_property
ldr x0, [sp, #32]
ldr w2, [x26]
mov x1, #0
mov x3, #0
mov x4, #0
bl _IXmlWriter_WriteElementString
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #32]
bl _IXmlWriter_Flush
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr x0, [sp, #24]
add x1, sp, #20
bl _GetHGlobalFromStream
ldr w8, [x23]
cmp w0, w8
cset w8, eq
and w2, w0, #0xff
mov x0, x8
mov x1, x19
bl _ok
ldr w0, [sp, #20]
bl _GlobalLock
mov x8, x0
mov w0, #0
ldrb w2, [x8]
ldrb w9, [x8, #1]
cmp w2, #255
b.ne LBB0_3
; %bb.1:
cmp w9, #254
b.ne LBB0_3
; %bb.2:
ldrb w9, [x8, #2]
cmp w9, #60
cset w0, eq
mov w9, #254
LBB0_3:
ldrb w8, [x8, #2]
stp x9, x8, [sp]
Lloh31:
adrp x1, l_.str.4@PAGE
Lloh32:
add x1, x1, l_.str.4@PAGEOFF
bl _ok
ldr w0, [sp, #20]
bl _GlobalUnlock
ldr x0, [sp, #40]
bl _IUnknown_Release
ldr x0, [sp, #24]
bl _IStream_Release
ldr x0, [sp, #32]
bl _IXmlWriter_Release
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 AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.section __TEXT,__const
_test_bom.versionW: ; @test_bom.versionW
.asciz "version=\"1.0\""
_test_bom.utf16W: ; @test_bom.utf16W
.asciz "utf-16"
_test_bom.xmlW: ; @test_bom.xmlW
.asciz "xml"
.comm _TRUE,4,2 ; @TRUE
.comm _S_OK,4,2 ; @S_OK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "got 0x%08x\n"
l_.str.1: ; @.str.1
.asciz "got %08x\n"
.comm _IID_IXmlWriter,4,2 ; @IID_IXmlWriter
l_.str.2: ; @.str.2
.asciz "Expected S_OK, got %08x\n"
.comm _XmlWriterProperty_OmitXmlDeclaration,4,2 ; @XmlWriterProperty_OmitXmlDeclaration
.comm _XmlStandalone_Yes,4,2 ; @XmlStandalone_Yes
l_.str.3: ; @.str.3
.asciz "got %x,%x\n"
.comm _aW,4,2 ; @aW
.comm _XmlWriterProperty_Indent,4,2 ; @XmlWriterProperty_Indent
l_.str.4: ; @.str.4
.asciz "Unexpected output: %#x,%#x,%#x\n"
.no_dead_strip _test_bom
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/xmllite/extr_writer.c_test_bom.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 $72, %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)
cmpl $4, %edi
jne LBB0_37
## %bb.1:
movq %rsi, %r14
movq 8(%rsi), %rdi
callq _atoi
movl %eax, %ebx
movq 16(%r14), %rdi
callq _atoi
movl %eax, %r13d
movq 24(%r14), %rdi
callq _atoi
movl %eax, -56(%rbp) ## 4-byte Spill
cmpl %ebx, %r13d
cmovbl %r13d, %ebx
movl %ebx, -64(%rbp) ## 4-byte Spill
movslq %r13d, %r12
leaq (,%r12,8), %rbx
movq %rbx, %rdi
callq _malloc
movq %rax, %r15
movq _mat1@GOTPCREL(%rip), %r14
movq %rax, (%r14)
movq %rbx, %rdi
callq _malloc
movq _mat2@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq %rbx, %rdi
callq _malloc
movq _mat3@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl %r13d, -52(%rbp) ## 4-byte Spill
testl %r13d, %r13d
jle LBB0_9
## %bb.2:
shlq $2, %r12
movl -52(%rbp), %ebx ## 4-byte Reload
movl %ebx, %r13d
movq %r12, %rdi
callq _malloc
movq %rax, (%r15)
movq %r12, %rdi
callq _malloc
movq _mat2@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx)
movq %r12, %rdi
callq _malloc
movq _mat3@GOTPCREL(%rip), %r15
movq (%r15), %rcx
movq %rax, (%rcx)
cmpl $1, %ebx
je LBB0_5
## %bb.3:
movl $1, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r14), %r15
movq %r12, %rdi
callq _malloc
movq %rax, (%r15,%rbx,8)
movq _mat3@GOTPCREL(%rip), %r15
movq %r12, %rdi
callq _malloc
movq _mat2@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, (%rcx,%rbx,8)
movq %r12, %rdi
callq _malloc
movq (%r15), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne LBB0_4
LBB0_5:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
xorl %ebx, %ebx
movq _mat2@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
callq _rand
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
andl $-2, %ecx
subl %ecx, %eax
movq (%r14), %rcx
movq (%rcx,%r12,8), %rcx
movl %eax, (%rcx,%rbx,4)
callq _rand
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
andl $-2, %ecx
subl %ecx, %eax
movq (%r15), %rcx
movq (%rcx,%r12,8), %rcx
movl %eax, (%rcx,%rbx,4)
incq %rbx
cmpq %rbx, %r13
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
incq %r12
cmpq %r13, %r12
jne LBB0_6
LBB0_9:
cmpl $1, -56(%rbp) ## 4-byte Folded Reload
movq _mat3@GOTPCREL(%rip), %r15
jne LBB0_21
## %bb.10:
leaq L_str.8(%rip), %rdi
callq _puts
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
jle LBB0_15
## %bb.11:
movq (%r14), %r12
movl -52(%rbp), %r13d ## 4-byte Reload
leaq L_.str.6(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12,%rbx,8), %rax
movl (%rax,%r15,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %r15
cmpq %r15, %r13
jne LBB0_13
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl $10, %edi
callq _putchar
incq %rbx
cmpq %r13, %rbx
jne LBB0_12
LBB0_15:
movl $10, %edi
callq _putchar
leaq L_str.9(%rip), %rdi
callq _puts
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
jle LBB0_20
## %bb.16:
movq _mat2@GOTPCREL(%rip), %rax
movq (%rax), %r15
movl -52(%rbp), %r12d ## 4-byte Reload
leaq L_.str.6(%rip), %r14
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r15,%r13,8), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq %rbx, %r12
jne LBB0_18
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl $10, %edi
callq _putchar
incq %r13
cmpq %r12, %r13
jne LBB0_17
LBB0_20:
movl $10, %edi
callq _putchar
movq _mat3@GOTPCREL(%rip), %r15
LBB0_21:
leaq -104(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
movq %rsp, -72(%rbp) ## 8-byte Spill
movl -64(%rbp), %r14d ## 4-byte Reload
movl %r14d, %r13d
leaq (,%r13,8), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rcx
testl %r14d, %r14d
jle LBB0_28
## %bb.22:
movl -52(%rbp), %ebx ## 4-byte Reload
movl %ebx, %eax
cltd
idivl %r14d
movq %rcx, %r14
movl %eax, %r12d
movq %rcx, -64(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
jmp LBB0_23
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_23 Depth=1
incq %r15
addq $8, %r14
cmpq %r15, %r13
je LBB0_26
LBB0_23: ## =>This Inner Loop Header: Depth=1
movl $12, %edi
callq _malloc
movl %ebx, (%rax)
movl %r12d, 4(%rax)
movl %r15d, 8(%rax)
movq %r14, %rdi
xorl %esi, %esi
leaq _threadFunction(%rip), %rdx
movq %rax, %rcx
callq _pthread_create
testl %eax, %eax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_23 Depth=1
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_25
LBB0_26:
xorl %ebx, %ebx
movq _mat3@GOTPCREL(%rip), %r15
movq -64(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_27: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rbx,8), %rdi
xorl %esi, %esi
callq _pthread_join
incq %rbx
cmpq %rbx, %r13
jne LBB0_27
LBB0_28:
leaq -88(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
cmpl $1, -56(%rbp) ## 4-byte Folded Reload
jne LBB0_35
## %bb.29:
leaq L_str(%rip), %rdi
callq _puts
movl -52(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_34
## %bb.30:
movq (%r15), %r15
movl %eax, %r12d
leaq L_.str.6(%rip), %r14
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_31: ## =>This Loop Header: Depth=1
## Child Loop BB0_32 Depth 2
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_31 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r15,%r13,8), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq %rbx, %r12
jne LBB0_32
## %bb.33: ## in Loop: Header=BB0_31 Depth=1
movl $10, %edi
callq _putchar
incq %r13
cmpq %r12, %r13
jne LBB0_31
LBB0_34:
movl $10, %edi
callq _putchar
LBB0_35:
movq -88(%rbp), %rax
movslq -80(%rbp), %rdx
movslq -96(%rbp), %rcx
subq %rcx, %rdx
subq -104(%rbp), %rax
imulq $1000000, %rax, %rcx ## imm = 0xF4240
addq %rdx, %rcx
movabsq $4835703278458516699, %rdx ## imm = 0x431BDE82D7B634DB
movq %rcx, %rax
imulq %rdx
movq %rdx, %rsi
shrq $63, %rsi
sarq $18, %rdx
addq %rdx, %rsi
imulq $1000000, %rsi, %rax ## imm = 0xF4240
subq %rax, %rcx
leaq L_.str.5(%rip), %rdi
movq %rcx, %rdx
xorl %eax, %eax
callq _printf
movq -72(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_38
## %bb.36:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_37:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, %edi
callq _exit
LBB0_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _min ## -- Begin function min
.p2align 4, 0x90
_min: ## @min
.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, %eax
cmpl %esi, %edi
cmovbl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _displayMatrix ## -- Begin function displayMatrix
.p2align 4, 0x90
_displayMatrix: ## @displayMatrix
.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
testl %esi, %esi
jle LBB2_5
## %bb.1:
movq %rdi, %r15
movl %esi, %r12d
leaq L_.str.6(%rip), %r14
xorl %r13d, %r13d
.p2align 4, 0x90
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_3: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r15,%r13,8), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq %rbx, %r12
jne LBB2_3
## %bb.4: ## in Loop: Header=BB2_2 Depth=1
movl $10, %edi
callq _putchar
incq %r13
cmpq %r12, %r13
jne LBB2_2
LBB2_5:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _threadFunction ## -- Begin function threadFunction
.p2align 4, 0x90
_threadFunction: ## @threadFunction
.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 (%rdi), %r15d
movl 4(%rdi), %ecx
movl 8(%rdi), %r11d
movl %r11d, %eax
imull %ecx, %eax
incl %r11d
imull %ecx, %r11d
cmpl %r15d, %r11d
cmovael %r15d, %r11d
cmpl %r11d, %eax
jae LBB3_9
## %bb.1:
movq _mat3@GOTPCREL(%rip), %rcx
movq (%rcx), %r10
movslq %eax, %r14
movl %r15d, %r12d
andl $-2, %r12d
movq _mat1@GOTPCREL(%rip), %r8
movq _mat2@GOTPCREL(%rip), %r9
jmp LBB3_2
.p2align 4, 0x90
LBB3_8: ## in Loop: Header=BB3_2 Depth=1
incq %r14
cmpl %r14d, %r11d
jbe LBB3_9
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
## Child Loop BB3_10 Depth 3
testl %r15d, %r15d
jle LBB3_8
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movq (%r10,%r14,8), %rdx
movq (%r8), %rax
movq (%r9), %r13
movq (%rax,%r14,8), %rbx
xorl %esi, %esi
jmp LBB3_4
.p2align 4, 0x90
LBB3_7: ## in Loop: Header=BB3_4 Depth=2
incq %rsi
cmpq %r15, %rsi
je LBB3_8
LBB3_4: ## Parent Loop BB3_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB3_10 Depth 3
movl $0, (%rdx,%rsi,4)
xorl %eax, %eax
xorl %edi, %edi
cmpl $1, %r15d
je LBB3_5
.p2align 4, 0x90
LBB3_10: ## Parent Loop BB3_2 Depth=1
## Parent Loop BB3_4 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r13,%rdi,8), %rcx
movl (%rcx,%rsi,4), %ecx
imull (%rbx,%rdi,4), %ecx
addl %eax, %ecx
movl %ecx, (%rdx,%rsi,4)
movq 8(%r13,%rdi,8), %rax
movl (%rax,%rsi,4), %eax
imull 4(%rbx,%rdi,4), %eax
addl %ecx, %eax
movl %eax, (%rdx,%rsi,4)
addq $2, %rdi
cmpq %rdi, %r12
jne LBB3_10
LBB3_5: ## in Loop: Header=BB3_4 Depth=2
testb $1, %r15b
je LBB3_7
## %bb.6: ## in Loop: Header=BB3_4 Depth=2
movq (%r13,%rdi,8), %rcx
movl (%rcx,%rsi,4), %ecx
imull (%rbx,%rdi,4), %ecx
addl %ecx, %eax
movl %eax, (%rdx,%rsi,4)
jmp LBB3_7
LBB3_9:
xorl %edi, %edi
callq _pthread_exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please execute with proper arguements"
.comm _mat1,8,3 ## @mat1
.comm _mat2,8,3 ## @mat2
.comm _mat3,8,3 ## @mat3
L_.str.3: ## @.str.3
.asciz "Error in thread creation"
L_.str.5: ## @.str.5
.asciz "Operation took %ld.%ld `secs\n"
L_.str.6: ## @.str.6
.asciz "%d "
L_str: ## @str
.asciz "Resultant matrix:"
L_str.8: ## @str.8
.asciz "Matrix A:"
L_str.9: ## @str.9
.asciz "Matrix B:"
.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 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
sub sp, sp, #48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
cmp w0, #4
b.ne LBB0_36
; %bb.1:
mov x20, x1
ldr x0, [x1, #8]
bl _atoi
mov x21, x0
ldr x0, [x20, #16]
bl _atoi
mov x19, x0
ldr x0, [x20, #24]
bl _atoi
stur w0, [x29, #-124] ; 4-byte Folded Spill
cmp w19, w21
csel w25, w19, w21, lo
sbfiz x21, x19, #3, #32
mov x0, x21
bl _malloc
mov x22, x0
Lloh3:
adrp x26, _mat1@GOTPAGE
Lloh4:
ldr x26, [x26, _mat1@GOTPAGEOFF]
str x0, [x26]
mov x0, x21
bl _malloc
Lloh5:
adrp x23, _mat2@GOTPAGE
Lloh6:
ldr x23, [x23, _mat2@GOTPAGEOFF]
str x0, [x23]
mov x0, x21
bl _malloc
Lloh7:
adrp x24, _mat3@GOTPAGE
Lloh8:
ldr x24, [x24, _mat3@GOTPAGEOFF]
str x0, [x24]
cmp w19, #1
b.lt LBB0_9
; %bb.2:
sxtw x8, w19
lsl x21, x8, #2
mov w27, w19
mov x0, x21
bl _malloc
str x0, [x22]
mov x0, x21
bl _malloc
ldr x8, [x23]
str x0, [x8]
mov x0, x21
bl _malloc
ldr x8, [x24]
str x0, [x8]
cmp w19, #1
b.eq LBB0_5
; %bb.3:
mov w20, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x22, [x26]
mov x0, x21
bl _malloc
lsl x28, x20, #3
str x0, [x22, x28]
mov x0, x21
bl _malloc
ldr x8, [x23]
str x0, [x8, x28]
mov x0, x21
bl _malloc
ldr x8, [x24]
str x0, [x8, x28]
add x20, x20, #1
cmp x27, x20
b.ne LBB0_4
LBB0_5:
mov x21, #0
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
mov x20, #0
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
bl _rand
and w8, w0, #0x1
cmp w0, #0
cneg w8, w8, lt
ldr x9, [x26]
lsl x22, x21, #3
ldr x9, [x9, x22]
lsl x28, x20, #2
str w8, [x9, x28]
bl _rand
and w8, w0, #0x1
cmp w0, #0
cneg w8, w8, lt
ldr x9, [x23]
ldr x9, [x9, x22]
str w8, [x9, x28]
add x20, x20, #1
cmp x27, x20
b.ne LBB0_7
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
add x21, x21, #1
cmp x21, x27
b.ne LBB0_6
LBB0_9:
ldur w8, [x29, #-124] ; 4-byte Folded Reload
cmp w8, #1
b.ne LBB0_21
; %bb.10:
Lloh9:
adrp x0, l_str.8@PAGE
Lloh10:
add x0, x0, l_str.8@PAGEOFF
bl _puts
cmp w19, #1
b.lt LBB0_15
; %bb.11:
mov x22, #0
ldr x26, [x26]
mov w27, w19
lsl x28, x27, #2
Lloh11:
adrp x21, l_.str.6@PAGE
Lloh12:
add x21, x21, l_.str.6@PAGEOFF
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
mov x20, #0
LBB0_13: ; Parent Loop BB0_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x26, x22, lsl #3]
ldr w8, [x8, x20]
str x8, [sp, #-16]!
mov x0, x21
bl _printf
add sp, sp, #16
add x20, x20, #4
cmp x28, x20
b.ne LBB0_13
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
mov w0, #10
bl _putchar
add x22, x22, #1
cmp x22, x27
b.ne LBB0_12
LBB0_15:
mov w0, #10
bl _putchar
Lloh13:
adrp x0, l_str.9@PAGE
Lloh14:
add x0, x0, l_str.9@PAGEOFF
bl _puts
cmp w19, #1
b.lt LBB0_20
; %bb.16:
mov x22, #0
ldr x23, [x23]
mov w26, w19
lsl x27, x26, #2
Lloh15:
adrp x21, l_.str.6@PAGE
Lloh16:
add x21, x21, l_.str.6@PAGEOFF
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
mov x20, #0
LBB0_18: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x23, x22, lsl #3]
ldr w8, [x8, x20]
str x8, [sp, #-16]!
mov x0, x21
bl _printf
add sp, sp, #16
add x20, x20, #4
cmp x27, x20
b.ne LBB0_18
; %bb.19: ; in Loop: Header=BB0_17 Depth=1
mov w0, #10
bl _putchar
add x22, x22, #1
cmp x22, x26
b.ne LBB0_17
LBB0_20:
mov w0, #10
bl _putchar
LBB0_21:
sub x0, x29, #104
mov x1, #0
bl _gettimeofday
mov x26, sp
lsl x8, x25, #3
mov x9, x8
Lloh17:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh18:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x27, x9, x8
mov sp, x27
cmp w25, #1
b.lt LBB0_27
; %bb.22:
mov x28, #0
Lloh19:
adrp x21, _threadFunction@PAGE
Lloh20:
add x21, x21, _threadFunction@PAGEOFF
mov x22, x27
Lloh21:
adrp x23, l_.str.3@PAGE
Lloh22:
add x23, x23, l_.str.3@PAGEOFF
sdiv w20, w19, w25
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_24 Depth=1
add x28, x28, #1
add x22, x22, #8
cmp x25, x28
b.eq LBB0_26
LBB0_24: ; =>This Inner Loop Header: Depth=1
mov w0, #12
bl _malloc
mov x3, x0
stp w19, w20, [x0]
str w28, [x0, #8]
mov x0, x22
mov x1, #0
mov x2, x21
bl _pthread_create
cbz w0, LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
mov x0, x23
bl _printf
b LBB0_23
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr x0, [x27], #8
mov x1, #0
bl _pthread_join
subs x25, x25, #1
b.ne LBB0_26
LBB0_27:
sub x0, x29, #120
mov x1, #0
bl _gettimeofday
ldur w8, [x29, #-124] ; 4-byte Folded Reload
cmp w8, #1
b.ne LBB0_34
; %bb.28:
Lloh23:
adrp x0, l_str@PAGE
Lloh24:
add x0, x0, l_str@PAGEOFF
bl _puts
cmp w19, #1
b.lt LBB0_33
; %bb.29:
mov x20, #0
ldr x21, [x24]
mov w22, w19
lsl x23, x22, #2
Lloh25:
adrp x19, l_.str.6@PAGE
Lloh26:
add x19, x19, l_.str.6@PAGEOFF
LBB0_30: ; =>This Loop Header: Depth=1
; Child Loop BB0_31 Depth 2
mov x24, #0
LBB0_31: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21, x20, lsl #3]
ldr w8, [x8, x24]
str x8, [sp, #-16]!
mov x0, x19
bl _printf
add sp, sp, #16
add x24, x24, #4
cmp x23, x24
b.ne LBB0_31
; %bb.32: ; in Loop: Header=BB0_30 Depth=1
mov w0, #10
bl _putchar
add x20, x20, #1
cmp x20, x22
b.ne LBB0_30
LBB0_33:
mov w0, #10
bl _putchar
LBB0_34:
ldur x8, [x29, #-120]
ldursw x9, [x29, #-112]
ldur x10, [x29, #-104]
ldursw x11, [x29, #-96]
sub x8, x8, x10
mov w10, #16960
movk w10, #15, lsl #16
sub x9, x9, x11
madd x8, x8, x10, x9
mov x9, #13531
movk x9, #55222, lsl #16
movk x9, #56962, lsl #32
movk x9, #17179, lsl #48
smulh x9, x8, x9
asr x11, x9, #18
add x9, x11, x9, lsr #63
msub x8, x9, x10, x8
stp x9, x8, [sp, #-16]!
Lloh27:
adrp x0, l_.str.5@PAGE
Lloh28:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add sp, sp, #16
mov sp, x26
ldur x8, [x29, #-88]
Lloh29:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh30:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_37
; %bb.35:
mov w0, #0
sub sp, x29, #80
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
LBB0_36:
Lloh32:
adrp x0, l_.str@PAGE
Lloh33:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #-1
bl _exit
LBB0_37:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _min ; -- Begin function min
.p2align 2
_min: ; @min
.cfi_startproc
; %bb.0:
cmp w0, w1
csel w0, w0, w1, lo
ret
.cfi_endproc
; -- End function
.globl _displayMatrix ; -- Begin function displayMatrix
.p2align 2
_displayMatrix: ; @displayMatrix
.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
cmp w1, #1
b.lt LBB2_5
; %bb.1:
mov x19, x0
mov x21, #0
mov w22, w1
lsl x23, x22, #2
Lloh34:
adrp x20, l_.str.6@PAGE
Lloh35:
add x20, x20, l_.str.6@PAGEOFF
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
mov x24, #0
LBB2_3: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, x21, lsl #3]
ldr w8, [x8, x24]
str x8, [sp]
mov x0, x20
bl _printf
add x24, x24, #4
cmp x23, x24
b.ne LBB2_3
; %bb.4: ; in Loop: Header=BB2_2 Depth=1
mov w0, #10
bl _putchar
add x21, x21, #1
cmp x21, x22
b.ne LBB2_2
LBB2_5:
mov w0, #10
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
b _putchar
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _threadFunction ; -- Begin function threadFunction
.p2align 2
_threadFunction: ; @threadFunction
.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
ldp w8, w9, [x0]
ldr w10, [x0, #8]
mul w11, w10, w9
add w9, w9, w11
cmp w9, w8
csel w9, w9, w8, lo
cmp w11, w9
b.hs LBB3_8
; %bb.1:
Lloh36:
adrp x10, _mat3@GOTPAGE
Lloh37:
ldr x10, [x10, _mat3@GOTPAGEOFF]
Lloh38:
ldr x10, [x10]
sxtw x11, w11
Lloh39:
adrp x12, _mat1@GOTPAGE
Lloh40:
ldr x12, [x12, _mat1@GOTPAGEOFF]
Lloh41:
adrp x13, _mat2@GOTPAGE
Lloh42:
ldr x13, [x13, _mat2@GOTPAGEOFF]
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
add x11, x11, #1
cmp w9, w11
b.ls LBB3_8
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
; Child Loop BB3_6 Depth 3
cmp w8, #1
b.lt LBB3_2
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
mov x14, #0
lsl x17, x11, #3
ldr x15, [x10, x17]
ldr x0, [x12]
ldr x16, [x13]
ldr x17, [x0, x17]
LBB3_5: ; Parent Loop BB3_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB3_6 Depth 3
mov w0, #0
str wzr, [x15, x14, lsl #2]
mov x1, x8
mov x2, x17
mov x3, x16
LBB3_6: ; Parent Loop BB3_3 Depth=1
; Parent Loop BB3_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w4, [x2], #4
ldr x5, [x3], #8
lsl x6, x14, #2
ldr w5, [x5, x6]
madd w0, w5, w4, w0
str w0, [x15, x6]
subs x1, x1, #1
b.ne LBB3_6
; %bb.7: ; in Loop: Header=BB3_5 Depth=2
add x14, x14, #1
cmp x14, x8
b.ne LBB3_5
b LBB3_2
LBB3_8:
mov x0, #0
bl _pthread_exit
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please execute with proper arguements"
.comm _mat1,8,3 ; @mat1
.comm _mat2,8,3 ; @mat2
.comm _mat3,8,3 ; @mat3
l_.str.3: ; @.str.3
.asciz "Error in thread creation"
l_.str.5: ; @.str.5
.asciz "Operation took %ld.%ld `secs\n"
l_.str.6: ; @.str.6
.asciz "%d "
l_str: ; @str
.asciz "Resultant matrix:"
l_str.8: ; @str.8
.asciz "Matrix A:"
l_str.9: ; @str.9
.asciz "Matrix B:"
.subsections_via_symbols
| the_stack_data/110652.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parse_attribute
_parse_attribute: ## @parse_attribute
.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 _tok@GOTPCREL(%rip), %r15
movb (%r15), %al
movq _TOK_ATTRIBUTE1@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
je LBB0_2
## %bb.1:
movq _TOK_ATTRIBUTE2@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
jne LBB0_21
LBB0_2:
movq _TOK_IDENT@GOTPCREL(%rip), %r13
movq _tcc_state@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_11 Depth 3
xorl %eax, %eax
callq _next
movl $40, %edi
callq _skip
movl $40, %edi
callq _skip
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_11 Depth 3
movb (%r15), %bl
cmpb $41, %bl
je LBB0_19
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpb (%r13), %bl
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
leaq L_.str(%rip), %rdi
callq _expect
movb (%r15), %bl
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
xorl %eax, %eax
callq _next
movq (%r12), %rax
cmpl $0, (%rax)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=2
movsbl %bl, %edi
xorl %esi, %esi
callq _get_tok_str
leaq L_.str.4(%rip), %rdi
movl %eax, %esi
callq _tcc_warning
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
movb (%r15), %al
cmpb $40, %al
jne LBB0_17
## %bb.10: ## in Loop: Header=BB0_4 Depth=2
xorl %r14d, %r14d
movb $40, %al
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Inner Loop Header: Depth=3
cmpb $41, %al
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=3
cmpb $40, %al
jne LBB0_15
## %bb.13: ## in Loop: Header=BB0_11 Depth=3
incl %r14d
jmp LBB0_15
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=3
decl %r14d
LBB0_15: ## in Loop: Header=BB0_11 Depth=3
xorl %eax, %eax
callq _next
movzbl (%r15), %eax
testl %r14d, %r14d
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_11 Depth=3
cmpb $-1, %al
jne LBB0_11
LBB0_17: ## in Loop: Header=BB0_4 Depth=2
cmpb $44, %al
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_4 Depth=2
xorl %eax, %eax
callq _next
jmp LBB0_4
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movl $41, %edi
callq _skip
movl $41, %edi
callq _skip
movb (%r15), %al
movq _TOK_ATTRIBUTE1@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
je LBB0_3
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq _TOK_ATTRIBUTE2@GOTPCREL(%rip), %rcx
cmpb (%rcx), %al
je LBB0_3
LBB0_21:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tok,1,0 ## @tok
.comm _TOK_ATTRIBUTE1,1,0 ## @TOK_ATTRIBUTE1
.comm _TOK_ATTRIBUTE2,1,0 ## @TOK_ATTRIBUTE2
.comm _TOK_IDENT,1,0 ## @TOK_IDENT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "attribute name"
.comm _TOK_STR,1,0 ## @TOK_STR
.comm _tokc,8,3 ## @tokc
.comm _MAX_ALIGN,8,3 ## @MAX_ALIGN
.comm _FUNC_CDECL,4,2 ## @FUNC_CDECL
.comm _FUNC_STDCALL,4,2 ## @FUNC_STDCALL
.comm _VT_INT64,4,2 ## @VT_INT64
.comm _VT_INT16,4,2 ## @VT_INT16
.comm _VT_INT32,4,2 ## @VT_INT32
.comm _tcc_state,8,3 ## @tcc_state
L_.str.4: ## @.str.4
.asciz "'%s' attribute ignored"
.comm _FUNC_FASTCALL1,4,2 ## @FUNC_FASTCALL1
.comm _FUNC_FASTCALLW,4,2 ## @FUNC_FASTCALLW
.no_dead_strip _parse_attribute
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_attribute
_parse_attribute: ; @parse_attribute
.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
Lloh0:
adrp x21, _tok@GOTPAGE
Lloh1:
ldr x21, [x21, _tok@GOTPAGEOFF]
ldrb w8, [x21]
Lloh2:
adrp x22, _TOK_ATTRIBUTE1@GOTPAGE
Lloh3:
ldr x22, [x22, _TOK_ATTRIBUTE1@GOTPAGEOFF]
ldrb w9, [x22]
Lloh4:
adrp x23, _TOK_ATTRIBUTE2@GOTPAGE
Lloh5:
ldr x23, [x23, _TOK_ATTRIBUTE2@GOTPAGEOFF]
ldrb w10, [x23]
cmp w8, w9
ccmp w8, w10, #4, ne
b.ne LBB0_15
; %bb.1:
Lloh6:
adrp x24, _TOK_IDENT@GOTPAGE
Lloh7:
ldr x24, [x24, _TOK_IDENT@GOTPAGEOFF]
Lloh8:
adrp x19, l_.str@PAGE
Lloh9:
add x19, x19, l_.str@PAGEOFF
Lloh10:
adrp x25, _tcc_state@GOTPAGE
Lloh11:
ldr x25, [x25, _tcc_state@GOTPAGEOFF]
Lloh12:
adrp x20, l_.str.4@PAGE
Lloh13:
add x20, x20, l_.str.4@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #41
bl _skip
mov w0, #41
bl _skip
ldrb w8, [x21]
ldrb w9, [x22]
ldrb w10, [x23]
cmp w8, w9
ccmp w8, w10, #4, ne
b.ne LBB0_15
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_11 Depth 3
bl _next
mov w0, #40
bl _skip
mov w0, #40
bl _skip
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_11 Depth 3
ldrb w26, [x21]
cmp w26, #41
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
ldrsb w8, [x24]
cmp w8, w26, sxtb
b.le LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=2
mov x0, x19
bl _expect
ldrb w26, [x21]
LBB0_7: ; in Loop: Header=BB0_4 Depth=2
bl _next
ldr x8, [x25]
ldr w8, [x8]
cbz w8, LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=2
sxtb w0, w26
mov x1, #0
bl _get_tok_str
mov x1, x0
mov x0, x20
bl _tcc_warning
LBB0_9: ; in Loop: Header=BB0_4 Depth=2
ldrb w8, [x21]
cmp w8, #40
b.ne LBB0_13
; %bb.10: ; in Loop: Header=BB0_4 Depth=2
mov w26, #0
LBB0_11: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_4 Depth=2
; => This Inner Loop Header: Depth=3
sub w9, w26, #1
cmp w8, #40
cinc w10, w26, eq
cmp w8, #41
csel w26, w9, w10, eq
bl _next
ldrb w8, [x21]
cbz w26, LBB0_13
; %bb.12: ; in Loop: Header=BB0_11 Depth=3
cmp w8, #255
b.ne LBB0_11
LBB0_13: ; in Loop: Header=BB0_4 Depth=2
cmp w8, #44
b.ne LBB0_2
; %bb.14: ; in Loop: Header=BB0_4 Depth=2
bl _next
b LBB0_4
LBB0_15:
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _tok,1,0 ; @tok
.comm _TOK_ATTRIBUTE1,1,0 ; @TOK_ATTRIBUTE1
.comm _TOK_ATTRIBUTE2,1,0 ; @TOK_ATTRIBUTE2
.comm _TOK_IDENT,1,0 ; @TOK_IDENT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "attribute name"
.comm _TOK_STR,1,0 ; @TOK_STR
.comm _tokc,8,3 ; @tokc
.comm _MAX_ALIGN,8,3 ; @MAX_ALIGN
.comm _FUNC_CDECL,4,2 ; @FUNC_CDECL
.comm _FUNC_STDCALL,4,2 ; @FUNC_STDCALL
.comm _VT_INT64,4,2 ; @VT_INT64
.comm _VT_INT16,4,2 ; @VT_INT16
.comm _VT_INT32,4,2 ; @VT_INT32
.comm _tcc_state,8,3 ; @tcc_state
l_.str.4: ; @.str.4
.asciz "'%s' attribute ignored"
.comm _FUNC_FASTCALL1,4,2 ; @FUNC_FASTCALL1
.comm _FUNC_FASTCALLW,4,2 ; @FUNC_FASTCALLW
.no_dead_strip _parse_attribute
.subsections_via_symbols
| AnghaBench/radare2/shlr/tcc/extr_tccgen.c_parse_attribute.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smk_ad_setfield_u_fs_inode
_smk_ad_setfield_u_fs_inode: ## @smk_ad_setfield_u_fs_inode
.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 _smk_ad_setfield_u_fs_inode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smk_ad_setfield_u_fs_inode
_smk_ad_setfield_u_fs_inode: ; @smk_ad_setfield_u_fs_inode
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _smk_ad_setfield_u_fs_inode
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/security/smack/extr_smack.h_smk_ad_setfield_u_fs_inode.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
pushq %rax
movl $5112, %eax ## imm = 0x13F8
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
leaq l___const.main.tokens(%rip), %rsi
leaq -5152(%rbp), %rdi
movl $5100, %edx ## imm = 0x13EC
callq _memcpy
movq 8(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %r13
movq %rax, %rdi
callq _fgetc
cmpb $13, %al
jne LBB0_3
## %bb.1:
movq %r13, %rdi
callq _feof
testl %eax, %eax
jne LBB0_24
## %bb.2:
leaq L_.str.3(%rip), %r12
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movl $10, %edi
callq _putchar
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq %r13, %rdi
callq _feof
testl %eax, %eax
jne LBB0_24
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movq %r13, %rdi
callq _fgetc
movzbl %al, %ebx
cmpl $255, %ebx
je LBB0_24
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
shll $8, %ebx
movq %r13, %rdi
callq _fgetc
addl %eax, %ebx
xorl %r14d, %r14d
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r13, %rdi
callq _fgetc
jmp LBB0_8
LBB0_15: ## in Loop: Header=BB0_8 Depth=2
addl $64, %r14d
LBB0_16: ## in Loop: Header=BB0_8 Depth=2
shll $8, %eax
leal (%rax,%r14), %esi
addl $-16384, %esi ## imm = 0xC000
xorl %r14d, %r14d
movq %r12, %rdi
xorl %eax, %eax
callq _printf
LBB0_23: ## in Loop: Header=BB0_8 Depth=2
cmpl $13, %ebx
je LBB0_5
LBB0_8: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
callq _fgetc
movzbl %al, %ebx
cmpl $141, %ebx
jne LBB0_17
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
testl %r14d, %r14d
jne LBB0_17
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
movq %r13, %rdi
callq _fgetc
movl %eax, %r15d
movq %r13, %rdi
callq _fgetc
movl %eax, %r14d
movq %r13, %rdi
callq _fgetc
## kill: def $eax killed $eax def $rax
cmpl $116, %r15d
je LBB0_15
## %bb.11: ## in Loop: Header=BB0_8 Depth=2
cmpl $100, %r15d
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_8 Depth=2
cmpl $68, %r15d
je LBB0_16
## %bb.13: ## in Loop: Header=BB0_8 Depth=2
addl $-64, %r14d
jmp LBB0_16
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_8 Depth=2
cmpl $128, %ebx
jb LBB0_20
## %bb.18: ## in Loop: Header=BB0_8 Depth=2
testl %r14d, %r14d
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_8 Depth=2
leal -128(%rbx), %eax
leaq (%rax,%rax,4), %rax
leaq -5152(,%rax,4), %rsi
addq %rbp, %rsi
xorl %r14d, %r14d
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_23
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_8 Depth=2
cmpl $13, %ebx
je LBB0_4
## %bb.21: ## in Loop: Header=BB0_8 Depth=2
movl %ebx, %edi
callq _putchar
cmpl $34, %ebx
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_8 Depth=2
xorl %eax, %eax
testl %r14d, %r14d
sete %al
movl %eax, %r14d
jmp LBB0_23
LBB0_14: ## in Loop: Header=BB0_8 Depth=2
subl $-128, %r14d
jmp LBB0_16
LBB0_3:
leaq L_str(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
LBB0_24:
movq %r13, %rdi
callq _fclose
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.tokens
l___const.main.tokens:
.asciz "AND\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DIV\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EOR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MOD\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ERROR\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LINE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OFF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STEP\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SPC\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TAB(\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ELSE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "THEN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "line\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OPENIN\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PTR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PAGE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TIME\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "HIMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ABS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ACS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ADVAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ASC\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ASN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ATN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "BGET\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "COS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "COUNT\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DEG\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ERL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ERR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EVAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EXP\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EXT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "FALSE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "FN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GET\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INKEY\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INSTR(\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LEN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOG\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "NOT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OPENUP\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OPENOUT\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PI\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "POINT(\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "POS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RAD\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RND\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SGN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SIN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SQR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TAN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TO\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TRUE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "USR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "VAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "VPOS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CHR$\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GET$\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INKEY$\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LEFT$(\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MID$(\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RIGHT$(\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STR$\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STRING$(\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EOF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SUM\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "WHILE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CASE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "WHEN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDCASE\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OTHERWISE\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDIF\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDWHILE\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PTR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PAGE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TIME\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "HIMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SOUND\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "BPUT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CALL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CHAIN\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLEAR\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLOSE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLG\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DATA\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DEF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DIM\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DRAW\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "END\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDPROC\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENVELOPE\000\000\000\000\000\000\000\000\000\000\000"
.asciz "FOR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GOSUB\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GOTO\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GCOL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "IF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INPUT\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LET\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOCAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MODE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MOVE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "NEXT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ON\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "VDU\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PLOT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PRINT\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PROC\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "READ\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "REM\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "REPEAT\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "REPORT\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RESTORE\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RETURN\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RUN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STOP\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "COLOUR\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TRACE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "UNTIL\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "WIDTH\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OSCLI\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.space 2540
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "%s"
L_str: ## @str
.asciz "This is not a BBC Basic file; exiting"
.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 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 w9, #5120
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #1024
mov x19, x1
Lloh2:
adrp x1, l___const.main.tokens@PAGE
Lloh3:
add x1, x1, l___const.main.tokens@PAGEOFF
add x0, sp, #20
mov w2, #5100
bl _memcpy
ldr x0, [x19, #8]
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x19, x0
bl _fgetc
and w8, w0, #0xff
cmp w8, #13
b.ne LBB0_15
; %bb.1:
mov x0, x19
bl _feof
cbnz w0, LBB0_16
; %bb.2:
Lloh6:
adrp x20, l_.str.2@PAGE
Lloh7:
add x20, x20, l_.str.2@PAGEOFF
mov w26, #20
add x27, sp, #20
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
Lloh10:
adrp x22, l_.str.3@PAGE
Lloh11:
add x22, x22, l_.str.3@PAGEOFF
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w0, #10
bl _putchar
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
bl _feof
cbnz w0, LBB0_16
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
mov x0, x19
bl _fgetc
and w23, w0, #0xff
cmp w23, #255
b.eq LBB0_16
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
bl _fgetc
add w8, w0, w23, lsl #8
str x8, [sp]
mov x0, x20
bl _printf
mov x0, x19
bl _fgetc
mov w24, #0
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
mov x0, x19
bl _fgetc
mov x24, x0
mov x0, x19
bl _fgetc
mov x25, x0
mov x0, x19
bl _fgetc
sub w8, w25, #64
add w9, w25, #64
add w10, w25, #128
cmp w24, #68
csel w8, w8, w25, ne
cmp w24, #100
csel w8, w10, w8, eq
cmp w24, #116
csel w8, w9, w8, eq
add w8, w8, w0, lsl #8
sub w8, w8, #4, lsl #12 ; =16384
str x8, [sp]
mov x0, x22
bl _printf
mov w24, #0
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
cmp w23, #13
b.eq LBB0_4
LBB0_9: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
bl _fgetc
and w23, w0, #0xff
cmp w23, #141
ccmp w24, #0, #0, eq
b.eq LBB0_7
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
subs w8, w23, #128
b.lo LBB0_13
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
cbnz w24, LBB0_13
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
umaddl x8, w8, w26, x27
str x8, [sp]
mov x0, x21
bl _printf
b LBB0_8
LBB0_13: ; in Loop: Header=BB0_9 Depth=2
cmp w23, #13
b.eq LBB0_3
; %bb.14: ; in Loop: Header=BB0_9 Depth=2
mov x0, x23
bl _putchar
cmp w24, #0
cset w8, eq
cmp w23, #34
csel w24, w24, w8, ne
b LBB0_8
LBB0_15:
Lloh12:
adrp x0, l_str@PAGE
Lloh13:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #1
bl _exit
LBB0_16:
mov x0, x19
bl _fclose
mov w0, #0
bl _exit
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.main.tokens: ; @__const.main.tokens
.asciz "AND\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DIV\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EOR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MOD\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ERROR\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LINE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OFF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STEP\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SPC\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TAB(\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ELSE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "THEN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "line\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OPENIN\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PTR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PAGE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TIME\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "HIMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ABS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ACS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ADVAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ASC\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ASN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ATN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "BGET\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "COS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "COUNT\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DEG\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ERL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ERR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EVAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EXP\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EXT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "FALSE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "FN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GET\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INKEY\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INSTR(\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LEN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOG\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "NOT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OPENUP\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OPENOUT\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PI\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "POINT(\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "POS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RAD\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RND\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SGN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SIN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SQR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TAN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TO\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TRUE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "USR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "VAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "VPOS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CHR$\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GET$\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INKEY$\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LEFT$(\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MID$(\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RIGHT$(\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STR$\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STRING$(\000\000\000\000\000\000\000\000\000\000\000"
.asciz "EOF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SUM\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "WHILE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CASE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "WHEN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDCASE\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OTHERWISE\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDIF\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDWHILE\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PTR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PAGE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TIME\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "HIMEM\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "SOUND\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "BPUT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CALL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CHAIN\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLEAR\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLOSE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLG\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "CLS\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DATA\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DEF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DIM\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "DRAW\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "END\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENDPROC\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ENVELOPE\000\000\000\000\000\000\000\000\000\000\000"
.asciz "FOR\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GOSUB\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GOTO\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "GCOL\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "IF\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "INPUT\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LET\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "LOCAL\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MODE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "MOVE\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "NEXT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "ON\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "VDU\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PLOT\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PRINT\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "PROC\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "READ\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "REM\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "REPEAT\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "REPORT\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RESTORE\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RETURN\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "RUN\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "STOP\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "COLOUR\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "TRACE\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "UNTIL\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "WIDTH\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.asciz "OSCLI\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
.space 2540
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "%s"
l_str: ; @str
.asciz "This is not a BBC Basic file; exiting"
.subsections_via_symbols
| the_stack_data/53576.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _msp_detect_stereo ## -- Begin function msp_detect_stereo
.p2align 4, 0x90
_msp_detect_stereo: ## @msp_detect_stereo
.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 _i2c_get_clientdata
movl %eax, %edi
callq _to_state
movl (%rax), %eax
cmpl $130, %eax
je LBB0_3
## %bb.1:
cmpl $129, %eax
je LBB0_4
## %bb.2:
cmpl $128, %eax
jne LBB0_5
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _msp3400c_detect_stereo ## TAILCALL
LBB0_4:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _msp34xxg_detect_stereo ## TAILCALL
LBB0_5:
xorl %eax, %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 _msp_detect_stereo ; -- Begin function msp_detect_stereo
.p2align 2
_msp_detect_stereo: ; @msp_detect_stereo
.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 _i2c_get_clientdata
bl _to_state
ldr w8, [x0]
cmp w8, #130
b.eq LBB0_3
; %bb.1:
cmp w8, #129
b.eq LBB0_4
; %bb.2:
cmp w8, #128
b.ne LBB0_5
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _msp3400c_detect_stereo
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _msp34xxg_detect_stereo
LBB0_5:
mov w0, #0
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
| AnghaBench/fastsocket/kernel/drivers/media/video/extr_msp3400-kthreads.c_msp_detect_stereo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wt_status_collect ## -- Begin function wt_status_collect
.p2align 4, 0x90
_wt_status_collect: ## @wt_status_collect
.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
movl 24(%rdi), %edx
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
movq %r14, %rdi
movq %r15, %rsi
callq _trace2_region_enter
movq %rbx, %rdi
callq _wt_status_collect_changes_worktree
movl 24(%rbx), %edx
movq %r14, %rdi
movq %r15, %rsi
callq _trace2_region_leave
cmpq $0, 32(%rbx)
movl 24(%rbx), %edx
leaq L_.str(%rip), %rdi
je LBB0_2
## %bb.1:
leaq L_.str.2(%rip), %r14
movq %r14, %rsi
callq _trace2_region_enter
movq %rbx, %rdi
callq _wt_status_collect_changes_initial
jmp LBB0_3
LBB0_2:
leaq L_.str.3(%rip), %r14
movq %r14, %rsi
callq _trace2_region_enter
movq %rbx, %rdi
callq _wt_status_collect_changes_index
LBB0_3:
movl 24(%rbx), %edx
leaq L_.str(%rip), %r15
movq %r15, %rdi
movq %r14, %rsi
callq _trace2_region_leave
movl 24(%rbx), %edx
leaq L_.str.4(%rip), %r14
movq %r15, %rdi
movq %r14, %rsi
callq _trace2_region_enter
movq %rbx, %rdi
callq _wt_status_collect_untracked
movl 24(%rbx), %edx
movq %r15, %rdi
movq %r14, %rsi
callq _trace2_region_leave
movl 24(%rbx), %r15d
leaq 8(%rbx), %r14
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.5:
leaq L_.str.5(%rip), %rsi
callq _strcmp
xorl %edx, %edx
testl %eax, %eax
sete %dl
jmp LBB0_6
LBB0_4:
xorl %edx, %edx
LBB0_6:
movl %r15d, %edi
movq %r14, %rsi
callq _wt_status_get_state
cmpq $0, (%r14)
je LBB0_9
## %bb.7:
movq %rbx, %rdi
callq _has_unmerged
testl %eax, %eax
jne LBB0_9
## %bb.8:
movl $1, (%rbx)
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "status"
L_.str.1: ## @.str.1
.asciz "worktrees"
L_.str.2: ## @.str.2
.asciz "initial"
L_.str.3: ## @.str.3
.asciz "index"
L_.str.4: ## @.str.4
.asciz "untracked"
L_.str.5: ## @.str.5
.asciz "HEAD"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wt_status_collect ; -- Begin function wt_status_collect
.p2align 2
_wt_status_collect: ; @wt_status_collect
.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
ldr w2, [x0, #24]
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x20
mov x1, x21
bl _trace2_region_enter
mov x0, x19
bl _wt_status_collect_changes_worktree
ldr w2, [x19, #24]
mov x0, x20
mov x1, x21
bl _trace2_region_leave
ldr x8, [x19, #32]
ldr w2, [x19, #24]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
cbz x8, LBB0_2
; %bb.1:
Lloh6:
adrp x20, l_.str.2@PAGE
Lloh7:
add x20, x20, l_.str.2@PAGEOFF
mov x1, x20
bl _trace2_region_enter
mov x0, x19
bl _wt_status_collect_changes_initial
b LBB0_3
LBB0_2:
Lloh8:
adrp x20, l_.str.3@PAGE
Lloh9:
add x20, x20, l_.str.3@PAGEOFF
mov x1, x20
bl _trace2_region_enter
mov x0, x19
bl _wt_status_collect_changes_index
LBB0_3:
ldr w2, [x19, #24]
Lloh10:
adrp x21, l_.str@PAGE
Lloh11:
add x21, x21, l_.str@PAGEOFF
mov x0, x21
mov x1, x20
bl _trace2_region_leave
ldr w2, [x19, #24]
Lloh12:
adrp x20, l_.str.4@PAGE
Lloh13:
add x20, x20, l_.str.4@PAGEOFF
mov x0, x21
mov x1, x20
bl _trace2_region_enter
mov x0, x19
bl _wt_status_collect_untracked
ldr w2, [x19, #24]
mov x0, x21
mov x1, x20
bl _trace2_region_leave
ldr w21, [x19, #24]
add x20, x19, #8
ldr x0, [x19, #16]
cbz x0, LBB0_5
; %bb.4:
Lloh14:
adrp x1, l_.str.5@PAGE
Lloh15:
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
cmp w0, #0
cset w2, eq
b LBB0_6
LBB0_5:
mov w2, #0
LBB0_6:
mov x0, x21
mov x1, x20
bl _wt_status_get_state
ldr x8, [x20]
cbz x8, LBB0_9
; %bb.7:
mov x0, x19
bl _has_unmerged
cbnz w0, LBB0_9
; %bb.8:
mov w8, #1
str w8, [x19]
LBB0_9:
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 Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "status"
l_.str.1: ; @.str.1
.asciz "worktrees"
l_.str.2: ; @.str.2
.asciz "initial"
l_.str.3: ; @.str.3
.asciz "index"
l_.str.4: ; @.str.4
.asciz "untracked"
l_.str.5: ; @.str.5
.asciz "HEAD"
.subsections_via_symbols
| AnghaBench/git/extr_wt-status.c_wt_status_collect.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function DecodeWindowBits
_DecodeWindowBits: ## @DecodeWindowBits
.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
movq 8(%rdi), %r15
movq _BROTLI_FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%rdi)
leaq -28(%rbp), %rdx
movq %rsi, %rdi
movl $1, %esi
callq _BrotliTakeBits
cmpl $0, -28(%rbp)
je LBB0_1
## %bb.2:
leaq -28(%rbp), %rdx
movq %r14, %rdi
movl $3, %esi
callq _BrotliTakeBits
movl -28(%rbp), %eax
testl %eax, %eax
je LBB0_5
## %bb.3:
addl $17, %eax
movl %eax, (%rbx)
jmp LBB0_13
LBB0_1:
movl $16, (%rbx)
LBB0_13:
movq _BROTLI_DECODER_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
leaq -28(%rbp), %rdx
movq %r14, %rdi
movl $3, %esi
callq _BrotliTakeBits
movl -28(%rbp), %eax
testl %eax, %eax
je LBB0_12
## %bb.6:
cmpl $1, %eax
jne LBB0_11
## %bb.7:
testq %r15, %r15
je LBB0_9
## %bb.8:
leaq -28(%rbp), %rdx
movq %r14, %rdi
movl $1, %esi
callq _BrotliTakeBits
cmpl $1, -28(%rbp)
jne LBB0_10
LBB0_9:
movq _BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _BROTLI_FAILURE
jmp LBB0_14
LBB0_12:
movl $17, (%rbx)
jmp LBB0_13
LBB0_11:
addl $8, %eax
movl %eax, (%rbx)
jmp LBB0_13
LBB0_10:
movq _BROTLI_TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%rbx)
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _BROTLI_FALSE,8,3 ## @BROTLI_FALSE
.comm _BROTLI_DECODER_SUCCESS,4,2 ## @BROTLI_DECODER_SUCCESS
.comm _BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS,4,2 ## @BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS
.comm _BROTLI_TRUE,8,3 ## @BROTLI_TRUE
.no_dead_strip _DecodeWindowBits
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function DecodeWindowBits
_DecodeWindowBits: ; @DecodeWindowBits
.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 x20, x1
mov x19, x0
ldr x21, [x0, #8]
Lloh0:
adrp x8, _BROTLI_FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _BROTLI_FALSE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [x0, #8]
add x2, sp, #12
mov x0, x1
mov w1, #1
bl _BrotliTakeBits
ldr w8, [sp, #12]
cbz w8, LBB0_3
; %bb.1:
add x2, sp, #12
mov x0, x20
mov w1, #3
bl _BrotliTakeBits
ldr w8, [sp, #12]
cbz w8, LBB0_7
; %bb.2:
add w8, w8, #17
b LBB0_4
LBB0_3:
mov w8, #16
LBB0_4:
str w8, [x19]
LBB0_5:
Lloh3:
adrp x8, _BROTLI_DECODER_SUCCESS@GOTPAGE
Lloh4:
ldr x8, [x8, _BROTLI_DECODER_SUCCESS@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_6:
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_7:
add x2, sp, #12
mov x0, x20
mov w1, #3
bl _BrotliTakeBits
ldr w8, [sp, #12]
cbz w8, LBB0_12
; %bb.8:
cmp w8, #1
b.ne LBB0_13
; %bb.9:
cbz x21, LBB0_11
; %bb.10:
add x2, sp, #12
mov x0, x20
mov w1, #1
bl _BrotliTakeBits
ldr w8, [sp, #12]
cmp w8, #1
b.ne LBB0_14
LBB0_11:
Lloh6:
adrp x8, _BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS@GOTPAGE
Lloh7:
ldr x8, [x8, _BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _BROTLI_FAILURE
b LBB0_6
LBB0_12:
mov w8, #17
b LBB0_4
LBB0_13:
add w8, w8, #8
b LBB0_4
LBB0_14:
Lloh9:
adrp x8, _BROTLI_TRUE@GOTPAGE
Lloh10:
ldr x8, [x8, _BROTLI_TRUE@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
str x8, [x19, #8]
b LBB0_5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _BROTLI_FALSE,8,3 ; @BROTLI_FALSE
.comm _BROTLI_DECODER_SUCCESS,4,2 ; @BROTLI_DECODER_SUCCESS
.comm _BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS,4,2 ; @BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS
.comm _BROTLI_TRUE,8,3 ; @BROTLI_TRUE
.no_dead_strip _DecodeWindowBits
.subsections_via_symbols
| AnghaBench/brotli/c/dec/extr_decode.c_DecodeWindowBits.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function acpi_copy_property_array_u16
_acpi_copy_property_array_u16: ## @acpi_copy_property_array_u16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdx, %rdx
je LBB0_8
## %bb.1:
xorl %eax, %eax
movq _ACPI_TYPE_INTEGER@GOTPCREL(%rip), %r9
movq _U16_MAX@GOTPCREL(%rip), %r8
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rax,8), %rcx
cmpq (%r9), %rcx
jne LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpq (%r8), %rcx
jg LBB0_6
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq %rcx, (%rsi,%rax,8)
incq %rax
cmpq %rax, %rdx
jne LBB0_2
LBB0_8:
xorl %eax, %eax
popq %rbp
retq
LBB0_3:
movq _EPROTO@GOTPCREL(%rip), %rcx
jmp LBB0_4
LBB0_6:
movq _EOVERFLOW@GOTPCREL(%rip), %rcx
LBB0_4:
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ACPI_TYPE_INTEGER,8,3 ## @ACPI_TYPE_INTEGER
.comm _EPROTO,4,2 ## @EPROTO
.comm _U16_MAX,8,3 ## @U16_MAX
.comm _EOVERFLOW,4,2 ## @EOVERFLOW
.no_dead_strip _acpi_copy_property_array_u16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function acpi_copy_property_array_u16
_acpi_copy_property_array_u16: ; @acpi_copy_property_array_u16
.cfi_startproc
; %bb.0:
cbz x2, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh1:
ldr x8, [x8, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh2:
adrp x9, _U16_MAX@GOTPAGE
Lloh3:
ldr x9, [x9, _U16_MAX@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x10, [x0]
ldr x11, [x8]
cmp x10, x11
b.ne LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x11, [x9]
cmp x10, x11
b.gt LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
str x10, [x1], #8
add x0, x0, #8
subs x2, x2, #1
b.ne LBB0_2
LBB0_5:
mov w0, #0
ret
LBB0_6:
Lloh4:
adrp x8, _EPROTO@GOTPAGE
Lloh5:
ldr x8, [x8, _EPROTO@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh6:
adrp x8, _EOVERFLOW@GOTPAGE
Lloh7:
ldr x8, [x8, _EOVERFLOW@GOTPAGEOFF]
LBB0_8:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _ACPI_TYPE_INTEGER,8,3 ; @ACPI_TYPE_INTEGER
.comm _EPROTO,4,2 ; @EPROTO
.comm _U16_MAX,8,3 ; @U16_MAX
.comm _EOVERFLOW,4,2 ; @EOVERFLOW
.no_dead_strip _acpi_copy_property_array_u16
.subsections_via_symbols
| AnghaBench/linux/drivers/acpi/extr_property.c_acpi_copy_property_array_u16.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 %r14
pushq %rbx
subq $224, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
xorl %eax, %eax
## implicit-def: $cl
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl %al, %edx
imull $79, %edx, %edx
movl %edx, %esi
shrl $10, %esi
imull $-13, %esi, %edi
addl %eax, %edi
andb $-128, %cl
shlb $4, %sil
andb $48, %sil
shrl $8, %edx
shlb $3, %dl
andb $-64, %dl
orb %sil, %dl
orb %cl, %dl
orb %dl, %dil
movb %dil, -240(%rbp,%rax,4)
cmpq $51, %rax
je LBB0_2
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movzbl -236(%rbp,%rax,4), %ecx
incq %rax
jmp LBB0_1
LBB0_2:
movq $-26, %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl -136(%rbp,%rbx,4), %ecx
movl %ecx, %esi
andl $15, %esi
movl %ecx, %edx
shrl $4, %edx
andl $3, %edx
shrl $6, %ecx
andl $1, %ecx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movzbl -32(%rbp,%rbx,4), %ecx
movl %ecx, %esi
andl $15, %esi
movl %ecx, %edx
shrl $4, %edx
andl $3, %edx
shrl $6, %ecx
andl $1, %ecx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
jne LBB0_3
## %bb.4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_7
## %bb.5:
xorl %eax, %eax
addq $224, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function fillDeck
LCPI1_0:
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 2 ## 0x2
.byte 3 ## 0x3
.byte 4 ## 0x4
.byte 5 ## 0x5
.byte 6 ## 0x6
.byte 7 ## 0x7
.byte 8 ## 0x8
.byte 9 ## 0x9
.byte 10 ## 0xa
.byte 11 ## 0xb
.byte 12 ## 0xc
.byte 13 ## 0xd
.byte 14 ## 0xe
.byte 15 ## 0xf
LCPI1_1:
.short 79 ## 0x4f
.short 79 ## 0x4f
.short 79 ## 0x4f
.short 79 ## 0x4f
.short 79 ## 0x4f
.short 79 ## 0x4f
.short 79 ## 0x4f
.short 79 ## 0x4f
LCPI1_2:
.space 16,63
LCPI1_3:
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
.short 13 ## 0xd
LCPI1_4:
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
.short 255 ## 0xff
LCPI1_5:
.space 16,128
LCPI1_6:
.space 16,48
LCPI1_7:
.space 16,192
LCPI1_8:
.space 16,16
.section __TEXT,__text,regular,pure_instructions
.globl _fillDeck
.p2align 4, 0x90
_fillDeck: ## @fillDeck
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
movl $15, %eax
pxor %xmm8, %xmm8
movdqa LCPI1_1(%rip), %xmm2 ## xmm2 = [79,79,79,79,79,79,79,79]
movdqa LCPI1_2(%rip), %xmm9 ## xmm9 = [63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63]
movdqa LCPI1_3(%rip), %xmm4 ## xmm4 = [13,13,13,13,13,13,13,13]
movdqa LCPI1_4(%rip), %xmm5 ## xmm5 = [255,255,255,255,255,255,255,255]
movdqa LCPI1_5(%rip), %xmm10 ## xmm10 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
movdqa LCPI1_6(%rip), %xmm11 ## xmm11 = [48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48]
movdqa LCPI1_7(%rip), %xmm12 ## xmm12 = [192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192]
movdqa LCPI1_8(%rip), %xmm13 ## xmm13 = [16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16]
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm1
punpckhbw %xmm8, %xmm1 ## xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
pmullw %xmm2, %xmm1
psrlw $8, %xmm1
pmovzxbw %xmm0, %xmm6 ## xmm6 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
pmullw %xmm2, %xmm6
psrlw $8, %xmm6
packuswb %xmm1, %xmm6
movdqa %xmm6, %xmm1
psrlw $2, %xmm1
pand %xmm9, %xmm1
pmovzxbw %xmm1, %xmm3 ## xmm3 = xmm1[0],zero,xmm1[1],zero,xmm1[2],zero,xmm1[3],zero,xmm1[4],zero,xmm1[5],zero,xmm1[6],zero,xmm1[7],zero
punpckhbw %xmm1, %xmm1 ## xmm1 = xmm1[8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15]
pmullw %xmm4, %xmm1
pand %xmm5, %xmm1
pmullw %xmm4, %xmm3
pand %xmm5, %xmm3
packuswb %xmm1, %xmm3
movdqa %xmm0, %xmm7
movd -60(%rdi,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pinsrb $1, -56(%rdi,%rax,4), %xmm1
pinsrb $2, -52(%rdi,%rax,4), %xmm1
pinsrb $3, -48(%rdi,%rax,4), %xmm1
pinsrb $4, -44(%rdi,%rax,4), %xmm1
pinsrb $5, -40(%rdi,%rax,4), %xmm1
pinsrb $6, -36(%rdi,%rax,4), %xmm1
pinsrb $7, -32(%rdi,%rax,4), %xmm1
pinsrb $8, -28(%rdi,%rax,4), %xmm1
pinsrb $9, -24(%rdi,%rax,4), %xmm1
pinsrb $10, -20(%rdi,%rax,4), %xmm1
pinsrb $11, -16(%rdi,%rax,4), %xmm1
pinsrb $12, -12(%rdi,%rax,4), %xmm1
pinsrb $13, -8(%rdi,%rax,4), %xmm1
pinsrb $14, -4(%rdi,%rax,4), %xmm1
pinsrb $15, (%rdi,%rax,4), %xmm1
psubb %xmm3, %xmm7
pand %xmm10, %xmm1
movdqa %xmm6, %xmm3
psllw $2, %xmm3
pand %xmm11, %xmm3
psllw $3, %xmm6
pand %xmm12, %xmm6
por %xmm3, %xmm6
por %xmm7, %xmm6
por %xmm1, %xmm6
pextrb $0, %xmm6, -60(%rdi,%rax,4)
pextrb $1, %xmm6, -56(%rdi,%rax,4)
pextrb $2, %xmm6, -52(%rdi,%rax,4)
pextrb $3, %xmm6, -48(%rdi,%rax,4)
pextrb $4, %xmm6, -44(%rdi,%rax,4)
pextrb $5, %xmm6, -40(%rdi,%rax,4)
pextrb $6, %xmm6, -36(%rdi,%rax,4)
pextrb $7, %xmm6, -32(%rdi,%rax,4)
pextrb $8, %xmm6, -28(%rdi,%rax,4)
pextrb $9, %xmm6, -24(%rdi,%rax,4)
pextrb $10, %xmm6, -20(%rdi,%rax,4)
pextrb $11, %xmm6, -16(%rdi,%rax,4)
pextrb $12, %xmm6, -12(%rdi,%rax,4)
pextrb $13, %xmm6, -8(%rdi,%rax,4)
pextrb $14, %xmm6, -4(%rdi,%rax,4)
pextrb $15, %xmm6, (%rdi,%rax,4)
paddb %xmm13, %xmm0
addq $16, %rax
cmpq $63, %rax
jne LBB1_1
## %bb.2:
movb 192(%rdi), %al
movb 196(%rdi), %cl
andb $-128, %al
orb $121, %al
movb %al, 192(%rdi)
andb $-128, %cl
orb $122, %cl
movb %cl, 196(%rdi)
movb 200(%rdi), %al
andb $-128, %al
orb $123, %al
movb %al, 200(%rdi)
movb 204(%rdi), %al
andb $-128, %al
orb $124, %al
movb %al, 204(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _deal ## -- Begin function deal
.p2align 4, 0x90
_deal: ## @deal
.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
movq $-26, %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movzbl 104(%r15,%rbx,4), %ecx
movl %ecx, %esi
andl $15, %esi
movl %ecx, %edx
shrl $4, %edx
andl $3, %edx
shrl $6, %ecx
andl $1, %ecx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movzbl 208(%r15,%rbx,4), %ecx
movl %ecx, %esi
andl $15, %esi
movl %ecx, %edx
shrl $4, %edx
andl $3, %edx
shrl $6, %ecx
andl $1, %ecx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
jne LBB2_1
## %bb.2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Card:%3d Suit:%2d Color:%2d \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, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x22, x21, [sp, #256] ; 16-byte Folded Spill
stp x20, x19, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.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 w27, -56
.cfi_offset w28, -64
mov x8, #0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
stur x9, [x29, #-56]
add x9, sp, #24
orr x9, x9, #0x4
mov w10, #79
mov w11, #13
; implicit-def: $w12
LBB0_1: ; =>This Inner Loop Header: Depth=1
and w13, w8, #0xff
mul w13, w13, w10
lsr w14, w13, #10
msub w14, w14, w11, w8
and w12, w12, #0x80
lsr w15, w13, #6
and w15, w15, #0x30
lsr w13, w13, #5
and w13, w13, #0xc0
orr w13, w13, w14
orr w13, w13, w15
orr w12, w13, w12
sturb w12, [x9, #-4]
cmp x8, #51
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldrb w12, [x9], #4
add x8, x8, #1
b LBB0_1
LBB0_3:
mov x20, #0
add x21, sp, #24
Lloh3:
adrp x19, l_.str@PAGE
Lloh4:
add x19, x19, l_.str@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x22, x21, x20
ldrb w8, [x22]
and w9, w8, #0xf
ubfx w10, w8, #4, #2
ubfx w8, w8, #6, #1
stp x10, x8, [sp, #8]
str x9, [sp]
mov x0, x19
bl _printf
ldrb w8, [x22, #104]
and w9, w8, #0xf
ubfx w10, w8, #4, #2
ubfx w8, w8, #6, #1
stp x10, x8, [sp, #8]
str x9, [sp]
mov x0, x19
bl _printf
add x20, x20, #4
cmp x20, #104
b.ne LBB0_4
; %bb.5:
ldur x8, [x29, #-56]
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_7
; %bb.6:
mov w0, #0
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x20, x19, [sp, #272] ; 16-byte Folded Reload
ldp x22, x21, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #304
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function fillDeck
lCPI1_0:
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 2 ; 0x2
.byte 3 ; 0x3
.byte 4 ; 0x4
.byte 5 ; 0x5
.byte 6 ; 0x6
.byte 7 ; 0x7
.byte 8 ; 0x8
.byte 9 ; 0x9
.byte 10 ; 0xa
.byte 11 ; 0xb
.byte 12 ; 0xc
.byte 13 ; 0xd
.byte 14 ; 0xe
.byte 15 ; 0xf
.section __TEXT,__text,regular,pure_instructions
.globl _fillDeck
.p2align 2
_fillDeck: ; @fillDeck
.cfi_startproc
; %bb.0:
mov x8, #0
Lloh8:
adrp x9, lCPI1_0@PAGE
Lloh9:
ldr q0, [x9, lCPI1_0@PAGEOFF]
movi.16b v1, #79
movi.16b v2, #13
movi.16b v3, #128
movi.16b v4, #48
movi.16b v5, #192
movi.16b v6, #16
LBB1_1: ; =>This Inner Loop Header: Depth=1
umull2.8h v7, v0, v1
umull.8h v16, v0, v1
uzp2.16b v16, v16, v7
ushr.16b v16, v16, #2
mov.16b v17, v0
mls.16b v17, v16, v2
add x9, x0, x8
ld4.16b { v18, v19, v20, v21 }, [x9]
add x10, x9, #4
add x11, x9, #8
add x12, x9, #12
add x13, x9, #16
and.16b v18, v18, v3
shl.16b v16, v16, #4
and.16b v16, v16, v4
umull.8h v19, v0, v1
uzp2.16b v7, v19, v7
shl.16b v7, v7, #3
and.16b v7, v7, v5
orr.16b v7, v7, v17
orr.16b v7, v7, v16
orr.16b v7, v7, v18
st1.b { v7 }[0], [x9]
st1.b { v7 }[1], [x10]
add x10, x9, #20
add x14, x9, #24
st1.b { v7 }[2], [x11]
st1.b { v7 }[3], [x12]
add x11, x9, #28
add x12, x9, #32
st1.b { v7 }[4], [x13]
st1.b { v7 }[5], [x10]
add x10, x9, #36
add x13, x9, #40
st1.b { v7 }[6], [x14]
st1.b { v7 }[7], [x11]
add x11, x9, #44
add x14, x9, #48
st1.b { v7 }[8], [x12]
st1.b { v7 }[9], [x10]
add x10, x9, #52
add x12, x9, #56
st1.b { v7 }[10], [x13]
st1.b { v7 }[11], [x11]
st1.b { v7 }[12], [x14]
st1.b { v7 }[13], [x10]
st1.b { v7 }[14], [x12]
add x9, x9, #60
st1.b { v7 }[15], [x9]
add.16b v0, v0, v6
add x8, x8, #64
cmp x8, #192
b.ne LBB1_1
; %bb.2:
ldrb w8, [x0, #192]
and w8, w8, #0x80
mov w9, #121
orr w8, w8, w9
strb w8, [x0, #192]
ldrb w8, [x0, #196]
and w8, w8, #0x80
mov w9, #122
orr w8, w8, w9
strb w8, [x0, #196]
ldrb w8, [x0, #200]
and w8, w8, #0x80
mov w9, #123
orr w8, w8, w9
strb w8, [x0, #200]
ldrb w8, [x0, #204]
and w8, w8, #0x80
orr w8, w8, #0x7c
strb w8, [x0, #204]
ret
.loh AdrpLdr Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _deal ; -- Begin function deal
.p2align 2
_deal: ; @deal
.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 x19, x0
mov x21, #0
Lloh10:
adrp x20, l_.str@PAGE
Lloh11:
add x20, x20, l_.str@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
add x22, x19, x21
ldrb w8, [x22]
and w9, w8, #0xf
ubfx w10, w8, #4, #2
ubfx w8, w8, #6, #1
stp x10, x8, [sp, #8]
str x9, [sp]
mov x0, x20
bl _printf
ldrb w8, [x22, #104]
and w9, w8, #0xf
ubfx w10, w8, #4, #2
ubfx w8, w8, #6, #1
stp x10, x8, [sp, #8]
str x9, [sp]
mov x0, x20
bl _printf
add x21, x21, #4
cmp x21, #104
b.ne LBB2_1
; %bb.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
add sp, sp, #80
ret
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Card:%3d Suit:%2d Color:%2d \n"
.subsections_via_symbols
| the_stack_data/175142095.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mtk_clk_enable
_mtk_clk_enable: ## @mtk_clk_enable
.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 _MTK_CLK_MAX@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_8
## %bb.1:
movq %rdi, %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movl (%rax,%r14,4), %edi
callq _clk_prepare_enable
testl %eax, %eax
jne LBB0_3
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
incq %r14
movslq (%r15), %rax
cmpq %rax, %r14
jl LBB0_2
LBB0_8:
xorl %eax, %eax
jmp LBB0_9
LBB0_3:
testq %r14, %r14
je LBB0_9
## %bb.4:
movl %eax, %r15d
incq %r14
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leal -2(%r14), %eax
movq (%rbx), %rcx
movl (%rcx,%rax,4), %edi
callq _clk_disable_unprepare
decq %r14
cmpq $1, %r14
jg LBB0_5
## %bb.6:
movl %r15d, %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MTK_CLK_MAX,4,2 ## @MTK_CLK_MAX
.no_dead_strip _mtk_clk_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mtk_clk_enable
_mtk_clk_enable: ; @mtk_clk_enable
.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
Lloh0:
adrp x20, _MTK_CLK_MAX@GOTPAGE
Lloh1:
ldr x20, [x20, _MTK_CLK_MAX@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov x19, x0
mov x21, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr w0, [x8, x21, lsl #2]
bl _clk_prepare_enable
cbnz w0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x21, x21, #1
ldrsw x8, [x20]
cmp x21, x8
b.lt LBB0_2
LBB0_4:
mov w0, #0 ; =0x0
b LBB0_9
LBB0_5:
cbz x21, LBB0_9
; %bb.6:
mov x20, x0
add x21, x21, #1
LBB0_7: ; =>This Inner Loop Header: Depth=1
sub w8, w21, #2
ldr x9, [x19]
ldr w0, [x9, w8, uxtw #2]
bl _clk_disable_unprepare
sub x21, x21, #1
cmp x21, #1
b.gt LBB0_7
; %bb.8:
mov x0, x20
LBB0_9:
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 AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MTK_CLK_MAX,4,2 ; @MTK_CLK_MAX
.no_dead_strip _mtk_clk_enable
.subsections_via_symbols
| assembly_file_181792.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_bitmap_walk ## -- Begin function test_bitmap_walk
.p2align 4, 0x90
_test_bitmap_walk: ## @test_bitmap_walk
.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, %r13
movl 32(%rdi), %edi
callq _prepare_bitmap_git
movq %rax, %r14
testq %rax, %rax
je LBB0_1
## %bb.2:
cmpl $1, 16(%r13)
je LBB0_4
LBB0_3:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _die
LBB0_4:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r14), %edx
movl 4(%r14), %ecx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq 24(%r13), %rax
movq (%rax), %r12
movl 8(%r14), %edi
movl (%r12), %esi
callq _kh_get_oid_map
movq %rax, %rbx
movl 8(%r14), %edi
callq _kh_end
cmpq %rax, %rbx
jge LBB0_6
## %bb.5:
movl 8(%r14), %edi
movq %rbx, %rsi
callq _kh_value
movq %rax, %rdi
callq _lookup_stored_bitmap
movq %rax, %rbx
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq %r12, %rdi
callq _oid_to_hex
movq %rax, %r15
movl (%rbx), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _ewah_checksum
leaq L_.str.3(%rip), %rsi
movl -48(%rbp), %edi ## 4-byte Reload
movq %r15, %rdx
movl -44(%rbp), %ecx ## 4-byte Reload
movl %eax, %r8d
xorl %eax, %eax
callq _fprintf
movq %rbx, %rdi
callq _ewah_to_bitmap
movq %rax, %r15
testq %rax, %rax
jne LBB0_7
LBB0_6:
movq %r12, %rdi
callq _oid_to_hex
leaq L_.str.4(%rip), %rdi
xorl %r15d, %r15d
movq %rax, %rsi
xorl %eax, %eax
callq _die
LBB0_7:
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, (%r13)
movl $1, 8(%r13)
movq %r15, %rdi
callq _bitmap_popcount
movq %rax, %r12
movq %r13, %rdi
callq _prepare_revision_walk
testq %rax, %rax
je LBB0_9
## %bb.8:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _die
LBB0_9:
movq %r14, -56(%rbp)
xorl %eax, %eax
callq _bitmap_new
movl %eax, -72(%rbp)
leaq L_.str.6(%rip), %rdi
movq %r12, %rsi
callq _start_progress
leaq -68(%rbp), %rbx
movl %eax, -68(%rbp)
movq $0, -64(%rbp)
movq _test_show_commit@GOTPCREL(%rip), %rsi
movq _test_show_object@GOTPCREL(%rip), %rdx
leaq -72(%rbp), %rcx
movq %r13, %rdi
callq _traverse_commit_list
movq %rbx, %rdi
callq _stop_progress
movl -72(%rbp), %esi
movq %r15, %rdi
callq _bitmap_equals
testq %rax, %rax
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.8(%rip), %rax
leaq L_.str.7(%rip), %rsi
cmoveq %rax, %rsi
xorl %eax, %eax
callq _fprintf
movq %r14, %rdi
callq _free_bitmap_index
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _die
cmpl $1, 16(%r13)
jne LBB0_3
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to load bitmap indexes"
L_.str.1: ## @.str.1
.asciz "you must specify exactly one commit to test"
.comm _stderr,4,2 ## @stderr
L_.str.2: ## @.str.2
.asciz "Bitmap v%d test (%d entries loaded)\n"
L_.str.3: ## @.str.3
.asciz "Found bitmap for %s. %d bits / %08x checksum\n"
L_.str.4: ## @.str.4
.asciz "Commit %s doesn't have an indexed bitmap"
L_.str.5: ## @.str.5
.asciz "revision walk setup failed"
L_.str.6: ## @.str.6
.asciz "Verifying bitmap entries"
.comm _test_show_commit,4,2 ## @test_show_commit
.comm _test_show_object,4,2 ## @test_show_object
L_.str.7: ## @.str.7
.asciz "OK!\n"
L_.str.8: ## @.str.8
.asciz "Mismatch!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_bitmap_walk ; -- Begin function test_bitmap_walk
.p2align 2
_test_bitmap_walk: ; @test_bitmap_walk
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 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
mov x20, x0
ldr w0, [x0, #32]
bl _prepare_bitmap_git
mov x19, x0
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _die
LBB0_2:
ldr w8, [x20, #16]
cmp w8, #1
b.eq LBB0_4
; %bb.3:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _die
LBB0_4:
Lloh4:
adrp x25, _stderr@GOTPAGE
Lloh5:
ldr x25, [x25, _stderr@GOTPAGEOFF]
ldr w0, [x25]
ldp w8, w9, [x19]
stp x8, x9, [sp]
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
ldr x8, [x20, #24]
ldr x21, [x8]
ldr w0, [x19, #8]
ldr w1, [x21]
bl _kh_get_oid_map
mov x22, x0
ldr w0, [x19, #8]
bl _kh_end
cmp x22, x0
b.ge LBB0_6
; %bb.5:
ldr w0, [x19, #8]
mov x1, x22
bl _kh_value
bl _lookup_stored_bitmap
mov x22, x0
ldr w23, [x25]
mov x0, x21
bl _oid_to_hex
mov x24, x0
ldr x26, [x22]
mov x0, x22
bl _ewah_checksum
; kill: def $w0 killed $w0 def $x0
stp x26, x0, [sp, #8]
str x24, [sp]
Lloh8:
adrp x1, l_.str.3@PAGE
Lloh9:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x23
bl _fprintf
mov x0, x22
bl _ewah_to_bitmap
mov x22, x0
cbnz x0, LBB0_7
LBB0_6:
mov x0, x21
bl _oid_to_hex
str x0, [sp]
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _die
mov x22, #0
LBB0_7:
movi.2s v0, #1
str d0, [x20]
mov w8, #1
str w8, [x20, #8]
mov x0, x22
bl _bitmap_popcount
mov x21, x0
mov x0, x20
bl _prepare_revision_walk
cbz x0, LBB0_9
; %bb.8:
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
bl _die
LBB0_9:
str x19, [sp, #40]
bl _bitmap_new
str w0, [sp, #24]
Lloh14:
adrp x0, l_.str.6@PAGE
Lloh15:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x21
bl _start_progress
add x8, sp, #24
orr x21, x8, #0x4
str w0, [sp, #28]
str xzr, [sp, #32]
Lloh16:
adrp x1, _test_show_commit@GOTPAGE
Lloh17:
ldr x1, [x1, _test_show_commit@GOTPAGEOFF]
Lloh18:
adrp x2, _test_show_object@GOTPAGE
Lloh19:
ldr x2, [x2, _test_show_object@GOTPAGEOFF]
add x3, sp, #24
mov x0, x20
bl _traverse_commit_list
mov x0, x21
bl _stop_progress
ldr w1, [sp, #24]
mov x0, x22
bl _bitmap_equals
ldr w8, [x25]
Lloh20:
adrp x9, l_.str.7@PAGE
Lloh21:
add x9, x9, l_.str.7@PAGEOFF
Lloh22:
adrp x10, l_.str.8@PAGE
Lloh23:
add x10, x10, l_.str.8@PAGEOFF
cmp x0, #0
csel x1, x10, x9, eq
mov x0, x8
bl _fprintf
mov x0, x19
bl _free_bitmap_index
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 AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to load bitmap indexes"
l_.str.1: ; @.str.1
.asciz "you must specify exactly one commit to test"
.comm _stderr,4,2 ; @stderr
l_.str.2: ; @.str.2
.asciz "Bitmap v%d test (%d entries loaded)\n"
l_.str.3: ; @.str.3
.asciz "Found bitmap for %s. %d bits / %08x checksum\n"
l_.str.4: ; @.str.4
.asciz "Commit %s doesn't have an indexed bitmap"
l_.str.5: ; @.str.5
.asciz "revision walk setup failed"
l_.str.6: ; @.str.6
.asciz "Verifying bitmap entries"
.comm _test_show_commit,4,2 ; @test_show_commit
.comm _test_show_object,4,2 ; @test_show_object
l_.str.7: ; @.str.7
.asciz "OK!\n"
l_.str.8: ; @.str.8
.asciz "Mismatch!\n"
.subsections_via_symbols
| AnghaBench/git/extr_pack-bitmap.c_test_bitmap_walk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ext2_xattr_handler
_ext2_xattr_handler: ## @ext2_xattr_handler
.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
testl %edi, %edi
jle LBB0_4
## %bb.1:
movl %edi, %ebx
movq _ext2_xattr_handler_map@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _ARRAY_SIZE
cmpl %ebx, %eax
jle LBB0_4
## %bb.2:
movq (%r14), %rax
movl %ebx, %ecx
movq (%rax,%rcx,8), %rax
jmp LBB0_5
LBB0_4:
xorl %eax, %eax
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ext2_xattr_handler_map,8,3 ## @ext2_xattr_handler_map
.no_dead_strip _ext2_xattr_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ext2_xattr_handler
_ext2_xattr_handler: ; @ext2_xattr_handler
.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, #1
b.lt LBB0_3
; %bb.1:
mov x19, x0
Lloh0:
adrp x20, _ext2_xattr_handler_map@GOTPAGE
Lloh1:
ldr x20, [x20, _ext2_xattr_handler_map@GOTPAGEOFF]
ldr x0, [x20]
bl _ARRAY_SIZE
cmp w0, w19
b.le LBB0_3
; %bb.2:
ldr x8, [x20]
ldr x0, [x8, w19, uxtw #3]
b LBB0_4
LBB0_3:
mov x0, #0
LBB0_4:
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 _ext2_xattr_handler_map,8,3 ; @ext2_xattr_handler_map
.no_dead_strip _ext2_xattr_handler
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ext2/extr_xattr.c_ext2_xattr_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function js_dumpproperty
_js_dumpproperty: ## @js_dumpproperty
.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, %rbx
movq %rdi, %r14
movq _minify@GOTPCREL(%rip), %r13
leaq L_.str(%rip), %r15
leaq L_str(%rip), %r12
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 24(%rbx), %esi
movq %r14, %rdi
callq _js_dumpvalue
movq %r12, %rdi
callq _puts
movq 8(%rbx), %rbx
cmpq $0, 16(%rbx)
je LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq $0, (%r13)
movq 32(%rbx), %rsi
cmpq $0, 16(%rsi)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _js_dumpproperty
jmp LBB0_3
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _minify,8,3 ## @minify
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\t%s: "
L_str: ## @str
.asciz ","
.no_dead_strip _js_dumpproperty
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function js_dumpproperty
_js_dumpproperty: ; @js_dumpproperty
.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, x1
mov x20, x0
Lloh0:
adrp x23, _minify@GOTPAGE
Lloh1:
ldr x23, [x23, _minify@GOTPAGEOFF]
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
Lloh4:
adrp x22, l_str@PAGE
Lloh5:
add x22, x22, l_str@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x19]
str x8, [sp]
mov x0, x21
bl _printf
ldr w1, [x19, #24]
mov x0, x20
bl _js_dumpvalue
mov x0, x22
bl _puts
ldr x19, [x19, #8]
ldr x8, [x19, #16]
cbz x8, LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
str xzr, [x23]
ldr x1, [x19, #32]
ldr x8, [x1, #16]
cbz x8, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _js_dumpproperty
b LBB0_1
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
add sp, sp, #80
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _minify,8,3 ; @minify
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\t%s: "
l_str: ; @str
.asciz ","
.no_dead_strip _js_dumpproperty
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/mujs/extr_jsdump.c_js_dumpproperty.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bcheck2 ## -- Begin function bcheck2
.p2align 4, 0x90
_bcheck2: ## @bcheck2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
cmpl $1, %edi
jne LBB0_3
## %bb.1:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
LBB0_2:
movl %ecx, %edx
xorl %eax, %eax
popq %rbp
jmp _fprintf ## TAILCALL
LBB0_3:
movl %edi, %edx
jle LBB0_6
## %bb.4:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
jmp LBB0_5
LBB0_6:
cmpl $-1, %edx
je LBB0_7
## %bb.8:
jge LBB0_10
## %bb.9:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
negl %edx
leaq L_.str.3(%rip), %rsi
LBB0_5:
xorl %eax, %eax
popq %rbp
jmp _fprintf ## TAILCALL
LBB0_7:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
jmp LBB0_2
LBB0_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\tmissing %c\n"
L_.str.1: ## @.str.1
.asciz "\t%d missing %c's\n"
L_.str.2: ## @.str.2
.asciz "\textra %c\n"
L_.str.3: ## @.str.3
.asciz "\t%d extra %c's\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bcheck2 ; -- Begin function bcheck2
.p2align 2
_bcheck2: ; @bcheck2
.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
; kill: def $w2 killed $w2 def $x2
cmp w0, #1
b.ne LBB0_3
; %bb.1:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
LBB0_2:
; kill: def $w2 killed $w2 killed $x2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _fprintf
LBB0_3:
mov x8, x0
cmp w0, #2
b.lt LBB0_5
; %bb.4:
Lloh5:
adrp x9, _stderr@GOTPAGE
Lloh6:
ldr x9, [x9, _stderr@GOTPAGEOFF]
Lloh7:
ldr w0, [x9]
str x2, [sp]
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_8
LBB0_5:
cmn w8, #1
b.eq LBB0_10
; %bb.6:
cmn w8, #2
b.gt LBB0_9
; %bb.7:
Lloh10:
adrp x9, _stderr@GOTPAGE
Lloh11:
ldr x9, [x9, _stderr@GOTPAGEOFF]
Lloh12:
ldr w0, [x9]
neg w8, w8
; kill: def $w2 killed $w2 killed $x2 def $x2
str x2, [sp]
Lloh13:
adrp x1, l_.str.3@PAGE
Lloh14:
add x1, x1, l_.str.3@PAGEOFF
LBB0_8:
mov x2, x8
bl _fprintf
LBB0_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_10:
Lloh15:
adrp x8, _stderr@GOTPAGE
Lloh16:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
Lloh18:
adrp x1, l_.str.2@PAGE
Lloh19:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\tmissing %c\n"
l_.str.1: ; @.str.1
.asciz "\t%d missing %c's\n"
l_.str.2: ; @.str.2
.asciz "\textra %c\n"
l_.str.3: ; @.str.3
.asciz "\t%d extra %c's\n"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/one-true-awk/extr_lib.c_bcheck2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pl111_realview_clcd_enable
_pl111_realview_clcd_enable: ## @pl111_realview_clcd_enable
.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
leaq L_.str(%rip), %rsi
callq _dev_info
movq _versatile_syscon_map@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SYS_CLCD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SYS_CLCD_CONNECTOR_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _SYS_CLCD_NLCDIOON@GOTPCREL(%rip), %rax
movq _SYS_CLCD_PWR3V5SWITCH@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
popq %rbp
jmp _regmap_update_bits ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enable RealView CLCD connectors\n"
.comm _versatile_syscon_map,4,2 ## @versatile_syscon_map
.comm _SYS_CLCD,4,2 ## @SYS_CLCD
.comm _SYS_CLCD_CONNECTOR_MASK,4,2 ## @SYS_CLCD_CONNECTOR_MASK
.comm _SYS_CLCD_NLCDIOON,4,2 ## @SYS_CLCD_NLCDIOON
.comm _SYS_CLCD_PWR3V5SWITCH,4,2 ## @SYS_CLCD_PWR3V5SWITCH
.no_dead_strip _pl111_realview_clcd_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pl111_realview_clcd_enable
_pl111_realview_clcd_enable: ; @pl111_realview_clcd_enable
.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]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_info
Lloh2:
adrp x8, _versatile_syscon_map@GOTPAGE
Lloh3:
ldr x8, [x8, _versatile_syscon_map@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
Lloh5:
adrp x8, _SYS_CLCD@GOTPAGE
Lloh6:
ldr x8, [x8, _SYS_CLCD@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
Lloh8:
adrp x8, _SYS_CLCD_CONNECTOR_MASK@GOTPAGE
Lloh9:
ldr x8, [x8, _SYS_CLCD_CONNECTOR_MASK@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
Lloh11:
adrp x8, _SYS_CLCD_NLCDIOON@GOTPAGE
Lloh12:
ldr x8, [x8, _SYS_CLCD_NLCDIOON@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
Lloh14:
adrp x9, _SYS_CLCD_PWR3V5SWITCH@GOTPAGE
Lloh15:
ldr x9, [x9, _SYS_CLCD_PWR3V5SWITCH@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
orr w3, w9, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _regmap_update_bits
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enable RealView CLCD connectors\n"
.comm _versatile_syscon_map,4,2 ; @versatile_syscon_map
.comm _SYS_CLCD,4,2 ; @SYS_CLCD
.comm _SYS_CLCD_CONNECTOR_MASK,4,2 ; @SYS_CLCD_CONNECTOR_MASK
.comm _SYS_CLCD_NLCDIOON,4,2 ; @SYS_CLCD_NLCDIOON
.comm _SYS_CLCD_PWR3V5SWITCH,4,2 ; @SYS_CLCD_PWR3V5SWITCH
.no_dead_strip _pl111_realview_clcd_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/pl111/extr_pl111_versatile.c_pl111_realview_clcd_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IkeParseProposalPayload ## -- Begin function IkeParseProposalPayload
.p2align 4, 0x90
_IkeParseProposalPayload: ## @IkeParseProposalPayload
.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
xorl %eax, %eax
testq %rdi, %rdi
je LBB0_5
## %bb.1:
testq %rsi, %rsi
je LBB0_5
## %bb.2:
movl (%rsi), %r14d
cmpl $16, %r14d
jb LBB0_5
## %bb.3:
movq %rdi, %rbx
movq 8(%rsi), %r15
movl 12(%r15), %ecx
movl %ecx, 12(%rdi)
movl 8(%r15), %ecx
movl %ecx, 8(%rdi)
addl $-16, %r14d
movq (%r15), %rsi
cmpl %esi, %r14d
jl LBB0_5
## %bb.4:
leaq 64(%r15), %rdi
callq _MemToBuf
movl %eax, 4(%rbx)
movq (%r15), %rax
leaq (%r15,%rax,4), %rdi
addq $64, %rdi
subl %eax, %r14d
movq _IKE_PAYLOAD_TRANSFORM@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r14d, %esi
callq _IkeParsePayloadList
movl %eax, (%rbx)
movl $1, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IKE_PAYLOAD_TRANSFORM,4,2 ## @IKE_PAYLOAD_TRANSFORM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IkeParseProposalPayload ; -- Begin function IkeParseProposalPayload
.p2align 2
_IkeParseProposalPayload: ; @IkeParseProposalPayload
.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 w0, #0
cbz x19, LBB0_6
; %bb.1:
cbz x1, LBB0_6
; %bb.2:
ldr w8, [x1]
subs w21, w8, #16
b.lo LBB0_4
; %bb.3:
ldr x22, [x1, #8]
ldr d0, [x22, #8]
str d0, [x19, #8]
ldr x1, [x22]
cmp w21, w1
b.ge LBB0_5
LBB0_4:
mov w0, #0
b LBB0_6
LBB0_5:
add x20, x22, #64
mov x0, x20
bl _MemToBuf
str w0, [x19, #4]
ldr x8, [x22]
add x0, x20, x8, lsl #2
sub w1, w21, w8
Lloh0:
adrp x8, _IKE_PAYLOAD_TRANSFORM@GOTPAGE
Lloh1:
ldr x8, [x8, _IKE_PAYLOAD_TRANSFORM@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
bl _IkeParsePayloadList
str w0, [x19]
mov w0, #1
LBB0_6:
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 _IKE_PAYLOAD_TRANSFORM,4,2 ; @IKE_PAYLOAD_TRANSFORM
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IkePacket.c_IkeParseProposalPayload.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_process_root ## -- Begin function get_process_root
.p2align 4, 0x90
_get_process_root: ## @get_process_root
.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
shrq $63, %rdi
xorl $1, %edi
## kill: def $edi killed $edi killed $rdi
callq _assert
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _procfs_file_alloca
movq %rax, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _get_process_link_contents ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "root"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_process_root ; -- Begin function get_process_root
.p2align 2
_get_process_root: ; @get_process_root
.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
lsr x8, x0, #63
eor w0, w8, #0x1
bl _assert
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _procfs_file_alloca
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _get_process_link_contents
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "root"
.subsections_via_symbols
| AnghaBench/systemd/src/basic/extr_process-util.c_get_process_root.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vm_suspended_cpus ## -- Begin function vm_suspended_cpus
.p2align 4, 0x90
_vm_suspended_cpus: ## @vm_suspended_cpus
.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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vm_suspended_cpus ; -- Begin function vm_suspended_cpus
.p2align 2
_vm_suspended_cpus: ; @vm_suspended_cpus
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/xhyve/src/vmm/extr_vmm.c_vm_suspended_cpus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mv_platform_probe_and_attach
_mv_platform_probe_and_attach: ## @mv_platform_probe_and_attach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MV_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _fdt_immr_addr
testq %rax, %rax
je LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MV_BASE,4,2 ## @MV_BASE
.no_dead_strip _mv_platform_probe_and_attach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mv_platform_probe_and_attach
_mv_platform_probe_and_attach: ; @mv_platform_probe_and_attach
.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 x8, _MV_BASE@GOTPAGE
Lloh1:
ldr x8, [x8, _MV_BASE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _fdt_immr_addr
cbz x0, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MV_BASE,4,2 ; @MV_BASE
.no_dead_strip _mv_platform_probe_and_attach
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm/mv/extr_mv_armv7_machdep.c_mv_platform_probe_and_attach.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 $72, %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.5(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -100(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -100(%rbp), %eax
testl %eax, %eax
je LBB0_7
## %bb.1:
leaq L_str.10(%rip), %rbx
leaq L_.str.5(%rip), %r15
leaq L_.str.6(%rip), %r12
leaq -100(%rbp), %r13
xorl %r14d, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movslq %r14d, %rcx
incl %r14d
movl %eax, -96(%rbp,%rcx,4)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -100(%rbp), %eax
testl %eax, %eax
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $10, %r14d
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _puts
movl $10, %r14d
jmp LBB0_5
LBB0_6:
testl %r14d, %r14d
je LBB0_7
## %bb.8:
leaq L_str(%rip), %rdi
callq _puts
movl %r14d, %eax
movq %rax, -112(%rbp) ## 8-byte Spill
testl %r14d, %r14d
jle LBB0_9
## %bb.10:
movl $1, %ebx
xorl %r12d, %r12d
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
incl %ebx
cmpq %r12, -112(%rbp) ## 8-byte Folded Reload
je LBB0_14
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %r12, %r13
incq %r12
movl %ebx, %eax
movl $3435973837, %ecx ## imm = 0xCCCCCCCD
imulq %rcx, %rax
shrq $34, %rax
leal (%rax,%rax,4), %r15d
decl %r15d
movl -96(%rbp,%r13,4), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl %r13d, %r15d
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movl $10, %edi
callq _putchar
jmp LBB0_13
LBB0_7:
leaq L_str.9(%rip), %rdi
callq _puts
jmp LBB0_21
LBB0_14:
movl $10, %edi
callq _putchar
movl %r14d, %ecx
decl %ecx
jne LBB0_27
LBB0_15:
leaq L_str.8(%rip), %rdi
callq _puts
testl %r14d, %r14d
jle LBB0_20
## %bb.16:
movl $1, %ebx
leaq L_.str.3(%rip), %r14
xorl %r13d, %r13d
jmp LBB0_17
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_17 Depth=1
incl %ebx
cmpq %r13, -112(%rbp) ## 8-byte Folded Reload
je LBB0_20
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq %r13, %r15
incq %r13
movl %ebx, %eax
movl $3435973837, %ecx ## imm = 0xCCCCCCCD
imulq %rcx, %rax
shrq $34, %rax
leal (%rax,%rax,4), %r12d
decl %r12d
movl -96(%rbp,%r15,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
cmpl %r15d, %r12d
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $10, %edi
callq _putchar
jmp LBB0_19
LBB0_20:
movl $10, %edi
callq _putchar
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_22
## %bb.38:
xorl %eax, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl $10, %edi
callq _putchar
leal -1(%r14), %ecx
jmp LBB0_27
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_27 Depth=1
testl %ecx, %ecx
je LBB0_15
LBB0_27: ## =>This Loop Header: Depth=1
## Child Loop BB0_31 Depth 2
testl %ecx, %ecx
jle LBB0_15
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movl %ecx, %r8d
movl -96(%rbp), %edx
cmpl $1, %ecx
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_27 Depth=1
xorl %ebx, %ebx
xorl %ecx, %ecx
LBB0_23: ## in Loop: Header=BB0_27 Depth=1
testb $1, %r8b
je LBB0_26
## %bb.24: ## in Loop: Header=BB0_27 Depth=1
movl -92(%rbp,%rbx,4), %eax
cmpl %eax, %edx
jle LBB0_26
## %bb.25: ## in Loop: Header=BB0_27 Depth=1
movl %eax, -96(%rbp,%rbx,4)
movl %edx, -92(%rbp,%rbx,4)
movl %ebx, %ecx
jmp LBB0_26
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_27 Depth=1
movl %r8d, %esi
andl $-2, %esi
xorl %edi, %edi
xorl %ecx, %ecx
jmp LBB0_31
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_31 Depth=2
movl %eax, -92(%rbp,%rdi,4)
movl %edx, -88(%rbp,%rdi,4)
incl %edi
movl %edi, %ecx
LBB0_37: ## in Loop: Header=BB0_31 Depth=2
movq %rbx, %rdi
cmpq %rbx, %rsi
je LBB0_23
LBB0_31: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
movl -92(%rbp,%rdi,4), %eax
cmpl %eax, %edx
jle LBB0_32
## %bb.33: ## in Loop: Header=BB0_31 Depth=2
movl %eax, -96(%rbp,%rdi,4)
movl %edx, -92(%rbp,%rdi,4)
movl %edi, %ecx
jmp LBB0_34
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_31 Depth=2
movl %eax, %edx
LBB0_34: ## in Loop: Header=BB0_31 Depth=2
leaq 2(%rdi), %rbx
movl -88(%rbp,%rdi,4), %eax
cmpl %eax, %edx
jg LBB0_36
## %bb.35: ## in Loop: Header=BB0_31 Depth=2
movl %eax, %edx
jmp LBB0_37
LBB0_22:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _getIntArray ## -- Begin function getIntArray
.p2align 4, 0x90
_getIntArray: ## @getIntArray
.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, %r12d
movl %esi, %r14d
movq %rdi, -56(%rbp) ## 8-byte Spill
leaq L_.str.5(%rip), %rdi
xorl %ebx, %ebx
movl %edx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
cmpl %r12d, %eax
jne LBB1_1
LBB1_6:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_1:
leaq L_.str.6(%rip), %r15
leaq -44(%rbp), %r13
xorl %ebx, %ebx
jmp LBB1_2
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
movslq %ebx, %rcx
incl %ebx
movq -56(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rdx,%rcx,4)
LBB1_5: ## in Loop: Header=BB1_2 Depth=1
leaq L_.str.5(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
cmpl %r12d, %eax
je LBB1_6
LBB1_2: ## =>This Inner Loop Header: Depth=1
cmpl %r14d, %ebx
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
leaq L_str.10(%rip), %rdi
callq _puts
movl %r14d, %ebx
jmp LBB1_5
.cfi_endproc
## -- End function
.globl _printIntArray ## -- Begin function printIntArray
.p2align 4, 0x90
_printIntArray: ## @printIntArray
.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, -48(%rbp) ## 8-byte Spill
testl %esi, %esi
jle LBB2_5
## %bb.1:
movl %esi, %r12d
movl $1, %ebx
xorl %r14d, %r14d
jmp LBB2_2
.p2align 4, 0x90
LBB2_4: ## in Loop: Header=BB2_2 Depth=1
incl %ebx
cmpq %r14, %r12
je LBB2_5
LBB2_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %r13
incq %r14
movl %ebx, %eax
movl $3435973837, %ecx ## imm = 0xCCCCCCCD
imulq %rcx, %rax
shrq $34, %rax
leal (%rax,%rax,4), %r15d
decl %r15d
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax,%r13,4), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl %r13d, %r15d
jne LBB2_4
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movl $10, %edi
callq _putchar
jmp LBB2_4
LBB2_5:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _bubbleSort ## -- Begin function bubbleSort
.p2align 4, 0x90
_bubbleSort: ## @bubbleSort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
decl %esi
jne LBB3_6
LBB3_1:
popq %rbp
retq
.p2align 4, 0x90
LBB3_5: ## in Loop: Header=BB3_6 Depth=1
testl %esi, %esi
je LBB3_1
LBB3_6: ## =>This Loop Header: Depth=1
## Child Loop BB3_10 Depth 2
testl %esi, %esi
jle LBB3_1
## %bb.7: ## in Loop: Header=BB3_6 Depth=1
movl %esi, %r8d
movl (%rdi), %r10d
cmpl $1, %esi
jne LBB3_9
## %bb.8: ## in Loop: Header=BB3_6 Depth=1
xorl %edx, %edx
xorl %esi, %esi
LBB3_2: ## in Loop: Header=BB3_6 Depth=1
testb $1, %r8b
je LBB3_5
## %bb.3: ## in Loop: Header=BB3_6 Depth=1
movl 4(%rdi,%rdx,4), %ecx
cmpl %ecx, %r10d
jle LBB3_5
## %bb.4: ## in Loop: Header=BB3_6 Depth=1
movl %ecx, (%rdi,%rdx,4)
movl %r10d, 4(%rdi,%rdx,4)
movl %edx, %esi
jmp LBB3_5
.p2align 4, 0x90
LBB3_9: ## in Loop: Header=BB3_6 Depth=1
movl %r8d, %r9d
andl $-2, %r9d
xorl %ecx, %ecx
xorl %esi, %esi
jmp LBB3_10
.p2align 4, 0x90
LBB3_15: ## in Loop: Header=BB3_10 Depth=2
movl %eax, 4(%rdi,%rcx,4)
movl %r10d, 8(%rdi,%rcx,4)
incl %ecx
movl %ecx, %esi
LBB3_16: ## in Loop: Header=BB3_10 Depth=2
movq %rdx, %rcx
cmpq %rdx, %r9
je LBB3_2
LBB3_10: ## Parent Loop BB3_6 Depth=1
## => This Inner Loop Header: Depth=2
movl 4(%rdi,%rcx,4), %edx
cmpl %edx, %r10d
jle LBB3_11
## %bb.12: ## in Loop: Header=BB3_10 Depth=2
movl %edx, (%rdi,%rcx,4)
movl %r10d, 4(%rdi,%rcx,4)
movl %ecx, %esi
jmp LBB3_13
.p2align 4, 0x90
LBB3_11: ## in Loop: Header=BB3_10 Depth=2
movl %edx, %r10d
LBB3_13: ## in Loop: Header=BB3_10 Depth=2
leaq 2(%rcx), %rdx
movl 8(%rdi,%rcx,4), %eax
cmpl %eax, %r10d
jg LBB3_15
## %bb.14: ## in Loop: Header=BB3_10 Depth=2
movl %eax, %r10d
jmp LBB3_16
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "\t%d "
L_.str.5: ## @.str.5
.asciz "Enter integer [%d to terminate] : "
L_.str.6: ## @.str.6
.asciz "%d"
L_str: ## @str
.asciz "The array was: "
L_str.8: ## @str.8
.asciz "The sorted array is: "
L_str.9: ## @str.9
.asciz "This is the empty array!"
L_str.10: ## @str.10
.asciz "array is full"
.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, #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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
str xzr, [sp]
Lloh3:
adrp x0, l_.str.5@PAGE
Lloh4:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add x23, sp, #12
str x23, [sp]
Lloh5:
adrp x0, l_.str.6@PAGE
Lloh6:
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cbz w8, LBB0_12
; %bb.1:
mov w22, #0
Lloh7:
adrp x19, l_str.10@PAGE
Lloh8:
add x19, x19, l_str.10@PAGEOFF
Lloh9:
adrp x20, l_.str.5@PAGE
Lloh10:
add x20, x20, l_.str.5@PAGEOFF
add x24, sp, #16
Lloh11:
adrp x21, l_.str.6@PAGE
Lloh12:
add x21, x21, l_.str.6@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
str w8, [x24, w22, sxtw #2]
add w22, w22, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str xzr, [sp]
mov x0, x20
bl _printf
str x23, [sp]
mov x0, x21
bl _scanf
ldr w8, [sp, #12]
cbz w8, LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
cmp w22, #10
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _puts
b LBB0_3
LBB0_6:
cbz w22, LBB0_12
; %bb.7:
Lloh13:
adrp x0, l_str@PAGE
Lloh14:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w20, w22
cmp w22, #0
b.le LBB0_15
; %bb.8:
add x21, sp, #16
mov w23, #-1
mov w24, #1
mov w25, #52429
movk w25, #52428, lsl #16
mov x26, x20
Lloh15:
adrp x19, l_.str.3@PAGE
Lloh16:
add x19, x19, l_.str.3@PAGEOFF
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x21, x21, #4
sub w23, w23, #1
add w24, w24, #1
sub x26, x26, #1
cbz x26, LBB0_13
LBB0_10: ; =>This Inner Loop Header: Depth=1
umull x8, w24, w25
lsr x8, x8, #34
add w8, w8, w8, lsl #2
add w27, w23, w8
ldr w8, [x21]
str x8, [sp]
mov x0, x19
bl _printf
cbnz w27, LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
mov w0, #10
bl _putchar
b LBB0_9
LBB0_12:
Lloh17:
adrp x0, l_str.9@PAGE
Lloh18:
add x0, x0, l_str.9@PAGEOFF
bl _puts
b LBB0_29
LBB0_13:
mov w0, #10
bl _putchar
subs w9, w22, #1
b.eq LBB0_23
; %bb.14:
add x8, sp, #16
b LBB0_17
LBB0_15:
mov w0, #10
bl _putchar
sub w9, w22, #1
add x8, sp, #16
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_17 Depth=1
cbz w9, LBB0_23
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_21 Depth 2
cmp w9, #1
b.lt LBB0_23
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
mov x10, #0
mov w11, w9
ldr w12, [sp, #16]
mov w9, #0
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_21 Depth=2
str w14, [x8, x10, lsl #2]
str w12, [x13, #4]
mov x9, x10
LBB0_20: ; in Loop: Header=BB0_21 Depth=2
add x10, x10, #1
cmp x11, x10
b.eq LBB0_16
LBB0_21: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
add x13, x8, x10, lsl #2
ldr w14, [x13, #4]
cmp w12, w14
b.gt LBB0_19
; %bb.22: ; in Loop: Header=BB0_21 Depth=2
mov x12, x14
b LBB0_20
LBB0_23:
Lloh19:
adrp x0, l_str.8@PAGE
Lloh20:
add x0, x0, l_str.8@PAGEOFF
bl _puts
cmp w22, #1
b.lt LBB0_28
; %bb.24:
add x21, sp, #16
mov w22, #-1
mov w23, #1
mov w24, #52429
movk w24, #52428, lsl #16
Lloh21:
adrp x19, l_.str.3@PAGE
Lloh22:
add x19, x19, l_.str.3@PAGEOFF
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
add x21, x21, #4
sub w22, w22, #1
add w23, w23, #1
sub x20, x20, #1
cbz x20, LBB0_28
LBB0_26: ; =>This Inner Loop Header: Depth=1
umull x8, w23, w24
lsr x8, x8, #34
add w8, w8, w8, lsl #2
add w25, w22, w8
ldr w8, [x21]
str x8, [sp]
mov x0, x19
bl _printf
cbnz w25, LBB0_25
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
mov w0, #10
bl _putchar
b LBB0_25
LBB0_28:
mov w0, #10
bl _putchar
LBB0_29:
ldr x8, [sp, #56]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_31
; %bb.30:
mov w0, #0
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
LBB0_31:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.globl _getIntArray ; -- Begin function getIntArray
.p2align 2
_getIntArray: ; @getIntArray
.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 x19, x2
mov x20, x1
mov x21, x0
mov x8, x2
str x8, [sp]
Lloh26:
adrp x0, l_.str.5@PAGE
Lloh27:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add x26, sp, #12
str x26, [sp]
Lloh28:
adrp x0, l_.str.6@PAGE
Lloh29:
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, w19
b.ne LBB1_3
; %bb.1:
mov w22, #0
LBB1_2:
mov x0, x22
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
LBB1_3:
mov w22, #0
Lloh30:
adrp x23, l_str.10@PAGE
Lloh31:
add x23, x23, l_str.10@PAGEOFF
Lloh32:
adrp x24, l_.str.5@PAGE
Lloh33:
add x24, x24, l_.str.5@PAGEOFF
Lloh34:
adrp x25, l_.str.6@PAGE
Lloh35:
add x25, x25, l_.str.6@PAGEOFF
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_6 Depth=1
str w8, [x21, w22, sxtw #2]
add w22, w22, #1
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
str x19, [sp]
mov x0, x24
bl _printf
str x26, [sp]
mov x0, x25
bl _scanf
ldr w8, [sp, #12]
cmp w8, w19
b.eq LBB1_2
LBB1_6: ; =>This Inner Loop Header: Depth=1
cmp w22, w20
b.ne LBB1_4
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
mov x0, x23
bl _puts
mov x22, x20
b LBB1_5
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _printIntArray ; -- Begin function printIntArray
.p2align 2
_printIntArray: ; @printIntArray
.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
cmp w1, #1
b.lt LBB2_5
; %bb.1:
mov x19, x0
mov w21, w1
mov w22, #-1
mov w23, #1
mov w24, #52429
movk w24, #52428, lsl #16
Lloh36:
adrp x20, l_.str.3@PAGE
Lloh37:
add x20, x20, l_.str.3@PAGEOFF
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
add x19, x19, #4
sub w22, w22, #1
add w23, w23, #1
sub x21, x21, #1
cbz x21, LBB2_5
LBB2_3: ; =>This Inner Loop Header: Depth=1
umull x8, w23, w24
lsr x8, x8, #34
add w8, w8, w8, lsl #2
add w25, w22, w8
ldr w8, [x19]
str x8, [sp]
mov x0, x20
bl _printf
cbnz w25, LBB2_2
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
mov w0, #10
bl _putchar
b LBB2_2
LBB2_5:
mov w0, #10
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
b _putchar
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.globl _bubbleSort ; -- Begin function bubbleSort
.p2align 2
_bubbleSort: ; @bubbleSort
.cfi_startproc
; %bb.0:
subs w10, w1, #1
b.ne LBB3_3
LBB3_1:
ret
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
cbz w10, LBB3_1
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_7 Depth 2
cmp w10, #1
b.lt LBB3_1
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
mov x8, #0
mov w9, w10
ldr w11, [x0]
mov w10, #0
b LBB3_7
LBB3_5: ; in Loop: Header=BB3_7 Depth=2
str w13, [x0, x8, lsl #2]
str w11, [x12, #4]
mov x10, x8
LBB3_6: ; in Loop: Header=BB3_7 Depth=2
add x8, x8, #1
cmp x9, x8
b.eq LBB3_2
LBB3_7: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
add x12, x0, x8, lsl #2
ldr w13, [x12, #4]
cmp w11, w13
b.gt LBB3_5
; %bb.8: ; in Loop: Header=BB3_7 Depth=2
mov x11, x13
b LBB3_6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "\t%d "
l_.str.5: ; @.str.5
.asciz "Enter integer [%d to terminate] : "
l_.str.6: ; @.str.6
.asciz "%d"
l_str: ; @str
.asciz "The array was: "
l_str.8: ; @str.8
.asciz "The sorted array is: "
l_str.9: ; @str.9
.asciz "This is the empty array!"
l_str.10: ; @str.10
.asciz "array is full"
.subsections_via_symbols
| the_stack_data/33926.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pdf_filter_sc_color
_pdf_filter_sc_color: ## @pdf_filter_sc_color
.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 %rcx, %rbx
movl %edx, %r14d
callq _gstate_to_update
movq 32(%rax), %rcx
movq $0, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 16(%rax)
movl %r14d, (%rax)
testl %r14d, %r14d
jle LBB0_15
## %bb.1:
movq 8(%rax), %rax
movl %r14d, %r8d
xorl %edx, %edx
cmpl $8, %r14d
jb LBB0_11
## %bb.2:
movq %rax, %rcx
subq %rbx, %rcx
cmpq $32, %rcx
jb LBB0_11
## %bb.3:
movl %r8d, %edx
andl $-8, %edx
leaq -8(%rdx), %rcx
movq %rcx, %rdi
shrq $3, %rdi
incq %rdi
movl %edi, %r9d
andl $3, %r9d
cmpq $24, %rcx
jae LBB0_5
## %bb.4:
xorl %ecx, %ecx
jmp LBB0_7
LBB0_5:
andq $-4, %rdi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movups (%rbx,%rcx,4), %xmm0
movups 16(%rbx,%rcx,4), %xmm1
movups %xmm0, (%rax,%rcx,4)
movups %xmm1, 16(%rax,%rcx,4)
movups 32(%rbx,%rcx,4), %xmm0
movups 48(%rbx,%rcx,4), %xmm1
movups %xmm0, 32(%rax,%rcx,4)
movups %xmm1, 48(%rax,%rcx,4)
movups 64(%rbx,%rcx,4), %xmm0
movups 80(%rbx,%rcx,4), %xmm1
movups %xmm0, 64(%rax,%rcx,4)
movups %xmm1, 80(%rax,%rcx,4)
movups 96(%rbx,%rcx,4), %xmm0
movups 112(%rbx,%rcx,4), %xmm1
movups %xmm0, 96(%rax,%rcx,4)
movups %xmm1, 112(%rax,%rcx,4)
addq $32, %rcx
addq $-4, %rdi
jne LBB0_6
LBB0_7:
testq %r9, %r9
je LBB0_10
## %bb.8:
leaq (%rax,%rcx,4), %rdi
addq $16, %rdi
leaq (%rbx,%rcx,4), %rcx
addq $16, %rcx
shlq $5, %r9
xorl %esi, %esi
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movups -16(%rcx,%rsi), %xmm0
movups (%rcx,%rsi), %xmm1
movups %xmm0, -16(%rdi,%rsi)
movups %xmm1, (%rdi,%rsi)
addq $32, %rsi
cmpq %rsi, %r9
jne LBB0_9
LBB0_10:
cmpq %r8, %rdx
je LBB0_15
LBB0_11:
movq %rdx, %rcx
notq %rcx
addq %r8, %rcx
movq %r8, %rsi
andq $3, %rsi
je LBB0_13
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movss (%rbx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rdx,4)
incq %rdx
decq %rsi
jne LBB0_12
LBB0_13:
cmpq $3, %rcx
jb LBB0_15
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movss (%rbx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rax,%rdx,4)
movss 4(%rbx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 4(%rax,%rdx,4)
movss 8(%rbx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 8(%rax,%rdx,4)
movss 12(%rbx,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 12(%rax,%rdx,4)
addq $4, %rdx
cmpq %rdx, %r8
jne LBB0_14
LBB0_15:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pdf_filter_sc_color
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pdf_filter_sc_color
_pdf_filter_sc_color: ; @pdf_filter_sc_color
.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, x3
mov x20, x2
bl _gstate_to_update
ldr x8, [x0, #32]
str xzr, [x8]
stp xzr, xzr, [x0, #16]
str w20, [x0]
cmp w20, #1
b.lt LBB0_8
; %bb.1:
mov x8, #0
ldr x10, [x0, #8]
mov w9, w20
cmp w20, #16
b.lo LBB0_6
; %bb.2:
sub x11, x10, x19
cmp x11, #64
b.lo LBB0_6
; %bb.3:
and x8, x9, #0xfffffff0
add x11, x10, #32
add x12, x19, #32
mov x13, x8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x12, #-32]
ldp q2, q3, [x12], #64
stp q0, q1, [x11, #-32]
stp q2, q3, [x11], #64
subs x13, x13, #16
b.ne LBB0_4
; %bb.5:
cmp x8, x9
b.eq LBB0_8
LBB0_6:
lsl x11, x8, #2
add x10, x10, x11
add x11, x19, x11
sub x8, x9, x8
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr s0, [x11], #4
str s0, [x10], #4
subs x8, x8, #1
b.ne LBB0_7
LBB0_8:
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 _pdf_filter_sc_color
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-op-filter.c_pdf_filter_sc_color.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zio_handle_label_injection ## -- Begin function zio_handle_label_injection
.p2align 4, 0x90
_zio_handle_label_injection: ## @zio_handle_label_injection
.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 %esi, %r14d
movq (%rdi), %r15
movq %rdi, -64(%rbp) ## 8-byte Spill
movq 8(%rdi), %r12
movq _VDEV_LABEL_START_SIZE@GOTPCREL(%rip), %rax
cmpq (%rax), %r15
jl LBB0_2
## %bb.1:
movq (%r12), %rax
movq _VDEV_LABEL_END_SIZE@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
xorl %ebx, %ebx
cmpq %rax, %r15
jl LBB0_12
LBB0_2:
movq _RW_READER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _inject_lock@GOTPCREL(%rip), %rdi
callq _rw_enter
movq _inject_handlers@GOTPCREL(%rip), %rdi
callq _list_head
testq %rax, %rax
je LBB0_10
## %bb.3:
movq %rax, %rbx
movq %r12, -56(%rbp) ## 8-byte Spill
movl %r14d, -44(%rbp) ## 4-byte Spill
movq _ZINJECT_LABEL_FAULT@GOTPCREL(%rip), %r14
movq _inject_handlers@GOTPCREL(%rip), %r13
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq %r13, %rdi
movq %rbx, %rsi
callq _list_next
movq %rax, %rbx
testq %rax, %rax
je LBB0_10
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
cmpq (%r14), %rax
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq (%rbx), %r12
movq 8(%rbx), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -56(%rbp), %r14 ## 8-byte Reload
movq (%r14), %rdi
movq %r15, %rsi
callq _vdev_label_number
movq %r15, %r13
movl %eax, %r15d
movq (%r14), %rdi
movl %eax, %esi
movq %r12, %rdx
callq _vdev_label_offset
movq %rax, %r12
movq (%r14), %rdi
movq _ZINJECT_LABEL_FAULT@GOTPCREL(%rip), %r14
movl %r15d, %esi
movq %r13, %r15
movq _inject_handlers@GOTPCREL(%rip), %r13
movq -72(%rbp), %rdx ## 8-byte Reload
callq _vdev_label_offset
movq -64(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rcx
movq 8(%rcx), %rcx
cmpq 24(%rbx), %rcx
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpq %r12, %r15
jl LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
cmpq %rax, %r15
jg LBB0_9
## %bb.8:
movl -44(%rbp), %ebx ## 4-byte Reload
jmp LBB0_11
LBB0_10:
xorl %ebx, %ebx
LBB0_11:
movq _inject_lock@GOTPCREL(%rip), %rdi
callq _rw_exit
LBB0_12:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VDEV_LABEL_START_SIZE,8,3 ## @VDEV_LABEL_START_SIZE
.comm _VDEV_LABEL_END_SIZE,8,3 ## @VDEV_LABEL_END_SIZE
.comm _inject_lock,4,2 ## @inject_lock
.comm _RW_READER,4,2 ## @RW_READER
.comm _inject_handlers,4,2 ## @inject_handlers
.comm _ZINJECT_LABEL_FAULT,8,3 ## @ZINJECT_LABEL_FAULT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zio_handle_label_injection ; -- Begin function zio_handle_label_injection
.p2align 2
_zio_handle_label_injection: ; @zio_handle_label_injection
.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 x20, x0
ldp x21, x27, [x0]
Lloh0:
adrp x8, _VDEV_LABEL_START_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _VDEV_LABEL_START_SIZE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x21, x8
b.lt LBB0_3
; %bb.1:
ldr x8, [x27]
Lloh3:
adrp x9, _VDEV_LABEL_END_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _VDEV_LABEL_END_SIZE@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
sub x8, x8, x9
cmp x21, x8
b.ge LBB0_3
; %bb.2:
mov w19, #0
b LBB0_10
LBB0_3:
Lloh6:
adrp x8, _RW_READER@GOTPAGE
Lloh7:
ldr x8, [x8, _RW_READER@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x0, _inject_lock@GOTPAGE
Lloh10:
ldr x0, [x0, _inject_lock@GOTPAGEOFF]
bl _rw_enter
Lloh11:
adrp x0, _inject_handlers@GOTPAGE
Lloh12:
ldr x0, [x0, _inject_handlers@GOTPAGEOFF]
bl _list_head
cbz x0, LBB0_8
; %bb.4:
mov x22, x0
Lloh13:
adrp x28, _ZINJECT_LABEL_FAULT@GOTPAGE
Lloh14:
ldr x28, [x28, _ZINJECT_LABEL_FAULT@GOTPAGEOFF]
Lloh15:
adrp x23, _inject_handlers@GOTPAGE
Lloh16:
ldr x23, [x23, _inject_handlers@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x0, x23
mov x1, x22
bl _list_next
mov x22, x0
cbz x0, LBB0_8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22, #16]
ldr x9, [x28]
cmp x8, x9
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldp x25, x24, [x22]
ldr x0, [x27]
mov x1, x21
bl _vdev_label_number
mov x26, x0
ldr x0, [x27]
mov x1, x26
mov x2, x25
bl _vdev_label_offset
mov x25, x0
ldr x0, [x27]
mov x1, x26
mov x2, x24
bl _vdev_label_offset
ldr x8, [x20, #8]
ldr x8, [x8, #8]
ldr x9, [x22, #24]
cmp x8, x9
ccmp x21, x25, #8, eq
ccmp x21, x0, #0, ge
b.gt LBB0_5
b LBB0_9
LBB0_8:
mov w19, #0
LBB0_9:
Lloh17:
adrp x0, _inject_lock@GOTPAGE
Lloh18:
ldr x0, [x0, _inject_lock@GOTPAGEOFF]
bl _rw_exit
LBB0_10:
mov x0, x19
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _VDEV_LABEL_START_SIZE,8,3 ; @VDEV_LABEL_START_SIZE
.comm _VDEV_LABEL_END_SIZE,8,3 ; @VDEV_LABEL_END_SIZE
.comm _inject_lock,4,2 ; @inject_lock
.comm _RW_READER,4,2 ; @RW_READER
.comm _inject_handlers,4,2 ; @inject_handlers
.comm _ZINJECT_LABEL_FAULT,8,3 ; @ZINJECT_LABEL_FAULT
.subsections_via_symbols
| AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zio_inject.c_zio_handle_label_injection.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __rvt_free_mr
___rvt_free_mr: ## @__rvt_free_mr
.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 _rvt_free_lkey
movq %rbx, %rdi
callq _rvt_deinit_mregion
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip ___rvt_free_mr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __rvt_free_mr
___rvt_free_mr: ; @__rvt_free_mr
.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 _rvt_free_lkey
mov x0, x19
bl _rvt_deinit_mregion
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 ___rvt_free_mr
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/sw/rdmavt/extr_mr.c___rvt_free_mr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hns_xgmac_get_info
_hns_xgmac_get_info: ## @hns_xgmac_get_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 %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, %r12
movq %rdi, %r14
movq _XGMAC_MAC_CONTROL_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _dsaf_read_dev
movq _XGMAC_CTL_TX_PAD_B@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
callq _dsaf_get_bit
movq %rax, 40(%r12)
movq $0, 32(%r12)
movq _XGMAC_MAC_PAUSE_TIME_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _dsaf_read_dev
movl %eax, 28(%r12)
movq _XGMAC_PORT_MODE_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _dsaf_read_dev
movl %eax, %r15d
movq _XGMAC_PORT_MODE_TX_M@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _XGMAC_PORT_MODE_TX_S@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r15d, %edi
callq _dsaf_get_field
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _XGMAC_PORT_MODE_RX_M@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _XGMAC_PORT_MODE_RX_S@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %r15d, %edi
callq _dsaf_get_field
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
jmp LBB0_3
LBB0_1:
xorl %ecx, %ecx
LBB0_3:
movl %ecx, (%r12)
movl $1, 4(%r12)
movq _MAC_SPEED_10000@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%r12)
movq _XGMAC_MAC_PAUSE_CTRL_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _dsaf_read_dev
movl %eax, %ebx
movq _XGMAC_PAUSE_CTL_RX_B@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _dsaf_get_bit
movq %rax, 16(%r12)
movq _XGMAC_PAUSE_CTL_TX_B@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _dsaf_get_bit
movq %rax, 8(%r12)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XGMAC_MAC_CONTROL_REG,4,2 ## @XGMAC_MAC_CONTROL_REG
.comm _XGMAC_CTL_TX_PAD_B,4,2 ## @XGMAC_CTL_TX_PAD_B
.comm _XGMAC_MAC_PAUSE_TIME_REG,4,2 ## @XGMAC_MAC_PAUSE_TIME_REG
.comm _XGMAC_PORT_MODE_REG,4,2 ## @XGMAC_PORT_MODE_REG
.comm _XGMAC_PORT_MODE_TX_M,4,2 ## @XGMAC_PORT_MODE_TX_M
.comm _XGMAC_PORT_MODE_TX_S,4,2 ## @XGMAC_PORT_MODE_TX_S
.comm _XGMAC_PORT_MODE_RX_M,4,2 ## @XGMAC_PORT_MODE_RX_M
.comm _XGMAC_PORT_MODE_RX_S,4,2 ## @XGMAC_PORT_MODE_RX_S
.comm _MAC_SPEED_10000,4,2 ## @MAC_SPEED_10000
.comm _XGMAC_MAC_PAUSE_CTRL_REG,4,2 ## @XGMAC_MAC_PAUSE_CTRL_REG
.comm _XGMAC_PAUSE_CTL_RX_B,4,2 ## @XGMAC_PAUSE_CTL_RX_B
.comm _XGMAC_PAUSE_CTL_TX_B,4,2 ## @XGMAC_PAUSE_CTL_TX_B
.no_dead_strip _hns_xgmac_get_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hns_xgmac_get_info
_hns_xgmac_get_info: ; @hns_xgmac_get_info
.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
Lloh0:
adrp x8, _XGMAC_MAC_CONTROL_REG@GOTPAGE
Lloh1:
ldr x8, [x8, _XGMAC_MAC_CONTROL_REG@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _dsaf_read_dev
Lloh3:
adrp x8, _XGMAC_CTL_TX_PAD_B@GOTPAGE
Lloh4:
ldr x8, [x8, _XGMAC_CTL_TX_PAD_B@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _dsaf_get_bit
stp xzr, x0, [x19, #32]
Lloh6:
adrp x8, _XGMAC_MAC_PAUSE_TIME_REG@GOTPAGE
Lloh7:
ldr x8, [x8, _XGMAC_MAC_PAUSE_TIME_REG@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _dsaf_read_dev
str w0, [x19, #28]
Lloh9:
adrp x8, _XGMAC_PORT_MODE_REG@GOTPAGE
Lloh10:
ldr x8, [x8, _XGMAC_PORT_MODE_REG@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _dsaf_read_dev
mov x21, x0
Lloh12:
adrp x8, _XGMAC_PORT_MODE_TX_M@GOTPAGE
Lloh13:
ldr x8, [x8, _XGMAC_PORT_MODE_TX_M@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
Lloh15:
adrp x8, _XGMAC_PORT_MODE_TX_S@GOTPAGE
Lloh16:
ldr x8, [x8, _XGMAC_PORT_MODE_TX_S@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
bl _dsaf_get_field
cbz x0, LBB0_2
; %bb.1:
Lloh18:
adrp x8, _XGMAC_PORT_MODE_RX_M@GOTPAGE
Lloh19:
ldr x8, [x8, _XGMAC_PORT_MODE_RX_M@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
Lloh21:
adrp x8, _XGMAC_PORT_MODE_RX_S@GOTPAGE
Lloh22:
ldr x8, [x8, _XGMAC_PORT_MODE_RX_S@GOTPAGEOFF]
Lloh23:
ldr w2, [x8]
mov x0, x21
bl _dsaf_get_field
cmp x0, #0
cset w8, ne
b LBB0_3
LBB0_2:
mov w8, #0
LBB0_3:
mov w9, #1
Lloh24:
adrp x10, _MAC_SPEED_10000@GOTPAGE
Lloh25:
ldr x10, [x10, _MAC_SPEED_10000@GOTPAGEOFF]
stp w8, w9, [x19]
Lloh26:
ldr w8, [x10]
str w8, [x19, #24]
Lloh27:
adrp x8, _XGMAC_MAC_PAUSE_CTRL_REG@GOTPAGE
Lloh28:
ldr x8, [x8, _XGMAC_MAC_PAUSE_CTRL_REG@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
mov x0, x20
bl _dsaf_read_dev
mov x20, x0
Lloh30:
adrp x8, _XGMAC_PAUSE_CTL_RX_B@GOTPAGE
Lloh31:
ldr x8, [x8, _XGMAC_PAUSE_CTL_RX_B@GOTPAGEOFF]
Lloh32:
ldr w1, [x8]
bl _dsaf_get_bit
str x0, [x19, #16]
Lloh33:
adrp x8, _XGMAC_PAUSE_CTL_TX_B@GOTPAGE
Lloh34:
ldr x8, [x8, _XGMAC_PAUSE_CTL_TX_B@GOTPAGEOFF]
Lloh35:
ldr w1, [x8]
mov x0, x20
bl _dsaf_get_bit
str x0, [x19, #8]
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 Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _XGMAC_MAC_CONTROL_REG,4,2 ; @XGMAC_MAC_CONTROL_REG
.comm _XGMAC_CTL_TX_PAD_B,4,2 ; @XGMAC_CTL_TX_PAD_B
.comm _XGMAC_MAC_PAUSE_TIME_REG,4,2 ; @XGMAC_MAC_PAUSE_TIME_REG
.comm _XGMAC_PORT_MODE_REG,4,2 ; @XGMAC_PORT_MODE_REG
.comm _XGMAC_PORT_MODE_TX_M,4,2 ; @XGMAC_PORT_MODE_TX_M
.comm _XGMAC_PORT_MODE_TX_S,4,2 ; @XGMAC_PORT_MODE_TX_S
.comm _XGMAC_PORT_MODE_RX_M,4,2 ; @XGMAC_PORT_MODE_RX_M
.comm _XGMAC_PORT_MODE_RX_S,4,2 ; @XGMAC_PORT_MODE_RX_S
.comm _MAC_SPEED_10000,4,2 ; @MAC_SPEED_10000
.comm _XGMAC_MAC_PAUSE_CTRL_REG,4,2 ; @XGMAC_MAC_PAUSE_CTRL_REG
.comm _XGMAC_PAUSE_CTL_RX_B,4,2 ; @XGMAC_PAUSE_CTL_RX_B
.comm _XGMAC_PAUSE_CTL_TX_B,4,2 ; @XGMAC_PAUSE_CTL_TX_B
.no_dead_strip _hns_xgmac_get_info
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_xgmac.c_hns_xgmac_get_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __m_can_get_berr_counter
___m_can_get_berr_counter: ## @__m_can_get_berr_counter
.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
callq _netdev_priv
movq _M_CAN_ECR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _m_can_read
movq _ECR_REC_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
andl %eax, %edx
movq _ECR_REC_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrl %cl, %edx
movl %edx, (%rbx)
movq _ECR_TEC_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movq _ECR_TEC_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrl %cl, %eax
movl %eax, 4(%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_CAN_ECR,4,2 ## @M_CAN_ECR
.comm _ECR_REC_MASK,4,2 ## @ECR_REC_MASK
.comm _ECR_REC_SHIFT,4,2 ## @ECR_REC_SHIFT
.comm _ECR_TEC_MASK,4,2 ## @ECR_TEC_MASK
.comm _ECR_TEC_SHIFT,4,2 ## @ECR_TEC_SHIFT
.no_dead_strip ___m_can_get_berr_counter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __m_can_get_berr_counter
___m_can_get_berr_counter: ; @__m_can_get_berr_counter
.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
bl _netdev_priv
Lloh0:
adrp x8, _M_CAN_ECR@GOTPAGE
Lloh1:
ldr x8, [x8, _M_CAN_ECR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _m_can_read
Lloh3:
adrp x8, _ECR_REC_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _ECR_REC_MASK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
and w8, w8, w0
Lloh6:
adrp x9, _ECR_REC_SHIFT@GOTPAGE
Lloh7:
ldr x9, [x9, _ECR_REC_SHIFT@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
lsr w8, w8, w9
str w8, [x19]
Lloh9:
adrp x8, _ECR_TEC_MASK@GOTPAGE
Lloh10:
ldr x8, [x8, _ECR_TEC_MASK@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
and w8, w8, w0
Lloh12:
adrp x9, _ECR_TEC_SHIFT@GOTPAGE
Lloh13:
ldr x9, [x9, _ECR_TEC_SHIFT@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
lsr w8, w8, w9
str w8, [x19, #4]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.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 _M_CAN_ECR,4,2 ; @M_CAN_ECR
.comm _ECR_REC_MASK,4,2 ; @ECR_REC_MASK
.comm _ECR_REC_SHIFT,4,2 ; @ECR_REC_SHIFT
.comm _ECR_TEC_MASK,4,2 ; @ECR_TEC_MASK
.comm _ECR_TEC_SHIFT,4,2 ; @ECR_TEC_SHIFT
.no_dead_strip ___m_can_get_berr_counter
.subsections_via_symbols
| AnghaBench/linux/drivers/net/can/m_can/extr_m_can.c___m_can_get_berr_counter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function m68k_op_move_8_pi_pi7
_m68k_op_move_8_pi_pi7: ## @m68k_op_move_8_pi_pi7
.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
xorl %eax, %eax
callq _OPER_A7_PI_8
movl %eax, %ebx
xorl %eax, %eax
callq _EA_AX_PI_8
movl %eax, %r14d
movl %ebx, %edi
callq _NFLAG_8
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %r14d, %edi
movl %ebx, %esi
popq %rbx
popq %r14
popq %rbp
jmp _m68ki_write_8 ## TAILCALL
.cfi_endproc
## -- End function
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.no_dead_strip _m68k_op_move_8_pi_pi7
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function m68k_op_move_8_pi_pi7
_m68k_op_move_8_pi_pi7: ; @m68k_op_move_8_pi_pi7
.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 _OPER_A7_PI_8
mov x19, x0
bl _EA_AX_PI_8
mov x20, x0
mov x0, x19
bl _NFLAG_8
Lloh0:
adrp x8, _FLAG_N@GOTPAGE
Lloh1:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh2:
str w0, [x8]
Lloh3:
adrp x8, _FLAG_Z@GOTPAGE
Lloh4:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh5:
str w19, [x8]
Lloh6:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh7:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FLAG_V@GOTPAGE
Lloh10:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh11:
str w8, [x9]
Lloh12:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh13:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _FLAG_C@GOTPAGE
Lloh16:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh17:
str w8, [x9]
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 _m68ki_write_8
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.no_dead_strip _m68k_op_move_8_pi_pi7
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_move_8_pi_pi7.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 %rbx
subq $40, %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)
leaq L_.str(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -64(%rbp), %r14
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
callq _strlen
movb -64(%rbp), %r10b
movl $0, %edx
testb %r10b, %r10b
je LBB0_3
## %bb.1:
leaq -63(%rbp), %rsi
xorl %edi, %edi
movl $1, %r8d
movl %r10d, %ecx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal -48(%rcx), %r9d
leal -65(%rcx), %ebx
addb $-97, %cl
cmpb $26, %cl
movl $1, %edx
cmovbl %edi, %edx
cmpb $26, %bl
cmovbl %edi, %edx
cmpb $10, %r9b
cmovbl %r8d, %r15d
cmovbl %edi, %edx
movzbl (%rsi), %ecx
incq %rsi
movl %edx, %edi
testb %cl, %cl
jne LBB0_2
LBB0_3:
cmpl $2, %eax
jl LBB0_14
## %bb.4:
movl %eax, %ecx
addl $-2, %ecx
movslq %ecx, %r8
xorl %edi, %edi
movl $1, %r9d
xorl %esi, %esi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl -63(%rbp,%rdi), %ecx
cmpb %cl, %r10b
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpb -62(%rbp,%rdi), %r10b
cmovel %r9d, %esi
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
cmpq %r8, %rdi
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
incq %rdi
movl %ecx, %r10d
testl %esi, %esi
je LBB0_5
LBB0_9:
testl %r15d, %r15d
je LBB0_14
## %bb.10:
testl %edx, %edx
je LBB0_14
## %bb.11:
cmpl $8, %eax
jl LBB0_14
## %bb.12:
testl %esi, %esi
jne LBB0_14
## %bb.13:
leaq L_str.4(%rip), %rdi
jmp LBB0_15
LBB0_14:
leaq L_str(%rip), %rdi
LBB0_15:
callq _puts
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_17
## %bb.16:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _verifica ## -- Begin function verifica
.p2align 4, 0x90
_verifica: ## @verifica
.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
callq _strlen
movb (%r14), %r10b
testb %r10b, %r10b
je LBB1_1
## %bb.9:
leaq 1(%r14), %rdi
xorl %ebx, %ebx
movl $1, %r8d
movl %r10d, %edx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB1_10: ## =>This Inner Loop Header: Depth=1
leal -48(%rdx), %r9d
leal -65(%rdx), %ecx
addb $-97, %dl
cmpb $26, %dl
movl $1, %esi
cmovbl %ebx, %esi
cmpb $26, %cl
cmovbl %ebx, %esi
cmpb $10, %r9b
cmovbl %r8d, %r15d
cmovbl %ebx, %esi
movzbl (%rdi), %edx
incq %rdi
movl %esi, %ebx
testb %dl, %dl
jne LBB1_10
jmp LBB1_2
LBB1_1:
xorl %r15d, %r15d
xorl %esi, %esi
LBB1_2:
xorl %r11d, %r11d
movl $0, %edi
cmpl $2, %eax
jl LBB1_8
## %bb.3:
movl %eax, %edx
addl $-2, %edx
movslq %edx, %r9
movl $1, %r8d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movzbl 1(%r14,%rbx), %edx
cmpb %dl, %r10b
jne LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
cmpb 2(%r14,%rbx), %r10b
cmovel %r8d, %r11d
LBB1_6: ## in Loop: Header=BB1_4 Depth=1
testl %r11d, %r11d
setne %dil
cmpq %r9, %rbx
jge LBB1_8
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
incq %rbx
movl %edx, %r10d
testl %r11d, %r11d
je LBB1_4
LBB1_8:
testl %r15d, %r15d
sete %cl
testl %esi, %esi
sete %dl
orb %cl, %dl
cmpl $8, %eax
setl %al
orb %dil, %al
orb %dl, %al
xorb $1, %al
movzbl %al, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Inserisci password: "
L_.str.1: ## @.str.1
.asciz "%s"
L_str: ## @str
.asciz "Password non valida."
L_str.4: ## @str.4
.asciz "Password valida."
.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 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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x19, sp, #9
str x19, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add x0, sp, #9
bl _strlen
ldrb w10, [sp, #9]
cbz w10, LBB0_4
; %bb.1:
mov w8, #0
mov w9, #0
add x11, x19, #1
mov x12, x10
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w13, w12, #48
cmp w13, #10
csinc w9, w9, wzr, hs
sub w14, w12, #65
sub w12, w12, #97
cmp w12, #26
ccmp w14, #26, #0, hs
ccmp w13, #10, #0, hs
csinc w8, w8, wzr, lo
ldrb w12, [x11], #1
cbnz w12, LBB0_2
; %bb.3:
cmp w0, #2
b.ge LBB0_5
b LBB0_15
LBB0_4:
mov w9, #0
mov w8, #0
cmp w0, #2
b.lt LBB0_15
LBB0_5:
mov x12, #0
mov w11, #0
sub w13, w0, #2
sxtw x13, w13
add x14, sp, #9
LBB0_6: ; =>This Inner Loop Header: Depth=1
add x16, x14, x12
ldrb w15, [x16, #1]
cmp w10, w15
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldrb w16, [x16, #2]
cmp w10, w16
csinc w11, w11, wzr, ne
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
cmp x12, x13
b.ge LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
add x12, x12, #1
mov x10, x15
cbz w11, LBB0_6
LBB0_10:
cbz w9, LBB0_15
; %bb.11:
cbz w8, LBB0_15
; %bb.12:
cmp w0, #8
b.lt LBB0_15
; %bb.13:
cbnz w11, LBB0_15
; %bb.14:
Lloh7:
adrp x0, l_str.4@PAGE
Lloh8:
add x0, x0, l_str.4@PAGEOFF
b LBB0_16
LBB0_15:
Lloh9:
adrp x0, l_str@PAGE
Lloh10:
add x0, x0, l_str@PAGEOFF
LBB0_16:
bl _puts
ldur x8, [x29, #-24]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_18
; %bb.17:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_18:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _verifica ; -- Begin function verifica
.p2align 2
_verifica: ; @verifica
.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 _strlen
ldrb w10, [x19]
cbz w10, LBB1_9
; %bb.1:
mov w8, #0
mov w9, #0
add x11, x19, #1
mov x12, x10
LBB1_2: ; =>This Inner Loop Header: Depth=1
sub w13, w12, #48
cmp w13, #10
csinc w9, w9, wzr, hs
sub w14, w12, #65
sub w12, w12, #97
cmp w12, #26
ccmp w14, #26, #0, hs
ccmp w13, #10, #0, hs
csinc w8, w8, wzr, lo
ldrb w12, [x11], #1
cbnz w12, LBB1_2
; %bb.3:
cmp w0, #2
b.lt LBB1_10
LBB1_4:
mov x11, #0
mov w12, #0
sub w13, w0, #2
sxtw x13, w13
LBB1_5: ; =>This Inner Loop Header: Depth=1
add x14, x19, x11
ldrb w15, [x14, #1]
cmp w10, w15
b.ne LBB1_7
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
ldrb w14, [x14, #2]
cmp w10, w14
csinc w12, w12, wzr, ne
LBB1_7: ; in Loop: Header=BB1_5 Depth=1
cmp w12, #0
cset w14, ne
cmp x11, x13
b.ge LBB1_11
; %bb.8: ; in Loop: Header=BB1_5 Depth=1
add x11, x11, #1
mov x10, x15
cbz w12, LBB1_5
b LBB1_11
LBB1_9:
mov w9, #0
mov w8, #0
cmp w0, #2
b.ge LBB1_4
LBB1_10:
mov w14, #0
LBB1_11:
cmp w9, #0
ccmp w8, #0, #4, ne
ccmp w0, #8, #8, ne
cset w8, lt
orr w8, w8, w14
eor w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Inserisci password: "
l_.str.1: ; @.str.1
.asciz "%s"
l_str: ; @str
.asciz "Password non valida."
l_str.4: ; @str.4
.asciz "Password valida."
.subsections_via_symbols
| the_stack_data/192329957.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function oa_buffer_check_unlocked
_oa_buffer_check_unlocked: ## @oa_buffer_check_unlocked
.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, %rbx
movq 48(%rdi), %r13
movl (%rdi), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
addq $24, %rdi
movq %rdi, -64(%rbp) ## 8-byte Spill
callq _spin_lock_irqsave
movl 4(%rbx), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl 8(%rbx), %r14d
xorl %eax, %eax
testq %r14, %r14
sete %al
movq 32(%rbx), %rcx
movl (%rcx,%r14,4), %r15d
movl (%rcx,%rax,4), %r12d
movq %rbx, %rdi
callq *(%r13)
movl %eax, %r13d
xorl %eax, %eax
callq _ktime_get_mono_fast_ns
movq _INVALID_TAIL_PTR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
cmpl %esi, %r12d
jne LBB0_2
## %bb.1:
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_4
LBB0_2:
movq %rax, %rcx
subq 16(%rbx), %rcx
movq _OA_TAIL_MARGIN_NSEC@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jle LBB0_10
## %bb.3:
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
xorl $1, %r14d
movl %r14d, 8(%rbx)
movq 32(%rbx), %rdx
sete %cl
movl %esi, (%rdx,%rcx,4)
movl %r12d, %r15d
movq _INVALID_TAIL_PTR@GOTPCREL(%rip), %rax
movl (%rax), %r12d
LBB0_4:
movl -44(%rbp), %eax ## 4-byte Reload
negl %eax
andl %eax, %r13d
cmpl %r12d, %r15d
je LBB0_6
## %bb.5:
movl %r13d, %edi
movl %r15d, %esi
callq _OA_TAKEN
cmpl -44(%rbp), %eax ## 4-byte Folded Reload
jl LBB0_10
LBB0_6:
movq 40(%rbx), %rdi
callq _i915_ggtt_offset
cmpl %eax, %r13d
jl LBB0_9
## %bb.7:
movq _OA_BUFFER_SIZE@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
cmpl %eax, %r13d
jge LBB0_9
## %bb.8:
movq 32(%rbx), %rax
xorl %ecx, %ecx
testl %r14d, %r14d
sete %cl
movl %r13d, (%rax,%rcx,4)
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, 16(%rbx)
jmp LBB0_10
LBB0_9:
leaq L_.str(%rip), %rdi
movl %r13d, %esi
callq _DRM_ERROR
LBB0_10:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _spin_unlock_irqrestore
xorl %eax, %eax
movq _INVALID_TAIL_PTR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r15d
je LBB0_12
## %bb.11:
movl %r15d, %edi
movl -48(%rbp), %esi ## 4-byte Reload
callq _OA_TAKEN
movl %eax, %ecx
xorl %eax, %eax
cmpl -44(%rbp), %ecx ## 4-byte Folded Reload
setge %al
LBB0_12:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INVALID_TAIL_PTR,4,2 ## @INVALID_TAIL_PTR
.comm _OA_TAIL_MARGIN_NSEC,8,3 ## @OA_TAIL_MARGIN_NSEC
.comm _OA_BUFFER_SIZE,4,2 ## @OA_BUFFER_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ignoring spurious out of range OA buffer tail pointer = %u\n"
.no_dead_strip _oa_buffer_check_unlocked
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function oa_buffer_check_unlocked
_oa_buffer_check_unlocked: ; @oa_buffer_check_unlocked
.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 x21, x0
ldr x23, [x0, #48]
ldr w25, [x0]
add x20, x0, #24
mov x0, x20
bl _spin_lock_irqsave
ldp w19, w27, [x21, #4]
cmp x27, #0
cset w8, eq
ldr x9, [x21, #32]
ldr w22, [x9, x27, lsl #2]
ldr w28, [x9, w8, uxtw #2]
ldr x8, [x23]
mov x0, x21
blr x8
mov x24, x0
bl _ktime_get_mono_fast_ns
mov x23, x0
Lloh0:
adrp x26, _INVALID_TAIL_PTR@GOTPAGE
Lloh1:
ldr x26, [x26, _INVALID_TAIL_PTR@GOTPAGEOFF]
ldr w8, [x26]
cmp w28, w8
b.eq LBB0_3
; %bb.1:
ldr x9, [x21, #16]
Lloh2:
adrp x10, _OA_TAIL_MARGIN_NSEC@GOTPAGE
Lloh3:
ldr x10, [x10, _OA_TAIL_MARGIN_NSEC@GOTPAGEOFF]
Lloh4:
ldr x10, [x10]
sub x9, x23, x9
cmp x9, x10
b.le LBB0_9
; %bb.2:
eor w27, w27, #0x1
str w27, [x21, #8]
ldr x9, [x21, #32]
cmp w27, #0
cset w10, eq
str w8, [x9, w10, uxtw #2]
mov x22, x28
ldr w28, [x26]
LBB0_3:
neg w8, w25
and w24, w24, w8
cmp w22, w28
b.eq LBB0_5
; %bb.4:
mov x0, x24
mov x1, x22
bl _OA_TAKEN
cmp w0, w25
b.lt LBB0_9
LBB0_5:
ldr x0, [x21, #40]
bl _i915_ggtt_offset
cmp w24, w0
b.lt LBB0_8
; %bb.6:
Lloh5:
adrp x8, _OA_BUFFER_SIZE@GOTPAGE
Lloh6:
ldr x8, [x8, _OA_BUFFER_SIZE@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
add w8, w8, w0
cmp w24, w8
b.ge LBB0_8
; %bb.7:
ldr x8, [x21, #32]
cmp w27, #0
cset w9, eq
str w24, [x8, w9, uxtw #2]
str x23, [x21, #16]
b LBB0_9
LBB0_8:
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
mov x1, x24
bl _DRM_ERROR
LBB0_9:
mov x0, x20
bl _spin_unlock_irqrestore
ldr w8, [x26]
cmp w22, w8
b.ne LBB0_11
; %bb.10:
mov w0, #0
b LBB0_12
LBB0_11:
mov x0, x22
mov x1, x19
bl _OA_TAKEN
cmp w0, w25
cset w0, ge
LBB0_12:
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _INVALID_TAIL_PTR,4,2 ; @INVALID_TAIL_PTR
.comm _OA_TAIL_MARGIN_NSEC,8,3 ; @OA_TAIL_MARGIN_NSEC
.comm _OA_BUFFER_SIZE,4,2 ; @OA_BUFFER_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ignoring spurious out of range OA buffer tail pointer = %u\n"
.no_dead_strip _oa_buffer_check_unlocked
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_perf.c_oa_buffer_check_unlocked.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function run_newassoc
_run_newassoc: ## @run_newassoc
.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 %esi, %r15d
movq %rdi, %r12
callq _RUN_NODE
movq %rax, -48(%rbp) ## 8-byte Spill
movq 16(%r12), %r13
movq (%r13), %rax
movq 16(%r13), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq 8(%rcx), %rbx
movq _IEEE80211_M_STA@GOTPCREL(%rip), %rcx
movl $1, %r14d
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
movq (%r12), %rdi
callq _RUN_AID2WCID
movslq %eax, %r14
LBB0_2:
movq _RT2870_WCID_MAX@GOTPCREL(%rip), %rax
cmpq (%rax), %r14
jle LBB0_3
## %bb.22:
movl 28(%rbx), %edi
leaq L_.str(%rip), %rsi
movq %r14, %rdx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _device_printf ## TAILCALL
LBB0_3:
movq %r13, -64(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jne LBB0_6
## %bb.4:
cmpq $0, (%r12)
je LBB0_5
LBB0_6:
leaq 24(%rbx), %rdi
callq _RUN_CMDQ_GET
movq %rax, %r13
movq _RUN_DEBUG_STATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
movq %rbx, %rdi
movq %r13, %rcx
xorl %eax, %eax
callq _RUN_DPRINTF
movq _run_newassoc_cb@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 16(%rbx), %rcx
shlq $5, %r13
movl %eax, 24(%rcx,%r13)
movq $0, 16(%rcx,%r13)
movq %r12, 8(%rcx,%r13)
movq %r14, (%rcx,%r13)
leaq 12(%rbx), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _ieee80211_runtask
movq (%r12), %r14
LBB0_7:
movq _RUN_DEBUG_STATE@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movslq %r15d, %r15
movl 8(%r12), %edi
callq _ether_sprintf
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
movl %r13d, %esi
movq %r15, %rcx
movq %r14, %r8
movl %eax, %r9d
xorl %eax, %eax
callq _RUN_DPRINTF
cmpl $0, 24(%r12)
movq -48(%rbp), %r15 ## 8-byte Reload
js LBB0_13
## %bb.8:
movq _RUN_DEBUG_STATE@GOTPCREL(%rip), %rdi
movq _RT2860_RIDX_MAX@GOTPCREL(%rip), %r14
movq (%r14), %rax
xorl %r9d, %r9d
testq %rax, %rax
cmovgq %rax, %r9
movq (%r15), %rax
movq %r9, (%rax)
movq 32(%r12), %rcx
movq _IEEE80211_RATE_BASIC@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
testq %rdx, (%rcx)
jne LBB0_10
## %bb.9:
movq _rt2860_rates@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leaq (%r9,%r9,2), %rsi
movq 16(%rdx,%rsi,8), %r9
LBB0_10:
movq 8(%r15), %rdx
movq %r9, (%rdx)
movq _RUN_DEBUG_RATE@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rdi), %esi
movq (%rcx), %rcx
movq (%rax), %r8
leaq L_.str.3(%rip), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _RUN_DPRINTF
cmpl $-1, 24(%r12)
jl LBB0_13
## %bb.11:
movq $-1, %r13
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
testq %rax, %rax
movl $0, %ecx
cmovleq %rcx, %rax
movq (%r15), %rcx
movq %rax, (%rcx,%r13,8)
movq 32(%r12), %rdx
movq _rt2860_rates@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
leaq (%rax,%rax,2), %rax
movq 16(%rsi,%rax,8), %r9
movq 8(%r15), %rax
movq %r9, (%rax,%r13,8)
movq (%rcx,%r13,8), %r8
movq (%rdx,%r13,8), %rcx
movq _RUN_DEBUG_RATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RUN_DEBUG_STATE@GOTPCREL(%rip), %rax
orl (%rax), %esi
movq %rbx, %rdi
leaq L_.str.3(%rip), %rdx
xorl %eax, %eax
callq _RUN_DPRINTF
decq %r13
movslq 24(%r12), %rax
cmpq %rax, %r13
jle LBB0_12
LBB0_13:
movq _RUN_DEBUG_STATE@GOTPCREL(%rip), %r12
movq %rbx, %r15
movq -64(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rbx
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
callq _ieee80211_chan2mode
movq (%rbx,%rax,8), %rcx
movq _RT2860_RIDX_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
jle LBB0_14
## %bb.15:
movq _rt2860_rates@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
xorl %r8d, %r8d
movq %r15, %rbx
movq %r12, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, (%rdx)
je LBB0_19
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
incq %r8
addq $24, %rdx
cmpq %r8, %rax
jne LBB0_16
## %bb.18:
movq %rax, %r8
jmp LBB0_19
LBB0_14:
xorl %r8d, %r8d
movq %r15, %rbx
movq %r12, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
LBB0_19:
movq %r8, 16(%rsi)
movq _RUN_DEBUG_RATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
orl (%rdi), %esi
leaq L_.str.4(%rip), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _RUN_DPRINTF
movq %rbx, %rdi
callq _RUN_LOCK
movq (%rbx), %rax
movq _RUN_RATECTL_OFF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_21
## %bb.20:
leaq 8(%rbx), %rdi
movq _hz@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _run_ratectl_to@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rcx
callq _usb_callout_reset
LBB0_21:
movq %rbx, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _RUN_UNLOCK ## TAILCALL
LBB0_5:
xorl %r14d, %r14d
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _IEEE80211_M_STA,8,3 ## @IEEE80211_M_STA
.comm _RT2870_WCID_MAX,8,3 ## @RT2870_WCID_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "wcid=%d out of range\n"
.comm _RUN_DEBUG_STATE,4,2 ## @RUN_DEBUG_STATE
L_.str.1: ## @.str.1
.asciz "cmdq_store=%d\n"
.comm _run_newassoc_cb,4,2 ## @run_newassoc_cb
L_.str.2: ## @.str.2
.asciz "new assoc isnew=%d associd=%x addr=%s\n"
.comm _IEEE80211_RATE_VAL,8,3 ## @IEEE80211_RATE_VAL
.comm _RT2860_RIDX_MAX,8,3 ## @RT2860_RIDX_MAX
.comm _rt2860_rates,8,3 ## @rt2860_rates
.comm _IEEE80211_RATE_BASIC,4,2 ## @IEEE80211_RATE_BASIC
.comm _RUN_DEBUG_RATE,4,2 ## @RUN_DEBUG_RATE
L_.str.3: ## @.str.3
.asciz "rate=0x%02x ridx=%d ctl_ridx=%d\n"
L_.str.4: ## @.str.4
.asciz "rate=%d, mgmt_ridx=%d\n"
.comm _RUN_RATECTL_OFF,8,3 ## @RUN_RATECTL_OFF
.comm _hz,4,2 ## @hz
.comm _run_ratectl_to,4,2 ## @run_ratectl_to
.no_dead_strip _run_newassoc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function run_newassoc
_run_newassoc: ; @run_newassoc
.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 x23, x1
mov x21, x0
bl _RUN_NODE
mov x20, x0
ldr x22, [x21, #16]
ldr x27, [x22, #16]
ldr x19, [x27, #8]
ldr x8, [x22]
Lloh0:
adrp x9, _IEEE80211_M_STA@GOTPAGE
Lloh1:
ldr x9, [x9, _IEEE80211_M_STA@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov w24, #1 ; =0x1
b LBB0_3
LBB0_2:
ldr x0, [x21]
bl _RUN_AID2WCID
; kill: def $w0 killed $w0 def $x0
sxtw x24, w0
LBB0_3:
Lloh3:
adrp x8, _RT2870_WCID_MAX@GOTPAGE
Lloh4:
ldr x8, [x8, _RT2870_WCID_MAX@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x24, x8
b.le LBB0_5
; %bb.4:
ldr w0, [x19, #28]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x2, x24
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 _device_printf
LBB0_5:
str x22, [sp, #24] ; 8-byte Folded Spill
Lloh8:
adrp x26, _RUN_DEBUG_STATE@GOTPAGE
Lloh9:
ldr x26, [x26, _RUN_DEBUG_STATE@GOTPAGEOFF]
str x27, [sp, #16] ; 8-byte Folded Spill
cbnz w23, LBB0_7
; %bb.6:
ldr x8, [x21]
cbz x8, LBB0_23
LBB0_7:
add x0, x19, #24
bl _RUN_CMDQ_GET
mov x25, x0
ldr w1, [x26]
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
mov x3, x25
bl _RUN_DPRINTF
Lloh12:
adrp x8, _run_newassoc_cb@GOTPAGE
Lloh13:
ldr x8, [x8, _run_newassoc_cb@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
ldr x9, [x19, #16]
add x9, x9, x25, lsl #5
str w8, [x9, #24]
stp x21, xzr, [x9, #8]
str x24, [x9]
add x1, x19, #12
mov x0, x27
bl _ieee80211_runtask
ldr x22, [x21]
LBB0_8:
ldr w24, [x26]
sxtw x23, w23
ldr w0, [x21, #8]
bl _ether_sprintf
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp]
Lloh15:
adrp x2, l_.str.2@PAGE
Lloh16:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
mov x1, x24
mov x3, x23
bl _RUN_DPRINTF
ldr w8, [x21, #24]
Lloh17:
adrp x25, _RT2860_RIDX_MAX@GOTPAGE
Lloh18:
ldr x25, [x25, _RT2860_RIDX_MAX@GOTPAGEOFF]
Lloh19:
adrp x24, _RUN_DEBUG_RATE@GOTPAGE
Lloh20:
ldr x24, [x24, _RUN_DEBUG_RATE@GOTPAGEOFF]
tbnz w8, #31, LBB0_14
; %bb.9:
ldr x8, [x25]
bic x8, x8, x8, asr #63
ldr x9, [x20]
str x8, [x9]
ldr x10, [x21, #32]
Lloh21:
adrp x11, _IEEE80211_RATE_BASIC@GOTPAGE
Lloh22:
ldr x11, [x11, _IEEE80211_RATE_BASIC@GOTPAGEOFF]
Lloh23:
ldrsw x11, [x11]
ldr x12, [x10]
tst x12, x11
b.ne LBB0_11
; %bb.10:
Lloh24:
adrp x11, _rt2860_rates@GOTPAGE
Lloh25:
ldr x11, [x11, _rt2860_rates@GOTPAGEOFF]
Lloh26:
ldr x11, [x11]
mov w12, #24 ; =0x18
madd x8, x8, x12, x11
ldr x8, [x8, #16]
LBB0_11:
ldr x11, [x20, #8]
str x8, [x11]
Lloh27:
adrp x27, _RUN_DEBUG_STATE@GOTPAGE
Lloh28:
ldr x27, [x27, _RUN_DEBUG_STATE@GOTPAGEOFF]
ldr w11, [x27]
ldr w12, [x24]
ldr x3, [x10]
ldr x9, [x9]
stp x9, x8, [sp]
Lloh29:
adrp x2, l_.str.3@PAGE
Lloh30:
add x2, x2, l_.str.3@PAGEOFF
orr w1, w12, w11
mov x0, x19
bl _RUN_DPRINTF
ldr w8, [x21, #24]
cmn w8, #1
b.lt LBB0_14
; %bb.12:
mov x28, #-1 ; =0xffffffffffffffff
Lloh31:
adrp x22, _rt2860_rates@GOTPAGE
Lloh32:
ldr x22, [x22, _rt2860_rates@GOTPAGEOFF]
mov w26, #24 ; =0x18
Lloh33:
adrp x23, l_.str.3@PAGE
Lloh34:
add x23, x23, l_.str.3@PAGEOFF
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25]
bic x8, x8, x8, asr #63
ldp x9, x10, [x20]
str x8, [x9, x28, lsl #3]
ldr x11, [x21, #32]
ldr x12, [x22]
madd x8, x8, x26, x12
ldr x8, [x8, #16]
str x8, [x10, x28, lsl #3]
ldr x9, [x9, x28, lsl #3]
ldr x3, [x11, x28, lsl #3]
ldr w10, [x27]
ldr w11, [x24]
stp x9, x8, [sp]
orr w1, w11, w10
mov x0, x19
mov x2, x23
bl _RUN_DPRINTF
sub x28, x28, #1
ldrsw x8, [x21, #24]
cmp x28, x8
b.le LBB0_13
LBB0_14:
ldp x8, x9, [sp, #16] ; 16-byte Folded Reload
ldr x21, [x9, #8]
ldr w0, [x8]
bl _ieee80211_chan2mode
ldr x3, [x21, x0, lsl #3]
ldr x9, [x25]
cmp x9, #1
b.lt LBB0_19
; %bb.15:
mov x8, #0 ; =0x0
Lloh35:
adrp x10, _rt2860_rates@GOTPAGE
Lloh36:
ldr x10, [x10, _rt2860_rates@GOTPAGEOFF]
Lloh37:
ldr x10, [x10]
Lloh38:
adrp x12, _RUN_DEBUG_STATE@GOTPAGE
Lloh39:
ldr x12, [x12, _RUN_DEBUG_STATE@GOTPAGEOFF]
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x11, [x10], #24
cmp x11, x3
b.eq LBB0_20
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
add x8, x8, #1
cmp x9, x8
b.ne LBB0_16
; %bb.18:
mov x8, x9
b LBB0_20
LBB0_19:
mov x8, #0 ; =0x0
Lloh40:
adrp x12, _RUN_DEBUG_STATE@GOTPAGE
Lloh41:
ldr x12, [x12, _RUN_DEBUG_STATE@GOTPAGEOFF]
LBB0_20:
str x8, [x20, #16]
ldr w9, [x12]
ldr w10, [x24]
str x8, [sp]
Lloh42:
adrp x2, l_.str.4@PAGE
Lloh43:
add x2, x2, l_.str.4@PAGEOFF
orr w1, w10, w9
mov x0, x19
bl _RUN_DPRINTF
mov x0, x19
bl _RUN_LOCK
ldr x8, [x19]
Lloh44:
adrp x9, _RUN_RATECTL_OFF@GOTPAGE
Lloh45:
ldr x9, [x9, _RUN_RATECTL_OFF@GOTPAGEOFF]
Lloh46:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_22
; %bb.21:
Lloh47:
adrp x8, _hz@GOTPAGE
Lloh48:
ldr x8, [x8, _hz@GOTPAGEOFF]
Lloh49:
ldr w1, [x8]
Lloh50:
adrp x8, _run_ratectl_to@GOTPAGE
Lloh51:
ldr x8, [x8, _run_ratectl_to@GOTPAGEOFF]
Lloh52:
ldr w2, [x8]
add x0, x19, #8
mov x3, x19
bl _usb_callout_reset
LBB0_22:
mov x0, x19
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 _RUN_UNLOCK
LBB0_23:
mov x22, #0 ; =0x0
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.cfi_endproc
; -- End function
.comm _IEEE80211_M_STA,8,3 ; @IEEE80211_M_STA
.comm _RT2870_WCID_MAX,8,3 ; @RT2870_WCID_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "wcid=%d out of range\n"
.comm _RUN_DEBUG_STATE,4,2 ; @RUN_DEBUG_STATE
l_.str.1: ; @.str.1
.asciz "cmdq_store=%d\n"
.comm _run_newassoc_cb,4,2 ; @run_newassoc_cb
l_.str.2: ; @.str.2
.asciz "new assoc isnew=%d associd=%x addr=%s\n"
.comm _IEEE80211_RATE_VAL,8,3 ; @IEEE80211_RATE_VAL
.comm _RT2860_RIDX_MAX,8,3 ; @RT2860_RIDX_MAX
.comm _rt2860_rates,8,3 ; @rt2860_rates
.comm _IEEE80211_RATE_BASIC,4,2 ; @IEEE80211_RATE_BASIC
.comm _RUN_DEBUG_RATE,4,2 ; @RUN_DEBUG_RATE
l_.str.3: ; @.str.3
.asciz "rate=0x%02x ridx=%d ctl_ridx=%d\n"
l_.str.4: ; @.str.4
.asciz "rate=%d, mgmt_ridx=%d\n"
.comm _RUN_RATECTL_OFF,8,3 ; @RUN_RATECTL_OFF
.comm _hz,4,2 ; @hz
.comm _run_ratectl_to,4,2 ; @run_ratectl_to
.no_dead_strip _run_newassoc
.subsections_via_symbols
| assembly_file_182963.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _in_list ## -- Begin function in_list
.p2align 4, 0x90
_in_list: ## @in_list
.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
cmpq %rdx, %rsi
jg LBB0_10
## %bb.1:
movsbl %dil, %r9d
movslq %ecx, %rdi
movq _num_list@GOTPCREL(%rip), %r8
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
leaq 1(%rcx), %rsi
cmpq %rdx, %rsi
jg LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq (%rdx,%rsi), %rcx
sarq %rcx
leaq (%rcx,%rcx,8), %rax
addq %r8, %rax
movsbl (%rdi,%rax), %eax
cmpl %eax, %r9d
jg LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
jge LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
leaq -1(%rcx), %rdx
cmpq %rdx, %rsi
jle LBB0_2
LBB0_8:
xorl %eax, %eax
jmp LBB0_9
LBB0_5:
movl $1, %eax
LBB0_9:
movq _m@GOTPCREL(%rip), %rdx
movq %rcx, (%rdx)
LBB0_10:
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
movq _total_answers@GOTPCREL(%rip), %rax
movq $0, (%rax)
xorps %xmm0, %xmm0
movq _check1@GOTPCREL(%rip), %rax
movaps %xmm0, (%rax)
movaps %xmm0, 16(%rax)
movaps %xmm0, 32(%rax)
movaps %xmm0, 48(%rax)
movaps %xmm0, 64(%rax)
movaps %xmm0, 80(%rax)
movaps %xmm0, 96(%rax)
movaps %xmm0, 112(%rax)
movaps %xmm0, 128(%rax)
movaps %xmm0, 144(%rax)
movaps %xmm0, 160(%rax)
movaps %xmm0, 176(%rax)
movaps %xmm0, 192(%rax)
movq _check2@GOTPCREL(%rip), %rdi
movl $5408, %esi ## imm = 0x1520
callq ___bzero
movq _check3@GOTPCREL(%rip), %rdi
movl $140608, %esi ## imm = 0x22540
callq ___bzero
movq _check4@GOTPCREL(%rip), %rdi
movl $3655808, %esi ## imm = 0x37C880
callq ___bzero
movq _y@GOTPCREL(%rip), %rax
movq $26, (%rax)
movq _z@GOTPCREL(%rip), %rax
movq $26, (%rax)
movq _zz@GOTPCREL(%rip), %rax
movq $26, (%rax)
movq _x@GOTPCREL(%rip), %r13
movq $1, (%r13)
movl $1, %ecx
movq _word_list@GOTPCREL(%rip), %r15
leaq L_.str(%rip), %r14
movq _num_list@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
leaq (%rcx,%rcx,4), %rax
leaq (%r15,%rax,2), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
movq (%r13), %rax
leaq (%rax,%rax,4), %rcx
movzbl (%r15,%rcx,2), %r8d
addb $-97, %r8b
movzbl 1(%r15,%rcx,2), %r9d
addb $-97, %r9b
movzbl 2(%r15,%rcx,2), %r10d
addb $-97, %r10b
movsbq %r8b, %rdi
movsbq %r9b, %rsi
imulq $208, %rdi, %rbx
addq _check2@GOTPCREL(%rip), %rbx
movq %rax, (%rbx,%rsi,8)
imulq $5408, %rdi, %rbx ## imm = 0x1520
addq _check3@GOTPCREL(%rip), %rbx
imulq $208, %rsi, %rdx
addq %rbx, %rdx
movsbq %r10b, %rbx
movq %rax, (%rdx,%rbx,8)
imulq $140608, %rdi, %rdx ## imm = 0x22540
addq _check4@GOTPCREL(%rip), %rdx
imulq $5408, %rsi, %rsi ## imm = 0x1520
addq %rdx, %rsi
movzbl 3(%r15,%rcx,2), %edx
addb $-97, %dl
imulq $208, %rbx, %rbx
addq %rsi, %rbx
movsbq %dl, %rsi
movq %rax, (%rbx,%rsi,8)
leaq (%rax,%rax,8), %rsi
movb %r8b, (%r12,%rsi)
movb %r9b, 1(%r12,%rsi)
movb %r10b, 2(%r12,%rsi)
movb %dl, 3(%r12,%rsi)
movzbl 4(%r15,%rcx,2), %edx
addb $-97, %dl
movb %dl, 4(%r12,%rsi)
movzbl 5(%r15,%rcx,2), %edx
addb $-97, %dl
movb %dl, 5(%r12,%rsi)
movzbl 6(%r15,%rcx,2), %edx
addb $-97, %dl
movb %dl, 6(%r12,%rsi)
movzbl 7(%r15,%rcx,2), %edx
addb $-97, %dl
movb %dl, 7(%r12,%rsi)
movzbl 8(%r15,%rcx,2), %ecx
addb $-97, %cl
movb %cl, 8(%r12,%rsi)
movq _y@GOTPCREL(%rip), %rcx
movq $9, (%rcx)
movq _check1@GOTPCREL(%rip), %rcx
movq %rax, (%rcx,%rdi,8)
leaq 1(%rax), %rcx
movq %rcx, (%r13)
cmpq $36874, %rax ## imm = 0x900A
jl LBB1_1
## %bb.2:
movq _listing@GOTPCREL(%rip), %r10
movq $1, 160(%r10)
movq $1, 176(%r10)
movq $1, 192(%r10)
movq $1, 208(%r10)
movq $1, 224(%r10)
movq $1, 240(%r10)
movq $1, 256(%r10)
movq $1, 272(%r10)
movq _z@GOTPCREL(%rip), %rax
movq (%rax), %r14
leaq 352(%r10), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 288(%r10), %r9
movb 10(%r15), %dl
movl $1, %ecx
movl $2, %esi
movq %r10, -72(%rbp) ## 8-byte Spill
movq _check1@GOTPCREL(%rip), %r12
jmp LBB1_5
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_5 Depth=1
movq _zz@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl $9, %eax
movq _check1@GOTPCREL(%rip), %r12
movq -56(%rbp), %r9 ## 8-byte Reload
LBB1_4: ## in Loop: Header=BB1_5 Depth=1
incq %rsi
addq $144, -64(%rbp) ## 8-byte Folded Spill
addq $144, -72(%rbp) ## 8-byte Folded Spill
addq $144, %r9
movq %r11, %rcx
cmpq $36875, %rsi ## imm = 0x900B
movb -48(%rbp), %dl ## 1-byte Reload
je LBB1_42
LBB1_5: ## =>This Loop Header: Depth=1
## Child Loop BB1_18 Depth 2
## Child Loop BB1_21 Depth 2
## Child Loop BB1_25 Depth 2
## Child Loop BB1_29 Depth 2
## Child Loop BB1_33 Depth 2
## Child Loop BB1_36 Depth 3
## Child Loop BB1_40 Depth 3
movl %edx, %eax
leaq 1(%rcx), %r11
leaq (%r11,%r11,4), %rdx
movq _word_list@GOTPCREL(%rip), %rdi
movb (%rdi,%rdx,2), %bl
movl $1, %edi
movb %bl, -48(%rbp) ## 1-byte Spill
cmpb %bl, %al
jne LBB1_14
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
leaq (%rcx,%rcx,4), %r15
movq _word_list@GOTPCREL(%rip), %rbx
movb 1(%rbx,%r15,2), %al
movl $2, %edi
cmpb 1(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 2(%rbx,%r15,2), %al
movl $3, %edi
cmpb 2(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.8: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 3(%rbx,%r15,2), %al
movl $4, %edi
cmpb 3(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.9: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 4(%rbx,%r15,2), %al
movl $5, %edi
cmpb 4(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.10: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 5(%rbx,%r15,2), %al
movl $6, %edi
cmpb 5(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.11: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 6(%rbx,%r15,2), %al
movl $7, %edi
cmpb 6(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.12: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 7(%rbx,%r15,2), %al
movl $8, %edi
cmpb 7(%rbx,%rdx,2), %al
jne LBB1_14
## %bb.13: ## in Loop: Header=BB1_5 Depth=1
movq _word_list@GOTPCREL(%rip), %rbx
movb 8(%rbx,%r15,2), %al
movl $9, %edi
cmpb 8(%rbx,%rdx,2), %al
je LBB1_15
.p2align 4, 0x90
LBB1_14: ## in Loop: Header=BB1_5 Depth=1
movq _z@GOTPCREL(%rip), %rax
movq %rdi, (%rax)
movq %rdi, %r14
LBB1_15: ## in Loop: Header=BB1_5 Depth=1
cmpq $2, %r14
jl LBB1_23
## %bb.16: ## in Loop: Header=BB1_5 Depth=1
leaq -1(%r14), %r8
leaq -2(%r14), %rax
movl %r8d, %r15d
andl $3, %r15d
movl $1, %edi
cmpq $3, %rax
jb LBB1_19
## %bb.17: ## in Loop: Header=BB1_5 Depth=1
andq $-4, %r8
negq %r8
movl $1, %edi
movq -64(%rbp), %rax ## 8-byte Reload
.p2align 4, 0x90
LBB1_18: ## Parent Loop BB1_5 Depth=1
## => This Inner Loop Header: Depth=2
movq -192(%rax), %rdx
movq -176(%rax), %rbx
movq %rdx, -48(%rax)
movq %rbx, -32(%rax)
movq -160(%rax), %rdx
movq %rdx, -16(%rax)
movq -144(%rax), %rdx
movq %rdx, (%rax)
addq $64, %rax
leaq (%r8,%rdi), %rdx
addq $4, %rdx
addq $4, %rdi
cmpq $1, %rdx
jne LBB1_18
LBB1_19: ## in Loop: Header=BB1_5 Depth=1
testq %r15, %r15
je LBB1_22
## %bb.20: ## in Loop: Header=BB1_5 Depth=1
shlq $4, %rdi
addq -72(%rbp), %rdi ## 8-byte Folded Reload
shlq $4, %r15
xorl %eax, %eax
.p2align 4, 0x90
LBB1_21: ## Parent Loop BB1_5 Depth=1
## => This Inner Loop Header: Depth=2
movq 144(%rdi,%rax), %rdx
movq %rdx, 288(%rdi,%rax)
addq $16, %rax
cmpq %rax, %r15
jne LBB1_21
LBB1_22: ## in Loop: Header=BB1_5 Depth=1
movq %r14, %rax
cmpq $8, %r14
jg LBB1_4
LBB1_23: ## in Loop: Header=BB1_5 Depth=1
movl $1, %edx
subl %r14d, %edx
movq %r14, %rax
andq $3, %rdx
je LBB1_27
## %bb.24: ## in Loop: Header=BB1_5 Depth=1
movq %r14, %rax
shlq $4, %rax
addq %r9, %rax
negq %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB1_25: ## Parent Loop BB1_5 Depth=1
## => This Inner Loop Header: Depth=2
movq %r11, (%rax)
decq %rdi
addq $16, %rax
cmpq %rdi, %rdx
jne LBB1_25
## %bb.26: ## in Loop: Header=BB1_5 Depth=1
movq %r14, %rax
subq %rdi, %rax
LBB1_27: ## in Loop: Header=BB1_5 Depth=1
leaq -6(%r14), %rdx
cmpq $3, %rdx
jb LBB1_30
## %bb.28: ## in Loop: Header=BB1_5 Depth=1
leaq -9(%rax), %rdx
shlq $4, %rax
addq %r9, %rax
.p2align 4, 0x90
LBB1_29: ## Parent Loop BB1_5 Depth=1
## => This Inner Loop Header: Depth=2
movq %r11, (%rax)
movq %r11, 16(%rax)
movq %r11, 32(%rax)
movq %r11, 48(%rax)
addq $64, %rax
addq $4, %rdx
jne LBB1_29
LBB1_30: ## in Loop: Header=BB1_5 Depth=1
movq %r9, -56(%rbp) ## 8-byte Spill
movq %r14, %rax
shlq $4, %rax
leaq (%r10,%rax), %rdx
addq $8, %rdx
leaq (%r10,%rax), %r15
addq $296, %r15 ## imm = 0x128
movq %r14, %rdi
jmp LBB1_33
.p2align 4, 0x90
LBB1_31: ## in Loop: Header=BB1_33 Depth=2
movq %r12, %rax
LBB1_32: ## in Loop: Header=BB1_33 Depth=2
incq %rdi
addq $16, %rdx
addq $16, %r15
cmpq $9, %rdi
je LBB1_3
LBB1_33: ## Parent Loop BB1_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_36 Depth 3
## Child Loop BB1_40 Depth 3
movq %rdi, %rax
shlq $4, %rax
leaq (%rcx,%rcx,8), %rbx
shlq $4, %rbx
addq %r10, %rbx
movq (%rax,%rbx), %r12
movq %rcx, %r13
subq %r12, %r13
jl LBB1_31
## %bb.34: ## in Loop: Header=BB1_33 Depth=2
movl %esi, %eax
subl %r12d, %eax
testb $3, %al
je LBB1_38
## %bb.35: ## in Loop: Header=BB1_33 Depth=2
leaq (%r12,%r12,8), %rax
shlq $4, %rax
addq %rdx, %rax
movl %esi, %ebx
subb %r12b, %bl
movzbl %bl, %r9d
andl $3, %r9d
negq %r9
xorl %r8d, %r8d
.p2align 4, 0x90
LBB1_36: ## Parent Loop BB1_5 Depth=1
## Parent Loop BB1_33 Depth=2
## => This Inner Loop Header: Depth=3
movq %rcx, (%rax)
decq %r8
addq $144, %rax
cmpq %r8, %r9
jne LBB1_36
## %bb.37: ## in Loop: Header=BB1_33 Depth=2
subq %r8, %r12
LBB1_38: ## in Loop: Header=BB1_33 Depth=2
movq %rsi, %rax
cmpq $3, %r13
jb LBB1_32
## %bb.39: ## in Loop: Header=BB1_33 Depth=2
leaq (%r12,%r12,8), %rax
shlq $4, %rax
addq %r15, %rax
.p2align 4, 0x90
LBB1_40: ## Parent Loop BB1_5 Depth=1
## Parent Loop BB1_33 Depth=2
## => This Inner Loop Header: Depth=3
movq %rcx, -288(%rax)
movq %rcx, -144(%rax)
movq %rcx, (%rax)
movq %rcx, 144(%rax)
addq $4, %r12
addq $576, %rax ## imm = 0x240
cmpq %r12, %rsi
jne LBB1_40
## %bb.41: ## in Loop: Header=BB1_33 Depth=2
movq %rsi, %rax
jmp LBB1_32
LBB1_42:
movq _x@GOTPCREL(%rip), %rcx
movq $36874, (%rcx) ## imm = 0x900A
movq _y@GOTPCREL(%rip), %rbx
movq %rax, (%rbx)
movq _listing@GOTPCREL(%rip), %rdi
movq 5309872(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_50
## %bb.43:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_47
## %bb.44:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $24, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_45: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_45
## %bb.46:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_47:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_50
## %bb.48:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $456, %rcx ## imm = 0x1C8
.p2align 4, 0x90
LBB1_49: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_49
LBB1_50:
movq 5309888(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_58
## %bb.51:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_55
## %bb.52:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $40, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_53: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_53
## %bb.54:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_55:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_58
## %bb.56:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $472, %rcx ## imm = 0x1D8
.p2align 4, 0x90
LBB1_57: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_57
LBB1_58:
movq 5309904(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_66
## %bb.59:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_63
## %bb.60:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $56, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_61: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_61
## %bb.62:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_63:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_66
## %bb.64:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $488, %rcx ## imm = 0x1E8
.p2align 4, 0x90
LBB1_65: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_65
LBB1_66:
movq 5309920(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_74
## %bb.67:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_71
## %bb.68:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $72, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_69: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_69
## %bb.70:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_71:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_74
## %bb.72:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $504, %rcx ## imm = 0x1F8
.p2align 4, 0x90
LBB1_73: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_73
LBB1_74:
movq 5309936(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_82
## %bb.75:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_79
## %bb.76:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $88, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_77: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_77
## %bb.78:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_79:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_82
## %bb.80:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $520, %rcx ## imm = 0x208
.p2align 4, 0x90
LBB1_81: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_81
LBB1_82:
movq 5309952(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_90
## %bb.83:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_87
## %bb.84:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $104, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_85: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_85
## %bb.86:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_87:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_90
## %bb.88:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $536, %rcx ## imm = 0x218
.p2align 4, 0x90
LBB1_89: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_89
LBB1_90:
movq 5309968(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_98
## %bb.91:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_95
## %bb.92:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $120, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_93: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_93
## %bb.94:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_95:
addq $-36872, %rax ## imm = 0xFFFF6FF8
cmpq $3, %rax
jb LBB1_98
## %bb.96:
leaq -36875(%rdx), %rax
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
addq %rdi, %rcx
addq $552, %rcx ## imm = 0x228
.p2align 4, 0x90
LBB1_97: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rcx) ## imm = 0x900A
movq $36874, -288(%rcx) ## imm = 0x900A
movq $36874, -144(%rcx) ## imm = 0x900A
movq $36874, (%rcx) ## imm = 0x900A
addq $576, %rcx ## imm = 0x240
addq $4, %rax
jne LBB1_97
LBB1_98:
movq 5309984(%rdi), %rax
cmpq $36874, %rax ## imm = 0x900A
jg LBB1_106
## %bb.99:
movl $3, %ecx
subl %eax, %ecx
movq %rax, %rdx
andq $3, %rcx
je LBB1_103
## %bb.100:
leaq (%rax,%rax,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $136, %rdx
negq %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_101: ## =>This Inner Loop Header: Depth=1
movq $36874, (%rdx) ## imm = 0x900A
decq %rsi
addq $144, %rdx
cmpq %rsi, %rcx
jne LBB1_101
## %bb.102:
movq %rax, %rdx
subq %rsi, %rdx
LBB1_103:
movq %rax, %rcx
addq $-36872, %rcx ## imm = 0xFFFF6FF8
movl $36875, %eax ## imm = 0x900B
cmpq $3, %rcx
jb LBB1_106
## %bb.104:
leaq -36875(%rdx), %rcx
leaq (%rdx,%rdx,8), %rdx
shlq $4, %rdx
addq %rdi, %rdx
addq $568, %rdx ## imm = 0x238
.p2align 4, 0x90
LBB1_105: ## =>This Inner Loop Header: Depth=1
movq $36874, -432(%rdx) ## imm = 0x900A
movq $36874, -288(%rdx) ## imm = 0x900A
movq $36874, -144(%rdx) ## imm = 0x900A
movq $36874, (%rdx) ## imm = 0x900A
addq $576, %rdx ## imm = 0x240
addq $4, %rcx
jne LBB1_105
LBB1_106:
movq $9, (%rbx)
movq _z@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rbx
movq %rbx, %rsi
callq _fopen
movq _answer_file@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
callq _fopen
movq _status_file@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _w1@GOTPCREL(%rip), %rdi
movq $1, (%rdi)
movl $1, %ecx
movq _e9@GOTPCREL(%rip), %r8
movq _w9@GOTPCREL(%rip), %r10
leaq L_.str.5(%rip), %r14
movq _total_answers@GOTPCREL(%rip), %r13
movq _check2@GOTPCREL(%rip), %r11
jmp LBB1_109
LBB1_107: ## in Loop: Header=BB1_109 Depth=1
movq _check1@GOTPCREL(%rip), %r12
movq _e9@GOTPCREL(%rip), %r8
movq _w9@GOTPCREL(%rip), %r10
.p2align 4, 0x90
LBB1_108: ## in Loop: Header=BB1_109 Depth=1
leaq 1(%rcx), %rax
movq %rax, (%rdi)
cmpq $36875, %rcx ## imm = 0x900B
movq %rax, %rcx
jge LBB1_266
LBB1_109: ## =>This Loop Header: Depth=1
## Child Loop BB1_121 Depth 2
## Child Loop BB1_134 Depth 3
## Child Loop BB1_148 Depth 4
## Child Loop BB1_155 Depth 5
## Child Loop BB1_159 Depth 6
## Child Loop BB1_170 Depth 6
## Child Loop BB1_178 Depth 6
## Child Loop BB1_185 Depth 6
## Child Loop BB1_190 Depth 6
## Child Loop BB1_194 Depth 7
## Child Loop BB1_205 Depth 7
## Child Loop BB1_213 Depth 7
## Child Loop BB1_217 Depth 7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movq %rcx, %rax
movabsq $-6640827866535438581, %rdx ## imm = 0xA3D70A3D70A3D70B
imulq %rdx
addq %rcx, %rdx
movq %rdx, %rax
shrq $63, %rax
sarq $4, %rdx
addq %rax, %rdx
leaq (%rdx,%rdx,4), %rax
leaq (%rax,%rax,4), %rax
movq %rcx, %rdx
subq %rax, %rdx
cmpq $1, %rdx
jne LBB1_111
## %bb.110: ## in Loop: Header=BB1_109 Depth=1
movq _status_file@GOTPCREL(%rip), %rax
movq %rdi, %r12
movq (%rax), %rdi
leaq (%rcx,%rcx,4), %rax
movq _word_list@GOTPCREL(%rip), %r13
leaq (,%rax,2), %rdx
addq %r13, %rdx
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
movq %r8, %rbx
movq %r14, %r15
movq %r10, %r14
callq _fprintf
movq (%r12), %rdx
leaq (%rdx,%rdx,4), %rax
leaq (,%rax,2), %rsi
addq %r13, %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _status_file@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movq %r12, %rdi
movq %r14, %r10
movq %r15, %r14
movq %rbx, %r8
movq _check1@GOTPCREL(%rip), %r12
movq _check2@GOTPCREL(%rip), %r11
movq _total_answers@GOTPCREL(%rip), %r13
movq (%rdi), %rcx
LBB1_111: ## in Loop: Header=BB1_109 Depth=1
leaq (%rcx,%rcx,8), %rax
movq _num_list@GOTPCREL(%rip), %rdx
movsbq 8(%rdx,%rax), %r9
cmpq $0, (%r12,%r9,8)
je LBB1_108
## %bb.112: ## in Loop: Header=BB1_109 Depth=1
movsbq 7(%rdx,%rax), %rsi
cmpq $0, (%r12,%rsi,8)
je LBB1_108
## %bb.113: ## in Loop: Header=BB1_109 Depth=1
movsbq 6(%rdx,%rax), %rsi
cmpq $0, (%r12,%rsi,8)
je LBB1_108
## %bb.114: ## in Loop: Header=BB1_109 Depth=1
movsbq 5(%rdx,%rax), %rsi
cmpq $0, (%r12,%rsi,8)
je LBB1_108
## %bb.115: ## in Loop: Header=BB1_109 Depth=1
movsbq 4(%rdx,%rax), %rsi
cmpq $0, (%r12,%rsi,8)
je LBB1_108
## %bb.116: ## in Loop: Header=BB1_109 Depth=1
movsbq 3(%rdx,%rax), %rsi
cmpq $0, (%r12,%rsi,8)
je LBB1_108
## %bb.117: ## in Loop: Header=BB1_109 Depth=1
movsbq 2(%rdx,%rax), %rsi
cmpq $0, (%r12,%rsi,8)
je LBB1_108
## %bb.118: ## in Loop: Header=BB1_109 Depth=1
movsbq 1(%rdx,%rax), %rax
movq (%r12,%rax,8), %rax
movq _m@GOTPCREL(%rip), %rdx
movq %rax, (%rdx)
testq %rax, %rax
je LBB1_108
## %bb.119: ## in Loop: Header=BB1_109 Depth=1
leaq (%rax,%rax,8), %rsi
shlq $4, %rsi
movq _listing@GOTPCREL(%rip), %rax
movq 16(%rax,%rsi), %r10
movq _b2@GOTPCREL(%rip), %rdx
movq %r10, (%rdx)
movq 24(%rax,%rsi), %r8
movq _e2@GOTPCREL(%rip), %rax
movq %r8, (%rax)
movq _w2@GOTPCREL(%rip), %rax
movq %r10, (%rax)
cmpq %r8, %r10
jg LBB1_107
## %bb.120: ## in Loop: Header=BB1_109 Depth=1
movq _num_list@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB1_121: ## Parent Loop BB1_109 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_134 Depth 3
## Child Loop BB1_148 Depth 4
## Child Loop BB1_155 Depth 5
## Child Loop BB1_159 Depth 6
## Child Loop BB1_170 Depth 6
## Child Loop BB1_178 Depth 6
## Child Loop BB1_185 Depth 6
## Child Loop BB1_190 Depth 6
## Child Loop BB1_194 Depth 7
## Child Loop BB1_205 Depth 7
## Child Loop BB1_213 Depth 7
## Child Loop BB1_217 Depth 7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movsbq %r9b, %rbx
leaq (%r10,%r10,8), %rsi
movsbq 8(%rdx,%rsi), %r15
imulq $208, %rbx, %rbx
addq %r11, %rbx
cmpq $0, (%rbx,%r15,8)
je LBB1_130
## %bb.122: ## in Loop: Header=BB1_121 Depth=2
leaq (%rcx,%rcx,8), %rbx
movsbq 7(%rdx,%rbx), %rdi
movsbq 7(%rdx,%rsi), %rax
imulq $208, %rdi, %rdi
addq %r11, %rdi
cmpq $0, (%rdi,%rax,8)
je LBB1_130
## %bb.123: ## in Loop: Header=BB1_121 Depth=2
movsbq 6(%rdx,%rbx), %rax
movsbq 6(%rdx,%rsi), %rdi
imulq $208, %rax, %rax
addq %r11, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_130
## %bb.124: ## in Loop: Header=BB1_121 Depth=2
movsbq 5(%rdx,%rbx), %rax
movsbq 5(%rdx,%rsi), %rdi
imulq $208, %rax, %rax
addq %r11, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_130
## %bb.125: ## in Loop: Header=BB1_121 Depth=2
movsbq 4(%rdx,%rbx), %rax
movsbq 4(%rdx,%rsi), %rdi
imulq $208, %rax, %rax
addq %r11, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_130
## %bb.126: ## in Loop: Header=BB1_121 Depth=2
movsbq 3(%rdx,%rbx), %rax
movsbq 3(%rdx,%rsi), %rdi
imulq $208, %rax, %rax
addq %r11, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_130
## %bb.127: ## in Loop: Header=BB1_121 Depth=2
movsbq 2(%rdx,%rbx), %rax
movsbq 2(%rdx,%rsi), %rsi
imulq $208, %rax, %rax
addq %r11, %rax
movq (%rax,%rsi,8), %rsi
movq _m@GOTPCREL(%rip), %rax
movq %rsi, (%rax)
testq %rsi, %rsi
je LBB1_130
## %bb.128: ## in Loop: Header=BB1_121 Depth=2
leaq (%rsi,%rsi,8), %rax
shlq $4, %rax
movq _listing@GOTPCREL(%rip), %rdx
movq 32(%rdx,%rax), %r13
movq _b3@GOTPCREL(%rip), %rsi
movq %r13, (%rsi)
movq 40(%rdx,%rax), %rdx
movq _e3@GOTPCREL(%rip), %rax
movq %rdx, (%rax)
movq _w3@GOTPCREL(%rip), %rax
movq %r13, (%rax)
cmpq %rdx, %r13
jle LBB1_133
## %bb.129: ## in Loop: Header=BB1_121 Depth=2
movq _total_answers@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB1_130: ## in Loop: Header=BB1_121 Depth=2
movq _w1@GOTPCREL(%rip), %rdi
movq _w2@GOTPCREL(%rip), %rcx
LBB1_131: ## in Loop: Header=BB1_121 Depth=2
movq %r10, %rax
incq %r10
movq %r10, (%rcx)
movq (%rdi), %rcx
cmpq %r8, %rax
jge LBB1_107
## %bb.132: ## in Loop: Header=BB1_121 Depth=2
leaq (%rcx,%rcx,8), %rax
movq _num_list@GOTPCREL(%rip), %rdx
movb 8(%rdx,%rax), %r9b
jmp LBB1_121
LBB1_133: ## in Loop: Header=BB1_121 Depth=2
movq _check3@GOTPCREL(%rip), %r14
movq _num_list@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB1_134: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB1_148 Depth 4
## Child Loop BB1_155 Depth 5
## Child Loop BB1_159 Depth 6
## Child Loop BB1_170 Depth 6
## Child Loop BB1_178 Depth 6
## Child Loop BB1_185 Depth 6
## Child Loop BB1_190 Depth 6
## Child Loop BB1_194 Depth 7
## Child Loop BB1_205 Depth 7
## Child Loop BB1_213 Depth 7
## Child Loop BB1_217 Depth 7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movsbq %r9b, %rax
movsbq %r15b, %rdi
leaq (,%r13,8), %rbx
addq %r13, %rbx
movsbq 8(%r12,%rbx), %rsi
imulq $208, %rdi, %rdi
imulq $5408, %rax, %rax ## imm = 0x1520
addq %r14, %rax
addq %rdi, %rax
cmpq $0, (%rax,%rsi,8)
je LBB1_143
## %bb.135: ## in Loop: Header=BB1_134 Depth=3
movq %rsi, -56(%rbp) ## 8-byte Spill
leaq (%rcx,%rcx,8), %r8
movsbq 7(%r12,%r8), %rax
leaq (%r10,%r10,8), %r11
movsbq 7(%r12,%r11), %rdi
movsbq 7(%r12,%rbx), %rsi
imulq $208, %rdi, %rdi
imulq $5408, %rax, %rax ## imm = 0x1520
addq %r14, %rax
addq %rdi, %rax
cmpq $0, (%rax,%rsi,8)
je LBB1_142
## %bb.136: ## in Loop: Header=BB1_134 Depth=3
movsbq 6(%r12,%r8), %rax
movsbq 6(%r12,%r11), %rsi
movsbq 6(%r12,%rbx), %rdi
imulq $208, %rsi, %rsi
imulq $5408, %rax, %rax ## imm = 0x1520
addq %r14, %rax
addq %rsi, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_142
## %bb.137: ## in Loop: Header=BB1_134 Depth=3
movsbq 5(%r12,%r8), %rax
movsbq 5(%r12,%r11), %rsi
movsbq 5(%r12,%rbx), %rdi
imulq $208, %rsi, %rsi
imulq $5408, %rax, %rax ## imm = 0x1520
addq %r14, %rax
addq %rsi, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_142
## %bb.138: ## in Loop: Header=BB1_134 Depth=3
movsbq 4(%r12,%r8), %rax
movsbq 4(%r12,%r11), %rsi
movsbq 4(%r12,%rbx), %rdi
imulq $208, %rsi, %rsi
imulq $5408, %rax, %rax ## imm = 0x1520
addq %r14, %rax
addq %rsi, %rax
cmpq $0, (%rax,%rdi,8)
je LBB1_142
## %bb.139: ## in Loop: Header=BB1_134 Depth=3
movsbq 3(%r12,%r8), %rax
movsbq 3(%r12,%r11), %rsi
movsbq 3(%r12,%rbx), %rdi
imulq $208, %rsi, %rsi
imulq $5408, %rax, %rax ## imm = 0x1520
addq %r14, %rax
addq %rsi, %rax
movq (%rax,%rdi,8), %rbx
movq _m@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
testq %rbx, %rbx
je LBB1_146
## %bb.140: ## in Loop: Header=BB1_134 Depth=3
movq %rdx, %r8
leaq (%rbx,%rbx,8), %rax
shlq $4, %rax
movq _listing@GOTPCREL(%rip), %rdx
movq 48(%rdx,%rax), %r11
movq _b4@GOTPCREL(%rip), %rsi
movq %r11, (%rsi)
movq 56(%rdx,%rax), %rdx
movq _e4@GOTPCREL(%rip), %rax
movq %rdx, (%rax)
movq _w4@GOTPCREL(%rip), %rax
movq %r11, (%rax)
movq %rdx, -48(%rbp) ## 8-byte Spill
cmpq %rdx, %r11
jle LBB1_147
## %bb.141: ## in Loop: Header=BB1_134 Depth=3
movq _check2@GOTPCREL(%rip), %r11
movq _check3@GOTPCREL(%rip), %r14
movq _num_list@GOTPCREL(%rip), %r12
movq _w1@GOTPCREL(%rip), %rdi
movq _w3@GOTPCREL(%rip), %rcx
movq %r8, %rdx
jmp LBB1_144
.p2align 4, 0x90
LBB1_142: ## in Loop: Header=BB1_134 Depth=3
movq _check2@GOTPCREL(%rip), %r11
LBB1_143: ## in Loop: Header=BB1_134 Depth=3
movq _w1@GOTPCREL(%rip), %rdi
movq _w3@GOTPCREL(%rip), %rcx
LBB1_144: ## in Loop: Header=BB1_134 Depth=3
movq %r13, %rax
incq %r13
movq %r13, (%rcx)
cmpq %rdx, %rax
jge LBB1_265
## %bb.145: ## in Loop: Header=BB1_134 Depth=3
movq (%rdi), %rcx
leaq (%rcx,%rcx,8), %rax
movb 8(%r12,%rax), %r9b
movq _w2@GOTPCREL(%rip), %rax
movq (%rax), %r10
leaq (%r10,%r10,8), %rax
movb 8(%r12,%rax), %r15b
jmp LBB1_134
LBB1_146: ## in Loop: Header=BB1_134 Depth=3
movq _check2@GOTPCREL(%rip), %r11
movq _num_list@GOTPCREL(%rip), %r12
jmp LBB1_143
LBB1_147: ## in Loop: Header=BB1_134 Depth=3
movq _check4@GOTPCREL(%rip), %r14
movq _num_list@GOTPCREL(%rip), %r12
movq -56(%rbp), %rsi ## 8-byte Reload
.p2align 4, 0x90
LBB1_148: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB1_155 Depth 5
## Child Loop BB1_159 Depth 6
## Child Loop BB1_170 Depth 6
## Child Loop BB1_178 Depth 6
## Child Loop BB1_185 Depth 6
## Child Loop BB1_190 Depth 6
## Child Loop BB1_194 Depth 7
## Child Loop BB1_205 Depth 7
## Child Loop BB1_213 Depth 7
## Child Loop BB1_217 Depth 7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movsbq %r9b, %rax
movsbq %r15b, %rdx
movsbq %sil, %rsi
leaq (%r11,%r11,8), %r8
movsbq 8(%r12,%r8), %rbx
imulq $5408, %rdx, %rdx ## imm = 0x1520
imulq $140608, %rax, %rax ## imm = 0x22540
addq %r14, %rax
addq %rdx, %rax
imulq $208, %rsi, %rdx
addq %rax, %rdx
movq (%rdx,%rbx,8), %rdx
movq _k@GOTPCREL(%rip), %rdi
movq %rdx, 352(%rdi)
testq %rdx, %rdx
je LBB1_256
## %bb.149: ## in Loop: Header=BB1_148 Depth=4
leaq (%rcx,%rcx,8), %r9
movsbq 7(%r12,%r9), %rbx
leaq (%r10,%r10,8), %r10
movsbq 7(%r12,%r10), %rcx
leaq (,%r13,8), %r15
addq %r13, %r15
movsbq 7(%r12,%r15), %rax
movsbq 7(%r12,%r8), %rsi
imulq $5408, %rcx, %rcx ## imm = 0x1520
imulq $140608, %rbx, %rbx ## imm = 0x22540
addq %r14, %rbx
addq %rcx, %rbx
imulq $208, %rax, %rax
addq %rbx, %rax
movq (%rax,%rsi,8), %rax
movq %rax, 344(%rdi)
testq %rax, %rax
je LBB1_256
## %bb.150: ## in Loop: Header=BB1_148 Depth=4
movsbq 6(%r12,%r9), %rax
movsbq 6(%r12,%r10), %rcx
movsbq 6(%r12,%r15), %rsi
movsbq 6(%r12,%r8), %rbx
imulq $5408, %rcx, %rcx ## imm = 0x1520
imulq $140608, %rax, %rax ## imm = 0x22540
addq %r14, %rax
addq %rcx, %rax
imulq $208, %rsi, %rcx
addq %rax, %rcx
movq (%rcx,%rbx,8), %rax
movq %rax, 336(%rdi)
testq %rax, %rax
movq _listing@GOTPCREL(%rip), %r13
je LBB1_256
## %bb.151: ## in Loop: Header=BB1_148 Depth=4
movsbq 5(%r12,%r9), %rax
movsbq 5(%r12,%r10), %rcx
movsbq 5(%r12,%r15), %rsi
movsbq 5(%r12,%r8), %rbx
imulq $5408, %rcx, %rcx ## imm = 0x1520
imulq $140608, %rax, %rax ## imm = 0x22540
addq %r14, %rax
addq %rcx, %rax
imulq $208, %rsi, %rcx
addq %rax, %rcx
movq (%rcx,%rbx,8), %rax
movq %rax, 328(%rdi)
testq %rax, %rax
je LBB1_256
## %bb.152: ## in Loop: Header=BB1_148 Depth=4
movsbq 4(%r12,%r9), %rax
movsbq 4(%r12,%r10), %rcx
movsbq 4(%r12,%r15), %rsi
movq %rdi, %rbx
movsbq 4(%r12,%r8), %rdi
imulq $5408, %rcx, %rcx ## imm = 0x1520
imulq $140608, %rax, %rax ## imm = 0x22540
addq %r14, %rax
addq %rcx, %rax
imulq $208, %rsi, %rcx
addq %rax, %rcx
movq (%rcx,%rdi,8), %rax
movq %rax, 320(%rbx)
testq %rax, %rax
je LBB1_256
## %bb.153: ## in Loop: Header=BB1_148 Depth=4
movq _m@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq (%rax,%rax,8), %rcx
shlq $4, %rcx
movq 64(%r13,%rcx), %r15
movq _b5@GOTPCREL(%rip), %rax
movq %r15, (%rax)
movq 72(%r13,%rcx), %r9
movq _e5@GOTPCREL(%rip), %rax
movq %r9, (%rax)
movq _w5@GOTPCREL(%rip), %r14
movq %r15, (%r14)
cmpq %r9, %r15
movq _w4@GOTPCREL(%rip), %rcx
jg LBB1_262
## %bb.154: ## in Loop: Header=BB1_148 Depth=4
movq _x@GOTPCREL(%rip), %r11
.p2align 4, 0x90
LBB1_155: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## => This Loop Header: Depth=5
## Child Loop BB1_159 Depth 6
## Child Loop BB1_170 Depth 6
## Child Loop BB1_178 Depth 6
## Child Loop BB1_185 Depth 6
## Child Loop BB1_190 Depth 6
## Child Loop BB1_194 Depth 7
## Child Loop BB1_205 Depth 7
## Child Loop BB1_213 Depth 7
## Child Loop BB1_217 Depth 7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movq _failed_check@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
movq 64(%r13,%rcx), %rsi
movq 72(%r13,%rcx), %rcx
movl $8, %edx
cmpq %rcx, %rsi
jle LBB1_157
LBB1_156: ## in Loop: Header=BB1_155 Depth=5
movq %rdx, (%r11)
jmp LBB1_164
.p2align 4, 0x90
LBB1_157: ## in Loop: Header=BB1_155 Depth=5
leaq (%r15,%r15,8), %r10
movb 8(%r12,%r10), %bl
jmp LBB1_159
.p2align 4, 0x90
LBB1_158: ## in Loop: Header=BB1_159 Depth=6
leaq 1(%rdi), %rsi
cmpq %rcx, %rsi
jg LBB1_162
LBB1_159: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## => This Inner Loop Header: Depth=6
leaq (%rsi,%rcx), %rdi
sarq %rdi
leaq (%rdi,%rdi,8), %rdx
cmpb 4(%r12,%rdx), %bl
jg LBB1_158
## %bb.160: ## in Loop: Header=BB1_159 Depth=6
jge LBB1_167
## %bb.161: ## in Loop: Header=BB1_159 Depth=6
leaq -1(%rdi), %rcx
cmpq %rcx, %rsi
jle LBB1_159
LBB1_162: ## in Loop: Header=BB1_155 Depth=5
movl $8, %edx
movq %rdi, %rsi
LBB1_163: ## in Loop: Header=BB1_155 Depth=5
movq %rdx, (%r11)
movq _m@GOTPCREL(%rip), %rax
movq %rsi, (%rax)
LBB1_164: ## in Loop: Header=BB1_155 Depth=5
movq _failed_check@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _w4@GOTPCREL(%rip), %rcx
LBB1_165: ## in Loop: Header=BB1_155 Depth=5
movq %r15, %rax
incq %r15
movq %r15, (%r14)
cmpq %r9, %rax
jge LBB1_261
## %bb.166: ## in Loop: Header=BB1_155 Depth=5
movq _k@GOTPCREL(%rip), %rax
movq 352(%rax), %rdx
jmp LBB1_155
LBB1_167: ## in Loop: Header=BB1_155 Depth=5
movq _m@GOTPCREL(%rip), %rax
movq %rdi, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rdi, 424(%rax)
movq 344(%rax), %rcx
leaq (%rcx,%rcx,8), %rcx
shlq $4, %rcx
movq 64(%r13,%rcx), %rbx
movq 72(%r13,%rcx), %rcx
movl $7, %edx
cmpq %rcx, %rbx
jg LBB1_156
## %bb.168: ## in Loop: Header=BB1_155 Depth=5
movb 7(%r12,%r10), %dl
jmp LBB1_170
.p2align 4, 0x90
LBB1_169: ## in Loop: Header=BB1_170 Depth=6
leaq 1(%rsi), %rbx
cmpq %rcx, %rbx
jg LBB1_173
LBB1_170: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## => This Inner Loop Header: Depth=6
leaq (%rbx,%rcx), %rsi
sarq %rsi
leaq (%rsi,%rsi,8), %rax
cmpb 4(%r12,%rax), %dl
jg LBB1_169
## %bb.171: ## in Loop: Header=BB1_170 Depth=6
jge LBB1_174
## %bb.172: ## in Loop: Header=BB1_170 Depth=6
leaq -1(%rsi), %rcx
cmpq %rcx, %rbx
jle LBB1_170
LBB1_173: ## in Loop: Header=BB1_155 Depth=5
movl $7, %edx
jmp LBB1_163
LBB1_174: ## in Loop: Header=BB1_155 Depth=5
movq _m@GOTPCREL(%rip), %rax
movq %rsi, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rsi, 416(%rax)
movq 336(%rax), %rax
leaq (%rax,%rax,8), %rax
shlq $4, %rax
movq 64(%r13,%rax), %rbx
movq 72(%r13,%rax), %rcx
movl $6, %edx
cmpq %rcx, %rbx
jg LBB1_156
## %bb.175: ## in Loop: Header=BB1_155 Depth=5
movb 6(%r12,%r10), %r8b
jmp LBB1_178
.p2align 4, 0x90
LBB1_176: ## in Loop: Header=BB1_178 Depth=6
leaq 1(%rsi), %rbx
LBB1_177: ## in Loop: Header=BB1_178 Depth=6
movl $6, %edx
cmpq %rcx, %rbx
jg LBB1_163
LBB1_178: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## => This Inner Loop Header: Depth=6
leaq (%rbx,%rcx), %rsi
sarq %rsi
leaq (%rsi,%rsi,8), %rax
cmpb 4(%r12,%rax), %r8b
jg LBB1_176
## %bb.179: ## in Loop: Header=BB1_178 Depth=6
jge LBB1_181
## %bb.180: ## in Loop: Header=BB1_178 Depth=6
leaq -1(%rsi), %rcx
jmp LBB1_177
LBB1_181: ## in Loop: Header=BB1_155 Depth=5
movq _m@GOTPCREL(%rip), %rax
movq %rsi, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rsi, 408(%rax)
movq 328(%rax), %rax
leaq (%rax,%rax,8), %rax
shlq $4, %rax
movq 64(%r13,%rax), %rbx
movq 72(%r13,%rax), %rcx
movl $5, %edx
cmpq %rcx, %rbx
jg LBB1_156
## %bb.182: ## in Loop: Header=BB1_155 Depth=5
movb 5(%r12,%r10), %r8b
jmp LBB1_185
.p2align 4, 0x90
LBB1_183: ## in Loop: Header=BB1_185 Depth=6
leaq 1(%rsi), %rbx
LBB1_184: ## in Loop: Header=BB1_185 Depth=6
movl $5, %edx
cmpq %rcx, %rbx
jg LBB1_163
LBB1_185: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## => This Inner Loop Header: Depth=6
leaq (%rbx,%rcx), %rsi
sarq %rsi
leaq (%rsi,%rsi,8), %rdx
cmpb 4(%r12,%rdx), %r8b
jg LBB1_183
## %bb.186: ## in Loop: Header=BB1_185 Depth=6
jge LBB1_188
## %bb.187: ## in Loop: Header=BB1_185 Depth=6
leaq -1(%rsi), %rcx
jmp LBB1_184
LBB1_188: ## in Loop: Header=BB1_155 Depth=5
movq _m@GOTPCREL(%rip), %rax
movq %rsi, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rsi, 400(%rax)
movq $4, (%r11)
shlq $4, %rdx
movq 80(%r13,%rdx), %r10
movq _b6@GOTPCREL(%rip), %rax
movq %r10, (%rax)
movq 88(%r13,%rdx), %r8
movq _e6@GOTPCREL(%rip), %rax
movq %r8, (%rax)
movq _w6@GOTPCREL(%rip), %rax
movq %r10, (%rax)
cmpq %r8, %r10
movq _w4@GOTPCREL(%rip), %rcx
jg LBB1_165
## %bb.189: ## in Loop: Header=BB1_155 Depth=5
movq _w6@GOTPCREL(%rip), %r15
LBB1_190: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## => This Loop Header: Depth=6
## Child Loop BB1_194 Depth 7
## Child Loop BB1_205 Depth 7
## Child Loop BB1_213 Depth 7
## Child Loop BB1_217 Depth 7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movq _failed_check@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq (%rdi,%rdi,8), %rax
shlq $4, %rax
movq 80(%r13,%rax), %rcx
movq 88(%r13,%rax), %rsi
movl $8, %eax
cmpq %rsi, %rcx
jle LBB1_192
LBB1_191: ## in Loop: Header=BB1_190 Depth=6
movq %rax, (%r11)
jmp LBB1_199
LBB1_192: ## in Loop: Header=BB1_190 Depth=6
leaq (%r10,%r10,8), %r9
movb 8(%r12,%r9), %bl
jmp LBB1_194
.p2align 4, 0x90
LBB1_193: ## in Loop: Header=BB1_194 Depth=7
leaq 1(%rdi), %rcx
cmpq %rsi, %rcx
jg LBB1_197
LBB1_194: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## => This Inner Loop Header: Depth=7
leaq (%rcx,%rsi), %rdi
sarq %rdi
leaq (%rdi,%rdi,8), %rax
cmpb 5(%r12,%rax), %bl
jg LBB1_193
## %bb.195: ## in Loop: Header=BB1_194 Depth=7
jge LBB1_202
## %bb.196: ## in Loop: Header=BB1_194 Depth=7
leaq -1(%rdi), %rsi
cmpq %rsi, %rcx
jle LBB1_194
LBB1_197: ## in Loop: Header=BB1_190 Depth=6
movl $8, %eax
movq %rdi, %rcx
LBB1_198: ## in Loop: Header=BB1_190 Depth=6
movq %rax, (%r11)
movq _m@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB1_199: ## in Loop: Header=BB1_190 Depth=6
movq _failed_check@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _w4@GOTPCREL(%rip), %rcx
LBB1_200: ## in Loop: Header=BB1_190 Depth=6
movq %r10, %rax
incq %r10
movq %r10, (%r15)
cmpq %r8, %rax
jge LBB1_255
## %bb.201: ## in Loop: Header=BB1_190 Depth=6
movq _k@GOTPCREL(%rip), %rax
movq 424(%rax), %rdi
movq _x@GOTPCREL(%rip), %r11
jmp LBB1_190
LBB1_202: ## in Loop: Header=BB1_190 Depth=6
movq _m@GOTPCREL(%rip), %rax
movq %rdi, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rdi, 496(%rax)
movq 416(%rax), %rax
leaq (%rax,%rax,8), %rax
shlq $4, %rax
movq 80(%r13,%rax), %rbx
movq 88(%r13,%rax), %rsi
movl $7, %eax
cmpq %rsi, %rbx
jg LBB1_191
## %bb.203: ## in Loop: Header=BB1_190 Depth=6
movb 7(%r12,%r9), %al
jmp LBB1_205
LBB1_204: ## in Loop: Header=BB1_205 Depth=7
leaq 1(%rcx), %rbx
cmpq %rsi, %rbx
jg LBB1_208
LBB1_205: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## => This Inner Loop Header: Depth=7
leaq (%rbx,%rsi), %rcx
sarq %rcx
leaq (%rcx,%rcx,8), %rdx
cmpb 5(%r12,%rdx), %al
jg LBB1_204
## %bb.206: ## in Loop: Header=BB1_205 Depth=7
jge LBB1_209
## %bb.207: ## in Loop: Header=BB1_205 Depth=7
leaq -1(%rcx), %rsi
cmpq %rsi, %rbx
jle LBB1_205
LBB1_208: ## in Loop: Header=BB1_190 Depth=6
movl $7, %eax
jmp LBB1_198
LBB1_209: ## in Loop: Header=BB1_190 Depth=6
movq _m@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rcx, 488(%rax)
movq 408(%rax), %rax
leaq (%rax,%rax,8), %rax
shlq $4, %rax
movq 80(%r13,%rax), %rbx
movq 88(%r13,%rax), %rsi
movl $6, %eax
cmpq %rsi, %rbx
jg LBB1_191
## %bb.210: ## in Loop: Header=BB1_190 Depth=6
movb 6(%r12,%r9), %r9b
jmp LBB1_213
LBB1_211: ## in Loop: Header=BB1_213 Depth=7
leaq 1(%rcx), %rbx
LBB1_212: ## in Loop: Header=BB1_213 Depth=7
movl $6, %eax
cmpq %rsi, %rbx
jg LBB1_198
LBB1_213: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## => This Inner Loop Header: Depth=7
leaq (%rbx,%rsi), %rcx
sarq %rcx
leaq (%rcx,%rcx,8), %rdx
cmpb 5(%r12,%rdx), %r9b
jg LBB1_211
## %bb.214: ## in Loop: Header=BB1_213 Depth=7
jge LBB1_216
## %bb.215: ## in Loop: Header=BB1_213 Depth=7
leaq -1(%rcx), %rsi
jmp LBB1_212
LBB1_216: ## in Loop: Header=BB1_190 Depth=6
movq _m@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rcx, 480(%rax)
movq $5, (%r11)
shlq $4, %rdx
movq 96(%r13,%rdx), %r11
movq _b7@GOTPCREL(%rip), %rax
movq %r11, (%rax)
movq 104(%r13,%rdx), %r9
movq _e7@GOTPCREL(%rip), %rax
movq %r9, (%rax)
movq _w7@GOTPCREL(%rip), %rax
movq %r11, (%rax)
cmpq %r9, %r11
movq _w4@GOTPCREL(%rip), %rcx
jg LBB1_200
LBB1_217: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## => This Loop Header: Depth=7
## Child Loop BB1_221 Depth 8
## Child Loop BB1_232 Depth 8
## Child Loop BB1_238 Depth 8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movq _failed_check@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq (%rdi,%rdi,8), %rax
shlq $4, %rax
movq 96(%r13,%rax), %rdi
movq 104(%r13,%rax), %rbx
movl $8, %eax
cmpq %rbx, %rdi
jle LBB1_219
LBB1_218: ## in Loop: Header=BB1_217 Depth=7
movq _x@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB1_226
LBB1_219: ## in Loop: Header=BB1_217 Depth=7
leaq (%r11,%r11,8), %rsi
movb 8(%r12,%rsi), %cl
jmp LBB1_221
LBB1_220: ## in Loop: Header=BB1_221 Depth=8
leaq 1(%rdx), %rdi
cmpq %rbx, %rdi
jg LBB1_224
LBB1_221: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## Parent Loop BB1_217 Depth=7
## => This Inner Loop Header: Depth=8
leaq (%rdi,%rbx), %rdx
sarq %rdx
leaq (%rdx,%rdx,8), %rax
cmpb 6(%r12,%rax), %cl
jg LBB1_220
## %bb.222: ## in Loop: Header=BB1_221 Depth=8
jge LBB1_229
## %bb.223: ## in Loop: Header=BB1_221 Depth=8
leaq -1(%rdx), %rbx
cmpq %rbx, %rdi
jle LBB1_221
LBB1_224: ## in Loop: Header=BB1_217 Depth=7
movl $8, %eax
LBB1_225: ## in Loop: Header=BB1_217 Depth=7
movq _x@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _m@GOTPCREL(%rip), %rax
movq %rdx, (%rax)
LBB1_226: ## in Loop: Header=BB1_217 Depth=7
movq _failed_check@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _w4@GOTPCREL(%rip), %rcx
LBB1_227: ## in Loop: Header=BB1_217 Depth=7
movq %r11, %rax
incq %r11
movq _w7@GOTPCREL(%rip), %rdx
movq %r11, (%rdx)
cmpq %r9, %rax
jge LBB1_254
## %bb.228: ## in Loop: Header=BB1_217 Depth=7
movq _k@GOTPCREL(%rip), %rax
movq 496(%rax), %rdi
jmp LBB1_217
LBB1_229: ## in Loop: Header=BB1_217 Depth=7
movq _m@GOTPCREL(%rip), %rax
movq %rdx, (%rax)
movq _k@GOTPCREL(%rip), %rax
movq %rdx, 568(%rax)
movq 488(%rax), %rax
leaq (%rax,%rax,8), %rax
shlq $4, %rax
movq 96(%r13,%rax), %rdi
movq 104(%r13,%rax), %rbx
movl $7, %eax
cmpq %rbx, %rdi
jg LBB1_218
## %bb.230: ## in Loop: Header=BB1_217 Depth=7
movb 7(%r12,%rsi), %cl
jmp LBB1_232
LBB1_231: ## in Loop: Header=BB1_232 Depth=8
leaq 1(%rsi), %rdi
cmpq %rbx, %rdi
jg LBB1_235
LBB1_232: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## Parent Loop BB1_217 Depth=7
## => This Inner Loop Header: Depth=8
leaq (%rdi,%rbx), %rsi
sarq %rsi
leaq (%rsi,%rsi,8), %rax
cmpb 6(%r12,%rax), %cl
jg LBB1_231
## %bb.233: ## in Loop: Header=BB1_232 Depth=8
jge LBB1_236
## %bb.234: ## in Loop: Header=BB1_232 Depth=8
leaq -1(%rsi), %rbx
cmpq %rbx, %rdi
jle LBB1_232
LBB1_235: ## in Loop: Header=BB1_217 Depth=7
movl $7, %eax
movq %rsi, %rdx
jmp LBB1_225
LBB1_236: ## in Loop: Header=BB1_217 Depth=7
movq _m@GOTPCREL(%rip), %rcx
movq %rsi, (%rcx)
movq _k@GOTPCREL(%rip), %rcx
movq %rsi, 560(%rcx)
movq _x@GOTPCREL(%rip), %rcx
movq $6, (%rcx)
shlq $4, %rax
movq 112(%r13,%rax), %rsi
movq _b8@GOTPCREL(%rip), %rcx
movq %rsi, (%rcx)
movq 120(%r13,%rax), %r8
movq _e8@GOTPCREL(%rip), %rax
movq %r8, (%rax)
movq _w8@GOTPCREL(%rip), %rax
movq %rsi, (%rax)
cmpq %r8, %rsi
movq _w4@GOTPCREL(%rip), %rcx
jg LBB1_227
## %bb.237: ## in Loop: Header=BB1_217 Depth=7
movq _x@GOTPCREL(%rip), %r9
movq _w7@GOTPCREL(%rip), %r10
movq _w8@GOTPCREL(%rip), %r11
LBB1_238: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## Parent Loop BB1_217 Depth=7
## => This Loop Header: Depth=8
## Child Loop BB1_242 Depth 9
## Child Loop BB1_251 Depth 9
movq _failed_check@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq (%rdx,%rdx,8), %rcx
shlq $4, %rcx
movq 112(%r13,%rcx), %rax
movq 120(%r13,%rcx), %rcx
cmpq %rcx, %rax
jle LBB1_240
## %bb.239: ## in Loop: Header=BB1_238 Depth=8
movq $8, (%r9)
jmp LBB1_246
LBB1_240: ## in Loop: Header=BB1_238 Depth=8
leaq (%rsi,%rsi,8), %rdx
movb 8(%r12,%rdx), %dl
jmp LBB1_242
LBB1_241: ## in Loop: Header=BB1_242 Depth=9
leaq 1(%rbx), %rax
cmpq %rcx, %rax
jg LBB1_245
LBB1_242: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## Parent Loop BB1_217 Depth=7
## Parent Loop BB1_238 Depth=8
## => This Inner Loop Header: Depth=9
leaq (%rax,%rcx), %rbx
sarq %rbx
leaq (%rbx,%rbx,8), %rdi
cmpb 7(%r12,%rdi), %dl
jg LBB1_241
## %bb.243: ## in Loop: Header=BB1_242 Depth=9
jge LBB1_249
## %bb.244: ## in Loop: Header=BB1_242 Depth=9
leaq -1(%rbx), %rcx
cmpq %rcx, %rax
jle LBB1_242
LBB1_245: ## in Loop: Header=BB1_238 Depth=8
movq $8, (%r9)
movq _m@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
LBB1_246: ## in Loop: Header=BB1_238 Depth=8
movq _failed_check@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _w4@GOTPCREL(%rip), %rcx
LBB1_247: ## in Loop: Header=BB1_238 Depth=8
movq %rsi, %rax
incq %rsi
movq %rsi, (%r11)
cmpq %r8, %rax
jge LBB1_253
## %bb.248: ## in Loop: Header=BB1_238 Depth=8
movq _k@GOTPCREL(%rip), %rax
movq 568(%rax), %rdx
jmp LBB1_238
LBB1_249: ## in Loop: Header=BB1_238 Depth=8
movq _m@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
movq $7, (%r9)
shlq $4, %rdi
movq 128(%r13,%rdi), %rax
movq _b9@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq 136(%r13,%rdi), %rcx
movq _e9@GOTPCREL(%rip), %rdx
movq %rcx, (%rdx)
movq _w9@GOTPCREL(%rip), %rdx
movq %rax, (%rdx)
cmpq %rcx, %rax
movq _w4@GOTPCREL(%rip), %rcx
jg LBB1_247
## %bb.250: ## in Loop: Header=BB1_238 Depth=8
movq _answer_file@GOTPCREL(%rip), %r15
leaq L_.str.5(%rip), %rbx
LBB1_251: ## Parent Loop BB1_109 Depth=1
## Parent Loop BB1_121 Depth=2
## Parent Loop BB1_134 Depth=3
## Parent Loop BB1_148 Depth=4
## Parent Loop BB1_155 Depth=5
## Parent Loop BB1_190 Depth=6
## Parent Loop BB1_217 Depth=7
## Parent Loop BB1_238 Depth=8
## => This Inner Loop Header: Depth=9
movq _total_answers@GOTPCREL(%rip), %rax
incq (%rax)
movq (%r15), %rdi
movq _w1@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w2@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w3@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w4@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq (%r14), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w6@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w7@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w8@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
movq _w9@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq (%rax,%rax,4), %rax
movq _word_list@GOTPCREL(%rip), %rcx
leaq (%rcx,%rax,2), %rdx
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq (%r15), %rdi
callq _fflush
movq _w9@GOTPCREL(%rip), %rdx
movq (%rdx), %rax
leaq 1(%rax), %rcx
movq %rcx, (%rdx)
movq _e9@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB1_251
## %bb.252: ## in Loop: Header=BB1_238 Depth=8
movq _w8@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
movq _e8@GOTPCREL(%rip), %rax
movq (%rax), %r8
movq _x@GOTPCREL(%rip), %r9
movq _w4@GOTPCREL(%rip), %rcx
movq _w6@GOTPCREL(%rip), %r15
movq _w7@GOTPCREL(%rip), %r10
movq %rdx, %r11
jmp LBB1_247
LBB1_253: ## in Loop: Header=BB1_217 Depth=7
movq (%r10), %r11
movq _e7@GOTPCREL(%rip), %rax
movq (%rax), %r9
jmp LBB1_227
LBB1_254: ## in Loop: Header=BB1_190 Depth=6
movq (%r15), %r10
movq _e6@GOTPCREL(%rip), %rax
movq (%rax), %r8
jmp LBB1_200
LBB1_255: ## in Loop: Header=BB1_155 Depth=5
movq (%r14), %r15
movq _e5@GOTPCREL(%rip), %rax
movq (%rax), %r9
movq _x@GOTPCREL(%rip), %r11
jmp LBB1_165
.p2align 4, 0x90
LBB1_256: ## in Loop: Header=BB1_148 Depth=4
movq _w4@GOTPCREL(%rip), %rcx
LBB1_262: ## in Loop: Header=BB1_148 Depth=4
movq %r11, %rax
incq %r11
movq %r11, (%rcx)
cmpq -48(%rbp), %rax ## 8-byte Folded Reload
jge LBB1_264
## %bb.263: ## in Loop: Header=BB1_148 Depth=4
movq _w1@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq (%rcx,%rcx,8), %rax
movb 8(%r12,%rax), %r9b
movq _w2@GOTPCREL(%rip), %rax
movq (%rax), %r10
leaq (%r10,%r10,8), %rax
movb 8(%r12,%rax), %r15b
movq _w3@GOTPCREL(%rip), %rax
movq (%rax), %r13
leaq (,%r13,8), %rax
addq %r13, %rax
movb 8(%r12,%rax), %sil
movq _check4@GOTPCREL(%rip), %r14
jmp LBB1_148
LBB1_261: ## in Loop: Header=BB1_148 Depth=4
movq (%rcx), %r11
movq _e4@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB1_262
LBB1_264: ## in Loop: Header=BB1_134 Depth=3
movq _w3@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
movq _e3@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _check2@GOTPCREL(%rip), %r11
movq _check3@GOTPCREL(%rip), %r14
movq _w1@GOTPCREL(%rip), %rdi
jmp LBB1_144
LBB1_265: ## in Loop: Header=BB1_121 Depth=2
movq _w2@GOTPCREL(%rip), %rcx
movq (%rcx), %r10
movq _e2@GOTPCREL(%rip), %rax
movq (%rax), %r8
movq _total_answers@GOTPCREL(%rip), %r13
leaq L_.str.5(%rip), %r14
jmp LBB1_131
LBB1_266:
movq _answer_file@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
movq (%r13), %rdx
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq _status_file@GOTPCREL(%rip), %r14
movq (%r14), %rdi
leaq L_.str.8(%rip), %rsi
leaq L_.str.9(%rip), %rdx
xorl %eax, %eax
callq _fprintf
movq (%r14), %rdi
callq _fclose
movq (%rbx), %rdi
callq _fclose
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _m,8,3 ## @m
.comm _num_list,331875,4 ## @num_list
.comm _total_answers,8,3 ## @total_answers
.comm _x,8,3 ## @x
.comm _check1,208,4 ## @check1
.comm _y,8,3 ## @y
.comm _check2,5408,4 ## @check2
.comm _z,8,3 ## @z
.comm _check3,140608,4 ## @check3
.comm _zz,8,3 ## @zz
.comm _check4,3655808,4 ## @check4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.comm _word_list,368750,4 ## @word_list
.comm _listing,5310000,4 ## @listing
L_.str.1: ## @.str.1
.asciz "output.9"
L_.str.2: ## @.str.2
.asciz "w"
.comm _answer_file,8,3 ## @answer_file
L_.str.3: ## @.str.3
.asciz "status.9"
.comm _status_file,8,3 ## @status_file
.comm _w1,8,3 ## @w1
L_.str.4: ## @.str.4
.asciz "%s %d\n"
.comm _b2,8,3 ## @b2
.comm _e2,8,3 ## @e2
.comm _w2,8,3 ## @w2
.comm _b3,8,3 ## @b3
.comm _e3,8,3 ## @e3
.comm _w3,8,3 ## @w3
.comm _b4,8,3 ## @b4
.comm _e4,8,3 ## @e4
.comm _w4,8,3 ## @w4
.comm _k,648,4 ## @k
.comm _b5,8,3 ## @b5
.comm _e5,8,3 ## @e5
.comm _w5,8,3 ## @w5
.comm _failed_check,4,2 ## @failed_check
.comm _b6,8,3 ## @b6
.comm _e6,8,3 ## @e6
.comm _w6,8,3 ## @w6
.comm _b7,8,3 ## @b7
.comm _e7,8,3 ## @e7
.comm _w7,8,3 ## @w7
.comm _b8,8,3 ## @b8
.comm _e8,8,3 ## @e8
.comm _w8,8,3 ## @w8
.comm _b9,8,3 ## @b9
.comm _e9,8,3 ## @e9
.comm _w9,8,3 ## @w9
L_.str.5: ## @.str.5
.asciz "%s\n"
L_.str.6: ## @.str.6
.asciz "%s\n\n"
L_.str.7: ## @.str.7
.asciz "A total of %d 9-squares were found.\n"
L_.str.8: ## @.str.8
.asciz "\n%s\n"
L_.str.9: ## @.str.9
.asciz "Finished."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _in_list ; -- Begin function in_list
.p2align 2
_in_list: ; @in_list
.cfi_startproc
; %bb.0:
; kill: def $w3 killed $w3 def $x3
cmp x1, x2
b.le LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
sxtb w9, w0
sxtw x10, w3
Lloh0:
adrp x11, _num_list@GOTPAGE
Lloh1:
ldr x11, [x11, _num_list@GOTPAGEOFF]
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x1, x8, #1
cmp x1, x2
b.gt LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x8, x2, x1
asr x8, x8, #1
add x12, x8, x8, lsl #3
add x12, x11, x12
ldrsb w12, [x12, x10]
cmp w9, w12
b.gt LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
b.ge LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub x2, x8, #1
cmp x1, x2
b.le LBB0_4
LBB0_7:
mov w0, #0
b LBB0_9
LBB0_8:
mov w0, #1
LBB0_9:
Lloh2:
adrp x9, _m@GOTPAGE
Lloh3:
ldr x9, [x9, _m@GOTPAGEOFF]
Lloh4:
str x8, [x9]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh2, 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 d9, d8, [sp, #16] ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh5:
adrp x8, _total_answers@GOTPAGE
Lloh6:
ldr x8, [x8, _total_answers@GOTPAGEOFF]
Lloh7:
str xzr, [x8]
Lloh8:
adrp x8, _check1@GOTPAGE
Lloh9:
ldr x8, [x8, _check1@GOTPAGEOFF]
movi.2d v0, #0000000000000000
stp q0, q0, [x8]
stp q0, q0, [x8, #32]
stp q0, q0, [x8, #64]
stp q0, q0, [x8, #96]
stp q0, q0, [x8, #128]
stp q0, q0, [x8, #160]
str q0, [x8, #192]
Lloh10:
adrp x0, _check2@GOTPAGE
Lloh11:
ldr x0, [x0, _check2@GOTPAGEOFF]
mov w23, #5408
mov w1, #5408
bl _bzero
Lloh12:
adrp x0, _check3@GOTPAGE
Lloh13:
ldr x0, [x0, _check3@GOTPAGEOFF]
mov w1, #9536
movk w1, #2, lsl #16
bl _bzero
Lloh14:
adrp x19, _check4@GOTPAGE
Lloh15:
ldr x19, [x19, _check4@GOTPAGEOFF]
mov x0, x19
mov w1, #51328
movk w1, #55, lsl #16
bl _bzero
Lloh16:
adrp x30, _y@GOTPAGE
Lloh17:
ldr x30, [x30, _y@GOTPAGEOFF]
mov w8, #26
str x8, [x30]
Lloh18:
adrp x9, _z@GOTPAGE
Lloh19:
ldr x9, [x9, _z@GOTPAGEOFF]
Lloh20:
str x8, [x9]
Lloh21:
adrp x9, _zz@GOTPAGE
Lloh22:
ldr x9, [x9, _zz@GOTPAGEOFF]
Lloh23:
str x8, [x9]
Lloh24:
adrp x28, _x@GOTPAGE
Lloh25:
ldr x28, [x28, _x@GOTPAGEOFF]
mov w8, #1
str x8, [x28]
mov w27, #10
Lloh26:
adrp x25, _word_list@GOTPAGE
Lloh27:
ldr x25, [x25, _word_list@GOTPAGEOFF]
Lloh28:
adrp x22, l_.str@PAGE
Lloh29:
add x22, x22, l_.str@PAGEOFF
movi.8b v8, #159
mov w20, #9
mov w21, #208
mov w26, #36874
LBB1_1: ; =>This Inner Loop Header: Depth=1
madd x8, x8, x27, x25
str x8, [sp]
mov x0, x22
mov x24, x30
bl _scanf
mov x30, x24
Lloh30:
adrp x11, _num_list@GOTPAGE
Lloh31:
ldr x11, [x11, _num_list@GOTPAGEOFF]
ldr x9, [x28]
madd x8, x9, x27, x25
add x10, x9, x9, lsl #3
add x10, x11, x10
ldr d0, [x8]
add.8b v0, v0, v8
str d0, [x10]
ldrb w8, [x8, #8]
sub w8, w8, #97
strb w8, [x10, #8]
smov.b x8, v0[0]
str x20, [x24]
Lloh32:
adrp x10, _check1@GOTPAGE
Lloh33:
ldr x10, [x10, _check1@GOTPAGEOFF]
str x9, [x10, x8, lsl #3]
smov.b x10, v0[1]
Lloh34:
adrp x11, _check2@GOTPAGE
Lloh35:
ldr x11, [x11, _check2@GOTPAGEOFF]
madd x11, x8, x21, x11
str x9, [x11, x10, lsl #3]
smov.b x11, v0[2]
Lloh36:
adrp x12, _check3@GOTPAGE
Lloh37:
ldr x12, [x12, _check3@GOTPAGEOFF]
madd x12, x8, x23, x12
madd x12, x10, x21, x12
str x9, [x12, x11, lsl #3]
smov.b x12, v0[3]
mov w13, #9536
movk w13, #2, lsl #16
madd x8, x8, x13, x19
madd x8, x10, x23, x8
madd x8, x11, x21, x8
str x9, [x8, x12, lsl #3]
add x8, x9, #1
str x8, [x28]
cmp x9, x26
b.lt LBB1_1
; %bb.2:
Lloh38:
adrp x23, _listing@GOTPAGE
Lloh39:
ldr x23, [x23, _listing@GOTPAGEOFF]
mov w11, #1
mov x8, x23
str x11, [x8, #160]!
str x11, [x8, #16]
str x11, [x8, #32]
str x11, [x8, #48]
str x11, [x8, #64]
str x11, [x8, #80]
str x11, [x8, #96]
str x11, [x8, #112]
Lloh40:
adrp x24, _z@GOTPAGE
Lloh41:
ldr x24, [x24, _z@GOTPAGEOFF]
ldr x15, [x24]
add x9, x8, #128
mov w10, #2
ldrb w1, [x25, #10]
mov w12, #10
mov w13, #9
mov w14, #144
mov w16, #36875
Lloh42:
adrp x27, _check1@GOTPAGE
Lloh43:
ldr x27, [x27, _check1@GOTPAGEOFF]
Lloh44:
adrp x26, _zz@GOTPAGE
Lloh45:
ldr x26, [x26, _zz@GOTPAGEOFF]
b LBB1_5
LBB1_3: ; in Loop: Header=BB1_5 Depth=1
str x7, [x26]
mov w2, #9
LBB1_4: ; in Loop: Header=BB1_5 Depth=1
add x10, x10, #1
add x8, x8, #144
add x9, x9, #144
mov x1, x0
mov x11, x17
cmp x10, x16
b.eq LBB1_45
LBB1_5: ; =>This Loop Header: Depth=1
; Child Loop BB1_26 Depth 2
; Child Loop BB1_30 Depth 2
; Child Loop BB1_33 Depth 2
; Child Loop BB1_37 Depth 2
; Child Loop BB1_40 Depth 3
; Child Loop BB1_43 Depth 3
add x17, x11, #1
mul x0, x17, x12
ldrb w0, [x25, x0]
cmp w1, w0
b.ne LBB1_15
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #1]
madd x2, x17, x12, x25
ldrb w2, [x2, #1]
cmp w1, w2
b.ne LBB1_16
; %bb.7: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #2]
madd x2, x17, x12, x25
ldrb w2, [x2, #2]
cmp w1, w2
b.ne LBB1_17
; %bb.8: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #3]
madd x2, x17, x12, x25
ldrb w2, [x2, #3]
cmp w1, w2
b.ne LBB1_18
; %bb.9: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #4]
madd x2, x17, x12, x25
ldrb w2, [x2, #4]
cmp w1, w2
b.ne LBB1_19
; %bb.10: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #5]
madd x2, x17, x12, x25
ldrb w2, [x2, #5]
cmp w1, w2
b.ne LBB1_20
; %bb.11: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #6]
madd x2, x17, x12, x25
ldrb w2, [x2, #6]
cmp w1, w2
b.ne LBB1_21
; %bb.12: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #7]
madd x2, x17, x12, x25
ldrb w2, [x2, #7]
cmp w1, w2
b.ne LBB1_22
; %bb.13: ; in Loop: Header=BB1_5 Depth=1
madd x1, x11, x12, x25
ldrb w1, [x1, #8]
madd x2, x17, x12, x25
ldrb w2, [x2, #8]
cmp w1, w2
b.eq LBB1_24
; %bb.14: ; in Loop: Header=BB1_5 Depth=1
mov w15, #9
b LBB1_23
LBB1_15: ; in Loop: Header=BB1_5 Depth=1
mov w15, #1
b LBB1_23
LBB1_16: ; in Loop: Header=BB1_5 Depth=1
mov w15, #2
b LBB1_23
LBB1_17: ; in Loop: Header=BB1_5 Depth=1
mov w15, #3
b LBB1_23
LBB1_18: ; in Loop: Header=BB1_5 Depth=1
mov w15, #4
b LBB1_23
LBB1_19: ; in Loop: Header=BB1_5 Depth=1
mov w15, #5
b LBB1_23
LBB1_20: ; in Loop: Header=BB1_5 Depth=1
mov w15, #6
b LBB1_23
LBB1_21: ; in Loop: Header=BB1_5 Depth=1
mov w15, #7
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_5 Depth=1
mov w15, #8
LBB1_23: ; in Loop: Header=BB1_5 Depth=1
str x15, [x24]
LBB1_24: ; in Loop: Header=BB1_5 Depth=1
cmp x15, #2
b.lt LBB1_28
; %bb.25: ; in Loop: Header=BB1_5 Depth=1
mov x1, x8
mov w2, #1
LBB1_26: ; Parent Loop BB1_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x3, [x1]
str x3, [x1, #144]
add x2, x2, #1
add x1, x1, #16
cmp x15, x2
b.ne LBB1_26
; %bb.27: ; in Loop: Header=BB1_5 Depth=1
mov x2, x15
cmp x15, #8
b.gt LBB1_4
LBB1_28: ; in Loop: Header=BB1_5 Depth=1
sub x2, x13, x15
mov x1, x15
cmp x2, #4
b.lo LBB1_32
; %bb.29: ; in Loop: Header=BB1_5 Depth=1
and x3, x2, #0xfffffffffffffffc
add x1, x15, x3
lsl x4, x15, #4
mov x5, x9
mov x6, x3
LBB1_30: ; Parent Loop BB1_5 Depth=1
; => This Inner Loop Header: Depth=2
add x7, x5, x4
str x17, [x7]
str x17, [x7, #16]
str x17, [x7, #32]
str x17, [x7, #48]
add x5, x5, #64
subs x6, x6, #4
b.ne LBB1_30
; %bb.31: ; in Loop: Header=BB1_5 Depth=1
cmp x2, x3
b.eq LBB1_34
LBB1_32: ; in Loop: Header=BB1_5 Depth=1
lsl x2, x1, #4
sub x1, x1, #9
LBB1_33: ; Parent Loop BB1_5 Depth=1
; => This Inner Loop Header: Depth=2
str x17, [x9, x2]
add x2, x2, #16
adds x1, x1, #1
b.lo LBB1_33
LBB1_34: ; in Loop: Header=BB1_5 Depth=1
add x2, x23, x15, lsl #4
add x1, x2, #440
add x2, x2, #8
mov x3, x15
b LBB1_37
LBB1_35: ; in Loop: Header=BB1_37 Depth=2
mov x7, x4
LBB1_36: ; in Loop: Header=BB1_37 Depth=2
add x3, x3, #1
add x1, x1, #16
add x2, x2, #16
cmp x3, #9
b.eq LBB1_3
LBB1_37: ; Parent Loop BB1_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_40 Depth 3
; Child Loop BB1_43 Depth 3
madd x4, x11, x14, x23
lsl x5, x3, #4
ldr x4, [x4, x5]
cmp x4, x11
b.gt LBB1_35
; %bb.38: ; in Loop: Header=BB1_37 Depth=2
sub x5, x10, x4
cmp x5, #4
b.lo LBB1_42
; %bb.39: ; in Loop: Header=BB1_37 Depth=2
and x6, x5, #0xfffffffffffffffc
add x7, x4, x6
add x4, x4, x4, lsl #3
lsl x4, x4, #4
mov x19, x1
mov x20, x6
LBB1_40: ; Parent Loop BB1_5 Depth=1
; Parent Loop BB1_37 Depth=2
; => This Inner Loop Header: Depth=3
add x21, x19, x4
sub x22, x21, #432
str x11, [x22]
sub x22, x21, #288
str x11, [x22]
stur x11, [x21, #-144]
str x11, [x21]
add x19, x19, #576
subs x20, x20, #4
b.ne LBB1_40
; %bb.41: ; in Loop: Header=BB1_37 Depth=2
mov x4, x7
mov x7, x10
cmp x5, x6
b.eq LBB1_36
LBB1_42: ; in Loop: Header=BB1_37 Depth=2
madd x5, x4, x14, x2
LBB1_43: ; Parent Loop BB1_5 Depth=1
; Parent Loop BB1_37 Depth=2
; => This Inner Loop Header: Depth=3
str x11, [x5], #144
add x4, x4, #1
cmp x10, x4
b.ne LBB1_43
; %bb.44: ; in Loop: Header=BB1_37 Depth=2
mov x7, x10
b LBB1_36
LBB1_45:
mov w8, #36874
Lloh46:
adrp x9, _x@GOTPAGE
Lloh47:
ldr x9, [x9, _x@GOTPAGEOFF]
Lloh48:
str x8, [x9]
str x2, [x30]
mov w9, #1456
movk w9, #81, lsl #16
ldr x11, [x23, x9]
cmp x11, x8
b.gt LBB1_52
; %bb.46:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_50
; %bb.47:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_48: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #24]
str x12, [x11, #168]
str x12, [x11, #312]
str x12, [x11, #456]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_48
; %bb.49:
cmp x9, x10
b.eq LBB1_52
LBB1_50:
mov w9, #144
madd x9, x8, x9, x23
add x9, x9, #24
mov x10, #-36875
add x8, x8, x10
mov w10, #36874
LBB1_51: ; =>This Inner Loop Header: Depth=1
str x10, [x9], #144
adds x8, x8, #1
b.lo LBB1_51
LBB1_52:
mov w8, #1472
movk w8, #81, lsl #16
ldr x11, [x23, x8]
mov w8, #36874
cmp x11, x8
b.gt LBB1_59
; %bb.53:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_57
; %bb.54:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_55: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #40]
str x12, [x11, #184]
str x12, [x11, #328]
str x12, [x11, #472]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_55
; %bb.56:
cmp x9, x10
b.eq LBB1_59
LBB1_57:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x8, x8, #40
mov w10, #36874
LBB1_58: ; =>This Inner Loop Header: Depth=1
str x10, [x8], #144
adds x9, x9, #1
b.lo LBB1_58
LBB1_59:
mov w8, #1488
movk w8, #81, lsl #16
ldr x11, [x23, x8]
mov w8, #36874
cmp x11, x8
b.gt LBB1_66
; %bb.60:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_64
; %bb.61:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_62: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #56]
str x12, [x11, #200]
str x12, [x11, #344]
str x12, [x11, #488]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_62
; %bb.63:
cmp x9, x10
b.eq LBB1_66
LBB1_64:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x8, x8, #56
mov w10, #36874
LBB1_65: ; =>This Inner Loop Header: Depth=1
str x10, [x8], #144
adds x9, x9, #1
b.lo LBB1_65
LBB1_66:
mov w8, #1504
movk w8, #81, lsl #16
ldr x11, [x23, x8]
mov w8, #36874
cmp x11, x8
b.gt LBB1_73
; %bb.67:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_71
; %bb.68:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_69: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #72]
str x12, [x11, #216]
str x12, [x11, #360]
str x12, [x11, #504]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_69
; %bb.70:
cmp x9, x10
b.eq LBB1_73
LBB1_71:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x8, x8, #72
mov w10, #36874
LBB1_72: ; =>This Inner Loop Header: Depth=1
str x10, [x8], #144
adds x9, x9, #1
b.lo LBB1_72
LBB1_73:
mov w8, #1520
movk w8, #81, lsl #16
ldr x11, [x23, x8]
mov w8, #36874
cmp x11, x8
b.gt LBB1_80
; %bb.74:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_78
; %bb.75:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_76: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #88]
str x12, [x11, #232]
str x12, [x11, #376]
str x12, [x11, #520]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_76
; %bb.77:
cmp x9, x10
b.eq LBB1_80
LBB1_78:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x8, x8, #88
mov w10, #36874
LBB1_79: ; =>This Inner Loop Header: Depth=1
str x10, [x8], #144
adds x9, x9, #1
b.lo LBB1_79
LBB1_80:
mov w8, #1536
movk w8, #81, lsl #16
ldr x11, [x23, x8]
mov w8, #36874
cmp x11, x8
b.gt LBB1_87
; %bb.81:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_85
; %bb.82:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_83: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #104]
str x12, [x11, #248]
str x12, [x11, #392]
str x12, [x11, #536]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_83
; %bb.84:
cmp x9, x10
b.eq LBB1_87
LBB1_85:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x8, x8, #104
mov w10, #36874
LBB1_86: ; =>This Inner Loop Header: Depth=1
str x10, [x8], #144
adds x9, x9, #1
b.lo LBB1_86
LBB1_87:
mov w8, #1552
movk w8, #81, lsl #16
ldr x11, [x23, x8]
mov w8, #36874
cmp x11, x8
b.gt LBB1_94
; %bb.88:
mov w8, #36875
sub x9, x8, x11
mov x8, x11
cmp x9, #4
b.lo LBB1_92
; %bb.89:
and x10, x9, #0xfffffffffffffffc
add x8, x11, x10
mov w12, #144
madd x11, x11, x12, x23
mov w12, #36874
mov x13, x10
LBB1_90: ; =>This Inner Loop Header: Depth=1
str x12, [x11, #120]
str x12, [x11, #264]
str x12, [x11, #408]
str x12, [x11, #552]
add x11, x11, #576
subs x13, x13, #4
b.ne LBB1_90
; %bb.91:
cmp x9, x10
b.eq LBB1_94
LBB1_92:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x8, x8, #120
mov w10, #36874
LBB1_93: ; =>This Inner Loop Header: Depth=1
str x10, [x8], #144
adds x9, x9, #1
b.lo LBB1_93
LBB1_94:
mov w8, #1568
movk w8, #81, lsl #16
ldr x8, [x23, x8]
mov w9, #36874
cmp x8, x9
b.gt LBB1_102
; %bb.95:
mov w9, #36875
sub x9, x9, x8
cmp x9, #4
b.lo LBB1_100
; %bb.96:
and x10, x9, #0xfffffffffffffffc
add x11, x8, x10
mov w12, #144
madd x8, x8, x12, x23
mov w12, #36874
mov x13, x10
LBB1_97: ; =>This Inner Loop Header: Depth=1
str x12, [x8, #136]
str x12, [x8, #280]
str x12, [x8, #424]
str x12, [x8, #568]
add x8, x8, #576
subs x13, x13, #4
b.ne LBB1_97
; %bb.98:
mov x8, x11
cmp x9, x10
b.ne LBB1_100
; %bb.99:
mov w8, #36875
b LBB1_102
LBB1_100:
mov x9, #-36875
add x9, x8, x9
mov w10, #144
madd x8, x8, x10, x23
add x10, x8, #136
mov w11, #36874
mov w8, #36875
LBB1_101: ; =>This Inner Loop Header: Depth=1
str x11, [x10], #144
adds x9, x9, #1
b.lo LBB1_101
LBB1_102:
mov w9, #9
str x9, [x30]
str x8, [x24]
Lloh49:
adrp x0, l_.str.1@PAGE
Lloh50:
add x0, x0, l_.str.1@PAGEOFF
Lloh51:
adrp x22, l_.str.2@PAGE
Lloh52:
add x22, x22, l_.str.2@PAGEOFF
mov x1, x22
bl _fopen
Lloh53:
adrp x8, _answer_file@GOTPAGE
Lloh54:
ldr x8, [x8, _answer_file@GOTPAGEOFF]
Lloh55:
str x0, [x8]
Lloh56:
adrp x0, l_.str.3@PAGE
Lloh57:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x22
bl _fopen
Lloh58:
adrp x8, _status_file@GOTPAGE
Lloh59:
ldr x8, [x8, _status_file@GOTPAGEOFF]
Lloh60:
str x0, [x8]
Lloh61:
adrp x21, _w1@GOTPAGE
Lloh62:
ldr x21, [x21, _w1@GOTPAGEOFF]
mov w8, #1
str x8, [x21]
mov x24, #55051
movk x24, #28835, lsl #16
movk x24, #2621, lsl #32
movk x24, #41943, lsl #48
mov w7, #25
mov w22, #36875
Lloh63:
adrp x25, _w2@GOTPAGE
Lloh64:
ldr x25, [x25, _w2@GOTPAGEOFF]
mov w20, #208
mov w30, #5408
Lloh65:
adrp x2, _w4@GOTPAGE
Lloh66:
ldr x2, [x2, _w4@GOTPAGEOFF]
Lloh67:
adrp x28, _k@GOTPAGE
Lloh68:
ldr x28, [x28, _k@GOTPAGEOFF]
Lloh69:
adrp x12, _w6@GOTPAGE
Lloh70:
ldr x12, [x12, _w6@GOTPAGEOFF]
Lloh71:
adrp x19, l_.str.5@PAGE
Lloh72:
add x19, x19, l_.str.5@PAGEOFF
mov w8, #1
Lloh73:
adrp x3, _check2@GOTPAGE
Lloh74:
ldr x3, [x3, _check2@GOTPAGEOFF]
Lloh75:
adrp x4, _check3@GOTPAGE
Lloh76:
ldr x4, [x4, _check3@GOTPAGEOFF]
Lloh77:
adrp x26, _check4@GOTPAGE
Lloh78:
ldr x26, [x26, _check4@GOTPAGEOFF]
Lloh79:
adrp x6, _num_list@GOTPAGE
Lloh80:
ldr x6, [x6, _num_list@GOTPAGEOFF]
b LBB1_105
LBB1_103: ; in Loop: Header=BB1_105 Depth=1
Lloh81:
adrp x12, _w6@GOTPAGE
Lloh82:
ldr x12, [x12, _w6@GOTPAGEOFF]
LBB1_104: ; in Loop: Header=BB1_105 Depth=1
add x9, x8, #1
str x9, [x21]
cmp x8, x22
mov x8, x9
b.ge LBB1_256
LBB1_105: ; =>This Loop Header: Depth=1
; Child Loop BB1_117 Depth 2
; Child Loop BB1_126 Depth 3
; Child Loop BB1_137 Depth 4
; Child Loop BB1_144 Depth 5
; Child Loop BB1_148 Depth 6
; Child Loop BB1_160 Depth 6
; Child Loop BB1_169 Depth 6
; Child Loop BB1_177 Depth 6
; Child Loop BB1_181 Depth 6
; Child Loop BB1_185 Depth 7
; Child Loop BB1_197 Depth 7
; Child Loop BB1_206 Depth 7
; Child Loop BB1_210 Depth 7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
smulh x9, x8, x24
add x9, x9, x8
asr x10, x9, #4
add x9, x10, x9, lsr #63
msub x9, x9, x7, x8
cmp x9, #1
b.ne LBB1_107
; %bb.106: ; in Loop: Header=BB1_105 Depth=1
Lloh83:
adrp x22, _status_file@GOTPAGE
Lloh84:
ldr x22, [x22, _status_file@GOTPAGEOFF]
ldr x0, [x22]
Lloh85:
adrp x24, _word_list@GOTPAGE
Lloh86:
ldr x24, [x24, _word_list@GOTPAGEOFF]
mov w9, #10
madd x9, x8, x9, x24
stp x9, x8, [sp]
mov w20, #10
Lloh87:
adrp x28, l_.str.4@PAGE
Lloh88:
add x28, x28, l_.str.4@PAGEOFF
mov x1, x28
mov x26, x19
mov x19, x12
bl _fprintf
ldr x8, [x21]
madd x9, x8, x20, x24
mov w20, #208
mov x24, #55051
movk x24, #28835, lsl #16
movk x24, #2621, lsl #32
movk x24, #41943, lsl #48
stp x9, x8, [sp]
mov x0, x28
Lloh89:
adrp x28, _k@GOTPAGE
Lloh90:
ldr x28, [x28, _k@GOTPAGEOFF]
bl _printf
ldr x0, [x22]
mov w22, #36875
bl _fflush
mov x12, x19
mov x19, x26
Lloh91:
adrp x2, _w4@GOTPAGE
Lloh92:
ldr x2, [x2, _w4@GOTPAGEOFF]
mov w30, #5408
mov w7, #25
Lloh93:
adrp x6, _num_list@GOTPAGE
Lloh94:
ldr x6, [x6, _num_list@GOTPAGEOFF]
Lloh95:
adrp x26, _check4@GOTPAGE
Lloh96:
ldr x26, [x26, _check4@GOTPAGEOFF]
Lloh97:
adrp x4, _check3@GOTPAGE
Lloh98:
ldr x4, [x4, _check3@GOTPAGEOFF]
Lloh99:
adrp x3, _check2@GOTPAGE
Lloh100:
ldr x3, [x3, _check2@GOTPAGEOFF]
ldr x8, [x21]
LBB1_107: ; in Loop: Header=BB1_105 Depth=1
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrsb x10, [x9, #8]
ldr x11, [x27, x10, lsl #3]
cbz x11, LBB1_104
; %bb.108: ; in Loop: Header=BB1_105 Depth=1
ldrsb x9, [x9, #7]
ldr x9, [x27, x9, lsl #3]
cbz x9, LBB1_104
; %bb.109: ; in Loop: Header=BB1_105 Depth=1
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrsb x11, [x9, #6]
ldr x11, [x27, x11, lsl #3]
cbz x11, LBB1_104
; %bb.110: ; in Loop: Header=BB1_105 Depth=1
ldrsb x9, [x9, #5]
ldr x9, [x27, x9, lsl #3]
cbz x9, LBB1_104
; %bb.111: ; in Loop: Header=BB1_105 Depth=1
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrsb x11, [x9, #4]
ldr x11, [x27, x11, lsl #3]
cbz x11, LBB1_104
; %bb.112: ; in Loop: Header=BB1_105 Depth=1
ldrsb x9, [x9, #3]
ldr x9, [x27, x9, lsl #3]
cbz x9, LBB1_104
; %bb.113: ; in Loop: Header=BB1_105 Depth=1
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrsb x11, [x9, #2]
ldr x11, [x27, x11, lsl #3]
cbz x11, LBB1_104
; %bb.114: ; in Loop: Header=BB1_105 Depth=1
ldrsb x9, [x9, #1]
ldr x9, [x27, x9, lsl #3]
Lloh101:
adrp x11, _m@GOTPAGE
Lloh102:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh103:
str x9, [x11]
cbz x9, LBB1_104
; %bb.115: ; in Loop: Header=BB1_105 Depth=1
mov w11, #144
madd x11, x9, x11, x23
ldp x9, x12, [x11, #16]
Lloh104:
adrp x11, _b2@GOTPAGE
Lloh105:
ldr x11, [x11, _b2@GOTPAGEOFF]
Lloh106:
str x9, [x11]
Lloh107:
adrp x11, _e2@GOTPAGE
Lloh108:
ldr x11, [x11, _e2@GOTPAGEOFF]
Lloh109:
str x12, [x11]
str x9, [x25]
cmp x9, x12
b.gt LBB1_103
; %bb.116: ; in Loop: Header=BB1_105 Depth=1
and w10, w10, #0xff
LBB1_117: ; Parent Loop BB1_105 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_126 Depth 3
; Child Loop BB1_137 Depth 4
; Child Loop BB1_144 Depth 5
; Child Loop BB1_148 Depth 6
; Child Loop BB1_160 Depth 6
; Child Loop BB1_169 Depth 6
; Child Loop BB1_177 Depth 6
; Child Loop BB1_181 Depth 6
; Child Loop BB1_185 Depth 7
; Child Loop BB1_197 Depth 7
; Child Loop BB1_206 Depth 7
; Child Loop BB1_210 Depth 7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
mov x11, x10
sxtb x13, w11
add x11, x9, x9, lsl #3
add x11, x6, x11
ldrsb x14, [x11, #8]
madd x13, x13, x20, x3
ldr x13, [x13, x14, lsl #3]
cbz x13, LBB1_254
; %bb.118: ; in Loop: Header=BB1_117 Depth=2
add x13, x8, x8, lsl #3
add x13, x6, x13
ldrsb x15, [x13, #7]
ldrsb x11, [x11, #7]
madd x15, x15, x20, x3
ldr x11, [x15, x11, lsl #3]
cbz x11, LBB1_254
; %bb.119: ; in Loop: Header=BB1_117 Depth=2
ldrsb x13, [x13, #6]
add x11, x9, x9, lsl #3
add x11, x6, x11
ldrsb x15, [x11, #6]
madd x13, x13, x20, x3
ldr x13, [x13, x15, lsl #3]
cbz x13, LBB1_254
; %bb.120: ; in Loop: Header=BB1_117 Depth=2
add x13, x8, x8, lsl #3
add x13, x6, x13
ldrsb x15, [x13, #5]
ldrsb x11, [x11, #5]
madd x15, x15, x20, x3
ldr x11, [x15, x11, lsl #3]
cbz x11, LBB1_254
; %bb.121: ; in Loop: Header=BB1_117 Depth=2
ldrsb x13, [x13, #4]
add x11, x9, x9, lsl #3
add x11, x6, x11
ldrsb x15, [x11, #4]
madd x13, x13, x20, x3
ldr x13, [x13, x15, lsl #3]
cbz x13, LBB1_254
; %bb.122: ; in Loop: Header=BB1_117 Depth=2
add x13, x8, x8, lsl #3
add x13, x6, x13
ldrsb x15, [x13, #3]
ldrsb x11, [x11, #3]
madd x15, x15, x20, x3
ldr x11, [x15, x11, lsl #3]
cbz x11, LBB1_254
; %bb.123: ; in Loop: Header=BB1_117 Depth=2
ldrsb x11, [x13, #2]
add x13, x9, x9, lsl #3
add x13, x6, x13
ldrsb x13, [x13, #2]
madd x11, x11, x20, x3
ldr x11, [x11, x13, lsl #3]
Lloh110:
adrp x13, _m@GOTPAGE
Lloh111:
ldr x13, [x13, _m@GOTPAGEOFF]
Lloh112:
str x11, [x13]
cbz x11, LBB1_254
; %bb.124: ; in Loop: Header=BB1_117 Depth=2
mov w13, #144
madd x13, x11, x13, x23
ldp x11, x13, [x13, #32]
Lloh113:
adrp x15, _b3@GOTPAGE
Lloh114:
ldr x15, [x15, _b3@GOTPAGEOFF]
Lloh115:
str x11, [x15]
Lloh116:
adrp x15, _e3@GOTPAGE
Lloh117:
ldr x15, [x15, _e3@GOTPAGEOFF]
Lloh118:
str x13, [x15]
Lloh119:
adrp x15, _w3@GOTPAGE
Lloh120:
ldr x15, [x15, _w3@GOTPAGEOFF]
Lloh121:
str x11, [x15]
cmp x11, x13
b.gt LBB1_254
; %bb.125: ; in Loop: Header=BB1_117 Depth=2
and w15, w14, #0xff
LBB1_126: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB1_137 Depth 4
; Child Loop BB1_144 Depth 5
; Child Loop BB1_148 Depth 6
; Child Loop BB1_160 Depth 6
; Child Loop BB1_169 Depth 6
; Child Loop BB1_177 Depth 6
; Child Loop BB1_181 Depth 6
; Child Loop BB1_185 Depth 7
; Child Loop BB1_197 Depth 7
; Child Loop BB1_206 Depth 7
; Child Loop BB1_210 Depth 7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
mov x12, x10
sxtb x14, w12
mov x12, x15
sxtb x17, w12
add x12, x11, x11, lsl #3
add x12, x6, x12
ldrsb x16, [x12, #8]
madd x14, x14, x30, x4
madd x14, x17, x20, x14
ldr x14, [x14, x16, lsl #3]
cbz x14, LBB1_133
; %bb.127: ; in Loop: Header=BB1_126 Depth=3
add x14, x8, x8, lsl #3
add x14, x6, x14
ldrsb x0, [x14, #7]
add x17, x9, x9, lsl #3
add x17, x6, x17
ldrsb x1, [x17, #7]
ldrsb x12, [x12, #7]
madd x0, x0, x30, x4
madd x0, x1, x20, x0
ldr x12, [x0, x12, lsl #3]
cbz x12, LBB1_133
; %bb.128: ; in Loop: Header=BB1_126 Depth=3
ldrsb x14, [x14, #6]
ldrsb x17, [x17, #6]
add x12, x11, x11, lsl #3
add x12, x6, x12
ldrsb x0, [x12, #6]
madd x14, x14, x30, x4
madd x14, x17, x20, x14
ldr x14, [x14, x0, lsl #3]
cbz x14, LBB1_133
; %bb.129: ; in Loop: Header=BB1_126 Depth=3
add x14, x8, x8, lsl #3
add x14, x6, x14
ldrsb x0, [x14, #5]
add x17, x9, x9, lsl #3
add x17, x6, x17
ldrsb x1, [x17, #5]
ldrsb x12, [x12, #5]
madd x0, x0, x30, x4
madd x0, x1, x20, x0
ldr x12, [x0, x12, lsl #3]
cbz x12, LBB1_133
; %bb.130: ; in Loop: Header=BB1_126 Depth=3
ldrsb x14, [x14, #4]
ldrsb x17, [x17, #4]
add x12, x11, x11, lsl #3
add x12, x6, x12
ldrsb x0, [x12, #4]
madd x14, x14, x30, x4
madd x14, x17, x20, x14
ldr x14, [x14, x0, lsl #3]
mov w0, #9536
movk w0, #2, lsl #16
cbz x14, LBB1_133
; %bb.131: ; in Loop: Header=BB1_126 Depth=3
add x14, x8, x8, lsl #3
add x14, x6, x14
ldrsb x14, [x14, #3]
add x17, x9, x9, lsl #3
add x17, x6, x17
ldrsb x17, [x17, #3]
ldrsb x12, [x12, #3]
madd x14, x14, x30, x4
madd x14, x17, x20, x14
ldr x12, [x14, x12, lsl #3]
Lloh122:
adrp x14, _m@GOTPAGE
Lloh123:
ldr x14, [x14, _m@GOTPAGEOFF]
Lloh124:
str x12, [x14]
cbz x12, LBB1_133
; %bb.132: ; in Loop: Header=BB1_126 Depth=3
mov w14, #144
madd x12, x12, x14, x23
ldp x14, x12, [x12, #48]
Lloh125:
adrp x17, _b4@GOTPAGE
Lloh126:
ldr x17, [x17, _b4@GOTPAGEOFF]
Lloh127:
str x14, [x17]
Lloh128:
adrp x17, _e4@GOTPAGE
Lloh129:
ldr x17, [x17, _e4@GOTPAGEOFF]
Lloh130:
str x12, [x17]
str x14, [x2]
cmp x14, x12
b.le LBB1_136
LBB1_133: ; in Loop: Header=BB1_126 Depth=3
Lloh131:
adrp x9, _w3@GOTPAGE
Lloh132:
ldr x9, [x9, _w3@GOTPAGEOFF]
LBB1_134: ; in Loop: Header=BB1_126 Depth=3
add x12, x11, #1
str x12, [x9]
cmp x11, x13
b.ge LBB1_253
; %bb.135: ; in Loop: Header=BB1_126 Depth=3
ldr x8, [x21]
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrb w10, [x9, #8]
ldr x9, [x25]
add x11, x9, x9, lsl #3
add x11, x6, x11
ldrb w15, [x11, #8]
mov x11, x12
b LBB1_126
LBB1_136: ; in Loop: Header=BB1_126 Depth=3
and w13, w16, #0xff
LBB1_137: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB1_144 Depth 5
; Child Loop BB1_148 Depth 6
; Child Loop BB1_160 Depth 6
; Child Loop BB1_169 Depth 6
; Child Loop BB1_177 Depth 6
; Child Loop BB1_181 Depth 6
; Child Loop BB1_185 Depth 7
; Child Loop BB1_197 Depth 7
; Child Loop BB1_206 Depth 7
; Child Loop BB1_210 Depth 7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
sxtb x10, w10
sxtb x15, w15
sxtb x16, w13
add x13, x14, x14, lsl #3
add x13, x6, x13
ldrsb x17, [x13, #8]
madd x10, x10, x0, x26
madd x10, x15, x30, x10
madd x10, x16, x20, x10
ldr x10, [x10, x17, lsl #3]
str x10, [x28, #352]
cbz x10, LBB1_249
; %bb.138: ; in Loop: Header=BB1_137 Depth=4
add x15, x8, x8, lsl #3
add x15, x6, x15
ldrsb x0, [x15, #7]
add x16, x9, x9, lsl #3
add x16, x6, x16
mov w5, #9536
movk w5, #2, lsl #16
ldrsb x1, [x16, #7]
add x17, x11, x11, lsl #3
add x17, x6, x17
ldrsb x2, [x17, #7]
ldrsb x13, [x13, #7]
madd x0, x0, x5, x26
madd x0, x1, x30, x0
madd x0, x2, x20, x0
ldr x13, [x0, x13, lsl #3]
str x13, [x28, #344]
cbz x13, LBB1_248
; %bb.139: ; in Loop: Header=BB1_137 Depth=4
ldrsb x15, [x15, #6]
ldrsb x16, [x16, #6]
ldrsb x17, [x17, #6]
add x13, x14, x14, lsl #3
add x13, x6, x13
ldrsb x0, [x13, #6]
madd x15, x15, x5, x26
madd x15, x16, x30, x15
madd x15, x17, x20, x15
ldr x15, [x15, x0, lsl #3]
str x15, [x28, #336]
Lloh133:
adrp x2, _w4@GOTPAGE
Lloh134:
ldr x2, [x2, _w4@GOTPAGEOFF]
mov w0, #9536
movk w0, #2, lsl #16
cbz x15, LBB1_249
; %bb.140: ; in Loop: Header=BB1_137 Depth=4
add x8, x8, x8, lsl #3
add x8, x6, x8
ldrsb x15, [x8, #5]
add x9, x9, x9, lsl #3
add x9, x6, x9
ldrsb x16, [x9, #5]
add x11, x11, x11, lsl #3
add x11, x6, x11
ldrsb x17, [x11, #5]
ldrsb x13, [x13, #5]
madd x15, x15, x0, x26
madd x15, x16, x30, x15
madd x15, x17, x20, x15
ldr x13, [x15, x13, lsl #3]
str x13, [x28, #328]
Lloh135:
adrp x17, _w5@GOTPAGE
Lloh136:
ldr x17, [x17, _w5@GOTPAGEOFF]
cbz x13, LBB1_249
; %bb.141: ; in Loop: Header=BB1_137 Depth=4
ldrsb x8, [x8, #4]
ldrsb x9, [x9, #4]
ldrsb x11, [x11, #4]
add x13, x14, x14, lsl #3
add x13, x6, x13
ldrsb x13, [x13, #4]
madd x8, x8, x0, x26
madd x8, x9, x30, x8
madd x8, x11, x20, x8
ldr x8, [x8, x13, lsl #3]
str x8, [x28, #320]
cbz x8, LBB1_249
; %bb.142: ; in Loop: Header=BB1_137 Depth=4
Lloh137:
adrp x9, _m@GOTPAGE
Lloh138:
ldr x9, [x9, _m@GOTPAGEOFF]
Lloh139:
str x8, [x9]
mov w9, #144
madd x8, x8, x9, x23
ldp x9, x8, [x8, #64]
Lloh140:
adrp x11, _b5@GOTPAGE
Lloh141:
ldr x11, [x11, _b5@GOTPAGEOFF]
Lloh142:
str x9, [x11]
Lloh143:
adrp x11, _e5@GOTPAGE
Lloh144:
ldr x11, [x11, _e5@GOTPAGEOFF]
Lloh145:
str x8, [x11]
str x9, [x17]
cmp x9, x8
b.gt LBB1_249
; %bb.143: ; in Loop: Header=BB1_137 Depth=4
Lloh146:
adrp x16, _x@GOTPAGE
Lloh147:
ldr x16, [x16, _x@GOTPAGEOFF]
LBB1_144: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; => This Loop Header: Depth=5
; Child Loop BB1_148 Depth 6
; Child Loop BB1_160 Depth 6
; Child Loop BB1_169 Depth 6
; Child Loop BB1_177 Depth 6
; Child Loop BB1_181 Depth 6
; Child Loop BB1_185 Depth 7
; Child Loop BB1_197 Depth 7
; Child Loop BB1_206 Depth 7
; Child Loop BB1_210 Depth 7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
Lloh148:
adrp x11, _failed_check@GOTPAGE
Lloh149:
ldr x11, [x11, _failed_check@GOTPAGEOFF]
Lloh150:
str wzr, [x11]
mov w11, #144
madd x11, x10, x11, x23
ldp x10, x11, [x11, #64]
cmp x10, x11
b.le LBB1_146
; %bb.145: ; in Loop: Header=BB1_144 Depth=5
mov w10, #8
str x10, [x16]
b LBB1_153
LBB1_146: ; in Loop: Header=BB1_144 Depth=5
add x12, x9, x9, lsl #3
add x12, x6, x12
ldrsb w13, [x12, #8]
b LBB1_148
LBB1_147: ; in Loop: Header=BB1_148 Depth=6
add x10, x12, #1
cmp x10, x11
b.gt LBB1_151
LBB1_148: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; => This Inner Loop Header: Depth=6
add x12, x10, x11
asr x12, x12, #1
add x14, x12, x12, lsl #3
add x14, x6, x14
ldrsb w14, [x14, #4]
cmp w13, w14
b.gt LBB1_147
; %bb.149: ; in Loop: Header=BB1_148 Depth=6
b.ge LBB1_156
; %bb.150: ; in Loop: Header=BB1_148 Depth=6
sub x11, x12, #1
cmp x10, x11
b.le LBB1_148
LBB1_151: ; in Loop: Header=BB1_144 Depth=5
mov w15, #8
mov x10, x12
LBB1_152: ; in Loop: Header=BB1_144 Depth=5
str x15, [x16]
Lloh151:
adrp x11, _m@GOTPAGE
Lloh152:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh153:
str x10, [x11]
LBB1_153: ; in Loop: Header=BB1_144 Depth=5
mov w10, #1
Lloh154:
adrp x11, _failed_check@GOTPAGE
Lloh155:
ldr x11, [x11, _failed_check@GOTPAGEOFF]
Lloh156:
str w10, [x11]
LBB1_154: ; in Loop: Header=BB1_144 Depth=5
add x11, x9, #1
str x11, [x17]
cmp x9, x8
b.ge LBB1_251
; %bb.155: ; in Loop: Header=BB1_144 Depth=5
ldr x10, [x28, #352]
mov x9, x11
b LBB1_144
LBB1_156: ; in Loop: Header=BB1_144 Depth=5
Lloh157:
adrp x10, _m@GOTPAGE
Lloh158:
ldr x10, [x10, _m@GOTPAGEOFF]
Lloh159:
str x12, [x10]
str x12, [x28, #424]
ldr x10, [x28, #344]
mov w11, #144
madd x10, x10, x11, x23
ldp x11, x13, [x10, #64]
cmp x11, x13
b.le LBB1_158
; %bb.157: ; in Loop: Header=BB1_144 Depth=5
mov w10, #7
str x10, [x16]
b LBB1_153
LBB1_158: ; in Loop: Header=BB1_144 Depth=5
add x10, x9, x9, lsl #3
add x10, x6, x10
ldrsb w14, [x10, #7]
b LBB1_160
LBB1_159: ; in Loop: Header=BB1_160 Depth=6
add x11, x10, #1
cmp x11, x13
b.gt LBB1_163
LBB1_160: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; => This Inner Loop Header: Depth=6
add x10, x11, x13
asr x10, x10, #1
add x15, x10, x10, lsl #3
add x15, x6, x15
ldrsb w15, [x15, #4]
cmp w14, w15
b.gt LBB1_159
; %bb.161: ; in Loop: Header=BB1_160 Depth=6
b.ge LBB1_164
; %bb.162: ; in Loop: Header=BB1_160 Depth=6
sub x13, x10, #1
cmp x11, x13
b.le LBB1_160
LBB1_163: ; in Loop: Header=BB1_144 Depth=5
mov w15, #7
b LBB1_152
LBB1_164: ; in Loop: Header=BB1_144 Depth=5
Lloh160:
adrp x11, _m@GOTPAGE
Lloh161:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh162:
str x10, [x11]
str x10, [x28, #416]
ldr x10, [x28, #336]
mov w11, #144
madd x10, x10, x11, x23
ldp x11, x13, [x10, #64]
cmp x11, x13
b.le LBB1_166
; %bb.165: ; in Loop: Header=BB1_144 Depth=5
mov w10, #6
str x10, [x16]
b LBB1_153
LBB1_166: ; in Loop: Header=BB1_144 Depth=5
add x10, x9, x9, lsl #3
add x10, x6, x10
ldrsb w14, [x10, #6]
b LBB1_169
LBB1_167: ; in Loop: Header=BB1_169 Depth=6
add x11, x10, #1
LBB1_168: ; in Loop: Header=BB1_169 Depth=6
mov w15, #6
cmp x11, x13
b.gt LBB1_152
LBB1_169: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; => This Inner Loop Header: Depth=6
add x10, x11, x13
asr x10, x10, #1
add x15, x10, x10, lsl #3
add x15, x6, x15
ldrsb w15, [x15, #4]
cmp w14, w15
b.gt LBB1_167
; %bb.170: ; in Loop: Header=BB1_169 Depth=6
b.ge LBB1_172
; %bb.171: ; in Loop: Header=BB1_169 Depth=6
sub x13, x10, #1
b LBB1_168
LBB1_172: ; in Loop: Header=BB1_144 Depth=5
Lloh163:
adrp x11, _m@GOTPAGE
Lloh164:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh165:
str x10, [x11]
str x10, [x28, #408]
ldr x10, [x28, #328]
mov w11, #144
madd x10, x10, x11, x23
ldp x11, x13, [x10, #64]
cmp x11, x13
b.le LBB1_174
; %bb.173: ; in Loop: Header=BB1_144 Depth=5
mov w10, #5
str x10, [x16]
b LBB1_153
LBB1_174: ; in Loop: Header=BB1_144 Depth=5
add x10, x9, x9, lsl #3
add x10, x6, x10
ldrsb w14, [x10, #5]
b LBB1_177
LBB1_175: ; in Loop: Header=BB1_177 Depth=6
add x11, x10, #1
LBB1_176: ; in Loop: Header=BB1_177 Depth=6
mov w15, #5
cmp x11, x13
b.gt LBB1_152
LBB1_177: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; => This Inner Loop Header: Depth=6
add x10, x11, x13
asr x10, x10, #1
add x15, x10, x10, lsl #3
add x15, x6, x15
ldrsb w15, [x15, #4]
cmp w14, w15
b.gt LBB1_175
; %bb.178: ; in Loop: Header=BB1_177 Depth=6
b.ge LBB1_180
; %bb.179: ; in Loop: Header=BB1_177 Depth=6
sub x13, x10, #1
b LBB1_176
LBB1_180: ; in Loop: Header=BB1_144 Depth=5
Lloh166:
adrp x11, _m@GOTPAGE
Lloh167:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh168:
str x10, [x11]
str x10, [x28, #400]
mov w11, #4
str x11, [x16]
mov w11, #144
madd x10, x10, x11, x23
ldp x11, x10, [x10, #80]
Lloh169:
adrp x13, _b6@GOTPAGE
Lloh170:
ldr x13, [x13, _b6@GOTPAGEOFF]
Lloh171:
str x11, [x13]
Lloh172:
adrp x13, _e6@GOTPAGE
Lloh173:
ldr x13, [x13, _e6@GOTPAGEOFF]
Lloh174:
str x10, [x13]
Lloh175:
adrp x13, _w6@GOTPAGE
Lloh176:
ldr x13, [x13, _w6@GOTPAGEOFF]
Lloh177:
str x11, [x13]
cmp x11, x10
b.gt LBB1_154
LBB1_181: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; => This Loop Header: Depth=6
; Child Loop BB1_185 Depth 7
; Child Loop BB1_197 Depth 7
; Child Loop BB1_206 Depth 7
; Child Loop BB1_210 Depth 7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
Lloh178:
adrp x8, _failed_check@GOTPAGE
Lloh179:
ldr x8, [x8, _failed_check@GOTPAGEOFF]
Lloh180:
str wzr, [x8]
mov w8, #144
madd x9, x12, x8, x23
ldp x8, x9, [x9, #80]
cmp x8, x9
b.le LBB1_183
; %bb.182: ; in Loop: Header=BB1_181 Depth=6
mov w8, #8
str x8, [x16]
b LBB1_190
LBB1_183: ; in Loop: Header=BB1_181 Depth=6
add x12, x11, x11, lsl #3
add x12, x6, x12
ldrsb w13, [x12, #8]
b LBB1_185
LBB1_184: ; in Loop: Header=BB1_185 Depth=7
add x8, x12, #1
cmp x8, x9
b.gt LBB1_188
LBB1_185: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; => This Inner Loop Header: Depth=7
add x12, x8, x9
asr x12, x12, #1
add x14, x12, x12, lsl #3
add x14, x6, x14
ldrsb w14, [x14, #5]
cmp w13, w14
b.gt LBB1_184
; %bb.186: ; in Loop: Header=BB1_185 Depth=7
b.ge LBB1_193
; %bb.187: ; in Loop: Header=BB1_185 Depth=7
sub x9, x12, #1
cmp x8, x9
b.le LBB1_185
LBB1_188: ; in Loop: Header=BB1_181 Depth=6
mov w15, #8
mov x8, x12
LBB1_189: ; in Loop: Header=BB1_181 Depth=6
str x15, [x16]
Lloh181:
adrp x9, _m@GOTPAGE
Lloh182:
ldr x9, [x9, _m@GOTPAGEOFF]
Lloh183:
str x8, [x9]
LBB1_190: ; in Loop: Header=BB1_181 Depth=6
mov w8, #1
Lloh184:
adrp x9, _failed_check@GOTPAGE
Lloh185:
ldr x9, [x9, _failed_check@GOTPAGEOFF]
Lloh186:
str w8, [x9]
LBB1_191: ; in Loop: Header=BB1_181 Depth=6
add x8, x11, #1
Lloh187:
adrp x9, _w6@GOTPAGE
Lloh188:
ldr x9, [x9, _w6@GOTPAGEOFF]
Lloh189:
str x8, [x9]
cmp x11, x10
b.ge LBB1_247
; %bb.192: ; in Loop: Header=BB1_181 Depth=6
ldr x12, [x28, #424]
mov x11, x8
b LBB1_181
LBB1_193: ; in Loop: Header=BB1_181 Depth=6
Lloh190:
adrp x8, _m@GOTPAGE
Lloh191:
ldr x8, [x8, _m@GOTPAGEOFF]
Lloh192:
str x12, [x8]
str x12, [x28, #496]
ldr x8, [x28, #416]
mov w9, #144
madd x8, x8, x9, x23
ldp x9, x13, [x8, #80]
cmp x9, x13
b.le LBB1_195
; %bb.194: ; in Loop: Header=BB1_181 Depth=6
mov w8, #7
str x8, [x16]
b LBB1_190
LBB1_195: ; in Loop: Header=BB1_181 Depth=6
add x8, x11, x11, lsl #3
add x8, x6, x8
ldrsb w14, [x8, #7]
b LBB1_197
LBB1_196: ; in Loop: Header=BB1_197 Depth=7
add x9, x8, #1
cmp x9, x13
b.gt LBB1_200
LBB1_197: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; => This Inner Loop Header: Depth=7
add x8, x9, x13
asr x8, x8, #1
add x15, x8, x8, lsl #3
add x15, x6, x15
ldrsb w15, [x15, #5]
cmp w14, w15
b.gt LBB1_196
; %bb.198: ; in Loop: Header=BB1_197 Depth=7
b.ge LBB1_201
; %bb.199: ; in Loop: Header=BB1_197 Depth=7
sub x13, x8, #1
cmp x9, x13
b.le LBB1_197
LBB1_200: ; in Loop: Header=BB1_181 Depth=6
mov w15, #7
b LBB1_189
LBB1_201: ; in Loop: Header=BB1_181 Depth=6
Lloh193:
adrp x9, _m@GOTPAGE
Lloh194:
ldr x9, [x9, _m@GOTPAGEOFF]
Lloh195:
str x8, [x9]
str x8, [x28, #488]
ldr x8, [x28, #408]
mov w9, #144
madd x8, x8, x9, x23
ldp x9, x13, [x8, #80]
cmp x9, x13
b.le LBB1_203
; %bb.202: ; in Loop: Header=BB1_181 Depth=6
mov w8, #6
str x8, [x16]
b LBB1_190
LBB1_203: ; in Loop: Header=BB1_181 Depth=6
add x8, x11, x11, lsl #3
add x8, x6, x8
ldrsb w14, [x8, #6]
b LBB1_206
LBB1_204: ; in Loop: Header=BB1_206 Depth=7
add x9, x8, #1
LBB1_205: ; in Loop: Header=BB1_206 Depth=7
mov w15, #6
cmp x9, x13
b.gt LBB1_189
LBB1_206: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; => This Inner Loop Header: Depth=7
add x8, x9, x13
asr x8, x8, #1
add x15, x8, x8, lsl #3
add x15, x6, x15
ldrsb w15, [x15, #5]
cmp w14, w15
b.gt LBB1_204
; %bb.207: ; in Loop: Header=BB1_206 Depth=7
b.ge LBB1_209
; %bb.208: ; in Loop: Header=BB1_206 Depth=7
sub x13, x8, #1
b LBB1_205
LBB1_209: ; in Loop: Header=BB1_181 Depth=6
Lloh196:
adrp x9, _m@GOTPAGE
Lloh197:
ldr x9, [x9, _m@GOTPAGEOFF]
Lloh198:
str x8, [x9]
str x8, [x28, #480]
mov w9, #5
str x9, [x16]
mov w9, #144
madd x8, x8, x9, x23
ldp x9, x8, [x8, #96]
Lloh199:
adrp x13, _b7@GOTPAGE
Lloh200:
ldr x13, [x13, _b7@GOTPAGEOFF]
Lloh201:
str x9, [x13]
Lloh202:
adrp x13, _e7@GOTPAGE
Lloh203:
ldr x13, [x13, _e7@GOTPAGEOFF]
Lloh204:
str x8, [x13]
Lloh205:
adrp x13, _w7@GOTPAGE
Lloh206:
ldr x13, [x13, _w7@GOTPAGEOFF]
Lloh207:
str x9, [x13]
cmp x9, x8
b.gt LBB1_191
LBB1_210: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; => This Loop Header: Depth=7
; Child Loop BB1_214 Depth 8
; Child Loop BB1_226 Depth 8
; Child Loop BB1_231 Depth 8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
Lloh208:
adrp x10, _failed_check@GOTPAGE
Lloh209:
ldr x10, [x10, _failed_check@GOTPAGEOFF]
Lloh210:
str wzr, [x10]
mov w10, #144
madd x10, x12, x10, x23
ldp x11, x12, [x10, #96]
cmp x11, x12
b.le LBB1_212
; %bb.211: ; in Loop: Header=BB1_210 Depth=7
mov w10, #8
str x10, [x16]
b LBB1_219
LBB1_212: ; in Loop: Header=BB1_210 Depth=7
add x10, x9, x9, lsl #3
add x10, x6, x10
ldrsb w13, [x10, #8]
b LBB1_214
LBB1_213: ; in Loop: Header=BB1_214 Depth=8
add x11, x10, #1
cmp x11, x12
b.gt LBB1_217
LBB1_214: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; Parent Loop BB1_210 Depth=7
; => This Inner Loop Header: Depth=8
add x10, x11, x12
asr x10, x10, #1
add x14, x10, x10, lsl #3
add x14, x6, x14
ldrsb w14, [x14, #6]
cmp w13, w14
b.gt LBB1_213
; %bb.215: ; in Loop: Header=BB1_214 Depth=8
b.ge LBB1_222
; %bb.216: ; in Loop: Header=BB1_214 Depth=8
sub x12, x10, #1
cmp x11, x12
b.le LBB1_214
LBB1_217: ; in Loop: Header=BB1_210 Depth=7
mov w11, #8
LBB1_218: ; in Loop: Header=BB1_210 Depth=7
str x11, [x16]
Lloh211:
adrp x11, _m@GOTPAGE
Lloh212:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh213:
str x10, [x11]
LBB1_219: ; in Loop: Header=BB1_210 Depth=7
mov w10, #1
Lloh214:
adrp x11, _failed_check@GOTPAGE
Lloh215:
ldr x11, [x11, _failed_check@GOTPAGEOFF]
Lloh216:
str w10, [x11]
LBB1_220: ; in Loop: Header=BB1_210 Depth=7
add x10, x9, #1
Lloh217:
adrp x11, _w7@GOTPAGE
Lloh218:
ldr x11, [x11, _w7@GOTPAGEOFF]
Lloh219:
str x10, [x11]
cmp x9, x8
b.ge LBB1_246
; %bb.221: ; in Loop: Header=BB1_210 Depth=7
ldr x12, [x28, #496]
mov x9, x10
b LBB1_210
LBB1_222: ; in Loop: Header=BB1_210 Depth=7
Lloh220:
adrp x11, _m@GOTPAGE
Lloh221:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh222:
str x10, [x11]
str x10, [x28, #568]
ldr x11, [x28, #488]
mov w12, #144
madd x12, x11, x12, x23
ldp x11, x12, [x12, #96]
cmp x11, x12
b.le LBB1_224
; %bb.223: ; in Loop: Header=BB1_210 Depth=7
mov w10, #7
str x10, [x16]
b LBB1_219
LBB1_224: ; in Loop: Header=BB1_210 Depth=7
add x13, x9, x9, lsl #3
add x13, x6, x13
ldrsb w14, [x13, #7]
b LBB1_226
LBB1_225: ; in Loop: Header=BB1_226 Depth=8
add x11, x13, #1
cmp x11, x12
b.gt LBB1_229
LBB1_226: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; Parent Loop BB1_210 Depth=7
; => This Inner Loop Header: Depth=8
add x13, x11, x12
asr x13, x13, #1
add x15, x13, x13, lsl #3
add x15, x6, x15
ldrsb w15, [x15, #6]
cmp w14, w15
b.gt LBB1_225
; %bb.227: ; in Loop: Header=BB1_226 Depth=8
b.ge LBB1_230
; %bb.228: ; in Loop: Header=BB1_226 Depth=8
sub x12, x13, #1
cmp x11, x12
b.le LBB1_226
LBB1_229: ; in Loop: Header=BB1_210 Depth=7
mov w11, #7
mov x10, x13
b LBB1_218
LBB1_230: ; in Loop: Header=BB1_210 Depth=7
Lloh223:
adrp x11, _m@GOTPAGE
Lloh224:
ldr x11, [x11, _m@GOTPAGEOFF]
Lloh225:
str x13, [x11]
str x13, [x28, #560]
mov w11, #6
str x11, [x16]
mov w11, #144
madd x11, x13, x11, x23
ldp x12, x11, [x11, #112]
Lloh226:
adrp x13, _b8@GOTPAGE
Lloh227:
ldr x13, [x13, _b8@GOTPAGEOFF]
Lloh228:
str x12, [x13]
Lloh229:
adrp x13, _e8@GOTPAGE
Lloh230:
ldr x13, [x13, _e8@GOTPAGEOFF]
Lloh231:
str x11, [x13]
Lloh232:
adrp x13, _w8@GOTPAGE
Lloh233:
ldr x13, [x13, _w8@GOTPAGEOFF]
Lloh234:
str x12, [x13]
cmp x12, x11
b.gt LBB1_220
LBB1_231: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; Parent Loop BB1_210 Depth=7
; => This Loop Header: Depth=8
; Child Loop BB1_235 Depth 9
; Child Loop BB1_243 Depth 9
Lloh235:
adrp x8, _failed_check@GOTPAGE
Lloh236:
ldr x8, [x8, _failed_check@GOTPAGEOFF]
Lloh237:
str wzr, [x8]
mov w8, #144
madd x9, x10, x8, x23
ldp x8, x9, [x9, #112]
cmp x8, x9
b.le LBB1_233
; %bb.232: ; in Loop: Header=BB1_231 Depth=8
mov w8, #8
str x8, [x16]
b LBB1_239
LBB1_233: ; in Loop: Header=BB1_231 Depth=8
add x10, x12, x12, lsl #3
add x10, x6, x10
ldrsb w13, [x10, #8]
b LBB1_235
LBB1_234: ; in Loop: Header=BB1_235 Depth=9
add x8, x10, #1
cmp x8, x9
b.gt LBB1_238
LBB1_235: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; Parent Loop BB1_210 Depth=7
; Parent Loop BB1_231 Depth=8
; => This Inner Loop Header: Depth=9
add x10, x8, x9
asr x10, x10, #1
add x14, x10, x10, lsl #3
add x14, x6, x14
ldrsb w14, [x14, #7]
cmp w13, w14
b.gt LBB1_234
; %bb.236: ; in Loop: Header=BB1_235 Depth=9
b.ge LBB1_242
; %bb.237: ; in Loop: Header=BB1_235 Depth=9
sub x9, x10, #1
cmp x8, x9
b.le LBB1_235
LBB1_238: ; in Loop: Header=BB1_231 Depth=8
mov w8, #8
str x8, [x16]
Lloh238:
adrp x8, _m@GOTPAGE
Lloh239:
ldr x8, [x8, _m@GOTPAGEOFF]
Lloh240:
str x10, [x8]
LBB1_239: ; in Loop: Header=BB1_231 Depth=8
mov w8, #1
Lloh241:
adrp x9, _failed_check@GOTPAGE
Lloh242:
ldr x9, [x9, _failed_check@GOTPAGEOFF]
Lloh243:
str w8, [x9]
Lloh244:
adrp x9, _w7@GOTPAGE
Lloh245:
ldr x9, [x9, _w7@GOTPAGEOFF]
Lloh246:
adrp x10, _w8@GOTPAGE
Lloh247:
ldr x10, [x10, _w8@GOTPAGEOFF]
LBB1_240: ; in Loop: Header=BB1_231 Depth=8
add x8, x12, #1
str x8, [x10]
cmp x12, x11
b.ge LBB1_245
; %bb.241: ; in Loop: Header=BB1_231 Depth=8
ldr x10, [x28, #568]
mov x12, x8
b LBB1_231
LBB1_242: ; in Loop: Header=BB1_231 Depth=8
Lloh248:
adrp x8, _m@GOTPAGE
Lloh249:
ldr x8, [x8, _m@GOTPAGEOFF]
Lloh250:
str x10, [x8]
mov w8, #7
str x8, [x16]
mov w8, #144
madd x8, x10, x8, x23
ldp x9, x8, [x8, #128]
Lloh251:
adrp x10, _b9@GOTPAGE
Lloh252:
ldr x10, [x10, _b9@GOTPAGEOFF]
Lloh253:
str x9, [x10]
Lloh254:
adrp x10, _e9@GOTPAGE
Lloh255:
ldr x10, [x10, _e9@GOTPAGEOFF]
Lloh256:
str x8, [x10]
Lloh257:
adrp x10, _w9@GOTPAGE
Lloh258:
ldr x10, [x10, _w9@GOTPAGEOFF]
Lloh259:
str x9, [x10]
cmp x9, x8
Lloh260:
adrp x9, _w7@GOTPAGE
Lloh261:
ldr x9, [x9, _w7@GOTPAGEOFF]
Lloh262:
adrp x10, _w8@GOTPAGE
Lloh263:
ldr x10, [x10, _w8@GOTPAGEOFF]
b.gt LBB1_240
LBB1_243: ; Parent Loop BB1_105 Depth=1
; Parent Loop BB1_117 Depth=2
; Parent Loop BB1_126 Depth=3
; Parent Loop BB1_137 Depth=4
; Parent Loop BB1_144 Depth=5
; Parent Loop BB1_181 Depth=6
; Parent Loop BB1_210 Depth=7
; Parent Loop BB1_231 Depth=8
; => This Inner Loop Header: Depth=9
Lloh264:
adrp x9, _total_answers@GOTPAGE
Lloh265:
ldr x9, [x9, _total_answers@GOTPAGEOFF]
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
Lloh266:
adrp x19, _answer_file@GOTPAGE
Lloh267:
ldr x19, [x19, _answer_file@GOTPAGEOFF]
ldr x0, [x19]
ldr x8, [x21]
mov w9, #10
Lloh268:
adrp x28, _word_list@GOTPAGE
Lloh269:
ldr x28, [x28, _word_list@GOTPAGEOFF]
madd x8, x8, x9, x28
str x8, [sp]
Lloh270:
adrp x26, l_.str.5@PAGE
Lloh271:
add x26, x26, l_.str.5@PAGEOFF
mov x1, x26
bl _fprintf
ldr x0, [x19]
ldr x8, [x25]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh272:
adrp x8, _w3@GOTPAGE
Lloh273:
ldr x8, [x8, _w3@GOTPAGEOFF]
Lloh274:
ldr x8, [x8]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh275:
adrp x8, _w4@GOTPAGE
Lloh276:
ldr x8, [x8, _w4@GOTPAGEOFF]
Lloh277:
ldr x8, [x8]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh278:
adrp x8, _w5@GOTPAGE
Lloh279:
ldr x8, [x8, _w5@GOTPAGEOFF]
Lloh280:
ldr x8, [x8]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh281:
adrp x8, _w6@GOTPAGE
Lloh282:
ldr x8, [x8, _w6@GOTPAGEOFF]
Lloh283:
ldr x8, [x8]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh284:
adrp x8, _w7@GOTPAGE
Lloh285:
ldr x8, [x8, _w7@GOTPAGEOFF]
Lloh286:
ldr x8, [x8]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh287:
adrp x8, _w8@GOTPAGE
Lloh288:
ldr x8, [x8, _w8@GOTPAGEOFF]
Lloh289:
ldr x8, [x8]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
mov x1, x26
bl _fprintf
ldr x0, [x19]
Lloh290:
adrp x26, _w9@GOTPAGE
Lloh291:
ldr x26, [x26, _w9@GOTPAGEOFF]
ldr x8, [x26]
mov w9, #10
madd x8, x8, x9, x28
str x8, [sp]
Lloh292:
adrp x1, l_.str.6@PAGE
Lloh293:
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
ldr x0, [x19]
bl _fflush
ldr x8, [x26]
add x9, x8, #1
str x9, [x26]
Lloh294:
adrp x9, _e9@GOTPAGE
Lloh295:
ldr x9, [x9, _e9@GOTPAGEOFF]
Lloh296:
ldr x9, [x9]
cmp x8, x9
b.lt LBB1_243
; %bb.244: ; in Loop: Header=BB1_231 Depth=8
Lloh297:
adrp x10, _w8@GOTPAGE
Lloh298:
ldr x10, [x10, _w8@GOTPAGEOFF]
ldr x12, [x10]
Lloh299:
adrp x8, _e8@GOTPAGE
Lloh300:
ldr x8, [x8, _e8@GOTPAGEOFF]
Lloh301:
ldr x11, [x8]
Lloh302:
adrp x3, _check2@GOTPAGE
Lloh303:
ldr x3, [x3, _check2@GOTPAGEOFF]
Lloh304:
adrp x4, _check3@GOTPAGE
Lloh305:
ldr x4, [x4, _check3@GOTPAGEOFF]
Lloh306:
adrp x26, _check4@GOTPAGE
Lloh307:
ldr x26, [x26, _check4@GOTPAGEOFF]
Lloh308:
adrp x16, _x@GOTPAGE
Lloh309:
ldr x16, [x16, _x@GOTPAGEOFF]
Lloh310:
adrp x6, _num_list@GOTPAGE
Lloh311:
ldr x6, [x6, _num_list@GOTPAGEOFF]
mov w7, #25
mov w30, #5408
Lloh312:
adrp x2, _w4@GOTPAGE
Lloh313:
ldr x2, [x2, _w4@GOTPAGEOFF]
mov w0, #9536
movk w0, #2, lsl #16
Lloh314:
adrp x28, _k@GOTPAGE
Lloh315:
ldr x28, [x28, _k@GOTPAGEOFF]
Lloh316:
adrp x17, _w5@GOTPAGE
Lloh317:
ldr x17, [x17, _w5@GOTPAGEOFF]
Lloh318:
adrp x9, _w7@GOTPAGE
Lloh319:
ldr x9, [x9, _w7@GOTPAGEOFF]
Lloh320:
adrp x19, l_.str.5@PAGE
Lloh321:
add x19, x19, l_.str.5@PAGEOFF
b LBB1_240
LBB1_245: ; in Loop: Header=BB1_210 Depth=7
ldr x9, [x9]
Lloh322:
adrp x8, _e7@GOTPAGE
Lloh323:
ldr x8, [x8, _e7@GOTPAGEOFF]
Lloh324:
ldr x8, [x8]
b LBB1_220
LBB1_246: ; in Loop: Header=BB1_181 Depth=6
Lloh325:
adrp x8, _w6@GOTPAGE
Lloh326:
ldr x8, [x8, _w6@GOTPAGEOFF]
Lloh327:
ldr x11, [x8]
Lloh328:
adrp x8, _e6@GOTPAGE
Lloh329:
ldr x8, [x8, _e6@GOTPAGEOFF]
Lloh330:
ldr x10, [x8]
b LBB1_191
LBB1_247: ; in Loop: Header=BB1_144 Depth=5
ldr x9, [x17]
Lloh331:
adrp x8, _e5@GOTPAGE
Lloh332:
ldr x8, [x8, _e5@GOTPAGEOFF]
Lloh333:
ldr x8, [x8]
b LBB1_154
LBB1_248: ; in Loop: Header=BB1_137 Depth=4
Lloh334:
adrp x2, _w4@GOTPAGE
Lloh335:
ldr x2, [x2, _w4@GOTPAGEOFF]
mov w0, #9536
movk w0, #2, lsl #16
LBB1_249: ; in Loop: Header=BB1_137 Depth=4
add x16, x14, #1
str x16, [x2]
cmp x14, x12
b.ge LBB1_252
; %bb.250: ; in Loop: Header=BB1_137 Depth=4
ldr x8, [x21]
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrb w10, [x9, #8]
ldr x9, [x25]
add x11, x9, x9, lsl #3
add x11, x6, x11
ldrb w15, [x11, #8]
Lloh336:
adrp x11, _w3@GOTPAGE
Lloh337:
ldr x11, [x11, _w3@GOTPAGEOFF]
Lloh338:
ldr x11, [x11]
add x13, x11, x11, lsl #3
add x13, x6, x13
ldrb w13, [x13, #8]
mov x14, x16
b LBB1_137
LBB1_251: ; in Loop: Header=BB1_137 Depth=4
ldr x14, [x2]
Lloh339:
adrp x8, _e4@GOTPAGE
Lloh340:
ldr x8, [x8, _e4@GOTPAGEOFF]
Lloh341:
ldr x12, [x8]
b LBB1_249
LBB1_252: ; in Loop: Header=BB1_126 Depth=3
Lloh342:
adrp x9, _w3@GOTPAGE
Lloh343:
ldr x9, [x9, _w3@GOTPAGEOFF]
ldr x11, [x9]
Lloh344:
adrp x8, _e3@GOTPAGE
Lloh345:
ldr x8, [x8, _e3@GOTPAGEOFF]
Lloh346:
ldr x13, [x8]
b LBB1_134
LBB1_253: ; in Loop: Header=BB1_117 Depth=2
ldr x9, [x25]
Lloh347:
adrp x8, _e2@GOTPAGE
Lloh348:
ldr x8, [x8, _e2@GOTPAGEOFF]
Lloh349:
ldr x12, [x8]
LBB1_254: ; in Loop: Header=BB1_117 Depth=2
add x11, x9, #1
str x11, [x25]
ldr x8, [x21]
cmp x9, x12
b.ge LBB1_103
; %bb.255: ; in Loop: Header=BB1_117 Depth=2
add x9, x8, x8, lsl #3
add x9, x6, x9
ldrb w10, [x9, #8]
mov x9, x11
b LBB1_117
LBB1_256:
Lloh350:
adrp x21, _answer_file@GOTPAGE
Lloh351:
ldr x21, [x21, _answer_file@GOTPAGEOFF]
ldr x0, [x21]
Lloh352:
adrp x8, _total_answers@GOTPAGE
Lloh353:
ldr x8, [x8, _total_answers@GOTPAGEOFF]
Lloh354:
ldr x8, [x8]
str x8, [sp]
Lloh355:
adrp x1, l_.str.7@PAGE
Lloh356:
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
Lloh357:
adrp x20, _status_file@GOTPAGE
Lloh358:
ldr x20, [x20, _status_file@GOTPAGEOFF]
ldr x0, [x20]
Lloh359:
adrp x8, l_.str.9@PAGE
Lloh360:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
Lloh361:
adrp x1, l_.str.8@PAGE
Lloh362:
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
ldr x0, [x20]
bl _fclose
ldr x0, [x21]
bl _fclose
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
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotStr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdrGot Lloh42, Lloh43
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdrGotStr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGot Lloh79, Lloh80
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGot Lloh75, Lloh76
.loh AdrpLdrGot Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpLdrGotStr Lloh58, Lloh59, Lloh60
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotStr Lloh53, Lloh54, Lloh55
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGot Lloh99, Lloh100
.loh AdrpLdrGot Lloh97, Lloh98
.loh AdrpLdrGot Lloh95, Lloh96
.loh AdrpLdrGot Lloh93, Lloh94
.loh AdrpLdrGot Lloh91, Lloh92
.loh AdrpLdrGot Lloh89, Lloh90
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGot Lloh83, Lloh84
.loh AdrpLdrGotStr Lloh101, Lloh102, Lloh103
.loh AdrpLdrGotStr Lloh107, Lloh108, Lloh109
.loh AdrpLdrGotStr Lloh104, Lloh105, Lloh106
.loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112
.loh AdrpLdrGotStr Lloh119, Lloh120, Lloh121
.loh AdrpLdrGotStr Lloh116, Lloh117, Lloh118
.loh AdrpLdrGotStr Lloh113, Lloh114, Lloh115
.loh AdrpLdrGotStr Lloh122, Lloh123, Lloh124
.loh AdrpLdrGotStr Lloh128, Lloh129, Lloh130
.loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127
.loh AdrpLdrGot Lloh131, Lloh132
.loh AdrpLdrGot Lloh133, Lloh134
.loh AdrpLdrGot Lloh135, Lloh136
.loh AdrpLdrGotStr Lloh143, Lloh144, Lloh145
.loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142
.loh AdrpLdrGotStr Lloh137, Lloh138, Lloh139
.loh AdrpLdrGot Lloh146, Lloh147
.loh AdrpLdrGotStr Lloh148, Lloh149, Lloh150
.loh AdrpLdrGotStr Lloh151, Lloh152, Lloh153
.loh AdrpLdrGotStr Lloh154, Lloh155, Lloh156
.loh AdrpLdrGotStr Lloh157, Lloh158, Lloh159
.loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162
.loh AdrpLdrGotStr Lloh163, Lloh164, Lloh165
.loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177
.loh AdrpLdrGotStr Lloh172, Lloh173, Lloh174
.loh AdrpLdrGotStr Lloh169, Lloh170, Lloh171
.loh AdrpLdrGotStr Lloh166, Lloh167, Lloh168
.loh AdrpLdrGotStr Lloh178, Lloh179, Lloh180
.loh AdrpLdrGotStr Lloh181, Lloh182, Lloh183
.loh AdrpLdrGotStr Lloh184, Lloh185, Lloh186
.loh AdrpLdrGotStr Lloh187, Lloh188, Lloh189
.loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192
.loh AdrpLdrGotStr Lloh193, Lloh194, Lloh195
.loh AdrpLdrGotStr Lloh205, Lloh206, Lloh207
.loh AdrpLdrGotStr Lloh202, Lloh203, Lloh204
.loh AdrpLdrGotStr Lloh199, Lloh200, Lloh201
.loh AdrpLdrGotStr Lloh196, Lloh197, Lloh198
.loh AdrpLdrGotStr Lloh208, Lloh209, Lloh210
.loh AdrpLdrGotStr Lloh211, Lloh212, Lloh213
.loh AdrpLdrGotStr Lloh214, Lloh215, Lloh216
.loh AdrpLdrGotStr Lloh217, Lloh218, Lloh219
.loh AdrpLdrGotStr Lloh220, Lloh221, Lloh222
.loh AdrpLdrGotStr Lloh232, Lloh233, Lloh234
.loh AdrpLdrGotStr Lloh229, Lloh230, Lloh231
.loh AdrpLdrGotStr Lloh226, Lloh227, Lloh228
.loh AdrpLdrGotStr Lloh223, Lloh224, Lloh225
.loh AdrpLdrGotStr Lloh235, Lloh236, Lloh237
.loh AdrpLdrGotStr Lloh238, Lloh239, Lloh240
.loh AdrpLdrGot Lloh246, Lloh247
.loh AdrpLdrGot Lloh244, Lloh245
.loh AdrpLdrGotStr Lloh241, Lloh242, Lloh243
.loh AdrpLdrGot Lloh262, Lloh263
.loh AdrpLdrGot Lloh260, Lloh261
.loh AdrpLdrGotStr Lloh257, Lloh258, Lloh259
.loh AdrpLdrGotStr Lloh254, Lloh255, Lloh256
.loh AdrpLdrGotStr Lloh251, Lloh252, Lloh253
.loh AdrpLdrGotStr Lloh248, Lloh249, Lloh250
.loh AdrpLdrGotLdr Lloh294, Lloh295, Lloh296
.loh AdrpAdd Lloh292, Lloh293
.loh AdrpLdrGot Lloh290, Lloh291
.loh AdrpLdrGotLdr Lloh287, Lloh288, Lloh289
.loh AdrpLdrGotLdr Lloh284, Lloh285, Lloh286
.loh AdrpLdrGotLdr Lloh281, Lloh282, Lloh283
.loh AdrpLdrGotLdr Lloh278, Lloh279, Lloh280
.loh AdrpLdrGotLdr Lloh275, Lloh276, Lloh277
.loh AdrpLdrGotLdr Lloh272, Lloh273, Lloh274
.loh AdrpAdd Lloh270, Lloh271
.loh AdrpLdrGot Lloh268, Lloh269
.loh AdrpLdrGot Lloh266, Lloh267
.loh AdrpLdrGot Lloh264, Lloh265
.loh AdrpAdd Lloh320, Lloh321
.loh AdrpLdrGot Lloh318, Lloh319
.loh AdrpLdrGot Lloh316, Lloh317
.loh AdrpLdrGot Lloh314, Lloh315
.loh AdrpLdrGot Lloh312, Lloh313
.loh AdrpLdrGot Lloh310, Lloh311
.loh AdrpLdrGot Lloh308, Lloh309
.loh AdrpLdrGot Lloh306, Lloh307
.loh AdrpLdrGot Lloh304, Lloh305
.loh AdrpLdrGot Lloh302, Lloh303
.loh AdrpLdrGotLdr Lloh299, Lloh300, Lloh301
.loh AdrpLdrGot Lloh297, Lloh298
.loh AdrpLdrGotLdr Lloh322, Lloh323, Lloh324
.loh AdrpLdrGotLdr Lloh328, Lloh329, Lloh330
.loh AdrpLdrGotLdr Lloh325, Lloh326, Lloh327
.loh AdrpLdrGotLdr Lloh331, Lloh332, Lloh333
.loh AdrpLdrGot Lloh334, Lloh335
.loh AdrpLdrGotLdr Lloh336, Lloh337, Lloh338
.loh AdrpLdrGotLdr Lloh339, Lloh340, Lloh341
.loh AdrpLdrGotLdr Lloh344, Lloh345, Lloh346
.loh AdrpLdrGot Lloh342, Lloh343
.loh AdrpLdrGotLdr Lloh347, Lloh348, Lloh349
.loh AdrpAdd Lloh361, Lloh362
.loh AdrpAdd Lloh359, Lloh360
.loh AdrpLdrGot Lloh357, Lloh358
.loh AdrpAdd Lloh355, Lloh356
.loh AdrpLdrGotLdr Lloh352, Lloh353, Lloh354
.loh AdrpLdrGot Lloh350, Lloh351
.cfi_endproc
; -- End function
.comm _m,8,3 ; @m
.comm _num_list,331875,0 ; @num_list
.comm _total_answers,8,3 ; @total_answers
.comm _x,8,3 ; @x
.comm _check1,208,3 ; @check1
.comm _y,8,3 ; @y
.comm _check2,5408,3 ; @check2
.comm _z,8,3 ; @z
.comm _check3,140608,3 ; @check3
.comm _zz,8,3 ; @zz
.comm _check4,3655808,3 ; @check4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.comm _word_list,368750,0 ; @word_list
.comm _listing,5310000,3 ; @listing
l_.str.1: ; @.str.1
.asciz "output.9"
l_.str.2: ; @.str.2
.asciz "w"
.comm _answer_file,8,3 ; @answer_file
l_.str.3: ; @.str.3
.asciz "status.9"
.comm _status_file,8,3 ; @status_file
.comm _w1,8,3 ; @w1
l_.str.4: ; @.str.4
.asciz "%s %d\n"
.comm _b2,8,3 ; @b2
.comm _e2,8,3 ; @e2
.comm _w2,8,3 ; @w2
.comm _b3,8,3 ; @b3
.comm _e3,8,3 ; @e3
.comm _w3,8,3 ; @w3
.comm _b4,8,3 ; @b4
.comm _e4,8,3 ; @e4
.comm _w4,8,3 ; @w4
.comm _k,648,3 ; @k
.comm _b5,8,3 ; @b5
.comm _e5,8,3 ; @e5
.comm _w5,8,3 ; @w5
.comm _failed_check,4,2 ; @failed_check
.comm _b6,8,3 ; @b6
.comm _e6,8,3 ; @e6
.comm _w6,8,3 ; @w6
.comm _b7,8,3 ; @b7
.comm _e7,8,3 ; @e7
.comm _w7,8,3 ; @w7
.comm _b8,8,3 ; @b8
.comm _e8,8,3 ; @e8
.comm _w8,8,3 ; @w8
.comm _b9,8,3 ; @b9
.comm _e9,8,3 ; @e9
.comm _w9,8,3 ; @w9
l_.str.5: ; @.str.5
.asciz "%s\n"
l_.str.6: ; @.str.6
.asciz "%s\n\n"
l_.str.7: ; @.str.7
.asciz "A total of %d 9-squares were found.\n"
l_.str.8: ; @.str.8
.asciz "\n%s\n"
l_.str.9: ; @.str.9
.asciz "Finished."
.subsections_via_symbols
| the_stack_data/187644338.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printf04d ## -- Begin function printf04d
.p2align 4, 0x90
_printf04d: ## @printf04d
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movslq %edi, %rcx
imulq $1717986919, %rcx, %rax ## imm = 0x66666667
movq %rax, %rdx
shrq $63, %rdx
sarq $34, %rax
addl %edx, %eax
leal (%rax,%rax), %edx
leal (%rdx,%rdx,4), %edx
imulq $1374389535, %rcx, %rsi ## imm = 0x51EB851F
imulq $274877907, %rcx, %rdi ## imm = 0x10624DD3
## kill: def $ecx killed $ecx killed $rcx
subl %edx, %ecx
addb $48, %cl
movb %cl, -1(%rbp)
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
shrq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $48, %al
movb %al, -2(%rbp)
movq %rsi, %rax
shrq $63, %rax
sarq $37, %rsi
addl %eax, %esi
movslq %esi, %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
shrq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $48, %al
movb %al, -3(%rbp)
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
movslq %edi, %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
shrq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $48, %al
movb %al, -4(%rbp)
leaq -4(%rbp), %rsi
movl $1, %edi
movl $4, %edx
callq _write
addq $16, %rsp
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
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _base@GOTPCREL(%rip), %rax
movl $10000, (%rax) ## imm = 0x2710
movq _n@GOTPCREL(%rip), %r12
movl $52500, (%r12) ## imm = 0xCD14
movl $10000, %r9d ## imm = 0x2710
movl $52500, %edi ## imm = 0xCD14
movq _carry@GOTPCREL(%rip), %r14
movq _digit@GOTPCREL(%rip), %rbx
movq _first@GOTPCREL(%rip), %r13
movq _nume@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
movl (%r14), %eax
cltd
idivl %r9d
movl %edx, %r8d
movl %edx, (%r14)
movl %edx, (%rbx)
leal -1(%rdi), %eax
movq _i@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $2, %edi
jb LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq %rbx, %r11
movl (%r13), %r10d
movslq %r9d, %rcx
imulq $1717986919, %rcx, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $33, %rcx
addl %edx, %ecx
movl %eax, %esi
leal (%rdi,%rdi), %ebx
decl %ebx
movl %r8d, %eax
jmp LBB1_4
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_4 Depth=2
imull %r9d, %eax
addl %edx, %eax
cltd
idivl %ebx
movl %edx, (%r15,%rsi,4)
decq %rsi
decl %edi
cmpl $1, %edi
jle LBB1_7
LBB1_4: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
addl $-2, %ebx
movl %esi, %edx
imull %eax, %edx
movl %ecx, %eax
testl %r10d, %r10d
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=2
movl (%r15,%rsi,4), %eax
jmp LBB1_6
.p2align 4, 0x90
LBB1_2: ## in Loop: Header=BB1_1 Depth=1
movl %r8d, %eax
jmp LBB1_8
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq _denom@GOTPCREL(%rip), %rcx
movl %ebx, (%rcx)
movl %eax, (%r14)
movq _i@GOTPCREL(%rip), %rcx
movl %esi, (%rcx)
movq %r11, %rbx
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
cltd
idivl %r9d
addl %r8d, %eax
movslq %eax, %rcx
imulq $1717986919, %rcx, %rax ## imm = 0x66666667
movq %rax, %rdx
shrq $63, %rdx
sarq $34, %rax
addl %edx, %eax
leal (%rax,%rax), %edx
leal (%rdx,%rdx,4), %edx
imulq $1374389535, %rcx, %rsi ## imm = 0x51EB851F
imulq $274877907, %rcx, %rdi ## imm = 0x10624DD3
## kill: def $ecx killed $ecx killed $rcx
subl %edx, %ecx
addb $48, %cl
movb %cl, -41(%rbp)
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $48, %al
movb %al, -42(%rbp)
movq %rsi, %rax
shrq $63, %rax
sarq $37, %rsi
addl %eax, %esi
movslq %esi, %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $48, %al
movb %al, -43(%rbp)
movq %rdi, %rax
shrq $63, %rax
sarq $38, %rdi
addl %eax, %edi
movslq %edi, %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $48, %al
movb %al, -44(%rbp)
movl $1, %edi
leaq -44(%rbp), %rsi
movl $4, %edx
callq _write
movl $1, (%r13)
movl (%r12), %eax
leal -14(%rax), %edi
movl %edi, (%r12)
cmpl $15, %eax
jl LBB1_10
## %bb.9: ## in Loop: Header=BB1_1 Depth=1
movq _base@GOTPCREL(%rip), %rax
movl (%rax), %r9d
jmp LBB1_1
LBB1_10:
leaq L_.str(%rip), %rsi
movl $1, %edi
movl $1, %edx
callq _write
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _base,4,2 ## @base
.comm _n,4,2 ## @n
.comm _carry,4,2 ## @carry
.comm _digit,4,2 ## @digit
.comm _i,4,2 ## @i
.comm _denom,4,2 ## @denom
.comm _first,4,2 ## @first
.comm _nume,210056,4 ## @nume
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printf04d ; -- Begin function printf04d
.p2align 2
_printf04d: ; @printf04d
.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, #26215
movk w8, #26214, lsl #16
smull x9, w0, w8
lsr x10, x9, #63
asr x9, x9, #34
add w9, w9, w10
mov w10, #10
msub w11, w9, w10, w0
add w11, w11, #48
sturb w11, [x29, #-1]
smull x11, w9, w8
lsr x12, x11, #63
lsr x11, x11, #34
add w11, w11, w12
msub w9, w11, w10, w9
add w9, w9, #48
sturb w9, [x29, #-2]
mov w9, #34079
movk w9, #20971, lsl #16
smull x9, w0, w9
lsr x11, x9, #63
asr x9, x9, #37
add w9, w9, w11
smull x11, w9, w8
lsr x12, x11, #63
lsr x11, x11, #34
add w11, w11, w12
msub w9, w11, w10, w9
add w9, w9, #48
sturb w9, [x29, #-3]
mov w9, #19923
movk w9, #4194, lsl #16
smull x9, w0, w9
lsr x11, x9, #63
asr x9, x9, #38
add w9, w9, w11
smull x8, w9, w8
lsr x11, x8, #63
lsr x8, x8, #34
add w8, w8, w11
msub w8, w8, w10, w9
add w8, w8, #48
sturb w8, [x29, #-4]
sub x1, x29, #4
mov w0, #1
mov w2, #4
bl _write
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
Lloh0:
adrp x10, _base@GOTPAGE
Lloh1:
ldr x10, [x10, _base@GOTPAGEOFF]
mov w8, #10000
Lloh2:
adrp x20, _n@GOTPAGE
Lloh3:
ldr x20, [x20, _n@GOTPAGEOFF]
Lloh4:
adrp x21, _carry@GOTPAGE
Lloh5:
ldr x21, [x21, _carry@GOTPAGEOFF]
Lloh6:
adrp x23, _i@GOTPAGE
Lloh7:
ldr x23, [x23, _i@GOTPAGEOFF]
Lloh8:
adrp x24, _first@GOTPAGE
Lloh9:
ldr x24, [x24, _first@GOTPAGEOFF]
mov w9, #52500
mov w25, #26215
movk w25, #26214, lsl #16
mov x22, x10
str w8, [x10]
str w9, [x20]
mov w28, #10
mov w26, #34079
movk w26, #20971, lsl #16
mov w27, #19923
movk w27, #4194, lsl #16
mov w19, #1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_4 Depth 2
ldr w10, [x21]
sdiv w11, w10, w8
msub w10, w11, w8, w10
str w10, [x21]
Lloh10:
adrp x11, _digit@GOTPAGE
Lloh11:
ldr x11, [x11, _digit@GOTPAGEOFF]
Lloh12:
str w10, [x11]
sub w13, w9, #1
str w13, [x23]
cmp w9, #2
b.lo LBB1_6
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
smull x12, w8, w25
lsr x14, x12, #63
ldr w11, [x24]
asr x12, x12, #33
add w12, w12, w14
Lloh13:
adrp x14, _nume@GOTPAGE
Lloh14:
ldr x14, [x14, _nume@GOTPAGEOFF]
add x13, x14, w13, uxtw #2
lsl w14, w9, #1
sub w15, w14, #3
mov x14, x10
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=2
mul w14, w14, w9
madd w16, w16, w8, w14
sdiv w14, w16, w15
msub w16, w14, w15, w16
str w16, [x13], #-4
sub w15, w15, #2
subs w16, w9, #1
b.le LBB1_7
LBB1_4: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
sub w9, w9, #1
mov x16, x12
cbz w11, LBB1_3
; %bb.5: ; in Loop: Header=BB1_4 Depth=2
ldr w16, [x13]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
mov x14, x10
b LBB1_8
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
add w9, w15, #2
Lloh15:
adrp x11, _denom@GOTPAGE
Lloh16:
ldr x11, [x11, _denom@GOTPAGEOFF]
Lloh17:
str w9, [x11]
str w14, [x21]
str w16, [x23]
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
sdiv w8, w14, w8
add w8, w8, w10
smull x9, w8, w25
lsr x10, x9, #63
asr x9, x9, #34
add w9, w9, w10
msub w10, w9, w28, w8
add w10, w10, #48
strb w10, [sp, #15]
smull x10, w9, w25
lsr x11, x10, #63
lsr x10, x10, #34
add w10, w10, w11
msub w9, w10, w28, w9
add w9, w9, #48
strb w9, [sp, #14]
smull x9, w8, w26
lsr x10, x9, #63
asr x9, x9, #37
add w9, w9, w10
smull x10, w9, w25
lsr x11, x10, #63
lsr x10, x10, #34
add w10, w10, w11
msub w9, w10, w28, w9
add w9, w9, #48
strb w9, [sp, #13]
smull x8, w8, w27
lsr x9, x8, #63
asr x8, x8, #38
add w8, w8, w9
smull x9, w8, w25
lsr x10, x9, #63
lsr x9, x9, #34
add w9, w9, w10
msub w8, w9, w28, w8
add w8, w8, #48
strb w8, [sp, #12]
add x1, sp, #12
mov w0, #1
mov w2, #4
bl _write
str w19, [x24]
ldr w8, [x20]
sub w9, w8, #14
str w9, [x20]
cmp w8, #15
b.lt LBB1_10
; %bb.9: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22]
b LBB1_1
LBB1_10:
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
mov w2, #1
bl _write
mov w0, #0
bl _exit
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _base,4,2 ; @base
.comm _n,4,2 ; @n
.comm _carry,4,2 ; @carry
.comm _digit,4,2 ; @digit
.comm _i,4,2 ; @i
.comm _denom,4,2 ; @denom
.comm _first,4,2 ; @first
.comm _nume,210056,2 ; @nume
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.subsections_via_symbols
| the_stack_data/44026.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sh_tmu_clocksource_disable
_sh_tmu_clocksource_disable: ## @sh_tmu_clocksource_disable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _cs_to_sh_tmu
movl %eax, %edi
popq %rbp
jmp _sh_tmu_disable ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sh_tmu_clocksource_disable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sh_tmu_clocksource_disable
_sh_tmu_clocksource_disable: ; @sh_tmu_clocksource_disable
.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 _cs_to_sh_tmu
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _sh_tmu_disable
.cfi_endproc
; -- End function
.no_dead_strip _sh_tmu_clocksource_disable
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/clocksource/extr_sh_tmu.c_sh_tmu_clocksource_disable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _R_FindPlane ## -- Begin function R_FindPlane
.p2align 4, 0x90
_R_FindPlane: ## @R_FindPlane
.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
movq _skyflatnum@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpl %esi, (%rax)
movl $0, %r12d
cmovneq %rdi, %r12
movl %edx, %r15d
cmovel %ecx, %r15d
movq _visplanes@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _lastvisplane@GOTPCREL(%rip), %r13
movq (%r13), %rax
movq %rcx, %rbx
cmpq %rax, %rcx
jae LBB0_6
## %bb.1:
movq %rcx, %rbx
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
addq $32, %rbx
cmpq %rax, %rbx
jae LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq (%rbx), %r12
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl %r14d, 8(%rbx)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl 12(%rbx), %r15d
jne LBB0_5
jmp LBB0_9
LBB0_6:
movq %rax, %rdx
subq %rcx, %rdx
sarq $5, %rdx
movq _MAXVISPLANES@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rdx
jne LBB0_8
## %bb.7:
leaq L_.str(%rip), %rdi
callq _I_Error
movq (%r13), %rax
LBB0_8:
addq $32, %rax
movq %rax, (%r13)
movq %r12, (%rbx)
movl %r14d, 8(%rbx)
movl %r15d, 12(%rbx)
movq _SCREENWIDTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
movl $-1, 16(%rbx)
movl 20(%rbx), %edi
movl $255, %esi
movl $4, %edx
callq _memset
LBB0_9:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _skyflatnum,4,2 ## @skyflatnum
.comm _visplanes,8,3 ## @visplanes
.comm _lastvisplane,8,3 ## @lastvisplane
.comm _MAXVISPLANES,4,2 ## @MAXVISPLANES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "R_FindPlane: no more visplanes"
.comm _SCREENWIDTH,4,2 ## @SCREENWIDTH
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _R_FindPlane ; -- Begin function R_FindPlane
.p2align 2
_R_FindPlane: ; @R_FindPlane
.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, x1
Lloh0:
adrp x8, _skyflatnum@GOTPAGE
Lloh1:
ldr x8, [x8, _skyflatnum@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w1
csel w21, wzr, w2, eq
Lloh3:
adrp x8, _visplanes@GOTPAGE
Lloh4:
ldr x8, [x8, _visplanes@GOTPAGEOFF]
csel x22, xzr, x0, eq
Lloh5:
ldr x9, [x8]
Lloh6:
adrp x23, _lastvisplane@GOTPAGE
Lloh7:
ldr x23, [x23, _lastvisplane@GOTPAGEOFF]
ldr x8, [x23]
mov x19, x9
cmp x9, x8
b.lo LBB0_6
LBB0_1:
sub x9, x8, x9
Lloh8:
adrp x10, _MAXVISPLANES@GOTPAGE
Lloh9:
ldr x10, [x10, _MAXVISPLANES@GOTPAGEOFF]
Lloh10:
ldrsw x10, [x10]
cmp x10, x9, asr #5
b.ne LBB0_3
; %bb.2:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
bl _I_Error
ldr x8, [x23]
LBB0_3:
add x8, x8, #32
str x8, [x23]
str x22, [x19]
Lloh13:
adrp x8, _SCREENWIDTH@GOTPAGE
Lloh14:
ldr x8, [x8, _SCREENWIDTH@GOTPAGEOFF]
stp w20, w21, [x19, #8]
Lloh15:
ldr w8, [x8]
str w8, [x19, #24]
mov w8, #-1
str w8, [x19, #16]
ldr w0, [x19, #20]
mov w1, #255
mov w2, #4
bl _memset
LBB0_4:
mov x0, x19
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
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x19, x19, #32
cmp x19, x8
b.hs LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x10, [x19]
cmp x22, x10
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w10, [x19, #8]
cmp w10, w20
b.ne LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr w10, [x19, #12]
cmp w21, w10
b.ne LBB0_5
b LBB0_4
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _skyflatnum,4,2 ; @skyflatnum
.comm _visplanes,8,3 ; @visplanes
.comm _lastvisplane,8,3 ; @lastvisplane
.comm _MAXVISPLANES,4,2 ; @MAXVISPLANES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "R_FindPlane: no more visplanes"
.comm _SCREENWIDTH,4,2 ; @SCREENWIDTH
.subsections_via_symbols
| AnghaBench/DOOM/linuxdoom-1.10/extr_r_plane.c_R_FindPlane.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.