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 _RTC_CalibOutputConfig ## -- Begin function RTC_CalibOutputConfig
.p2align 4, 0x90
_RTC_CalibOutputConfig: ## @RTC_CalibOutputConfig
.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 _IS_RTC_CALIB_OUTPUT
movl %eax, %edi
callq _assert_param
movq _RTC@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _RTC_CR_CALSEL@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
notq %rcx
andq 8(%rax), %rcx
orq %rbx, %rcx
movq %rcx, 8(%rax)
movl $255, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RTC,8,3 ## @RTC
.comm _RTC_CR_CALSEL,8,3 ## @RTC_CR_CALSEL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RTC_CalibOutputConfig ; -- Begin function RTC_CalibOutputConfig
.p2align 2
_RTC_CalibOutputConfig: ; @RTC_CalibOutputConfig
.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 _IS_RTC_CALIB_OUTPUT
bl _assert_param
Lloh0:
adrp x8, _RTC@GOTPAGE
Lloh1:
ldr x8, [x8, _RTC@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _RTC_CR_CALSEL@GOTPAGE
Lloh4:
ldr x9, [x9, _RTC_CR_CALSEL@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr x10, [x8, #8]
bic x9, x10, x9
orr x9, x9, x19
str x9, [x8, #8]
mov w9, #255
str w9, [x8]
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
.cfi_endproc
; -- End function
.comm _RTC,8,3 ; @RTC
.comm _RTC_CR_CALSEL,8,3 ; @RTC_CR_CALSEL
.subsections_via_symbols
| AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rtc.c_RTC_CalibOutputConfig.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vlc_coeffs_to_iso_23001_8_mc
_vlc_coeffs_to_iso_23001_8_mc: ## @vlc_coeffs_to_iso_23001_8_mc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _iso_23001_8_mc_to_vlc_coeffs_table@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _ARRAY_SIZE
cmpq $2, %rax
jb LBB0_4
## %bb.1:
movl $1, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
cmpq %r14, (%rdi,%rbx,8)
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
callq _ARRAY_SIZE
cmpq %rax, %rbx
jb LBB0_2
LBB0_4:
movq _ISO_23001_8_MC_UNSPECIFIED@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_5:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _iso_23001_8_mc_to_vlc_coeffs_table,8,3 ## @iso_23001_8_mc_to_vlc_coeffs_table
.comm _ISO_23001_8_MC_UNSPECIFIED,4,2 ## @ISO_23001_8_MC_UNSPECIFIED
.no_dead_strip _vlc_coeffs_to_iso_23001_8_mc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vlc_coeffs_to_iso_23001_8_mc
_vlc_coeffs_to_iso_23001_8_mc: ; @vlc_coeffs_to_iso_23001_8_mc
.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
Lloh0:
adrp x21, _iso_23001_8_mc_to_vlc_coeffs_table@GOTPAGE
Lloh1:
ldr x21, [x21, _iso_23001_8_mc_to_vlc_coeffs_table@GOTPAGEOFF]
ldr x0, [x21]
bl _ARRAY_SIZE
cmp x0, #2
b.lo LBB0_4
; %bb.1:
mov w20, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21]
ldr x8, [x0, x20, lsl #3]
cmp x8, x19
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x20, x20, #1
bl _ARRAY_SIZE
cmp x20, x0
b.lo LBB0_2
LBB0_4:
Lloh2:
adrp x8, _ISO_23001_8_MC_UNSPECIFIED@GOTPAGE
Lloh3:
ldr x8, [x8, _ISO_23001_8_MC_UNSPECIFIED@GOTPAGEOFF]
Lloh4:
ldr w20, [x8]
LBB0_5:
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _iso_23001_8_mc_to_vlc_coeffs_table,8,3 ; @iso_23001_8_mc_to_vlc_coeffs_table
.comm _ISO_23001_8_MC_UNSPECIFIED,4,2 ; @ISO_23001_8_MC_UNSPECIFIED
.no_dead_strip _vlc_coeffs_to_iso_23001_8_mc
.subsections_via_symbols
| AnghaBench/vlc/modules/demux/mp4/extr_....packetizeriso_color_tables.h_vlc_coeffs_to_iso_23001_8_mc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function skip_shebang
_skip_shebang: ## @skip_shebang
.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
leaq L_.str(%rip), %rsi
movl $2, %edx
callq _strncmp
testq %rax, %rax
je LBB0_1
LBB0_9:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
movq %rbx, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_9
## %bb.2:
cmpb $35, 1(%rax)
jne LBB0_9
## %bb.3:
incq %rax
movq %rax, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_9
## %bb.4:
movb 1(%rax), %cl
testb %cl, %cl
je LBB0_9
## %bb.5:
cmpb $35, %cl
je LBB0_9
## %bb.6:
cmpb $92, -1(%rax)
jne LBB0_9
## %bb.7:
cmpb $92, -2(%rax)
je LBB0_9
## %bb.8:
incq %rax
movq %rax, %rdi
movl $10, %esi
callq _strchr
leaq 1(%rax), %rcx
testq %rax, %rax
cmovneq %rcx, %rbx
jmp LBB0_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "#!"
.no_dead_strip _skip_shebang
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function skip_shebang
_skip_shebang: ; @skip_shebang
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #2
bl _strncmp
cbz x0, LBB0_2
LBB0_1:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x19
mov w1, #10
bl _strchr
cbz x0, LBB0_1
; %bb.3:
ldrb w8, [x0, #1]!
cmp w8, #35
b.ne LBB0_1
; %bb.4:
mov w1, #10
bl _strchr
cbz x0, LBB0_1
; %bb.5:
mov x8, x0
ldrb w9, [x0, #1]!
cbz w9, LBB0_1
; %bb.6:
cmp w9, #35
b.eq LBB0_1
; %bb.7:
ldurb w9, [x8, #-1]
cmp w9, #92
b.ne LBB0_1
; %bb.8:
ldurb w8, [x8, #-2]
cmp w8, #92
b.eq LBB0_1
; %bb.9:
mov w1, #10
bl _strchr
cmp x0, #0
csinc x19, x19, x0, eq
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "#!"
.no_dead_strip _skip_shebang
.subsections_via_symbols
| AnghaBench/jq/src/extr_main.c_skip_shebang.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ef4_farch_irq_test_generate ## -- Begin function ef4_farch_irq_test_generate
.p2align 4, 0x90
_ef4_farch_irq_test_generate: ## @ef4_farch_irq_test_generate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %esi
movl $1, %edx
callq _ef4_farch_interrupts
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 _ef4_farch_irq_test_generate ; -- Begin function ef4_farch_irq_test_generate
.p2align 2
_ef4_farch_irq_test_generate: ; @ef4_farch_irq_test_generate
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w1, #1
mov w2, #1
bl _ef4_farch_interrupts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_farch_irq_test_generate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.13(%rip), %rbx
leaq -32(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.16(%rip), %rdi
callq _puts
leaq -24(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.17(%rip), %rdi
callq _puts
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movsd -32(%rbp), %xmm0 ## xmm0 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd -16(%rbp), %xmm2 ## xmm2 = mem[0],zero
callq _newtons_method
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_input_arguments ## -- Begin function get_input_arguments
.p2align 4, 0x90
_get_input_arguments: ## @get_input_arguments
.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 %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.13(%rip), %r12
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
leaq L_str.16(%rip), %rdi
callq _puts
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
leaq L_str.17(%rip), %rdi
callq _puts
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _scanf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function newtons_method
LCPI2_0:
.quad 0xc000000000000000 ## double -2
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI2_1:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _newtons_method
.p2align 4, 0x90
_newtons_method: ## @newtons_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -24
movapd %xmm2, -80(%rbp) ## 16-byte Spill
movapd %xmm1, -64(%rbp) ## 16-byte Spill
movsd %xmm0, -16(%rbp) ## 8-byte Spill
leaq L_str.18(%rip), %rdi
callq _puts
leaq L_str.19(%rip), %rdi
callq _puts
leaq L_str.20(%rip), %rdi
callq _puts
movsd -16(%rbp), %xmm3 ## 8-byte Reload
## xmm3 = mem[0],zero
movapd -64(%rbp), %xmm10 ## 16-byte Reload
movapd -80(%rbp), %xmm6 ## 16-byte Reload
movl $1, %eax
xorpd %xmm0, %xmm0
movsd LCPI2_0(%rip), %xmm8 ## xmm8 = mem[0],zero
movapd LCPI2_1(%rip), %xmm9 ## xmm9 = [NaN,NaN]
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movapd %xmm3, %xmm7
movl %eax, %ebx
addsd %xmm3, %xmm3
ucomisd %xmm0, %xmm3
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
jne LBB2_3
jnp LBB2_2
LBB2_3: ## in Loop: Header=BB2_1 Depth=1
movapd %xmm7, %xmm4
mulsd %xmm7, %xmm4
addsd %xmm8, %xmm4
divsd %xmm3, %xmm4
movapd %xmm7, %xmm3
subsd %xmm4, %xmm3
movapd %xmm3, %xmm1
subsd %xmm7, %xmm1
movapd %xmm10, %xmm4
cmpneqpd %xmm0, %xmm4
movapd %xmm2, %xmm5
cmplepd %xmm6, %xmm5
andpd %xmm4, %xmm5
movd %xmm5, %eax
andl $1, %eax
xorps %xmm4, %xmm4
cvtsi2sd %eax, %xmm4
andpd %xmm9, %xmm1
leal 1(%rbx), %eax
ucomisd %xmm4, %xmm1
ja LBB2_1
jmp LBB2_4
LBB2_2:
leaq L_str.24(%rip), %rdi
movapd %xmm2, -48(%rbp) ## 16-byte Spill
movsd %xmm7, -24(%rbp) ## 8-byte Spill
callq _puts
movsd -24(%rbp), %xmm7 ## 8-byte Reload
## xmm7 = mem[0],zero
movapd -48(%rbp), %xmm2 ## 16-byte Reload
movapd %xmm7, %xmm3
LBB2_4:
movsd %xmm7, -24(%rbp) ## 8-byte Spill
movapd %xmm2, -48(%rbp) ## 16-byte Spill
movsd %xmm3, -16(%rbp) ## 8-byte Spill
leaq L_str.21(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.8(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
movaps -64(%rbp), %xmm0 ## 16-byte Reload
movb $1, %al
callq _printf
movapd -48(%rbp), %xmm0 ## 16-byte Reload
ucomisd -80(%rbp), %xmm0 ## 16-byte Folded Reload
leaq L_str.23(%rip), %rax
leaq L_str.22(%rip), %rdi
cmovaq %rax, %rdi
callq _puts
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addq $72, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f_prime1 ## -- Begin function f_prime1
.p2align 4, 0x90
_f_prime1: ## @f_prime1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f1
LCPI4_0:
.quad 0xc000000000000000 ## double -2
.section __TEXT,__text,regular,pure_instructions
.globl _f1
.p2align 4, 0x90
_f1: ## @f1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
mulsd %xmm0, %xmm0
addsd LCPI4_0(%rip), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _f2 ## -- Begin function f2
.p2align 4, 0x90
_f2: ## @f2
.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 _sin ## TAILCALL
.cfi_endproc
## -- End function
.globl _f_prime2 ## -- Begin function f_prime2
.p2align 4, 0x90
_f_prime2: ## @f_prime2
.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 _cos ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f3
LCPI7_0:
.quad 0xbff0000000000000 ## double -1
LCPI7_2:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI7_1:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _f3
.p2align 4, 0x90
_f3: ## @f3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd LCPI7_0(%rip), %xmm0
andpd LCPI7_1(%rip), %xmm0
movsd LCPI7_2(%rip), %xmm1 ## xmm1 = mem[0],zero
popq %rbp
jmp _pow ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f_prime3
LCPI8_0:
.quad 0xbff0000000000000 ## double -1
LCPI8_1:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__text,regular,pure_instructions
.globl _f_prime3
.p2align 4, 0x90
_f_prime3: ## @f_prime3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd LCPI8_0(%rip), %xmm0
mulsd %xmm0, %xmm0
mulsd LCPI8_1(%rip), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f4
LCPI9_0:
.quad 0xbff0000000000000 ## double -1
LCPI9_2:
.quad 0x3fd5555555555555 ## double 0.33333333333333331
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI9_1:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _f4
.p2align 4, 0x90
_f4: ## @f4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd LCPI9_0(%rip), %xmm0
andpd LCPI9_1(%rip), %xmm0
movsd LCPI9_2(%rip), %xmm1 ## xmm1 = mem[0],zero
popq %rbp
jmp _pow ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f_prime4
LCPI10_0:
.quad 0xbff0000000000000 ## double -1
LCPI10_2:
.quad 0xbfe5555555555555 ## double -0.66666666666666663
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI10_1:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _f_prime4
.p2align 4, 0x90
_f_prime4: ## @f_prime4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd LCPI10_0(%rip), %xmm0
andpd LCPI10_1(%rip), %xmm0
movsd LCPI10_2(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
xorpd %xmm1, %xmm1
mulsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "x_0 = %lf \n"
L_.str.6: ## @.str.6
.asciz "x_new = %lf \n"
L_.str.7: ## @.str.7
.asciz "Number of iterations = %d \n"
L_.str.8: ## @.str.8
.asciz "count = %d \n"
L_.str.9: ## @.str.9
.asciz "error_tol = %lf \n"
L_.str.13: ## @.str.13
.asciz "%lf"
L_str: ## @str
.asciz "Enter initial guess "
L_str.16: ## @str.16
.asciz "Enter maximum error tollerance "
L_str.17: ## @str.17
.asciz "Enter maximum number of iterations throgh the do-while loop "
L_str.18: ## @str.18
.asciz "Now calculating "
L_str.19: ## @str.19
.asciz ". "
L_str.20: ## @str.20
.asciz ".. \n"
L_str.21: ## @str.21
.asciz "Results: "
L_str.22: ## @str.22
.asciz "Iteration did convereg.\n"
L_str.23: ## @str.23
.asciz "Iteration did not convereg.\n"
L_str.24: ## @str.24
.asciz "f_prime( x_old ) is zero!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
add x8, sp, #24
str x8, [sp]
Lloh2:
adrp x19, l_.str.13@PAGE
Lloh3:
add x19, x19, l_.str.13@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_str.16@PAGE
Lloh5:
add x0, x0, l_str.16@PAGEOFF
bl _puts
add x8, sp, #16
str x8, [sp]
mov x0, x19
bl _scanf
Lloh6:
adrp x0, l_str.17@PAGE
Lloh7:
add x0, x0, l_str.17@PAGEOFF
bl _puts
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
ldp d1, d0, [sp, #16]
ldr d2, [sp, #8]
bl _newtons_method
mov w0, #0
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 AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _get_input_arguments ; -- Begin function get_input_arguments
.p2align 2
_get_input_arguments: ; @get_input_arguments
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
Lloh8:
adrp x0, l_str@PAGE
Lloh9:
add x0, x0, l_str@PAGEOFF
bl _puts
str x21, [sp]
Lloh10:
adrp x21, l_.str.13@PAGE
Lloh11:
add x21, x21, l_.str.13@PAGEOFF
mov x0, x21
bl _scanf
Lloh12:
adrp x0, l_str.16@PAGE
Lloh13:
add x0, x0, l_str.16@PAGEOFF
bl _puts
str x20, [sp]
mov x0, x21
bl _scanf
Lloh14:
adrp x0, l_str.17@PAGE
Lloh15:
add x0, x0, l_str.17@PAGEOFF
bl _puts
str x19, [sp]
mov x0, x21
bl _scanf
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 Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _newtons_method ; -- Begin function newtons_method
.p2align 2
_newtons_method: ; @newtons_method
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
.cfi_offset b10, -56
.cfi_offset b11, -64
.cfi_offset b12, -72
.cfi_offset b13, -80
fmov d8, d2
fmov d9, d1
fmov d10, d0
Lloh16:
adrp x0, l_str.18@PAGE
Lloh17:
add x0, x0, l_str.18@PAGEOFF
bl _puts
Lloh18:
adrp x0, l_str.19@PAGE
Lloh19:
add x0, x0, l_str.19@PAGEOFF
bl _puts
Lloh20:
adrp x0, l_str.20@PAGE
Lloh21:
add x0, x0, l_str.20@PAGEOFF
bl _puts
mov w8, #1
fmov d0, #-2.00000000
LBB2_1: ; =>This Inner Loop Header: Depth=1
fmov d12, d10
mov x19, x8
fadd d1, d10, d10
fcmp d1, #0.0
b.eq LBB2_3
; %bb.2: ; in Loop: Header=BB2_1 Depth=1
fcmp d9, #0.0
cset w8, ne
fmul d2, d12, d12
fadd d2, d2, d0
fdiv d1, d2, d1
fsub d10, d12, d1
fabd d1, d10, d12
scvtf d11, w19
fcmp d11, d8
cset w9, ls
and w8, w8, w9
ucvtf d2, w8
add w8, w19, #1
fcmp d1, d2
b.gt LBB2_1
b LBB2_4
LBB2_3:
Lloh22:
adrp x0, l_str.24@PAGE
Lloh23:
add x0, x0, l_str.24@PAGEOFF
bl _puts
scvtf d11, w19
fmov d10, d12
LBB2_4:
Lloh24:
adrp x0, l_str.21@PAGE
Lloh25:
add x0, x0, l_str.21@PAGEOFF
bl _puts
str d12, [sp]
Lloh26:
adrp x0, l_.str.5@PAGE
Lloh27:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
str d10, [sp]
Lloh28:
adrp x0, l_.str.6@PAGE
Lloh29:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
str x19, [sp]
Lloh30:
adrp x0, l_.str.7@PAGE
Lloh31:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
str x19, [sp]
Lloh32:
adrp x0, l_.str.8@PAGE
Lloh33:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
str d9, [sp]
Lloh34:
adrp x0, l_.str.9@PAGE
Lloh35:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
Lloh36:
adrp x8, l_str.22@PAGE
Lloh37:
add x8, x8, l_str.22@PAGEOFF
Lloh38:
adrp x9, l_str.23@PAGE
Lloh39:
add x9, x9, l_str.23@PAGEOFF
fcmp d11, d8
csel x0, x9, x8, gt
bl _puts
fmov d0, d10
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.globl _f_prime1 ; -- Begin function f_prime1
.p2align 2
_f_prime1: ; @f_prime1
.cfi_startproc
; %bb.0:
fadd d0, d0, d0
ret
.cfi_endproc
; -- End function
.globl _f1 ; -- Begin function f1
.p2align 2
_f1: ; @f1
.cfi_startproc
; %bb.0:
fmul d0, d0, d0
fmov d1, #-2.00000000
fadd d0, d0, d1
ret
.cfi_endproc
; -- End function
.globl _f2 ; -- Begin function f2
.p2align 2
_f2: ; @f2
.cfi_startproc
; %bb.0:
b _sin
.cfi_endproc
; -- End function
.globl _f_prime2 ; -- Begin function f_prime2
.p2align 2
_f_prime2: ; @f_prime2
.cfi_startproc
; %bb.0:
b _cos
.cfi_endproc
; -- End function
.globl _f3 ; -- Begin function f3
.p2align 2
_f3: ; @f3
.cfi_startproc
; %bb.0:
fmov d1, #-1.00000000
fadd d0, d0, d1
fabs d0, d0
fmov d1, #3.00000000
b _pow
.cfi_endproc
; -- End function
.globl _f_prime3 ; -- Begin function f_prime3
.p2align 2
_f_prime3: ; @f_prime3
.cfi_startproc
; %bb.0:
fmov d1, #-1.00000000
fadd d0, d0, d1
fmul d0, d0, d0
fmov d1, #3.00000000
fmul d0, d0, d1
ret
.cfi_endproc
; -- End function
.globl _f4 ; -- Begin function f4
.p2align 2
_f4: ; @f4
.cfi_startproc
; %bb.0:
fmov d1, #-1.00000000
fadd d0, d0, d1
fabs d0, d0
mov x8, #6148914691236517205
movk x8, #16341, lsl #48
fmov d1, x8
b _pow
.cfi_endproc
; -- End function
.globl _f_prime4 ; -- Begin function f_prime4
.p2align 2
_f_prime4: ; @f_prime4
.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
fmov d1, #-1.00000000
fadd d0, d0, d1
fabs d0, d0
mov x8, #6148914691236517205
movk x8, #49125, lsl #48
fmov d1, x8
bl _pow
movi d1, #0000000000000000
fmul d0, d0, d1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "x_0 = %lf \n"
l_.str.6: ; @.str.6
.asciz "x_new = %lf \n"
l_.str.7: ; @.str.7
.asciz "Number of iterations = %d \n"
l_.str.8: ; @.str.8
.asciz "count = %d \n"
l_.str.9: ; @.str.9
.asciz "error_tol = %lf \n"
l_.str.13: ; @.str.13
.asciz "%lf"
l_str: ; @str
.asciz "Enter initial guess "
l_str.16: ; @str.16
.asciz "Enter maximum error tollerance "
l_str.17: ; @str.17
.asciz "Enter maximum number of iterations throgh the do-while loop "
l_str.18: ; @str.18
.asciz "Now calculating "
l_str.19: ; @str.19
.asciz ". "
l_str.20: ; @str.20
.asciz ".. \n"
l_str.21: ; @str.21
.asciz "Results: "
l_str.22: ; @str.22
.asciz "Iteration did convereg.\n"
l_str.23: ; @str.23
.asciz "Iteration did not convereg.\n"
l_str.24: ; @str.24
.asciz "f_prime( x_old ) is zero!"
.subsections_via_symbols
| the_stack_data/395486.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function fix
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_fix: ## @fix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _PNG_FP_1@GOTPCREL(%rip), %rax
mulsd (%rax), %xmm0
addsd LCPI0_0(%rip), %xmm0
roundsd $9, %xmm0, %xmm0
cvttsd2si %xmm0, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PNG_FP_1,8,3 ## @PNG_FP_1
.no_dead_strip _fix
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fix
_fix: ; @fix
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _PNG_FP_1@GOTPAGE
Lloh1:
ldr x8, [x8, _PNG_FP_1@GOTPAGEOFF]
Lloh2:
ldr d1, [x8]
fmov d2, #0.50000000
fmadd d0, d0, d1, d2
fcvtms w0, d0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PNG_FP_1,8,3 ; @PNG_FP_1
.no_dead_strip _fix
.subsections_via_symbols
| assembly_file_138878.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vfstraceFileControl
_vfstraceFileControl: ## @vfstraceFileControl
.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 $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 16(%rdi), %r12
leal -128(%r15), %eax
cmpl $13, %eax
ja LBB0_1
## %bb.3:
leaq L_.str(%rip), %rbx
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5:
leaq L_.str.2(%rip), %rbx
jmp LBB0_20
LBB0_1:
cmpl $-905363552, %r15d ## imm = 0xCA093FA0
jne LBB0_18
## %bb.2:
leaq L_.str.13(%rip), %rbx
jmp LBB0_20
LBB0_6:
leaq L_.str.3(%rip), %rbx
jmp LBB0_20
LBB0_4:
leaq L_.str.1(%rip), %rbx
jmp LBB0_20
LBB0_12:
leaq L_.str.8(%rip), %rbx
jmp LBB0_20
LBB0_17:
leaq -160(%rbp), %rbx
movq 8(%r14), %rcx
movq 16(%r14), %r8
leaq L_.str.14(%rip), %rdx
movl $100, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq _sqlite3_snprintf
jmp LBB0_20
LBB0_14:
leaq L_.str.10(%rip), %rbx
jmp LBB0_20
LBB0_10:
leaq L_.str.6(%rip), %rbx
jmp LBB0_20
LBB0_18:
leaq -160(%rbp), %rbx
leaq L_.str.15(%rip), %rdx
movl $100, %edi
movq %rbx, %rsi
movl %r15d, %ecx
jmp LBB0_19
LBB0_15:
leaq L_.str.11(%rip), %rbx
jmp LBB0_20
LBB0_16:
leaq L_.str.12(%rip), %rbx
jmp LBB0_20
LBB0_11:
leaq L_.str.7(%rip), %rbx
jmp LBB0_20
LBB0_7:
leaq -160(%rbp), %rbx
movl (%r14), %ecx
leaq L_.str.4(%rip), %rdx
jmp LBB0_8
LBB0_13:
leaq L_.str.9(%rip), %rbx
jmp LBB0_20
LBB0_9:
leaq -160(%rbp), %rbx
movl (%r14), %ecx
leaq L_.str.5(%rip), %rdx
LBB0_8:
movl $100, %edi
movq %rbx, %rsi
LBB0_19:
xorl %eax, %eax
callq _sqlite3_snprintf
LBB0_20:
movl (%r12), %edx
movl (%r13), %ecx
leaq L_.str.16(%rip), %rsi
movq %r12, %rdi
movq %rbx, -168(%rbp) ## 8-byte Spill
movq %rbx, %r8
xorl %eax, %eax
callq _vfstrace_printf
movq %r13, %rbx
movq 8(%r13), %rdi
movq (%rdi), %rax
movl %r15d, %esi
movq %r14, %r13
movq %r14, %rdx
callq *(%rax)
movl %eax, %r14d
leaq L_.str.17(%rip), %rsi
movq %r12, %rdi
movl %eax, %edx
callq _vfstrace_print_errcode
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl $132, %r15d
jne LBB0_23
## %bb.21:
cmpl %eax, %r14d
jne LBB0_23
## %bb.22:
movl (%r12), %esi
movq (%r13), %rdx
leaq L_.str.18(%rip), %rdi
callq _sqlite3_mprintf
movq %rax, (%r13)
jmp LBB0_28
LBB0_23:
cmpl $136, %r15d
je LBB0_25
## %bb.24:
cmpl $133, %r15d
jne LBB0_28
LBB0_25:
cmpl %eax, %r14d
jne LBB0_28
## %bb.26:
movq (%r13), %r9
testq %r9, %r9
je LBB0_28
## %bb.27:
movl (%r12), %edx
movl (%rbx), %ecx
leaq L_.str.19(%rip), %rsi
movq %r12, %rdi
movq -168(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _vfstrace_printf
LBB0_28:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_30
## %bb.29:
movl %r14d, %eax
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_30:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_4
.long L0_0_set_12
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_11
.long L0_0_set_7
.long L0_0_set_17
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_20
.long L0_0_set_10
.long L0_0_set_9
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LOCKSTATE"
L_.str.1: ## @.str.1
.asciz "GET_LOCKPROXYFILE"
L_.str.2: ## @.str.2
.asciz "SET_LOCKPROXYFILE"
L_.str.3: ## @.str.3
.asciz "LAST_ERRNO"
L_.str.4: ## @.str.4
.asciz "SIZE_HINT,%lld"
L_.str.5: ## @.str.5
.asciz "CHUNK_SIZE,%d"
L_.str.6: ## @.str.6
.asciz "FILE_POINTER"
L_.str.7: ## @.str.7
.asciz "SYNC_OMITTED"
L_.str.8: ## @.str.8
.asciz "WIN32_AV_RETRY"
L_.str.9: ## @.str.9
.asciz "PERSIST_WAL"
L_.str.10: ## @.str.10
.asciz "OVERWRITE"
L_.str.11: ## @.str.11
.asciz "VFSNAME"
L_.str.12: ## @.str.12
.asciz "TEMPFILENAME"
L_.str.13: ## @.str.13
.asciz "DB_UNCHANGED"
L_.str.14: ## @.str.14
.asciz "PRAGMA,[%s,%s]"
L_.str.15: ## @.str.15
.asciz "%d"
L_.str.16: ## @.str.16
.asciz "%s.xFileControl(%s,%s)"
L_.str.17: ## @.str.17
.asciz " -> %s\n"
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
L_.str.18: ## @.str.18
.asciz "vfstrace.%s/%z"
L_.str.19: ## @.str.19
.asciz "%s.xFileControl(%s,%s) returns %s"
.no_dead_strip _vfstraceFileControl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vfstraceFileControl
_vfstraceFileControl: ; @vfstraceFileControl
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.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 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, #-56]
ldr x20, [x0, #16]
sub w8, w1, #128
cmp w8, #13
b.hi LBB0_3
; %bb.1:
Lloh3:
adrp x23, l_.str@PAGE
Lloh4:
add x23, x23, l_.str@PAGEOFF
Lloh5:
adrp x9, lJTI0_0@PAGE
Lloh6:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh7:
adrp x23, l_.str.2@PAGE
Lloh8:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_19
LBB0_3:
mov w8, #16288
movk w8, #51721, lsl #16
cmp w22, w8
b.ne LBB0_11
; %bb.4:
Lloh9:
adrp x23, l_.str.13@PAGE
Lloh10:
add x23, x23, l_.str.13@PAGEOFF
b LBB0_19
LBB0_5:
Lloh11:
adrp x23, l_.str.3@PAGE
Lloh12:
add x23, x23, l_.str.3@PAGEOFF
b LBB0_19
LBB0_6:
Lloh13:
adrp x23, l_.str.1@PAGE
Lloh14:
add x23, x23, l_.str.1@PAGEOFF
b LBB0_19
LBB0_7:
Lloh15:
adrp x23, l_.str.8@PAGE
Lloh16:
add x23, x23, l_.str.8@PAGEOFF
b LBB0_19
LBB0_8:
add x23, sp, #20
ldp x8, x9, [x19, #8]
stp x8, x9, [sp]
Lloh17:
adrp x2, l_.str.14@PAGE
Lloh18:
add x2, x2, l_.str.14@PAGEOFF
b LBB0_18
LBB0_9:
Lloh19:
adrp x23, l_.str.10@PAGE
Lloh20:
add x23, x23, l_.str.10@PAGEOFF
b LBB0_19
LBB0_10:
Lloh21:
adrp x23, l_.str.6@PAGE
Lloh22:
add x23, x23, l_.str.6@PAGEOFF
b LBB0_19
LBB0_11:
add x23, sp, #20
str x22, [sp]
Lloh23:
adrp x2, l_.str.15@PAGE
Lloh24:
add x2, x2, l_.str.15@PAGEOFF
b LBB0_18
LBB0_12:
Lloh25:
adrp x23, l_.str.11@PAGE
Lloh26:
add x23, x23, l_.str.11@PAGEOFF
b LBB0_19
LBB0_13:
Lloh27:
adrp x23, l_.str.12@PAGE
Lloh28:
add x23, x23, l_.str.12@PAGEOFF
b LBB0_19
LBB0_14:
Lloh29:
adrp x23, l_.str.7@PAGE
Lloh30:
add x23, x23, l_.str.7@PAGEOFF
b LBB0_19
LBB0_15:
add x23, sp, #20
ldr w8, [x19]
str x8, [sp]
Lloh31:
adrp x2, l_.str.4@PAGE
Lloh32:
add x2, x2, l_.str.4@PAGEOFF
b LBB0_18
LBB0_16:
Lloh33:
adrp x23, l_.str.9@PAGE
Lloh34:
add x23, x23, l_.str.9@PAGEOFF
b LBB0_19
LBB0_17:
add x23, sp, #20
ldr w8, [x19]
str x8, [sp]
Lloh35:
adrp x2, l_.str.5@PAGE
Lloh36:
add x2, x2, l_.str.5@PAGEOFF
LBB0_18:
add x1, sp, #20
mov w0, #100
bl _sqlite3_snprintf
LBB0_19:
ldr w2, [x20]
ldr w3, [x21]
Lloh37:
adrp x1, l_.str.16@PAGE
Lloh38:
add x1, x1, l_.str.16@PAGEOFF
mov x0, x20
mov x4, x23
bl _vfstrace_printf
ldr x0, [x21, #8]
ldr x8, [x0]
ldr x8, [x8]
mov x1, x22
mov x2, x19
blr x8
mov x24, x0
Lloh39:
adrp x1, l_.str.17@PAGE
Lloh40:
add x1, x1, l_.str.17@PAGEOFF
mov x0, x20
mov x2, x24
bl _vfstrace_print_errcode
Lloh41:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh42:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh43:
ldr w8, [x8]
cmp w22, #132
b.ne LBB0_22
; %bb.20:
cmp w24, w8
b.ne LBB0_22
; %bb.21:
ldr w1, [x20]
ldr x2, [x19]
Lloh44:
adrp x0, l_.str.18@PAGE
Lloh45:
add x0, x0, l_.str.18@PAGEOFF
bl _sqlite3_mprintf
str x0, [x19]
b LBB0_27
LBB0_22:
cmp w22, #136
b.eq LBB0_24
; %bb.23:
cmp w22, #133
b.ne LBB0_27
LBB0_24:
cmp w24, w8
b.ne LBB0_27
; %bb.25:
ldr x8, [x19]
cbz x8, LBB0_27
; %bb.26:
ldr w2, [x20]
ldr w3, [x21]
Lloh46:
adrp x1, l_.str.19@PAGE
Lloh47:
add x1, x1, l_.str.19@PAGEOFF
str x8, [sp]
mov x0, x20
mov x4, x23
bl _vfstrace_printf
LBB0_27:
ldur x8, [x29, #-56]
Lloh48:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh49:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_29
; %bb.28:
mov x0, x24
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_29:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_13-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_15-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_16-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_19-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_17-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LOCKSTATE"
l_.str.1: ; @.str.1
.asciz "GET_LOCKPROXYFILE"
l_.str.2: ; @.str.2
.asciz "SET_LOCKPROXYFILE"
l_.str.3: ; @.str.3
.asciz "LAST_ERRNO"
l_.str.4: ; @.str.4
.asciz "SIZE_HINT,%lld"
l_.str.5: ; @.str.5
.asciz "CHUNK_SIZE,%d"
l_.str.6: ; @.str.6
.asciz "FILE_POINTER"
l_.str.7: ; @.str.7
.asciz "SYNC_OMITTED"
l_.str.8: ; @.str.8
.asciz "WIN32_AV_RETRY"
l_.str.9: ; @.str.9
.asciz "PERSIST_WAL"
l_.str.10: ; @.str.10
.asciz "OVERWRITE"
l_.str.11: ; @.str.11
.asciz "VFSNAME"
l_.str.12: ; @.str.12
.asciz "TEMPFILENAME"
l_.str.13: ; @.str.13
.asciz "DB_UNCHANGED"
l_.str.14: ; @.str.14
.asciz "PRAGMA,[%s,%s]"
l_.str.15: ; @.str.15
.asciz "%d"
l_.str.16: ; @.str.16
.asciz "%s.xFileControl(%s,%s)"
l_.str.17: ; @.str.17
.asciz " -> %s\n"
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
l_.str.18: ; @.str.18
.asciz "vfstrace.%s/%z"
l_.str.19: ; @.str.19
.asciz "%s.xFileControl(%s,%s) returns %s"
.no_dead_strip _vfstraceFileControl
.subsections_via_symbols
| AnghaBench/sqlcipher/src/extr_test_vfstrace.c_vfstraceFileControl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipu_vdi_init ## -- Begin function ipu_vdi_init
.p2align 4, 0x90
_ipu_vdi_init: ## @ipu_vdi_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r13d
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rsi, %rdi
movl $24, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %rax, (%r14)
movq %rax, %rdi
addq $16, %rdi
callq _spin_lock_init
movl %r13d, 12(%rbx)
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
movq %r15, %rsi
callq _devm_ioremap
movl %eax, 8(%rbx)
testl %eax, %eax
je LBB0_1
## %bb.3:
leaq L_.str(%rip), %rsi
movq %r12, %rdi
movq %r15, %rdx
movl %eax, %ecx
callq _dev_dbg
movq %r14, (%rbx)
xorl %eax, %eax
jmp LBB0_4
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VDI base: 0x%08lx remapped to %p\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ipu_vdi_init ; -- Begin function ipu_vdi_init
.p2align 2
_ipu_vdi_init: ; @ipu_vdi_init
.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 x23, x3
mov x20, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x1
mov w1, #24
bl _devm_kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x22, x0
str x0, [x19]
add x0, x0, #16
bl _spin_lock_init
str w23, [x22, #12]
Lloh3:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x21
mov x1, x20
bl _devm_ioremap
str w0, [x22, #8]
cbz w0, LBB0_3
; %bb.2:
mov x3, x0
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
mov x2, x20
bl _dev_dbg
mov w0, #0
str x19, [x22]
b LBB0_4
LBB0_3:
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
neg w0, w8
LBB0_4:
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
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VDI base: 0x%08lx remapped to %p\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/ipu-v3/extr_ipu-vdi.c_ipu_vdi_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_ui_method ## -- Begin function get_ui_method
.p2align 4, 0x90
_get_ui_method: ## @get_ui_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ui_method@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ui_method,8,3 ## @ui_method
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_ui_method ; -- Begin function get_ui_method
.p2align 2
_get_ui_method: ; @get_ui_method
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ui_method@GOTPAGE
Lloh1:
ldr x8, [x8, _ui_method@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ui_method,8,3 ; @ui_method
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/apps/extr_apps.c_get_ui_method.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isinstring ## -- Begin function ft_isinstring
.p2align 4, 0x90
_ft_isinstring: ## @ft_isinstring
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rsi), %cl
xorl %eax, %eax
testb %cl, %cl
je LBB0_5
## %bb.1:
incq %rsi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpb %dil, %cl
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
movzbl (%rsi), %ecx
incq %rsi
testb %cl, %cl
jne LBB0_3
LBB0_5:
popq %rbp
retq
LBB0_4:
movl $1, %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 _ft_isinstring ; -- Begin function ft_isinstring
.p2align 2
_ft_isinstring: ; @ft_isinstring
.cfi_startproc
; %bb.0:
ldrb w9, [x1]
cbz w9, LBB0_4
; %bb.1:
and w8, w0, #0xff
add x10, x1, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp w9, w8
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrb w9, [x10], #1
cbnz w9, LBB0_2
LBB0_4:
mov w0, #0
ret
LBB0_5:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/1161624.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function markupval
_markupval: ## @markupval
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
testq %rax, %rax
je LBB0_5
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl %esi, (%rax)
jle LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rax), %rax
testq %rax, %rax
jne LBB0_2
LBB0_5:
popq %rbp
retq
LBB0_4:
movl $1, 4(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _markupval
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function markupval
_markupval: ; @markupval
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8]
cmp w9, w1
b.le LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x8, #8]
cbnz x8, LBB0_1
LBB0_3:
ret
LBB0_4:
mov w9, #1
str w9, [x8, #4]
ret
.cfi_endproc
; -- End function
.no_dead_strip _markupval
.subsections_via_symbols
| AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lparser.c_markupval.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function check_trad_stringification
_check_trad_stringification: ## @check_trad_stringification
.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, -56(%rbp) ## 8-byte Spill
movslq (%rdx), %rax
cmpq $3, %rax
jl LBB0_16
## %bb.1:
movq %rsi, %rbx
movq 8(%rdx), %r14
leaq (%r14,%rax,4), %r15
addq $-4, %r15
addq $4, %r14
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %r15, -64(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
cmpq %r15, %r14
jae LBB0_16
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
## Child Loop BB0_11 Depth 2
movq %r14, %r13
cmpq %r15, %r14
jae LBB0_5
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r13), %edi
callq _is_idstart
testl %eax, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
addq $4, %r13
cmpq %r15, %r13
jb LBB0_3
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %r14
cmpq %r15, %r13
jae LBB0_9
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %r14
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14), %edi
callq _is_idchar
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
addq $4, %r14
cmpq %r15, %r14
jb LBB0_7
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, (%rbx)
je LBB0_15
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rax
subq %r13, %rax
shrq $2, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
jmp LBB0_11
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
incq %r12
movq -48(%rbp), %rbx ## 8-byte Reload
movl (%rbx), %eax
cmpq %rax, %r12
jae LBB0_15
LBB0_11: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rbx), %rax
movq (%rax,%r12,8), %r15
movq %r15, %rdi
callq _NODE_LEN
movq -72(%rbp), %rbx ## 8-byte Reload
cmpl %ebx, %eax
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq %r15, %rdi
callq _NODE_NAME
movq %r13, %rdi
movl %eax, %esi
movl %ebx, %edx
callq _memcmp
testl %eax, %eax
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movq _CPP_DL_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r15, %rdi
callq _NODE_NAME
movq -56(%rbp), %rdi ## 8-byte Reload
movl %ebx, %esi
leaq L_.str(%rip), %rdx
movl %eax, %ecx
callq _cpp_error
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB0_15
LBB0_16:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CPP_DL_WARNING,4,2 ## @CPP_DL_WARNING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "macro argument \"%s\" would be stringified in traditional C"
.no_dead_strip _check_trad_stringification
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function check_trad_stringification
_check_trad_stringification: ; @check_trad_stringification
.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
ldrsw x8, [x2]
cmp w8, #3
b.lt LBB0_16
; %bb.1:
mov x19, x1
mov x20, x0
ldr x9, [x2, #8]
add x8, x9, x8, lsl #2
sub x25, x8, #4
add x27, x9, #4
Lloh0:
adrp x26, _CPP_DL_WARNING@GOTPAGE
Lloh1:
ldr x26, [x26, _CPP_DL_WARNING@GOTPAGEOFF]
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp x27, x25
b.hs LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_8 Depth 2
; Child Loop BB0_13 Depth 2
mov x22, x27
cmp x27, x25
b.hs LBB0_6
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x22]
bl _is_idstart
cbnz w0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
add x22, x22, #4
cmp x22, x25
b.lo LBB0_4
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov x27, x22
cmp x22, x25
b.hs LBB0_10
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x27, x22
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x27]
bl _is_idchar
cbz x0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x27, x27, #4
cmp x27, x25
b.lo LBB0_8
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
cbz w8, LBB0_2
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
mov x28, #0
sub x8, x27, x22
lsr x23, x8, #2
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
add x28, x28, #1
ldr w8, [x19]
cmp x28, x8
b.hs LBB0_2
LBB0_13: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, #8]
ldr x24, [x8, x28, lsl #3]
mov x0, x24
bl _NODE_LEN
cmp w0, w23
b.ne LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
mov x0, x24
bl _NODE_NAME
mov x1, x0
mov x0, x22
mov x2, x23
bl _memcmp
cbnz w0, LBB0_12
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
ldr w22, [x26]
mov x0, x24
bl _NODE_NAME
mov x3, x0
mov x0, x20
mov x1, x22
mov x2, x21
bl _cpp_error
b LBB0_2
LBB0_16:
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 AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _CPP_DL_WARNING,4,2 ; @CPP_DL_WARNING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "macro argument \"%s\" would be stringified in traditional C"
.no_dead_strip _check_trad_stringification
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_macro.c_check_trad_stringification.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _zzSymbol,4,2 ## @zzSymbol
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _zzSymbol,4,2 ; @zzSymbol
.subsections_via_symbols
| the_stack_data/21327.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fx_the_value
_fx_the_value: ## @fx_the_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl %dil, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fx_the_value
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fx_the_value
_fx_the_value: ; @fx_the_value
.cfi_startproc
; %bb.0:
and w0, w0, #0xff
ret
.cfi_endproc
; -- End function
.no_dead_strip _fx_the_value
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/synth/emux/extr_emux_nrpn.c_fx_the_value.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fts3FreeExprNode
_fts3FreeExprNode: ## @fts3FreeExprNode
.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 _FTSQUERY_PHRASE@GOTPCREL(%rip), %rcx
movl $1, %edi
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
xorl %edi, %edi
cmpq $0, 8(%rbx)
sete %dil
LBB0_2:
callq _assert
movq 8(%rbx), %rdi
callq _sqlite3Fts3EvalPhraseCleanup
movq 16(%rbx), %rdi
callq _sqlite3_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _sqlite3_free ## TAILCALL
.cfi_endproc
## -- End function
.comm _FTSQUERY_PHRASE,8,3 ## @FTSQUERY_PHRASE
.no_dead_strip _fts3FreeExprNode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fts3FreeExprNode
_fts3FreeExprNode: ; @fts3FreeExprNode
.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, _FTSQUERY_PHRASE@GOTPAGE
Lloh1:
ldr x9, [x9, _FTSQUERY_PHRASE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov w0, #1
b LBB0_3
LBB0_2:
ldr x8, [x19, #8]
cmp x8, #0
cset w0, eq
LBB0_3:
bl _assert
ldr x0, [x19, #8]
bl _sqlite3Fts3EvalPhraseCleanup
ldr x0, [x19, #16]
bl _sqlite3_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sqlite3_free
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FTSQUERY_PHRASE,8,3 ; @FTSQUERY_PHRASE
.no_dead_strip _fts3FreeExprNode
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/fts3/extr_fts3_expr.c_fts3FreeExprNode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function evhttp_send
_evhttp_send: ## @evhttp_send
.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
movq 8(%rdi), %r14
testq %r14, %r14
je LBB0_4
## %bb.1:
movq %rsi, %r15
movq %r14, %rdi
callq _TAILQ_FIRST
xorl %edi, %edi
cmpq %rbx, %rax
sete %dil
callq _EVUTIL_ASSERT
movl $1, (%rbx)
testq %r15, %r15
je LBB0_3
## %bb.2:
movl 4(%rbx), %edi
movq %r15, %rsi
callq _evbuffer_add_buffer
LBB0_3:
movq %r14, %rdi
movq %rbx, %rsi
callq _evhttp_make_header
movq _evhttp_send_done@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
xorl %edx, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _evhttp_write_buffer ## TAILCALL
LBB0_4:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _evhttp_request_free ## TAILCALL
.cfi_endproc
## -- End function
.comm _evhttp_send_done,4,2 ## @evhttp_send_done
.no_dead_strip _evhttp_send
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function evhttp_send
_evhttp_send: ; @evhttp_send
.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
ldr x19, [x0, #8]
cbz x19, LBB0_4
; %bb.1:
mov x21, x1
mov x0, x19
bl _TAILQ_FIRST
cmp x0, x20
cset w0, eq
bl _EVUTIL_ASSERT
mov w8, #1
str w8, [x20]
cbz x21, LBB0_3
; %bb.2:
ldr w0, [x20, #4]
mov x1, x21
bl _evbuffer_add_buffer
LBB0_3:
mov x0, x19
mov x1, x20
bl _evhttp_make_header
Lloh0:
adrp x8, _evhttp_send_done@GOTPAGE
Lloh1:
ldr x8, [x8, _evhttp_send_done@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
mov x2, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _evhttp_write_buffer
LBB0_4:
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
b _evhttp_request_free
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _evhttp_send_done,4,2 ; @evhttp_send_done
.no_dead_strip _evhttp_send
.subsections_via_symbols
| AnghaBench/libevent/extr_http.c_evhttp_send.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _ReadPROMContent
__ReadPROMContent: ## @_ReadPROMContent
.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 _GET_EEPROM_EFUSE_PRIV
movq %rax, %r14
movq _REG_9346CR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _usb_read8
movq _BOOT_FROM_EEPROM@GOTPCREL(%rip), %rcx
xorl %edx, %edx
movl (%rcx), %ecx
andl %eax, %ecx
setne %dl
movl %edx, (%r14)
movq _EEPROM_EN@GOTPCREL(%rip), %rcx
leaq L_.str.1(%rip), %rdx
leaq L_.str.2(%rip), %rsi
cmovneq %rdx, %rsi
xorl %edx, %edx
andl (%rcx), %eax
sete %dl
movl %edx, 4(%r14)
leaq L_.str.3(%rip), %rax
leaq L_.str.4(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str(%rip), %rdi
callq _DBG_88E
movq %rbx, %rdi
callq _Hal_InitPGData88E
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _readAdapterInfo_8188EU ## TAILCALL
.cfi_endproc
## -- End function
.comm _REG_9346CR,4,2 ## @REG_9346CR
.comm _BOOT_FROM_EEPROM,4,2 ## @BOOT_FROM_EEPROM
.comm _EEPROM_EN,4,2 ## @EEPROM_EN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Boot from %s, Autoload %s !\n"
L_.str.1: ## @.str.1
.asciz "EEPROM"
L_.str.2: ## @.str.2
.asciz "EFUSE"
L_.str.3: ## @.str.3
.asciz "Fail"
L_.str.4: ## @.str.4
.asciz "OK"
.no_dead_strip __ReadPROMContent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _ReadPROMContent
__ReadPROMContent: ; @_ReadPROMContent
.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 _GET_EEPROM_EFUSE_PRIV
mov x20, x0
Lloh0:
adrp x8, _REG_9346CR@GOTPAGE
Lloh1:
ldr x8, [x8, _REG_9346CR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _usb_read8
Lloh3:
adrp x8, _BOOT_FROM_EEPROM@GOTPAGE
Lloh4:
ldr x8, [x8, _BOOT_FROM_EEPROM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w0
cset w8, ne
str w8, [x20]
Lloh6:
adrp x8, _EEPROM_EN@GOTPAGE
Lloh7:
ldr x8, [x8, _EEPROM_EN@GOTPAGEOFF]
Lloh8:
adrp x9, l_.str.2@PAGE
Lloh9:
add x9, x9, l_.str.2@PAGEOFF
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x10, l_.str.1@PAGE
Lloh12:
add x10, x10, l_.str.1@PAGEOFF
csel x1, x10, x9, ne
tst w8, w0
cset w8, eq
str w8, [x20, #4]
Lloh13:
adrp x8, l_.str.4@PAGE
Lloh14:
add x8, x8, l_.str.4@PAGEOFF
Lloh15:
adrp x9, l_.str.3@PAGE
Lloh16:
add x9, x9, l_.str.3@PAGEOFF
csel x2, x9, x8, eq
Lloh17:
adrp x0, l_.str@PAGE
Lloh18:
add x0, x0, l_.str@PAGEOFF
bl _DBG_88E
mov x0, x19
bl _Hal_InitPGData88E
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _readAdapterInfo_8188EU
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _REG_9346CR,4,2 ; @REG_9346CR
.comm _BOOT_FROM_EEPROM,4,2 ; @BOOT_FROM_EEPROM
.comm _EEPROM_EN,4,2 ; @EEPROM_EN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Boot from %s, Autoload %s !\n"
l_.str.1: ; @.str.1
.asciz "EEPROM"
l_.str.2: ; @.str.2
.asciz "EFUSE"
l_.str.3: ; @.str.3
.asciz "Fail"
l_.str.4: ; @.str.4
.asciz "OK"
.no_dead_strip __ReadPROMContent
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_usb_halinit.c__ReadPROMContent.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 $16, %edi
callq _malloc
movq %rax, %r15
movl $1, (%rax)
movl $16, %edi
callq _malloc
movq %rax, 8(%r15)
movl $2, (%rax)
movq $0, 8(%rax)
movq %r15, %rax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq 8(%rax), %rax
testq %rax, %rax
jne LBB0_1
## %bb.2:
movl $16, %edi
callq _malloc
movq %rax, 8(%rbx)
movl $3, (%rax)
movq $0, 8(%rax)
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r14
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_3
## %bb.4:
movl $16, %edi
callq _malloc
movq %rax, 8(%r14)
movl $4, (%rax)
movq $0, 8(%rax)
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r14, %rbx
movq 8(%r14), %r14
testq %r14, %r14
jne LBB0_5
## %bb.6:
movl $16, %edi
callq _malloc
movq %rax, 8(%rbx)
movl $5, (%rax)
movq $0, 8(%rax)
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r14
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_7
## %bb.8:
movl $16, %edi
callq _malloc
movq %rax, 8(%r14)
movl $6, (%rax)
movq $0, 8(%rax)
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r14, %rbx
movq 8(%r14), %r14
testq %r14, %r14
jne LBB0_9
## %bb.10:
movl $16, %edi
callq _malloc
movq %rax, 8(%rbx)
movl $7, (%rax)
movq $0, 8(%rax)
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r14
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_11
## %bb.12:
movl $16, %edi
callq _malloc
movq %rax, 8(%r14)
movl $8, (%rax)
movq $0, 8(%rax)
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r14, %rbx
movq 8(%r14), %r14
testq %r14, %r14
jne LBB0_13
## %bb.14:
movl $16, %edi
callq _malloc
movq %rax, 8(%rbx)
movl $9, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %r14
movl $16, %edi
callq _malloc
movq %rax, 8(%r14)
movq 8(%rbx), %rax
movq %r15, 8(%rax)
movl $10, %edi
callq _putchar
movl $81, %ebx
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl (%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%r15), %r15
decl %ebx
jne LBB0_15
## %bb.16:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _allocate ## -- Begin function allocate
.p2align 4, 0x90
_allocate: ## @allocate
.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, %r15d
movq %rdi, %r14
movl $1, (%rdi)
movq $0, 8(%rdi)
movl $2, %r12d
movq %rdi, %rbx
.p2align 4, 0x90
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
movq %rbx, %rax
.p2align 4, 0x90
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %rbx
movq 8(%rax), %rax
testq %rax, %rax
jne LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl $16, %edi
callq _malloc
movq %rax, 8(%rbx)
movl %r12d, (%rax)
movq $0, 8(%rax)
leal 1(%r12), %eax
cmpl %r15d, %r12d
movl %eax, %r12d
jne LBB1_1
## %bb.4:
movq 8(%rbx), %r15
movl $16, %edi
callq _malloc
movq %rax, 8(%r15)
movq 8(%rbx), %rax
movq %r14, 8(%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _list ## -- Begin function list
.p2align 4, 0x90
_list: ## @list
.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 $10, %edi
callq _putchar
movl $81, %r15d
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
decl %r15d
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.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w0, #16
bl _malloc
mov x19, x0
mov w8, #1
str w8, [x0]
mov w0, #16
bl _malloc
str x0, [x19, #8]
mov w8, #2
str w8, [x0]
str xzr, [x0, #8]
mov x8, x19
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x20, x8
ldr x8, [x8, #8]
cbnz x8, LBB0_1
; %bb.2:
mov w0, #16
bl _malloc
str x0, [x20, #8]
mov w8, #3
str w8, [x0]
str xzr, [x0, #8]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x21, x20
ldr x20, [x20, #8]
cbnz x20, LBB0_3
; %bb.4:
mov w0, #16
bl _malloc
str x0, [x21, #8]
mov w8, #4
str w8, [x0]
str xzr, [x0, #8]
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x20, x21
ldr x21, [x21, #8]
cbnz x21, LBB0_5
; %bb.6:
mov w0, #16
bl _malloc
str x0, [x20, #8]
mov w8, #5
str w8, [x0]
str xzr, [x0, #8]
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x21, x20
ldr x20, [x20, #8]
cbnz x20, LBB0_7
; %bb.8:
mov w0, #16
bl _malloc
str x0, [x21, #8]
mov w8, #6
str w8, [x0]
str xzr, [x0, #8]
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x20, x21
ldr x21, [x21, #8]
cbnz x21, LBB0_9
; %bb.10:
mov w0, #16
bl _malloc
str x0, [x20, #8]
mov w8, #7
str w8, [x0]
str xzr, [x0, #8]
LBB0_11: ; =>This Inner Loop Header: Depth=1
mov x21, x20
ldr x20, [x20, #8]
cbnz x20, LBB0_11
; %bb.12:
mov w0, #16
bl _malloc
str x0, [x21, #8]
mov w8, #8
str w8, [x0]
str xzr, [x0, #8]
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov x20, x21
ldr x21, [x21, #8]
cbnz x21, LBB0_13
; %bb.14:
mov w0, #16
bl _malloc
str x0, [x20, #8]
mov w8, #9
str w8, [x0]
str xzr, [x0, #8]
ldr x21, [x20, #8]
mov w0, #16
bl _malloc
str x0, [x21, #8]
ldr x8, [x20, #8]
str x19, [x8, #8]
mov w0, #10
bl _putchar
mov w21, #81
Lloh0:
adrp x20, l_.str.1@PAGE
Lloh1:
add x20, x20, l_.str.1@PAGEOFF
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
str x8, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #8]
subs w21, w21, #1
b.ne LBB0_15
; %bb.16:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _allocate ; -- Begin function allocate
.p2align 2
_allocate: ; @allocate
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov w8, #1
str w8, [x0]
str xzr, [x0, #8]
mov w22, #2
mov x21, x0
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
mov x8, x21
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x21, x8
ldr x8, [x8, #8]
cbnz x8, LBB1_2
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
mov w0, #16
bl _malloc
str x0, [x21, #8]
str w22, [x0]
str xzr, [x0, #8]
add w8, w22, #1
cmp w22, w20
mov x22, x8
b.ne LBB1_1
; %bb.4:
ldr x20, [x21, #8]
mov w0, #16
bl _malloc
str x0, [x20, #8]
ldr x8, [x21, #8]
str x19, [x8, #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
.cfi_endproc
; -- End function
.globl _list ; -- Begin function list
.p2align 2
_list: ; @list
.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
mov w0, #10
bl _putchar
mov w21, #81
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
str x8, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #8]
subs w21, w21, #1
b.ne LBB2_1
; %bb.2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/104840.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _llc_conn_ev_init_p_f_cycle ## -- Begin function llc_conn_ev_init_p_f_cycle
.p2align 4, 0x90
_llc_conn_ev_init_p_f_cycle: ## @llc_conn_ev_init_p_f_cycle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %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 _llc_conn_ev_init_p_f_cycle ; -- Begin function llc_conn_ev_init_p_f_cycle
.p2align 2
_llc_conn_ev_init_p_f_cycle: ; @llc_conn_ev_init_p_f_cycle
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/llc/extr_llc_c_ev.c_llc_conn_ev_init_p_f_cycle.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function MsgBox_Thread
LCPI0_0:
.quad 0x4076800000000000 ## double 360
LCPI0_1:
.quad 0x4059000000000000 ## double 100
LCPI0_2:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_MsgBox_Thread: ## @MsgBox_Thread
.cfi_startproc
## %bb.0:
cmpq $0, 64(%rdi)
je LBB0_15
## %bb.1:
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, %rbx
movq _bg_color@GOTPCREL(%rip), %r15
movl $166, %r12d
movq _WHITE@GOTPCREL(%rip), %r13
leaq L_.str(%rip), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _gxSetScreen
movsd 16(%rbx), %xmm0 ## xmm0 = mem[0],zero
addsd LCPI0_2(%rip), %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.0E+2,0.0E+0]
cmpltsd %xmm0, %xmm1
andnpd %xmm0, %xmm1
movlpd %xmm1, 16(%rbx)
movl $10, %edi
callq _usleep
cmpq $0, 64(%rbx)
je LBB0_14
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 56(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
callq _GUI_DrawMenu
jmp LBB0_5
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %edi
callq _gxClearScreen
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq 32(%rbx), %rdi
movl (%rdi), %ecx
movl 4(%rdi), %r8d
movl $166, %esi
movl $160, %edx
movl $230, %r9d
callq _gxDrawTexture
movq 48(%rbx), %rdi
movl (%rdi), %ecx
movl 4(%rdi), %r8d
movl $166, %esi
movl $160, %edx
movl $255, %r9d
callq _gxDrawTexture
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq 32(%rbx), %rax
movq 48(%rbx), %rdx
movl (%rax), %ecx
addl %r12d, %ecx
movl 4(%rdx), %eax
movl %eax, %edx
addl $-20, %edx
shrl $31, %edx
leal (%rax,%rdx), %r8d
addl $-20, %r8d
sarl %r8d
addl $180, %r8d
movl (%r13), %r9d
movl $20, %esi
movl $166, %edx
callq _FONT_writeCenter
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq 32(%rbx), %rax
movl (%rax), %ecx
addl %r12d, %ecx
movl (%r13), %r9d
movl $18, %esi
movl $166, %edx
movl $248, %r8d
callq _FONT_writeCenter
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq 40(%rbx), %rdi
testq %rdi, %rdi
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq 32(%rbx), %rax
movl (%rax), %r9d
movl 4(%rax), %edx
movl (%rdi), %ecx
movl 4(%rdi), %r8d
subl %ecx, %r9d
movl %r9d, %esi
shrl $31, %esi
addl %r9d, %esi
sarl %esi
addl $166, %esi
subl %r8d, %edx
addl $140, %edx
movsd 16(%rbx), %xmm0 ## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
divsd LCPI0_1(%rip), %xmm0
movl $255, %r9d
callq _gxDrawTextureRotate
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, 24(%rbx)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movq 32(%rbx), %rax
movl (%rax), %ecx
addl %r12d, %ecx
movl (%r13), %r9d
movq %r14, %rdi
movl $18, %esi
movl $166, %edx
movl $270, %r8d ## imm = 0x10E
callq _FONT_writeCenter
movq 24(%rbx), %rdi
movl (%rdi), %ecx
movl 4(%rdi), %r8d
movl $18, %eax
subl %r8d, %eax
movl %eax, %edx
shrl $31, %edx
addl %eax, %edx
sarl %edx
addl $252, %edx
movl $282, %esi ## imm = 0x11A
movl $255, %r9d
callq _gxDrawTexture
jmp LBB0_13
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_15:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_1003 ## @g_aug_volatile_1003
.p2align 2, 0x0
_g_aug_volatile_1003:
.long 7 ## 0x7
.comm _bg_color,4,2 ## @bg_color
.comm _WHITE,8,3 ## @WHITE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Press to continue."
.no_dead_strip _MsgBox_Thread
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function MsgBox_Thread
_MsgBox_Thread: ; @MsgBox_Thread
.cfi_startproc
; %bb.0:
ldr x8, [x0, #64]
cbz x8, LBB0_15
; %bb.1:
stp d11, d10, [sp, #-96]! ; 16-byte Folded Spill
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
mov x19, x0
Lloh0:
adrp x21, _bg_color@GOTPAGE
Lloh1:
ldr x21, [x21, _bg_color@GOTPAGEOFF]
fmov d8, #1.00000000
mov x8, #4636737291354636288 ; =0x4059000000000000
fmov d9, x8
movi d10, #0000000000000000
Lloh2:
adrp x22, _WHITE@GOTPAGE
Lloh3:
ldr x22, [x22, _WHITE@GOTPAGEOFF]
Lloh4:
adrp x20, l_.str@PAGE
Lloh5:
add x20, x20, l_.str@PAGEOFF
mov w23, #18 ; =0x12
mov x24, #140737488355328 ; =0x800000000000
movk x24, #16502, lsl #48
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
bl _gxSetScreen
ldr d0, [x19, #16]
fadd d0, d0, d8
fcmp d0, d9
fcsel d0, d10, d0, gt
str d0, [x19, #16]
mov w0, #10 ; =0xa
bl _usleep
ldr x8, [x19, #64]
cbz x8, LBB0_14
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #56]
cbz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _GUI_DrawMenu
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x21]
bl _gxClearScreen
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #32]
ldp w3, w4, [x0]
mov w1, #166 ; =0xa6
mov w2, #160 ; =0xa0
mov w5, #230 ; =0xe6
bl _gxDrawTexture
ldr x0, [x19, #48]
ldp w3, w4, [x0]
mov w1, #166 ; =0xa6
mov w2, #160 ; =0xa0
mov w5, #255 ; =0xff
bl _gxDrawTexture
ldr x0, [x19]
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #32]
ldr w8, [x8]
ldr x9, [x19, #48]
ldr w9, [x9, #4]
sub w9, w9, #20
add w9, w9, w9, lsr #31
asr w9, w9, #1
ldr w5, [x22]
add w3, w8, #166
add w4, w9, #180
mov w1, #20 ; =0x14
mov w2, #166 ; =0xa6
bl _FONT_writeCenter
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #8]
cbz x0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #32]
ldr w8, [x8]
ldr w5, [x22]
add w3, w8, #166
mov w1, #18 ; =0x12
mov w2, #166 ; =0xa6
mov w4, #248 ; =0xf8
bl _FONT_writeCenter
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x19, #40]
cbz x0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #32]
ldp w9, w8, [x8]
ldp w3, w4, [x0]
sub w9, w9, w3
add w9, w9, w9, lsr #31
asr w9, w9, #1
sub w8, w8, w4
ldr d0, [x19, #16]
fmov d1, x24
fmul d0, d0, d1
fdiv d0, d0, d9
add w1, w9, #166
add w2, w8, #140
mov w5, #255 ; =0xff
bl _gxDrawTextureRotate
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
cbz x8, LBB0_2
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #32]
ldr w8, [x8]
ldr w5, [x22]
add w3, w8, #166
mov x0, x20
mov w1, #18 ; =0x12
mov w2, #166 ; =0xa6
mov w4, #270 ; =0x10e
bl _FONT_writeCenter
ldr x0, [x19, #24]
ldp w3, w4, [x0]
sub w8, w23, w4
add w8, w8, w8, lsr #31
asr w8, w8, #1
add w2, w8, #252
mov w1, #282 ; =0x11a
mov w5, #255 ; =0xff
bl _gxDrawTexture
b LBB0_2
LBB0_14:
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 d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #96 ; 16-byte Folded Reload
LBB0_15:
mov x0, #0 ; =0x0
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_1003 ; @g_aug_volatile_1003
.p2align 2, 0x0
_g_aug_volatile_1003:
.long 7 ; 0x7
.comm _bg_color,4,2 ; @bg_color
.comm _WHITE,8,3 ; @WHITE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Press to continue."
.no_dead_strip _MsgBox_Thread
.subsections_via_symbols
| assembly_file_91981.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 dtime
LCPI0_0:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _dtime
.p2align 4, 0x90
_dtime: ## @dtime
.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
leaq -16(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
cvtsi2sdq -16(%rbp), %xmm1
cvtsi2sdl -8(%rbp), %xmm0
mulsd LCPI0_0(%rip), %xmm0
addsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI1_0:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %r15
leaq L_.str.3(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
xorl %edx, %edx
cmpl %ebx, %r12d
sete %dl
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _fprintf
incl %ebx
cmpl $64, %ebx
jne LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl $10, %edi
movq %r15, %rsi
callq _fputc
incl %r12d
cmpl $64, %r12d
jne LBB1_1
## %bb.4:
movq %r15, %rdi
callq _fclose
leaq L_str.18(%rip), %rdi
callq _puts
leaq L_.str.6(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %r15
leaq L_.str.3(%rip), %r14
xorl %r13d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_5: ## =>This Loop Header: Depth=1
## Child Loop BB1_6 Depth 2
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_6: ## Parent Loop BB1_5 Depth=1
## => This Inner Loop Header: Depth=2
leal (%rbx,%r13), %edx
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _fprintf
incl %ebx
cmpl $64, %ebx
jne LBB1_6
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
movl $10, %edi
movq %r15, %rsi
callq _fputc
incl %r12d
addl $64, %r13d
cmpl $64, %r12d
jne LBB1_5
## %bb.8:
movq %r15, %rdi
callq _fclose
leaq L_.str.1(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB1_9: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _fgetc
cmpl $10, %eax
je LBB1_9
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
cmpl $32, %eax
je LBB1_9
## %bb.11: ## in Loop: Header=BB1_9 Depth=1
cmpl $-1, %eax
je LBB1_13
## %bb.12: ## in Loop: Header=BB1_9 Depth=1
incl %r14d
jmp LBB1_9
LBB1_13:
movq %rbx, %rdi
callq _fclose
cvtsi2sd %r14d, %xmm0
sqrtsd %xmm0, %xmm0
cvttsd2si %xmm0, %r12d
leaq L_.str.8(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
movl %r12d, %ebx
imull %ebx, %ebx
shlq $3, %rbx
movq %rbx, %rdi
callq _malloc
movq %rax, -96(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _malloc
movq %rax, -88(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _malloc
movq %rax, %r15
leaq L_str.19(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, %rbx
movl %r12d, %r14d
movq %r12, -64(%rbp) ## 8-byte Spill
testl %r12d, %r12d
movq %r14, -80(%rbp) ## 8-byte Spill
jle LBB1_18
## %bb.14:
leaq (,%r14,8), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq L_.str.10(%rip), %r13
movq -96(%rbp), %r12 ## 8-byte Reload
xorl %eax, %eax
.p2align 4, 0x90
LBB1_15: ## =>This Loop Header: Depth=1
## Child Loop BB1_16 Depth 2
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r12, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB1_16: ## Parent Loop BB1_15 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _fscanf
addq $8, %r12
decq %r14
jne LBB1_16
## %bb.17: ## in Loop: Header=BB1_15 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
incq %rax
movq -56(%rbp), %r12 ## 8-byte Reload
addq -72(%rbp), %r12 ## 8-byte Folded Reload
movq -80(%rbp), %r14 ## 8-byte Reload
cmpq %r14, %rax
jne LBB1_15
LBB1_18:
movq %rbx, %rdi
callq _fclose
leaq L_str.20(%rip), %rdi
callq _puts
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
callq _fopen
movq %rax, %r13
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
jle LBB1_19
## %bb.20:
leaq (,%r14,8), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq L_.str.10(%rip), %r12
movq -88(%rbp), %rbx ## 8-byte Reload
xorl %eax, %eax
.p2align 4, 0x90
LBB1_21: ## =>This Loop Header: Depth=1
## Child Loop BB1_22 Depth 2
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB1_22: ## Parent Loop BB1_21 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _fscanf
addq $8, %rbx
decq %r14
jne LBB1_22
## %bb.23: ## in Loop: Header=BB1_21 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
incq %rax
movq -56(%rbp), %rbx ## 8-byte Reload
addq -72(%rbp), %rbx ## 8-byte Folded Reload
movq -80(%rbp), %r14 ## 8-byte Reload
cmpq %r14, %rax
jne LBB1_21
## %bb.24:
movq %r13, %rdi
callq _fclose
leaq -1(%r14), %rax
movl %r14d, %r12d
andl $3, %r12d
xorl %r13d, %r13d
cmpq $3, %rax
jae LBB1_26
## %bb.25:
xorl %ebx, %ebx
movq -72(%rbp), %r14 ## 8-byte Reload
jmp LBB1_28
LBB1_19:
movq %r13, %rdi
callq _fclose
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB1_31
LBB1_26:
## kill: def $r14d killed $r14d killed $r14 def $r14
andl $-4, %r14d
movq %r14, -56(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
leal (%rax,%rax), %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
leal (,%rax,4), %ecx
movl %ecx, -100(%rbp) ## 4-byte Spill
leal (%rax,%rax,2), %eax
movq %rax, -128(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
movq -72(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB1_27: ## =>This Inner Loop Header: Depth=1
movslq %r13d, %r13
leaq (%r15,%r13,8), %rdi
movq %r14, %rsi
callq ___bzero
movq -64(%rbp), %rax ## 8-byte Reload
addl %r13d, %eax
cltq
leaq (%r15,%rax,8), %rdi
movq %r14, %rsi
callq ___bzero
movq -48(%rbp), %rax ## 8-byte Reload
addl %r13d, %eax
cltq
leaq (%r15,%rax,8), %rdi
movq %r14, %rsi
callq ___bzero
movq -128(%rbp), %rax ## 8-byte Reload
addl %r13d, %eax
cltq
leaq (%r15,%rax,8), %rdi
movq %r14, %rsi
callq ___bzero
addq $4, %rbx
addl -100(%rbp), %r13d ## 4-byte Folded Reload
cmpq %rbx, -56(%rbp) ## 8-byte Folded Reload
jne LBB1_27
LBB1_28:
testq %r12, %r12
movq -64(%rbp), %r13 ## 8-byte Reload
je LBB1_31
## %bb.29:
imull %r13d, %ebx
.p2align 4, 0x90
LBB1_30: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %rbx
leaq (%r15,%rbx,8), %rdi
movq %r14, %rsi
callq ___bzero
addl %r13d, %ebx
decq %r12
jne LBB1_30
LBB1_31:
leaq L_str.21(%rip), %rdi
callq _puts
leaq -120(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
xorps %xmm0, %xmm0
cvtsi2sdq -120(%rbp), %xmm0
cvtsi2sdl -112(%rbp), %xmm3
mulsd LCPI1_0(%rip), %xmm3
addsd %xmm0, %xmm3
testl %r13d, %r13d
movsd %xmm3, -48(%rbp) ## 8-byte Spill
jle LBB1_32
## %bb.33:
movq -80(%rbp), %r12 ## 8-byte Reload
movl %r12d, %eax
andl $-2, %eax
movq -96(%rbp), %rcx ## 8-byte Reload
addq $8, %rcx
leaq (,%r12,8), %rdx
movq %r12, %rsi
shlq $4, %rsi
xorl %r9d, %r9d
movq -96(%rbp), %r8 ## 8-byte Reload
jmp LBB1_34
.p2align 4, 0x90
LBB1_42: ## in Loop: Header=BB1_34 Depth=1
movq -56(%rbp), %r9 ## 8-byte Reload
incq %r9
addq %rdx, %rcx
cmpq %r12, %r9
je LBB1_43
LBB1_34: ## =>This Loop Header: Depth=1
## Child Loop BB1_35 Depth 2
## Child Loop BB1_38 Depth 3
movq %r9, -56(%rbp) ## 8-byte Spill
imulq %r12, %r9
movq -88(%rbp), %r11 ## 8-byte Reload
xorl %r14d, %r14d
jmp LBB1_35
.p2align 4, 0x90
LBB1_41: ## in Loop: Header=BB1_35 Depth=2
movsd %xmm0, (%r15,%r10,8)
incq %r14
addq $8, %r11
cmpq %r12, %r14
je LBB1_42
LBB1_35: ## Parent Loop BB1_34 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_38 Depth 3
leaq (%r14,%r9), %r10
movsd (%r15,%r10,8), %xmm0 ## xmm0 = mem[0],zero
cmpl $1, %r13d
jne LBB1_37
## %bb.36: ## in Loop: Header=BB1_35 Depth=2
xorl %ebx, %ebx
jmp LBB1_39
.p2align 4, 0x90
LBB1_37: ## in Loop: Header=BB1_35 Depth=2
movq %r11, %rdi
xorl %ebx, %ebx
movapd %xmm0, %xmm1
.p2align 4, 0x90
LBB1_38: ## Parent Loop BB1_34 Depth=1
## Parent Loop BB1_35 Depth=2
## => This Inner Loop Header: Depth=3
movsd -8(%rcx,%rbx,8), %xmm2 ## xmm2 = mem[0],zero
mulsd (%rdi), %xmm2
movsd (%rcx,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
addsd %xmm1, %xmm2
mulsd (%rdi,%rdx), %xmm0
addsd %xmm2, %xmm0
addq $2, %rbx
addq %rsi, %rdi
movapd %xmm0, %xmm1
cmpq %rbx, %rax
jne LBB1_38
LBB1_39: ## in Loop: Header=BB1_35 Depth=2
testb $1, %r12b
je LBB1_41
## %bb.40: ## in Loop: Header=BB1_35 Depth=2
leaq (%rbx,%r9), %rdi
movsd (%r8,%rdi,8), %xmm1 ## xmm1 = mem[0],zero
imulq %r12, %rbx
addq %r14, %rbx
movq -88(%rbp), %rdi ## 8-byte Reload
mulsd (%rdi,%rbx,8), %xmm1
addsd %xmm1, %xmm0
jmp LBB1_41
LBB1_43:
movq %r12, %rbx
jmp LBB1_44
LBB1_32:
movslq %r13d, %rbx
LBB1_44:
xorl %r12d, %r12d
leaq -120(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
xorps %xmm0, %xmm0
cvtsi2sdq -120(%rbp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl -112(%rbp), %xmm1
mulsd LCPI1_0(%rip), %xmm1
addsd %xmm0, %xmm1
subsd -48(%rbp), %xmm1 ## 8-byte Folded Reload
movsd %xmm1, -88(%rbp) ## 8-byte Spill
leaq L_str.22(%rip), %rdi
callq _puts
leaq L_.str.14(%rip), %rdi
movsd -88(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_str.23(%rip), %rdi
callq _puts
leaq L_.str.16(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %r13
shlq $3, %rbx
movq %rbx, -80(%rbp) ## 8-byte Spill
leaq L_.str.17(%rip), %r14
.p2align 4, 0x90
LBB1_45: ## =>This Loop Header: Depth=1
## Child Loop BB1_46 Depth 2
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_46: ## Parent Loop BB1_45 Depth=1
## => This Inner Loop Header: Depth=2
movsd (%r15,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
movq %r13, %rdi
movq %r14, %rsi
movb $1, %al
callq _fprintf
incq %rbx
cmpq $64, %rbx
jne LBB1_46
## %bb.47: ## in Loop: Header=BB1_45 Depth=1
movl $10, %edi
movq %r13, %rsi
callq _fputc
incq %r12
addq -80(%rbp), %r15 ## 8-byte Folded Reload
cmpq $64, %r12
jne LBB1_45
## %bb.48:
movq %r13, %rdi
callq _fclose
xorl %eax, %eax
addq $88, %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.1: ## @.str.1
.asciz "A.dat"
L_.str.2: ## @.str.2
.asciz "w"
L_.str.3: ## @.str.3
.asciz "%d "
L_.str.6: ## @.str.6
.asciz "B.dat"
L_.str.7: ## @.str.7
.asciz "r"
L_.str.8: ## @.str.8
.asciz "We read the order of the matrices from A.dat is\n %d\n"
L_.str.10: ## @.str.10
.asciz "%lf"
L_.str.14: ## @.str.14
.asciz "Serial Matrix Multiplication Elapsed time:\n %30.20E seconds\n"
L_.str.16: ## @.str.16
.asciz "C.dat"
L_.str.17: ## @.str.17
.asciz "%lf "
L_str: ## @str
.asciz "Generate and write matrix A"
L_str.18: ## @str.18
.asciz "Generate and write matrix B"
L_str.19: ## @str.19
.asciz "Read matrix A"
L_str.20: ## @str.20
.asciz "Read matrix B"
L_str.21: ## @str.21
.asciz "Start C = A*B"
L_str.22: ## @str.22
.asciz "C = A*B finished"
L_str.23: ## @str.23
.asciz "Write result C = A*B to a file C.dat"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dtime ; -- Begin function dtime
.p2align 2
_dtime: ; @dtime
.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 x0, sp
mov x1, #0
bl _gettimeofday
ldr d0, [sp]
scvtf d0, d0
ldr s1, [sp, #8]
sshll.2d v1, v1, #0
scvtf d1, d1
mov x8, #60813
movk x8, #41141, lsl #16
movk x8, #50935, lsl #32
movk x8, #16048, lsl #48
fmov d2, x8
fmadd d0, d1, d2, d0
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, #144
.cfi_def_cfa_offset 144
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
mov x19, x0
mov w21, #0
Lloh6:
adrp x20, l_.str.3@PAGE
Lloh7:
add x20, x20, l_.str.3@PAGEOFF
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
mov w22, #0
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
cmp w21, w22
cset w8, eq
str x8, [sp]
mov x0, x19
mov x1, x20
bl _fprintf
add w22, w22, #1
cmp w22, #64
b.ne LBB1_2
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
mov w0, #10
mov x1, x19
bl _fputc
add w21, w21, #1
cmp w21, #64
b.ne LBB1_1
; %bb.4:
mov x0, x19
bl _fclose
Lloh8:
adrp x0, l_str.18@PAGE
Lloh9:
add x0, x0, l_str.18@PAGEOFF
bl _puts
Lloh10:
adrp x0, l_.str.6@PAGE
Lloh11:
add x0, x0, l_.str.6@PAGEOFF
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
mov x19, x0
mov w21, #0
mov w22, #0
Lloh14:
adrp x20, l_.str.3@PAGE
Lloh15:
add x20, x20, l_.str.3@PAGEOFF
LBB1_5: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
mov w23, #0
LBB1_6: ; Parent Loop BB1_5 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w21, w23
str x8, [sp]
mov x0, x19
mov x1, x20
bl _fprintf
add w23, w23, #1
cmp w23, #64
b.ne LBB1_6
; %bb.7: ; in Loop: Header=BB1_5 Depth=1
mov w0, #10
mov x1, x19
bl _fputc
add w22, w22, #1
add w21, w21, #64
cmp w22, #64
b.ne LBB1_5
; %bb.8:
mov x0, x19
bl _fclose
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
Lloh18:
adrp x1, l_.str.7@PAGE
Lloh19:
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
mov x19, x0
mov w20, #0
LBB1_9: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fgetc
cmp w0, #10
b.eq LBB1_9
; %bb.10: ; in Loop: Header=BB1_9 Depth=1
cmp w0, #32
b.eq LBB1_9
; %bb.11: ; in Loop: Header=BB1_9 Depth=1
cmn w0, #1
b.eq LBB1_13
; %bb.12: ; in Loop: Header=BB1_9 Depth=1
add w20, w20, #1
b LBB1_9
LBB1_13:
mov x0, x19
bl _fclose
scvtf d0, w20
fsqrt d0, d0
fcvtzs w25, d0
mov x8, x25
str x8, [sp]
Lloh20:
adrp x0, l_.str.8@PAGE
Lloh21:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mul w8, w25, w25
lsl x19, x8, #3
mov x0, x19
bl _malloc
mov x20, x0
mov x0, x19
bl _malloc
str x0, [sp, #8] ; 8-byte Folded Spill
mov x0, x19
bl _malloc
mov x19, x0
Lloh22:
adrp x0, l_str.19@PAGE
Lloh23:
add x0, x0, l_str.19@PAGEOFF
bl _puts
Lloh24:
adrp x0, l_.str.1@PAGE
Lloh25:
add x0, x0, l_.str.1@PAGEOFF
Lloh26:
adrp x1, l_.str.7@PAGE
Lloh27:
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
mov x22, x0
cmp w25, #1
b.lt LBB1_18
; %bb.14:
mov x24, #0
lsl x26, x25, #3
mov x21, x20
Lloh28:
adrp x23, l_.str.10@PAGE
Lloh29:
add x23, x23, l_.str.10@PAGEOFF
LBB1_15: ; =>This Loop Header: Depth=1
; Child Loop BB1_16 Depth 2
mov x28, x25
mov x27, x21
LBB1_16: ; Parent Loop BB1_15 Depth=1
; => This Inner Loop Header: Depth=2
str x27, [sp]
mov x0, x22
mov x1, x23
bl _fscanf
add x27, x27, #8
subs x28, x28, #1
b.ne LBB1_16
; %bb.17: ; in Loop: Header=BB1_15 Depth=1
add x24, x24, #1
add x21, x21, x26
cmp x24, x25
b.ne LBB1_15
LBB1_18:
mov x0, x22
bl _fclose
Lloh30:
adrp x0, l_str.20@PAGE
Lloh31:
add x0, x0, l_str.20@PAGEOFF
bl _puts
Lloh32:
adrp x0, l_.str.6@PAGE
Lloh33:
add x0, x0, l_.str.6@PAGEOFF
Lloh34:
adrp x1, l_.str.7@PAGE
Lloh35:
add x1, x1, l_.str.7@PAGEOFF
bl _fopen
mov x23, x0
cmp w25, #0
b.le LBB1_25
; %bb.19:
mov x26, #0
lsl x22, x25, #3
ldr x27, [sp, #8] ; 8-byte Folded Reload
Lloh36:
adrp x24, l_.str.10@PAGE
Lloh37:
add x24, x24, l_.str.10@PAGEOFF
LBB1_20: ; =>This Loop Header: Depth=1
; Child Loop BB1_21 Depth 2
mov x28, x25
mov x21, x27
LBB1_21: ; Parent Loop BB1_20 Depth=1
; => This Inner Loop Header: Depth=2
str x21, [sp]
mov x0, x23
mov x1, x24
bl _fscanf
add x21, x21, #8
subs x28, x28, #1
b.ne LBB1_21
; %bb.22: ; in Loop: Header=BB1_20 Depth=1
add x26, x26, #1
add x27, x27, x22
cmp x26, x25
b.ne LBB1_20
; %bb.23:
mov x0, x23
bl _fclose
mov w23, #0
mov x21, x25
LBB1_24: ; =>This Inner Loop Header: Depth=1
add x0, x19, w23, sxtw #3
mov x1, x22
bl _bzero
add w23, w23, w25
subs x21, x21, #1
b.ne LBB1_24
b LBB1_26
LBB1_25:
mov x0, x23
bl _fclose
LBB1_26:
Lloh38:
adrp x0, l_str.21@PAGE
Lloh39:
add x0, x0, l_str.21@PAGEOFF
bl _puts
add x0, sp, #16
mov x1, #0
bl _gettimeofday
ldr d0, [sp, #16]
scvtf d0, d0
ldr s1, [sp, #24]
sshll.2d v1, v1, #0
scvtf d1, d1
mov x8, #60813
movk x8, #41141, lsl #16
movk x8, #50935, lsl #32
movk x8, #16048, lsl #48
fmov d2, x8
fmadd d8, d1, d2, d0
cmp w25, #0
b.le LBB1_33
; %bb.27:
mov x8, #0
lsl x9, x25, #3
ldr x17, [sp, #8] ; 8-byte Folded Reload
LBB1_28: ; =>This Loop Header: Depth=1
; Child Loop BB1_29 Depth 2
; Child Loop BB1_30 Depth 3
mov x10, #0
mul x11, x8, x25
mov x12, x17
LBB1_29: ; Parent Loop BB1_28 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_30 Depth 3
add x13, x10, x11
ldr d0, [x19, x13, lsl #3]
mov x14, x25
mov x15, x20
mov x16, x12
LBB1_30: ; Parent Loop BB1_28 Depth=1
; Parent Loop BB1_29 Depth=2
; => This Inner Loop Header: Depth=3
ldr d1, [x15], #8
ldr d2, [x16]
fmadd d0, d1, d2, d0
add x16, x16, x9
subs x14, x14, #1
b.ne LBB1_30
; %bb.31: ; in Loop: Header=BB1_29 Depth=2
str d0, [x19, x13, lsl #3]
add x10, x10, #1
add x12, x12, #8
cmp x10, x25
b.ne LBB1_29
; %bb.32: ; in Loop: Header=BB1_28 Depth=1
add x8, x8, #1
add x20, x20, x9
cmp x8, x25
b.ne LBB1_28
b LBB1_34
LBB1_33:
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x25, w25
LBB1_34:
add x0, sp, #16
mov x1, #0
bl _gettimeofday
ldr d0, [sp, #16]
scvtf d0, d0
ldr s1, [sp, #24]
sshll.2d v1, v1, #0
scvtf d1, d1
mov x8, #60813
movk x8, #41141, lsl #16
movk x8, #50935, lsl #32
movk x8, #16048, lsl #48
fmov d2, x8
fmadd d9, d1, d2, d0
Lloh40:
adrp x0, l_str.22@PAGE
Lloh41:
add x0, x0, l_str.22@PAGEOFF
bl _puts
fsub d0, d9, d8
str d0, [sp]
Lloh42:
adrp x0, l_.str.14@PAGE
Lloh43:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
Lloh44:
adrp x0, l_str.23@PAGE
Lloh45:
add x0, x0, l_str.23@PAGEOFF
bl _puts
Lloh46:
adrp x0, l_.str.16@PAGE
Lloh47:
add x0, x0, l_.str.16@PAGEOFF
Lloh48:
adrp x1, l_.str.2@PAGE
Lloh49:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
mov x20, x0
mov x22, #0
lsl x23, x25, #3
Lloh50:
adrp x21, l_.str.17@PAGE
Lloh51:
add x21, x21, l_.str.17@PAGEOFF
LBB1_35: ; =>This Loop Header: Depth=1
; Child Loop BB1_36 Depth 2
mov x24, #0
LBB1_36: ; Parent Loop BB1_35 Depth=1
; => This Inner Loop Header: Depth=2
ldr d0, [x19, x24]
str d0, [sp]
mov x0, x20
mov x1, x21
bl _fprintf
add x24, x24, #8
cmp x24, #512
b.ne LBB1_36
; %bb.37: ; in Loop: Header=BB1_35 Depth=1
mov w0, #10
mov x1, x20
bl _fputc
add x22, x22, #1
add x19, x19, x23
cmp x22, #64
b.ne LBB1_35
; %bb.38:
mov x0, x20
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "A.dat"
l_.str.2: ; @.str.2
.asciz "w"
l_.str.3: ; @.str.3
.asciz "%d "
l_.str.6: ; @.str.6
.asciz "B.dat"
l_.str.7: ; @.str.7
.asciz "r"
l_.str.8: ; @.str.8
.asciz "We read the order of the matrices from A.dat is\n %d\n"
l_.str.10: ; @.str.10
.asciz "%lf"
l_.str.14: ; @.str.14
.asciz "Serial Matrix Multiplication Elapsed time:\n %30.20E seconds\n"
l_.str.16: ; @.str.16
.asciz "C.dat"
l_.str.17: ; @.str.17
.asciz "%lf "
l_str: ; @str
.asciz "Generate and write matrix A"
l_str.18: ; @str.18
.asciz "Generate and write matrix B"
l_str.19: ; @str.19
.asciz "Read matrix A"
l_str.20: ; @str.20
.asciz "Read matrix B"
l_str.21: ; @str.21
.asciz "Start C = A*B"
l_str.22: ; @str.22
.asciz "C = A*B finished"
l_str.23: ; @str.23
.asciz "Write result C = A*B to a file C.dat"
.subsections_via_symbols
| the_stack_data/154827430.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function send_synth_event
_send_synth_event: ## @send_synth_event
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %rbx
movq %rdi, %r14
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movl (%rbx), %edx
addl $-128, %edx
cmpl $6, %edx
ja LBB0_11
## %bb.1:
movq _MIDI_CTL_CHANGE@GOTPCREL(%rip), %rax
movq _MIDI_NOTEON@GOTPCREL(%rip), %rcx
leaq LJTI0_0(%rip), %rsi
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
LBB0_8:
movq _MIDI_PITCH_BEND@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq _EV_CHN_COMMON@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl $8192, %eax ## imm = 0x2000
addl 12(%rbx), %eax
jmp LBB0_9
LBB0_6:
movq _MIDI_PGM_CHANGE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_4:
movq _MIDI_NOTEOFF@GOTPCREL(%rip), %rcx
jmp LBB0_5
LBB0_2:
movq _MIDI_KEY_PRESSURE@GOTPCREL(%rip), %rcx
LBB0_5:
movl (%rcx), %eax
movl %eax, -28(%rbp)
movl %r15d, -48(%rbp)
movq _EV_CHN_VOICE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -32(%rbp)
movl 28(%rbx), %eax
movl %eax, -36(%rbp)
movl 24(%rbx), %eax
movl %eax, -40(%rbp)
movl 20(%rbx), %eax
movl %eax, -44(%rbp)
jmp LBB0_10
LBB0_3:
movq _MIDI_CHN_PRESSURE@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
movl %eax, -28(%rbp)
movq _EV_CHN_COMMON@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl 16(%rbx), %eax
movl %eax, -32(%rbp)
movl 12(%rbx), %eax
LBB0_9:
movl %eax, -44(%rbp)
movl 8(%rbx), %eax
movl %eax, -48(%rbp)
LBB0_10:
movl 4(%rbx), %esi
movl (%r14), %edi
movl 4(%r14), %edx
callq _snd_seq_oss_readq_put_timestamp
movl (%r14), %edi
leaq -48(%rbp), %rsi
callq _snd_seq_oss_readq_put_event
LBB0_11:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
.long L0_0_set_8
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_4
.long L0_0_set_2
.long L0_0_set_7
.long L0_0_set_3
.end_data_region
## -- End function
.comm _MIDI_NOTEON,4,2 ## @MIDI_NOTEON
.comm _MIDI_NOTEOFF,4,2 ## @MIDI_NOTEOFF
.comm _MIDI_KEY_PRESSURE,4,2 ## @MIDI_KEY_PRESSURE
.comm _MIDI_CTL_CHANGE,4,2 ## @MIDI_CTL_CHANGE
.comm _MIDI_PGM_CHANGE,4,2 ## @MIDI_PGM_CHANGE
.comm _MIDI_CHN_PRESSURE,4,2 ## @MIDI_CHN_PRESSURE
.comm _MIDI_PITCH_BEND,4,2 ## @MIDI_PITCH_BEND
.comm _EV_CHN_VOICE,4,2 ## @EV_CHN_VOICE
.comm _EV_CHN_COMMON,8,3 ## @EV_CHN_COMMON
.no_dead_strip _send_synth_event
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function send_synth_event
_send_synth_event: ; @send_synth_event
.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 x21, x2
mov x20, x1
mov x19, x0
add x0, sp, #8
mov w1, #0
mov w2, #24
bl _memset
ldr w8, [x20]
sub w10, w8, #128
cmp w10, #6
b.hi LBB0_10
; %bb.1:
Lloh0:
adrp x8, _MIDI_CTL_CHANGE@GOTPAGE
Lloh1:
ldr x8, [x8, _MIDI_CTL_CHANGE@GOTPAGEOFF]
Lloh2:
adrp x9, _MIDI_NOTEON@GOTPAGE
Lloh3:
ldr x9, [x9, _MIDI_NOTEON@GOTPAGEOFF]
Lloh4:
adrp x11, lJTI0_0@PAGE
Lloh5:
add x11, x11, lJTI0_0@PAGEOFF
adr x12, LBB0_2
ldrb w13, [x11, x10]
add x12, x12, x13, lsl #2
br x12
LBB0_2:
Lloh6:
adrp x8, _MIDI_PITCH_BEND@GOTPAGE
Lloh7:
ldr x8, [x8, _MIDI_PITCH_BEND@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
str w8, [sp, #28]
Lloh9:
adrp x8, _EV_CHN_COMMON@GOTPAGE
Lloh10:
ldr x8, [x8, _EV_CHN_COMMON@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
str x8, [sp, #16]
ldp w9, w8, [x20, #8]
add w8, w8, #2, lsl #12 ; =8192
stp w9, w8, [sp, #8]
b LBB0_9
LBB0_3:
Lloh12:
adrp x8, _MIDI_PGM_CHANGE@GOTPAGE
Lloh13:
ldr x8, [x8, _MIDI_PGM_CHANGE@GOTPAGEOFF]
b LBB0_8
LBB0_4:
Lloh14:
adrp x9, _MIDI_NOTEOFF@GOTPAGE
Lloh15:
ldr x9, [x9, _MIDI_NOTEOFF@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh16:
adrp x9, _MIDI_KEY_PRESSURE@GOTPAGE
Lloh17:
ldr x9, [x9, _MIDI_KEY_PRESSURE@GOTPAGEOFF]
LBB0_6:
ldr w8, [x9]
str w8, [sp, #28]
str w21, [sp, #8]
Lloh18:
adrp x8, _EV_CHN_VOICE@GOTPAGE
Lloh19:
ldr x8, [x8, _EV_CHN_VOICE@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
ldr w9, [x20, #28]
stp w9, w8, [sp, #20]
ldur d0, [x20, #20]
stur d0, [sp, #12]
b LBB0_9
LBB0_7:
Lloh21:
adrp x8, _MIDI_CHN_PRESSURE@GOTPAGE
Lloh22:
ldr x8, [x8, _MIDI_CHN_PRESSURE@GOTPAGEOFF]
LBB0_8:
ldr w8, [x8]
Lloh23:
adrp x9, _EV_CHN_COMMON@GOTPAGE
Lloh24:
ldr x9, [x9, _EV_CHN_COMMON@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
str x9, [sp, #16]
ldr w9, [x20, #16]
stp w9, w8, [sp, #24]
ldr d0, [x20, #8]
str d0, [sp, #8]
LBB0_9:
ldr w1, [x20, #4]
ldp w0, w2, [x19]
bl _snd_seq_oss_readq_put_timestamp
ldr w0, [x19]
add x1, sp, #8
bl _snd_seq_oss_readq_put_event
LBB0_10:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
; -- End function
.comm _MIDI_NOTEON,4,2 ; @MIDI_NOTEON
.comm _MIDI_NOTEOFF,4,2 ; @MIDI_NOTEOFF
.comm _MIDI_KEY_PRESSURE,4,2 ; @MIDI_KEY_PRESSURE
.comm _MIDI_CTL_CHANGE,4,2 ; @MIDI_CTL_CHANGE
.comm _MIDI_PGM_CHANGE,4,2 ; @MIDI_PGM_CHANGE
.comm _MIDI_CHN_PRESSURE,4,2 ; @MIDI_CHN_PRESSURE
.comm _MIDI_PITCH_BEND,4,2 ; @MIDI_PITCH_BEND
.comm _EV_CHN_VOICE,4,2 ; @EV_CHN_VOICE
.comm _EV_CHN_COMMON,8,3 ; @EV_CHN_COMMON
.no_dead_strip _send_synth_event
.subsections_via_symbols
| AnghaBench/linux/sound/core/seq/oss/extr_seq_oss_midi.c_send_synth_event.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function icside_irqdisable_arcin_v6
_icside_irqdisable_arcin_v6: ## @icside_irqdisable_arcin_v6
.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 _ICS_ARCIN_V6_INTROFFSET_1@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%rbx), %rdi
callq _readb
movq _ICS_ARCIN_V6_INTROFFSET_2@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%rbx), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _readb ## TAILCALL
.cfi_endproc
## -- End function
.comm _ICS_ARCIN_V6_INTROFFSET_1,8,3 ## @ICS_ARCIN_V6_INTROFFSET_1
.comm _ICS_ARCIN_V6_INTROFFSET_2,8,3 ## @ICS_ARCIN_V6_INTROFFSET_2
.no_dead_strip _icside_irqdisable_arcin_v6
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function icside_irqdisable_arcin_v6
_icside_irqdisable_arcin_v6: ; @icside_irqdisable_arcin_v6
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0]
ldr x8, [x19]
Lloh0:
adrp x9, _ICS_ARCIN_V6_INTROFFSET_1@GOTPAGE
Lloh1:
ldr x9, [x9, _ICS_ARCIN_V6_INTROFFSET_1@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x0, x9, x8
bl _readb
ldr x8, [x19]
Lloh3:
adrp x9, _ICS_ARCIN_V6_INTROFFSET_2@GOTPAGE
Lloh4:
ldr x9, [x9, _ICS_ARCIN_V6_INTROFFSET_2@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x0, x9, x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _readb
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ICS_ARCIN_V6_INTROFFSET_1,8,3 ; @ICS_ARCIN_V6_INTROFFSET_1
.comm _ICS_ARCIN_V6_INTROFFSET_2,8,3 ; @ICS_ARCIN_V6_INTROFFSET_2
.no_dead_strip _icside_irqdisable_arcin_v6
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/ide/extr_icside.c_icside_irqdisable_arcin_v6.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mat_to_ts
_mat_to_ts: ## @mat_to_ts
.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 _abs_to_nanos
cltq
imulq $1152921505, %rax, %rcx ## imm = 0x44B82FA1
movq %rcx, %rdx
shrq $63, %rdx
sarq $60, %rcx
addl %edx, %ecx
movl %ecx, (%rbx)
imull $1000000000, %ecx, %ecx ## imm = 0x3B9ACA00
subl %ecx, %eax
movl %eax, 4(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mat_to_ts
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mat_to_ts
_mat_to_ts: ; @mat_to_ts
.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 _abs_to_nanos
mov w8, #12193
movk w8, #17592, lsl #16
smull x8, w0, w8
lsr x9, x8, #63
asr x8, x8, #60
add w8, w8, w9
mov w9, #51712
movk w9, #15258, lsl #16
msub w9, w8, w9, w0
stp w8, w9, [x19]
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 _mat_to_ts
.subsections_via_symbols
| AnghaBench/xhyve/src/vmm/extr_vmm_callout.c_mat_to_ts.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_ ## -- Begin function scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_
.p2align 4, 0x90
_scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_: ## @scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_
.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 $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %xmm1, -144(%rbp) ## 8-byte Folded Spill
movsd %xmm0, -128(%rbp) ## 8-byte Spill
movq %r9, %r12
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %ecx, -56(%rbp) ## 4-byte Spill
testl %edi, %edi
jle LBB0_1
## %bb.2:
movl %esi, %r9d
movl %edi, %r10d
leaq -1(%r9), %r8
movl %r9d, %eax
andl $7, %eax
movl %r9d, %r14d
andl $-8, %r14d
leaq 56(%rdx), %rdi
shlq $3, %r9
xorpd %xmm0, %xmm0
xorl %r11d, %r11d
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
incq %r11
addq %r9, %rdi
addq %r9, %rdx
cmpq %r10, %r11
je LBB0_10
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_8 Depth 2
testl %esi, %esi
jle LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %ebx, %ebx
cmpq $7, %r8
jb LBB0_6
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
addsd -56(%rdi,%rbx,8), %xmm0
addsd -48(%rdi,%rbx,8), %xmm0
addsd -40(%rdi,%rbx,8), %xmm0
addsd -32(%rdi,%rbx,8), %xmm0
addsd -24(%rdi,%rbx,8), %xmm0
addsd -16(%rdi,%rbx,8), %xmm0
addsd -8(%rdi,%rbx,8), %xmm0
addsd (%rdi,%rbx,8), %xmm0
addq $8, %rbx
cmpq %rbx, %r14
jne LBB0_5
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
testq %rax, %rax
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
leaq (%rdx,%rbx,8), %rbx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
addsd (%rbx,%rcx,8), %xmm0
incq %rcx
cmpq %rcx, %rax
jne LBB0_8
jmp LBB0_9
LBB0_1:
xorpd %xmm0, %xmm0
LBB0_10:
movl 104(%rbp), %r14d
movl 80(%rbp), %eax
movq %rax, -136(%rbp) ## 8-byte Spill
movl 48(%rbp), %eax
movq %rax, -112(%rbp) ## 8-byte Spill
movl 24(%rbp), %eax
movq %rax, -104(%rbp) ## 8-byte Spill
movl 120(%rbp), %eax
movl %eax, -92(%rbp) ## 4-byte Spill
movq 112(%rbp), %r15
movl 96(%rbp), %eax
movl %eax, -88(%rbp) ## 4-byte Spill
movq 88(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movl 72(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq 64(%rbp), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movq 56(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl 40(%rbp), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
movq 32(%rbp), %r13
movl 16(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movabsq $4611686018427387900, %rbx ## imm = 0x3FFFFFFFFFFFFFFC
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl -56(%rbp), %edx ## 4-byte Reload
testl %edx, %edx
jle LBB0_11
## %bb.12:
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, %eax
movl %edx, %r11d
movl %eax, %edx
andl $-8, %edx
movq %rdx, -56(%rbp) ## 8-byte Spill
addq $-8, %rdx
movq %rdx, -168(%rbp) ## 8-byte Spill
shrq $3, %rdx
incq %rdx
movl %edx, %r10d
andl $3, %r10d
andq %rbx, %rdx
movq %rdx, -152(%rbp) ## 8-byte Spill
leaq 112(%r12), %rdi
leaq (,%rax,4), %rdx
movq %r10, -160(%rbp) ## 8-byte Spill
shlq $5, %r10
xorl %r8d, %r8d
xorl %esi, %esi
jmp LBB0_13
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_13 Depth=1
incq %r8
addq %rdx, %rdi
addq %rdx, %r12
cmpq %r11, %r8
je LBB0_26
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
## Child Loop BB0_22 Depth 2
## Child Loop BB0_24 Depth 2
testl %ecx, %ecx
jle LBB0_25
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
cmpl $8, %ecx
jae LBB0_16
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
xorl %ebx, %ebx
jmp LBB0_24
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
movd %esi, %xmm0
cmpq $24, -168(%rbp) ## 8-byte Folded Reload
jae LBB0_18
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
pxor %xmm1, %xmm1
xorl %esi, %esi
jmp LBB0_20
LBB0_18: ## in Loop: Header=BB0_13 Depth=1
pxor %xmm1, %xmm1
movq -152(%rbp), %r9 ## 8-byte Reload
xorl %esi, %esi
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -112(%rdi,%rsi,4), %xmm2
paddd %xmm0, %xmm2
movdqu -96(%rdi,%rsi,4), %xmm0
paddd %xmm1, %xmm0
movdqu -80(%rdi,%rsi,4), %xmm1
movdqu -64(%rdi,%rsi,4), %xmm3
movdqu -48(%rdi,%rsi,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu -32(%rdi,%rsi,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu -16(%rdi,%rsi,4), %xmm0
paddd %xmm4, %xmm0
movdqu (%rdi,%rsi,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rsi
addq $-4, %r9
jne LBB0_19
LBB0_20: ## in Loop: Header=BB0_13 Depth=1
cmpq $0, -160(%rbp) ## 8-byte Folded Reload
je LBB0_23
## %bb.21: ## in Loop: Header=BB0_13 Depth=1
leaq (%r12,%rsi,4), %rsi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rsi,%rbx), %xmm2
paddd %xmm2, %xmm0
movdqu 16(%rsi,%rbx), %xmm2
paddd %xmm2, %xmm1
addq $32, %rbx
cmpq %rbx, %r10
jne LBB0_22
LBB0_23: ## in Loop: Header=BB0_13 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %esi
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rcx, %rbx
cmpq %rax, %rcx
movl -44(%rbp), %ecx ## 4-byte Reload
je LBB0_25
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r12,%rbx,4), %esi
incq %rbx
cmpq %rbx, %rax
jne LBB0_24
jmp LBB0_25
LBB0_11:
xorl %esi, %esi
LBB0_26:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
xorpd %xmm0, %xmm0
movl -76(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
movq -136(%rbp), %r12 ## 8-byte Reload
movq -104(%rbp), %r11 ## 8-byte Reload
jle LBB0_35
## %bb.27:
movl %eax, %r9d
leaq -1(%r11), %r8
movl %r11d, %edx
andl $7, %edx
movl %r11d, %esi
andl $-8, %esi
leaq 56(%r13), %rdi
leaq (,%r11,8), %r10
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
jmp LBB0_28
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_28 Depth=1
incq %rcx
addq %r10, %rdi
addq %r10, %r13
cmpq %r9, %rcx
je LBB0_35
LBB0_28: ## =>This Loop Header: Depth=1
## Child Loop BB0_30 Depth 2
## Child Loop BB0_33 Depth 2
testl %r11d, %r11d
jle LBB0_34
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
xorl %eax, %eax
cmpq $7, %r8
jb LBB0_31
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
addsd -56(%rdi,%rax,8), %xmm0
addsd -48(%rdi,%rax,8), %xmm0
addsd -40(%rdi,%rax,8), %xmm0
addsd -32(%rdi,%rax,8), %xmm0
addsd -24(%rdi,%rax,8), %xmm0
addsd -16(%rdi,%rax,8), %xmm0
addsd -8(%rdi,%rax,8), %xmm0
addsd (%rdi,%rax,8), %xmm0
addq $8, %rax
cmpq %rax, %rsi
jne LBB0_30
LBB0_31: ## in Loop: Header=BB0_28 Depth=1
testq %rdx, %rdx
je LBB0_34
## %bb.32: ## in Loop: Header=BB0_28 Depth=1
leaq (,%rax,8), %rax
addq %r13, %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_33: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
addsd (%rax,%rbx,8), %xmm0
incq %rbx
cmpq %rbx, %rdx
jne LBB0_33
jmp LBB0_34
LBB0_35:
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl -80(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
movabsq $4611686018427387900, %r13 ## imm = 0x3FFFFFFFFFFFFFFC
movq -112(%rbp), %r11 ## 8-byte Reload
xorpd %xmm0, %xmm0
jle LBB0_44
## %bb.36:
movl %eax, %r9d
leaq -1(%r11), %r8
movl %r11d, %edx
andl $7, %edx
movl %r11d, %esi
andl $-8, %esi
movq -64(%rbp), %rax ## 8-byte Reload
leaq 56(%rax), %rdi
leaq (,%r11,8), %r10
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
jmp LBB0_37
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_37 Depth=1
incq %rcx
addq %r10, %rdi
addq %r10, -64(%rbp) ## 8-byte Folded Spill
cmpq %r9, %rcx
je LBB0_44
LBB0_37: ## =>This Loop Header: Depth=1
## Child Loop BB0_39 Depth 2
## Child Loop BB0_42 Depth 2
testl %r11d, %r11d
jle LBB0_43
## %bb.38: ## in Loop: Header=BB0_37 Depth=1
xorl %eax, %eax
cmpq $7, %r8
jb LBB0_40
.p2align 4, 0x90
LBB0_39: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
addsd -56(%rdi,%rax,8), %xmm0
addsd -48(%rdi,%rax,8), %xmm0
addsd -40(%rdi,%rax,8), %xmm0
addsd -32(%rdi,%rax,8), %xmm0
addsd -24(%rdi,%rax,8), %xmm0
addsd -16(%rdi,%rax,8), %xmm0
addsd -8(%rdi,%rax,8), %xmm0
addsd (%rdi,%rax,8), %xmm0
addq $8, %rax
cmpq %rax, %rsi
jne LBB0_39
LBB0_40: ## in Loop: Header=BB0_37 Depth=1
testq %rdx, %rdx
je LBB0_43
## %bb.41: ## in Loop: Header=BB0_37 Depth=1
movq -64(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax,8), %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_42: ## Parent Loop BB0_37 Depth=1
## => This Inner Loop Header: Depth=2
addsd (%rax,%rbx,8), %xmm0
incq %rbx
cmpq %rbx, %rdx
jne LBB0_42
jmp LBB0_43
LBB0_44:
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movb $1, %al
callq _printf
movq %rbx, %rdi
movsd -128(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
movq %rbx, %rdi
movsd -144(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _printf
leaq L_.str.2(%rip), %rdi
xorl %ebx, %ebx
movq -120(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _printf
movl -84(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_45
## %bb.46:
movl %eax, %r9d
leaq -1(%r12), %r8
movl %r12d, %edx
andl $7, %edx
movl %r12d, %esi
andl $-8, %esi
movq -72(%rbp), %rax ## 8-byte Reload
leaq 56(%rax), %rdi
leaq (,%r12,8), %r10
xorpd %xmm0, %xmm0
xorl %r11d, %r11d
jmp LBB0_47
.p2align 4, 0x90
LBB0_53: ## in Loop: Header=BB0_47 Depth=1
incq %r11
addq %r10, %rdi
addq %r10, -72(%rbp) ## 8-byte Folded Spill
cmpq %r9, %r11
je LBB0_54
LBB0_47: ## =>This Loop Header: Depth=1
## Child Loop BB0_49 Depth 2
## Child Loop BB0_52 Depth 2
testl %r12d, %r12d
jle LBB0_53
## %bb.48: ## in Loop: Header=BB0_47 Depth=1
xorl %ecx, %ecx
cmpq $7, %r8
jb LBB0_50
.p2align 4, 0x90
LBB0_49: ## Parent Loop BB0_47 Depth=1
## => This Inner Loop Header: Depth=2
addsd -56(%rdi,%rcx,8), %xmm0
addsd -48(%rdi,%rcx,8), %xmm0
addsd -40(%rdi,%rcx,8), %xmm0
addsd -32(%rdi,%rcx,8), %xmm0
addsd -24(%rdi,%rcx,8), %xmm0
addsd -16(%rdi,%rcx,8), %xmm0
addsd -8(%rdi,%rcx,8), %xmm0
addsd (%rdi,%rcx,8), %xmm0
addq $8, %rcx
cmpq %rcx, %rsi
jne LBB0_49
LBB0_50: ## in Loop: Header=BB0_47 Depth=1
testq %rdx, %rdx
je LBB0_53
## %bb.51: ## in Loop: Header=BB0_47 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx,8), %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_52: ## Parent Loop BB0_47 Depth=1
## => This Inner Loop Header: Depth=2
addsd (%rcx,%rax,8), %xmm0
incq %rax
cmpq %rax, %rdx
jne LBB0_52
jmp LBB0_53
LBB0_45:
xorpd %xmm0, %xmm0
LBB0_54:
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl -88(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_69
## %bb.55:
movl %eax, %r12d
movl %r14d, %r11d
andl $-8, %r11d
leaq -8(%r11), %r8
movq %r8, %r9
shrq $3, %r9
incq %r9
movl %r9d, %r10d
andl $3, %r10d
andq %r13, %r9
leaq 112(%r15), %rdx
leaq (,%r14,4), %rsi
movq %r10, %rdi
shlq $5, %rdi
xorl %ecx, %ecx
xorl %ebx, %ebx
jmp LBB0_56
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_56 Depth=1
incq %rcx
addq %rsi, %rdx
addq %rsi, %r15
cmpq %r12, %rcx
je LBB0_69
LBB0_56: ## =>This Loop Header: Depth=1
## Child Loop BB0_62 Depth 2
## Child Loop BB0_65 Depth 2
## Child Loop BB0_67 Depth 2
testl %r14d, %r14d
jle LBB0_68
## %bb.57: ## in Loop: Header=BB0_56 Depth=1
cmpl $8, %r14d
jae LBB0_59
## %bb.58: ## in Loop: Header=BB0_56 Depth=1
xorl %eax, %eax
jmp LBB0_67
.p2align 4, 0x90
LBB0_59: ## in Loop: Header=BB0_56 Depth=1
movd %ebx, %xmm0
pxor %xmm1, %xmm1
cmpq $24, %r8
jae LBB0_61
## %bb.60: ## in Loop: Header=BB0_56 Depth=1
xorl %ebx, %ebx
jmp LBB0_63
LBB0_61: ## in Loop: Header=BB0_56 Depth=1
movq %r9, %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_62: ## Parent Loop BB0_56 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -112(%rdx,%rbx,4), %xmm2
paddd %xmm0, %xmm2
movdqu -96(%rdx,%rbx,4), %xmm0
paddd %xmm1, %xmm0
movdqu -80(%rdx,%rbx,4), %xmm1
movdqu -64(%rdx,%rbx,4), %xmm3
movdqu -48(%rdx,%rbx,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu -32(%rdx,%rbx,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu -16(%rdx,%rbx,4), %xmm0
paddd %xmm4, %xmm0
movdqu (%rdx,%rbx,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rbx
addq $-4, %rax
jne LBB0_62
LBB0_63: ## in Loop: Header=BB0_56 Depth=1
testq %r10, %r10
je LBB0_66
## %bb.64: ## in Loop: Header=BB0_56 Depth=1
leaq (%r15,%rbx,4), %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_65: ## Parent Loop BB0_56 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rax,%rbx), %xmm2
paddd %xmm2, %xmm0
movdqu 16(%rax,%rbx), %xmm2
paddd %xmm2, %xmm1
addq $32, %rbx
cmpq %rbx, %rdi
jne LBB0_65
LBB0_66: ## in Loop: Header=BB0_56 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %ebx
movq %r11, %rax
cmpq %r14, %r11
je LBB0_68
.p2align 4, 0x90
LBB0_67: ## Parent Loop BB0_56 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r15,%rax,4), %ebx
incq %rax
cmpq %rax, %r14
jne LBB0_67
jmp LBB0_68
LBB0_69:
leaq L_.str.1(%rip), %r15
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movl -92(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_ ; -- Begin function scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_
.p2align 2
_scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_: ; @scilab_rt_contour_d2i2d2d2d0d0s0d2i2i0_
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
fmov d8, d1
fmov d9, d0
mov x19, x7
mov x20, x6
mov x21, x5
mov x22, x4
mov x23, x3
cmp w0, #1
b.lt LBB0_6
; %bb.1:
mov x8, #0
mov w9, w1
mov w10, w0
lsl x11, x9, #3
movi d0, #0000000000000000
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #1
add x2, x2, x11
cmp x8, x10
b.eq LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
cmp w1, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x12, x9
mov x13, x2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr d1, [x13], #8
fadd d0, d0, d1
subs x12, x12, #1
b.ne LBB0_5
b LBB0_2
LBB0_6:
movi d0, #0000000000000000
LBB0_7:
str d0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
cmp w23, #1
b.lt LBB0_18
; %bb.8:
mov x8, #0
mov w14, #0
mov w9, w22
mov w10, w23
and x11, x9, #0xfffffff0
add x12, x21, #32
lsl x13, x9, #2
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x8, x8, #1
add x12, x12, x13
add x21, x21, x13
cmp x8, x10
b.eq LBB0_19
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_17 Depth 2
cmp w22, #1
b.lt LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
cmp w22, #16
b.hs LBB0_13
; %bb.12: ; in Loop: Header=BB0_10 Depth=1
mov x16, #0
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
movi.2d v0, #0000000000000000
mov.s v0[0], w14
movi.2d v1, #0000000000000000
mov x14, x11
mov x15, x12
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_14: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x15, #-32]
ldp q6, q7, [x15], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x14, x14, #16
b.ne LBB0_14
; %bb.15: ; in Loop: Header=BB0_10 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
mov x16, x11
cmp x11, x9
b.eq LBB0_9
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
add x15, x21, x16, lsl #2
sub x16, x9, x16
LBB0_17: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15], #4
add w14, w17, w14
subs x16, x16, #1
b.ne LBB0_17
b LBB0_9
LBB0_18:
mov w14, #0
LBB0_19:
ldr w22, [x29, #24]
str x14, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
movi d10, #0000000000000000
movi d0, #0000000000000000
cmp w20, #1
b.lt LBB0_25
; %bb.20:
mov x8, #0
ldr x9, [x29, #16]
mov w10, w19
mov w11, w20
lsl x12, x10, #3
movi d0, #0000000000000000
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_22 Depth=1
add x8, x8, #1
add x9, x9, x12
cmp x8, x11
b.eq LBB0_25
LBB0_22: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
cmp w19, #1
b.lt LBB0_21
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
mov x13, x10
mov x14, x9
LBB0_24: ; Parent Loop BB0_22 Depth=1
; => This Inner Loop Header: Depth=2
ldr d1, [x14], #8
fadd d0, d0, d1
subs x13, x13, #1
b.ne LBB0_24
b LBB0_21
LBB0_25:
ldr w21, [x29, #48]
ldr x23, [x29, #40]
str d0, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
cmp w22, #1
b.lt LBB0_31
; %bb.26:
mov x8, #0
ldr x9, [x29, #32]
ldr w10, [x29, #28]
lsl x11, x10, #3
movi d10, #0000000000000000
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=1
add x8, x8, #1
add x9, x9, x11
cmp x8, x22
b.eq LBB0_31
LBB0_28: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
cmp w10, #1
b.lt LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
mov x12, x10
mov x13, x9
LBB0_30: ; Parent Loop BB0_28 Depth=1
; => This Inner Loop Header: Depth=2
ldr d0, [x13], #8
fadd d10, d10, d0
subs x12, x12, #1
b.ne LBB0_30
b LBB0_27
LBB0_31:
ldr w20, [x29, #64]
str d10, [sp]
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
str d9, [sp]
mov x0, x19
bl _printf
str d8, [sp]
mov x0, x19
bl _printf
str x23, [sp]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
cmp w21, #1
b.lt LBB0_37
; %bb.32:
mov x8, #0
ldr x9, [x29, #56]
ldr w10, [x29, #52]
lsl x11, x10, #3
movi d0, #0000000000000000
b LBB0_34
LBB0_33: ; in Loop: Header=BB0_34 Depth=1
add x8, x8, #1
add x9, x9, x11
cmp x8, x21
b.eq LBB0_38
LBB0_34: ; =>This Loop Header: Depth=1
; Child Loop BB0_36 Depth 2
cmp w10, #1
b.lt LBB0_33
; %bb.35: ; in Loop: Header=BB0_34 Depth=1
mov x12, x10
mov x13, x9
LBB0_36: ; Parent Loop BB0_34 Depth=1
; => This Inner Loop Header: Depth=2
ldr d1, [x13], #8
fadd d0, d0, d1
subs x12, x12, #1
b.ne LBB0_36
b LBB0_33
LBB0_37:
movi d0, #0000000000000000
LBB0_38:
ldr w21, [x29, #80]
str d0, [sp]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB0_49
; %bb.39:
mov x8, #0
mov w14, #0
ldr x9, [x29, #72]
ldr w10, [x29, #68]
and x11, x10, #0xfffffff0
add x12, x9, #32
lsl x13, x10, #2
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_41 Depth=1
add x8, x8, #1
add x12, x12, x13
add x9, x9, x13
cmp x8, x20
b.eq LBB0_50
LBB0_41: ; =>This Loop Header: Depth=1
; Child Loop BB0_45 Depth 2
; Child Loop BB0_48 Depth 2
cmp w10, #1
b.lt LBB0_40
; %bb.42: ; in Loop: Header=BB0_41 Depth=1
cmp w10, #16
b.hs LBB0_44
; %bb.43: ; in Loop: Header=BB0_41 Depth=1
mov x16, #0
b LBB0_47
LBB0_44: ; in Loop: Header=BB0_41 Depth=1
movi.2d v0, #0000000000000000
mov.s v0[0], w14
movi.2d v1, #0000000000000000
mov x14, x11
mov x15, x12
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_45: ; Parent Loop BB0_41 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x15, #-32]
ldp q6, q7, [x15], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x14, x14, #16
b.ne LBB0_45
; %bb.46: ; in Loop: Header=BB0_41 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
mov x16, x11
cmp x11, x10
b.eq LBB0_40
LBB0_47: ; in Loop: Header=BB0_41 Depth=1
add x15, x9, x16, lsl #2
sub x16, x10, x16
LBB0_48: ; Parent Loop BB0_41 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15], #4
add w14, w17, w14
subs x16, x16, #1
b.ne LBB0_48
b LBB0_40
LBB0_49:
mov w14, #0
LBB0_50:
str x14, [sp]
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x19
bl _printf
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 d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%s"
.subsections_via_symbols
| the_stack_data/1117571.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uvc_ioctl_s_fmt_vid_cap
_uvc_ioctl_s_fmt_vid_cap: ## @uvc_ioctl_s_fmt_vid_cap
.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, %r14
movq %rsi, %rdi
movq (%rsi), %rbx
callq _uvc_acquire_privileges
testl %eax, %eax
js LBB0_1
## %bb.2:
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _uvc_v4l2_set_format ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _uvc_ioctl_s_fmt_vid_cap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uvc_ioctl_s_fmt_vid_cap
_uvc_ioctl_s_fmt_vid_cap: ; @uvc_ioctl_s_fmt_vid_cap
.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
mov x0, x1
ldr x20, [x1]
bl _uvc_acquire_privileges
tbnz w0, #31, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _uvc_v4l2_set_format
LBB0_2:
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 _uvc_ioctl_s_fmt_vid_cap
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_v4l2.c_uvc_ioctl_s_fmt_vid_cap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function strcpy_strip_ext
_strcpy_strip_ext: ## @strcpy_strip_ext
.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
movq %rsi, %rdi
movl $46, %esi
callq _strrchr
testq %rax, %rax
je LBB0_5
## %bb.1:
movl %r14d, %ecx
notl %ecx
addl %ecx, %eax
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _strlcpy
movzbl (%rbx), %eax
testb %al, %al
je LBB0_4
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl %al, %edi
callq _tolower
movb %al, (%rbx)
movzbl -1(%rbx), %eax
decq %rbx
testb %al, %al
jne LBB0_2
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _strcpy ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _strcpy_strip_ext
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function strcpy_strip_ext
_strcpy_strip_ext: ; @strcpy_strip_ext
.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 x20, x1
mov x19, x0
mov x0, x1
mov w1, #46 ; =0x2e
bl _strrchr
cbz x0, LBB0_4
; %bb.1:
mvn w8, w20
add w2, w0, w8
mov x0, x19
mov x1, x20
bl _strlcpy
ldrb w8, [x19]
cbz w8, LBB0_3
LBB0_2: ; =>This Inner Loop Header: Depth=1
and w0, w8, #0xff
bl _tolower
strb w0, [x19]
ldrb w8, [x19, #-1]!
cbnz w8, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strcpy
.cfi_endproc
; -- End function
.no_dead_strip _strcpy_strip_ext
.subsections_via_symbols
| assembly_file_173440.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_amf_write_number ## -- Begin function ff_amf_write_number
.p2align 4, 0x90
_ff_amf_write_number: ## @ff_amf_write_number
.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
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq _AMF_DATA_TYPE_NUMBER@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _bytestream_put_byte
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _av_double2int
movq %rbx, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _bytestream_put_be64 ## TAILCALL
.cfi_endproc
## -- End function
.comm _AMF_DATA_TYPE_NUMBER,4,2 ## @AMF_DATA_TYPE_NUMBER
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_amf_write_number ; -- Begin function ff_amf_write_number
.p2align 2
_ff_amf_write_number: ; @ff_amf_write_number
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
fmov d8, d0
mov x19, x0
Lloh0:
adrp x8, _AMF_DATA_TYPE_NUMBER@GOTPAGE
Lloh1:
ldr x8, [x8, _AMF_DATA_TYPE_NUMBER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _bytestream_put_byte
fmov d0, d8
bl _av_double2int
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
b _bytestream_put_be64
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AMF_DATA_TYPE_NUMBER,4,2 ; @AMF_DATA_TYPE_NUMBER
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_rtmppkt.c_ff_amf_write_number.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uwire_cleanup
_uwire_cleanup: ## @uwire_cleanup
.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
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _uwire_cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uwire_cleanup
_uwire_cleanup: ; @uwire_cleanup
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _uwire_cleanup
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/spi/extr_omap_uwire.c_uwire_cleanup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_toupper ## -- Begin function ft_toupper
.p2align 4, 0x90
_ft_toupper: ## @ft_toupper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal -97(%rdi), %ecx
leal -32(%rdi), %eax
cmpl $26, %ecx
cmovael %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_toupper ; -- Begin function ft_toupper
.p2align 2
_ft_toupper: ; @ft_toupper
.cfi_startproc
; %bb.0:
sub w8, w0, #97
sub w9, w0, #32
cmp w8, #26
csel w0, w9, w0, lo
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/853951.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _variant_to_nscolor ## -- Begin function variant_to_nscolor
.p2align 4, 0x90
_variant_to_nscolor: ## @variant_to_nscolor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
callq _V_VT
movq %rbx, %rdi
cmpl $128, %eax
je LBB0_4
## %bb.1:
cmpl $129, %eax
jne LBB0_5
## %bb.2:
callq _V_BSTR
movq %r14, %rdi
movq %rax, %rsi
jmp LBB0_3
LBB0_4:
callq _V_I4
leaq _variant_to_nscolor.formatW(%rip), %rsi
leaq -64(%rbp), %rbx
movq %rbx, %rdi
movl %eax, %edx
callq _wsprintfW
movq %r14, %rdi
movq %rbx, %rsi
LBB0_3:
callq _nsAString_Init
movq _TRUE@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
callq _debugstr_variant
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _FIXME
movq _FALSE@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB0_8
## %bb.7:
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.section __TEXT,__const
_variant_to_nscolor.formatW: ## @variant_to_nscolor.formatW
.asciz "#%x"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid color %s\n"
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _variant_to_nscolor ; -- Begin function variant_to_nscolor
.p2align 2
_variant_to_nscolor: ; @variant_to_nscolor
.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
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
bl _V_VT
cmp w0, #128
b.eq LBB0_3
; %bb.1:
cmp w0, #129
b.ne LBB0_5
; %bb.2:
mov x0, x20
bl _V_BSTR
mov x1, x0
b LBB0_4
LBB0_3:
mov x0, x20
bl _V_I4
mov x2, x0
Lloh3:
adrp x1, _variant_to_nscolor.formatW@PAGE
Lloh4:
add x1, x1, _variant_to_nscolor.formatW@PAGEOFF
mov x0, sp
bl _wsprintfW
mov x1, sp
LBB0_4:
mov x0, x19
bl _nsAString_Init
Lloh5:
adrp x8, _TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
b LBB0_6
LBB0_5:
mov x0, x20
bl _debugstr_variant
mov x1, x0
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _FIXME
Lloh9:
adrp x8, _FALSE@GOTPAGE
Lloh10:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
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_8
; %bb.7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.section __TEXT,__const
_variant_to_nscolor.formatW: ; @variant_to_nscolor.formatW
.asciz "#%x"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid color %s\n"
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/mshtml/extr_htmlbody.c_variant_to_nscolor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function igb_remove
_igb_remove: ## @igb_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _pci_get_drvdata
movq %rax, %r14
movq %rax, %rdi
callq _netdev_priv
movq %rax, %rbx
movq %r15, %rdi
callq _pm_runtime_get_noresume
movq %rbx, %rdi
callq _igb_remove_i2c
movq %rbx, %rdi
callq _igb_ptp_stop
movq ___IGB_DOWN@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 32(%rbx), %rsi
callq _set_bit
leaq 28(%rbx), %rdi
callq _del_timer_sync
leaq 24(%rbx), %rdi
callq _del_timer_sync
leaq 20(%rbx), %rdi
callq _cancel_work_sync
leaq 16(%rbx), %rdi
callq _cancel_work_sync
movq %rbx, %rdi
callq _igb_release_hw_control
movq %r14, %rdi
callq _unregister_netdev
movq %rbx, %rdi
callq _igb_clear_interrupt_scheme
movl 12(%rbx), %esi
movq %r15, %rdi
callq _pci_iounmap
movq 40(%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _iounmap
LBB0_2:
movq %r15, %rdi
callq _pci_release_mem_regions
movl 8(%rbx), %edi
callq _kfree
movl 4(%rbx), %edi
callq _kfree
movq %r14, %rdi
callq _free_netdev
movq %r15, %rdi
callq _pci_disable_pcie_error_reporting
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _pci_disable_device ## TAILCALL
.cfi_endproc
## -- End function
.comm ___IGB_DOWN,4,2 ## @__IGB_DOWN
.comm _E1000_DCA_CTRL,4,2 ## @E1000_DCA_CTRL
.comm _E1000_DCA_CTRL_DCA_MODE_DISABLE,4,2 ## @E1000_DCA_CTRL_DCA_MODE_DISABLE
.comm _IGB_FLAG_DCA_ENABLED,4,2 ## @IGB_FLAG_DCA_ENABLED
.no_dead_strip _igb_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function igb_remove
_igb_remove: ; @igb_remove
.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
bl _pci_get_drvdata
mov x20, x0
bl _netdev_priv
mov x21, x0
mov x0, x19
bl _pm_runtime_get_noresume
mov x0, x21
bl _igb_remove_i2c
mov x0, x21
bl _igb_ptp_stop
Lloh0:
adrp x8, ___IGB_DOWN@GOTPAGE
Lloh1:
ldr x8, [x8, ___IGB_DOWN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x1, x21, #32
bl _set_bit
add x0, x21, #28
bl _del_timer_sync
add x0, x21, #24
bl _del_timer_sync
add x0, x21, #20
bl _cancel_work_sync
add x0, x21, #16
bl _cancel_work_sync
mov x0, x21
bl _igb_release_hw_control
mov x0, x20
bl _unregister_netdev
mov x0, x21
bl _igb_clear_interrupt_scheme
ldr w1, [x21, #12]
mov x0, x19
bl _pci_iounmap
ldr x0, [x21, #40]
cbz x0, LBB0_2
; %bb.1:
bl _iounmap
LBB0_2:
mov x0, x19
bl _pci_release_mem_regions
ldr w0, [x21, #8]
bl _kfree
ldr w0, [x21, #4]
bl _kfree
mov x0, x20
bl _free_netdev
mov x0, x19
bl _pci_disable_pcie_error_reporting
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 _pci_disable_device
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm ___IGB_DOWN,4,2 ; @__IGB_DOWN
.comm _E1000_DCA_CTRL,4,2 ; @E1000_DCA_CTRL
.comm _E1000_DCA_CTRL_DCA_MODE_DISABLE,4,2 ; @E1000_DCA_CTRL_DCA_MODE_DISABLE
.comm _IGB_FLAG_DCA_ENABLED,4,2 ; @IGB_FLAG_DCA_ENABLED
.no_dead_strip _igb_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_igb_main.c_igb_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function read_cols
_read_cols: ## @read_cols
.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 _MATRIX_COLS@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_1
## %bb.3:
movq _col_pins@GOTPCREL(%rip), %r13
xorl %ebx, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movl (%rax,%rbx,4), %edi
sarl $4, %edi
callq __SFR_IO8
movl %eax, %r15d
movq (%r13), %rax
movl (%rax,%rbx,4), %edi
andl $15, %edi
callq __BV
movl $1, %edx
movl %ebx, %ecx
shll %cl, %edx
testl %r15d, %eax
movl $0, %eax
cmovnel %eax, %edx
orl %edx, %r14d
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_4
jmp LBB0_2
LBB0_1:
xorl %r14d, %r14d
LBB0_2:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MATRIX_COLS,4,2 ## @MATRIX_COLS
.comm _col_pins,8,3 ## @col_pins
.no_dead_strip _read_cols
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function read_cols
_read_cols: ; @read_cols
.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, _MATRIX_COLS@GOTPAGE
Lloh1:
ldr x21, [x21, _MATRIX_COLS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x22, #0
mov w19, #0
Lloh2:
adrp x23, _col_pins@GOTPAGE
Lloh3:
ldr x23, [x23, _col_pins@GOTPAGEOFF]
mov w24, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
lsl x25, x22, #2
ldr w8, [x8, x25]
asr w0, w8, #4
bl __SFR_IO8
mov x20, x0
ldr x8, [x23]
ldr w8, [x8, x25]
and w0, w8, #0xf
bl __BV
lsl w8, w24, w22
tst w0, w20
csel w8, w8, wzr, eq
orr w19, w8, w19
add x22, x22, #1
ldrsw x8, [x21]
cmp x22, x8
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov w19, #0
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _MATRIX_COLS,4,2 ; @MATRIX_COLS
.comm _col_pins,8,3 ; @col_pins
.no_dead_strip _read_cols
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/claw44/rev1/extr_matrix.c_read_cols.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function new_dev_desc
_new_dev_desc: ## @new_dev_desc
.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 %edi, -32(%rbp)
movq _devices@GOTPCREL(%rip), %rbx
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _device_config
movq (%rbx), %r14
movq 8(%rbx), %rcx
movq (%rcx), %rcx
movslq (%rcx), %rbx
addq %rax, %rbx
jmp LBB0_3
LBB0_2:
movq (%rbx), %r14
movq %r14, %rbx
LBB0_3:
leaq 4(%rbx), %r15
xorl %eax, %eax
callq _getpagesize
cltq
addq %r14, %rax
cmpq %rax, %r15
jbe LBB0_5
## %bb.4:
leaq L_.str(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_5:
leaq -32(%rbp), %rsi
movq %rbx, %rdi
movl $4, %edx
callq _memcpy
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _devices,16,3 ## @devices
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Too many devices"
.no_dead_strip _new_dev_desc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function new_dev_desc
_new_dev_desc: ; @new_dev_desc
.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
str w0, [sp, #8]
Lloh0:
adrp x19, _devices@GOTPAGE
Lloh1:
ldr x19, [x19, _devices@GOTPAGEOFF]
ldr x0, [x19, #8]
cbz x0, LBB0_2
; %bb.1:
bl _device_config
ldp x20, x8, [x19]
ldr x8, [x8]
ldrsw x8, [x8]
add x19, x0, x8
b LBB0_3
LBB0_2:
ldr x20, [x19]
mov x19, x20
LBB0_3:
add x21, x19, #4
bl _getpagesize
add x8, x20, w0, sxtw
cmp x21, x8
b.ls LBB0_5
; %bb.4:
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
bl _errx
LBB0_5:
add x1, sp, #8
mov x0, x19
mov w2, #4
bl _memcpy
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _devices,16,3 ; @devices
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Too many devices"
.no_dead_strip _new_dev_desc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/Documentation/lguest/extr_lguest.c_new_dev_desc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function adt7475_update_device
_adt7475_update_device: ## @adt7475_update_device
.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
callq _to_i2c_client
movq %rax, %r13
movq %rax, %rdi
callq _i2c_get_clientdata
movq %rax, %rbx
leaq 48(%rax), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _mutex_lock
movq _jiffies@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movq _HZ@GOTPCREL(%rip), %r15
movslq (%r15), %rsi
addq %rsi, %rsi
addq 72(%rbx), %rsi
callq _time_after
testq %rax, %rax
movq %r13, -48(%rbp) ## 8-byte Spill
je LBB0_15
## %bb.1:
cmpl $0, (%rbx)
jne LBB0_15
## %bb.2:
movq _REG_STATUS2@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _adt7475_read
shll $8, %eax
movl %eax, 4(%rbx)
movq _REG_STATUS1@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _adt7475_read
orl %eax, 4(%rbx)
movq _REG_EXTEND1@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _adt7475_read
movq _ADT7475_VOLTAGE_COUNT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
js LBB0_5
## %bb.3:
movl %eax, %r12d
movl $2, %r13d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _VOLTAGE_REG
movl %eax, %edi
callq _adt7475_read
movl %r12d, %edx
movl %r13d, %ecx
sarl %cl, %edx
shll $2, %eax
orl %eax, %edx
orl $3, %edx
movq 8(%rbx), %rax
movq _INPUT@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movl %edx, (%rax,%r14,4)
leaq 1(%r14), %rax
movslq (%r15), %rcx
addl $2, %r13d
cmpq %rcx, %r14
movq %rax, %r14
jl LBB0_4
LBB0_5:
movq _REG_EXTEND2@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _adt7475_read
movq _ADT7475_TEMP_COUNT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_8
## %bb.6:
movl %eax, %r12d
movl $2, %r13d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _TEMP_REG
movl %eax, %edi
callq _adt7475_read
movl %r12d, %edx
movl %r13d, %ecx
sarl %cl, %edx
## kill: def $eax killed $eax def $rax
andl $3, %edx
leal (%rdx,%rax,4), %eax
movq 16(%rbx), %rcx
movq _INPUT@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r14,4)
incq %r14
movslq (%r15), %rax
addl $2, %r13d
cmpq %rax, %r14
jl LBB0_7
LBB0_8:
movq _ADT7475_TACH_COUNT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
movq -48(%rbp), %r13 ## 8-byte Reload
jle LBB0_11
## %bb.9:
xorl %r14d, %r14d
movq _INPUT@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _TACH_REG
movq %r13, %rdi
movl %eax, %esi
callq _adt7475_read_word
movq 64(%rbx), %rcx
movq (%r12), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
movslq (%r15), %rax
cmpq %rax, %r14
jl LBB0_10
LBB0_11:
movq _ADT7475_PWM_COUNT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_14
## %bb.12:
xorl %r14d, %r14d
movq _INPUT@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _PWM_REG
movl %eax, %edi
callq _adt7475_read
movq 24(%rbx), %rcx
movq (%r12), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r14,4)
incq %r14
movslq (%r15), %rax
cmpq %rax, %r14
jl LBB0_13
LBB0_14:
movq _jiffies@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq %rax, 72(%rbx)
movq _HZ@GOTPCREL(%rip), %r15
LBB0_15:
movq (%r14), %rdi
movslq (%r15), %rax
imulq $60, %rax, %rsi
addq 56(%rbx), %rsi
callq _time_after
testq %rax, %rax
je LBB0_16
LBB0_17:
movq _REG_CONFIG5@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _adt7475_read
movl %eax, 32(%rbx)
movq _ADT7475_VOLTAGE_COUNT@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_20
## %bb.18:
xorl %r12d, %r12d
movq _MIN@GOTPCREL(%rip), %r13
movq _MAX@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movl %r12d, %edi
callq _VOLTAGE_MIN_REG
movl %eax, %edi
callq _adt7475_read
shll $2, %eax
movq 8(%rbx), %rcx
movq (%r13), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movl %r12d, %edi
callq _VOLTAGE_MAX_REG
movl %eax, %edi
callq _adt7475_read
shll $2, %eax
movq 8(%rbx), %rcx
movq (%r15), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
incq %r12
movslq (%r14), %rax
cmpq %rax, %r12
jl LBB0_19
LBB0_20:
movq _ADT7475_TEMP_COUNT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_23
## %bb.21:
xorl %r12d, %r12d
movq _THERM@GOTPCREL(%rip), %r13
movq _OFFSET@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movl %r12d, %edi
callq _TEMP_MIN_REG
movl %eax, %edi
callq _adt7475_read
shll $2, %eax
movq 16(%rbx), %rcx
movq _MIN@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movl %r12d, %edi
callq _TEMP_MAX_REG
movl %eax, %edi
callq _adt7475_read
shll $2, %eax
movq 16(%rbx), %rcx
movq _MAX@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movl %r12d, %edi
callq _TEMP_TMIN_REG
movl %eax, %edi
callq _adt7475_read
shll $2, %eax
movq 16(%rbx), %rcx
movq _AUTOMIN@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movl %r12d, %edi
callq _TEMP_THERM_REG
movl %eax, %edi
callq _adt7475_read
shll $2, %eax
movq 16(%rbx), %rcx
movq (%r13), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movl %r12d, %edi
callq _TEMP_OFFSET_REG
movl %eax, %edi
callq _adt7475_read
movq 16(%rbx), %rcx
movq (%r14), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
incq %r12
movslq (%r15), %rax
cmpq %rax, %r12
jl LBB0_22
LBB0_23:
movq -48(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _adt7475_read_hystersis
movq _ADT7475_TACH_COUNT@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_26
## %bb.24:
xorl %r14d, %r14d
movq _MIN@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_25: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _TACH_MIN_REG
movq %r13, %rdi
movl %eax, %esi
callq _adt7475_read_word
movq 64(%rbx), %rcx
movq (%r12), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
movslq (%r15), %rax
cmpq %rax, %r14
jl LBB0_25
LBB0_26:
movq _ADT7475_PWM_COUNT@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
jle LBB0_29
## %bb.27:
movq %r13, %r14
xorl %r12d, %r12d
movq _MIN@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movl %r12d, %edi
movq %rcx, %r13
callq _PWM_MAX_REG
movl %eax, %edi
callq _adt7475_read
movq 24(%rbx), %rcx
movq _MAX@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movl %r12d, %edi
callq _PWM_MIN_REG
movl %eax, %edi
callq _adt7475_read
movq 24(%rbx), %rcx
movq (%r15), %rdx
movq (%rcx,%rdx,8), %rcx
movl %eax, (%rcx,%r12,4)
movq %r14, %rdi
movl %r12d, %esi
callq _adt7475_read_pwm
movq %r13, %rcx
incq %r12
movslq (%r13), %rax
cmpq %rax, %r12
jl LBB0_28
LBB0_29:
xorl %edi, %edi
callq _TEMP_TRANGE_REG
movl %eax, %edi
callq _adt7475_read
movq 40(%rbx), %rcx
movl %eax, (%rcx)
movl $1, %edi
callq _TEMP_TRANGE_REG
movl %eax, %edi
callq _adt7475_read
movq 40(%rbx), %rcx
movl %eax, 4(%rcx)
movl $2, %edi
callq _TEMP_TRANGE_REG
movl %eax, %edi
callq _adt7475_read
movq 40(%rbx), %rcx
movl %eax, 8(%rcx)
movq _jiffies@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 56(%rbx)
movl $1, (%rbx)
jmp LBB0_30
LBB0_16:
cmpl $0, (%rbx)
je LBB0_17
LBB0_30:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _mutex_unlock
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _jiffies,8,3 ## @jiffies
.comm _HZ,4,2 ## @HZ
.comm _REG_STATUS2,4,2 ## @REG_STATUS2
.comm _REG_STATUS1,4,2 ## @REG_STATUS1
.comm _REG_EXTEND1,4,2 ## @REG_EXTEND1
.comm _ADT7475_VOLTAGE_COUNT,4,2 ## @ADT7475_VOLTAGE_COUNT
.comm _INPUT,8,3 ## @INPUT
.comm _REG_EXTEND2,4,2 ## @REG_EXTEND2
.comm _ADT7475_TEMP_COUNT,4,2 ## @ADT7475_TEMP_COUNT
.comm _ADT7475_TACH_COUNT,4,2 ## @ADT7475_TACH_COUNT
.comm _ADT7475_PWM_COUNT,4,2 ## @ADT7475_PWM_COUNT
.comm _REG_CONFIG5,4,2 ## @REG_CONFIG5
.comm _MIN,8,3 ## @MIN
.comm _MAX,8,3 ## @MAX
.comm _AUTOMIN,8,3 ## @AUTOMIN
.comm _THERM,8,3 ## @THERM
.comm _OFFSET,8,3 ## @OFFSET
.no_dead_strip _adt7475_update_device
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function adt7475_update_device
_adt7475_update_device: ; @adt7475_update_device
.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
bl _to_i2c_client
mov x20, x0
bl _i2c_get_clientdata
mov x19, x0
add x0, x0, #48
bl _mutex_lock
Lloh0:
adrp x21, _jiffies@GOTPAGE
Lloh1:
ldr x21, [x21, _jiffies@GOTPAGEOFF]
ldr x0, [x21]
ldr x8, [x19, #72]
Lloh2:
adrp x28, _HZ@GOTPAGE
Lloh3:
ldr x28, [x28, _HZ@GOTPAGEOFF]
ldrsw x9, [x28]
add x1, x8, x9, lsl #1
bl _time_after
Lloh4:
adrp x27, _ADT7475_VOLTAGE_COUNT@GOTPAGE
Lloh5:
ldr x27, [x27, _ADT7475_VOLTAGE_COUNT@GOTPAGEOFF]
Lloh6:
adrp x26, _ADT7475_TEMP_COUNT@GOTPAGE
Lloh7:
ldr x26, [x26, _ADT7475_TEMP_COUNT@GOTPAGEOFF]
Lloh8:
adrp x25, _ADT7475_TACH_COUNT@GOTPAGE
Lloh9:
ldr x25, [x25, _ADT7475_TACH_COUNT@GOTPAGEOFF]
cbz x0, LBB0_15
; %bb.1:
ldr w8, [x19]
cbnz w8, LBB0_15
; %bb.2:
Lloh10:
adrp x8, _REG_STATUS2@GOTPAGE
Lloh11:
ldr x8, [x8, _REG_STATUS2@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
bl _adt7475_read
lsl w8, w0, #8
str w8, [x19, #4]
Lloh13:
adrp x8, _REG_STATUS1@GOTPAGE
Lloh14:
ldr x8, [x8, _REG_STATUS1@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
bl _adt7475_read
ldr w8, [x19, #4]
orr w8, w8, w0
str w8, [x19, #4]
Lloh16:
adrp x8, _REG_EXTEND1@GOTPAGE
Lloh17:
ldr x8, [x8, _REG_EXTEND1@GOTPAGEOFF]
Lloh18:
ldr w0, [x8]
bl _adt7475_read
ldr w8, [x27]
Lloh19:
adrp x23, _INPUT@GOTPAGE
Lloh20:
ldr x23, [x23, _INPUT@GOTPAGEOFF]
tbnz w8, #31, LBB0_5
; %bb.3:
mov x21, x0
mov x22, #0 ; =0x0
mov w24, #2 ; =0x2
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _VOLTAGE_REG
bl _adt7475_read
asr w8, w21, w24
orr w8, w8, w0, lsl #2
orr w8, w8, #0x3
ldr x9, [x19, #8]
ldr x10, [x23]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x22, lsl #2]
add x8, x22, #1
ldrsw x9, [x27]
add w24, w24, #2
cmp x22, x9
mov x22, x8
b.lt LBB0_4
LBB0_5:
Lloh21:
adrp x8, _REG_EXTEND2@GOTPAGE
Lloh22:
ldr x8, [x8, _REG_EXTEND2@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _adt7475_read
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_8
; %bb.6:
mov x21, x0
mov x22, #0 ; =0x0
mov w24, #2 ; =0x2
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _TEMP_REG
bl _adt7475_read
asr w8, w21, w24
bfi w8, w0, #2, #30
ldr x9, [x19, #16]
ldr x10, [x23]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x22, lsl #2]
add x8, x22, #1
ldrsw x9, [x26]
add w24, w24, #2
mov x22, x8
cmp x8, x9
b.lt LBB0_7
LBB0_8:
ldr w8, [x25]
cmp w8, #1
b.lt LBB0_11
; %bb.9:
mov x21, #0 ; =0x0
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _TACH_REG
mov x1, x0
mov x0, x20
bl _adt7475_read_word
ldr x8, [x19, #64]
ldr x9, [x23]
ldr x8, [x8, x9, lsl #3]
str x0, [x8, x21, lsl #3]
add x21, x21, #1
ldrsw x8, [x25]
cmp x21, x8
b.lt LBB0_10
LBB0_11:
Lloh24:
adrp x22, _ADT7475_PWM_COUNT@GOTPAGE
Lloh25:
ldr x22, [x22, _ADT7475_PWM_COUNT@GOTPAGEOFF]
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_14
; %bb.12:
mov x21, #0 ; =0x0
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _PWM_REG
bl _adt7475_read
ldr x8, [x19, #24]
ldr x9, [x23]
ldr x8, [x8, x9, lsl #3]
str w0, [x8, x21, lsl #2]
add x21, x21, #1
ldrsw x8, [x22]
cmp x21, x8
b.lt LBB0_13
LBB0_14:
Lloh26:
adrp x21, _jiffies@GOTPAGE
Lloh27:
ldr x21, [x21, _jiffies@GOTPAGEOFF]
ldr x8, [x21]
str x8, [x19, #72]
LBB0_15:
ldr x0, [x21]
ldr x8, [x19, #56]
ldrsw x9, [x28]
mov w10, #60 ; =0x3c
smaddl x1, w9, w10, x8
bl _time_after
cbz x0, LBB0_29
LBB0_16:
Lloh28:
adrp x8, _REG_CONFIG5@GOTPAGE
Lloh29:
ldr x8, [x8, _REG_CONFIG5@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
bl _adt7475_read
str w0, [x19, #32]
ldr w8, [x27]
Lloh31:
adrp x22, _MIN@GOTPAGE
Lloh32:
ldr x22, [x22, _MIN@GOTPAGEOFF]
Lloh33:
adrp x28, _MAX@GOTPAGE
Lloh34:
ldr x28, [x28, _MAX@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_19
; %bb.17:
mov x21, #0 ; =0x0
LBB0_18: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _VOLTAGE_MIN_REG
bl _adt7475_read
lsl w8, w0, #2
ldr x9, [x19, #8]
ldr x10, [x22]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x21, lsl #2]
mov x0, x21
bl _VOLTAGE_MAX_REG
bl _adt7475_read
ldr x8, [x19, #8]
ldr x9, [x28]
ldr x8, [x8, x9, lsl #3]
lsl w9, w0, #2
str w9, [x8, x21, lsl #2]
add x21, x21, #1
ldrsw x8, [x27]
cmp x21, x8
b.lt LBB0_18
LBB0_19:
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_22
; %bb.20:
mov x21, #0 ; =0x0
Lloh35:
adrp x23, _AUTOMIN@GOTPAGE
Lloh36:
ldr x23, [x23, _AUTOMIN@GOTPAGEOFF]
Lloh37:
adrp x27, _THERM@GOTPAGE
Lloh38:
ldr x27, [x27, _THERM@GOTPAGEOFF]
Lloh39:
adrp x24, _OFFSET@GOTPAGE
Lloh40:
ldr x24, [x24, _OFFSET@GOTPAGEOFF]
LBB0_21: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _TEMP_MIN_REG
bl _adt7475_read
lsl w8, w0, #2
ldr x9, [x19, #16]
ldr x10, [x22]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x21, lsl #2]
mov x0, x21
bl _TEMP_MAX_REG
bl _adt7475_read
lsl w8, w0, #2
ldr x9, [x19, #16]
ldr x10, [x28]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x21, lsl #2]
mov x0, x21
bl _TEMP_TMIN_REG
bl _adt7475_read
lsl w8, w0, #2
ldr x9, [x19, #16]
ldr x10, [x23]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x21, lsl #2]
mov x0, x21
bl _TEMP_THERM_REG
bl _adt7475_read
lsl w8, w0, #2
ldr x9, [x19, #16]
ldr x10, [x27]
ldr x9, [x9, x10, lsl #3]
str w8, [x9, x21, lsl #2]
mov x0, x21
bl _TEMP_OFFSET_REG
bl _adt7475_read
ldr x8, [x19, #16]
ldr x9, [x24]
ldr x8, [x8, x9, lsl #3]
str w0, [x8, x21, lsl #2]
add x21, x21, #1
ldrsw x8, [x26]
cmp x21, x8
b.lt LBB0_21
LBB0_22:
mov x0, x20
bl _adt7475_read_hystersis
ldr w8, [x25]
cmp w8, #1
b.lt LBB0_25
; %bb.23:
mov x21, #0 ; =0x0
LBB0_24: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _TACH_MIN_REG
mov x1, x0
mov x0, x20
bl _adt7475_read_word
ldr x8, [x19, #64]
ldr x9, [x22]
ldr x8, [x8, x9, lsl #3]
str x0, [x8, x21, lsl #3]
add x21, x21, #1
ldrsw x8, [x25]
cmp x21, x8
b.lt LBB0_24
LBB0_25:
Lloh41:
adrp x23, _ADT7475_PWM_COUNT@GOTPAGE
Lloh42:
ldr x23, [x23, _ADT7475_PWM_COUNT@GOTPAGEOFF]
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_28
; %bb.26:
mov x21, #0 ; =0x0
LBB0_27: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _PWM_MAX_REG
bl _adt7475_read
ldr x8, [x19, #24]
ldr x9, [x28]
ldr x8, [x8, x9, lsl #3]
str w0, [x8, x21, lsl #2]
mov x0, x21
bl _PWM_MIN_REG
bl _adt7475_read
ldr x8, [x19, #24]
ldr x9, [x22]
ldr x8, [x8, x9, lsl #3]
str w0, [x8, x21, lsl #2]
mov x0, x20
mov x1, x21
bl _adt7475_read_pwm
add x21, x21, #1
ldrsw x8, [x23]
cmp x21, x8
b.lt LBB0_27
LBB0_28:
mov w0, #0 ; =0x0
bl _TEMP_TRANGE_REG
bl _adt7475_read
ldr x8, [x19, #40]
str w0, [x8]
mov w20, #1 ; =0x1
mov w0, #1 ; =0x1
bl _TEMP_TRANGE_REG
bl _adt7475_read
ldr x8, [x19, #40]
str w0, [x8, #4]
mov w0, #2 ; =0x2
bl _TEMP_TRANGE_REG
bl _adt7475_read
ldr x8, [x19, #40]
str w0, [x8, #8]
Lloh43:
adrp x8, _jiffies@GOTPAGE
Lloh44:
ldr x8, [x8, _jiffies@GOTPAGEOFF]
Lloh45:
ldr x8, [x8]
str x8, [x19, #56]
str w20, [x19]
b LBB0_30
LBB0_29:
ldr w8, [x19]
cbz w8, LBB0_16
LBB0_30:
add x0, x19, #48
bl _mutex_unlock
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 AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGot Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _jiffies,8,3 ; @jiffies
.comm _HZ,4,2 ; @HZ
.comm _REG_STATUS2,4,2 ; @REG_STATUS2
.comm _REG_STATUS1,4,2 ; @REG_STATUS1
.comm _REG_EXTEND1,4,2 ; @REG_EXTEND1
.comm _ADT7475_VOLTAGE_COUNT,4,2 ; @ADT7475_VOLTAGE_COUNT
.comm _INPUT,8,3 ; @INPUT
.comm _REG_EXTEND2,4,2 ; @REG_EXTEND2
.comm _ADT7475_TEMP_COUNT,4,2 ; @ADT7475_TEMP_COUNT
.comm _ADT7475_TACH_COUNT,4,2 ; @ADT7475_TACH_COUNT
.comm _ADT7475_PWM_COUNT,4,2 ; @ADT7475_PWM_COUNT
.comm _REG_CONFIG5,4,2 ; @REG_CONFIG5
.comm _MIN,8,3 ; @MIN
.comm _MAX,8,3 ; @MAX
.comm _AUTOMIN,8,3 ; @AUTOMIN
.comm _THERM,8,3 ; @THERM
.comm _OFFSET,8,3 ; @OFFSET
.no_dead_strip _adt7475_update_device
.subsections_via_symbols
| assembly_file_175716.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl92c_dm_ctrl_initgain_by_rssi
_rtl92c_dm_ctrl_initgain_by_rssi: ## @rtl92c_dm_ctrl_initgain_by_rssi
.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 _rtl_priv
movq (%rax), %rdx
cmpq 8(%rax), %rdx
jle LBB0_3
## %bb.1:
movl 16(%rax), %ecx
movl 20(%rax), %r9d
addl $-2, %ecx
cmpl %r9d, %ecx
jge LBB0_6
LBB0_2:
movl %r9d, 16(%rax)
jmp LBB0_8
LBB0_3:
movl 16(%rax), %ecx
cmpq 24(%rax), %rdx
jge LBB0_7
## %bb.4:
addl $2, %ecx
movl 32(%rax), %r9d
cmpl %r9d, %ecx
jg LBB0_2
LBB0_6:
movl %ecx, 16(%rax)
LBB0_7:
movl %ecx, %r9d
LBB0_8:
movl 36(%rax), %r8d
movl 40(%rax), %edx
movl %r8d, %ecx
subl %r9d, %ecx
addl $10, %ecx
cmpl %edx, %ecx
jg LBB0_9
## %bb.10:
movl 48(%rax), %edx
cmpl %edx, %ecx
jge LBB0_12
LBB0_9:
movl %edx, 44(%rax)
jmp LBB0_13
LBB0_12:
movl %ecx, 44(%rax)
LBB0_13:
movq _COMP_DIG@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _DBG_TRACE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
leaq L_.str(%rip), %rcx
movq %rax, %rdi
callq _RT_TRACE
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _rtl8723e_dm_write_dig ## TAILCALL
.cfi_endproc
## -- End function
.comm _COMP_DIG,4,2 ## @COMP_DIG
.comm _DBG_TRACE,4,2 ## @DBG_TRACE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rssi_val_min = %x back_val %x\n"
.no_dead_strip _rtl92c_dm_ctrl_initgain_by_rssi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl92c_dm_ctrl_initgain_by_rssi
_rtl92c_dm_ctrl_initgain_by_rssi: ; @rtl92c_dm_ctrl_initgain_by_rssi
.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 _rtl_priv
ldp x8, x9, [x0]
cmp x8, x9
b.le LBB0_3
; %bb.1:
ldp w8, w5, [x0, #16]
sub w8, w8, #2
cmp w8, w5
b.ge LBB0_5
LBB0_2:
str w5, [x0, #16]
b LBB0_6
LBB0_3:
ldr x9, [x0, #24]
ldr w5, [x0, #16]
cmp x8, x9
b.ge LBB0_6
; %bb.4:
add w8, w5, #2
ldr w5, [x0, #32]
cmp w8, w5
b.gt LBB0_2
LBB0_5:
str w8, [x0, #16]
mov x5, x8
LBB0_6:
ldp w4, w9, [x0, #36]
sub w8, w4, w5
add w8, w8, #10
cmp w8, w9
b.gt LBB0_8
; %bb.7:
ldr w9, [x0, #48]
cmp w8, w9
b.ge LBB0_9
LBB0_8:
str w9, [x0, #44]
b LBB0_10
LBB0_9:
str w8, [x0, #44]
LBB0_10:
Lloh0:
adrp x8, _COMP_DIG@GOTPAGE
Lloh1:
ldr x8, [x8, _COMP_DIG@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _DBG_TRACE@GOTPAGE
Lloh4:
ldr x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
Lloh6:
adrp x3, l_.str@PAGE
Lloh7:
add x3, x3, l_.str@PAGEOFF
bl _RT_TRACE
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _rtl8723e_dm_write_dig
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COMP_DIG,4,2 ; @COMP_DIG
.comm _DBG_TRACE,4,2 ; @DBG_TRACE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rssi_val_min = %x back_val %x\n"
.no_dead_strip _rtl92c_dm_ctrl_initgain_by_rssi
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_dm.c_rtl92c_dm_ctrl_initgain_by_rssi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rpc_gss_marshal
_rpc_gss_marshal: ## @rpc_gss_marshal
.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 $200, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -120(%rbp) ## 8-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq %rsp, -80(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp)
movq _MAX_AUTH_BYTES@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
leaq L_.str(%rip), %rdi
callq _rpc_gss_log_debug
movq %rbx, -96(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _AUTH_PRIVATE
movq %rax, %r13
movups 8(%rax), %xmm0
movaps %xmm0, -240(%rbp)
movq %rax, %rdi
callq _rpc_gss_alloc_seq
movq %rax, %rbx
movq %rax, -224(%rbp)
movq _XDR_ENCODE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -52(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq _xdrmem_create
leaq -240(%rbp), %rsi
movq %r15, %rdi
callq _xdr_rpc_gss_cred
testl %eax, %eax
je LBB0_9
## %bb.1:
movq %rbx, -72(%rbp) ## 8-byte Spill
movq -80(%rbp), %r15 ## 8-byte Reload
leaq 8(%r13), %r12
movq _RPCSEC_GSS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -168(%rbp)
movq %r14, -184(%rbp)
leaq -52(%rbp), %rbx
movq %rbx, %rdi
callq _XDR_GETPOS
movq %rax, -176(%rbp)
movq %rbx, %rdi
callq _XDR_DESTROY
leaq -184(%rbp), %rsi
movq -120(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _xdr_opaque_auth
movq (%r12), %rax
movq _RPCSEC_GSS_INIT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movq %rbx, %r12
je LBB0_10
## %bb.2:
movq _RPCSEC_GSS_CONTINUE_INIT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_10
## %bb.3:
movl $16, %edi
callq _mem_alloc
movq %rax, %rbx
leaq 44(%r13), %r14
movq %r14, %rdi
callq _mtx_lock
movq -112(%rbp), %rax ## 8-byte Reload
movq %rax, 8(%rbx)
movq -72(%rbp), %rax ## 8-byte Reload
movq %rax, (%rbx)
movq %r13, %rdi
addq $48, %rdi
movq _pr_link@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rsi
callq _LIST_INSERT_HEAD
movq %r14, %rdi
callq _mtx_unlock
movq %r12, %rdi
callq _XDR_GETPOS
movq %rax, %rbx
movq %rax, -152(%rbp)
movq %r12, %rdi
xorl %esi, %esi
callq _XDR_SETPOS
movq %r12, %rdi
movq %rbx, %rsi
callq _XDR_INLINE
movq %rax, -160(%rbp)
movl 32(%r13), %edx
movl 36(%r13), %esi
leaq -88(%rbp), %rdi
leaq -160(%rbp), %rcx
leaq -144(%rbp), %r8
callq _gss_get_mic
movq %rax, %r14
movq _GSS_S_COMPLETE@GOTPCREL(%rip), %rax
cmpq (%rax), %r14
jne LBB0_14
## %bb.4:
movq _RPCSEC_GSS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -192(%rbp)
movaps -144(%rbp), %xmm0
movaps %xmm0, -208(%rbp)
leaq -208(%rbp), %rsi
movq %r12, %rdi
callq _xdr_opaque_auth
movl %eax, %ebx
leaq -88(%rbp), %rdi
leaq -144(%rbp), %rsi
callq _gss_release_buffer
testl %ebx, %ebx
je LBB0_13
## %bb.5:
movq (%r13), %rax
movq _RPCSEC_GSS_ESTABLISHED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.6:
movq 16(%r13), %rcx
movq _rpc_gss_svc_none@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
je LBB0_8
## %bb.7:
movl 32(%r13), %edx
movl 36(%r13), %esi
leaq -64(%rbp), %rdi
movq -72(%rbp), %r8 ## 8-byte Reload
callq _xdr_rpc_gss_wrap_data
testl %eax, %eax
je LBB0_18
LBB0_8:
movq -64(%rbp), %rsi
movq %r12, %rdi
jmp LBB0_12
LBB0_9:
leaq -52(%rbp), %rdi
callq _XDR_DESTROY
movq _RPC_GSS_ER_SYSTEMERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq __rpc_gss_set_error
movq _FALSE@GOTPCREL(%rip), %rax
movq -80(%rbp), %r15 ## 8-byte Reload
jmp LBB0_19
LBB0_10:
movq __null_auth@GOTPCREL(%rip), %rsi
movq %r12, %rdi
callq _xdr_opaque_auth
testl %eax, %eax
je LBB0_13
## %bb.11:
movq %r12, %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
LBB0_12:
callq _xdrmbuf_append
movq _TRUE@GOTPCREL(%rip), %rax
jmp LBB0_19
LBB0_13:
movq _RPC_GSS_ER_SYSTEMERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_14:
movl 40(%r13), %esi
movq -88(%rbp), %rcx
leaq L_.str.1(%rip), %rdi
movq %r14, %rdx
callq _rpc_gss_log_status
movq _GSS_S_CONTEXT_EXPIRED@GOTPCREL(%rip), %rax
cmpq (%rax), %r14
jne LBB0_16
## %bb.15:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -96(%rbp), %rdi ## 8-byte Reload
callq _rpc_gss_destroy_context
LBB0_16:
movq _RPC_GSS_ER_SYSTEMERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _EPERM@GOTPCREL(%rip), %rax
LBB0_17:
movl (%rax), %esi
callq __rpc_gss_set_error
LBB0_18:
movq _FALSE@GOTPCREL(%rip), %rax
LBB0_19:
movl (%rax), %eax
movq %r15, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_22
## %bb.20:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_AUTH_BYTES,4,2 ## @MAX_AUTH_BYTES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in rpc_gss_marshal()"
.comm _XDR_ENCODE,4,2 ## @XDR_ENCODE
.comm _RPC_GSS_ER_SYSTEMERROR,4,2 ## @RPC_GSS_ER_SYSTEMERROR
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _FALSE,4,2 ## @FALSE
.comm _RPCSEC_GSS,8,3 ## @RPCSEC_GSS
.comm _RPCSEC_GSS_INIT,8,3 ## @RPCSEC_GSS_INIT
.comm _RPCSEC_GSS_CONTINUE_INIT,8,3 ## @RPCSEC_GSS_CONTINUE_INIT
.comm __null_auth,24,3 ## @_null_auth
.comm _TRUE,4,2 ## @TRUE
.comm _pr_link,4,2 ## @pr_link
.comm _GSS_S_COMPLETE,8,3 ## @GSS_S_COMPLETE
L_.str.1: ## @.str.1
.asciz "gss_get_mic"
.comm _GSS_S_CONTEXT_EXPIRED,8,3 ## @GSS_S_CONTEXT_EXPIRED
.comm _EPERM,4,2 ## @EPERM
.comm _RPCSEC_GSS_ESTABLISHED,8,3 ## @RPCSEC_GSS_ESTABLISHED
.comm _rpc_gss_svc_none,8,3 ## @rpc_gss_svc_none
.no_dead_strip _rpc_gss_marshal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rpc_gss_marshal
_rpc_gss_marshal: ; @rpc_gss_marshal
.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, #144
mov x23, x3
mov x19, x2
mov x24, x1
mov x20, x0
mov x27, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
stur x3, [x29, #-96]
Lloh3:
adrp x8, _MAX_AUTH_BYTES@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_AUTH_BYTES@GOTPAGEOFF]
Lloh5:
ldr w26, [x8]
mov x9, x26
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x26, #15
and x9, x9, #0x1fffffff0
sub x25, x8, x9
mov sp, x25
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _rpc_gss_log_debug
mov x0, x20
bl _AUTH_PRIVATE
mov x21, x0
ldur q0, [x0, #8]
stur q0, [x29, #-128]
bl _rpc_gss_alloc_seq
mov x22, x0
stur x0, [x29, #-112]
Lloh10:
adrp x8, _XDR_ENCODE@GOTPAGE
Lloh11:
ldr x8, [x8, _XDR_ENCODE@GOTPAGEOFF]
Lloh12:
ldr w3, [x8]
sub x0, x29, #100
mov x1, x25
mov x2, x26
bl _xdrmem_create
sub x0, x29, #100
sub x1, x29, #128
bl _xdr_rpc_gss_cred
cbz w0, LBB0_4
; %bb.1:
add x28, x21, #8
Lloh13:
adrp x26, _RPCSEC_GSS@GOTPAGE
Lloh14:
ldr x26, [x26, _RPCSEC_GSS@GOTPAGEOFF]
ldr x8, [x26]
stur x8, [x29, #-136]
stur x25, [x29, #-152]
sub x0, x29, #100
bl _XDR_GETPOS
stur x0, [x29, #-144]
sub x0, x29, #100
bl _XDR_DESTROY
sub x1, x29, #152
mov x0, x19
bl _xdr_opaque_auth
ldr x8, [x28]
Lloh15:
adrp x9, _RPCSEC_GSS_INIT@GOTPAGE
Lloh16:
ldr x9, [x9, _RPCSEC_GSS_INIT@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
Lloh18:
adrp x10, _RPCSEC_GSS_CONTINUE_INIT@GOTPAGE
Lloh19:
ldr x10, [x10, _RPCSEC_GSS_CONTINUE_INIT@GOTPAGEOFF]
Lloh20:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_6
; %bb.2:
Lloh21:
adrp x1, __null_auth@GOTPAGE
Lloh22:
ldr x1, [x1, __null_auth@GOTPAGEOFF]
mov x0, x19
bl _xdr_opaque_auth
cbz w0, LBB0_5
; %bb.3:
mov x0, x19
mov x1, x23
b LBB0_12
LBB0_4:
sub x0, x29, #100
bl _XDR_DESTROY
LBB0_5:
Lloh23:
adrp x8, _RPC_GSS_ER_SYSTEMERROR@GOTPAGE
Lloh24:
ldr x8, [x8, _RPC_GSS_ER_SYSTEMERROR@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
Lloh26:
adrp x8, _ENOMEM@GOTPAGE
Lloh27:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_16
LBB0_6:
mov w0, #16
bl _mem_alloc
mov x23, x0
add x25, x21, #44
mov x0, x25
bl _mtx_lock
stp x22, x24, [x23]
add x0, x21, #48
Lloh28:
adrp x8, _pr_link@GOTPAGE
Lloh29:
ldr x8, [x8, _pr_link@GOTPAGEOFF]
Lloh30:
ldr w2, [x8]
mov x1, x23
bl _LIST_INSERT_HEAD
mov x0, x25
bl _mtx_unlock
mov x0, x19
bl _XDR_GETPOS
mov x23, x0
stur x0, [x29, #-184]
mov x0, x19
mov w1, #0
bl _XDR_SETPOS
mov x0, x19
mov x1, x23
bl _XDR_INLINE
stur x0, [x29, #-192]
ldp w2, w1, [x21, #32]
sub x0, x29, #216
sub x3, x29, #192
sub x4, x29, #208
bl _gss_get_mic
Lloh31:
adrp x8, _GSS_S_COMPLETE@GOTPAGE
Lloh32:
ldr x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh33:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_13
; %bb.7:
ldr x10, [x26]
ldp x8, x9, [x29, #-208]
stur x8, [x29, #-176]
stp x9, x10, [x29, #-168]
sub x1, x29, #176
mov x0, x19
bl _xdr_opaque_auth
mov x20, x0
sub x0, x29, #216
sub x1, x29, #208
bl _gss_release_buffer
cbz w20, LBB0_5
; %bb.8:
ldr x8, [x21]
Lloh34:
adrp x9, _RPCSEC_GSS_ESTABLISHED@GOTPAGE
Lloh35:
ldr x9, [x9, _RPCSEC_GSS_ESTABLISHED@GOTPAGEOFF]
Lloh36:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_11
; %bb.9:
ldr x3, [x21, #16]
Lloh37:
adrp x8, _rpc_gss_svc_none@GOTPAGE
Lloh38:
ldr x8, [x8, _rpc_gss_svc_none@GOTPAGEOFF]
Lloh39:
ldr x8, [x8]
cmp x3, x8
b.eq LBB0_11
; %bb.10:
ldp w2, w1, [x21, #32]
sub x0, x29, #96
mov x4, x22
bl _xdr_rpc_gss_wrap_data
cbz w0, LBB0_17
LBB0_11:
ldur x1, [x29, #-96]
mov x0, x19
LBB0_12:
bl _xdrmbuf_append
Lloh40:
adrp x8, _TRUE@GOTPAGE
Lloh41:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
b LBB0_18
LBB0_13:
mov x23, x0
ldr w1, [x21, #40]
ldur x3, [x29, #-216]
Lloh42:
adrp x0, l_.str.1@PAGE
Lloh43:
add x0, x0, l_.str.1@PAGEOFF
mov x2, x23
bl _rpc_gss_log_status
Lloh44:
adrp x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGE
Lloh45:
ldr x8, [x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGEOFF]
Lloh46:
ldr x8, [x8]
cmp x23, x8
b.ne LBB0_15
; %bb.14:
Lloh47:
adrp x8, _TRUE@GOTPAGE
Lloh48:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh49:
ldr w1, [x8]
mov x0, x20
bl _rpc_gss_destroy_context
LBB0_15:
Lloh50:
adrp x8, _RPC_GSS_ER_SYSTEMERROR@GOTPAGE
Lloh51:
ldr x8, [x8, _RPC_GSS_ER_SYSTEMERROR@GOTPAGEOFF]
Lloh52:
ldr w0, [x8]
Lloh53:
adrp x8, _EPERM@GOTPAGE
Lloh54:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_16:
ldr w1, [x8]
bl __rpc_gss_set_error
LBB0_17:
Lloh55:
adrp x8, _FALSE@GOTPAGE
Lloh56:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_18:
ldr w0, [x8]
mov sp, x27
ldur x8, [x29, #-88]
Lloh57:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh58:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh59:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_20
; %bb.19:
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_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGot Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGot Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.cfi_endproc
; -- End function
.comm _MAX_AUTH_BYTES,4,2 ; @MAX_AUTH_BYTES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in rpc_gss_marshal()"
.comm _XDR_ENCODE,4,2 ; @XDR_ENCODE
.comm _RPC_GSS_ER_SYSTEMERROR,4,2 ; @RPC_GSS_ER_SYSTEMERROR
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _FALSE,4,2 ; @FALSE
.comm _RPCSEC_GSS,8,3 ; @RPCSEC_GSS
.comm _RPCSEC_GSS_INIT,8,3 ; @RPCSEC_GSS_INIT
.comm _RPCSEC_GSS_CONTINUE_INIT,8,3 ; @RPCSEC_GSS_CONTINUE_INIT
.comm __null_auth,24,3 ; @_null_auth
.comm _TRUE,4,2 ; @TRUE
.comm _pr_link,4,2 ; @pr_link
.comm _GSS_S_COMPLETE,8,3 ; @GSS_S_COMPLETE
l_.str.1: ; @.str.1
.asciz "gss_get_mic"
.comm _GSS_S_CONTEXT_EXPIRED,8,3 ; @GSS_S_CONTEXT_EXPIRED
.comm _EPERM,4,2 ; @EPERM
.comm _RPCSEC_GSS_ESTABLISHED,8,3 ; @RPCSEC_GSS_ESTABLISHED
.comm _rpc_gss_svc_none,8,3 ; @rpc_gss_svc_none
.no_dead_strip _rpc_gss_marshal
.subsections_via_symbols
| AnghaBench/freebsd/sys/rpc/rpcsec_gss/extr_rpcsec_gss.c_rpc_gss_marshal.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sqlite3Prepare16
_sqlite3Prepare16: ## @sqlite3Prepare16
.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, -64(%rbp) ## 8-byte Spill
movq %r8, %r13
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movq $0, -56(%rbp)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq $0, (%r8)
callq _sqlite3SafetyCheckOk
testq %rbx, %rbx
je LBB0_2
## %bb.1:
testl %eax, %eax
je LBB0_2
## %bb.3:
testl %r14d, %r14d
js LBB0_11
## %bb.4:
je LBB0_5
## %bb.6:
xorl %eax, %eax
jmp LBB0_7
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
addq $2, %rax
cmpl %r14d, %eax
jge LBB0_10
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rbx,%rax)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, 1(%rbx,%rax)
jne LBB0_9
LBB0_10:
movl %eax, %r14d
jmp LBB0_11
LBB0_2:
movq _SQLITE_MISUSE_BKPT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_16
LBB0_5:
xorl %r14d, %r14d
LBB0_11:
movl (%r15), %edi
callq _sqlite3_mutex_enter
movq _SQLITE_UTF16NATIVE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq _sqlite3Utf16to8
movq %rax, %r14
testq %rax, %rax
je LBB0_15
## %bb.12:
leaq -56(%rbp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
movq %r14, %rsi
movl $-1, %edx
movl -44(%rbp), %ecx ## 4-byte Reload
xorl %r8d, %r8d
movq %r13, %r9
callq _sqlite3LockAndPrepare
movl %eax, %r12d
movq -64(%rbp), %r13 ## 8-byte Reload
testq %r13, %r13
je LBB0_15
## %bb.13:
movq -56(%rbp), %rsi
testq %rsi, %rsi
je LBB0_15
## %bb.14:
subl %r14d, %esi
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
callq _sqlite3Utf8CharLen
movq %rbx, %rdi
movl %eax, %esi
callq _sqlite3Utf16ByteLen
cltq
leaq (%rbx,%rax,4), %rax
movq %rax, (%r13)
LBB0_15:
movq %r15, %rdi
movq %r14, %rsi
callq _sqlite3DbFree
movq %r15, %rdi
movl %r12d, %esi
callq _sqlite3ApiExit
movl %eax, %ebx
movl (%r15), %edi
callq _sqlite3_mutex_leave
LBB0_16:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _SQLITE_MISUSE_BKPT,4,2 ## @SQLITE_MISUSE_BKPT
.comm _SQLITE_UTF16NATIVE,4,2 ## @SQLITE_UTF16NATIVE
.no_dead_strip _sqlite3Prepare16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sqlite3Prepare16
_sqlite3Prepare16: ; @sqlite3Prepare16
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov x22, x1
mov x19, x0
str xzr, [sp, #8]
Lloh0:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
str xzr, [x4]
bl _sqlite3SafetyCheckOk
cbz x22, LBB0_14
; %bb.1:
cbz w0, LBB0_14
; %bb.2:
tbnz w25, #31, LBB0_9
; %bb.3:
cbz w25, LBB0_9
; %bb.4:
mov x8, #0
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x8, x8, #2
cmp w8, w25
b.ge LBB0_8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x22, x8]
cbnz w9, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x9, x22, x8
ldrb w9, [x9, #1]
cbnz w9, LBB0_5
LBB0_8:
mov x25, x8
LBB0_9:
ldr w0, [x19]
bl _sqlite3_mutex_enter
Lloh3:
adrp x8, _SQLITE_UTF16NATIVE@GOTPAGE
Lloh4:
ldr x8, [x8, _SQLITE_UTF16NATIVE@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
mov x0, x19
mov x1, x22
mov x2, x25
bl _sqlite3Utf16to8
mov x25, x0
cbz x0, LBB0_13
; %bb.10:
add x6, sp, #8
mov x0, x19
mov x1, x25
mov w2, #-1
mov x3, x24
mov w4, #0
mov x5, x23
bl _sqlite3LockAndPrepare
mov x21, x0
cbz x20, LBB0_13
; %bb.11:
ldr x8, [sp, #8]
cbz x8, LBB0_13
; %bb.12:
sub w1, w8, w25
mov x0, x25
bl _sqlite3Utf8CharLen
mov x1, x0
mov x0, x22
bl _sqlite3Utf16ByteLen
add x8, x22, w0, sxtw #2
str x8, [x20]
LBB0_13:
mov x0, x19
mov x1, x25
bl _sqlite3DbFree
mov x0, x19
mov x1, x21
bl _sqlite3ApiExit
mov x20, x0
ldr w0, [x19]
bl _sqlite3_mutex_leave
b LBB0_15
LBB0_14:
Lloh6:
adrp x8, _SQLITE_MISUSE_BKPT@GOTPAGE
Lloh7:
ldr x8, [x8, _SQLITE_MISUSE_BKPT@GOTPAGEOFF]
Lloh8:
ldr w20, [x8]
LBB0_15:
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
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _SQLITE_MISUSE_BKPT,4,2 ; @SQLITE_MISUSE_BKPT
.comm _SQLITE_UTF16NATIVE,4,2 ; @SQLITE_UTF16NATIVE
.no_dead_strip _sqlite3Prepare16
.subsections_via_symbols
| AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_sqlite3Prepare16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function build_snap_context
_build_snap_context: ## @build_snap_context
.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, %rbx
movq 56(%rdi), %r12
movl (%rdi), %r13d
subl 4(%rdi), %r13d
testq %r12, %r12
je LBB0_5
## %bb.1:
movq 32(%r12), %rax
testq %rax, %rax
je LBB0_2
LBB0_4:
addl (%rax), %r13d
LBB0_5:
movq 32(%rbx), %rcx
testq %rcx, %rcx
je LBB0_10
## %bb.6:
movq 8(%rcx), %r8
cmpq 8(%rbx), %r8
jne LBB0_10
## %bb.7:
testq %r12, %r12
je LBB0_9
## %bb.8:
movq 32(%r12), %rax
cmpq 8(%rax), %r8
jge LBB0_9
LBB0_10:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
movslq %r13d, %rax
movq _SIZE_MAX@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
addq $-24, %rcx
shrq $2, %rcx
cmpq %rax, %rcx
jb LBB0_21
## %bb.11:
movq %rsi, %r14
movq _GFP_NOFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r13d, %edi
callq _ceph_create_snap_context
testq %rax, %rax
je LBB0_21
## %bb.12:
movq 8(%rbx), %rcx
movq %rcx, 8(%rax)
testq %r12, %r12
je LBB0_20
## %bb.13:
movq 32(%r12), %rdx
cmpl $0, (%rdx)
jle LBB0_18
## %bb.14:
movq 16(%rdx), %rcx
xorl %edx, %edx
jmp LBB0_15
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=1
addq $-8, %rcx
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%rcx), %rsi
cmpq 16(%rbx), %rsi
jl LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq 16(%rax), %rdi
movslq %edx, %r8
incl %edx
movq %rsi, (%rdi,%r8,8)
jmp LBB0_17
LBB0_2:
movq %r12, %rdi
movq %rsi, %r14
callq _build_snap_context
movl %eax, %r15d
testl %eax, %eax
je LBB0_3
LBB0_21:
movq 32(%rbx), %rdi
testq %rdi, %rdi
je LBB0_23
## %bb.22:
callq _ceph_put_snap_context
movq $0, 32(%rbx)
LBB0_23:
movl 24(%rbx), %esi
leaq L_.str.2(%rip), %rdi
movq %rbx, %rdx
movl %r15d, %ecx
callq _pr_err
jmp LBB0_24
LBB0_9:
movl 24(%rbx), %esi
movl (%rcx), %r9d
leaq L_.str(%rip), %rdi
movq %rbx, %rdx
callq _dout
xorl %r15d, %r15d
jmp LBB0_24
LBB0_3:
movq 32(%r12), %rax
movq %r14, %rsi
jmp LBB0_4
LBB0_18:
movq 8(%rdx), %rdx
cmpq %rcx, %rdx
jle LBB0_20
## %bb.19:
movq %rdx, 8(%rax)
LBB0_20:
movq 16(%rax), %rdi
movl 4(%rbx), %edx
movl 48(%rbx), %esi
shll $2, %edx
movq %rax, %r12
callq _memcpy
movslq 4(%rbx), %r15
movq %r15, %rdi
shlq $3, %rdi
addq 16(%r12), %rdi
movl (%rbx), %edx
movl 44(%rbx), %esi
shll $2, %edx
callq _memcpy
movl (%rbx), %r13d
addl %r15d, %r13d
movq 16(%r12), %rdi
movq _cmpu64_rev@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %r15d, %r15d
movl %r13d, %esi
movl $4, %edx
xorl %r8d, %r8d
callq _sort
movl %r13d, (%r12)
movl 24(%rbx), %esi
movq 8(%r12), %r8
leaq L_.str.1(%rip), %rdi
movq %rbx, %rdx
movq %r12, %rcx
movl %r13d, %r9d
callq _dout
movq 32(%rbx), %rdi
callq _ceph_put_snap_context
movq %r12, 32(%rbx)
addq $40, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq _list_add_tail
LBB0_24:
movl %r15d, %eax
addq $8, %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 "build_snap_context %llx %p: %p seq %lld (%u snaps) (unchanged)\n"
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _SIZE_MAX,4,2 ## @SIZE_MAX
.comm _GFP_NOFS,4,2 ## @GFP_NOFS
.comm _cmpu64_rev,4,2 ## @cmpu64_rev
L_.str.1: ## @.str.1
.asciz "build_snap_context %llx %p: %p seq %lld (%u snaps)\n"
L_.str.2: ## @.str.2
.asciz "build_snap_context %llx %p fail %d\n"
.no_dead_strip _build_snap_context
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function build_snap_context
_build_snap_context: ; @build_snap_context
.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
mov x19, x0
ldr x21, [x0, #56]
ldp w8, w9, [x0]
sub w22, w8, w9
cbz x21, LBB0_3
; %bb.1:
ldr x8, [x21, #32]
cbz x8, LBB0_14
LBB0_2:
ldr w8, [x8]
add w22, w8, w22
LBB0_3:
ldr x3, [x19, #32]
cbz x3, LBB0_7
; %bb.4:
ldr x4, [x3, #8]
ldr x8, [x19, #8]
cmp x4, x8
b.ne LBB0_7
; %bb.5:
cbz x21, LBB0_18
; %bb.6:
ldr x8, [x21, #32]
ldr x8, [x8, #8]
cmp x4, x8
b.ge LBB0_18
LBB0_7:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w23, w8
sxtw x8, w22
Lloh3:
adrp x9, _SIZE_MAX@GOTPAGE
Lloh4:
ldr x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh5:
ldrsw x9, [x9]
sub x9, x9, #24
cmp x8, x9, lsr #2
b.hi LBB0_15
; %bb.8:
mov x20, x1
Lloh6:
adrp x8, _GFP_NOFS@GOTPAGE
Lloh7:
ldr x8, [x8, _GFP_NOFS@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x22
bl _ceph_create_snap_context
cbz x0, LBB0_15
; %bb.9:
ldr x8, [x19, #8]
str x8, [x0, #8]
cbz x21, LBB0_22
; %bb.10:
ldr x10, [x21, #32]
ldr w9, [x10]
cmp w9, #1
b.lt LBB0_20
; %bb.11:
mov w9, #0 ; =0x0
ldr x8, [x10, #16]
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8], #-8
ldr x11, [x19, #16]
cmp x10, x11
b.lt LBB0_12
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x11, [x0, #16]
str x10, [x11, w9, sxtw #3]
add w9, w9, #1
b LBB0_12
LBB0_14:
mov x0, x21
mov x20, x1
bl _build_snap_context
mov x23, x0
cbz w0, LBB0_19
LBB0_15:
ldr x0, [x19, #32]
cbz x0, LBB0_17
; %bb.16:
bl _ceph_put_snap_context
str xzr, [x19, #32]
LBB0_17:
ldr w1, [x19, #24]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
mov x2, x19
mov x3, x23
bl _pr_err
b LBB0_24
LBB0_18:
ldr w1, [x19, #24]
ldr w5, [x3]
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
mov x2, x19
bl _dout
b LBB0_23
LBB0_19:
ldr x8, [x21, #32]
mov x1, x20
b LBB0_2
LBB0_20:
ldr x9, [x10, #8]
cmp x9, x8
b.le LBB0_22
; %bb.21:
str x9, [x0, #8]
LBB0_22:
ldr x8, [x0, #16]
ldr w1, [x19, #48]
ldr w9, [x19, #4]
lsl w2, w9, #2
mov x21, x0
mov x0, x8
bl _memcpy
ldr x8, [x21, #16]
ldp w9, w22, [x19]
; kill: def $w22 killed $w22 def $x22
sxtw x22, w22
add x0, x8, x22, lsl #3
ldr w1, [x19, #44]
lsl w2, w9, #2
bl _memcpy
ldr w8, [x19]
add w22, w8, w22
ldr x0, [x21, #16]
Lloh13:
adrp x8, _cmpu64_rev@GOTPAGE
Lloh14:
ldr x8, [x8, _cmpu64_rev@GOTPAGEOFF]
Lloh15:
ldr w3, [x8]
mov x1, x22
mov w2, #4 ; =0x4
mov x4, #0 ; =0x0
bl _sort
str w22, [x21]
ldr w1, [x19, #24]
ldr x4, [x21, #8]
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
mov x2, x19
mov x3, x21
mov x5, x22
bl _dout
ldr x0, [x19, #32]
bl _ceph_put_snap_context
str x21, [x19, #32]
add x0, x19, #40
mov x1, x20
bl _list_add_tail
LBB0_23:
mov w23, #0 ; =0x0
LBB0_24:
mov x0, x23
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "build_snap_context %llx %p: %p seq %lld (%u snaps) (unchanged)\n"
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _SIZE_MAX,4,2 ; @SIZE_MAX
.comm _GFP_NOFS,4,2 ; @GFP_NOFS
.comm _cmpu64_rev,4,2 ; @cmpu64_rev
l_.str.1: ; @.str.1
.asciz "build_snap_context %llx %p: %p seq %lld (%u snaps)\n"
l_.str.2: ; @.str.2
.asciz "build_snap_context %llx %p fail %d\n"
.no_dead_strip _build_snap_context
.subsections_via_symbols
| assembly_file_13748.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _smscore_register_hotplug ## -- Begin function smscore_register_hotplug
.p2align 4, 0x90
_smscore_register_hotplug: ## @smscore_register_hotplug
.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 _g_smscore_deviceslock@GOTPCREL(%rip), %rdi
callq _kmutex_lock
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $16, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_8
## %bb.1:
movq %rax, %r14
movq _g_smscore_devices@GOTPCREL(%rip), %r12
movq (%r12), %r15
cmpq %r12, %r15
je LBB0_2
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r15), %esi
movq %r15, %rdi
movl $1, %edx
callq *%rbx
movq (%r15), %r15
cmpq %r12, %r15
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_3
LBB0_5:
movl %eax, %r15d
testl %eax, %eax
jns LBB0_6
## %bb.7:
movq %r14, %rdi
callq _kfree
jmp LBB0_9
LBB0_8:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_9
LBB0_2:
xorl %r15d, %r15d
LBB0_6:
movq %rbx, (%r14)
addq $8, %r14
movq _g_smscore_notifyees@GOTPCREL(%rip), %rsi
movq %r14, %rdi
callq _list_add
LBB0_9:
movq _g_smscore_deviceslock@GOTPCREL(%rip), %rdi
callq _kmutex_unlock
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _g_smscore_deviceslock,4,2 ## @g_smscore_deviceslock
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _g_smscore_devices,8,3 ## @g_smscore_devices
.comm _g_smscore_notifyees,4,2 ## @g_smscore_notifyees
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _smscore_register_hotplug ; -- Begin function smscore_register_hotplug
.p2align 2
_smscore_register_hotplug: ; @smscore_register_hotplug
.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, x0
Lloh0:
adrp x0, _g_smscore_deviceslock@GOTPAGE
Lloh1:
ldr x0, [x0, _g_smscore_deviceslock@GOTPAGEOFF]
bl _kmutex_lock
Lloh2:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov w0, #16 ; =0x10
bl _kmalloc
cbz x0, LBB0_6
; %bb.1:
Lloh5:
adrp x22, _g_smscore_devices@GOTPAGE
Lloh6:
ldr x22, [x22, _g_smscore_devices@GOTPAGEOFF]
ldr x20, [x22]
cmp x20, x22
b.eq LBB0_7
; %bb.2:
mov x21, x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x20]
mov x0, x20
mov w2, #1 ; =0x1
blr x19
ldr x20, [x20]
cmp x20, x22
ccmp w0, #0, #0, ne
b.eq LBB0_3
; %bb.4:
mov x20, x0
tbnz w0, #31, LBB0_9
; %bb.5:
mov x0, x21
b LBB0_8
LBB0_6:
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w20, w8
b LBB0_10
LBB0_7:
mov w20, #0 ; =0x0
LBB0_8:
str x19, [x0], #8
Lloh10:
adrp x1, _g_smscore_notifyees@GOTPAGE
Lloh11:
ldr x1, [x1, _g_smscore_notifyees@GOTPAGEOFF]
bl _list_add
b LBB0_10
LBB0_9:
mov x0, x21
bl _kfree
LBB0_10:
Lloh12:
adrp x0, _g_smscore_deviceslock@GOTPAGE
Lloh13:
ldr x0, [x0, _g_smscore_deviceslock@GOTPAGEOFF]
bl _kmutex_unlock
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _g_smscore_deviceslock,4,2 ; @g_smscore_deviceslock
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _g_smscore_devices,8,3 ; @g_smscore_devices
.comm _g_smscore_notifyees,4,2 ; @g_smscore_notifyees
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| assembly_file_171477.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function calc_index
_calc_index: ## @calc_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movl %edi, %ebx
testl %ecx, %ecx
jne LBB0_2
## %bb.1:
movl %r8d, %edi
callq _i915_mmio_reg_offset
movl %eax, %ecx
LBB0_2:
movl %ebx, %eax
subl %r15d, %eax
jb LBB0_4
## %bb.3:
cmpl %ebx, %ecx
jb LBB0_4
## %bb.5:
subl %r15d, %r14d
xorl %edx, %edx
divl %r14d
jmp LBB0_6
LBB0_4:
movq _INVALID_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INVALID_INDEX,4,2 ## @INVALID_INDEX
.no_dead_strip _calc_index
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function calc_index
_calc_index: ; @calc_index
.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
cbz w3, LBB0_2
; %bb.1:
subs w8, w21, w20
b.hs LBB0_3
b LBB0_5
LBB0_2:
mov x0, x4
bl _i915_mmio_reg_offset
mov x3, x0
subs w8, w21, w20
b.lo LBB0_5
LBB0_3:
cmp w3, w21
b.lo LBB0_5
; %bb.4:
sub w9, w19, w20
udiv w0, w8, w9
b LBB0_6
LBB0_5:
Lloh0:
adrp x8, _INVALID_INDEX@GOTPAGE
Lloh1:
ldr x8, [x8, _INVALID_INDEX@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
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 _INVALID_INDEX,4,2 ; @INVALID_INDEX
.no_dead_strip _calc_index
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_handlers.c_calc_index.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nr_data_stripes
_nr_data_stripes: ## @nr_data_stripes
.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 (%rdi), %ebx
callq _nr_parity_stripes
subl %eax, %ebx
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nr_data_stripes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nr_data_stripes
_nr_data_stripes: ; @nr_data_stripes
.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 w19, [x0]
bl _nr_parity_stripes
sub w0, w19, w0
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 _nr_data_stripes
.subsections_via_symbols
| AnghaBench/linux/fs/btrfs/extr_raid56.h_nr_data_stripes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function POW10
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
.p2align 4, 0x90
_POW10: ## @POW10
.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
.no_dead_strip _POW10
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function POW10
_POW10: ; @POW10
.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
.no_dead_strip _POW10
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssh/openbsd-compat/extr_bsd-snprintf.c_POW10.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ata_midi_out
_ata_midi_out: ## @ata_midi_out
.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 %edi, %r14d
movq _acia@GOTPCREL(%rip), %rbx
movq _ACIA_TDRE@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15), %eax
testl %eax, (%rbx)
jne LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _barrier
jmp LBB0_2
LBB0_3:
movb %r14b, 4(%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _acia,8,2 ## @acia
.comm _ACIA_TDRE,4,2 ## @ACIA_TDRE
.no_dead_strip _ata_midi_out
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ata_midi_out
_ata_midi_out: ; @ata_midi_out
.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
Lloh0:
adrp x20, _acia@GOTPAGE
Lloh1:
ldr x20, [x20, _acia@GOTPAGEOFF]
ldr w8, [x20]
Lloh2:
adrp x21, _ACIA_TDRE@GOTPAGE
Lloh3:
ldr x21, [x21, _ACIA_TDRE@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x21]
tst w9, w8
b.ne LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl _barrier
ldr w8, [x20]
b LBB0_1
LBB0_3:
strb w19, [x20, #4]
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
.cfi_endproc
; -- End function
.comm _acia,8,2 ; @acia
.comm _ACIA_TDRE,4,2 ; @ACIA_TDRE
.no_dead_strip _ata_midi_out
.subsections_via_symbols
| AnghaBench/linux/arch/m68k/atari/extr_debug.c_ata_midi_out.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function ft_putbyte_fd
LCPI0_0:
.long 1 ## 0x1
.long 2 ## 0x2
.long 4 ## 0x4
.long 8 ## 0x8
LCPI0_1:
.long 16 ## 0x10
.long 32 ## 0x20
.long 64 ## 0x40
.long 128 ## 0x80
.section __TEXT,__text,regular,pure_instructions
.globl _ft_putbyte_fd
.p2align 4, 0x90
_ft_putbyte_fd: ## @ft_putbyte_fd
.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
movl %edi, %ebx
leaq L_.str(%rip), %rsi
movl %r14d, %edi
xorl %edx, %edx
callq _write
cmpq $-1, %rax
je LBB0_1
## %bb.2:
movzbl %bl, %eax
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [1,2,4,8]
pand %xmm0, %xmm1
pand LCPI0_1(%rip), %xmm0
pxor %xmm2, %xmm2
pcmpeqd %xmm2, %xmm0
pcmpeqd %xmm2, %xmm1
packssdw %xmm0, %xmm1
packsswb %xmm1, %xmm1
pmovmskb %xmm1, %r13d
leaq L_.str.2(%rip), %rax
leaq L_.str.1(%rip), %r12
testb $-128, %r13b
movq %r12, %rsi
cmovneq %rax, %rsi
movq %rax, %rbx
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %r15
testb $64, %r13b
movq %r12, %rsi
cmovneq %rbx, %rsi
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %rbx
addl %r15d, %ebx
testb $32, %r13b
movq %r12, %rsi
leaq L_.str.2(%rip), %rax
cmovneq %rax, %rsi
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %r15
addl %ebx, %r15d
testb $16, %r13b
movq %r12, %rsi
leaq L_.str.2(%rip), %rax
cmovneq %rax, %rsi
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %rbx
addl %r15d, %ebx
testb $8, %r13b
movq %r12, %rsi
leaq L_.str.2(%rip), %rax
cmovneq %rax, %rsi
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %r15
addl %ebx, %r15d
testb $4, %r13b
movq %r12, %rsi
leaq L_.str.2(%rip), %rax
cmovneq %rax, %rsi
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %rbx
addl %r15d, %ebx
testb $2, %r13b
movq %r12, %rsi
leaq L_.str.2(%rip), %rax
cmovneq %rax, %rsi
movl $1, %edx
movl %r14d, %edi
callq _write
movq %rax, %r15
addl %ebx, %r15d
testb $1, %r13b
leaq L_.str.2(%rip), %rax
cmovneq %rax, %r12
movl $1, %edx
movl %r14d, %edi
movq %r12, %rsi
callq _write
addl %r15d, %eax
jmp LBB0_3
LBB0_1:
movl $-1, %eax
LBB0_3:
## kill: def $eax killed $eax killed $rax
addq $8, %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
.space 1
L_.str.1: ## @.str.1
.asciz "1"
L_.str.2: ## @.str.2
.asciz "0"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putbyte_fd ; -- Begin function ft_putbyte_fd
.p2align 2
_ft_putbyte_fd: ; @ft_putbyte_fd
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, #0
bl _write
cmn x0, #1
b.eq LBB0_2
; %bb.1:
Lloh2:
adrp x22, l_.str.1@PAGE
Lloh3:
add x22, x22, l_.str.1@PAGEOFF
Lloh4:
adrp x23, l_.str.2@PAGE
Lloh5:
add x23, x23, l_.str.2@PAGEOFF
tst w20, #0x80
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
mov x21, x0
tst w20, #0x40
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w21, w21, w0
tst w20, #0x20
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w21, w21, w0
tst w20, #0x10
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w21, w21, w0
tst w20, #0x8
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w21, w21, w0
tst w20, #0x4
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w21, w21, w0
tst w20, #0x2
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w21, w21, w0
tst w20, #0x1
csel x1, x23, x22, eq
mov x0, x19
mov w2, #1
bl _write
add w0, w21, w0
b LBB0_3
LBB0_2:
mov w0, #-1
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "1"
l_.str.2: ; @.str.2
.asciz "0"
.subsections_via_symbols
| the_stack_data/218893821.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_status_worktree__sorting_by_case ## -- Begin function test_status_worktree__sorting_by_case
.p2align 4, 0x90
_test_status_worktree__sorting_by_case: ## @test_status_worktree__sorting_by_case
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
callq _cl_git_sandbox_init
movq %rax, %r12
movq _GIT_STATUS_OPTIONS_INIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
leaq -88(%rbp), %rdi
movq %r12, %rsi
callq _git_repository_index
movl %eax, %edi
callq _cl_git_pass
movq -88(%rbp), %rdi
callq _git_index_caps
movl %eax, %r13d
movq _GIT_INDEX_CAPABILITY_IGNORE_CASE@GOTPCREL(%rip), %rax
andl (%rax), %r13d
movq -88(%rbp), %rdi
callq _git_index_free
leaq -80(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl $0, -80(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -64(%rbp)
movq _cb_status__normal@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -48(%rbp), %rsi
movq %r12, %rdi
movq %r14, %rcx
callq _git_status_foreach_ext
movl %eax, %edi
callq _cl_git_pass
movl -80(%rbp), %edi
movl -68(%rbp), %esi
callq _cl_assert_equal_i
movl -72(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
movl -76(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rbx
movq %rbx, %rsi
callq _cl_git_rewritefile
leaq L_.str.3(%rip), %rdi
callq _p_unlink
movl %eax, %edi
callq _cl_must_pass
leaq L_.str.4(%rip), %rdi
movq %rbx, %rsi
callq _cl_git_rewritefile
leaq L_.str.5(%rip), %rdi
callq _p_unlink
movl %eax, %edi
callq _cl_must_pass
movq %r14, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
testl %r13d, %r13d
movl $4, -80(%rbp)
movq _icase_paths@GOTPCREL(%rip), %rax
cmoveq _case_paths@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _case_statuses@GOTPCREL(%rip), %r15
movq _icase_statuses@GOTPCREL(%rip), %rcx
cmoveq %r15, %rcx
movq %rax, -56(%rbp)
movq (%rcx), %rax
movq %rax, -64(%rbp)
movq _cb_status__normal@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
movq %r12, %rdi
leaq -48(%rbp), %r13
movq %r13, %rsi
movq %r14, %rcx
callq _git_status_foreach_ext
movl %eax, %edi
callq _cl_git_pass
movl -80(%rbp), %edi
movl -68(%rbp), %esi
callq _cl_assert_equal_i
movl -72(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
movl -76(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
movq _GIT_STATUS_OPT_SORT_CASE_SENSITIVELY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
movq %r14, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl $4, -80(%rbp)
movq _case_paths@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq (%r15), %rax
movq %rax, -64(%rbp)
movl (%rbx), %edx
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rcx
callq _git_status_foreach_ext
movl %eax, %edi
callq _cl_git_pass
movl -80(%rbp), %edi
movl -68(%rbp), %esi
callq _cl_assert_equal_i
movl -72(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
movl -76(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
movq _GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
movq %r14, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl $4, -80(%rbp)
movq _icase_paths@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
movq _icase_statuses@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movl (%rbx), %edx
movq %r12, %rdi
movq %r13, %rsi
movq %r14, %rcx
callq _git_status_foreach_ext
movl %eax, %edi
callq _cl_git_pass
movl -80(%rbp), %edi
movl -68(%rbp), %esi
callq _cl_assert_equal_i
movl -72(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
movl -76(%rbp), %esi
xorl %edi, %edi
callq _cl_assert_equal_i
addq $56, %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 "icase"
.comm _GIT_STATUS_OPTIONS_INIT,4,2 ## @GIT_STATUS_OPTIONS_INIT
.comm _GIT_INDEX_CAPABILITY_IGNORE_CASE,4,2 ## @GIT_INDEX_CAPABILITY_IGNORE_CASE
.comm _cb_status__normal,4,2 ## @cb_status__normal
L_.str.1: ## @.str.1
.asciz "icase/B"
L_.str.2: ## @.str.2
.asciz "new stuff"
L_.str.3: ## @.str.3
.asciz "icase/c"
L_.str.4: ## @.str.4
.asciz "icase/g"
L_.str.5: ## @.str.5
.asciz "icase/H"
.comm _icase_paths,8,3 ## @icase_paths
.comm _icase_statuses,8,3 ## @icase_statuses
.comm _case_paths,8,3 ## @case_paths
.comm _case_statuses,8,3 ## @case_statuses
.comm _GIT_STATUS_OPT_SORT_CASE_SENSITIVELY,4,2 ## @GIT_STATUS_OPT_SORT_CASE_SENSITIVELY
.comm _GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY,4,2 ## @GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_status_worktree__sorting_by_case ; -- Begin function test_status_worktree__sorting_by_case
.p2align 2
_test_status_worktree__sorting_by_case: ; @test_status_worktree__sorting_by_case
.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 x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _cl_git_sandbox_init
mov x19, x0
Lloh2:
adrp x8, _GIT_STATUS_OPTIONS_INIT@GOTPAGE
Lloh3:
ldr x8, [x8, _GIT_STATUS_OPTIONS_INIT@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [sp, #32]
add x0, sp, #40
mov x1, x19
bl _git_repository_index
bl _cl_git_pass
ldr x0, [sp, #40]
bl _git_index_caps
mov x20, x0
Lloh5:
adrp x8, _GIT_INDEX_CAPABILITY_IGNORE_CASE@GOTPAGE
Lloh6:
ldr x8, [x8, _GIT_INDEX_CAPABILITY_IGNORE_CASE@GOTPAGEOFF]
Lloh7:
ldr w24, [x8]
ldr x0, [sp, #40]
bl _git_index_free
mov x0, sp
mov w1, #0
mov w2, #32
bl _memset
str wzr, [sp]
stp xzr, xzr, [sp, #16]
Lloh8:
adrp x22, _cb_status__normal@GOTPAGE
Lloh9:
ldr x22, [x22, _cb_status__normal@GOTPAGEOFF]
ldr w2, [x22]
add x1, sp, #32
mov x3, sp
mov x0, x19
bl _git_status_foreach_ext
bl _cl_git_pass
ldr w0, [sp]
ldr w1, [sp, #12]
bl _cl_assert_equal_i
ldr w1, [sp, #8]
mov w0, #0
bl _cl_assert_equal_i
ldr w1, [sp, #4]
mov w0, #0
bl _cl_assert_equal_i
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
Lloh12:
adrp x21, l_.str.2@PAGE
Lloh13:
add x21, x21, l_.str.2@PAGEOFF
mov x1, x21
bl _cl_git_rewritefile
Lloh14:
adrp x0, l_.str.3@PAGE
Lloh15:
add x0, x0, l_.str.3@PAGEOFF
bl _p_unlink
bl _cl_must_pass
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x21
bl _cl_git_rewritefile
Lloh18:
adrp x0, l_.str.5@PAGE
Lloh19:
add x0, x0, l_.str.5@PAGEOFF
bl _p_unlink
bl _cl_must_pass
mov x0, sp
mov w1, #0
mov w2, #32
bl _memset
mov w21, #4
str w21, [sp]
Lloh20:
adrp x25, _case_paths@GOTPAGE
Lloh21:
ldr x25, [x25, _case_paths@GOTPAGEOFF]
Lloh22:
adrp x23, _icase_paths@GOTPAGE
Lloh23:
ldr x23, [x23, _icase_paths@GOTPAGEOFF]
tst w24, w20
csel x8, x25, x23, eq
ldr x8, [x8]
str x8, [sp, #24]
Lloh24:
adrp x24, _case_statuses@GOTPAGE
Lloh25:
ldr x24, [x24, _case_statuses@GOTPAGEOFF]
Lloh26:
adrp x20, _icase_statuses@GOTPAGE
Lloh27:
ldr x20, [x20, _icase_statuses@GOTPAGEOFF]
csel x8, x24, x20, eq
ldr x8, [x8]
str x8, [sp, #16]
ldr w2, [x22]
add x1, sp, #32
mov x3, sp
mov x0, x19
bl _git_status_foreach_ext
bl _cl_git_pass
ldr w0, [sp]
ldr w1, [sp, #12]
bl _cl_assert_equal_i
ldr w1, [sp, #8]
mov w0, #0
bl _cl_assert_equal_i
ldr w1, [sp, #4]
mov w0, #0
bl _cl_assert_equal_i
Lloh28:
adrp x8, _GIT_STATUS_OPT_SORT_CASE_SENSITIVELY@GOTPAGE
Lloh29:
ldr x8, [x8, _GIT_STATUS_OPT_SORT_CASE_SENSITIVELY@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
str w8, [sp, #32]
mov x0, sp
mov w1, #0
mov w2, #32
bl _memset
str w21, [sp]
ldr x8, [x25]
ldr x9, [x24]
stp x9, x8, [sp, #16]
ldr w2, [x22]
add x1, sp, #32
mov x3, sp
mov x0, x19
bl _git_status_foreach_ext
bl _cl_git_pass
ldr w0, [sp]
ldr w1, [sp, #12]
bl _cl_assert_equal_i
ldr w1, [sp, #8]
mov w0, #0
bl _cl_assert_equal_i
ldr w1, [sp, #4]
mov w0, #0
bl _cl_assert_equal_i
Lloh31:
adrp x8, _GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY@GOTPAGE
Lloh32:
ldr x8, [x8, _GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
str w8, [sp, #32]
mov x0, sp
mov w1, #0
mov w2, #32
bl _memset
str w21, [sp]
ldr x8, [x23]
ldr x9, [x20]
stp x9, x8, [sp, #16]
ldr w2, [x22]
add x1, sp, #32
mov x3, sp
mov x0, x19
bl _git_status_foreach_ext
bl _cl_git_pass
ldr w0, [sp]
ldr w1, [sp, #12]
bl _cl_assert_equal_i
ldr w1, [sp, #8]
mov w0, #0
bl _cl_assert_equal_i
ldr w1, [sp, #4]
mov w0, #0
bl _cl_assert_equal_i
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 Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.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 "icase"
.comm _GIT_STATUS_OPTIONS_INIT,4,2 ; @GIT_STATUS_OPTIONS_INIT
.comm _GIT_INDEX_CAPABILITY_IGNORE_CASE,4,2 ; @GIT_INDEX_CAPABILITY_IGNORE_CASE
.comm _cb_status__normal,4,2 ; @cb_status__normal
l_.str.1: ; @.str.1
.asciz "icase/B"
l_.str.2: ; @.str.2
.asciz "new stuff"
l_.str.3: ; @.str.3
.asciz "icase/c"
l_.str.4: ; @.str.4
.asciz "icase/g"
l_.str.5: ; @.str.5
.asciz "icase/H"
.comm _icase_paths,8,3 ; @icase_paths
.comm _icase_statuses,8,3 ; @icase_statuses
.comm _case_paths,8,3 ; @case_paths
.comm _case_statuses,8,3 ; @case_statuses
.comm _GIT_STATUS_OPT_SORT_CASE_SENSITIVELY,4,2 ; @GIT_STATUS_OPT_SORT_CASE_SENSITIVELY
.comm _GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY,4,2 ; @GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY
.subsections_via_symbols
| AnghaBench/libgit2/tests/status/extr_worktree.c_test_status_worktree__sorting_by_case.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function start_page
_start_page: ## @start_page
.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 _capture_pattern
testl %eax, %eax
je LBB0_1
## %bb.2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _start_page_no_capturepattern ## TAILCALL
LBB0_1:
movq _VORBIS_missing_capture_pattern@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _error ## TAILCALL
.cfi_endproc
## -- End function
.comm _VORBIS_missing_capture_pattern,4,2 ## @VORBIS_missing_capture_pattern
.no_dead_strip _start_page
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function start_page
_start_page: ; @start_page
.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 _capture_pattern
cbz w0, LBB0_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _start_page_no_capturepattern
LBB0_2:
Lloh0:
adrp x8, _VORBIS_missing_capture_pattern@GOTPAGE
Lloh1:
ldr x8, [x8, _VORBIS_missing_capture_pattern@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _error
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VORBIS_missing_capture_pattern,4,2 ; @VORBIS_missing_capture_pattern
.no_dead_strip _start_page
.subsections_via_symbols
| AnghaBench/stb/extr_stb_vorbis.c_start_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NewIkeEngine ## -- Begin function NewIkeEngine
.p2align 4, 0x90
_NewIkeEngine: ## @NewIkeEngine
.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 $104, %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)
movl $72, %edi
callq _ZeroMalloc
movq %rax, %rbx
movl $8, -72(%rbp)
movl $24, -68(%rbp)
movl l___const.NewIkeEngine.aes_key_sizes+8(%rip), %eax
movl %eax, -56(%rbp)
movq l___const.NewIkeEngine.aes_key_sizes(%rip), %rax
movq %rax, -64(%rbp)
xorl %edi, %edi
callq _NewListFast
movq %rax, 64(%rbx)
xorl %edi, %edi
callq _NewListFast
movq %rax, 56(%rbx)
xorl %edi, %edi
callq _NewListFast
movq %rax, 48(%rbx)
movq _IKE_CRYPTO_DES_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_CRYPTO_DES_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -72(%rbp), %rcx
movq %rbx, %rdi
movl $1, %r8d
movl $8, %r9d
callq _NewIkeCrypto
movq %rax, -144(%rbp) ## 8-byte Spill
movq _IKE_CRYPTO_3DES_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_CRYPTO_3DES_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -68(%rbp), %rcx
movq %rbx, %rdi
movl $1, %r8d
movl $8, %r9d
callq _NewIkeCrypto
movq %rax, -136(%rbp) ## 8-byte Spill
movq _IKE_CRYPTO_AES_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_CRYPTO_AES_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -64(%rbp), %rcx
movq %rbx, %rdi
movl $3, %r8d
movl $16, %r9d
callq _NewIkeCrypto
movq %rax, -128(%rbp) ## 8-byte Spill
movq _IKE_HASH_SHA1_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_HASH_SHA1_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $20, %ecx
callq _NewIkeHash
movq %rax, -120(%rbp) ## 8-byte Spill
movq _IKE_HASH_SHA2_256_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_HASH_SHA2_256_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $32, %ecx
callq _NewIkeHash
movq %rax, -112(%rbp) ## 8-byte Spill
movq _IKE_HASH_SHA2_384_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_HASH_SHA2_384_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $48, %ecx
callq _NewIkeHash
movq %rax, -104(%rbp) ## 8-byte Spill
movq _IKE_HASH_SHA2_512_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_HASH_SHA2_512_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $64, %ecx
callq _NewIkeHash
movq %rax, -96(%rbp) ## 8-byte Spill
movq _IKE_HASH_MD5_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_HASH_MD5_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $16, %ecx
callq _NewIkeHash
movq %rax, -80(%rbp) ## 8-byte Spill
movq _IKE_DH_1_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_DH_1_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $96, %ecx
callq _NewIkeDh
movq %rax, -88(%rbp) ## 8-byte Spill
movq _IKE_DH_2_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_DH_2_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $128, %ecx
callq _NewIkeDh
movq %rax, %r12
movq _IKE_DH_5_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_DH_5_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $192, %ecx
callq _NewIkeDh
movq %rax, %r13
movq _IKE_DH_2048_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_DH_2048_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $256, %ecx ## imm = 0x100
callq _NewIkeDh
movq %rax, %r14
movq _IKE_DH_3072_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_DH_3072_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $384, %ecx ## imm = 0x180
callq _NewIkeDh
movq %rax, %r15
movq _IKE_DH_4096_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _IKE_DH_4096_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $512, %ecx ## imm = 0x200
callq _NewIkeDh
movq _IKE_P1_CRYPTO_DES_CBC@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 40(%rbx), %rdx
movq -144(%rbp), %r10 ## 8-byte Reload
movq %r10, (%rdx,%rcx,8)
movq _IKE_P1_CRYPTO_3DES_CBC@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 40(%rbx), %rdx
movq -136(%rbp), %rdi ## 8-byte Reload
movq %rdi, (%rdx,%rcx,8)
movq _IKE_P1_CRYPTO_AES_CBC@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 40(%rbx), %rdx
movq -128(%rbp), %r8 ## 8-byte Reload
movq %r8, (%rdx,%rcx,8)
movq _IKE_P1_HASH_MD5@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 32(%rbx), %rdx
movq -80(%rbp), %r11 ## 8-byte Reload
movq %r11, (%rdx,%rcx,8)
movq _IKE_P1_HASH_SHA1@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 32(%rbx), %rdx
movq -120(%rbp), %r9 ## 8-byte Reload
movq %r9, (%rdx,%rcx,8)
movq _IKE_P1_HASH_SHA2_256@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 32(%rbx), %rdx
movq -112(%rbp), %rsi ## 8-byte Reload
movq %rsi, (%rdx,%rcx,8)
movq _IKE_P1_HASH_SHA2_384@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 32(%rbx), %rdx
movq -104(%rbp), %rsi ## 8-byte Reload
movq %rsi, (%rdx,%rcx,8)
movq _IKE_P1_HASH_SHA2_512@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 32(%rbx), %rdx
movq -96(%rbp), %rsi ## 8-byte Reload
movq %rsi, (%rdx,%rcx,8)
movq 24(%rbx), %rcx
movq _IKE_TRANSFORM_ID_P2_ESP_DES@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r10, (%rcx,%rdx,8)
movq 24(%rbx), %rcx
movq _IKE_TRANSFORM_ID_P2_ESP_3DES@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rdi, (%rcx,%rdx,8)
movq 24(%rbx), %rcx
movq _IKE_TRANSFORM_ID_P2_ESP_AES@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r8, (%rcx,%rdx,8)
movq 16(%rbx), %rcx
movq _IKE_P2_HMAC_MD5_96@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r11, (%rcx,%rdx,8)
movq 16(%rbx), %rcx
movq _IKE_P2_HMAC_SHA1_96@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r9, (%rcx,%rdx,8)
movq (%rbx), %rcx
movq _IKE_P2_DH_GROUP_768_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq -88(%rbp), %rsi ## 8-byte Reload
movq %rsi, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _IKE_P1_DH_GROUP_768_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rsi, (%rcx,%rdx,8)
movq (%rbx), %rcx
movq _IKE_P2_DH_GROUP_1024_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r12, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _IKE_P1_DH_GROUP_1024_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r12, (%rcx,%rdx,8)
movq (%rbx), %rcx
movq _IKE_P2_DH_GROUP_1536_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r13, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _IKE_P1_DH_GROUP_1536_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r13, (%rcx,%rdx,8)
movq (%rbx), %rcx
movq _IKE_P2_DH_GROUP_2048_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r14, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _IKE_P1_DH_GROUP_2048_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r14, (%rcx,%rdx,8)
movq (%rbx), %rcx
movq _IKE_P2_DH_GROUP_3072_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r15, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _IKE_P1_DH_GROUP_3072_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r15, (%rcx,%rdx,8)
movq (%rbx), %rcx
movq _IKE_P2_DH_GROUP_4096_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq 8(%rbx), %rcx
movq _IKE_P1_DH_GROUP_4096_MODP@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rax, (%rcx,%rdx,8)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
movq %rbx, %rax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @__const.NewIkeEngine.aes_key_sizes
l___const.NewIkeEngine.aes_key_sizes:
.long 16 ## 0x10
.long 24 ## 0x18
.long 32 ## 0x20
.comm _IKE_CRYPTO_DES_ID,4,2 ## @IKE_CRYPTO_DES_ID
.comm _IKE_CRYPTO_DES_STRING,4,2 ## @IKE_CRYPTO_DES_STRING
.comm _IKE_CRYPTO_3DES_ID,4,2 ## @IKE_CRYPTO_3DES_ID
.comm _IKE_CRYPTO_3DES_STRING,4,2 ## @IKE_CRYPTO_3DES_STRING
.comm _IKE_CRYPTO_AES_ID,4,2 ## @IKE_CRYPTO_AES_ID
.comm _IKE_CRYPTO_AES_STRING,4,2 ## @IKE_CRYPTO_AES_STRING
.comm _IKE_HASH_SHA1_ID,4,2 ## @IKE_HASH_SHA1_ID
.comm _IKE_HASH_SHA1_STRING,4,2 ## @IKE_HASH_SHA1_STRING
.comm _IKE_HASH_SHA2_256_ID,4,2 ## @IKE_HASH_SHA2_256_ID
.comm _IKE_HASH_SHA2_256_STRING,4,2 ## @IKE_HASH_SHA2_256_STRING
.comm _IKE_HASH_SHA2_384_ID,4,2 ## @IKE_HASH_SHA2_384_ID
.comm _IKE_HASH_SHA2_384_STRING,4,2 ## @IKE_HASH_SHA2_384_STRING
.comm _IKE_HASH_SHA2_512_ID,4,2 ## @IKE_HASH_SHA2_512_ID
.comm _IKE_HASH_SHA2_512_STRING,4,2 ## @IKE_HASH_SHA2_512_STRING
.comm _IKE_HASH_MD5_ID,4,2 ## @IKE_HASH_MD5_ID
.comm _IKE_HASH_MD5_STRING,4,2 ## @IKE_HASH_MD5_STRING
.comm _IKE_DH_1_ID,4,2 ## @IKE_DH_1_ID
.comm _IKE_DH_1_STRING,4,2 ## @IKE_DH_1_STRING
.comm _IKE_DH_2_ID,4,2 ## @IKE_DH_2_ID
.comm _IKE_DH_2_STRING,4,2 ## @IKE_DH_2_STRING
.comm _IKE_DH_5_ID,4,2 ## @IKE_DH_5_ID
.comm _IKE_DH_5_STRING,4,2 ## @IKE_DH_5_STRING
.comm _IKE_DH_2048_ID,4,2 ## @IKE_DH_2048_ID
.comm _IKE_DH_2048_STRING,4,2 ## @IKE_DH_2048_STRING
.comm _IKE_DH_3072_ID,4,2 ## @IKE_DH_3072_ID
.comm _IKE_DH_3072_STRING,4,2 ## @IKE_DH_3072_STRING
.comm _IKE_DH_4096_ID,4,2 ## @IKE_DH_4096_ID
.comm _IKE_DH_4096_STRING,4,2 ## @IKE_DH_4096_STRING
.comm _IKE_P1_CRYPTO_DES_CBC,8,3 ## @IKE_P1_CRYPTO_DES_CBC
.comm _IKE_P1_CRYPTO_3DES_CBC,8,3 ## @IKE_P1_CRYPTO_3DES_CBC
.comm _IKE_P1_CRYPTO_AES_CBC,8,3 ## @IKE_P1_CRYPTO_AES_CBC
.comm _IKE_P1_HASH_MD5,8,3 ## @IKE_P1_HASH_MD5
.comm _IKE_P1_HASH_SHA1,8,3 ## @IKE_P1_HASH_SHA1
.comm _IKE_P1_HASH_SHA2_256,8,3 ## @IKE_P1_HASH_SHA2_256
.comm _IKE_P1_HASH_SHA2_384,8,3 ## @IKE_P1_HASH_SHA2_384
.comm _IKE_P1_HASH_SHA2_512,8,3 ## @IKE_P1_HASH_SHA2_512
.comm _IKE_TRANSFORM_ID_P2_ESP_DES,8,3 ## @IKE_TRANSFORM_ID_P2_ESP_DES
.comm _IKE_TRANSFORM_ID_P2_ESP_3DES,8,3 ## @IKE_TRANSFORM_ID_P2_ESP_3DES
.comm _IKE_TRANSFORM_ID_P2_ESP_AES,8,3 ## @IKE_TRANSFORM_ID_P2_ESP_AES
.comm _IKE_P2_HMAC_MD5_96,8,3 ## @IKE_P2_HMAC_MD5_96
.comm _IKE_P2_HMAC_SHA1_96,8,3 ## @IKE_P2_HMAC_SHA1_96
.comm _IKE_P2_DH_GROUP_768_MODP,8,3 ## @IKE_P2_DH_GROUP_768_MODP
.comm _IKE_P1_DH_GROUP_768_MODP,8,3 ## @IKE_P1_DH_GROUP_768_MODP
.comm _IKE_P2_DH_GROUP_1024_MODP,8,3 ## @IKE_P2_DH_GROUP_1024_MODP
.comm _IKE_P1_DH_GROUP_1024_MODP,8,3 ## @IKE_P1_DH_GROUP_1024_MODP
.comm _IKE_P2_DH_GROUP_1536_MODP,8,3 ## @IKE_P2_DH_GROUP_1536_MODP
.comm _IKE_P1_DH_GROUP_1536_MODP,8,3 ## @IKE_P1_DH_GROUP_1536_MODP
.comm _IKE_P2_DH_GROUP_2048_MODP,8,3 ## @IKE_P2_DH_GROUP_2048_MODP
.comm _IKE_P1_DH_GROUP_2048_MODP,8,3 ## @IKE_P1_DH_GROUP_2048_MODP
.comm _IKE_P2_DH_GROUP_3072_MODP,8,3 ## @IKE_P2_DH_GROUP_3072_MODP
.comm _IKE_P1_DH_GROUP_3072_MODP,8,3 ## @IKE_P1_DH_GROUP_3072_MODP
.comm _IKE_P2_DH_GROUP_4096_MODP,8,3 ## @IKE_P2_DH_GROUP_4096_MODP
.comm _IKE_P1_DH_GROUP_4096_MODP,8,3 ## @IKE_P1_DH_GROUP_4096_MODP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NewIkeEngine ; -- Begin function NewIkeEngine
.p2align 2
_NewIkeEngine: ; @NewIkeEngine
.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]
mov w0, #72
bl _ZeroMalloc
mov x19, x0
mov w9, #8
mov w8, #24
stp w8, w9, [sp, #32]
Lloh3:
adrp x8, l___const.NewIkeEngine.aes_key_sizes@PAGE
Lloh4:
add x8, x8, l___const.NewIkeEngine.aes_key_sizes@PAGEOFF
ldr x9, [x8]
str x9, [sp, #40]
ldr w8, [x8, #8]
str w8, [sp, #48]
mov x0, #0
bl _NewListFast
str x0, [x19, #64]
mov x0, #0
bl _NewListFast
str x0, [x19, #56]
mov x0, #0
bl _NewListFast
str x0, [x19, #48]
Lloh5:
adrp x8, _IKE_CRYPTO_DES_ID@GOTPAGE
Lloh6:
ldr x8, [x8, _IKE_CRYPTO_DES_ID@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
Lloh8:
adrp x8, _IKE_CRYPTO_DES_STRING@GOTPAGE
Lloh9:
ldr x8, [x8, _IKE_CRYPTO_DES_STRING@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
add x3, sp, #36
mov x0, x19
mov w4, #1
mov w5, #8
bl _NewIkeCrypto
str x0, [sp, #24] ; 8-byte Folded Spill
Lloh11:
adrp x8, _IKE_CRYPTO_3DES_ID@GOTPAGE
Lloh12:
ldr x8, [x8, _IKE_CRYPTO_3DES_ID@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
Lloh14:
adrp x8, _IKE_CRYPTO_3DES_STRING@GOTPAGE
Lloh15:
ldr x8, [x8, _IKE_CRYPTO_3DES_STRING@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
add x3, sp, #32
mov x0, x19
mov w4, #1
mov w5, #8
bl _NewIkeCrypto
str x0, [sp, #16] ; 8-byte Folded Spill
Lloh17:
adrp x8, _IKE_CRYPTO_AES_ID@GOTPAGE
Lloh18:
ldr x8, [x8, _IKE_CRYPTO_AES_ID@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
Lloh20:
adrp x8, _IKE_CRYPTO_AES_STRING@GOTPAGE
Lloh21:
ldr x8, [x8, _IKE_CRYPTO_AES_STRING@GOTPAGEOFF]
Lloh22:
ldr w2, [x8]
add x3, sp, #40
mov x0, x19
mov w4, #3
mov w5, #16
bl _NewIkeCrypto
mov x22, x0
Lloh23:
adrp x8, _IKE_HASH_SHA1_ID@GOTPAGE
Lloh24:
ldr x8, [x8, _IKE_HASH_SHA1_ID@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
Lloh26:
adrp x8, _IKE_HASH_SHA1_STRING@GOTPAGE
Lloh27:
ldr x8, [x8, _IKE_HASH_SHA1_STRING@GOTPAGEOFF]
Lloh28:
ldr w2, [x8]
mov x0, x19
mov w3, #20
bl _NewIkeHash
mov x23, x0
Lloh29:
adrp x8, _IKE_HASH_SHA2_256_ID@GOTPAGE
Lloh30:
ldr x8, [x8, _IKE_HASH_SHA2_256_ID@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
Lloh32:
adrp x8, _IKE_HASH_SHA2_256_STRING@GOTPAGE
Lloh33:
ldr x8, [x8, _IKE_HASH_SHA2_256_STRING@GOTPAGEOFF]
Lloh34:
ldr w2, [x8]
mov x0, x19
mov w3, #32
bl _NewIkeHash
str x0, [sp, #8] ; 8-byte Folded Spill
Lloh35:
adrp x8, _IKE_HASH_SHA2_384_ID@GOTPAGE
Lloh36:
ldr x8, [x8, _IKE_HASH_SHA2_384_ID@GOTPAGEOFF]
Lloh37:
ldr w1, [x8]
Lloh38:
adrp x8, _IKE_HASH_SHA2_384_STRING@GOTPAGE
Lloh39:
ldr x8, [x8, _IKE_HASH_SHA2_384_STRING@GOTPAGEOFF]
Lloh40:
ldr w2, [x8]
mov x0, x19
mov w3, #48
bl _NewIkeHash
str x0, [sp] ; 8-byte Folded Spill
Lloh41:
adrp x8, _IKE_HASH_SHA2_512_ID@GOTPAGE
Lloh42:
ldr x8, [x8, _IKE_HASH_SHA2_512_ID@GOTPAGEOFF]
Lloh43:
ldr w1, [x8]
Lloh44:
adrp x8, _IKE_HASH_SHA2_512_STRING@GOTPAGE
Lloh45:
ldr x8, [x8, _IKE_HASH_SHA2_512_STRING@GOTPAGEOFF]
Lloh46:
ldr w2, [x8]
mov x0, x19
mov w3, #64
bl _NewIkeHash
mov x28, x0
Lloh47:
adrp x8, _IKE_HASH_MD5_ID@GOTPAGE
Lloh48:
ldr x8, [x8, _IKE_HASH_MD5_ID@GOTPAGEOFF]
Lloh49:
ldr w1, [x8]
Lloh50:
adrp x8, _IKE_HASH_MD5_STRING@GOTPAGE
Lloh51:
ldr x8, [x8, _IKE_HASH_MD5_STRING@GOTPAGEOFF]
Lloh52:
ldr w2, [x8]
mov x0, x19
mov w3, #16
bl _NewIkeHash
mov x26, x0
Lloh53:
adrp x8, _IKE_DH_1_ID@GOTPAGE
Lloh54:
ldr x8, [x8, _IKE_DH_1_ID@GOTPAGEOFF]
Lloh55:
ldr w1, [x8]
Lloh56:
adrp x8, _IKE_DH_1_STRING@GOTPAGE
Lloh57:
ldr x8, [x8, _IKE_DH_1_STRING@GOTPAGEOFF]
Lloh58:
ldr w2, [x8]
mov x0, x19
mov w3, #96
bl _NewIkeDh
mov x27, x0
Lloh59:
adrp x8, _IKE_DH_2_ID@GOTPAGE
Lloh60:
ldr x8, [x8, _IKE_DH_2_ID@GOTPAGEOFF]
Lloh61:
ldr w1, [x8]
Lloh62:
adrp x8, _IKE_DH_2_STRING@GOTPAGE
Lloh63:
ldr x8, [x8, _IKE_DH_2_STRING@GOTPAGEOFF]
Lloh64:
ldr w2, [x8]
mov x0, x19
mov w3, #128
bl _NewIkeDh
mov x24, x0
Lloh65:
adrp x8, _IKE_DH_5_ID@GOTPAGE
Lloh66:
ldr x8, [x8, _IKE_DH_5_ID@GOTPAGEOFF]
Lloh67:
ldr w1, [x8]
Lloh68:
adrp x8, _IKE_DH_5_STRING@GOTPAGE
Lloh69:
ldr x8, [x8, _IKE_DH_5_STRING@GOTPAGEOFF]
Lloh70:
ldr w2, [x8]
mov x0, x19
mov w3, #192
bl _NewIkeDh
mov x20, x0
Lloh71:
adrp x8, _IKE_DH_2048_ID@GOTPAGE
Lloh72:
ldr x8, [x8, _IKE_DH_2048_ID@GOTPAGEOFF]
Lloh73:
ldr w1, [x8]
Lloh74:
adrp x8, _IKE_DH_2048_STRING@GOTPAGE
Lloh75:
ldr x8, [x8, _IKE_DH_2048_STRING@GOTPAGEOFF]
Lloh76:
ldr w2, [x8]
mov x0, x19
mov w3, #256
bl _NewIkeDh
mov x25, x0
Lloh77:
adrp x8, _IKE_DH_3072_ID@GOTPAGE
Lloh78:
ldr x8, [x8, _IKE_DH_3072_ID@GOTPAGEOFF]
Lloh79:
ldr w1, [x8]
Lloh80:
adrp x8, _IKE_DH_3072_STRING@GOTPAGE
Lloh81:
ldr x8, [x8, _IKE_DH_3072_STRING@GOTPAGEOFF]
Lloh82:
ldr w2, [x8]
mov x0, x19
mov w3, #384
bl _NewIkeDh
mov x21, x0
Lloh83:
adrp x8, _IKE_DH_4096_ID@GOTPAGE
Lloh84:
ldr x8, [x8, _IKE_DH_4096_ID@GOTPAGEOFF]
Lloh85:
ldr w1, [x8]
Lloh86:
adrp x8, _IKE_DH_4096_STRING@GOTPAGE
Lloh87:
ldr x8, [x8, _IKE_DH_4096_STRING@GOTPAGEOFF]
Lloh88:
ldr w2, [x8]
mov x0, x19
mov w3, #512
bl _NewIkeDh
ldr x8, [x19, #40]
Lloh89:
adrp x9, _IKE_P1_CRYPTO_DES_CBC@GOTPAGE
Lloh90:
ldr x9, [x9, _IKE_P1_CRYPTO_DES_CBC@GOTPAGEOFF]
Lloh91:
ldr x9, [x9]
ldp x11, x10, [sp, #16] ; 16-byte Folded Reload
str x10, [x8, x9, lsl #3]
ldr x8, [x19, #40]
Lloh92:
adrp x9, _IKE_P1_CRYPTO_3DES_CBC@GOTPAGE
Lloh93:
ldr x9, [x9, _IKE_P1_CRYPTO_3DES_CBC@GOTPAGEOFF]
Lloh94:
ldr x9, [x9]
str x11, [x8, x9, lsl #3]
ldr x8, [x19, #40]
Lloh95:
adrp x9, _IKE_P1_CRYPTO_AES_CBC@GOTPAGE
Lloh96:
ldr x9, [x9, _IKE_P1_CRYPTO_AES_CBC@GOTPAGEOFF]
Lloh97:
ldr x9, [x9]
str x22, [x8, x9, lsl #3]
ldr x8, [x19, #32]
Lloh98:
adrp x9, _IKE_P1_HASH_MD5@GOTPAGE
Lloh99:
ldr x9, [x9, _IKE_P1_HASH_MD5@GOTPAGEOFF]
Lloh100:
ldr x9, [x9]
str x26, [x8, x9, lsl #3]
ldr x8, [x19, #32]
Lloh101:
adrp x9, _IKE_P1_HASH_SHA1@GOTPAGE
Lloh102:
ldr x9, [x9, _IKE_P1_HASH_SHA1@GOTPAGEOFF]
Lloh103:
ldr x9, [x9]
str x23, [x8, x9, lsl #3]
ldr x8, [x19, #32]
Lloh104:
adrp x9, _IKE_P1_HASH_SHA2_256@GOTPAGE
Lloh105:
ldr x9, [x9, _IKE_P1_HASH_SHA2_256@GOTPAGEOFF]
Lloh106:
ldr x9, [x9]
ldr x12, [sp, #8] ; 8-byte Folded Reload
str x12, [x8, x9, lsl #3]
ldr x8, [x19, #32]
Lloh107:
adrp x9, _IKE_P1_HASH_SHA2_384@GOTPAGE
Lloh108:
ldr x9, [x9, _IKE_P1_HASH_SHA2_384@GOTPAGEOFF]
Lloh109:
ldr x9, [x9]
ldr x12, [sp] ; 8-byte Folded Reload
str x12, [x8, x9, lsl #3]
ldr x8, [x19, #32]
Lloh110:
adrp x9, _IKE_P1_HASH_SHA2_512@GOTPAGE
Lloh111:
ldr x9, [x9, _IKE_P1_HASH_SHA2_512@GOTPAGEOFF]
Lloh112:
ldr x9, [x9]
str x28, [x8, x9, lsl #3]
ldr x8, [x19, #24]
Lloh113:
adrp x9, _IKE_TRANSFORM_ID_P2_ESP_DES@GOTPAGE
Lloh114:
ldr x9, [x9, _IKE_TRANSFORM_ID_P2_ESP_DES@GOTPAGEOFF]
Lloh115:
ldr x9, [x9]
str x10, [x8, x9, lsl #3]
ldr x8, [x19, #24]
Lloh116:
adrp x9, _IKE_TRANSFORM_ID_P2_ESP_3DES@GOTPAGE
Lloh117:
ldr x9, [x9, _IKE_TRANSFORM_ID_P2_ESP_3DES@GOTPAGEOFF]
Lloh118:
ldr x9, [x9]
str x11, [x8, x9, lsl #3]
ldr x8, [x19, #24]
Lloh119:
adrp x9, _IKE_TRANSFORM_ID_P2_ESP_AES@GOTPAGE
Lloh120:
ldr x9, [x9, _IKE_TRANSFORM_ID_P2_ESP_AES@GOTPAGEOFF]
Lloh121:
ldr x9, [x9]
str x22, [x8, x9, lsl #3]
ldr x8, [x19, #16]
Lloh122:
adrp x9, _IKE_P2_HMAC_MD5_96@GOTPAGE
Lloh123:
ldr x9, [x9, _IKE_P2_HMAC_MD5_96@GOTPAGEOFF]
Lloh124:
ldr x9, [x9]
str x26, [x8, x9, lsl #3]
ldr x8, [x19, #16]
Lloh125:
adrp x9, _IKE_P2_HMAC_SHA1_96@GOTPAGE
Lloh126:
ldr x9, [x9, _IKE_P2_HMAC_SHA1_96@GOTPAGEOFF]
Lloh127:
ldr x9, [x9]
str x23, [x8, x9, lsl #3]
ldr x8, [x19]
Lloh128:
adrp x9, _IKE_P2_DH_GROUP_768_MODP@GOTPAGE
Lloh129:
ldr x9, [x9, _IKE_P2_DH_GROUP_768_MODP@GOTPAGEOFF]
Lloh130:
ldr x9, [x9]
str x27, [x8, x9, lsl #3]
ldr x8, [x19, #8]
Lloh131:
adrp x9, _IKE_P1_DH_GROUP_768_MODP@GOTPAGE
Lloh132:
ldr x9, [x9, _IKE_P1_DH_GROUP_768_MODP@GOTPAGEOFF]
Lloh133:
ldr x9, [x9]
str x27, [x8, x9, lsl #3]
ldr x8, [x19]
Lloh134:
adrp x9, _IKE_P2_DH_GROUP_1024_MODP@GOTPAGE
Lloh135:
ldr x9, [x9, _IKE_P2_DH_GROUP_1024_MODP@GOTPAGEOFF]
Lloh136:
ldr x9, [x9]
str x24, [x8, x9, lsl #3]
ldr x8, [x19, #8]
Lloh137:
adrp x9, _IKE_P1_DH_GROUP_1024_MODP@GOTPAGE
Lloh138:
ldr x9, [x9, _IKE_P1_DH_GROUP_1024_MODP@GOTPAGEOFF]
Lloh139:
ldr x9, [x9]
str x24, [x8, x9, lsl #3]
ldr x8, [x19]
Lloh140:
adrp x9, _IKE_P2_DH_GROUP_1536_MODP@GOTPAGE
Lloh141:
ldr x9, [x9, _IKE_P2_DH_GROUP_1536_MODP@GOTPAGEOFF]
Lloh142:
ldr x9, [x9]
str x20, [x8, x9, lsl #3]
ldr x8, [x19, #8]
Lloh143:
adrp x9, _IKE_P1_DH_GROUP_1536_MODP@GOTPAGE
Lloh144:
ldr x9, [x9, _IKE_P1_DH_GROUP_1536_MODP@GOTPAGEOFF]
Lloh145:
ldr x9, [x9]
str x20, [x8, x9, lsl #3]
ldr x8, [x19]
Lloh146:
adrp x9, _IKE_P2_DH_GROUP_2048_MODP@GOTPAGE
Lloh147:
ldr x9, [x9, _IKE_P2_DH_GROUP_2048_MODP@GOTPAGEOFF]
Lloh148:
ldr x9, [x9]
str x25, [x8, x9, lsl #3]
ldr x8, [x19, #8]
Lloh149:
adrp x9, _IKE_P1_DH_GROUP_2048_MODP@GOTPAGE
Lloh150:
ldr x9, [x9, _IKE_P1_DH_GROUP_2048_MODP@GOTPAGEOFF]
Lloh151:
ldr x9, [x9]
str x25, [x8, x9, lsl #3]
ldr x8, [x19]
Lloh152:
adrp x9, _IKE_P2_DH_GROUP_3072_MODP@GOTPAGE
Lloh153:
ldr x9, [x9, _IKE_P2_DH_GROUP_3072_MODP@GOTPAGEOFF]
Lloh154:
ldr x9, [x9]
str x21, [x8, x9, lsl #3]
ldr x8, [x19, #8]
Lloh155:
adrp x9, _IKE_P1_DH_GROUP_3072_MODP@GOTPAGE
Lloh156:
ldr x9, [x9, _IKE_P1_DH_GROUP_3072_MODP@GOTPAGEOFF]
Lloh157:
ldr x9, [x9]
str x21, [x8, x9, lsl #3]
ldr x8, [x19]
Lloh158:
adrp x9, _IKE_P2_DH_GROUP_4096_MODP@GOTPAGE
Lloh159:
ldr x9, [x9, _IKE_P2_DH_GROUP_4096_MODP@GOTPAGEOFF]
Lloh160:
ldr x9, [x9]
str x0, [x8, x9, lsl #3]
ldr x8, [x19, #8]
Lloh161:
adrp x9, _IKE_P1_DH_GROUP_4096_MODP@GOTPAGE
Lloh162:
ldr x9, [x9, _IKE_P1_DH_GROUP_4096_MODP@GOTPAGEOFF]
Lloh163:
ldr x9, [x9]
str x0, [x8, x9, lsl #3]
ldr x8, [sp, #56]
Lloh164:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh165:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh166:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov x0, x19
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_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh164, Lloh165, Lloh166
.loh AdrpLdrGotLdr Lloh161, Lloh162, Lloh163
.loh AdrpLdrGotLdr Lloh158, Lloh159, Lloh160
.loh AdrpLdrGotLdr Lloh155, Lloh156, Lloh157
.loh AdrpLdrGotLdr Lloh152, Lloh153, Lloh154
.loh AdrpLdrGotLdr Lloh149, Lloh150, Lloh151
.loh AdrpLdrGotLdr Lloh146, Lloh147, Lloh148
.loh AdrpLdrGotLdr Lloh143, Lloh144, Lloh145
.loh AdrpLdrGotLdr Lloh140, Lloh141, Lloh142
.loh AdrpLdrGotLdr Lloh137, Lloh138, Lloh139
.loh AdrpLdrGotLdr Lloh134, Lloh135, Lloh136
.loh AdrpLdrGotLdr Lloh131, Lloh132, Lloh133
.loh AdrpLdrGotLdr Lloh128, Lloh129, Lloh130
.loh AdrpLdrGotLdr Lloh125, Lloh126, Lloh127
.loh AdrpLdrGotLdr Lloh122, Lloh123, Lloh124
.loh AdrpLdrGotLdr Lloh119, Lloh120, Lloh121
.loh AdrpLdrGotLdr Lloh116, Lloh117, Lloh118
.loh AdrpLdrGotLdr Lloh113, Lloh114, Lloh115
.loh AdrpLdrGotLdr Lloh110, Lloh111, Lloh112
.loh AdrpLdrGotLdr Lloh107, Lloh108, Lloh109
.loh AdrpLdrGotLdr Lloh104, Lloh105, Lloh106
.loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.NewIkeEngine.aes_key_sizes
l___const.NewIkeEngine.aes_key_sizes:
.long 16 ; 0x10
.long 24 ; 0x18
.long 32 ; 0x20
.comm _IKE_CRYPTO_DES_ID,4,2 ; @IKE_CRYPTO_DES_ID
.comm _IKE_CRYPTO_DES_STRING,4,2 ; @IKE_CRYPTO_DES_STRING
.comm _IKE_CRYPTO_3DES_ID,4,2 ; @IKE_CRYPTO_3DES_ID
.comm _IKE_CRYPTO_3DES_STRING,4,2 ; @IKE_CRYPTO_3DES_STRING
.comm _IKE_CRYPTO_AES_ID,4,2 ; @IKE_CRYPTO_AES_ID
.comm _IKE_CRYPTO_AES_STRING,4,2 ; @IKE_CRYPTO_AES_STRING
.comm _IKE_HASH_SHA1_ID,4,2 ; @IKE_HASH_SHA1_ID
.comm _IKE_HASH_SHA1_STRING,4,2 ; @IKE_HASH_SHA1_STRING
.comm _IKE_HASH_SHA2_256_ID,4,2 ; @IKE_HASH_SHA2_256_ID
.comm _IKE_HASH_SHA2_256_STRING,4,2 ; @IKE_HASH_SHA2_256_STRING
.comm _IKE_HASH_SHA2_384_ID,4,2 ; @IKE_HASH_SHA2_384_ID
.comm _IKE_HASH_SHA2_384_STRING,4,2 ; @IKE_HASH_SHA2_384_STRING
.comm _IKE_HASH_SHA2_512_ID,4,2 ; @IKE_HASH_SHA2_512_ID
.comm _IKE_HASH_SHA2_512_STRING,4,2 ; @IKE_HASH_SHA2_512_STRING
.comm _IKE_HASH_MD5_ID,4,2 ; @IKE_HASH_MD5_ID
.comm _IKE_HASH_MD5_STRING,4,2 ; @IKE_HASH_MD5_STRING
.comm _IKE_DH_1_ID,4,2 ; @IKE_DH_1_ID
.comm _IKE_DH_1_STRING,4,2 ; @IKE_DH_1_STRING
.comm _IKE_DH_2_ID,4,2 ; @IKE_DH_2_ID
.comm _IKE_DH_2_STRING,4,2 ; @IKE_DH_2_STRING
.comm _IKE_DH_5_ID,4,2 ; @IKE_DH_5_ID
.comm _IKE_DH_5_STRING,4,2 ; @IKE_DH_5_STRING
.comm _IKE_DH_2048_ID,4,2 ; @IKE_DH_2048_ID
.comm _IKE_DH_2048_STRING,4,2 ; @IKE_DH_2048_STRING
.comm _IKE_DH_3072_ID,4,2 ; @IKE_DH_3072_ID
.comm _IKE_DH_3072_STRING,4,2 ; @IKE_DH_3072_STRING
.comm _IKE_DH_4096_ID,4,2 ; @IKE_DH_4096_ID
.comm _IKE_DH_4096_STRING,4,2 ; @IKE_DH_4096_STRING
.comm _IKE_P1_CRYPTO_DES_CBC,8,3 ; @IKE_P1_CRYPTO_DES_CBC
.comm _IKE_P1_CRYPTO_3DES_CBC,8,3 ; @IKE_P1_CRYPTO_3DES_CBC
.comm _IKE_P1_CRYPTO_AES_CBC,8,3 ; @IKE_P1_CRYPTO_AES_CBC
.comm _IKE_P1_HASH_MD5,8,3 ; @IKE_P1_HASH_MD5
.comm _IKE_P1_HASH_SHA1,8,3 ; @IKE_P1_HASH_SHA1
.comm _IKE_P1_HASH_SHA2_256,8,3 ; @IKE_P1_HASH_SHA2_256
.comm _IKE_P1_HASH_SHA2_384,8,3 ; @IKE_P1_HASH_SHA2_384
.comm _IKE_P1_HASH_SHA2_512,8,3 ; @IKE_P1_HASH_SHA2_512
.comm _IKE_TRANSFORM_ID_P2_ESP_DES,8,3 ; @IKE_TRANSFORM_ID_P2_ESP_DES
.comm _IKE_TRANSFORM_ID_P2_ESP_3DES,8,3 ; @IKE_TRANSFORM_ID_P2_ESP_3DES
.comm _IKE_TRANSFORM_ID_P2_ESP_AES,8,3 ; @IKE_TRANSFORM_ID_P2_ESP_AES
.comm _IKE_P2_HMAC_MD5_96,8,3 ; @IKE_P2_HMAC_MD5_96
.comm _IKE_P2_HMAC_SHA1_96,8,3 ; @IKE_P2_HMAC_SHA1_96
.comm _IKE_P2_DH_GROUP_768_MODP,8,3 ; @IKE_P2_DH_GROUP_768_MODP
.comm _IKE_P1_DH_GROUP_768_MODP,8,3 ; @IKE_P1_DH_GROUP_768_MODP
.comm _IKE_P2_DH_GROUP_1024_MODP,8,3 ; @IKE_P2_DH_GROUP_1024_MODP
.comm _IKE_P1_DH_GROUP_1024_MODP,8,3 ; @IKE_P1_DH_GROUP_1024_MODP
.comm _IKE_P2_DH_GROUP_1536_MODP,8,3 ; @IKE_P2_DH_GROUP_1536_MODP
.comm _IKE_P1_DH_GROUP_1536_MODP,8,3 ; @IKE_P1_DH_GROUP_1536_MODP
.comm _IKE_P2_DH_GROUP_2048_MODP,8,3 ; @IKE_P2_DH_GROUP_2048_MODP
.comm _IKE_P1_DH_GROUP_2048_MODP,8,3 ; @IKE_P1_DH_GROUP_2048_MODP
.comm _IKE_P2_DH_GROUP_3072_MODP,8,3 ; @IKE_P2_DH_GROUP_3072_MODP
.comm _IKE_P1_DH_GROUP_3072_MODP,8,3 ; @IKE_P1_DH_GROUP_3072_MODP
.comm _IKE_P2_DH_GROUP_4096_MODP,8,3 ; @IKE_P2_DH_GROUP_4096_MODP
.comm _IKE_P1_DH_GROUP_4096_MODP,8,3 ; @IKE_P1_DH_GROUP_4096_MODP
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IkePacket.c_NewIkeEngine.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function UI_SetNextMap
_UI_SetNextMap: ## @UI_SetNextMap
.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, %edx
movq _uiInfo@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
movq 8(%rax), %rsi
movslq %edi, %rdi
incq %rdi
movq _qfalse@GOTPCREL(%rip), %rax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, %rdi
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, (%rsi,%rdi,8)
leaq 1(%rdi), %rdi
je LBB0_1
## %bb.3:
movq _FEEDER_MAPS@GOTPCREL(%rip), %rax
movl (%rax), %esi
incl %edx
leaq L_.str(%rip), %rcx
xorl %edi, %edi
callq _Menu_SetFeederSelection
movq _qtrue@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _uiInfo,16,3 ## @uiInfo
.comm _FEEDER_MAPS,4,2 ## @FEEDER_MAPS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "skirmish"
.comm _qtrue,4,2 ## @qtrue
.comm _qfalse,4,2 ## @qfalse
.no_dead_strip _UI_SetNextMap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function UI_SetNextMap
_UI_SetNextMap: ; @UI_SetNextMap
.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 $w0 killed $w0 def $x0
Lloh0:
adrp x8, _uiInfo@GOTPAGE
Lloh1:
ldr x8, [x8, _uiInfo@GOTPAGEOFF]
ldrsw x9, [x8]
ldr x10, [x8, #8]
sxtw x8, w0
add x11, x8, #1
Lloh2:
adrp x8, _qfalse@GOTPAGE
Lloh3:
ldr x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp x11, x9
b.ge LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x12, [x10, x11, lsl #3]
add x11, x11, #1
cbz x12, LBB0_1
; %bb.3:
Lloh4:
adrp x8, _FEEDER_MAPS@GOTPAGE
Lloh5:
ldr x8, [x8, _FEEDER_MAPS@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
add w2, w1, #1
Lloh7:
adrp x3, l_.str@PAGE
Lloh8:
add x3, x3, l_.str@PAGEOFF
mov x0, #0
mov x1, x8
bl _Menu_SetFeederSelection
Lloh9:
adrp x8, _qtrue@GOTPAGE
Lloh10:
ldr x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _uiInfo,16,3 ; @uiInfo
.comm _FEEDER_MAPS,4,2 ; @FEEDER_MAPS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "skirmish"
.comm _qtrue,4,2 ; @qtrue
.comm _qfalse,4,2 ; @qfalse
.no_dead_strip _UI_SetNextMap
.subsections_via_symbols
| AnghaBench/lab/engine/code/ui/extr_ui_main.c_UI_SetNextMap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function omap_udc_release
_omap_udc_release: ## @omap_udc_release
.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 _udc@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _pullup_disable
movq (%rbx), %rax
movq 32(%rax), %rdi
callq _IS_ERR_OR_NULL
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq (%rbx), %rax
movq 32(%rax), %rdi
callq _usb_put_phy
movq (%rbx), %rax
movq $0, 32(%rax)
LBB0_2:
movq _UDC_SYSCON1@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edi, %edi
callq _omap_writew
xorl %eax, %eax
callq _remove_proc_file
movq (%rbx), %rdi
cmpq $0, 8(%rdi)
je LBB0_6
## %bb.3:
cmpq $0, 24(%rdi)
je LBB0_5
## %bb.4:
xorl %edi, %edi
callq _omap_udc_enable_clock
movq (%rbx), %rdi
LBB0_5:
movq 16(%rdi), %rdi
callq _clk_put
movq (%rbx), %rax
movq 8(%rax), %rdi
callq _clk_put
movq (%rbx), %rdi
LBB0_6:
movq (%rdi), %rax
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %rax, %rdi
callq _complete
movq (%rbx), %rdi
LBB0_8:
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.comm _udc,8,3 ## @udc
.comm _UDC_SYSCON1,4,2 ## @UDC_SYSCON1
.no_dead_strip _omap_udc_release
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function omap_udc_release
_omap_udc_release: ; @omap_udc_release
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _udc@GOTPAGE
Lloh1:
ldr x19, [x19, _udc@GOTPAGEOFF]
ldr x0, [x19]
bl _pullup_disable
ldr x8, [x19]
ldr x0, [x8, #32]
bl _IS_ERR_OR_NULL
cbnz w0, LBB0_2
; %bb.1:
ldr x8, [x19]
ldr x0, [x8, #32]
bl _usb_put_phy
ldr x8, [x19]
str xzr, [x8, #32]
LBB0_2:
Lloh2:
adrp x8, _UDC_SYSCON1@GOTPAGE
Lloh3:
ldr x8, [x8, _UDC_SYSCON1@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov w0, #0
bl _omap_writew
bl _remove_proc_file
ldr x0, [x19]
ldr x8, [x0, #8]
cbz x8, LBB0_6
; %bb.3:
ldr x8, [x0, #24]
cbz x8, LBB0_5
; %bb.4:
mov w0, #0
bl _omap_udc_enable_clock
ldr x0, [x19]
LBB0_5:
ldr x0, [x0, #16]
bl _clk_put
ldr x8, [x19]
ldr x0, [x8, #8]
bl _clk_put
ldr x0, [x19]
LBB0_6:
ldr x8, [x0]
cbz x8, LBB0_8
; %bb.7:
mov x0, x8
bl _complete
ldr x0, [x19]
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _udc,8,3 ; @udc
.comm _UDC_SYSCON1,4,2 ; @UDC_SYSCON1
.no_dead_strip _omap_udc_release
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/udc/extr_omap_udc.c_omap_udc_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PackElementToJsonObject ## -- Begin function PackElementToJsonObject
.p2align 4, 0x90
_PackElementToJsonObject: ## @PackElementToJsonObject
.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 $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -128(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rsi, -136(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_PATH@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %r15, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -120(%rbp) ## 8-byte Spill
testq %rbx, %rbx
je LBB0_33
## %bb.1:
cmpq $0, -136(%rbp) ## 8-byte Folded Reload
je LBB0_33
## %bb.2:
testq %r13, %r13
je LBB0_33
## %bb.3:
movq %r13, %rdi
callq _DetermineJsonSuffixForPackElement
testq %rax, %rax
je LBB0_33
## %bb.4:
movq %rax, %r14
movl 24(%r13), %edx
movq -120(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
movl %r15d, %esi
callq _StrCpy
movq %r12, %rdi
movq %rbx, %r12
movl %r15d, %esi
movq %r14, %rdx
callq _StrCat
movl (%r13), %eax
addl $-128, %eax
cmpl $4, %eax
ja LBB0_33
## %bb.5:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_28:
cmpl $0, 4(%r13)
jne LBB0_33
## %bb.29:
movq 16(%r13), %rax
movq -128(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB0_31
## %bb.30:
movq 8(%rax), %rdx
jmp LBB0_32
LBB0_23:
cmpl $0, 4(%r13)
jne LBB0_33
## %bb.24:
movq 16(%r13), %rax
movq -128(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB0_26
## %bb.25:
movq (%rax), %rdx
jmp LBB0_27
LBB0_15:
cmpl $0, 4(%r13)
jne LBB0_33
## %bb.16:
cmpl $0, 8(%r13)
je LBB0_17
## %bb.18:
movl 24(%r13), %esi
movq -136(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
callq _PackGetInt64Ex
leaq -112(%rbp), %rbx
movq %rbx, %rdi
movl $64, %esi
movl %eax, %edx
callq _SystemTime64ToJsonStr
jmp LBB0_10
LBB0_6:
cmpl $0, 4(%r13)
je LBB0_11
## %bb.7:
movl 24(%r13), %edi
leaq L_.str(%rip), %rsi
callq _InStr
testl %eax, %eax
jne LBB0_33
## %bb.8:
movl 24(%r13), %esi
leaq -140(%rbp), %rdx
movq -136(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rcx ## 8-byte Reload
callq _PackGetIpEx
testl %eax, %eax
je LBB0_33
## %bb.9:
leaq -112(%rbp), %rbx
leaq -140(%rbp), %rdx
movq %rbx, %rdi
movl $64, %esi
callq _IPToStr
LBB0_10:
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _JsonSetStr
jmp LBB0_33
LBB0_19:
cmpl $0, 4(%r13)
jne LBB0_33
## %bb.20:
movl 24(%r13), %esi
movq -136(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
callq _PackGetBufEx
testq %rax, %rax
je LBB0_22
## %bb.21:
movq %rax, %rbx
movq 8(%rax), %rdx
movl (%rax), %ecx
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _JsonSetData
movq %rbx, %rdi
callq _FreeBuf
jmp LBB0_33
LBB0_11:
cmpl $0, 28(%r13)
movl 24(%r13), %esi
je LBB0_13
## %bb.12:
movq -136(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
callq _PackGetBoolEx
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
callq _JsonSetBool
jmp LBB0_33
LBB0_17:
movl 24(%r13), %esi
movq -136(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
callq _PackGetInt64Ex
jmp LBB0_14
LBB0_22:
movl $0, -112(%rbp)
leaq -112(%rbp), %rdx
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
xorl %ecx, %ecx
callq _JsonSetData
jmp LBB0_33
LBB0_31:
leaq l_.str.2(%rip), %rdx
LBB0_32:
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _JsonSetUniStr
jmp LBB0_33
LBB0_26:
leaq L_.str.1(%rip), %rdx
LBB0_27:
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
callq _JsonSetStr
jmp LBB0_33
LBB0_13:
movq -136(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %rdx ## 8-byte Reload
callq _PackGetIntEx
LBB0_14:
movq %r12, %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
callq _JsonSetNumber
LBB0_33:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_35
## %bb.34:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_35:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
.long L0_0_set_28
.long L0_0_set_23
.long L0_0_set_15
.long L0_0_set_6
.long L0_0_set_19
.end_data_region
## -- End function
.comm _MAX_PATH,4,2 ## @MAX_PATH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "@"
L_.str.1: ## @.str.1
.space 1
.section __TEXT,__const
.p2align 2 ## @.str.2
l_.str.2:
.space 4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PackElementToJsonObject ; -- Begin function PackElementToJsonObject
.p2align 2
_PackElementToJsonObject: ; @PackElementToJsonObject
.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
sub sp, sp, #80
mov x21, x3
mov x23, x2
mov x22, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _MAX_PATH@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
ldr w24, [x8]
mov x9, x24
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x24, #15
and x9, x9, #0x1fffffff0
sub x20, x8, x9
mov sp, x20
cbz x0, LBB0_32
; %bb.1:
cbz x22, LBB0_32
; %bb.2:
cbz x23, LBB0_32
; %bb.3:
mov x0, x23
bl _DetermineJsonSuffixForPackElement
cbz x0, LBB0_32
; %bb.4:
mov x25, x0
ldr w2, [x23, #24]
mov x0, x20
mov x1, x24
bl _StrCpy
mov x0, x20
mov x1, x24
mov x2, x25
bl _StrCat
ldr w8, [x23]
sub w8, w8, #128
cmp w8, #4
b.hi LBB0_32
; %bb.5:
Lloh8:
adrp x9, lJTI0_0@PAGE
Lloh9:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_6
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_6:
ldr w8, [x23, #4]
cbnz w8, LBB0_32
; %bb.7:
ldr x8, [x23, #16]
ldr x8, [x8, x21, lsl #3]
cbz x8, LBB0_26
; %bb.8:
ldr x2, [x8, #8]
b LBB0_27
LBB0_9:
ldr w8, [x23, #4]
cbnz w8, LBB0_32
; %bb.10:
ldr x8, [x23, #16]
ldr x8, [x8, x21, lsl #3]
cbz x8, LBB0_28
; %bb.11:
ldr x2, [x8]
b LBB0_29
LBB0_12:
ldr w8, [x23, #4]
cbnz w8, LBB0_32
; %bb.13:
ldr w8, [x23, #8]
cbz w8, LBB0_24
; %bb.14:
ldr w1, [x23, #24]
mov x0, x22
mov x2, x21
bl _PackGetInt64Ex
mov x2, x0
sub x0, x29, #136
mov w1, #64
bl _SystemTime64ToJsonStr
sub x2, x29, #136
b LBB0_29
LBB0_15:
ldr w8, [x23, #4]
cbz w8, LBB0_22
; %bb.16:
ldr w0, [x23, #24]
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
bl _InStr
cbnz w0, LBB0_32
; %bb.17:
ldr w1, [x23, #24]
sub x2, x29, #140
mov x0, x22
mov x3, x21
bl _PackGetIpEx
cbz w0, LBB0_32
; %bb.18:
sub x0, x29, #136
sub x2, x29, #140
mov w1, #64
bl _IPToStr
sub x2, x29, #136
b LBB0_29
LBB0_19:
ldr w8, [x23, #4]
cbnz w8, LBB0_32
; %bb.20:
ldr w1, [x23, #24]
mov x0, x22
mov x2, x21
bl _PackGetBufEx
cbz x0, LBB0_25
; %bb.21:
mov x21, x0
ldr x2, [x0, #8]
ldr w3, [x0]
mov x0, x19
mov x1, x20
bl _JsonSetData
mov x0, x21
bl _FreeBuf
b LBB0_32
LBB0_22:
ldp w1, w8, [x23, #24]
mov x0, x22
mov x2, x21
cbz w8, LBB0_30
; %bb.23:
bl _PackGetBoolEx
mov x2, x0
mov x0, x19
mov x1, x20
bl _JsonSetBool
b LBB0_32
LBB0_24:
ldr w1, [x23, #24]
mov x0, x22
mov x2, x21
bl _PackGetInt64Ex
b LBB0_31
LBB0_25:
stur wzr, [x29, #-136]
sub x2, x29, #136
mov x0, x19
mov x1, x20
mov w3, #0
bl _JsonSetData
b LBB0_32
LBB0_26:
Lloh12:
adrp x2, l_.str.2@PAGE
Lloh13:
add x2, x2, l_.str.2@PAGEOFF
LBB0_27:
mov x0, x19
mov x1, x20
bl _JsonSetUniStr
b LBB0_32
LBB0_28:
Lloh14:
adrp x2, l_.str.1@PAGE
Lloh15:
add x2, x2, l_.str.1@PAGEOFF
LBB0_29:
mov x0, x19
mov x1, x20
bl _JsonSetStr
b LBB0_32
LBB0_30:
bl _PackGetIntEx
LBB0_31:
mov x2, x0
mov x0, x19
mov x1, x20
bl _JsonSetNumber
LBB0_32:
ldur x8, [x29, #-72]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_34
; %bb.33:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_34:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_6-LBB0_6)>>2
.byte (LBB0_9-LBB0_6)>>2
.byte (LBB0_12-LBB0_6)>>2
.byte (LBB0_15-LBB0_6)>>2
.byte (LBB0_19-LBB0_6)>>2
; -- End function
.comm _MAX_PATH,4,2 ; @MAX_PATH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "@"
l_.str.1: ; @.str.1
.space 1
.section __TEXT,__const
.p2align 2 ; @.str.2
l_.str.2:
.space 4
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Pack.c_PackElementToJsonObject.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_bus_can_wakeup ## -- Begin function acpi_bus_can_wakeup
.p2align 4, 0x90
_acpi_bus_can_wakeup: ## @acpi_bus_can_wakeup
.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
leaq -8(%rbp), %rsi
callq _acpi_bus_get_device
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne LBB0_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %eax
LBB0_2:
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 _acpi_bus_can_wakeup ; -- Begin function acpi_bus_can_wakeup
.p2align 2
_acpi_bus_can_wakeup: ; @acpi_bus_can_wakeup
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x1, sp, #8
bl _acpi_bus_get_device
cbz w0, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
ldr x8, [sp, #8]
ldr w0, [x8]
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/drivers/bus/acpi/busmgr/extr_bus.c_acpi_bus_can_wakeup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sa_default_locator ## -- Begin function sa_default_locator
.p2align 4, 0x90
_sa_default_locator: ## @sa_default_locator
.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 %r8, %r14
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
movl %ecx, %edi
callq _ASSERT
movq %r14, (%rbx)
movl %r15d, (%r12)
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 _sa_default_locator ; -- Begin function sa_default_locator
.p2align 2
_sa_default_locator: ; @sa_default_locator
.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, x4
mov x20, x2
mov x21, x1
mov x22, x0
mov x0, x3
bl _ASSERT
str x19, [x22]
str w20, [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/zfs/module/zfs/extr_sa.c_sa_default_locator.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function apply_mask
_apply_mask: ## @apply_mask
.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
testq %rdx, %rdx
jle LBB0_3
## %bb.1:
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
addq $12, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq _bit_to_alpha
movl %eax, (%r12)
incq %rbx
addq $16, %r12
cmpq %rbx, %r15
jne LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _apply_mask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function apply_mask
_apply_mask: ; @apply_mask
.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
cmp x2, #1
b.lt LBB0_3
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, #0
add x22, x0, #12
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x21
mov w2, #0
bl _bit_to_alpha
str w0, [x22], #16
add x21, x21, #1
cmp x19, x21
b.ne LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _apply_mask
.subsections_via_symbols
| AnghaBench/obs-studio/plugins/win-capture/extr_cursor-capture.c_apply_mask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function glfwSetTime
LCPI0_0:
.quad 0x42112e0be8240000 ## double 18446744073
.section __TEXT,__text,regular,pure_instructions
.globl _glfwSetTime
.p2align 4, 0x90
_glfwSetTime: ## @glfwSetTime
.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
movsd %xmm0, -16(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq __GLFW_REQUIRE_INIT
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm0, %xmm0
jnp LBB0_3
## %bb.1:
ucomisd LCPI0_0(%rip), %xmm0
ja LBB0_3
## %bb.2:
xorl %eax, %eax
callq __glfwPlatformGetTimerValue
movq %rax, %rbx
xorl %eax, %eax
callq __glfwPlatformGetTimerFrequency
mulsd -16(%rbp), %xmm0 ## 8-byte Folded Reload
cvttsd2si %xmm0, %rax
subq %rax, %rbx
movq __glfw@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_3:
movq _GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp __glfwInputError ## TAILCALL
.cfi_endproc
## -- End function
.comm _GLFW_INVALID_VALUE,4,2 ## @GLFW_INVALID_VALUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid time %f"
.comm __glfw,8,3 ## @_glfw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _glfwSetTime ; -- Begin function glfwSetTime
.p2align 2
_glfwSetTime: ; @glfwSetTime
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
fmov d8, d0
bl __GLFW_REQUIRE_INIT
fcmp d8, d8
mov x8, #3894673408 ; =0xe8240000
movk x8, #11787, lsl #32
movk x8, #16913, lsl #48
fmov d0, x8
fccmp d8, d0, #0, vs
b.le LBB0_2
; %bb.1:
Lloh0:
adrp x8, _GLFW_INVALID_VALUE@GOTPAGE
Lloh1:
ldr x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
fmov d0, d8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
b __glfwInputError
LBB0_2:
bl __glfwPlatformGetTimerValue
mov x19, x0
bl __glfwPlatformGetTimerFrequency
fmul d0, d0, d8
fcvtzs x8, d0
sub x8, x19, x8
Lloh5:
adrp x9, __glfw@GOTPAGE
Lloh6:
ldr x9, [x9, __glfw@GOTPAGEOFF]
Lloh7:
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _GLFW_INVALID_VALUE,4,2 ; @GLFW_INVALID_VALUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid time %f"
.comm __glfw,8,3 ; @_glfw
.subsections_via_symbols
| assembly_file_125754.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function SetRFPowerState8190
_SetRFPowerState8190: ## @SetRFPowerState8190
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r12
callq _ieee80211_priv
xorl %ebx, %ebx
cmpl $1, (%rax)
je LBB0_25
## %bb.1:
movq %rax, %r13
movq 8(%rax), %rbx
movq _COMP_POWER@GOTPCREL(%rip), %r14
movl (%r14), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
movl $1, (%r13)
cmpl $133, 4(%r13)
jne LBB0_21
## %bb.2:
cmpl $128, %r15d
je LBB0_6
## %bb.3:
cmpl $130, %r15d
je LBB0_6
## %bb.4:
cmpl $129, %r15d
jne LBB0_20
## %bb.5:
movl (%r14), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
movq _ANAPAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl $55, %edx
callq _write_nic_byte
movq _MacBlkCtrl@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl $23, %edx
callq _write_nic_byte
movl $1, %edi
callq _mdelay
movl $0, 16(%r13)
movq _BB_RESET@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r12, %rdi
movl %ebx, %esi
callq _read_nic_byte
movq _BIT0@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _write_nic_byte
movq _rFPGA0_AnalogParameter2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl $536870912, %edx ## imm = 0x20000000
movl $1, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_AnalogParameter1@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq %r12, %rdi
movl $96, %edx
movl $3, %ecx
callq _rtl8192_setBBreg
movl (%rbx), %esi
movq %r12, %rdi
movl $152, %edx
movl $19, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_AnalogParameter4@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
movl $3843, %edx ## imm = 0xF03
movl $3843, %ecx ## imm = 0xF03
callq _rtl8192_setBBreg
movq _rFPGA0_XA_RFInterfaceOE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _BIT4@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
movq %r12, %rdi
movl $1, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_XB_RFInterfaceOE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rbx), %edx
movq %r12, %rdi
movl $1, %ecx
callq _rtl8192_setBBreg
jmp LBB0_22
LBB0_21:
movq _COMP_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
jmp LBB0_22
LBB0_6:
movq %r12, -96(%rbp) ## 8-byte Spill
movl %r15d, -48(%rbp) ## 4-byte Spill
movl (%r14), %edi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
cmpl $0, 12(%rbx)
je LBB0_19
## %bb.7:
leaq 32(%r13), %rdi
leaq 24(%r13), %r8
leaq 48(%r13), %r9
leaq 40(%r13), %r10
leaq 64(%r13), %r11
leaq 56(%r13), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
leaq 80(%r13), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
leaq 72(%r13), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
leaq 96(%r13), %r14
movq %r13, %r12
addq $88, %r12
movq _MAX_TX_QUEUE@GOTPCREL(%rip), %rax
leaq LJTI0_0(%rip), %r15
movl $0, -44(%rbp) ## 4-byte Folded Spill
xorl %ebx, %ebx
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movl (%rax), %eax
cmpl %eax, %ebx
jl LBB0_9
jmp LBB0_19
LBB0_14: ## in Loop: Header=BB0_9 Depth=2
movq %r8, %rcx
movq %rdi, %rdx
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_9 Depth=2
movq (%rdx), %rdx
cmpq (%rcx), %rdx
jne LBB0_17
LBB0_16: ## in Loop: Header=BB0_9 Depth=2
incl %ebx
cmpl %ebx, %eax
je LBB0_19
LBB0_9: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
leal -131(%rbx), %ecx
cmpl $5, %ecx
ja LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movslq (%r15,%rcx,4), %rsi
addq %r15, %rsi
movq %r12, %rcx
movq %r14, %rdx
jmpq *%rsi
LBB0_13: ## in Loop: Header=BB0_9 Depth=2
movq %r10, %rcx
movq %r9, %rdx
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_9 Depth=2
movq -104(%rbp), %rcx ## 8-byte Reload
movq -112(%rbp), %rdx ## 8-byte Reload
jmp LBB0_15
LBB0_12: ## in Loop: Header=BB0_9 Depth=2
movq -120(%rbp), %rcx ## 8-byte Reload
movq %r11, %rdx
jmp LBB0_15
LBB0_17: ## in Loop: Header=BB0_8 Depth=1
movq _COMP_POWER@GOTPCREL(%rip), %rax
movq %rdi, -88(%rbp) ## 8-byte Spill
movl (%rax), %edi
movl -44(%rbp), %edx ## 4-byte Reload
incl %edx
movl %edx, -44(%rbp) ## 4-byte Spill
leaq L_.str.3(%rip), %rsi
movl %ebx, %ecx
xorl %eax, %eax
movq %r8, -80(%rbp) ## 8-byte Spill
movq %r9, -72(%rbp) ## 8-byte Spill
movq %r10, -64(%rbp) ## 8-byte Spill
movq %r11, -56(%rbp) ## 8-byte Spill
callq _RT_TRACE
movl $10, %edi
callq _udelay
movq -56(%rbp), %r11 ## 8-byte Reload
movq -64(%rbp), %r10 ## 8-byte Reload
movq -72(%rbp), %r9 ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movq -88(%rbp), %rdi ## 8-byte Reload
movq _MAX_DOZE_WAITING_TIMES_9x@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpl %edx, -44(%rbp) ## 4-byte Folded Reload
movq _MAX_TX_QUEUE@GOTPCREL(%rip), %rax
jl LBB0_8
## %bb.18:
movq _COMP_POWER@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
movl %ebx, %ecx
xorl %eax, %eax
callq _RT_TRACE
LBB0_19:
movq _rFPGA0_XA_RFInterfaceOE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _BIT4@GOTPCREL(%rip), %r14
movl (%r14), %edx
movq -96(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
xorl %ecx, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_XB_RFInterfaceOE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
movq %rbx, %rdi
xorl %ecx, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_AnalogParameter4@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $3843, %edx ## imm = 0xF03
xorl %ecx, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_AnalogParameter1@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
movl $152, %edx
xorl %ecx, %ecx
callq _rtl8192_setBBreg
movl (%r14), %esi
movq %rbx, %rdi
movl $96, %edx
xorl %ecx, %ecx
callq _rtl8192_setBBreg
movq _rFPGA0_AnalogParameter2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $536870912, %edx ## imm = 0x20000000
xorl %ecx, %ecx
callq _rtl8192_setBBreg
movq _BB_RESET@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq _read_nic_byte
movq _BIT0@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
callq _write_nic_byte
movq _MacBlkCtrl@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _write_nic_byte
movq _ANAPAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $7, %edx
callq _write_nic_byte
movl $0, 16(%r13)
movq _COMP_POWER@GOTPCREL(%rip), %r14
movl -48(%rbp), %r15d ## 4-byte Reload
LBB0_22:
movq 8(%r13), %rax
movl %r15d, (%rax)
movl $1, %ebx
cmpl $133, 4(%r13)
je LBB0_24
## %bb.23:
movq _COMP_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _RT_TRACE
jmp LBB0_24
LBB0_20:
movq _COMP_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
xorl %ebx, %ebx
movl %r15d, %edx
xorl %eax, %eax
callq _RT_TRACE
LBB0_24:
movl $0, (%r13)
movl (%r14), %edi
leaq L_.str.7(%rip), %rsi
movl %ebx, %edx
xorl %eax, %eax
callq _RT_TRACE
LBB0_25:
movl %ebx, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_14
.long L0_0_set_13
.long L0_0_set_16
.long L0_0_set_15
.long L0_0_set_11
.long L0_0_set_12
.end_data_region
## -- End function
.comm _COMP_POWER,4,2 ## @COMP_POWER
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "===========> SetRFPowerState8190()!\n"
L_.str.1: ## @.str.1
.asciz "SetRFPowerState8190() eRfOn !\n"
.comm _ANAPAR,4,2 ## @ANAPAR
.comm _MacBlkCtrl,4,2 ## @MacBlkCtrl
.comm _BB_RESET,4,2 ## @BB_RESET
.comm _BIT0,4,2 ## @BIT0
.comm _rFPGA0_AnalogParameter2,4,2 ## @rFPGA0_AnalogParameter2
.comm _rFPGA0_AnalogParameter1,4,2 ## @rFPGA0_AnalogParameter1
.comm _rFPGA0_AnalogParameter4,4,2 ## @rFPGA0_AnalogParameter4
.comm _rFPGA0_XA_RFInterfaceOE,4,2 ## @rFPGA0_XA_RFInterfaceOE
.comm _BIT4,4,2 ## @BIT4
.comm _rFPGA0_XB_RFInterfaceOE,4,2 ## @rFPGA0_XB_RFInterfaceOE
L_.str.2: ## @.str.2
.asciz "SetRFPowerState8190() eRfOff/Sleep !\n"
.comm _MAX_TX_QUEUE,4,2 ## @MAX_TX_QUEUE
L_.str.3: ## @.str.3
.asciz "eRf Off/Sleep: %d times BusyQueue[%d] !=0 before doze!\n"
.comm _MAX_DOZE_WAITING_TIMES_9x,4,2 ## @MAX_DOZE_WAITING_TIMES_9x
L_.str.4: ## @.str.4
.asciz "\n\n\n TimeOut!! SetRFPowerState8190(): eRfOff: %d times BusyQueue[%d] != 0 !!!\n\n\n"
.comm _COMP_ERR,4,2 ## @COMP_ERR
L_.str.5: ## @.str.5
.asciz "SetRFPowerState8190(): unknow state to set: 0x%X!!!\n"
L_.str.6: ## @.str.6
.asciz "SetRFPowerState8190(): Unknown RF type\n"
.comm _RF_CHANGE_BY_IPS,4,2 ## @RF_CHANGE_BY_IPS
.comm _IEEE80211_LINKED,4,2 ## @IEEE80211_LINKED
L_.str.7: ## @.str.7
.asciz "<=========== SetRFPowerState8190() bResult = %d!\n"
.comm _Adapter,8,3 ## @Adapter
.comm _LED_CTL_LINK,4,2 ## @LED_CTL_LINK
.comm _LED_CTL_NO_LINK,4,2 ## @LED_CTL_NO_LINK
.comm _LED_CTL_POWER_OFF,4,2 ## @LED_CTL_POWER_OFF
.comm _RF_1T2R,4,2 ## @RF_1T2R
.comm _RF_2T4R,4,2 ## @RF_2T4R
.comm _rFPGA0_XC_RFInterfaceOE,4,2 ## @rFPGA0_XC_RFInterfaceOE
.comm _rOFDM0_TRxPathEnable,4,2 ## @rOFDM0_TRxPathEnable
.comm _rOFDM1_TRxPathEnable,4,2 ## @rOFDM1_TRxPathEnable
.no_dead_strip _SetRFPowerState8190
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function SetRFPowerState8190
_SetRFPowerState8190: ; @SetRFPowerState8190
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x21, x0
bl _ieee80211_priv
ldr w8, [x0]
cmp w8, #1
b.ne LBB0_2
; %bb.1:
mov w20, #0
b LBB0_26
LBB0_2:
mov x19, x0
ldr x22, [x0, #8]
Lloh0:
adrp x23, _COMP_POWER@GOTPAGE
Lloh1:
ldr x23, [x23, _COMP_POWER@GOTPAGEOFF]
ldr w0, [x23]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _RT_TRACE
mov w8, #1
str w8, [x19]
ldr w8, [x19, #4]
cmp w8, #133
b.ne LBB0_7
; %bb.3:
cmp w20, #128
b.eq LBB0_8
; %bb.4:
cmp w20, #130
b.eq LBB0_8
; %bb.5:
cmp w20, #129
b.ne LBB0_27
; %bb.6:
ldr w0, [x23]
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
bl _RT_TRACE
Lloh6:
adrp x8, _ANAPAR@GOTPAGE
Lloh7:
ldr x8, [x8, _ANAPAR@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x21
mov w2, #55
bl _write_nic_byte
Lloh9:
adrp x8, _MacBlkCtrl@GOTPAGE
Lloh10:
ldr x8, [x8, _MacBlkCtrl@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x21
mov w2, #23
bl _write_nic_byte
mov w0, #1
bl _mdelay
str wzr, [x19, #16]
Lloh12:
adrp x8, _BB_RESET@GOTPAGE
Lloh13:
ldr x8, [x8, _BB_RESET@GOTPAGEOFF]
Lloh14:
ldr w22, [x8]
mov x0, x21
mov x1, x22
bl _read_nic_byte
Lloh15:
adrp x8, _BIT0@GOTPAGE
Lloh16:
ldr x8, [x8, _BIT0@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
orr w2, w8, w0
mov x0, x21
mov x1, x22
bl _write_nic_byte
Lloh18:
adrp x8, _rFPGA0_AnalogParameter2@GOTPAGE
Lloh19:
ldr x8, [x8, _rFPGA0_AnalogParameter2@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x21
mov w2, #536870912
mov w3, #1
bl _rtl8192_setBBreg
Lloh21:
adrp x22, _rFPGA0_AnalogParameter1@GOTPAGE
Lloh22:
ldr x22, [x22, _rFPGA0_AnalogParameter1@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x21
mov w2, #96
mov w3, #3
bl _rtl8192_setBBreg
ldr w1, [x22]
mov x0, x21
mov w2, #152
mov w3, #19
bl _rtl8192_setBBreg
Lloh23:
adrp x8, _rFPGA0_AnalogParameter4@GOTPAGE
Lloh24:
ldr x8, [x8, _rFPGA0_AnalogParameter4@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
mov x0, x21
mov w2, #3843
mov w3, #3843
bl _rtl8192_setBBreg
Lloh26:
adrp x8, _rFPGA0_XA_RFInterfaceOE@GOTPAGE
Lloh27:
ldr x8, [x8, _rFPGA0_XA_RFInterfaceOE@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
Lloh29:
adrp x22, _BIT4@GOTPAGE
Lloh30:
ldr x22, [x22, _BIT4@GOTPAGEOFF]
ldr w2, [x22]
mov x0, x21
mov w3, #1
bl _rtl8192_setBBreg
Lloh31:
adrp x8, _rFPGA0_XB_RFInterfaceOE@GOTPAGE
Lloh32:
ldr x8, [x8, _rFPGA0_XB_RFInterfaceOE@GOTPAGEOFF]
Lloh33:
ldr w1, [x8]
ldr w2, [x22]
mov x0, x21
mov w3, #1
bl _rtl8192_setBBreg
b LBB0_22
LBB0_7:
Lloh34:
adrp x8, _COMP_ERR@GOTPAGE
Lloh35:
ldr x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
Lloh37:
adrp x1, l_.str.6@PAGE
Lloh38:
add x1, x1, l_.str.6@PAGEOFF
bl _RT_TRACE
b LBB0_22
LBB0_8:
ldr w0, [x23]
Lloh39:
adrp x1, l_.str.2@PAGE
Lloh40:
add x1, x1, l_.str.2@PAGEOFF
bl _RT_TRACE
ldr w8, [x22, #12]
cbz w8, LBB0_21
; %bb.9:
mov w25, #0
mov w24, #0
add x12, x19, #32
add x13, x19, #24
add x14, x19, #48
add x15, x19, #40
add x16, x19, #64
add x17, x19, #56
add x0, x19, #80
add x4, x19, #72
add x22, x19, #96
add x23, x19, #88
Lloh41:
adrp x28, _MAX_TX_QUEUE@GOTPAGE
Lloh42:
ldr x28, [x28, _MAX_TX_QUEUE@GOTPAGEOFF]
Lloh43:
adrp x26, lJTI0_0@PAGE
Lloh44:
add x26, x26, lJTI0_0@PAGEOFF
Lloh45:
adrp x27, _MAX_DOZE_WAITING_TIMES_9x@GOTPAGE
Lloh46:
ldr x27, [x27, _MAX_DOZE_WAITING_TIMES_9x@GOTPAGEOFF]
Lloh47:
adrp x1, l_.str.3@PAGE
Lloh48:
add x1, x1, l_.str.3@PAGEOFF
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
ldr w8, [x28]
cmp w24, w8
b.lt LBB0_14
b LBB0_21
LBB0_11: ; in Loop: Header=BB0_14 Depth=2
mov x9, x13
mov x10, x12
LBB0_12: ; in Loop: Header=BB0_14 Depth=2
ldr x10, [x10]
ldr x9, [x9]
cmp x10, x9
b.ne LBB0_19
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
add w24, w24, #1
cmp w8, w24
b.eq LBB0_21
LBB0_14: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
sub w9, w24, #131
cmp w9, #5
b.hi LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
adr x11, LBB0_11
ldrb w10, [x26, x9]
add x11, x11, x10, lsl #2
mov x9, x23
mov x10, x22
br x11
LBB0_16: ; in Loop: Header=BB0_14 Depth=2
mov x9, x15
mov x10, x14
b LBB0_12
LBB0_17: ; in Loop: Header=BB0_14 Depth=2
mov x9, x4
mov x10, x0
b LBB0_12
LBB0_18: ; in Loop: Header=BB0_14 Depth=2
mov x9, x17
mov x10, x16
b LBB0_12
LBB0_19: ; in Loop: Header=BB0_10 Depth=1
Lloh49:
adrp x8, _COMP_POWER@GOTPAGE
Lloh50:
ldr x8, [x8, _COMP_POWER@GOTPAGEOFF]
stp x4, x0, [sp, #32] ; 16-byte Folded Spill
Lloh51:
ldr w0, [x8]
add w25, w25, #1
stp x25, x24, [sp]
stp x13, x12, [sp, #64] ; 16-byte Folded Spill
stp x15, x14, [sp, #48] ; 16-byte Folded Spill
stp x17, x16, [sp, #16] ; 16-byte Folded Spill
bl _RT_TRACE
mov w0, #10
bl _udelay
Lloh52:
adrp x1, l_.str.3@PAGE
Lloh53:
add x1, x1, l_.str.3@PAGEOFF
ldp x4, x0, [sp, #32] ; 16-byte Folded Reload
ldp x17, x16, [sp, #16] ; 16-byte Folded Reload
ldp x15, x14, [sp, #48] ; 16-byte Folded Reload
ldp x13, x12, [sp, #64] ; 16-byte Folded Reload
ldr w8, [x27]
cmp w25, w8
b.lt LBB0_10
; %bb.20:
Lloh54:
adrp x9, _COMP_POWER@GOTPAGE
Lloh55:
ldr x9, [x9, _COMP_POWER@GOTPAGEOFF]
Lloh56:
ldr w0, [x9]
; kill: def $w24 killed $w24 killed $x24 def $x24
stp x8, x24, [sp]
Lloh57:
adrp x1, l_.str.4@PAGE
Lloh58:
add x1, x1, l_.str.4@PAGEOFF
bl _RT_TRACE
LBB0_21:
Lloh59:
adrp x8, _rFPGA0_XA_RFInterfaceOE@GOTPAGE
Lloh60:
ldr x8, [x8, _rFPGA0_XA_RFInterfaceOE@GOTPAGEOFF]
Lloh61:
ldr w1, [x8]
Lloh62:
adrp x22, _BIT4@GOTPAGE
Lloh63:
ldr x22, [x22, _BIT4@GOTPAGEOFF]
ldr w2, [x22]
mov x0, x21
mov w3, #0
bl _rtl8192_setBBreg
Lloh64:
adrp x8, _rFPGA0_XB_RFInterfaceOE@GOTPAGE
Lloh65:
ldr x8, [x8, _rFPGA0_XB_RFInterfaceOE@GOTPAGEOFF]
Lloh66:
ldr w1, [x8]
ldr w2, [x22]
mov x0, x21
mov w3, #0
bl _rtl8192_setBBreg
Lloh67:
adrp x8, _rFPGA0_AnalogParameter4@GOTPAGE
Lloh68:
ldr x8, [x8, _rFPGA0_AnalogParameter4@GOTPAGEOFF]
Lloh69:
ldr w1, [x8]
mov x0, x21
mov w2, #3843
mov w3, #0
bl _rtl8192_setBBreg
Lloh70:
adrp x22, _rFPGA0_AnalogParameter1@GOTPAGE
Lloh71:
ldr x22, [x22, _rFPGA0_AnalogParameter1@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x21
mov w2, #152
mov w3, #0
bl _rtl8192_setBBreg
ldr w1, [x22]
mov x0, x21
mov w2, #96
mov w3, #0
bl _rtl8192_setBBreg
Lloh72:
adrp x8, _rFPGA0_AnalogParameter2@GOTPAGE
Lloh73:
ldr x8, [x8, _rFPGA0_AnalogParameter2@GOTPAGEOFF]
Lloh74:
ldr w1, [x8]
mov x0, x21
mov w2, #536870912
mov w3, #0
bl _rtl8192_setBBreg
Lloh75:
adrp x8, _BB_RESET@GOTPAGE
Lloh76:
ldr x8, [x8, _BB_RESET@GOTPAGEOFF]
Lloh77:
ldr w22, [x8]
mov x0, x21
mov x1, x22
bl _read_nic_byte
Lloh78:
adrp x8, _BIT0@GOTPAGE
Lloh79:
ldr x8, [x8, _BIT0@GOTPAGEOFF]
Lloh80:
ldr w8, [x8]
orr w2, w8, w0
mov x0, x21
mov x1, x22
bl _write_nic_byte
Lloh81:
adrp x8, _MacBlkCtrl@GOTPAGE
Lloh82:
ldr x8, [x8, _MacBlkCtrl@GOTPAGEOFF]
Lloh83:
ldr w1, [x8]
mov x0, x21
mov w2, #0
bl _write_nic_byte
Lloh84:
adrp x8, _ANAPAR@GOTPAGE
Lloh85:
ldr x8, [x8, _ANAPAR@GOTPAGEOFF]
Lloh86:
ldr w1, [x8]
mov x0, x21
mov w2, #7
bl _write_nic_byte
str wzr, [x19, #16]
Lloh87:
adrp x23, _COMP_POWER@GOTPAGE
Lloh88:
ldr x23, [x23, _COMP_POWER@GOTPAGEOFF]
LBB0_22:
ldr x8, [x19, #8]
str w20, [x8]
ldr w8, [x19, #4]
cmp w8, #133
b.eq LBB0_24
; %bb.23:
Lloh89:
adrp x8, _COMP_ERR@GOTPAGE
Lloh90:
ldr x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh91:
ldr w0, [x8]
Lloh92:
adrp x1, l_.str.6@PAGE
Lloh93:
add x1, x1, l_.str.6@PAGEOFF
bl _RT_TRACE
LBB0_24:
mov w20, #1
LBB0_25:
str wzr, [x19]
ldr w0, [x23]
str x20, [sp]
Lloh94:
adrp x1, l_.str.7@PAGE
Lloh95:
add x1, x1, l_.str.7@PAGEOFF
bl _RT_TRACE
LBB0_26:
mov x0, x20
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_27:
Lloh96:
adrp x8, _COMP_ERR@GOTPAGE
Lloh97:
ldr x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh98:
ldr w0, [x8]
str x20, [sp]
Lloh99:
adrp x1, l_.str.5@PAGE
Lloh100:
add x1, x1, l_.str.5@PAGEOFF
bl _RT_TRACE
mov w20, #0
b LBB0_25
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGot Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGot Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh99, Lloh100
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_11-LBB0_11)>>2
.byte (LBB0_16-LBB0_11)>>2
.byte (LBB0_13-LBB0_11)>>2
.byte (LBB0_12-LBB0_11)>>2
.byte (LBB0_17-LBB0_11)>>2
.byte (LBB0_18-LBB0_11)>>2
; -- End function
.comm _COMP_POWER,4,2 ; @COMP_POWER
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "===========> SetRFPowerState8190()!\n"
l_.str.1: ; @.str.1
.asciz "SetRFPowerState8190() eRfOn !\n"
.comm _ANAPAR,4,2 ; @ANAPAR
.comm _MacBlkCtrl,4,2 ; @MacBlkCtrl
.comm _BB_RESET,4,2 ; @BB_RESET
.comm _BIT0,4,2 ; @BIT0
.comm _rFPGA0_AnalogParameter2,4,2 ; @rFPGA0_AnalogParameter2
.comm _rFPGA0_AnalogParameter1,4,2 ; @rFPGA0_AnalogParameter1
.comm _rFPGA0_AnalogParameter4,4,2 ; @rFPGA0_AnalogParameter4
.comm _rFPGA0_XA_RFInterfaceOE,4,2 ; @rFPGA0_XA_RFInterfaceOE
.comm _BIT4,4,2 ; @BIT4
.comm _rFPGA0_XB_RFInterfaceOE,4,2 ; @rFPGA0_XB_RFInterfaceOE
l_.str.2: ; @.str.2
.asciz "SetRFPowerState8190() eRfOff/Sleep !\n"
.comm _MAX_TX_QUEUE,4,2 ; @MAX_TX_QUEUE
l_.str.3: ; @.str.3
.asciz "eRf Off/Sleep: %d times BusyQueue[%d] !=0 before doze!\n"
.comm _MAX_DOZE_WAITING_TIMES_9x,4,2 ; @MAX_DOZE_WAITING_TIMES_9x
l_.str.4: ; @.str.4
.asciz "\n\n\n TimeOut!! SetRFPowerState8190(): eRfOff: %d times BusyQueue[%d] != 0 !!!\n\n\n"
.comm _COMP_ERR,4,2 ; @COMP_ERR
l_.str.5: ; @.str.5
.asciz "SetRFPowerState8190(): unknow state to set: 0x%X!!!\n"
l_.str.6: ; @.str.6
.asciz "SetRFPowerState8190(): Unknown RF type\n"
.comm _RF_CHANGE_BY_IPS,4,2 ; @RF_CHANGE_BY_IPS
.comm _IEEE80211_LINKED,4,2 ; @IEEE80211_LINKED
l_.str.7: ; @.str.7
.asciz "<=========== SetRFPowerState8190() bResult = %d!\n"
.comm _Adapter,8,3 ; @Adapter
.comm _LED_CTL_LINK,4,2 ; @LED_CTL_LINK
.comm _LED_CTL_NO_LINK,4,2 ; @LED_CTL_NO_LINK
.comm _LED_CTL_POWER_OFF,4,2 ; @LED_CTL_POWER_OFF
.comm _RF_1T2R,4,2 ; @RF_1T2R
.comm _RF_2T4R,4,2 ; @RF_2T4R
.comm _rFPGA0_XC_RFInterfaceOE,4,2 ; @rFPGA0_XC_RFInterfaceOE
.comm _rOFDM0_TRxPathEnable,4,2 ; @rOFDM0_TRxPathEnable
.comm _rOFDM1_TRxPathEnable,4,2 ; @rOFDM1_TRxPathEnable
.no_dead_strip _SetRFPowerState8190
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8190_rtl8256.c_SetRFPowerState8190.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strchr ## -- Begin function ft_strchr
.p2align 4, 0x90
_ft_strchr: ## @ft_strchr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movzbl %sil, %eax
decq %rdi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl 1(%rdi), %ecx
incq %rdi
testl %ecx, %ecx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl %ecx, %eax
jne LBB0_3
LBB0_5:
movsbl %sil, %edx
xorl %eax, %eax
cmpl %ecx, %edx
cmoveq %rdi, %rax
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_strchr ; -- Begin function ft_strchr
.p2align 2
_ft_strchr: ; @ft_strchr
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
and w9, w1, #0xff
sub x8, x0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsb w10, [x8, #1]!
cmp w10, #0
ccmp w9, w10, #4, ne
b.ne LBB0_2
; %bb.3:
cmp w10, w1, sxtb
csel x0, x8, xzr, eq
LBB0_4:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/129603.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function kvm_handle_hva
_kvm_handle_hva: ## @kvm_handle_hva
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, -56(%rbp) ## 8-byte Spill
movl (%rdi), %edi
callq _rcu_dereference
cmpl $0, (%rax)
jle LBB0_16
## %bb.1:
movq %rbx, -80(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %ebx, %ebx
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r14, -48(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %r15d
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
incq %r13
movq -72(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rcx
movl %r15d, %ebx
cmpq %rcx, %r13
jge LBB0_17
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
movq 8(%rax), %r12
leaq (,%r13,4), %r14
addq %r13, %r14
movq (%r12,%r14,8), %rax
movq -80(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, %rax
ja LBB0_2
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq 8(%r12,%r14,8), %rdx
shlq %cl, %rdx
addq %rax, %rdx
cmpq %rsi, %rdx
jbe LBB0_2
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
subq %rax, %rsi
## kill: def $cl killed $cl killed $rcx
shrq %cl, %rsi
movq %rsi, -88(%rbp) ## 8-byte Spill
leaq (,%rsi,8), %rsi
addq 16(%r12,%r14,8), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
callq *-48(%rbp) ## 8-byte Folded Reload
movl %eax, %r15d
orl %ebx, %r15d
movq _KVM_NR_PAGE_SIZES@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jl LBB0_3
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
leaq (%r12,%r14,8), %r12
addq $24, %r12
xorl %ebx, %ebx
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_10 Depth=2
movq %rdi, %rax
xorl %edx, %edx
divq %rcx
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
subq %rax, %rsi
movq 8(%r12), %rax
shlq $3, %rsi
addq (%rax,%rbx,8), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
callq *%r14
orl %eax, %r15d
incq %rbx
movq _KVM_NR_PAGE_SIZES@GOTPCREL(%rip), %rax
movslq (%rax), %rax
decq %rax
cmpq %rax, %rbx
jge LBB0_3
LBB0_10: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq _PT_DIRECTORY_LEVEL@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq %rbx, %rdi
callq _KVM_PAGES_PER_HPAGE
movl %eax, %r8d
movq (%r12), %rdi
movq -88(%rbp), %rax ## 8-byte Reload
addq %rdi, %rax
movslq %r8d, %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
xorl %edx, %edx
divq %rcx
movq %rax, %rsi
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r8d
movl %eax, %esi
LBB0_13: ## in Loop: Header=BB0_10 Depth=2
movq %rdi, %rax
orq %rcx, %rax
shrq $32, %rax
jne LBB0_8
## %bb.14: ## in Loop: Header=BB0_10 Depth=2
movl %edi, %eax
xorl %edx, %edx
divl %r8d
## kill: def $eax killed $eax def $rax
jmp LBB0_9
LBB0_16:
xorl %r15d, %r15d
LBB0_17:
movl %r15d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.comm _KVM_NR_PAGE_SIZES,4,2 ## @KVM_NR_PAGE_SIZES
.comm _PT_DIRECTORY_LEVEL,8,3 ## @PT_DIRECTORY_LEVEL
.no_dead_strip _kvm_handle_hva
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function kvm_handle_hva
_kvm_handle_hva: ; @kvm_handle_hva
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
ldr w0, [x0]
bl _rcu_dereference
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_9
; %bb.1:
stp x22, x20, [sp, #8] ; 16-byte Folded Spill
str x19, [sp, #24] ; 8-byte Folded Spill
mov x25, #0
mov w24, #0
mov w27, #40
Lloh0:
adrp x12, _KVM_NR_PAGE_SIZES@GOTPAGE
Lloh1:
ldr x12, [x12, _KVM_NR_PAGE_SIZES@GOTPAGEOFF]
stp x0, x21, [sp, #32] ; 16-byte Folded Spill
mov x20, x19
ldp x28, x22, [sp, #8] ; 16-byte Folded Reload
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x12, x19
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
ldp x0, x21, [sp, #32] ; 16-byte Folded Reload
ldrsw x8, [x0]
cmp x25, x8
mov w27, #40
b.ge LBB0_10
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldr x23, [x0, #8]
mul x8, x25, x27
ldr x8, [x23, x8]
cmp x8, x21
b.hi LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
Lloh2:
adrp x9, _PAGE_SHIFT@GOTPAGE
Lloh3:
ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
madd x10, x25, x27, x23
ldr x10, [x10, #8]
lsl x10, x10, x9
add x10, x10, x8
cmp x10, x21
b.ls LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub x8, x21, x8
lsr x26, x8, x9
madd x8, x25, x27, x23
ldr x8, [x8, #16]
add x1, x8, x26, lsl #3
ldp x0, x2, [sp, #8] ; 16-byte Folded Reload
mov x19, x12
ldr x8, [sp, #24] ; 8-byte Folded Reload
blr x8
orr w24, w0, w24
ldr w8, [x19]
cmp w8, #2
b.lt LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x21, #0
madd x8, x25, x27, x23
add x23, x8, #24
add x27, x8, #32
Lloh5:
adrp x9, _PT_DIRECTORY_LEVEL@GOTPAGE
Lloh6:
ldr x9, [x9, _PT_DIRECTORY_LEVEL@GOTPAGEOFF]
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x9]
add x0, x21, x8
bl _KVM_PAGES_PER_HPAGE
; kill: def $w0 killed $w0 def $x0
ldr x8, [x23]
add x9, x8, x26
sxtw x10, w0
udiv x9, x9, x10
udiv x8, x8, x10
sub x8, x9, x8
ldr x9, [x27]
ldr x9, [x9, x21, lsl #3]
add x1, x9, x8, lsl #3
mov x0, x28
mov x2, x22
blr x20
mov x12, x19
Lloh7:
adrp x9, _PT_DIRECTORY_LEVEL@GOTPAGE
Lloh8:
ldr x9, [x9, _PT_DIRECTORY_LEVEL@GOTPAGEOFF]
orr w24, w0, w24
add x21, x21, #1
ldrsw x8, [x19]
sub x8, x8, #1
cmp x21, x8
b.lt LBB0_8
b LBB0_3
LBB0_9:
mov w24, #0
LBB0_10:
mov x0, x24
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.comm _KVM_NR_PAGE_SIZES,4,2 ; @KVM_NR_PAGE_SIZES
.comm _PT_DIRECTORY_LEVEL,8,3 ; @PT_DIRECTORY_LEVEL
.no_dead_strip _kvm_handle_hva
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_mmu.c_kvm_handle_hva.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function u132_ring_cancel_work
_u132_ring_cancel_work: ## @u132_ring_cancel_work
.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 %rsi, %rdi
callq _cancel_delayed_work
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _u132_hcd_delete@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kref_put ## TAILCALL
LBB0_1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _u132_hcd_delete,4,2 ## @u132_hcd_delete
.no_dead_strip _u132_ring_cancel_work
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function u132_ring_cancel_work
_u132_ring_cancel_work: ; @u132_ring_cancel_work
.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
mov x0, x1
bl _cancel_delayed_work
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _u132_hcd_delete@GOTPAGE
Lloh1:
ldr x8, [x8, _u132_hcd_delete@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kref_put
LBB0_2:
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 _u132_hcd_delete,4,2 ; @u132_hcd_delete
.no_dead_strip _u132_ring_cancel_work
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/host/extr_u132-hcd.c_u132_ring_cancel_work.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rb4xx_read
_rb4xx_read: ## @rb4xx_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rsi
movq %rsi, %rdi
popq %rbp
jmp ___raw_readl ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rb4xx_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rb4xx_read
_rb4xx_read: ; @rb4xx_read
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x0, x8, x1
b ___raw_readl
.cfi_endproc
; -- End function
.no_dead_strip _rb4xx_read
.subsections_via_symbols
| AnghaBench/linux/drivers/spi/extr_spi-rb4xx.c_rb4xx_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function print_bin
_print_bin: ## @print_bin
.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 $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -208(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rdx, -224(%rbp) ## 8-byte Spill
testq %rdx, %rdx
je LBB0_1
## %bb.2:
movq %rsi, %r14
movq %rdi, %r13
xorl %ebx, %ebx
movl $0, %r15d
testl %r8d, %r8d
jle LBB0_4
## %bb.3:
cmpl $128, %r8d
movl $128, %r15d
cmovll %r8d, %r15d
leaq -192(%rbp), %r12
movq %r12, %rdi
movl $32, %esi
movl %r15d, %edx
callq _memset
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq _BIO_write
testq %rax, %rax
jle LBB0_12
LBB0_4:
leaq L_.str(%rip), %rsi
movq %r13, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _BIO_printf
testq %rax, %rax
jle LBB0_12
## %bb.5:
leal 4(%r15), %eax
movl %eax, -196(%rbp) ## 4-byte Spill
addl $5, %r15d
movq %r15, -216(%rbp) ## 8-byte Spill
movq -208(%rbp), %rax ## 8-byte Reload
leaq -1(%rax), %r15
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movq -224(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%r14), %edx
leaq 1(%r14), %r12
cmpq %r14, %r15
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rax
cmoveq %rax, %rcx
movq %r13, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _BIO_printf
movq %r12, %r14
testq %rax, %rax
jle LBB0_12
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %r14, %rax
movabsq $-8608480567731124087, %rcx ## imm = 0x8888888888888889
mulq %rcx
cmpq %r14, -208(%rbp) ## 8-byte Folded Reload
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
shrq $3, %rdx
leaq (%rdx,%rdx,4), %rax
leaq (%rax,%rax,2), %rax
cmpq %r14, %rax
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movb $10, -192(%rbp)
leaq -191(%rbp), %rdi
movl $32, %esi
movl -196(%rbp), %edx ## 4-byte Reload
callq _memset
movq %r13, %rdi
leaq -192(%rbp), %rsi
movq -216(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _BIO_write
testq %rax, %rax
jg LBB0_10
## %bb.9:
xorl %ebx, %ebx
jmp LBB0_12
LBB0_1:
movl $1, %ebx
jmp LBB0_12
LBB0_11:
leaq L_.str.4(%rip), %rsi
movq %r13, %rdi
movl $1, %edx
callq _BIO_write
xorl %ebx, %ebx
testq %rax, %rax
setg %bl
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.13:
movl %ebx, %eax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%02x%s"
L_.str.2: ## @.str.2
.space 1
L_.str.3: ## @.str.3
.asciz ":"
L_.str.4: ## @.str.4
.asciz "\n"
.no_dead_strip _print_bin
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function print_bin
_print_bin: ; @print_bin
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #192] ; 16-byte Folded Spill
stp x26, x25, [sp, #208] ; 16-byte Folded Spill
stp x24, x23, [sp, #224] ; 16-byte Folded Spill
stp x22, x21, [sp, #240] ; 16-byte Folded Spill
stp x20, x19, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.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]
stur x8, [x29, #-96]
cbz x2, LBB0_3
; %bb.1:
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
cmp w4, #1
b.lt LBB0_4
; %bb.2:
mov w8, #128
cmp w4, #128
csel w24, w4, w8, lt
add x0, sp, #43
mov w1, #32
mov x2, x24
bl _memset
add x1, sp, #43
mov x0, x19
mov x2, x24
bl _BIO_write
cmp x0, #1
b.ge LBB0_5
b LBB0_11
LBB0_3:
mov w0, #1
b LBB0_13
LBB0_4:
mov w24, #0
LBB0_5:
str x22, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _BIO_printf
cmp x0, #1
b.lt LBB0_11
; %bb.6:
mov x26, #0
mov x27, #0
add x8, sp, #43
add x8, x8, #1
str x8, [sp, #32] ; 8-byte Folded Spill
add w8, w24, #4
str w8, [sp, #28] ; 4-byte Folded Spill
add w24, w24, #5
mov x28, #-8608480567731124088
movk x28, #34953
Lloh5:
adrp x22, l_.str.3@PAGE
Lloh6:
add x22, x22, l_.str.3@PAGEOFF
Lloh7:
adrp x23, l_.str.2@PAGE
Lloh8:
add x23, x23, l_.str.2@PAGEOFF
Lloh9:
adrp x25, l_.str.1@PAGE
Lloh10:
add x25, x25, l_.str.1@PAGEOFF
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
ldrb w8, [x21], #1
add x27, x27, #1
subs x20, x20, #1
csel x9, x23, x22, eq
stp x8, x9, [sp]
mov x0, x19
mov x1, x25
bl _BIO_printf
sub x26, x26, #1
cmp x0, #1
b.lt LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
cbz x20, LBB0_12
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
umulh x8, x27, x28
lsr x8, x8, #3
lsl x9, x8, #4
sub x8, x9, x8
add x8, x26, x8
cbnz x8, LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov w8, #10
strb w8, [sp, #43]
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov w1, #32
ldr w2, [sp, #28] ; 4-byte Folded Reload
bl _memset
add x1, sp, #43
mov x0, x19
mov x2, x24
bl _BIO_write
cmp x0, #1
b.ge LBB0_7
LBB0_11:
mov w0, #0
b LBB0_13
LBB0_12:
Lloh11:
adrp x1, l_.str.4@PAGE
Lloh12:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
mov w2, #1
bl _BIO_write
cmp x0, #0
cset w0, gt
LBB0_13:
ldur x8, [x29, #-96]
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_15
; %bb.14:
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x20, x19, [sp, #256] ; 16-byte Folded Reload
ldp x22, x21, [sp, #240] ; 16-byte Folded Reload
ldp x24, x23, [sp, #224] ; 16-byte Folded Reload
ldp x26, x25, [sp, #208] ; 16-byte Folded Reload
ldp x28, x27, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #288
ret
LBB0_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%02x%s"
l_.str.2: ; @.str.2
.space 1
l_.str.3: ; @.str.3
.asciz ":"
l_.str.4: ; @.str.4
.asciz "\n"
.no_dead_strip _print_bin
.subsections_via_symbols
| AnghaBench/openssl/crypto/ec/extr_eck_prn.c_print_bin.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function btusb_flush
_btusb_flush: ## @btusb_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _hci_get_drvdata
movq %rax, %r14
movl (%rbx), %esi
leaq L_.str(%rip), %rdi
callq _BT_DBG
movq %r14, %rdi
callq _usb_kill_anchored_urbs
movq %r14, %rdi
callq _btusb_free_frags
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.no_dead_strip _btusb_flush
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function btusb_flush
_btusb_flush: ; @btusb_flush
.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 _hci_get_drvdata
mov x20, x0
ldr w1, [x19]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _BT_DBG
mov x0, x20
bl _usb_kill_anchored_urbs
mov x0, x20
bl _btusb_free_frags
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.no_dead_strip _btusb_flush
.subsections_via_symbols
| AnghaBench/linux/drivers/bluetooth/extr_btusb.c_btusb_flush.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vdbeMergeEngineStep
_vdbeMergeEngineStep: ## @vdbeMergeEngineStep
.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, %r15
movq %rdi, %rbx
movq (%rdi), %rax
movq 24(%rdi), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movslq 4(%rax), %r14
movq %r14, %r13
shlq $4, %r13
movq 16(%rdi), %rdi
addq %r13, %rdi
callq _vdbePmaReaderNext
movq _SQLITE_OK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, %eax
jne LBB0_15
## %bb.1:
movl %eax, -48(%rbp) ## 4-byte Spill
movq %r15, -64(%rbp) ## 8-byte Spill
movl $0, -44(%rbp)
movl 8(%rbx), %r12d
addl %r14d, %r12d
movq 16(%rbx), %rax
cmpl $1, %r12d
movq %rbx, %rsi
jle LBB0_2
## %bb.3:
orq $16, %r13
addq %rax, %r13
andl $65534, %r14d ## imm = 0xFFFE
shlq $4, %r14
addq %rax, %r14
movl %r12d, %r15d
movq %rsi, -72(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq (%rsi), %rcx
movq 16(%rsi), %rax
movq %r14, %rdx
subq %rax, %rdx
shrq $4, %rdx
movl %edx, (%rcx,%rbx,4)
xorl $1, %ebx
movslq %ebx, %rdx
movslq (%rcx,%rdx,4), %r13
shlq $4, %r13
addq %rax, %r13
movl $0, -44(%rbp)
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
cmpl $3, %r12d
movl %r15d, %r12d
jle LBB0_14
LBB0_4: ## =>This Inner Loop Header: Depth=1
shrl $31, %r15d
addl %r12d, %r15d
sarl %r15d
cmpq $0, (%r14)
movslq %r15d, %rbx
je LBB0_12
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpq $0, (%r13)
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl 8(%r14), %ecx
movl 12(%r14), %edx
movl 8(%r13), %r9d
movl 12(%r13), %r8d
movq -56(%rbp), %rdi ## 8-byte Reload
leaq -44(%rbp), %rsi
callq *(%rdi)
movq -72(%rbp), %rsi ## 8-byte Reload
testl %eax, %eax
js LBB0_9
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpq %r13, %r14
jb LBB0_9
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
cmpq $0, (%r14)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movl $0, -44(%rbp)
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movq (%rsi), %rcx
movq 16(%rsi), %rax
movq %r13, %rdx
subq %rax, %rdx
shrq $4, %rdx
movl %edx, (%rcx,%rbx,4)
xorl $1, %ebx
movslq %ebx, %rdx
movslq (%rcx,%rdx,4), %r14
shlq $4, %r14
addq %rax, %r14
jmp LBB0_13
LBB0_2:
movq (%rsi), %rcx
LBB0_14:
movslq 4(%rcx), %rcx
shlq $4, %rcx
xorl %edx, %edx
cmpq $0, (%rax,%rcx)
sete %dl
movq -64(%rbp), %rax ## 8-byte Reload
movl %edx, (%rax)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl -48(%rbp), %eax ## 4-byte Reload
LBB0_15:
cmpl %ecx, %eax
jne LBB0_17
## %bb.16:
movq -56(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movl (%rax), %eax
LBB0_17:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.no_dead_strip _vdbeMergeEngineStep
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vdbeMergeEngineStep
_vdbeMergeEngineStep: ; @vdbeMergeEngineStep
.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 x21, x1
mov x22, x0
ldr x8, [x0]
ldrsw x24, [x8, #4]
ldp x8, x19, [x0, #16]
add x0, x8, x24, lsl #4
bl _vdbePmaReaderNext
mov x20, x0
Lloh0:
adrp x23, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x23, [x23, _SQLITE_OK@GOTPAGEOFF]
ldr w8, [x23]
cmp w0, w8
b.ne LBB0_15
; %bb.1:
and x9, x24, #0xffffffff
str wzr, [sp, #12]
ldr w8, [x22, #8]
add w24, w8, w9
ldr x8, [x22, #16]
cmp w24, #1
b.le LBB0_13
; %bb.2:
orr w10, w9, #0x1
add x25, x8, w10, sxtw #4
and x9, x9, #0xfffe
add x27, x8, x9, lsl #4
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x22, #16]
sub x9, x27, x8
lsr x10, x9, #4
ldr x9, [x22]
str w10, [x9, w26, sxtw #2]
sxtw x10, w26
eor x10, x10, #0x1
ldrsw x10, [x9, x10, lsl #2]
add x25, x8, x10, lsl #4
str wzr, [sp, #12]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
cmp w24, #3
mov x24, x26
b.le LBB0_14
LBB0_5: ; =>This Inner Loop Header: Depth=1
cmp w24, #0
cinc w8, w24, lt
asr w26, w8, #1
ldr x8, [x27]
cbz x8, LBB0_12
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x25]
cbz x8, LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19]
ldp w3, w2, [x27, #8]
ldp w5, w4, [x25, #8]
add x1, sp, #12
mov x0, x19
blr x8
tbnz w0, #31, LBB0_3
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cbnz w0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
cmp x27, x25
b.lo LBB0_3
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x27]
cbz x8, LBB0_12
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #12]
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x22, #16]
sub x9, x25, x8
lsr x10, x9, #4
ldr x9, [x22]
mov x11, x26
sxtw x11, w11
str w10, [x9, w26, sxtw #2]
eor x10, x11, #0x1
ldrsw x10, [x9, x10, lsl #2]
add x27, x8, x10, lsl #4
b LBB0_4
LBB0_13:
ldr x9, [x22]
LBB0_14:
ldrsw x9, [x9, #4]
lsl x9, x9, #4
ldr x8, [x8, x9]
cmp x8, #0
cset w8, eq
str w8, [x21]
ldr w8, [x23]
LBB0_15:
cmp w20, w8
b.ne LBB0_17
; %bb.16:
ldr x8, [x19, #8]
ldr w20, [x8]
LBB0_17:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.no_dead_strip _vdbeMergeEngineStep
.subsections_via_symbols
| AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_vdbeMergeEngineStep.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isst_if_mmio_rd_wr
_isst_if_mmio_rd_wr: ## @isst_if_mmio_rd_wr
.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 $-209, %eax
addl (%rdi), %eax
cmpl $-206, %eax
jbe LBB0_1
## %bb.3:
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0, 8(%rdi)
je LBB0_6
## %bb.4:
movq _CAP_SYS_ADMIN@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _capable
testl %eax, %eax
je LBB0_5
LBB0_6:
movl 16(%rbx), %edi
xorl %esi, %esi
xorl %edx, %edx
movl $1, %ecx
callq _isst_if_get_pci_dev
testq %rax, %rax
je LBB0_1
## %bb.7:
movq %rax, %rdi
callq _pci_get_drvdata
testq %rax, %rax
je LBB0_1
## %bb.8:
movq %rax, %r15
movq %rax, %rdi
callq _mutex_lock
cmpq $0, 8(%rbx)
je LBB0_10
## %bb.9:
movl 4(%rbx), %edi
movslq (%rbx), %rsi
addq 8(%r15), %rsi
callq _writel
movl $1, %eax
jmp LBB0_11
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subq (%rcx), %rax
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq _EPERM@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_10:
movslq (%rbx), %rdi
addq 8(%r15), %rdi
callq _readl
movl %eax, 4(%rbx)
xorl %eax, %eax
LBB0_11:
movl %eax, (%r14)
movq %r15, %rdi
callq _mutex_unlock
xorl %eax, %eax
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _EINVAL,8,3 ## @EINVAL
.comm _CAP_SYS_ADMIN,4,2 ## @CAP_SYS_ADMIN
.comm _EPERM,8,3 ## @EPERM
.no_dead_strip _isst_if_mmio_rd_wr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isst_if_mmio_rd_wr
_isst_if_mmio_rd_wr: ; @isst_if_mmio_rd_wr
.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 w8, [x0]
sub w8, w8, #209
cmn w8, #206
b.ls LBB0_7
; %bb.1:
mov x19, x1
mov x20, x0
ldr x8, [x0, #8]
cbz x8, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _CAP_SYS_ADMIN@GOTPAGE
Lloh1:
ldr x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _capable
cbz w0, LBB0_10
LBB0_3:
ldr w0, [x20, #16]
mov w1, #0
mov w2, #0
mov w3, #1
bl _isst_if_get_pci_dev
cbz x0, LBB0_7
; %bb.4:
bl _pci_get_drvdata
cbz x0, LBB0_7
; %bb.5:
mov x21, x0
bl _mutex_lock
ldr x8, [x20, #8]
cbz x8, LBB0_11
; %bb.6:
ldr x8, [x21, #8]
ldp w9, w0, [x20]
; kill: def $w9 killed $w9 def $x9
sxtw x9, w9
add x1, x8, x9
bl _writel
mov w8, #1
b LBB0_12
LBB0_7:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
ldr x8, [x8]
neg x0, x8
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
LBB0_10:
Lloh5:
adrp x8, _EPERM@GOTPAGE
Lloh6:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
b LBB0_8
LBB0_11:
ldr x8, [x21, #8]
ldrsw x9, [x20]
add x0, x8, x9
bl _readl
mov w8, #0
str w0, [x20, #4]
LBB0_12:
str w8, [x19]
mov x0, x21
bl _mutex_unlock
mov x0, #0
b LBB0_9
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _EINVAL,8,3 ; @EINVAL
.comm _CAP_SYS_ADMIN,4,2 ; @CAP_SYS_ADMIN
.comm _EPERM,8,3 ; @EPERM
.no_dead_strip _isst_if_mmio_rd_wr
.subsections_via_symbols
| AnghaBench/linux/drivers/platform/x86/intel_speed_select_if/extr_isst_if_mmio.c_isst_if_mmio_rd_wr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _target_read_memory ## -- Begin function target_read_memory
.p2align 4, 0x90
_target_read_memory: ## @target_read_memory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %ecx, %ecx
popq %rbp
jmp _target_xfer_memory ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _target_read_memory ; -- Begin function target_read_memory
.p2align 2
_target_read_memory: ; @target_read_memory
.cfi_startproc
; %bb.0:
mov w3, #0
b _target_xfer_memory
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_target.c_target_read_memory.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zerarTab ## -- Begin function zerarTab
.p2align 4, 0x90
_zerarTab: ## @zerarTab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB0_7
## %bb.1:
movl %esi, %r9d
leaq -1(%r9), %r8
movl %r9d, %r10d
andl $3, %r10d
movl %r9d, %r11d
andl $-4, %r11d
xorl %ecx, %ecx
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
incq %rcx
cmpq %r9, %rcx
je LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_5 Depth 2
xorl %eax, %eax
cmpq $3, %r8
jb LBB0_3
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi,%rcx,8), %rdx
movb $32, (%rdx,%rax)
movq (%rdi,%rcx,8), %rdx
movb $32, 1(%rdx,%rax)
movq (%rdi,%rcx,8), %rdx
movb $32, 2(%rdx,%rax)
movq (%rdi,%rcx,8), %rdx
movb $32, 3(%rdx,%rax)
addq $4, %rax
cmpq %rax, %r11
jne LBB0_8
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
testq %r10, %r10
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r10, %rdx
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi,%rcx,8), %rsi
movb $32, (%rsi,%rax)
incq %rax
decq %rdx
jne LBB0_5
jmp LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _player ## -- Begin function player
.p2align 4, 0x90
_player: ## @player
.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, -64(%rbp) ## 8-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
movl %esi, %r12d
movq %rdi, %rbx
leaq L_.str.1(%rip), %r14
leaq -48(%rbp), %r15
leaq -44(%rbp), %r13
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
xorl %eax, %eax
callq _scanf
movslq -48(%rbp), %rdx
movq (%rbx,%rdx,8), %rax
movl -44(%rbp), %ecx
movslq %ecx, %rcx
cmpb $32, (%rax,%rcx)
jne LBB1_1
## %bb.2:
movq -56(%rbp), %rsi ## 8-byte Reload
movl %edx, (%rsi)
movq -64(%rbp), %rdx ## 8-byte Reload
movl %ecx, (%rdx)
movb %r12b, (%rax,%rcx)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cpu ## -- Begin function cpu
.p2align 4, 0x90
_cpu: ## @cpu
.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
movl %ecx, %ebx
movl %edx, -48(%rbp) ## 4-byte Spill
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
movslq %ecx, %r12
leaq (,%r12,8), %r15
movq %r15, %rdi
callq _malloc
movq %rax, %r14
movq %r15, %rdi
callq _malloc
movq %rax, %r13
movl %ebx, -52(%rbp) ## 4-byte Spill
movl %ebx, %r15d
testl %r12d, %r12d
jle LBB2_3
## %bb.1:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl $8, %edi
callq _malloc
movq %rax, (%r13,%r12,8)
incq %r12
cmpq %r12, %r15
jne LBB2_2
LBB2_3:
movl -44(%rbp), %r11d ## 4-byte Reload
testl %r11d, %r11d
movq -64(%rbp), %r12 ## 8-byte Reload
jle LBB2_11
## %bb.4:
movl %r11d, %r8d
movl %r8d, %r10d
andl $-2, %r10d
xorl %edx, %edx
xorl %esi, %esi
jmp LBB2_5
.p2align 4, 0x90
LBB2_10: ## in Loop: Header=BB2_5 Depth=1
incq %rdx
cmpq %r8, %rdx
je LBB2_11
LBB2_5: ## =>This Loop Header: Depth=1
## Child Loop BB2_16 Depth 2
movq (%r12,%rdx,8), %r9
cmpl $1, %r11d
jne LBB2_15
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
xorl %eax, %eax
LBB2_7: ## in Loop: Header=BB2_5 Depth=1
testb $1, %r8b
je LBB2_10
## %bb.8: ## in Loop: Header=BB2_5 Depth=1
cmpb $32, (%r9,%rax)
jne LBB2_10
## %bb.9: ## in Loop: Header=BB2_5 Depth=1
addq %rax, %r9
movslq %esi, %rsi
movq %r9, (%r14,%rsi,8)
movq (%r13,%rsi,8), %rdi
movl %edx, (%rdi)
movl %eax, 4(%rdi)
incl %esi
jmp LBB2_10
.p2align 4, 0x90
LBB2_15: ## in Loop: Header=BB2_5 Depth=1
leaq 1(%r9), %rdi
xorl %eax, %eax
jmp LBB2_16
.p2align 4, 0x90
LBB2_20: ## in Loop: Header=BB2_16 Depth=2
addq $2, %rax
addq $2, %rdi
cmpq %rax, %r10
je LBB2_7
LBB2_16: ## Parent Loop BB2_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $32, -1(%rdi)
jne LBB2_18
## %bb.17: ## in Loop: Header=BB2_16 Depth=2
leaq -1(%rdi), %rbx
movslq %esi, %rsi
movq %rbx, (%r14,%rsi,8)
movq (%r13,%rsi,8), %rbx
movl %edx, (%rbx)
movl %eax, 4(%rbx)
incl %esi
LBB2_18: ## in Loop: Header=BB2_16 Depth=2
cmpb $32, (%rdi)
jne LBB2_20
## %bb.19: ## in Loop: Header=BB2_16 Depth=2
movslq %esi, %rsi
movq %rdi, (%r14,%rsi,8)
movq (%r13,%rsi,8), %rbx
movl %edx, (%rbx)
leal 1(%rax), %ecx
movl %ecx, 4(%rbx)
incl %esi
jmp LBB2_20
LBB2_11:
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
callq _rand
cltd
movl -52(%rbp), %esi ## 4-byte Reload
idivl %esi
movslq %edx, %rax
movq (%r13,%rax,8), %rcx
movl (%rcx), %edx
movq -72(%rbp), %rdi ## 8-byte Reload
movl %edx, (%rdi)
movl 4(%rcx), %ecx
movq -80(%rbp), %rdx ## 8-byte Reload
movl %ecx, (%rdx)
movq (%r14,%rax,8), %rax
movl -48(%rbp), %ecx ## 4-byte Reload
movb %cl, (%rax)
testl %esi, %esi
jle LBB2_14
## %bb.12:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_13: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rbx,8), %rdi
callq _free
incq %rbx
cmpq %rbx, %r15
jne LBB2_13
LBB2_14:
movq %r14, %rdi
callq _free
movq %r13, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _verificar ## -- Begin function verificar
.p2align 4, 0x90
_verificar: ## @verificar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $edx killed $edx def $rdx
## kill: def $esi killed $esi def $rsi
testl %ecx, %ecx
movq %rdx, -56(%rbp) ## 8-byte Spill
movl %ecx, -60(%rbp) ## 4-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
jle LBB3_5
## %bb.1:
movslq %esi, %rax
movq (%rdi,%rax,8), %r10
movslq %edx, %r11
movl %ecx, %r15d
xorl %esi, %esi
xorl %eax, %eax
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB3_3
.p2align 4, 0x90
LBB3_2: ## in Loop: Header=BB3_3 Depth=1
movq (%rdi,%rax,8), %rdx
cmpb %r9b, (%rdx,%r11)
cmovel %r14d, %ebx
incq %rax
movl %ebx, %r13d
cmpq %rax, %r15
je LBB3_6
LBB3_3: ## =>This Inner Loop Header: Depth=1
leal 1(%r12), %ebx
cmpl %r8d, %r12d
cmovll %esi, %r12d
cmpb %r9b, (%r10,%rax)
cmovel %ebx, %r12d
leal 1(%r13), %r14d
movl $0, %ebx
cmpl %r8d, %r13d
jl LBB3_2
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movl %r13d, %ebx
jmp LBB3_2
LBB3_5:
xorl %r12d, %r12d
xorl %ebx, %ebx
LBB3_6:
movl 16(%rbp), %eax
cmpl %r8d, %r12d
jge LBB3_42
## %bb.7:
cmpl %r8d, %ebx
jge LBB3_42
## %bb.8:
movq -72(%rbp), %rdx ## 8-byte Reload
leal -1(%rdx), %r15d
movq -56(%rbp), %rcx ## 8-byte Reload
leal -1(%rcx), %r10d
leal 1(%rdx), %r13d
movl $1, %r14d
testl %edx, %edx
jle LBB3_16
## %bb.9:
testl %ecx, %ecx
jle LBB3_16
## %bb.10:
movl %eax, %r12d
cmpl %r15d, %r10d
movl %r15d, %eax
cmovbl %r10d, %eax
addl $2, %eax
testl %r15d, %r15d
movl $2, %r11d
cmovnel %eax, %r11d
movl $1, %r14d
movl %r10d, %ebx
movl %r15d, %eax
.p2align 4, 0x90
LBB3_11: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
movq (%rdi,%rdx,8), %rdx
movl %ebx, %esi
cmpb %r9b, (%rdx,%rsi)
jne LBB3_15
## %bb.12: ## in Loop: Header=BB3_11 Depth=1
cmpl %r8d, %r14d
jge LBB3_15
## %bb.13: ## in Loop: Header=BB3_11 Depth=1
decl %eax
decl %ebx
incl %r14d
cmpl %r14d, %r11d
jne LBB3_11
## %bb.14:
movl %r11d, %r14d
LBB3_15:
movl %r12d, %eax
LBB3_16:
leal 1(%rcx), %esi
movl -60(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %r12
cmpl %ecx, %r13d
movl %r13d, -44(%rbp) ## 4-byte Spill
jge LBB3_23
## %bb.17:
cmpl %ecx, %esi
jge LBB3_23
## %bb.18:
movslq %esi, %r13
movslq -44(%rbp), %r11 ## 4-byte Folded Reload
incq %r11
incq %r13
.p2align 4, 0x90
LBB3_19: ## =>This Inner Loop Header: Depth=1
movq -8(%rdi,%r11,8), %rdx
cmpb %r9b, -1(%rdx,%r13)
jne LBB3_23
## %bb.20: ## in Loop: Header=BB3_19 Depth=1
cmpl %r8d, %r14d
jge LBB3_23
## %bb.21: ## in Loop: Header=BB3_19 Depth=1
incl %r14d
cmpq %r12, %r11
jge LBB3_23
## %bb.22: ## in Loop: Header=BB3_19 Depth=1
incq %r11
leaq 1(%r13), %rdx
cmpq %r12, %r13
movq %rdx, %r13
jl LBB3_19
LBB3_23:
cmpl %r8d, %r14d
je LBB3_42
## %bb.24:
movl $1, %ebx
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jle LBB3_31
## %bb.25:
movl %eax, %r11d
cmpl %ecx, %esi
movq -56(%rbp), %r14 ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
jge LBB3_32
## %bb.26:
movslq %esi, %rsi
incq %rsi
movl $1, %ebx
.p2align 4, 0x90
LBB3_27: ## =>This Inner Loop Header: Depth=1
movl %r15d, %eax
movq (%rdi,%rax,8), %rax
cmpb %r9b, -1(%rax,%rsi)
jne LBB3_32
## %bb.28: ## in Loop: Header=BB3_27 Depth=1
cmpl %r8d, %ebx
jge LBB3_32
## %bb.29: ## in Loop: Header=BB3_27 Depth=1
incl %ebx
testl %r15d, %r15d
jle LBB3_32
## %bb.30: ## in Loop: Header=BB3_27 Depth=1
decl %r15d
leaq 1(%rsi), %rax
cmpq %r12, %rsi
movq %rax, %rsi
jl LBB3_27
jmp LBB3_32
LBB3_31:
movl %eax, %r11d
movq -56(%rbp), %r14 ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
LBB3_32:
cmpl %ecx, %edx
jge LBB3_40
## %bb.33:
testl %r14d, %r14d
jle LBB3_40
## %bb.34:
movslq %edx, %rcx
incq %rcx
movl %r11d, %eax
.p2align 4, 0x90
LBB3_35: ## =>This Inner Loop Header: Depth=1
movq -8(%rdi,%rcx,8), %rsi
movl %r10d, %edx
cmpb %r9b, (%rsi,%rdx)
jne LBB3_41
## %bb.36: ## in Loop: Header=BB3_35 Depth=1
cmpl %r8d, %ebx
jge LBB3_41
## %bb.37: ## in Loop: Header=BB3_35 Depth=1
incl %ebx
cmpq %r12, %rcx
jge LBB3_41
## %bb.38: ## in Loop: Header=BB3_35 Depth=1
leal -1(%r10), %edx
incq %rcx
testl %r10d, %r10d
movl %edx, %r10d
jg LBB3_35
jmp LBB3_41
LBB3_40:
movl %r11d, %eax
LBB3_41:
cmpl %r8d, %ebx
movl $-1, %ecx
cmovll %ecx, %eax
LBB3_42:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rendertab ## -- Begin function rendertab
.p2align 4, 0x90
_rendertab: ## @rendertab
.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 %rdi, %r12
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
testl %r14d, %r14d
jle LBB4_9
## %bb.1:
leaq L_.str.4(%rip), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
incl %ebx
cmpl %ebx, %r14d
jne LBB4_2
## %bb.3:
movl $10, %edi
callq _putchar
testl %r14d, %r14d
jle LBB4_8
## %bb.4:
movl %r14d, %r13d
leaq L_.str.7(%rip), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_5: ## =>This Loop Header: Depth=1
## Child Loop BB4_6 Depth 2
leaq L_.str.6(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorl %r14d, %r14d
.p2align 4, 0x90
LBB4_6: ## Parent Loop BB4_5 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12,%rbx,8), %rax
movsbl (%rax,%r14), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
incq %r14
cmpq %r14, %r13
jne LBB4_6
## %bb.7: ## in Loop: Header=BB4_5 Depth=1
movl $10, %edi
callq _putchar
incq %rbx
cmpq %r13, %rbx
jne LBB4_5
LBB4_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB4_9:
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 _freemat ## -- Begin function freemat
.p2align 4, 0x90
_freemat: ## @freemat
.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
testl %edi, %edi
jle LBB5_3
## %bb.1:
movl %edi, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rbx,8), %rdi
callq _free
incq %rbx
cmpq %rbx, %r15
jne LBB5_2
LBB5_3:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c: "
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "\033[1;1H\033[2J"
L_.str.3: ## @.str.3
.asciz " "
L_.str.4: ## @.str.4
.asciz " %d "
L_.str.6: ## @.str.6
.asciz "%d "
L_.str.7: ## @.str.7
.asciz "[%c]"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zerarTab ; -- Begin function zerarTab
.p2align 2
_zerarTab: ; @zerarTab
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_5
; %bb.1:
mov x8, #0
mov w9, w1
mov w10, #32
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
mov x11, #0
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x12, [x0, x8, lsl #3]
strb w10, [x12, x11]
add x11, x11, #1
cmp x9, x11
b.ne LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x8, x8, #1
cmp x8, x9
b.ne LBB0_2
LBB0_5:
ret
.cfi_endproc
; -- End function
.globl _player ; -- Begin function player
.p2align 2
_player: ; @player
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x21, x2
mov x20, x1
mov x22, x0
Lloh0:
adrp x23, l_.str@PAGE
Lloh1:
add x23, x23, l_.str@PAGEOFF
add x25, sp, #24
add x26, sp, #28
Lloh2:
adrp x24, l_.str.1@PAGE
Lloh3:
add x24, x24, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
str x20, [sp]
mov x0, x23
bl _printf
stp x26, x25, [sp]
mov x0, x24
bl _scanf
ldp w10, w9, [sp, #24]
; kill: def $w9 killed $w9 def $x9
sxtw x9, w9
ldr x8, [x22, x9, lsl #3]
sxtw x11, w10
ldrb w12, [x8, x11]
cmp w12, #32
b.ne LBB1_1
; %bb.2:
str w9, [x21]
str w10, [x19]
strb w20, [x8, x11]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _cpu ; -- Begin function cpu
.p2align 2
_cpu: ; @cpu
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x5, [sp, #8] ; 8-byte Folded Spill
mov x24, x4
mov x21, x3
mov x23, x2
mov x26, x1
mov x25, x0
sbfiz x20, x21, #3, #32
mov x0, x20
bl _malloc
mov x19, x0
mov x0, x20
bl _malloc
mov x22, x0
mov w27, w21
cmp w21, #1
b.lt LBB2_3
; %bb.1:
mov x28, x27
mov x20, x22
LBB2_2: ; =>This Inner Loop Header: Depth=1
mov w0, #8
bl _malloc
str x0, [x20], #8
subs x28, x28, #1
b.ne LBB2_2
LBB2_3:
cmp w26, #1
b.lt LBB2_10
; %bb.4:
mov x8, #0
mov w9, #0
mov w10, w26
b LBB2_6
LBB2_5: ; in Loop: Header=BB2_6 Depth=1
add x8, x8, #1
cmp x8, x10
b.eq LBB2_10
LBB2_6: ; =>This Loop Header: Depth=1
; Child Loop BB2_8 Depth 2
mov x11, #0
ldr x12, [x25, x8, lsl #3]
b LBB2_8
LBB2_7: ; in Loop: Header=BB2_8 Depth=2
add x11, x11, #1
cmp x10, x11
b.eq LBB2_5
LBB2_8: ; Parent Loop BB2_6 Depth=1
; => This Inner Loop Header: Depth=2
add x13, x12, x11
ldrb w14, [x13]
cmp w14, #32
b.ne LBB2_7
; %bb.9: ; in Loop: Header=BB2_8 Depth=2
sbfiz x14, x9, #3, #32
str x13, [x19, x14]
ldr x13, [x22, x14]
stp w8, w11, [x13]
add w9, w9, #1
b LBB2_7
LBB2_10:
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _rand
sdiv w8, w0, w21
msub w8, w8, w21, w0
sbfiz x8, x8, #3, #32
ldr x9, [x22, x8]
ldr w10, [x9]
str w10, [x24]
ldr w9, [x9, #4]
ldr x10, [sp, #8] ; 8-byte Folded Reload
str w9, [x10]
ldr x8, [x19, x8]
strb w23, [x8]
cmp w21, #1
b.lt LBB2_13
; %bb.11:
mov x20, x22
LBB2_12: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20], #8
bl _free
subs x27, x27, #1
b.ne LBB2_12
LBB2_13:
mov x0, x19
bl _free
mov x0, x22
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
b _free
.cfi_endproc
; -- End function
.globl _verificar ; -- Begin function verificar
.p2align 2
_verificar: ; @verificar
.cfi_startproc
; %bb.0:
; kill: def $w3 killed $w3 def $x3
; kill: def $w2 killed $w2 def $x2
and w8, w5, #0xff
cmp w3, #1
b.lt LBB3_5
; %bb.1:
mov w9, #0
mov w10, #0
ldr x11, [x0, w1, sxtw #3]
sxtw x12, w2
mov x13, x0
mov w14, w3
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldrb w15, [x11], #1
cmp w10, w4
csel w16, wzr, w10, lt
cmp w15, w8
ldr x15, [x13], #8
ldrb w15, [x15, x12]
csinc w10, w16, w10, ne
cmp w9, w4
csel w16, wzr, w9, lt
cmp w15, w8
csinc w9, w16, w9, ne
subs x14, x14, #1
b.ne LBB3_2
; %bb.3:
cmp w10, w4
b.lt LBB3_6
LBB3_4:
mov x0, x6
ret
LBB3_5:
mov w10, #0
mov w9, #0
cmp w10, w4
b.ge LBB3_4
LBB3_6:
cmp w9, w4
b.ge LBB3_4
; %bb.7:
sub w9, w2, #1
add w10, w1, #1
mov w12, #1
subs w11, w1, #1
b.lt LBB3_13
; %bb.8:
cmp w2, #1
b.lt LBB3_13
; %bb.9:
cmp w9, w11
csel w12, w9, w11, lo
add w12, w12, #2
mov w13, #2
cmp w11, #0
csel w13, w13, w12, eq
mov w12, #1
mov x14, x9
mov x15, x11
LBB3_10: ; =>This Inner Loop Header: Depth=1
ldr x16, [x0, w15, uxtw #3]
ldrb w16, [x16, w14, uxtw]
cmp w16, w8
ccmp w12, w4, #0, eq
b.ge LBB3_13
; %bb.11: ; in Loop: Header=BB3_10 Depth=1
sub w15, w15, #1
sub w14, w14, #1
add w12, w12, #1
cmp w13, w12
b.ne LBB3_10
; %bb.12:
mov x12, x13
LBB3_13:
add w13, w2, #1
cmp w10, w3
b.ge LBB3_19
; %bb.14:
cmp w13, w3
b.ge LBB3_19
; %bb.15:
sxtw x14, w13
sxtw x15, w3
sxtw x16, w10
LBB3_16: ; =>This Inner Loop Header: Depth=1
ldr x17, [x0, x16, lsl #3]
ldrb w17, [x17, x14]
cmp w17, w8
ccmp w12, w4, #0, eq
b.ge LBB3_19
; %bb.17: ; in Loop: Header=BB3_16 Depth=1
add x16, x16, #1
add w12, w12, #1
cmp x16, x15
b.ge LBB3_19
; %bb.18: ; in Loop: Header=BB3_16 Depth=1
add x14, x14, #1
cmp x14, x15
b.lt LBB3_16
LBB3_19:
cmp w12, w4
b.eq LBB3_4
; %bb.20:
mov w12, #1
cmp w1, #1
b.lt LBB3_28
; %bb.21:
cmp w13, w3
b.ge LBB3_28
; %bb.22:
mov x12, #0
; kill: def $w13 killed $w13 killed $x13 def $x13
sxtw x13, w13
mov x14, x3
sxtw x14, w14
LBB3_23: ; =>This Inner Loop Header: Depth=1
ldr x15, [x0, w11, uxtw #3]
add w16, w12, #1
add x15, x15, x13
ldrb w15, [x15, x12]
cmp w15, w8
ccmp w16, w4, #0, eq
b.ge LBB3_27
; %bb.24: ; in Loop: Header=BB3_23 Depth=1
add x15, x12, #1
subs w11, w11, #1
b.lt LBB3_26
; %bb.25: ; in Loop: Header=BB3_23 Depth=1
add x12, x13, x12
add x16, x12, #1
mov x12, x15
cmp x16, x14
b.lt LBB3_23
LBB3_26:
add w12, w15, #1
b LBB3_28
LBB3_27:
add w12, w12, #1
LBB3_28:
cmp w10, w3
b.ge LBB3_34
; %bb.29:
cmp w2, #1
b.lt LBB3_34
; %bb.30:
; kill: def $w10 killed $w10 killed $x10 def $x10
sxtw x10, w10
; kill: def $w3 killed $w3 killed $x3 def $x3
sxtw x11, w3
LBB3_31: ; =>This Inner Loop Header: Depth=1
ldr x13, [x0, x10, lsl #3]
ldrb w13, [x13, w9, uxtw]
cmp w13, w8
ccmp w12, w4, #0, eq
b.ge LBB3_34
; %bb.32: ; in Loop: Header=BB3_31 Depth=1
add x10, x10, #1
add w12, w12, #1
cmp x10, x11
b.ge LBB3_34
; %bb.33: ; in Loop: Header=BB3_31 Depth=1
sub w13, w9, #1
cmp w9, #0
mov x9, x13
b.gt LBB3_31
LBB3_34:
cmp w12, w4
csinv w6, w6, wzr, ge
mov x0, x6
ret
.cfi_endproc
; -- End function
.globl _rendertab ; -- Begin function rendertab
.p2align 2
_rendertab: ; @rendertab
.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 x20, x1
mov x19, x0
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB4_9
; %bb.1:
mov w22, #0
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
LBB4_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x21
bl _printf
add w22, w22, #1
cmp w20, w22
b.ne LBB4_2
; %bb.3:
mov w0, #10
bl _putchar
cmp w20, #1
b.lt LBB4_8
; %bb.4:
mov x22, #0
mov w23, w20
Lloh10:
adrp x20, l_.str.6@PAGE
Lloh11:
add x20, x20, l_.str.6@PAGEOFF
Lloh12:
adrp x21, l_.str.7@PAGE
Lloh13:
add x21, x21, l_.str.7@PAGEOFF
LBB4_5: ; =>This Loop Header: Depth=1
; Child Loop BB4_6 Depth 2
str x22, [sp]
mov x0, x20
bl _printf
mov x24, #0
LBB4_6: ; Parent Loop BB4_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, x22, lsl #3]
ldrsb x8, [x8, x24]
str x8, [sp]
mov x0, x21
bl _printf
add x24, x24, #1
cmp x23, x24
b.ne LBB4_6
; %bb.7: ; in Loop: Header=BB4_5 Depth=1
mov w0, #10
bl _putchar
add x22, x22, #1
cmp x22, x23
b.ne LBB4_5
LBB4_8:
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
LBB4_9:
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 Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _freemat ; -- Begin function freemat
.p2align 2
_freemat: ; @freemat
.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
cmp w0, #1
b.lt LBB5_3
; %bb.1:
mov w20, w0
mov x21, x19
LBB5_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x21], #8
bl _free
subs x20, x20, #1
b.ne LBB5_2
LBB5_3:
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 _free
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c: "
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "\033[1;1H\033[2J"
l_.str.3: ; @.str.3
.asciz " "
l_.str.4: ; @.str.4
.asciz " %d "
l_.str.6: ; @.str.6
.asciz "%d "
l_.str.7: ; @.str.7
.asciz "[%c]"
.subsections_via_symbols
| the_stack_data/103265791.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function axienet_iow
_axienet_iow: ## @axienet_iow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rsi
movl %edx, %edi
popq %rbp
jmp _iowrite32 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _axienet_iow
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function axienet_iow
_axienet_iow: ; @axienet_iow
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x1, x8, x1
mov x0, x2
b _iowrite32
.cfi_endproc
; -- End function
.no_dead_strip _axienet_iow
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/xilinx/extr_xilinx_axienet.h_axienet_iow.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ip_push_pending_frames ## -- Begin function ip_push_pending_frames
.p2align 4, 0x90
_ip_push_pending_frames: ## @ip_push_pending_frames
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _ip_finish_skb
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %r14, %rdi
callq _sock_net
movl %eax, %edi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _ip_send_skb ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbx
popq %r14
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 _ip_push_pending_frames ; -- Begin function ip_push_pending_frames
.p2align 2
_ip_push_pending_frames: ; @ip_push_pending_frames
.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 _ip_finish_skb
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
mov x0, x19
bl _sock_net
mov x1, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ip_send_skb
LBB0_2:
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/linux/net/ipv4/extr_ip_output.c_ip_push_pending_frames.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _gmx_fft_acml_empty,4,2 ## @gmx_fft_acml_empty
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _gmx_fft_acml_empty,4,2 ; @gmx_fft_acml_empty
.subsections_via_symbols
| the_stack_data/104151.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $2, %edi
jl LBB0_5
## %bb.1:
movq %rsi, %r15
movl %edi, %r12d
leaq L_.str(%rip), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edx
movl $1, %edi
movq %r14, %rsi
callq _write
cmpq $2, %r12
movq %r13, %r12
jle LBB0_5
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
leaq -1(%r12), %r13
movl %r13d, %eax
movq (%r15,%rax,8), %rbx
cmpb $0, (%rbx)
je LBB0_4
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl $1, %edx
movl $1, %edi
movq %rbx, %rsi
callq _write
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
jne LBB0_3
jmp LBB0_4
LBB0_5:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ft_putstr ## -- Begin function ft_putstr
.p2align 4, 0x90
_ft_putstr: ## @ft_putstr
.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
cmpb $0, (%rdi)
je LBB1_3
## %bb.1:
movq %rdi, %rbx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl $1, %edx
movl $1, %edi
movq %rbx, %rsi
callq _write
cmpb $0, 1(%rbx)
leaq 1(%rbx), %rbx
jne LBB1_2
LBB1_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
cmp w0, #2
b.lt LBB0_5
; %bb.1:
mov x19, x1
mov w22, w0
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1
mov x1, x20
mov w2, #1
bl _write
cmp x22, #2
mov x22, x23
b.le LBB0_5
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
sub x23, x22, #1
ldr x21, [x19, w23, uxtw #3]
ldrb w8, [x21]
cbz w8, LBB0_2
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #1
mov x1, x21
mov w2, #1
bl _write
ldrb w8, [x21, #1]!
cbnz w8, LBB0_4
b LBB0_2
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _ft_putstr ; -- Begin function ft_putstr
.p2align 2
_ft_putstr: ; @ft_putstr
.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
ldrb w8, [x0]
cbz w8, LBB1_3
; %bb.1:
mov x19, x0
LBB1_2: ; =>This Inner Loop Header: Depth=1
mov w0, #1
mov x1, x19
mov w2, #1
bl _write
ldrb w8, [x19, #1]!
cbnz w8, LBB1_2
LBB1_3:
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 "\n"
.subsections_via_symbols
| the_stack_data/70857.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _infra_find_ratelimit ## -- Begin function infra_find_ratelimit
.p2align 4, 0x90
_infra_find_ratelimit: ## @infra_find_ratelimit
.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 %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
movq %rsi, %rdi
callq _dname_count_labels
movl %eax, %r15d
movq _LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %r15d, %ecx
callq _name_tree_lookup
testq %rax, %rax
je LBB0_6
## %bb.1:
cmpl %r15d, 8(%rax)
jne LBB0_5
## %bb.2:
movl (%rax), %ecx
LBB0_3:
cmpl $-1, %ecx
jne LBB0_7
## %bb.4:
movq 16(%rax), %rax
testq %rax, %rax
je LBB0_6
LBB0_5:
movl 4(%rax), %ecx
jmp LBB0_3
LBB0_6:
movq _infra_dp_ratelimit@GOTPCREL(%rip), %rax
movl (%rax), %ecx
LBB0_7:
movl %ecx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDNS_RR_CLASS_IN,4,2 ## @LDNS_RR_CLASS_IN
.comm _infra_dp_ratelimit,4,2 ## @infra_dp_ratelimit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _infra_find_ratelimit ; -- Begin function infra_find_ratelimit
.p2align 2
_infra_find_ratelimit: ; @infra_find_ratelimit
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x22, x0
mov x0, x1
bl _dname_count_labels
mov x19, x0
Lloh0:
adrp x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh1:
ldr x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
mov x0, x22
mov x1, x21
mov x2, x20
mov x3, x19
bl _name_tree_lookup
cbz x0, LBB0_6
; %bb.1:
ldr w8, [x0, #8]
cmp w8, w19
b.ne LBB0_5
; %bb.2:
ldr w8, [x0]
LBB0_3:
cmn w8, #1
b.ne LBB0_7
; %bb.4:
ldr x0, [x0, #16]
cbz x0, LBB0_6
LBB0_5:
ldr w8, [x0, #4]
b LBB0_3
LBB0_6:
Lloh3:
adrp x8, _infra_dp_ratelimit@GOTPAGE
Lloh4:
ldr x8, [x8, _infra_dp_ratelimit@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
LBB0_7:
mov x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _LDNS_RR_CLASS_IN,4,2 ; @LDNS_RR_CLASS_IN
.comm _infra_dp_ratelimit,4,2 ; @infra_dp_ratelimit
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/services/cache/extr_infra.c_infra_find_ratelimit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_lut
_set_lut: ## @set_lut
.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 %r8d, %r14d
movl %ecx, %r15d
movl %edx, %r12d
movq %rdi, %rbx
movq _REG_LUT_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _epson1355_write_reg
movq _REG_LUT_DATA@GOTPCREL(%rip), %r13
movl (%r13), %edx
movq %rbx, %rdi
movl %r12d, %esi
callq _epson1355_write_reg
movl (%r13), %edx
movq %rbx, %rdi
movl %r15d, %esi
callq _epson1355_write_reg
movl (%r13), %edx
movq %rbx, %rdi
movl %r14d, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _epson1355_write_reg ## TAILCALL
.cfi_endproc
## -- End function
.comm _REG_LUT_ADDR,4,2 ## @REG_LUT_ADDR
.comm _REG_LUT_DATA,4,2 ## @REG_LUT_DATA
.no_dead_strip _set_lut
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_lut
_set_lut: ; @set_lut
.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, x4
mov x20, x3
mov x21, x2
mov x22, x0
Lloh0:
adrp x8, _REG_LUT_ADDR@GOTPAGE
Lloh1:
ldr x8, [x8, _REG_LUT_ADDR@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
bl _epson1355_write_reg
Lloh3:
adrp x23, _REG_LUT_DATA@GOTPAGE
Lloh4:
ldr x23, [x23, _REG_LUT_DATA@GOTPAGEOFF]
ldr w2, [x23]
mov x0, x22
mov x1, x21
bl _epson1355_write_reg
ldr w2, [x23]
mov x0, x22
mov x1, x20
bl _epson1355_write_reg
ldr w2, [x23]
mov x0, x22
mov x1, 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 _epson1355_write_reg
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _REG_LUT_ADDR,4,2 ; @REG_LUT_ADDR
.comm _REG_LUT_DATA,4,2 ; @REG_LUT_DATA
.no_dead_strip _set_lut
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/extr_epson1355fb.c_set_lut.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function zero_the_pointer
_zero_the_pointer: ## @zero_the_pointer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq (%rdi), %r14
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
jle LBB0_20
## %bb.1:
movabsq $347892351001, %rax ## imm = 0x5100000019
movq %rax, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.2:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.3:
movabsq $798863917081, %rax ## imm = 0xBA00000019
movq %rax, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.4:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.5:
movq $25, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.6:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.7:
movq $25, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.8:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $10, %ecx
je LBB0_10
## %bb.21: ## in Loop: Header=BB0_9 Depth=1
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
movl (%r14), %ecx
testl %eax, %eax
jns LBB0_9
jmp LBB0_20
LBB0_10:
movq $25, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.11:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.12:
movq $25, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.13:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.14:
movq $25, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.15:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.16:
movq $25, (%r14)
movq %rbx, %rdi
movl $2, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.17:
movq %rbx, %rdi
movl $33, %esi
xorl %edx, %edx
callq _cam_get_response16
testl %eax, %eax
js LBB0_20
## %bb.18:
movl $25, (%r14)
movq %rbx, %rdi
movl $1, %esi
callq _mr_write
testl %eax, %eax
js LBB0_20
## %bb.19:
movq %rbx, %rdi
movl $16, %esi
callq _mr_read
movl %eax, %ecx
sarl $31, %ecx
andl %ecx, %eax
LBB0_20:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _zero_the_pointer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function zero_the_pointer
lCPI0_0:
.long 25 ; 0x19
.long 81 ; 0x51
lCPI0_1:
.long 25 ; 0x19
.long 186 ; 0xba
lCPI0_2:
.long 25 ; 0x19
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_zero_the_pointer: ; @zero_the_pointer
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
mov x19, x0
ldr x20, [x0]
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
cmp w0, #1
b.lt LBB0_21
; %bb.1:
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.2:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.3:
Lloh2:
adrp x8, lCPI0_1@PAGE
Lloh3:
ldr d0, [x8, lCPI0_1@PAGEOFF]
str d0, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.4:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.5:
Lloh4:
adrp x8, lCPI0_2@PAGE
Lloh5:
ldr d8, [x8, lCPI0_2@PAGEOFF]
str d8, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.6:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.7:
str d8, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.8:
mov w8, #0 ; =0x0
LBB0_9: ; =>This Inner Loop Header: Depth=1
cmp w8, #10
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
ldr w8, [x20]
tbz w0, #31, LBB0_9
b LBB0_21
LBB0_11:
str d8, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.12:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.13:
str d8, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.14:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.15:
str d8, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.16:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.17:
str d8, [x20]
mov x0, x19
mov w1, #2 ; =0x2
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.18:
mov x0, x19
mov w1, #33 ; =0x21
mov w2, #0 ; =0x0
bl _cam_get_response16
tbnz w0, #31, LBB0_21
; %bb.19:
mov w8, #25 ; =0x19
str w8, [x20]
mov x0, x19
mov w1, #1 ; =0x1
bl _mr_write
tbnz w0, #31, LBB0_21
; %bb.20:
mov x0, x19
mov w1, #16 ; =0x10
bl _mr_read
and w0, w0, w0, asr #31
LBB0_21:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdr Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _zero_the_pointer
.subsections_via_symbols
| assembly_file_164292.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function print_float
LCPI0_0:
.quad 0x43e0000000000000 ## double 9.2233720368547758E+18
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_print_float: ## @print_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $63, %rcx
movapd %xmm0, %xmm1
subsd LCPI0_0(%rip), %xmm1
cvttsd2si %xmm1, %rbx
andq %rcx, %rbx
orq %rax, %rbx
xorl %eax, %eax
testl %edx, %edx
jne LBB0_2
## %bb.1:
movq %rbx, %xmm1
punpckldq LCPI0_1(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd LCPI0_2(%rip), %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2 ## xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
subsd %xmm2, %xmm0
movq %rdi, %r14
movl %esi, %r15d
xorl %edx, %edx
callq _print_remainder
movq %r14, %rdi
movl %r15d, %esi
LBB0_2:
movslq %eax, %r14
addq %r14, %rdi
subl %r14d, %esi
movq %rbx, %rdx
callq _print_dec_ll
addl %r14d, %eax
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _print_float
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function print_float
_print_float: ; @print_float
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x21, x0
fcvtzu x19, d0
cbz w2, LBB0_2
; %bb.1:
mov w22, #0 ; =0x0
b LBB0_3
LBB0_2:
ucvtf d1, x19
fsub d0, d0, d1
mov x0, x21
mov x1, x20
bl _print_remainder
mov x22, x0
LBB0_3:
add x0, x21, w22, sxtw
sub w1, w20, w22
mov x2, x19
bl _print_dec_ll
add w0, w22, 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 _print_float
.subsections_via_symbols
| assembly_file_72077.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rbcfg_update
_rbcfg_update: ## @rbcfg_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movq _rbcfg_ctx@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq 24(%rbx), %rdi
movq _RB_MAGIC_SOFT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _put_u32
movq 24(%rbx), %rdi
addq $4, %rdi
xorl %esi, %esi
callq _put_u32
movq 24(%rbx), %rdi
movl (%rbx), %esi
callq _cyg_ether_crc32
movq 24(%rbx), %rdi
addq $4, %rdi
movl %eax, %esi
callq _put_u32
xorl %eax, %eax
testl %r14d, %r14d
sete %al
movq 8(%rbx,%rax,8), %r14
movq _O_WRONLY@GOTPCREL(%rip), %rax
movq _O_CREAT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq %r14, %rdi
callq _open
testl %eax, %eax
js LBB0_1
## %bb.2:
movl %eax, %r15d
movq 24(%rbx), %rsi
movl (%rbx), %edx
movl %eax, %edi
callq _write
cmpl (%rbx), %eax
jne LBB0_3
## %bb.4:
movl %r15d, %edi
callq _fsync
xorl %r14d, %r14d
jmp LBB0_5
LBB0_1:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movq %r14, %rdx
callq _fprintf
movq _RB_ERR_IO@GOTPCREL(%rip), %rax
movl (%rax), %r14d
jmp LBB0_6
LBB0_3:
movq _RB_ERR_IO@GOTPCREL(%rip), %rax
movl (%rax), %r14d
LBB0_5:
movl %r15d, %edi
callq _close
LBB0_6:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _rbcfg_ctx,8,3 ## @rbcfg_ctx
.comm _RB_MAGIC_SOFT,4,2 ## @RB_MAGIC_SOFT
.comm _O_WRONLY,4,2 ## @O_WRONLY
.comm _O_CREAT,4,2 ## @O_CREAT
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unable to open %s for writing\n"
.comm _RB_ERR_IO,4,2 ## @RB_ERR_IO
.no_dead_strip _rbcfg_update
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rbcfg_update
_rbcfg_update: ; @rbcfg_update
.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
Lloh0:
adrp x8, _rbcfg_ctx@GOTPAGE
Lloh1:
ldr x8, [x8, _rbcfg_ctx@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
ldr x0, [x21, #24]
Lloh3:
adrp x8, _RB_MAGIC_SOFT@GOTPAGE
Lloh4:
ldr x8, [x8, _RB_MAGIC_SOFT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _put_u32
ldr x8, [x21, #24]
add x0, x8, #4
mov w1, #0
bl _put_u32
ldr x0, [x21, #24]
ldr w1, [x21]
bl _cyg_ether_crc32
mov x1, x0
ldr x8, [x21, #24]
add x0, x8, #4
bl _put_u32
cmp w19, #0
mov w8, #8
mov w9, #16
csel x8, x9, x8, eq
ldr x20, [x21, x8]
Lloh6:
adrp x8, _O_WRONLY@GOTPAGE
Lloh7:
ldr x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _O_CREAT@GOTPAGE
Lloh10:
ldr x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w1, w9, w8
mov x0, x20
bl _open
tbnz w0, #31, LBB0_3
; %bb.1:
mov x19, x0
ldr x1, [x21, #24]
ldr w2, [x21]
bl _write
ldr w8, [x21]
cmp w0, w8
b.ne LBB0_4
; %bb.2:
mov x0, x19
bl _fsync
mov w20, #0
b LBB0_5
LBB0_3:
Lloh12:
adrp x8, _stderr@GOTPAGE
Lloh13:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
Lloh15:
adrp x1, l_.str@PAGE
Lloh16:
add x1, x1, l_.str@PAGEOFF
mov x2, x20
bl _fprintf
Lloh17:
adrp x8, _RB_ERR_IO@GOTPAGE
Lloh18:
ldr x8, [x8, _RB_ERR_IO@GOTPAGEOFF]
Lloh19:
ldr w20, [x8]
b LBB0_6
LBB0_4:
Lloh20:
adrp x8, _RB_ERR_IO@GOTPAGE
Lloh21:
ldr x8, [x8, _RB_ERR_IO@GOTPAGEOFF]
Lloh22:
ldr w20, [x8]
LBB0_5:
mov x0, x19
bl _close
LBB0_6:
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 Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _rbcfg_ctx,8,3 ; @rbcfg_ctx
.comm _RB_MAGIC_SOFT,4,2 ; @RB_MAGIC_SOFT
.comm _O_WRONLY,4,2 ; @O_WRONLY
.comm _O_CREAT,4,2 ; @O_CREAT
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unable to open %s for writing\n"
.comm _RB_ERR_IO,4,2 ; @RB_ERR_IO
.no_dead_strip _rbcfg_update
.subsections_via_symbols
| AnghaBench/openwrt/package/boot/rbcfg/src/extr_main.c_rbcfg_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Opcode_bnei_Slot_inst_encode
_Opcode_bnei_Slot_inst_encode: ## @Opcode_bnei_Slot_inst_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $102, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Opcode_bnei_Slot_inst_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Opcode_bnei_Slot_inst_encode
_Opcode_bnei_Slot_inst_encode: ; @Opcode_bnei_Slot_inst_encode
.cfi_startproc
; %bb.0:
mov w8, #102
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Opcode_bnei_Slot_inst_encode
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_bnei_Slot_inst_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_active_binding
_get_active_binding: ## @get_active_binding
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -52(%rbp) ## 4-byte Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rdi, -88(%rbp) ## 8-byte Spill
cmpl $0, (%rsi)
jle LBB0_32
## %bb.1:
movq %rsi, %r9
xorl %r12d, %r12d
movq _BINDING_LOCKED@GOTPCREL(%rip), %r10
movq _BINDING_RELEASE@GOTPCREL(%rip), %r11
movl %r8d, -48(%rbp) ## 4-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
jmp LBB0_2
LBB0_28: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq %r14, (%rax)
movl 24(%r14), %edi
movq 16(%rbp), %rsi
callq _strcmp
movq _BINDING_RELEASE@GOTPCREL(%rip), %r11
movq _BINDING_LOCKED@GOTPCREL(%rip), %r10
movq -72(%rbp), %r9 ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
testq %rax, %rax
je LBB0_29
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_2 Depth=1
incq %r12
movslq (%r9), %rax
cmpq %rax, %r12
jge LBB0_32
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq 8(%r9), %rax
movq (%rax,%r12,8), %r14
cmpq %rcx, 8(%r14)
jne LBB0_31
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%r14), %r15d
movl (%r10), %r13d
xorl %eax, %eax
testl %r15d, %r13d
setne %bl
movl (%r11), %edx
andl %r15d, %edx
cmpl %r8d, %edx
jne LBB0_31
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movb %bl, %al
cmpl -52(%rbp), %eax ## 4-byte Folded Reload
jl LBB0_31
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 16(%r14), %rax
cmpq 24(%rbp), %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq _XKB_LAYOUT_INVALID@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
jne LBB0_31
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl 24(%r14), %edi
movq 16(%rbp), %rsi
callq _strcmp
movq _BINDING_RELEASE@GOTPCREL(%rip), %r11
movq _BINDING_LOCKED@GOTPCREL(%rip), %r10
movq -72(%rbp), %r9 ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movl 24(%r14), %edi
leaq L_.str(%rip), %rsi
callq _strcmp
movq _BINDING_RELEASE@GOTPCREL(%rip), %r11
movq _BINDING_LOCKED@GOTPCREL(%rip), %r10
movq -72(%rbp), %r9 ## 8-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
testq %rax, %rax
jne LBB0_31
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq 32(%r14), %rsi
movslq (%rsi), %rdx
cmpq %rdx, %rax
jne LBB0_14
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
je LBB0_16
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rsi), %rbx
movq -88(%rbp), %rdx ## 8-byte Reload
movq 8(%rdx), %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx,%rsi,8), %rdi
movq (%rdi), %rdi
cmpq (%rdx,%rsi,8), %rdi
jne LBB0_31
## %bb.12: ## in Loop: Header=BB0_13 Depth=2
incq %rsi
cmpq %rsi, %rax
jne LBB0_13
jmp LBB0_16
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, %edx
jne LBB0_31
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rax
movq 8(%rsi), %rdx
movq (%rdx), %rdx
cmpq (%rdx), %rax
jne LBB0_31
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
testq %rax, %rax
je LBB0_28
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
cmpq %r14, %rax
je LBB0_31
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r13d
setne -42(%rbp) ## 1-byte Folded Spill
movl (%r10), %ecx
andl (%rax), %ecx
setne -41(%rbp) ## 1-byte Folded Spill
movl 24(%rax), %edi
movq 16(%rbp), %rsi
callq _strcmp
movq %rax, -96(%rbp) ## 8-byte Spill
testq %rax, %rax
sete %r13b
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq 16(%rax), %rax
movq _XKB_LAYOUT_INVALID@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
setne %r15b
movl 24(%r14), %edi
movq 16(%rbp), %rsi
callq _strcmp
testq %rax, %rax
sete %dl
movq 16(%r14), %rcx
cmpq (%rbx), %rcx
setne %sil
xorb %r13b, %dl
xorb %r15b, %sil
testb %dl, %dl
jne LBB0_22
## %bb.19: ## in Loop: Header=BB0_2 Depth=1
movb -42(%rbp), %cl ## 1-byte Reload
xorb -41(%rbp), %cl ## 1-byte Folded Reload
jne LBB0_22
## %bb.20: ## in Loop: Header=BB0_2 Depth=1
testb %sil, %sil
jne LBB0_22
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
movq _SWAY_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl 28(%rax), %edx
movl 28(%r14), %ecx
leaq L_.str.1(%rip), %rsi
callq _sway_log
movl -48(%rbp), %r8d ## 4-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %r9 ## 8-byte Reload
movq _BINDING_LOCKED@GOTPCREL(%rip), %r10
movq _BINDING_RELEASE@GOTPCREL(%rip), %r11
jmp LBB0_31
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, -96(%rbp) ## 8-byte Folded Reload
movl -48(%rbp), %r8d ## 4-byte Reload
movq -80(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %r9 ## 8-byte Reload
movq _BINDING_LOCKED@GOTPCREL(%rip), %r10
movq _BINDING_RELEASE@GOTPCREL(%rip), %r11
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
jne LBB0_31
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
testb %dl, %dl
jne LBB0_28
## %bb.25: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq 24(%rbp), %rdx
cmpq %rdx, 16(%rax)
je LBB0_31
## %bb.26: ## in Loop: Header=BB0_2 Depth=1
testb %sil, %sil
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
movb -41(%rbp), %dl ## 1-byte Reload
movb %dl, %al
cmpl -52(%rbp), %eax ## 4-byte Folded Reload
je LBB0_31
jmp LBB0_28
LBB0_29: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movl (%r10), %edx
andl (%rax), %edx
cmpl -52(%rbp), %edx ## 4-byte Folded Reload
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_2 Depth=1
movq 24(%rbp), %rdx
cmpq %rdx, 16(%rax)
jne LBB0_31
LBB0_32:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BINDING_LOCKED,4,2 ## @BINDING_LOCKED
.comm _BINDING_RELEASE,4,2 ## @BINDING_RELEASE
.comm _XKB_LAYOUT_INVALID,8,3 ## @XKB_LAYOUT_INVALID
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*"
.comm _SWAY_DEBUG,4,2 ## @SWAY_DEBUG
L_.str.1: ## @.str.1
.asciz "Encountered conflicting bindings %d and %d"
.no_dead_strip _get_active_binding
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_active_binding
_get_active_binding: ; @get_active_binding
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
stp x0, x6, [sp, #32] ; 16-byte Folded Spill
str x2, [sp, #24] ; 8-byte Folded Spill
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_30
; %bb.1:
mov x19, x7
mov x21, x5
mov x22, x4
mov x23, x3
mov x25, x1
mov x28, #0
Lloh0:
adrp x24, _BINDING_LOCKED@GOTPAGE
Lloh1:
ldr x24, [x24, _BINDING_LOCKED@GOTPAGEOFF]
Lloh2:
adrp x27, _BINDING_RELEASE@GOTPAGE
Lloh3:
ldr x27, [x27, _BINDING_RELEASE@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x26, [x8]
ldr w0, [x26, #24]
ldr x1, [sp, #40] ; 8-byte Folded Reload
bl _strcmp
cbz x0, LBB0_28
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x28, x28, #1
ldrsw x8, [x25]
cmp x28, x8
b.ge LBB0_30
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
ldr x8, [x25, #8]
ldr x26, [x8, x28, lsl #3]
ldr x8, [x26, #8]
cmp x8, x23
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x26]
ldr w9, [x24]
and w20, w9, w8
cmp w20, #0
cset w9, ne
ldr w10, [x27]
and w8, w10, w8
cmp w8, w22
ccmp w9, w21, #8, eq
b.lt LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x26, #16]
Lloh4:
adrp x9, _XKB_LAYOUT_INVALID@GOTPAGE
Lloh5:
ldr x9, [x9, _XKB_LAYOUT_INVALID@GOTPAGEOFF]
Lloh6:
ldr x9, [x9]
cmp x8, x19
ccmp x8, x9, #4, ne
b.ne LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x26, #24]
ldr x1, [sp, #40] ; 8-byte Folded Reload
bl _strcmp
cbz x0, LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x26, #24]
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbnz x0, LBB0_3
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [x26, #32]
ldrsw x10, [x9]
cmp x8, x10
b.ne LBB0_14
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
cbz x8, LBB0_16
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x9, #8]
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldr x10, [x10, #8]
LBB0_12: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x11, [x9]
ldr x11, [x11]
ldr x12, [x10]
cmp x11, x12
b.ne LBB0_3
; %bb.13: ; in Loop: Header=BB0_12 Depth=2
add x10, x10, #8
add x9, x9, #8
subs x8, x8, #1
b.ne LBB0_12
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
cmp w10, #1
b.ne LBB0_3
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldr x9, [x9, #8]
ldr x9, [x9]
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
cmp x8, x26
b.eq LBB0_3
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
cmp w20, #0
cset w11, ne
ldr w9, [x8]
ldr w10, [x24]
tst w10, w9
cset w9, ne
stp w11, w9, [sp, #8] ; 8-byte Folded Spill
ldr w0, [x8, #24]
ldr x20, [sp, #40] ; 8-byte Folded Reload
mov x1, x20
bl _strcmp
str x0, [sp] ; 8-byte Folded Spill
cmp x0, #0
cset w8, eq
str w8, [sp, #20] ; 4-byte Folded Spill
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x8, [x8, #16]
Lloh9:
adrp x9, _XKB_LAYOUT_INVALID@GOTPAGE
Lloh10:
ldr x9, [x9, _XKB_LAYOUT_INVALID@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
cset w8, ne
str w8, [sp, #16] ; 4-byte Folded Spill
ldr w0, [x26, #24]
mov x1, x20
bl _strcmp
cmp x0, #0
cset w8, eq
ldr x9, [x26, #16]
Lloh12:
adrp x10, _XKB_LAYOUT_INVALID@GOTPAGE
Lloh13:
ldr x10, [x10, _XKB_LAYOUT_INVALID@GOTPAGEOFF]
Lloh14:
ldr x10, [x10]
cmp x9, x10
cset w10, ne
ldr w9, [sp, #20] ; 4-byte Folded Reload
eor w9, w9, w8
ldr w8, [sp, #16] ; 4-byte Folded Reload
eor w8, w8, w10
tbnz w9, #0, LBB0_22
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
ldp w11, w10, [sp, #8] ; 8-byte Folded Reload
eor w10, w11, w10
tbnz w10, #0, LBB0_22
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
tbnz w8, #0, LBB0_22
; %bb.21: ; in Loop: Header=BB0_4 Depth=1
Lloh15:
adrp x8, _SWAY_DEBUG@GOTPAGE
Lloh16:
ldr x8, [x8, _SWAY_DEBUG@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w2, [x8, #28]
ldr w3, [x26, #28]
Lloh18:
adrp x1, l_.str.1@PAGE
Lloh19:
add x1, x1, l_.str.1@PAGEOFF
bl _sway_log
b LBB0_3
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [sp] ; 8-byte Folded Reload
cbnz x10, LBB0_24
; %bb.23: ; in Loop: Header=BB0_4 Depth=1
cbnz x0, LBB0_3
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
tbnz w9, #0, LBB0_2
; %bb.25: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr x9, [x9]
ldr x9, [x9, #16]
cmp x9, x19
b.eq LBB0_3
; %bb.26: ; in Loop: Header=BB0_4 Depth=1
tbnz w8, #0, LBB0_2
; %bb.27: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
cmp w8, w21
b.eq LBB0_3
b LBB0_2
LBB0_28: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x8, [x8]
ldr w9, [x8]
ldr w10, [x24]
and w9, w10, w9
cmp w9, w21
b.ne LBB0_3
; %bb.29: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x8, #16]
cmp x8, x19
b.ne LBB0_3
LBB0_30:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _BINDING_LOCKED,4,2 ; @BINDING_LOCKED
.comm _BINDING_RELEASE,4,2 ; @BINDING_RELEASE
.comm _XKB_LAYOUT_INVALID,8,3 ; @XKB_LAYOUT_INVALID
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "*"
.comm _SWAY_DEBUG,4,2 ; @SWAY_DEBUG
l_.str.1: ; @.str.1
.asciz "Encountered conflicting bindings %d and %d"
.no_dead_strip _get_active_binding
.subsections_via_symbols
| AnghaBench/sway/sway/input/extr_keyboard.c_get_active_binding.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_StrFromTimeIntervalA
_test_StrFromTimeIntervalA: ## @test_StrFromTimeIntervalA
.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 $264, %rsp ## imm = 0x108
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq _StrFromTimeInterval_results@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq 8(%r15), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.1:
leaq -288(%rbp), %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15), %ecx
movq %rbx, %rdi
movl $256, %esi ## imm = 0x100
callq _StrFromTimeIntervalA
movl 16(%r15), %edi
movq %rbx, %rsi
callq _strcmp
xorl %edi, %edi
testl %eax, %eax
sete %dil
movq 8(%r15), %rdx
movl (%r15), %ecx
movq %r14, %rsi
movq %rbx, %r8
callq _ok
movq 32(%r15), %rdx
addq $24, %r15
testq %rdx, %rdx
jne LBB0_2
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_5
## %bb.4:
addq $264, %rsp ## imm = 0x108
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _StrFromTimeInterval_results,8,3 ## @StrFromTimeInterval_results
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Formatted %d %d wrong: %s\n"
.no_dead_strip _test_StrFromTimeIntervalA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_StrFromTimeIntervalA
_test_StrFromTimeIntervalA: ; @test_StrFromTimeIntervalA
.cfi_startproc
; %bb.0:
sub sp, sp, #320
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x20, x19, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w27, -40
.cfi_offset w28, -48
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, _StrFromTimeInterval_results@GOTPAGE
Lloh4:
ldr x8, [x8, _StrFromTimeInterval_results@GOTPAGEOFF]
Lloh5:
ldr x20, [x8]
ldr x2, [x20, #8]
cbz x2, LBB0_3
; %bb.1:
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w3, [x20]
add x0, sp, #8
mov w1, #256 ; =0x100
bl _StrFromTimeIntervalA
ldr w0, [x20, #16]
add x1, sp, #8
bl _strcmp
cmp w0, #0
cset w0, eq
ldr x2, [x20, #8]
ldr w3, [x20]
add x4, sp, #8
mov x1, x19
bl _ok
ldr x2, [x20, #32]
add x20, x20, #24
cbnz x2, LBB0_2
LBB0_3:
ldur x8, [x29, #-40]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x20, x19, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #320
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _StrFromTimeInterval_results,8,3 ; @StrFromTimeInterval_results
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Formatted %d %d wrong: %s\n"
.no_dead_strip _test_StrFromTimeIntervalA
.subsections_via_symbols
| assembly_file_49943.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opal_ipmi_loop
_opal_ipmi_loop: ## @opal_ipmi_loop
.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 _IPMI_LOCK
movq %rbx, %rdi
callq _ipmi_dequeue_request
movq %rax, %r14
movq %rbx, %rdi
callq _IPMI_UNLOCK
testq %r14, %r14
je LBB0_1
## %bb.3:
xorl %edi, %edi
popq %rbx
popq %r14
popq %rbp
jmp _kproc_exit ## TAILCALL
LBB0_1:
movq _MAX_TIMEOUT@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _IPMI_IO_LOCK
movl (%r14), %edx
movq %rbx, %rdi
xorl %esi, %esi
callq _opal_ipmi_polled_request
movq %rbx, %rdi
callq _IPMI_IO_UNLOCK
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _MAX_TIMEOUT,4,2 ## @MAX_TIMEOUT
.comm _EIO,8,3 ## @EIO
.no_dead_strip _opal_ipmi_loop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opal_ipmi_loop
_opal_ipmi_loop: ; @opal_ipmi_loop
.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 x19, x0
bl _IPMI_LOCK
mov x0, x19
bl _ipmi_dequeue_request
mov x20, x0
mov x0, x19
bl _IPMI_UNLOCK
cbz x20, LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kproc_exit
LBB0_2:
Lloh0:
adrp x20, _MAX_TIMEOUT@GOTPAGE
Lloh1:
ldr x20, [x20, _MAX_TIMEOUT@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _IPMI_IO_LOCK
ldr w2, [x20]
mov x0, x19
mov x1, #0 ; =0x0
bl _opal_ipmi_polled_request
mov x0, x19
bl _IPMI_IO_UNLOCK
b LBB0_3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MAX_TIMEOUT,4,2 ; @MAX_TIMEOUT
.comm _EIO,8,3 ; @EIO
.no_dead_strip _opal_ipmi_loop
.subsections_via_symbols
| assembly_file_102045.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_swrun_tbl ## -- Begin function init_swrun_tbl
.p2align 4, 0x90
_init_swrun_tbl: ## @init_swrun_tbl
.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 _refresh_swrun_tbl
leaq L_.str(%rip), %rdi
popq %rbp
jmp _HRDBG ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "done"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_swrun_tbl ; -- Begin function init_swrun_tbl
.p2align 2
_init_swrun_tbl: ; @init_swrun_tbl
.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 _refresh_swrun_tbl
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _HRDBG
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "done"
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/extr_hostres_swrun_tbl.c_init_swrun_tbl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _il_set_decrypted_flag ## -- Begin function il_set_decrypted_flag
.p2align 4, 0x90
_il_set_decrypted_flag: ## @il_set_decrypted_flag
.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 %rcx, %r14
movl %edx, %r15d
movq %rdi, %rbx
movl (%rsi), %edi
callq _le16_to_cpu
movq _RXON_FILTER_DIS_DECRYPT_MSK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
xorl %r12d, %r12d
testl %ecx, (%rbx)
je LBB0_1
LBB0_12:
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq _IEEE80211_FCTL_PROTECTED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_12
## %bb.2:
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
movl %r15d, %esi
xorl %eax, %eax
callq _D_RX
movq _RX_RES_STATUS_SEC_TYPE_MSK@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl %r15d, %eax
cmpl $128, %eax
je LBB0_9
## %bb.3:
cmpl $129, %eax
je LBB0_8
## %bb.4:
cmpl $130, %eax
jne LBB0_12
## %bb.5:
movq _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPCREL(%rip), %rax
andl (%rax), %r15d
jmp LBB0_6
LBB0_9:
movq _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPCREL(%rip), %rax
andl (%rax), %r15d
jmp LBB0_10
LBB0_8:
movq _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPCREL(%rip), %rax
andl (%rax), %r15d
movq _RX_RES_STATUS_BAD_KEY_TTAK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
je LBB0_12
LBB0_10:
movq _RX_RES_STATUS_BAD_ICV_MIC@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jne LBB0_6
## %bb.11:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _D_RX
movl $-1, %r12d
jmp LBB0_12
LBB0_6:
movq _RX_RES_STATUS_DECRYPT_OK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jne LBB0_12
## %bb.7:
leaq L_.str.2(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _D_RX
movq _RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _RXON_FILTER_DIS_DECRYPT_MSK,4,2 ## @RXON_FILTER_DIS_DECRYPT_MSK
.comm _IEEE80211_FCTL_PROTECTED,4,2 ## @IEEE80211_FCTL_PROTECTED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "decrypt_res:0x%x\n"
.comm _RX_RES_STATUS_SEC_TYPE_MSK,4,2 ## @RX_RES_STATUS_SEC_TYPE_MSK
.comm _RX_RES_STATUS_DECRYPT_TYPE_MSK,4,2 ## @RX_RES_STATUS_DECRYPT_TYPE_MSK
.comm _RX_RES_STATUS_BAD_KEY_TTAK,4,2 ## @RX_RES_STATUS_BAD_KEY_TTAK
.comm _RX_RES_STATUS_BAD_ICV_MIC,4,2 ## @RX_RES_STATUS_BAD_ICV_MIC
L_.str.1: ## @.str.1
.asciz "Packet destroyed\n"
.comm _RX_RES_STATUS_DECRYPT_OK,4,2 ## @RX_RES_STATUS_DECRYPT_OK
L_.str.2: ## @.str.2
.asciz "hw decrypt successfully!!!\n"
.comm _RX_FLAG_DECRYPTED,4,2 ## @RX_FLAG_DECRYPTED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _il_set_decrypted_flag ; -- Begin function il_set_decrypted_flag
.p2align 2
_il_set_decrypted_flag: ; @il_set_decrypted_flag
.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, x3
mov x20, x2
mov x21, x0
ldr w0, [x1]
bl _le16_to_cpu
ldr w8, [x21]
Lloh0:
adrp x9, _RXON_FILTER_DIS_DECRYPT_MSK@GOTPAGE
Lloh1:
ldr x9, [x9, _RXON_FILTER_DIS_DECRYPT_MSK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
LBB0_1:
mov w0, #0
LBB0_2:
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_3:
Lloh3:
adrp x8, _IEEE80211_FCTL_PROTECTED@GOTPAGE
Lloh4:
ldr x8, [x8, _IEEE80211_FCTL_PROTECTED@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_1
; %bb.4:
str x20, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _D_RX
Lloh8:
adrp x8, _RX_RES_STATUS_SEC_TYPE_MSK@GOTPAGE
Lloh9:
ldr x8, [x8, _RX_RES_STATUS_SEC_TYPE_MSK@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
and w8, w8, w20
cmp w8, #128
b.eq LBB0_8
; %bb.5:
cmp w8, #129
b.eq LBB0_9
; %bb.6:
cmp w8, #130
b.ne LBB0_1
; %bb.7:
Lloh11:
adrp x8, _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPAGE
Lloh12:
ldr x8, [x8, _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
and w8, w8, w20
b LBB0_12
LBB0_8:
Lloh14:
adrp x8, _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPAGE
Lloh15:
ldr x8, [x8, _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
and w8, w8, w20
b LBB0_10
LBB0_9:
Lloh17:
adrp x8, _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPAGE
Lloh18:
ldr x8, [x8, _RX_RES_STATUS_DECRYPT_TYPE_MSK@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
and w8, w8, w20
Lloh20:
adrp x9, _RX_RES_STATUS_BAD_KEY_TTAK@GOTPAGE
Lloh21:
ldr x9, [x9, _RX_RES_STATUS_BAD_KEY_TTAK@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_1
LBB0_10:
Lloh23:
adrp x9, _RX_RES_STATUS_BAD_ICV_MIC@GOTPAGE
Lloh24:
ldr x9, [x9, _RX_RES_STATUS_BAD_ICV_MIC@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_12
; %bb.11:
Lloh26:
adrp x0, l_.str.1@PAGE
Lloh27:
add x0, x0, l_.str.1@PAGEOFF
bl _D_RX
mov w0, #-1
b LBB0_2
LBB0_12:
Lloh28:
adrp x9, _RX_RES_STATUS_DECRYPT_OK@GOTPAGE
Lloh29:
ldr x9, [x9, _RX_RES_STATUS_DECRYPT_OK@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_1
; %bb.13:
Lloh31:
adrp x0, l_.str.2@PAGE
Lloh32:
add x0, x0, l_.str.2@PAGEOFF
bl _D_RX
mov w0, #0
Lloh33:
adrp x8, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh34:
ldr x8, [x8, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
b LBB0_2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _RXON_FILTER_DIS_DECRYPT_MSK,4,2 ; @RXON_FILTER_DIS_DECRYPT_MSK
.comm _IEEE80211_FCTL_PROTECTED,4,2 ; @IEEE80211_FCTL_PROTECTED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "decrypt_res:0x%x\n"
.comm _RX_RES_STATUS_SEC_TYPE_MSK,4,2 ; @RX_RES_STATUS_SEC_TYPE_MSK
.comm _RX_RES_STATUS_DECRYPT_TYPE_MSK,4,2 ; @RX_RES_STATUS_DECRYPT_TYPE_MSK
.comm _RX_RES_STATUS_BAD_KEY_TTAK,4,2 ; @RX_RES_STATUS_BAD_KEY_TTAK
.comm _RX_RES_STATUS_BAD_ICV_MIC,4,2 ; @RX_RES_STATUS_BAD_ICV_MIC
l_.str.1: ; @.str.1
.asciz "Packet destroyed\n"
.comm _RX_RES_STATUS_DECRYPT_OK,4,2 ; @RX_RES_STATUS_DECRYPT_OK
l_.str.2: ; @.str.2
.asciz "hw decrypt successfully!!!\n"
.comm _RX_FLAG_DECRYPTED,4,2 ; @RX_FLAG_DECRYPTED
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_common.c_il_set_decrypted_flag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _put_length ## -- Begin function put_length
.p2align 4, 0x90
_put_length: ## @put_length
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, %eax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
incl %eax
cmpb $0, (%rdi)
leaq 1(%rdi), %rdi
jne LBB0_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _put_stringr ## -- Begin function put_stringr
.p2align 4, 0x90
_put_stringr: ## @put_stringr
.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, %r14
movabsq $-8589934592, %rbx ## imm = 0xFFFFFFFE00000000
xorl %eax, %eax
movabsq $4294967296, %rcx ## imm = 0x100000000
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
addq %rcx, %rbx
cmpb $0, (%r14,%rax)
leaq 1(%rax), %rax
jne LBB1_1
## %bb.2:
leal -1(%rax), %ecx
testl $-2147483648, %ecx ## imm = 0x80000000
jne LBB1_5
## %bb.3:
movl %eax, %r15d
movabsq $-4294967296, %r12 ## imm = 0xFFFFFFFF00000000
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
sarq $32, %rax
movsbl (%r14,%rax), %edi
callq _putchar
addq %r12, %rbx
decq %r15
jne LBB1_4
LBB1_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $136, %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 %r14d, %r14d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -160(%rbp), %rsi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movabsq $-8589934592, %rbx ## imm = 0xFFFFFFFE00000000
movabsq $4294967296, %rax ## imm = 0x100000000
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
addq %rax, %rbx
cmpb $0, -160(%rbp,%r14)
leaq 1(%r14), %r14
jne LBB2_1
## %bb.2:
leal -1(%r14), %eax
testl $-2147483648, %eax ## imm = 0x80000000
jne LBB2_5
## %bb.3:
movl %r14d, %r14d
movabsq $-4294967296, %r15 ## imm = 0xFFFFFFFF00000000
.p2align 4, 0x90
LBB2_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
sarq $32, %rax
movsbl -160(%rbp,%rax), %edi
callq _putchar
addq %r15, %rbx
decq %r14
jne LBB2_4
LBB2_5:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB2_7
## %bb.6:
xorl %eax, %eax
addq $136, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "input a string: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "\351\200\206\345\220\221\346\230\276\347\244\272\345\255\227\347\254\246\344\270\262\357\274\232"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _put_length ; -- Begin function put_length
.p2align 2
_put_length: ; @put_length
.cfi_startproc
; %bb.0:
mov x8, x0
mov w0, #-1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #1
add w0, w0, #1
cbnz w9, LBB0_1
; %bb.2:
ret
.cfi_endproc
; -- End function
.globl _put_stringr ; -- Begin function put_stringr
.p2align 2
_put_stringr: ; @put_stringr
.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 x8, #0
mov x20, #-8589934592
mov x9, #4294967296
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x19, x8]
add x8, x8, #1
add x20, x20, x9
cbnz w10, LBB1_1
; %bb.2:
cmp w8, #1
b.mi LBB1_5
; %bb.3:
and x21, x8, #0xffffffff
mov x22, #-4294967296
LBB1_4: ; =>This Inner Loop Header: Depth=1
asr x8, x20, #32
ldrsb w0, [x19, x8]
bl _putchar
add x20, x20, x22
subs x21, x21, #1
b.ne LBB1_4
LBB1_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
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x20, sp, #8
str x20, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x8, #0
mov x19, #-8589934592
mov x9, #4294967296
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x20, x8]
add x8, x8, #1
add x19, x19, x9
cbnz w10, LBB2_1
; %bb.2:
cmp w8, #1
b.mi LBB2_5
; %bb.3:
and x20, x8, #0xffffffff
add x21, sp, #8
mov x22, #-4294967296
LBB2_4: ; =>This Inner Loop Header: Depth=1
asr x8, x19, #32
ldrsb w0, [x21, x8]
bl _putchar
add x19, x19, x22
subs x20, x20, #1
b.ne LBB2_4
LBB2_5:
mov w0, #10
bl _putchar
ldur x8, [x29, #-40]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_7
; %bb.6:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB2_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "input a string: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "\351\200\206\345\220\221\346\230\276\347\244\272\345\255\227\347\254\246\344\270\262\357\274\232"
.subsections_via_symbols
| the_stack_data/154827122.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pfkey_recvmsg
_pfkey_recvmsg: ## @pfkey_recvmsg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, -64(%rbp) ## 8-byte Spill
movq (%rdi), %r15
movq %r15, %rdi
callq _pfkey_sk
movq %rax, %r12
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movl %ecx, -44(%rbp)
movq _MSG_PEEK@GOTPCREL(%rip), %rax
movq _MSG_DONTWAIT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl (%rax), %eax
orl %edx, %eax
movq _MSG_TRUNC@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _MSG_CMSG_COMPAT@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
notl %eax
testl %ebx, %eax
jne LBB0_11
## %bb.1:
andl %ebx, %edx
leaq -44(%rbp), %rcx
movq %r15, %rdi
movl %ebx, %esi
callq _skb_recv_datagram
movq _MSG_TRUNC@GOTPCREL(%rip), %rcx
testq %rax, %rax
je LBB0_11
## %bb.2:
movq %rax, %r13
movq %r12, -56(%rbp) ## 8-byte Spill
movslq (%rax), %r12
cmpq %r14, %r12
jbe LBB0_4
## %bb.3:
movl (%rcx), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
orl %eax, (%rcx)
movl %r14d, %r12d
LBB0_4:
movq %r13, %rdi
callq _skb_reset_transport_header
movq %r13, %rdi
xorl %esi, %esi
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdx
movl %r12d, %ecx
callq _skb_copy_datagram_msg
movl %eax, -44(%rbp)
testl %eax, %eax
je LBB0_5
LBB0_10:
movq %r15, %rdi
movq %r13, %rsi
callq _skb_free_datagram
LBB0_11:
movl -44(%rbp), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq _sock_recv_ts_and_drops
movq _MSG_TRUNC@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_7
## %bb.6:
movl (%r13), %r12d
LBB0_7:
movl %r12d, -44(%rbp)
movq -56(%rbp), %rax ## 8-byte Reload
cmpq $0, (%rax)
je LBB0_10
## %bb.8:
leaq 4(%r15), %rdi
callq _atomic_read
## kill: def $eax killed $eax def $rax
leal (%rax,%rax,2), %eax
cmpl (%r15), %eax
jg LBB0_10
## %bb.9:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _pfkey_do_dump
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _MSG_PEEK,4,2 ## @MSG_PEEK
.comm _MSG_DONTWAIT,4,2 ## @MSG_DONTWAIT
.comm _MSG_TRUNC,4,2 ## @MSG_TRUNC
.comm _MSG_CMSG_COMPAT,4,2 ## @MSG_CMSG_COMPAT
.no_dead_strip _pfkey_recvmsg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pfkey_recvmsg
_pfkey_recvmsg: ; @pfkey_recvmsg
.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 x21, x3
mov x24, x2
mov x23, x1
ldr x19, [x0]
mov x0, x19
bl _pfkey_sk
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w8, w8
str w8, [sp, #12]
Lloh3:
adrp x8, _MSG_PEEK@GOTPAGE
Lloh4:
ldr x8, [x8, _MSG_PEEK@GOTPAGEOFF]
Lloh5:
adrp x9, _MSG_DONTWAIT@GOTPAGE
Lloh6:
ldr x9, [x9, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh7:
ldr w10, [x8]
Lloh8:
ldr w8, [x9]
orr w9, w8, w10
Lloh9:
adrp x26, _MSG_TRUNC@GOTPAGE
Lloh10:
ldr x26, [x26, _MSG_TRUNC@GOTPAGEOFF]
ldr w10, [x26]
orr w9, w9, w10
Lloh11:
adrp x10, _MSG_CMSG_COMPAT@GOTPAGE
Lloh12:
ldr x10, [x10, _MSG_CMSG_COMPAT@GOTPAGEOFF]
Lloh13:
ldr w10, [x10]
orr w9, w9, w10
bics wzr, w21, w9
b.ne LBB0_6
; %bb.1:
mov x20, x0
and w2, w8, w21
add x3, sp, #12
mov x0, x19
mov x1, x21
bl _skb_recv_datagram
cbz x0, LBB0_6
; %bb.2:
mov x22, x0
ldrsw x25, [x0]
cmp x25, x24
b.ls LBB0_4
; %bb.3:
ldr w8, [x26]
ldr w9, [x23]
orr w8, w9, w8
str w8, [x23]
mov x25, x24
LBB0_4:
mov x0, x22
bl _skb_reset_transport_header
mov x0, x22
mov w1, #0
mov x2, x23
mov x3, x25
bl _skb_copy_datagram_msg
str w0, [sp, #12]
cbz w0, LBB0_7
LBB0_5:
mov x0, x19
mov x1, x22
bl _skb_free_datagram
LBB0_6:
ldr w0, [sp, #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
add sp, sp, #96
ret
LBB0_7:
mov x0, x23
mov x1, x19
mov x2, x22
bl _sock_recv_ts_and_drops
ldr w8, [x26]
tst w8, w21
b.eq LBB0_9
; %bb.8:
ldr w25, [x22]
LBB0_9:
str w25, [sp, #12]
ldr x8, [x20]
cbz x8, LBB0_5
; %bb.10:
add x0, x19, #4
bl _atomic_read
add w8, w0, w0, lsl #1
ldr w9, [x19]
cmp w8, w9
b.gt LBB0_5
; %bb.11:
mov x0, x20
bl _pfkey_do_dump
b LBB0_5
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _MSG_PEEK,4,2 ; @MSG_PEEK
.comm _MSG_DONTWAIT,4,2 ; @MSG_DONTWAIT
.comm _MSG_TRUNC,4,2 ; @MSG_TRUNC
.comm _MSG_CMSG_COMPAT,4,2 ; @MSG_CMSG_COMPAT
.no_dead_strip _pfkey_recvmsg
.subsections_via_symbols
| AnghaBench/linux/net/key/extr_af_key.c_pfkey_recvmsg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reconfig_encoder
_reconfig_encoder: ## @reconfig_encoder
.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 $64, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 24(%rdi), %rbx
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movq _NV_ENC_RECONFIGURE_PARAMS_VER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movups 32(%rbx), %xmm0
movups %xmm0, -72(%rbp)
leaq -40(%rbp), %rsi
leaq -36(%rbp), %rdx
callq _compute_dar
movl -40(%rbp), %r9d
movl 32(%rbx), %ecx
cmpl %ecx, %r9d
jne LBB0_1
## %bb.2:
movl -36(%rbp), %eax
movl 36(%rbx), %r8d
movb $1, %r15b
cmpl %r8d, %eax
jne LBB0_3
jmp LBB0_4
LBB0_1:
movl 36(%rbx), %r8d
movl -36(%rbp), %eax
LBB0_3:
movq _AV_LOG_VERBOSE@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
movl %eax, (%rsp)
leaq L_.str(%rip), %rdx
xorl %r15d, %r15d
movq %r14, %rdi
xorl %eax, %eax
callq _av_log
movl -36(%rbp), %eax
movl %eax, -68(%rbp)
movl -40(%rbp), %eax
movl %eax, -72(%rbp)
LBB0_4:
movq (%rbx), %rax
movq _NV_ENC_PARAMS_RC_CONSTQP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_17
## %bb.5:
cmpq $0, 56(%rbx)
je LBB0_17
## %bb.6:
movq 16(%r14), %r8
xorl %eax, %eax
testq %r8, %r8
jle LBB0_9
## %bb.7:
movq -64(%rbp), %r12
movq 16(%r12), %rcx
cmpq %r8, %rcx
je LBB0_9
## %bb.8:
movq _AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
movq %r14, %rdi
## kill: def $ecx killed $ecx killed $rcx
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _av_log
movq 16(%r14), %rax
movq %rax, 16(%r12)
movl $1, %eax
LBB0_9:
movq 8(%r14), %r8
testq %r8, %r8
jle LBB0_12
## %bb.10:
cmpq %r8, 16(%rbx)
je LBB0_12
## %bb.11:
movq _AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -64(%rbp), %r12
movl 8(%r12), %ecx
leaq L_.str.2(%rip), %rdx
movq %r14, %rdi
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _av_log
movq 8(%r14), %rax
movq %rax, 8(%r12)
movl $1, %eax
LBB0_12:
movq (%r14), %r8
testq %r8, %r8
jle LBB0_15
## %bb.13:
cmpq %r8, 8(%rbx)
jne LBB0_14
LBB0_15:
testl %eax, %eax
jne LBB0_16
LBB0_17:
movq $0, -64(%rbp)
movb $1, %r12b
testb %r15b, %r15b
je LBB0_18
jmp LBB0_24
LBB0_14:
movq _AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -64(%rbp), %r12
movl (%r12), %ecx
leaq L_.str.3(%rip), %rdx
movq %r14, %rdi
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _av_log
movq (%r14), %rax
movq %rax, (%r12)
LBB0_16:
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, -80(%rbp)
xorl %r12d, %r12d
LBB0_18:
movl 48(%rbx), %edi
leaq -80(%rbp), %rsi
callq *64(%rbx)
movq _NV_ENC_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_19
## %bb.20:
testb %r15b, %r15b
jne LBB0_22
## %bb.21:
movl -36(%rbp), %eax
movl %eax, 36(%rbx)
movl -40(%rbp), %eax
movl %eax, 32(%rbx)
LBB0_22:
testb %r12b, %r12b
jne LBB0_24
## %bb.23:
movq -64(%rbp), %rax
movq 16(%rax), %rcx
movq %rcx, 24(%rbx)
movups (%rax), %xmm0
movups %xmm0, 8(%rbx)
jmp LBB0_24
LBB0_19:
leaq L_.str.4(%rip), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq _nvenc_print_error
LBB0_24:
addq $64, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NV_ENC_RECONFIGURE_PARAMS_VER,4,2 ## @NV_ENC_RECONFIGURE_PARAMS_VER
.comm _AV_LOG_VERBOSE,4,2 ## @AV_LOG_VERBOSE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "aspect ratio change (DAR): %d:%d -> %d:%d\n"
.comm _NV_ENC_PARAMS_RC_CONSTQP,8,3 ## @NV_ENC_PARAMS_RC_CONSTQP
L_.str.1: ## @.str.1
.asciz "avg bitrate change: %d -> %d\n"
L_.str.2: ## @.str.2
.asciz "max bitrate change: %d -> %d\n"
L_.str.3: ## @.str.3
.asciz "vbv buffer size change: %d -> %d\n"
.comm _NV_ENC_SUCCESS,8,3 ## @NV_ENC_SUCCESS
L_.str.4: ## @.str.4
.asciz "failed to reconfigure nvenc"
.no_dead_strip _reconfig_encoder
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reconfig_encoder
_reconfig_encoder: ; @reconfig_encoder
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
mov x19, x0
ldr x20, [x0, #24]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #32]
Lloh0:
adrp x8, _NV_ENC_RECONFIGURE_PARAMS_VER@GOTPAGE
Lloh1:
ldr x8, [x8, _NV_ENC_RECONFIGURE_PARAMS_VER@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #56]
ldr q0, [x20, #32]
stur q0, [sp, #40]
add x1, sp, #28
add x2, sp, #24
bl _compute_dar
ldr w8, [sp, #28]
ldr w3, [x20, #32]
cmp w8, w3
b.ne LBB0_3
; %bb.1:
ldr w9, [sp, #24]
ldr w4, [x20, #36]
cmp w9, w4
b.ne LBB0_4
; %bb.2:
mov w21, #1
b LBB0_5
LBB0_3:
ldr w4, [x20, #36]
ldr w9, [sp, #24]
LBB0_4:
Lloh3:
adrp x10, _AV_LOG_VERBOSE@GOTPAGE
Lloh4:
ldr x10, [x10, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh5:
ldr w1, [x10]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
stp x8, x9, [sp]
mov x0, x19
bl _av_log
mov w21, #0
ldp w8, w9, [sp, #24]
stp w9, w8, [sp, #40]
LBB0_5:
ldr x8, [x20]
Lloh8:
adrp x9, _NV_ENC_PARAMS_RC_CONSTQP@GOTPAGE
Lloh9:
ldr x9, [x9, _NV_ENC_PARAMS_RC_CONSTQP@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_17
; %bb.6:
ldr x8, [x20, #56]
cbz x8, LBB0_17
; %bb.7:
ldr x4, [x19, #16]
cmp x4, #1
b.lt LBB0_9
; %bb.8:
ldr x22, [sp, #48]
ldr x3, [x22, #16]
cmp x3, x4
b.ne LBB0_10
LBB0_9:
mov w8, #0
b LBB0_11
LBB0_10:
Lloh11:
adrp x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh12:
ldr x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
Lloh14:
adrp x2, l_.str.1@PAGE
Lloh15:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
; kill: def $w3 killed $w3 killed $x3
; kill: def $w4 killed $w4 killed $x4
bl _av_log
ldr x8, [x19, #16]
str x8, [x22, #16]
mov w8, #1
LBB0_11:
ldr x4, [x19, #8]
cmp x4, #1
b.lt LBB0_14
; %bb.12:
ldr x9, [x20, #16]
cmp x9, x4
b.eq LBB0_14
; %bb.13:
Lloh16:
adrp x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh17:
ldr x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
ldr x22, [sp, #48]
ldr w3, [x22, #8]
Lloh19:
adrp x2, l_.str.2@PAGE
Lloh20:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
; kill: def $w4 killed $w4 killed $x4
bl _av_log
ldr x8, [x19, #8]
str x8, [x22, #8]
mov w8, #1
LBB0_14:
ldr x4, [x19]
cmp x4, #1
b.lt LBB0_16
; %bb.15:
ldr x9, [x20, #8]
cmp x9, x4
b.ne LBB0_19
LBB0_16:
cbnz w8, LBB0_20
LBB0_17:
str xzr, [sp, #48]
tbnz w21, #0, LBB0_27
; %bb.18:
mov w22, #1
b LBB0_21
LBB0_19:
Lloh21:
adrp x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh22:
ldr x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
ldr x22, [sp, #48]
ldr w3, [x22]
Lloh24:
adrp x2, l_.str.3@PAGE
Lloh25:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x19
; kill: def $w4 killed $w4 killed $x4
bl _av_log
ldr x8, [x19]
str x8, [x22]
LBB0_20:
mov w22, #0
movi.2s v0, #1
str d0, [sp, #32]
LBB0_21:
ldr x8, [x20, #64]
ldr w0, [x20, #48]
add x1, sp, #32
blr x8
Lloh26:
adrp x8, _NV_ENC_SUCCESS@GOTPAGE
Lloh27:
ldr x8, [x8, _NV_ENC_SUCCESS@GOTPAGEOFF]
Lloh28:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_26
; %bb.22:
tbnz w21, #0, LBB0_24
; %bb.23:
ldp w8, w9, [sp, #24]
stp w9, w8, [x20, #32]
LBB0_24:
tbnz w22, #0, LBB0_27
; %bb.25:
ldr x8, [sp, #48]
ldr x9, [x8, #16]
str x9, [x20, #24]
ldr q0, [x8]
stur q0, [x20, #8]
b LBB0_27
LBB0_26:
mov x1, x0
Lloh29:
adrp x2, l_.str.4@PAGE
Lloh30:
add x2, x2, l_.str.4@PAGEOFF
mov x0, x19
bl _nvenc_print_error
LBB0_27:
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
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _NV_ENC_RECONFIGURE_PARAMS_VER,4,2 ; @NV_ENC_RECONFIGURE_PARAMS_VER
.comm _AV_LOG_VERBOSE,4,2 ; @AV_LOG_VERBOSE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "aspect ratio change (DAR): %d:%d -> %d:%d\n"
.comm _NV_ENC_PARAMS_RC_CONSTQP,8,3 ; @NV_ENC_PARAMS_RC_CONSTQP
l_.str.1: ; @.str.1
.asciz "avg bitrate change: %d -> %d\n"
l_.str.2: ; @.str.2
.asciz "max bitrate change: %d -> %d\n"
l_.str.3: ; @.str.3
.asciz "vbv buffer size change: %d -> %d\n"
.comm _NV_ENC_SUCCESS,8,3 ; @NV_ENC_SUCCESS
l_.str.4: ; @.str.4
.asciz "failed to reconfigure nvenc"
.no_dead_strip _reconfig_encoder
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_nvenc.c_reconfig_encoder.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tui_display_registers_from ## -- Begin function tui_display_registers_from
.p2align 4, 0x90
_tui_display_registers_from: ## @tui_display_registers_from
.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 _TUI_DATA_WIN@GOTPCREL(%rip), %r10
movq (%r10), %r11
movq 24(%r11), %rax
testq %rax, %rax
je LBB0_28
## %bb.1:
movl %edi, %ebx
movq 8(%r11), %rdi
testq %rdi, %rdi
jle LBB0_28
## %bb.2:
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB0_3
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
cmpl %ecx, %r8d
cmovgl %r8d, %ecx
leaq 1(%rdx), %rsi
cmpq %rdi, %rdx
movq %rsi, %rdx
je LBB0_11
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq (%rax,%rdx,8), %rsi
movq 24(%rsi), %rsi
movq (%rsi), %rsi
movq (%rsi), %rsi
movl $0, %r8d
testq %rsi, %rsi
je LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movzbl (%rsi), %r9d
movl $0, %r8d
testb %r9b, %r9b
je LBB0_10
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
incq %rsi
xorl %r8d, %r8d
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=2
incl %r8d
LBB0_9: ## in Loop: Header=BB0_6 Depth=2
movzbl (%rsi), %r9d
incq %rsi
testb %r9b, %r9b
je LBB0_10
LBB0_6: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $9, %r9b
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
leal 7(%r8), %r9d
testl %r8d, %r8d
cmovnsl %r8d, %r9d
andl $-8, %r9d
addl $-8, %r9d
movl %r9d, %r8d
jmp LBB0_9
LBB0_11:
incl %ecx
movl (%r11), %esi
addl $-2, %esi
movl %esi, %eax
cltd
idivl %ecx
movl %eax, %ecx
cmpl $1, %eax
adcl $0, %ecx
movl %ecx, 16(%r11)
movl %esi, %eax
cltd
idivl %ecx
movl %eax, -48(%rbp) ## 4-byte Spill
movslq %ebx, %rax
cmpq %rax, %rdi
jle LBB0_28
## %bb.12:
movl $1, %edx
movq %r11, -56(%rbp) ## 8-byte Spill
jmp LBB0_13
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_13 Depth=1
movq _TUI_DATA_WIN@GOTPCREL(%rip), %r10
movl -44(%rbp), %edx ## 4-byte Reload
LBB0_27: ## in Loop: Header=BB0_13 Depth=1
incl %edx
movslq %ebx, %rax
cmpq %rax, %rdi
jle LBB0_28
LBB0_13: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movq (%r10), %rax
cmpl 4(%rax), %edx
jg LBB0_28
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
testl %ecx, %ecx
jle LBB0_27
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl %edx, -44(%rbp) ## 4-byte Spill
movslq %ebx, %rbx
movq 8(%r11), %rdi
cmpq %rbx, %rdi
jle LBB0_26
## %bb.16: ## in Loop: Header=BB0_13 Depth=1
movl $1, %r13d
movl $1, %r14d
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_13 Depth=1
## => This Inner Loop Header: Depth=2
movq 24(%r11), %rax
movq (%rax,%rbx,8), %r15
movq 8(%r15), %rdi
movq 24(%r15), %rax
movq (%rax), %r12
testq %rdi, %rdi
je LBB0_23
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
cmpl $1, (%r15)
jne LBB0_22
## %bb.19: ## in Loop: Header=BB0_17 Depth=2
movl -48(%rbp), %eax ## 4-byte Reload
cmpl %eax, 4(%r15)
jne LBB0_22
## %bb.20: ## in Loop: Header=BB0_17 Depth=2
cmpl 16(%r15), %r14d
jne LBB0_22
## %bb.21: ## in Loop: Header=BB0_17 Depth=2
movl -44(%rbp), %eax ## 4-byte Reload
cmpl %eax, 20(%r15)
je LBB0_24
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_17 Depth=2
callq _tui_delete_win
movq $0, 8(%r15)
LBB0_23: ## in Loop: Header=BB0_17 Depth=2
movl $1, (%r15)
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, 4(%r15)
movl %r14d, 16(%r15)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, 20(%r15)
movq _DONT_BOX_WINDOW@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _tui_make_window
movq 8(%r15), %rdi
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _scrollok
movq 8(%r15), %rdi
LBB0_24: ## in Loop: Header=BB0_17 Depth=2
callq _touchwin
movq %r12, %rdi
movq %r15, %rsi
callq _tui_display_register
incq %rbx
movq -56(%rbp), %r11 ## 8-byte Reload
movl 16(%r11), %ecx
movq 8(%r11), %rdi
cmpl %ecx, %r13d
jge LBB0_26
## %bb.25: ## in Loop: Header=BB0_17 Depth=2
addl -48(%rbp), %r14d ## 4-byte Folded Reload
incl %r13d
cmpq %rbx, %rdi
jg LBB0_17
jmp LBB0_26
LBB0_28:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TUI_DATA_WIN,8,3 ## @TUI_DATA_WIN
.comm _DONT_BOX_WINDOW,4,2 ## @DONT_BOX_WINDOW
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _tui_display_registers_from ; -- Begin function tui_display_registers_from
.p2align 2
_tui_display_registers_from: ; @tui_display_registers_from
.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
Lloh0:
adrp x16, _TUI_DATA_WIN@GOTPAGE
Lloh1:
ldr x16, [x16, _TUI_DATA_WIN@GOTPAGEOFF]
ldr x23, [x16]
ldr x9, [x23, #24]
cbz x9, LBB0_26
; %bb.1:
ldr x8, [x23, #8]
cmp x8, #1
b.lt LBB0_26
; %bb.2:
mov x19, x0
mov x11, #0 ; =0x0
mov w10, #0 ; =0x0
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w12, #0 ; =0x0
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
cmp w12, w10
csel w10, w12, w10, gt
add x12, x11, #1
cmp x11, x8
mov x11, x12
b.eq LBB0_9
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldr x12, [x9, x11, lsl #3]
ldr x12, [x12, #24]
ldr x12, [x12]
ldr x14, [x12]
cbz x14, LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrb w13, [x14]
cbz w13, LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov w12, #0 ; =0x0
add x14, x14, #1
LBB0_8: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add w15, w12, #7
cmp w12, #0
csel w15, w15, w12, lt
and w15, w15, #0xfffffff8
sub w15, w15, #8
cmp w13, #9
csinc w12, w15, w12, eq
ldrb w13, [x14], #1
cbnz w13, LBB0_8
b LBB0_4
LBB0_9:
add w9, w10, #1
ldr w10, [x23]
sub w10, w10, #2
sdiv w9, w10, w9
cmp w9, #1
csinc w9, w9, wzr, hi
str w9, [x23, #16]
cmp x8, w19, sxtw
b.le LBB0_26
; %bb.10:
Lloh2:
adrp x25, _DONT_BOX_WINDOW@GOTPAGE
Lloh3:
ldr x25, [x25, _DONT_BOX_WINDOW@GOTPAGEOFF]
Lloh4:
adrp x26, _FALSE@GOTPAGE
Lloh5:
ldr x26, [x26, _FALSE@GOTPAGEOFF]
mov w27, #1 ; =0x1
sdiv w28, w10, w9
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
Lloh6:
adrp x16, _TUI_DATA_WIN@GOTPAGE
Lloh7:
ldr x16, [x16, _TUI_DATA_WIN@GOTPAGEOFF]
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
add w27, w27, #1
cmp x8, w19, sxtw
b.le LBB0_26
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
ldr x10, [x16]
ldr w10, [x10, #4]
cmp w27, w10
b.gt LBB0_26
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
cmp w9, #1
b.lt LBB0_12
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
; kill: def $w19 killed $w19 killed $x19 def $x19
sxtw x19, w19
ldr x8, [x23, #8]
cmp x8, x19
b.le LBB0_11
; %bb.16: ; in Loop: Header=BB0_13 Depth=1
mov w22, #1 ; =0x1
mov w24, #1 ; =0x1
LBB0_17: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x23, #24]
ldr x20, [x8, x19, lsl #3]
ldr x8, [x20, #24]
ldr x21, [x8]
ldr x0, [x20, #8]
cbz x0, LBB0_23
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
ldr w8, [x20]
cmp w8, #1
b.ne LBB0_22
; %bb.19: ; in Loop: Header=BB0_17 Depth=2
ldr w8, [x20, #4]
cmp w8, w28
b.ne LBB0_22
; %bb.20: ; in Loop: Header=BB0_17 Depth=2
ldr w8, [x20, #16]
cmp w24, w8
b.ne LBB0_22
; %bb.21: ; in Loop: Header=BB0_17 Depth=2
ldr w8, [x20, #20]
cmp w8, w27
b.eq LBB0_24
LBB0_22: ; in Loop: Header=BB0_17 Depth=2
bl _tui_delete_win
str xzr, [x20, #8]
LBB0_23: ; in Loop: Header=BB0_17 Depth=2
mov w8, #1 ; =0x1
stp w8, w28, [x20]
stp w24, w27, [x20, #16]
ldr w1, [x25]
mov x0, x20
bl _tui_make_window
ldr x0, [x20, #8]
ldr w1, [x26]
bl _scrollok
ldr x0, [x20, #8]
LBB0_24: ; in Loop: Header=BB0_17 Depth=2
bl _touchwin
mov x0, x21
mov x1, x20
bl _tui_display_register
add x19, x19, #1
ldr w9, [x23, #16]
ldr x8, [x23, #8]
cmp w22, w9
b.ge LBB0_11
; %bb.25: ; in Loop: Header=BB0_17 Depth=2
add w24, w24, w28
add w22, w22, #1
cmp x8, x19
b.gt LBB0_17
b LBB0_11
LBB0_26:
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _TUI_DATA_WIN,8,3 ; @TUI_DATA_WIN
.comm _DONT_BOX_WINDOW,4,2 ; @DONT_BOX_WINDOW
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| assembly_file_186792.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xiph_CountLavcHeaders
_xiph_CountLavcHeaders: ## @xiph_CountLavcHeaders
.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, %r15d
leaq (,%r15,4), %rax
cmpq $8, %rax
jl LBB0_7
## %bb.1:
movl %esi, %ebx
movq %rdi, %r14
callq _GetWBE
addl $2, %eax
cmpl %ebx, %eax
ja LBB0_7
## %bb.2:
leaq (%r14,%r15,4), %r15
movl %eax, %eax
leaq (%r14,%rax,4), %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %r12d, %r14d
cmpl $1, %r12d
ja LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rax
subq %rbx, %rax
cmpq $8, %rax
jl LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
leal 1(%r14), %r12d
movq %rbx, %rdi
callq _GetWBE
## kill: def $eax killed $eax def $rax
addl $2, %eax
leaq (%rbx,%rax,4), %rbx
cmpq %r15, %rbx
jbe LBB0_3
LBB0_6:
movl $3, %eax
cmpl $1, %r14d
ja LBB0_8
LBB0_7:
xorl %eax, %eax
LBB0_8:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _xiph_CountLavcHeaders
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xiph_CountLavcHeaders
_xiph_CountLavcHeaders: ; @xiph_CountLavcHeaders
.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 w8, w1
lsl x21, x8, #2
cmp x21, #8
b.lt LBB0_6
; %bb.1:
mov x20, x1
mov x19, x0
bl _GetWBE
add w8, w0, #2
cmp w8, w20
b.hi LBB0_6
; %bb.2:
add x20, x19, w8, uxtw #2
add x21, x19, x21
sub x8, x21, x20
cmp x8, #8
b.lt LBB0_6
; %bb.3:
mov x0, x20
bl _GetWBE
add w8, w0, #2
add x19, x20, w8, uxtw #2
subs x8, x21, x19
ccmp x8, #8, #8, hs
b.lt LBB0_6
; %bb.4:
mov x0, x19
bl _GetWBE
add w8, w0, #2
add x8, x19, w8, uxtw #2
cmp x8, x21
ccmp wzr, #0, #0, hi
b.eq LBB0_6
; %bb.5:
mov w0, #3
b LBB0_7
LBB0_6:
mov w0, #0
LBB0_7:
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 _xiph_CountLavcHeaders
.subsections_via_symbols
| AnghaBench/vlc/modules/stream_out/extr_..demuxxiph.h_xiph_CountLavcHeaders.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getsigaction
_getsigaction: ## @getsigaction
.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 %rsi, %r14
xorl %ebx, %ebx
leaq -24(%rbp), %rdx
xorl %esi, %esi
callq _sigaction
cmpl $-1, %eax
je LBB0_2
## %bb.1:
movq -24(%rbp), %rax
movq %rax, (%r14)
movl $1, %ebx
LBB0_2:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _getsigaction
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getsigaction
_getsigaction: ; @getsigaction
.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, x1
add x2, sp, #8
mov x1, #0
bl _sigaction
cmn w0, #1
b.eq LBB0_2
; %bb.1:
ldr x8, [sp, #8]
str x8, [x19]
mov w0, #1
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _getsigaction
.subsections_via_symbols
| AnghaBench/freebsd/bin/sh/extr_trap.c_getsigaction.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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.23(%rip), %rdi
callq _puts
leaq L_str.24(%rip), %rdi
callq _puts
leaq L_str.25(%rip), %rdi
callq _puts
leaq L_str.26(%rip), %rdi
callq _puts
leaq L_str.27(%rip), %rdi
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
leaq L_str.29(%rip), %rdi
callq _puts
leaq L_str.30(%rip), %rdi
callq _puts
leaq L_str.31(%rip), %rdi
callq _puts
leaq L_str.32(%rip), %rdi
callq _puts
leaq L_str.34(%rip), %r14
movq %r14, %rdi
callq _puts
leaq L_.str.12(%rip), %r12
leaq -44(%rbp), %r15
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
leaq LJTI0_0(%rip), %rbx
leaq L_.str.15(%rip), %r13
jmp LBB0_1
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.44(%rip), %rdi
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
callq _puts
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _puts
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movl -44(%rbp), %eax
incl %eax
cmpl $10, %eax
ja LBB0_22
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
callq _create
jmp LBB0_22
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
leaq -48(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $24, %edi
callq _malloc
movl -48(%rbp), %ecx
movl %ecx, (%rax)
movq _head(%rip), %rcx
movq _back@GOTPCREL(%rip), %r8
movq (%r8), %rdx
leaq 8(%rdx), %rsi
testq %rcx, %rcx
leaq _head(%rip), %rdi
cmoveq %rdi, %rsi
cmoveq %rcx, %rdx
movq $0, 8(%rax)
movq %rax, (%rsi)
movq %rdx, 16(%rax)
movq %rax, (%r8)
leaq L_str.37(%rip), %rdi
jmp LBB0_21
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
leaq -52(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $24, %edi
callq _malloc
movl -52(%rbp), %ecx
movl %ecx, (%rax)
movq $0, 16(%rax)
movq _head(%rip), %rcx
movq %rcx, 8(%rax)
movq %rax, 16(%rcx)
movq %rax, _head(%rip)
leaq L_str.37(%rip), %rdi
jmp LBB0_21
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, _head(%rip)
leaq L_str.44(%rip), %rdi
je LBB0_21
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq _back@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
movq 16(%rdi), %rax
movq %rax, (%rcx)
movq $0, 8(%rax)
callq _free
leaq L_str.38(%rip), %rdi
jmp LBB0_21
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq _head(%rip), %rdi
testq %rdi, %rdi
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq 8(%rdi), %rax
movq %rax, _head(%rip)
movq $0, 16(%rax)
callq _free
jmp LBB0_22
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, _head(%rip)
je LBB0_10
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq _back@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rsi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_22
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movq _head(%rip), %rax
testq %rax, %rax
je LBB0_10
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl (%rax), %esi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_22
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rbx
movq _head(%rip), %r14
testq %r14, %r14
je LBB0_19
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _printf
movq 8(%r14), %r14
testq %r14, %r14
jne LBB0_17
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
movq %rbx, %r14
leaq LJTI0_0(%rip), %rbx
jmp LBB0_22
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, _head(%rip)
leaq L_str.43(%rip), %rdi
leaq L_str.44(%rip), %rax
cmoveq %rax, %rdi
jmp LBB0_21
LBB0_23:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
.long L0_0_set_23
.long L0_0_set_22
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_7
.long L0_0_set_9
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_16
.long L0_0_set_20
.end_data_region
## -- End function
.globl _create ## -- Begin function create
.p2align 4, 0x90
_create: ## @create
.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
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.12(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %r12d
cmpl $-1, %r12d
je LBB1_3
## %bb.1:
movq _back@GOTPCREL(%rip), %rbx
leaq L_.str.13(%rip), %r14
leaq L_.str.12(%rip), %r15
leaq -44(%rbp), %r13
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl $24, %edi
callq _malloc
movl %r12d, (%rax)
movq _head(%rip), %rcx
movq (%rbx), %rdx
leaq 8(%rdx), %rsi
testq %rcx, %rcx
leaq _head(%rip), %rdi
cmoveq %rdi, %rsi
cmoveq %rcx, %rdx
movq $0, 8(%rax)
movq %rax, (%rsi)
movq %rdx, 16(%rax)
movq %rax, (%rbx)
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %r12d
cmpl $-1, %r12d
jne LBB1_2
LBB1_3:
leaq L_str.35(%rip), %rdi
callq _puts
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _display ## -- Begin function display
.p2align 4, 0x90
_display: ## @display
.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 _head(%rip), %rbx
testq %rbx, %rbx
je LBB2_3
## %bb.1:
leaq L_.str.15(%rip), %r14
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB2_2
LBB2_3:
movl $10, %edi
popq %rbx
popq %r14
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _addRight ## -- Begin function addRight
.p2align 4, 0x90
_addRight: ## @addRight
.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
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.12(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $24, %edi
callq _malloc
movl -4(%rbp), %ecx
movl %ecx, (%rax)
leaq _head(%rip), %r8
movq _head(%rip), %rdx
movq _back@GOTPCREL(%rip), %rsi
movq (%rsi), %rdi
leaq 8(%rdi), %rcx
testq %rdx, %rdx
cmoveq %r8, %rcx
cmoveq %rdx, %rdi
movq $0, 8(%rax)
movq %rax, (%rcx)
movq %rdi, 16(%rax)
movq %rax, (%rsi)
leaq L_str.37(%rip), %rdi
callq _puts
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addLeft ## -- Begin function addLeft
.p2align 4, 0x90
_addLeft: ## @addLeft
.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
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.12(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $24, %edi
callq _malloc
movl -4(%rbp), %ecx
movl %ecx, (%rax)
movq $0, 16(%rax)
movq _head(%rip), %rcx
movq %rcx, 8(%rax)
movq %rax, 16(%rcx)
movq %rax, _head(%rip)
leaq L_str.37(%rip), %rdi
callq _puts
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _deleteRight ## -- Begin function deleteRight
.p2align 4, 0x90
_deleteRight: ## @deleteRight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, _head(%rip)
je LBB5_1
## %bb.2:
movq _back@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq 16(%rdi), %rcx
movq %rcx, (%rax)
movq $0, 8(%rcx)
callq _free
leaq L_str.38(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
LBB5_1:
leaq L_str.44(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _deleteLeft ## -- Begin function deleteLeft
.p2align 4, 0x90
_deleteLeft: ## @deleteLeft
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _head(%rip), %rdi
testq %rdi, %rdi
je LBB6_1
## %bb.2:
movq 8(%rdi), %rax
movq %rax, _head(%rip)
movq $0, 16(%rax)
popq %rbp
jmp _free ## TAILCALL
LBB6_1:
leaq L_str.44(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _viewRight ## -- Begin function viewRight
.p2align 4, 0x90
_viewRight: ## @viewRight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, _head(%rip)
je LBB7_1
## %bb.2:
movq _back@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rax), %rsi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
LBB7_1:
leaq L_str.44(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _viewLeft ## -- Begin function viewLeft
.p2align 4, 0x90
_viewLeft: ## @viewLeft
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _head(%rip), %rax
testq %rax, %rax
je LBB8_1
## %bb.2:
movl (%rax), %esi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
LBB8_1:
leaq L_str.44(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _isEmpty ## -- Begin function isEmpty
.p2align 4, 0x90
_isEmpty: ## @isEmpty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, _head(%rip)
leaq L_str.44(%rip), %rax
leaq L_str.43(%rip), %rdi
cmoveq %rax, %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _head ## @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
L_.str.12: ## @.str.12
.asciz "%d"
L_.str.13: ## @.str.13
.asciz "Enter numbers , -1 to end : "
.comm _back,8,3 ## @back
L_.str.15: ## @.str.15
.asciz "%d "
L_.str.17: ## @.str.17
.asciz "Enter number :"
L_.str.21: ## @.str.21
.asciz "%d\n"
L_str: ## @str
.asciz "***MENU***"
L_str.23: ## @str.23
.asciz "1. Create"
L_str.24: ## @str.24
.asciz "2. Add From Right"
L_str.25: ## @str.25
.asciz "3. Add From Left"
L_str.26: ## @str.26
.asciz "4. Delete From Right"
L_str.27: ## @str.27
.asciz "5. Delete From Left"
L_str.28: ## @str.28
.asciz "6. Peek Right"
L_str.29: ## @str.29
.asciz "7. Peek Left"
L_str.30: ## @str.30
.asciz "8. Display"
L_str.31: ## @str.31
.asciz "9. isEmpty"
L_str.32: ## @str.32
.asciz "10. -1 to exit"
L_str.34: ## @str.34
.asciz "Enter choice "
L_str.35: ## @str.35
.asciz "DeQueue Created"
L_str.37: ## @str.37
.asciz "Element Added"
L_str.38: ## @str.38
.asciz "Element Deleted"
L_str.43: ## @str.43
.asciz "Dqueue is not Empty"
L_str.44: ## @str.44
.asciz "Dqueue is Empty"
.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, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x0, l_str.23@PAGE
Lloh3:
add x0, x0, l_str.23@PAGEOFF
bl _puts
Lloh4:
adrp x0, l_str.24@PAGE
Lloh5:
add x0, x0, l_str.24@PAGEOFF
bl _puts
Lloh6:
adrp x0, l_str.25@PAGE
Lloh7:
add x0, x0, l_str.25@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_str.26@PAGE
Lloh9:
add x0, x0, l_str.26@PAGEOFF
bl _puts
Lloh10:
adrp x0, l_str.27@PAGE
Lloh11:
add x0, x0, l_str.27@PAGEOFF
bl _puts
Lloh12:
adrp x0, l_str.28@PAGE
Lloh13:
add x0, x0, l_str.28@PAGEOFF
bl _puts
Lloh14:
adrp x0, l_str.29@PAGE
Lloh15:
add x0, x0, l_str.29@PAGEOFF
bl _puts
Lloh16:
adrp x0, l_str.30@PAGE
Lloh17:
add x0, x0, l_str.30@PAGEOFF
bl _puts
Lloh18:
adrp x0, l_str.31@PAGE
Lloh19:
add x0, x0, l_str.31@PAGEOFF
bl _puts
Lloh20:
adrp x0, l_str.32@PAGE
Lloh21:
add x0, x0, l_str.32@PAGEOFF
bl _puts
Lloh22:
adrp x19, l_str.34@PAGE
Lloh23:
add x19, x19, l_str.34@PAGEOFF
mov x0, x19
bl _puts
add x26, sp, #20
str x26, [sp]
Lloh24:
adrp x20, l_.str.12@PAGE
Lloh25:
add x20, x20, l_.str.12@PAGEOFF
mov x0, x20
bl _scanf
Lloh26:
adrp x27, lJTI0_0@PAGE
Lloh27:
add x27, x27, lJTI0_0@PAGEOFF
Lloh28:
adrp x28, l_.str.17@PAGE
Lloh29:
add x28, x28, l_.str.17@PAGEOFF
Lloh30:
adrp x24, _back@GOTPAGE
Lloh31:
ldr x24, [x24, _back@GOTPAGEOFF]
Lloh32:
adrp x22, l_str.37@PAGE
Lloh33:
add x22, x22, l_str.37@PAGEOFF
adrp x21, _head@PAGE
Lloh34:
adrp x23, l_str.44@PAGE
Lloh35:
add x23, x23, l_str.44@PAGEOFF
Lloh36:
adrp x25, l_.str.15@PAGE
Lloh37:
add x25, x25, l_.str.15@PAGEOFF
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
mov x0, x23
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
bl _puts
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _puts
str x26, [sp]
mov x0, x20
bl _scanf
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldr w8, [sp, #20]
add w8, w8, #1
cmp w8, #10
b.hi LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
adr x9, LBB0_3
ldrb w10, [x27, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
bl _create
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x28
bl _printf
add x8, sp, #24
str x8, [sp]
mov x0, x20
bl _scanf
mov w0, #24
bl _malloc
ldr w8, [sp, #24]
str w8, [x0]
str xzr, [x0, #8]
Lloh38:
adrp x11, _head@PAGE
Lloh39:
add x11, x11, _head@PAGEOFF
ldr x8, [x11]
ldr x9, [x24]
add x10, x9, #8
cmp x8, #0
csel x8, x11, x10, eq
csel x9, xzr, x9, eq
str x0, [x8]
str x9, [x0, #16]
str x0, [x24]
mov x0, x22
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov x0, x28
bl _printf
add x8, sp, #28
str x8, [sp]
mov x0, x20
bl _scanf
mov w0, #24
bl _malloc
ldr w8, [sp, #28]
str w8, [x0]
ldr x8, [x21, _head@PAGEOFF]
stp x8, xzr, [x0, #8]
str x0, [x8, #16]
str x0, [x21, _head@PAGEOFF]
mov x0, x22
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, _head@PAGEOFF]
cbz x8, LBB0_1
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x24]
ldr x8, [x0, #16]
str x8, [x24]
str xzr, [x8, #8]
bl _free
Lloh40:
adrp x0, l_str.38@PAGE
Lloh41:
add x0, x0, l_str.38@PAGEOFF
b LBB0_2
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x21, _head@PAGEOFF]
cbz x0, LBB0_1
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x0, #8]
str x8, [x21, _head@PAGEOFF]
str xzr, [x8, #16]
bl _free
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, _head@PAGEOFF]
cbz x8, LBB0_1
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x24]
ldr x8, [x8, #16]
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, _head@PAGEOFF]
cbz x8, LBB0_1
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x8]
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
str x8, [sp]
Lloh42:
adrp x0, l_.str.21@PAGE
Lloh43:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
b LBB0_3
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
mov x26, x19
mov x19, x27
mov x8, x21
mov x27, x24
mov x24, x23
mov x23, x22
mov x22, x28
ldr x28, [x21, _head@PAGEOFF]
cbz x28, LBB0_20
LBB0_19: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x28]
str x8, [sp]
mov x0, x25
bl _printf
ldr x28, [x28, #8]
cbnz x28, LBB0_19
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
mov w0, #10
bl _putchar
mov x28, x22
mov x22, x23
mov x23, x24
mov x24, x27
mov x27, x19
mov x19, x26
add x26, sp, #20
b LBB0_3
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, _head@PAGEOFF]
cmp x8, #0
Lloh44:
adrp x8, l_str.43@PAGE
Lloh45:
add x8, x8, l_str.43@PAGEOFF
csel x0, x23, x8, eq
b LBB0_2
LBB0_22:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_22-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_7-LBB0_3)>>2
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_9-LBB0_3)>>2
.byte (LBB0_11-LBB0_3)>>2
.byte (LBB0_13-LBB0_3)>>2
.byte (LBB0_15-LBB0_3)>>2
.byte (LBB0_18-LBB0_3)>>2
.byte (LBB0_21-LBB0_3)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _create ; -- Begin function create
.p2align 2
_create: ; @create
.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
Lloh46:
adrp x0, l_.str.13@PAGE
Lloh47:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
add x21, sp, #12
str x21, [sp]
Lloh48:
adrp x0, l_.str.12@PAGE
Lloh49:
add x0, x0, l_.str.12@PAGEOFF
bl _scanf
ldr w24, [sp, #12]
cmn w24, #1
b.eq LBB1_3
; %bb.1:
Lloh50:
adrp x22, _head@PAGE
Lloh51:
add x22, x22, _head@PAGEOFF
Lloh52:
adrp x23, _back@GOTPAGE
Lloh53:
ldr x23, [x23, _back@GOTPAGEOFF]
Lloh54:
adrp x19, l_.str.13@PAGE
Lloh55:
add x19, x19, l_.str.13@PAGEOFF
Lloh56:
adrp x20, l_.str.12@PAGE
Lloh57:
add x20, x20, l_.str.12@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
mov w0, #24
bl _malloc
str w24, [x0]
str xzr, [x0, #8]
ldr x8, [x22]
ldr x9, [x23]
add x10, x9, #8
cmp x8, #0
csel x8, x22, x10, eq
csel x9, xzr, x9, eq
str x0, [x8]
str x9, [x0, #16]
str x0, [x23]
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x20
bl _scanf
ldr w24, [sp, #12]
cmn w24, #1
b.ne LBB1_2
LBB1_3:
Lloh58:
adrp x0, l_str.35@PAGE
Lloh59:
add x0, x0, l_str.35@PAGEOFF
bl _puts
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 Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh58, Lloh59
.cfi_endproc
; -- End function
.globl _display ; -- Begin function display
.p2align 2
_display: ; @display
.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
Lloh60:
adrp x8, _head@PAGE
Lloh61:
ldr x20, [x8, _head@PAGEOFF]
cbz x20, LBB2_3
; %bb.1:
Lloh62:
adrp x19, l_.str.15@PAGE
Lloh63:
add x19, x19, l_.str.15@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
str x8, [sp]
mov x0, x19
bl _printf
ldr x20, [x20, #8]
cbnz x20, LBB2_2
LBB2_3:
mov w0, #10
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _putchar
.loh AdrpLdr Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.cfi_endproc
; -- End function
.globl _addRight ; -- Begin function addRight
.p2align 2
_addRight: ; @addRight
.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
Lloh64:
adrp x0, l_.str.17@PAGE
Lloh65:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh66:
adrp x0, l_.str.12@PAGE
Lloh67:
add x0, x0, l_.str.12@PAGEOFF
bl _scanf
mov w0, #24
bl _malloc
ldur w8, [x29, #-4]
str w8, [x0]
Lloh68:
adrp x8, _head@PAGE
Lloh69:
add x8, x8, _head@PAGEOFF
str xzr, [x0, #8]
ldr x9, [x8]
Lloh70:
adrp x10, _back@GOTPAGE
Lloh71:
ldr x10, [x10, _back@GOTPAGEOFF]
ldr x11, [x10]
add x12, x11, #8
cmp x9, #0
csel x8, x8, x12, eq
csel x9, xzr, x11, eq
str x0, [x8]
str x9, [x0, #16]
str x0, [x10]
Lloh72:
adrp x0, l_str.37@PAGE
Lloh73:
add x0, x0, l_str.37@PAGEOFF
bl _puts
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGot Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.cfi_endproc
; -- End function
.globl _addLeft ; -- Begin function addLeft
.p2align 2
_addLeft: ; @addLeft
.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
Lloh74:
adrp x0, l_.str.17@PAGE
Lloh75:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh76:
adrp x0, l_.str.12@PAGE
Lloh77:
add x0, x0, l_.str.12@PAGEOFF
bl _scanf
mov w0, #24
bl _malloc
ldur w8, [x29, #-4]
str w8, [x0]
adrp x8, _head@PAGE
ldr x9, [x8, _head@PAGEOFF]
stp x9, xzr, [x0, #8]
str x0, [x9, #16]
str x0, [x8, _head@PAGEOFF]
Lloh78:
adrp x0, l_str.37@PAGE
Lloh79:
add x0, x0, l_str.37@PAGEOFF
bl _puts
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.cfi_endproc
; -- End function
.globl _deleteRight ; -- Begin function deleteRight
.p2align 2
_deleteRight: ; @deleteRight
.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
Lloh80:
adrp x8, _head@PAGE
Lloh81:
ldr x8, [x8, _head@PAGEOFF]
cbz x8, LBB5_2
; %bb.1:
Lloh82:
adrp x8, _back@GOTPAGE
Lloh83:
ldr x8, [x8, _back@GOTPAGEOFF]
ldr x0, [x8]
ldr x9, [x0, #16]
str x9, [x8]
str xzr, [x9, #8]
bl _free
Lloh84:
adrp x0, l_str.38@PAGE
Lloh85:
add x0, x0, l_str.38@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _puts
LBB5_2:
Lloh86:
adrp x0, l_str.44@PAGE
Lloh87:
add x0, x0, l_str.44@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _puts
.loh AdrpLdr Lloh80, Lloh81
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpLdrGot Lloh82, Lloh83
.loh AdrpAdd Lloh86, Lloh87
.cfi_endproc
; -- End function
.globl _deleteLeft ; -- Begin function deleteLeft
.p2align 2
_deleteLeft: ; @deleteLeft
.cfi_startproc
; %bb.0:
adrp x8, _head@PAGE
ldr x0, [x8, _head@PAGEOFF]
cbz x0, LBB6_2
; %bb.1:
ldr x9, [x0, #8]
str x9, [x8, _head@PAGEOFF]
str xzr, [x9, #16]
b _free
LBB6_2:
Lloh88:
adrp x0, l_str.44@PAGE
Lloh89:
add x0, x0, l_str.44@PAGEOFF
b _puts
.loh AdrpAdd Lloh88, Lloh89
.cfi_endproc
; -- End function
.globl _viewRight ; -- Begin function viewRight
.p2align 2
_viewRight: ; @viewRight
.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
Lloh90:
adrp x8, _head@PAGE
Lloh91:
ldr x8, [x8, _head@PAGEOFF]
cbz x8, LBB7_2
; %bb.1:
Lloh92:
adrp x8, _back@GOTPAGE
Lloh93:
ldr x8, [x8, _back@GOTPAGEOFF]
Lloh94:
ldr x8, [x8]
ldr x8, [x8, #16]
str x8, [sp]
Lloh95:
adrp x0, l_.str.21@PAGE
Lloh96:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB7_2:
Lloh97:
adrp x0, l_str.44@PAGE
Lloh98:
add x0, x0, l_str.44@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _puts
.loh AdrpLdr Lloh90, Lloh91
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpAdd Lloh97, Lloh98
.cfi_endproc
; -- End function
.globl _viewLeft ; -- Begin function viewLeft
.p2align 2
_viewLeft: ; @viewLeft
.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
Lloh99:
adrp x8, _head@PAGE
Lloh100:
ldr x8, [x8, _head@PAGEOFF]
cbz x8, LBB8_2
; %bb.1:
ldr w8, [x8]
str x8, [sp]
Lloh101:
adrp x0, l_.str.21@PAGE
Lloh102:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB8_2:
Lloh103:
adrp x0, l_str.44@PAGE
Lloh104:
add x0, x0, l_str.44@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _puts
.loh AdrpLdr Lloh99, Lloh100
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpAdd Lloh103, Lloh104
.cfi_endproc
; -- End function
.globl _isEmpty ; -- Begin function isEmpty
.p2align 2
_isEmpty: ; @isEmpty
.cfi_startproc
; %bb.0:
Lloh105:
adrp x8, l_str.43@PAGE
Lloh106:
add x8, x8, l_str.43@PAGEOFF
Lloh107:
adrp x9, _head@PAGE
Lloh108:
ldr x9, [x9, _head@PAGEOFF]
Lloh109:
adrp x10, l_str.44@PAGE
Lloh110:
add x10, x10, l_str.44@PAGEOFF
cmp x9, #0
csel x0, x10, x8, eq
b _puts
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpLdr Lloh107, Lloh108
.loh AdrpAdd Lloh105, Lloh106
.cfi_endproc
; -- End function
.globl _head ; @head
.zerofill __DATA,__common,_head,8,3
.section __TEXT,__cstring,cstring_literals
l_.str.12: ; @.str.12
.asciz "%d"
l_.str.13: ; @.str.13
.asciz "Enter numbers , -1 to end : "
.comm _back,8,3 ; @back
l_.str.15: ; @.str.15
.asciz "%d "
l_.str.17: ; @.str.17
.asciz "Enter number :"
l_.str.21: ; @.str.21
.asciz "%d\n"
l_str: ; @str
.asciz "***MENU***"
l_str.23: ; @str.23
.asciz "1. Create"
l_str.24: ; @str.24
.asciz "2. Add From Right"
l_str.25: ; @str.25
.asciz "3. Add From Left"
l_str.26: ; @str.26
.asciz "4. Delete From Right"
l_str.27: ; @str.27
.asciz "5. Delete From Left"
l_str.28: ; @str.28
.asciz "6. Peek Right"
l_str.29: ; @str.29
.asciz "7. Peek Left"
l_str.30: ; @str.30
.asciz "8. Display"
l_str.31: ; @str.31
.asciz "9. isEmpty"
l_str.32: ; @str.32
.asciz "10. -1 to exit"
l_str.34: ; @str.34
.asciz "Enter choice "
l_str.35: ; @str.35
.asciz "DeQueue Created"
l_str.37: ; @str.37
.asciz "Element Added"
l_str.38: ; @str.38
.asciz "Element Deleted"
l_str.43: ; @str.43
.asciz "Dqueue is not Empty"
l_str.44: ; @str.44
.asciz "Dqueue is Empty"
.subsections_via_symbols
| the_stack_data/1036455.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function queue_setup
_queue_setup: ## @queue_setup
.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), %r13
movq 24(%r13), %r12
testq %r12, %r12
je LBB0_1
## %bb.2:
movq %rcx, %rbx
movq 8(%r13), %r8
imulq (%r13), %r8
movl (%rdx), %eax
movl (%r12), %ecx
testq %rax, %rax
je LBB0_7
## %bb.3:
cmpl %ecx, %eax
jne LBB0_1
## %bb.4:
movq 8(%r12), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%rdx,4), %esi
movq (%rcx,%rdx,8), %rdi
imulq %r8, %rdi
shrq $3, %rdi
cmpq %rsi, %rdi
ja LBB0_1
## %bb.5: ## in Loop: Header=BB0_6 Depth=1
incq %rdx
cmpq %rdx, %rax
jne LBB0_6
jmp LBB0_13
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_14
LBB0_7:
movl %ecx, (%rdx)
testl %ecx, %ecx
je LBB0_13
## %bb.8:
movq %r8, -48(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
imulq -48(%rbp), %r14 ## 8-byte Folded Reload
shrq $3, %r14
movq _u32@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 16(%r13), %rax
movl (%rax,%r15,4), %edx
movl %r14d, %esi
callq _max_t
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movl %eax, (%rbx,%r15,4)
incq %r15
movl (%r12), %eax
cmpq %rax, %r15
jae LBB0_13
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
movq (%rax,%r15,8), %r14
movl 16(%r12), %edi
callq _fimc_fmt_is_user_defined
testq %rax, %rax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq 16(%r13), %rax
movl (%rax,%r15,4), %eax
jmp LBB0_12
LBB0_13:
xorl %eax, %eax
LBB0_14:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _u32,4,2 ## @u32
.no_dead_strip _queue_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function queue_setup
_queue_setup: ; @queue_setup
.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
ldr x22, [x0]
ldr x21, [x22, #24]
cbz x21, LBB0_6
; %bb.1:
mov x19, x3
ldp x8, x9, [x22]
mul x20, x9, x8
ldr w8, [x2]
ldr w9, [x21]
cbz w8, LBB0_7
; %bb.2:
cmp w8, w9
b.ne LBB0_6
; %bb.3:
ldr x9, [x21, #8]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w10, [x19], #4
ldr x11, [x9], #8
mul x11, x11, x20
cmp x10, x11, lsr #3
b.lo LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
subs x8, x8, #1
b.ne LBB0_4
b LBB0_13
LBB0_6:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_14
LBB0_7:
str w9, [x2]
cbz w9, LBB0_13
; %bb.8:
mov x23, #0 ; =0x0
Lloh3:
adrp x24, _u32@GOTPAGE
Lloh4:
ldr x24, [x24, _u32@GOTPAGEOFF]
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
mul x8, x25, x20
lsr x1, x8, #3
ldr w0, [x24]
ldr x8, [x22, #16]
ldr w2, [x8, x23, lsl #2]
; kill: def $w1 killed $w1 killed $x1
bl _max_t
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
str w0, [x19, x23, lsl #2]
add x23, x23, #1
ldr w8, [x21]
cmp x23, x8
b.hs LBB0_13
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr x25, [x8, x23, lsl #3]
ldr w0, [x21, #16]
bl _fimc_fmt_is_user_defined
cbz x0, LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x22, #16]
ldr w0, [x8, x23, lsl #2]
b LBB0_10
LBB0_13:
mov w0, #0 ; =0x0
LBB0_14:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _u32,4,2 ; @u32
.no_dead_strip _queue_setup
.subsections_via_symbols
| assembly_file_13427.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_ocrdma_qp_state
_get_ocrdma_qp_state: ## @get_ocrdma_qp_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-128, %edi
cmpl $6, %edi
ja LBB0_1
## %bb.2:
movslq %edi, %rax
leaq l_switch.table.get_ocrdma_qp_state(%rip), %rcx
movq (%rcx,%rax,8), %rax
jmp LBB0_3
LBB0_1:
movq _OCRDMA_QPS_ERR@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OCRDMA_QPS_RST,4,2 ## @OCRDMA_QPS_RST
.comm _OCRDMA_QPS_INIT,4,2 ## @OCRDMA_QPS_INIT
.comm _OCRDMA_QPS_RTR,4,2 ## @OCRDMA_QPS_RTR
.comm _OCRDMA_QPS_RTS,4,2 ## @OCRDMA_QPS_RTS
.comm _OCRDMA_QPS_SQD,4,2 ## @OCRDMA_QPS_SQD
.comm _OCRDMA_QPS_SQE,4,2 ## @OCRDMA_QPS_SQE
.comm _OCRDMA_QPS_ERR,4,2 ## @OCRDMA_QPS_ERR
.no_dead_strip _get_ocrdma_qp_state
.section __DATA,__const
.p2align 3 ## @switch.table.get_ocrdma_qp_state
l_switch.table.get_ocrdma_qp_state:
.quad _OCRDMA_QPS_SQE
.quad _OCRDMA_QPS_SQD
.quad _OCRDMA_QPS_RTS
.quad _OCRDMA_QPS_RTR
.quad _OCRDMA_QPS_RST
.quad _OCRDMA_QPS_INIT
.quad _OCRDMA_QPS_ERR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_ocrdma_qp_state
_get_ocrdma_qp_state: ; @get_ocrdma_qp_state
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #6
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.get_ocrdma_qp_state@PAGE
Lloh1:
add x9, x9, l_switch.table.get_ocrdma_qp_state@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
ldr w0, [x8]
ret
LBB0_2:
Lloh2:
adrp x8, _OCRDMA_QPS_ERR@GOTPAGE
Lloh3:
ldr x8, [x8, _OCRDMA_QPS_ERR@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OCRDMA_QPS_RST,4,2 ; @OCRDMA_QPS_RST
.comm _OCRDMA_QPS_INIT,4,2 ; @OCRDMA_QPS_INIT
.comm _OCRDMA_QPS_RTR,4,2 ; @OCRDMA_QPS_RTR
.comm _OCRDMA_QPS_RTS,4,2 ; @OCRDMA_QPS_RTS
.comm _OCRDMA_QPS_SQD,4,2 ; @OCRDMA_QPS_SQD
.comm _OCRDMA_QPS_SQE,4,2 ; @OCRDMA_QPS_SQE
.comm _OCRDMA_QPS_ERR,4,2 ; @OCRDMA_QPS_ERR
.no_dead_strip _get_ocrdma_qp_state
.section __DATA,__const
.p2align 3 ; @switch.table.get_ocrdma_qp_state
l_switch.table.get_ocrdma_qp_state:
.quad _OCRDMA_QPS_SQE
.quad _OCRDMA_QPS_SQD
.quad _OCRDMA_QPS_RTS
.quad _OCRDMA_QPS_RTR
.quad _OCRDMA_QPS_RST
.quad _OCRDMA_QPS_INIT
.quad _OCRDMA_QPS_ERR
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma_hw.c_get_ocrdma_qp_state.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $1, -116(%rbp)
cmpl $3, %edi
jne LBB0_3
## %bb.1:
movq 8(%rsi), %rdi
movq 16(%rsi), %rsi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_12
## %bb.2:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _download ## TAILCALL
LBB0_3:
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.6(%rip), %r15
leaq L_.str.7(%rip), %r12
leaq -112(%rbp), %r14
jmp LBB0_4
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movl $14400, %edi ## imm = 0x3840
callq _sleep
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _version_file(%rip), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %rbx
movq %rax, %rdi
leaq L_.str.5(%rip), %rsi
leaq -116(%rbp), %rdx
xorl %eax, %eax
callq _fscanf
movq %rbx, %rdi
callq _fclose
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movl -116(%rbp), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl -116(%rbp), %r8d
incl %r8d
movl $64, %edx
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rcx
xorl %eax, %eax
callq ___sprintf_chk
movq _update_script(%rip), %rsi
movq %r14, %rdi
callq _download
testl %eax, %eax
jne LBB0_11
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movl -116(%rbp), %esi
incl %esi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _update_script(%rip), %rdi
movl $448, %esi ## imm = 0x1C0
callq _chmod
movq _update_script(%rip), %rdi
callq _system
testl %eax, %eax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movl $180, %edi
callq _sleep
jmp LBB0_4
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movq _version_file(%rip), %rdi
leaq L_.str.9(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_4
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq %rax, %r13
movl -116(%rbp), %edx
incl %edx
movq %rax, %rdi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq %r13, %rdi
callq _fclose
jmp LBB0_4
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _download ## -- Begin function download
.p2align 4, 0x90
_download: ## @download
.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 $4136, %eax ## imm = 0x1028
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, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
testl %eax, %eax
js LBB1_1
## %bb.2:
movl %eax, %r12d
movq _server_name(%rip), %rdi
callq _gethostbyname
testq %rax, %rax
je LBB1_3
## %bb.4:
xorps %xmm0, %xmm0
movaps %xmm0, -4160(%rbp)
leaq -4156(%rbp), %rdi
movq 24(%rax), %rcx
movq (%rcx), %rsi
movslq 20(%rax), %rdx
movl $12, %ecx
callq ___memcpy_chk
movb $2, -4159(%rbp)
movw $-23021, -4158(%rbp) ## imm = 0xA613
leaq -4160(%rbp), %rsi
movl %r12d, %edi
movl $16, %edx
callq _connect
testl %eax, %eax
js LBB1_5
## %bb.7:
leaq -4144(%rbp), %r15
movl $4096, %edx ## imm = 0x1000
movq %r15, %rdi
movq %rbx, %rsi
callq ___strcpy_chk
leaq L_.str.13(%rip), %rsi
movl $4096, %edx ## imm = 0x1000
movq %r15, %rdi
callq ___strcat_chk
movq %r15, %rdi
callq _strlen
movl %r12d, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq _send
testq %rax, %rax
js LBB1_8
## %bb.9:
leaq -4144(%rbp), %rsi
movl $4, %edx
movl %r12d, %edi
xorl %ecx, %ecx
callq _recv
cmpl $4, %eax
jne LBB1_10
## %bb.11:
movl -4144(%rbp), %r15d
cmpl $1234567, %r15d ## imm = 0x12D687
jne LBB1_13
## %bb.12:
leaq L_str.26(%rip), %rdi
callq _puts
movl $-2, %ebx
jmp LBB1_24
LBB1_1:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rbx
callq ___error
movl (%rax), %edx
leaq L_.str.10(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl $-1, %ebx
jmp LBB1_25
LBB1_3:
leaq L_str.27(%rip), %rdi
LBB1_22:
callq _puts
jmp LBB1_23
LBB1_5:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rbx
callq ___error
movl (%rax), %edx
leaq L_.str.12(%rip), %rdi
jmp LBB1_6
LBB1_8:
callq ___error
movl (%rax), %edi
callq _strerror
movq %rax, %rbx
callq ___error
movl (%rax), %edx
leaq L_.str.14(%rip), %rdi
LBB1_6:
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
jmp LBB1_23
LBB1_10:
leaq L_.str.15(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
LBB1_23:
movl $-1, %ebx
LBB1_24:
movl %r12d, %edi
callq _close
LBB1_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_28
## %bb.26:
movl %ebx, %eax
addq $4136, %rsp ## imm = 0x1028
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_13:
leaq L_.str.17(%rip), %rdi
xorl %r13d, %r13d
movl %r15d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.18(%rip), %rsi
movq %r14, %rdi
callq _fopen
movq %rax, -4168(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB1_27
## %bb.14:
leaq -4144(%rbp), %rbx
.p2align 4, 0x90
LBB1_15: ## =>This Inner Loop Header: Depth=1
movl $4096, %edx ## imm = 0x1000
movl %r12d, %edi
movq %rbx, %rsi
xorl %ecx, %ecx
callq _recv
movq %rax, %r14
testl %r14d, %r14d
js LBB1_20
## %bb.16: ## in Loop: Header=BB1_15 Depth=1
movslq %r14d, %rsi
movl $1, %edx
movq %rbx, %rdi
movq -4168(%rbp), %rcx ## 8-byte Reload
callq _fwrite
cmpq $1, %rax
jne LBB1_17
## %bb.18: ## in Loop: Header=BB1_15 Depth=1
addl %r14d, %r13d
cmpl %r15d, %r13d
jne LBB1_15
## %bb.19:
movl %r15d, %r13d
LBB1_20:
movq -4168(%rbp), %rdi ## 8-byte Reload
callq _fclose
leaq L_.str.21(%rip), %rdi
xorl %ebx, %ebx
movl %r13d, %esi
xorl %eax, %eax
callq _printf
cmpl %r13d, %r15d
je LBB1_24
## %bb.21:
leaq L_str.23(%rip), %rdi
jmp LBB1_22
LBB1_27:
leaq L_str.25(%rip), %rdi
jmp LBB1_22
LBB1_17:
leaq L_str.24(%rip), %rdi
callq _puts
movq -4168(%rbp), %rdi ## 8-byte Reload
callq _fclose
jmp LBB1_23
LBB1_28:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./xrhupdate.sh"
.section __DATA,__data
.globl _update_script ## @update_script
.p2align 3
_update_script:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "./xrhversion"
.section __DATA,__data
.globl _version_file ## @version_file
.p2align 3
_version_file:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "kuanglizhong.com"
.section __DATA,__data
.globl _server_name ## @server_name
.p2align 3
_server_name:
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "r"
L_.str.5: ## @.str.5
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "current version:%d.\n"
L_.str.7: ## @.str.7
.asciz "files/%d/update.sh"
L_.str.8: ## @.str.8
.asciz "new version:%d download ok.\n"
L_.str.9: ## @.str.9
.asciz "w"
L_.str.10: ## @.str.10
.asciz "create socket error: %s(errno: %d).\n"
L_.str.12: ## @.str.12
.asciz "connect error: %s(errno: %d).\n"
L_.str.13: ## @.str.13
.asciz ":"
L_.str.14: ## @.str.14
.asciz "send msg error: %s(errno: %d).\n"
L_.str.15: ## @.str.15
.asciz "receive size error, len:%d.\n"
L_.str.17: ## @.str.17
.asciz "file size %d.\n"
L_.str.18: ## @.str.18
.asciz "wb"
L_.str.21: ## @.str.21
.asciz "download ok,receive size: %d.\n"
L_str: ## @str
.asciz "check update begin."
L_str.23: ## @str.23
.asciz "receive error,please delete file."
L_str.24: ## @str.24
.asciz "write file error."
L_str.25: ## @str.25
.asciz "cannot open file."
L_str.26: ## @str.26
.asciz "error,file not found."
L_str.27: ## @str.27
.asciz "resolve error!"
.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, #192
.cfi_def_cfa_offset 192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.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, #88]
mov w8, #1
str w8, [sp, #20]
cmp w0, #3
b.ne LBB0_3
; %bb.1:
ldp x0, x1, [x1, #8]
ldr x8, [sp, #88]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.2:
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
b _download
LBB0_3:
Lloh6:
adrp x0, l_str@PAGE
Lloh7:
add x0, x0, l_str@PAGEOFF
bl _puts
adrp x26, _version_file@PAGE
Lloh8:
adrp x19, l_.str.4@PAGE
Lloh9:
add x19, x19, l_.str.4@PAGEOFF
Lloh10:
adrp x20, l_.str.6@PAGE
Lloh11:
add x20, x20, l_.str.6@PAGEOFF
Lloh12:
adrp x21, l_.str.7@PAGE
Lloh13:
add x21, x21, l_.str.7@PAGEOFF
Lloh14:
adrp x22, l_.str.8@PAGE
Lloh15:
add x22, x22, l_.str.8@PAGEOFF
adrp x27, _update_script@PAGE
Lloh16:
adrp x23, l_.str.9@PAGE
Lloh17:
add x23, x23, l_.str.9@PAGEOFF
add x28, sp, #20
Lloh18:
adrp x24, l_.str.5@PAGE
Lloh19:
add x24, x24, l_.str.5@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov w0, #14400
bl _sleep
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x0, [x26, _version_file@PAGEOFF]
mov x1, x19
bl _fopen
cbz x0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x25, x0
str x28, [sp]
mov x1, x24
bl _fscanf
mov x0, x25
bl _fclose
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [sp, #20]
add w8, w8, #1
str x8, [sp]
add x0, sp, #24
mov w1, #0
mov w2, #64
mov x3, x21
bl ___sprintf_chk
ldr x1, [x27, _update_script@PAGEOFF]
add x0, sp, #24
bl _download
cbnz w0, LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str x8, [sp]
mov x0, x22
bl _printf
ldr x0, [x27, _update_script@PAGEOFF]
mov w1, #448
bl _chmod
ldr x0, [x27, _update_script@PAGEOFF]
bl _system
cbz w0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov w0, #180
bl _sleep
b LBB0_5
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x26, _version_file@PAGEOFF]
mov x1, x23
bl _fopen
cbz x0, LBB0_5
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
mov x25, x0
ldr w8, [sp, #20]
add w8, w8, #1
str x8, [sp]
mov x1, x24
bl _fprintf
mov x0, x25
bl _fclose
b LBB0_5
LBB0_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _download ; -- Begin function download
.p2align 2
_download: ; @download
.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 w9, #4144
Lloh20:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh21:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #48
mov x20, x1
mov x21, x0
Lloh22:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
tbnz w0, #31, LBB1_7
; %bb.1:
mov x19, x0
Lloh25:
adrp x8, _server_name@PAGE
Lloh26:
ldr x0, [x8, _server_name@PAGEOFF]
bl _gethostbyname
cbz x0, LBB1_8
; %bb.2:
stp xzr, xzr, [sp, #24]
add x8, sp, #24
orr x8, x8, #0x4
ldr x9, [x0, #24]
ldr x1, [x9]
ldrsw x2, [x0, #20]
mov x0, x8
mov w3, #12
bl ___memcpy_chk
mov w8, #2
strb w8, [sp, #25]
mov w8, #42515
strh w8, [sp, #26]
add x1, sp, #24
mov x0, x19
mov w2, #16
bl _connect
tbnz w0, #31, LBB1_10
; %bb.3:
add x0, sp, #40
mov x1, x21
mov w2, #4096
bl ___strcpy_chk
Lloh27:
adrp x1, l_.str.13@PAGE
Lloh28:
add x1, x1, l_.str.13@PAGEOFF
add x0, sp, #40
mov w2, #4096
bl ___strcat_chk
add x0, sp, #40
bl _strlen
mov x2, x0
add x1, sp, #40
mov x0, x19
mov w3, #0
bl _send
tbnz x0, #63, LBB1_11
; %bb.4:
add x1, sp, #40
mov x0, x19
mov w2, #4
mov w3, #0
bl _recv
cmp w0, #4
b.ne LBB1_12
; %bb.5:
ldr w22, [sp, #40]
sub w8, w22, #301, lsl #12 ; =1232896
cmp w8, #1671
b.ne LBB1_18
; %bb.6:
Lloh29:
adrp x0, l_str.26@PAGE
Lloh30:
add x0, x0, l_str.26@PAGEOFF
bl _puts
mov w20, #-2
b LBB1_15
LBB1_7:
bl ___error
ldr w0, [x0]
bl _strerror
mov x19, x0
bl ___error
ldr w8, [x0]
stp x19, x8, [sp]
Lloh31:
adrp x0, l_.str.10@PAGE
Lloh32:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
mov w20, #-1
b LBB1_16
LBB1_8:
Lloh33:
adrp x0, l_str.27@PAGE
Lloh34:
add x0, x0, l_str.27@PAGEOFF
LBB1_9:
bl _puts
b LBB1_14
LBB1_10:
bl ___error
ldr w0, [x0]
bl _strerror
mov x20, x0
bl ___error
ldr w8, [x0]
stp x20, x8, [sp]
Lloh35:
adrp x0, l_.str.12@PAGE
Lloh36:
add x0, x0, l_.str.12@PAGEOFF
b LBB1_13
LBB1_11:
bl ___error
ldr w0, [x0]
bl _strerror
mov x20, x0
bl ___error
ldr w8, [x0]
stp x20, x8, [sp]
Lloh37:
adrp x0, l_.str.14@PAGE
Lloh38:
add x0, x0, l_.str.14@PAGEOFF
b LBB1_13
LBB1_12:
; kill: def $w0 killed $w0 killed $x0 def $x0
str x0, [sp]
Lloh39:
adrp x0, l_.str.15@PAGE
Lloh40:
add x0, x0, l_.str.15@PAGEOFF
LBB1_13:
bl _printf
LBB1_14:
mov w20, #-1
LBB1_15:
mov x0, x19
bl _close
LBB1_16:
ldur x8, [x29, #-56]
Lloh41:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh42:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_29
; %bb.17:
mov x0, x20
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #48
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
LBB1_18:
str x22, [sp]
Lloh44:
adrp x0, l_.str.17@PAGE
Lloh45:
add x0, x0, l_.str.17@PAGEOFF
bl _printf
Lloh46:
adrp x1, l_.str.18@PAGE
Lloh47:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x20
bl _fopen
cbz x0, LBB1_26
; %bb.19:
mov x20, x0
mov w23, #0
LBB1_20: ; =>This Inner Loop Header: Depth=1
add x1, sp, #40
mov x0, x19
mov w2, #4096
mov w3, #0
bl _recv
mov x21, x0
tbnz w21, #31, LBB1_24
; %bb.21: ; in Loop: Header=BB1_20 Depth=1
sxtw x1, w21
add x0, sp, #40
mov w2, #1
mov x3, x20
bl _fwrite
cmp x0, #1
b.ne LBB1_28
; %bb.22: ; in Loop: Header=BB1_20 Depth=1
add w23, w23, w21
cmp w23, w22
b.ne LBB1_20
; %bb.23:
mov x23, x22
LBB1_24:
mov x0, x20
bl _fclose
str x23, [sp]
Lloh48:
adrp x0, l_.str.21@PAGE
Lloh49:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
cmp w22, w23
b.ne LBB1_27
; %bb.25:
mov w20, #0
b LBB1_15
LBB1_26:
Lloh50:
adrp x0, l_str.25@PAGE
Lloh51:
add x0, x0, l_str.25@PAGEOFF
b LBB1_9
LBB1_27:
Lloh52:
adrp x0, l_str.23@PAGE
Lloh53:
add x0, x0, l_str.23@PAGEOFF
b LBB1_9
LBB1_28:
Lloh54:
adrp x0, l_str.24@PAGE
Lloh55:
add x0, x0, l_str.24@PAGEOFF
bl _puts
mov x0, x20
bl _fclose
b LBB1_14
LBB1_29:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdr Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "./xrhupdate.sh"
.section __DATA,__data
.globl _update_script ; @update_script
.p2align 3
_update_script:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "./xrhversion"
.section __DATA,__data
.globl _version_file ; @version_file
.p2align 3
_version_file:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "kuanglizhong.com"
.section __DATA,__data
.globl _server_name ; @server_name
.p2align 3
_server_name:
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "r"
l_.str.5: ; @.str.5
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "current version:%d.\n"
l_.str.7: ; @.str.7
.asciz "files/%d/update.sh"
l_.str.8: ; @.str.8
.asciz "new version:%d download ok.\n"
l_.str.9: ; @.str.9
.asciz "w"
l_.str.10: ; @.str.10
.asciz "create socket error: %s(errno: %d).\n"
l_.str.12: ; @.str.12
.asciz "connect error: %s(errno: %d).\n"
l_.str.13: ; @.str.13
.asciz ":"
l_.str.14: ; @.str.14
.asciz "send msg error: %s(errno: %d).\n"
l_.str.15: ; @.str.15
.asciz "receive size error, len:%d.\n"
l_.str.17: ; @.str.17
.asciz "file size %d.\n"
l_.str.18: ; @.str.18
.asciz "wb"
l_.str.21: ; @.str.21
.asciz "download ok,receive size: %d.\n"
l_str: ; @str
.asciz "check update begin."
l_str.23: ; @str.23
.asciz "receive error,please delete file."
l_str.24: ; @str.24
.asciz "write file error."
l_str.25: ; @str.25
.asciz "cannot open file."
l_str.26: ; @str.26
.asciz "error,file not found."
l_str.27: ; @str.27
.asciz "resolve error!"
.subsections_via_symbols
| the_stack_data/419371.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
xorl %eax, %eax
callq ___VERIFIER_nondet_bool
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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_nondet_bool
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/18624.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Seek
_Seek: ## @Seek
.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
popq %rbp
jmp _vlc_stream_Seek ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _Seek
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Seek
_Seek: ; @Seek
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _vlc_stream_Seek
.cfi_endproc
; -- End function
.no_dead_strip _Seek
.subsections_via_symbols
| AnghaBench/vlc/modules/stream_filter/extr_record.c_Seek.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sysv68_partition ## -- Begin function sysv68_partition
.p2align 4, 0x90
_sysv68_partition: ## @sysv68_partition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r14
xorl %r12d, %r12d
leaq -44(%rbp), %rdx
movq %rsi, %rdi
xorl %esi, %esi
callq _read_dev_sector
movl $-1, %r13d
testq %rax, %rax
je LBB0_11
## %bb.1:
movq %rax, %rbx
movl 8(%rax), %edi
leaq L_.str(%rip), %rsi
movl $4, %edx
callq _memcmp
testq %rax, %rax
jne LBB0_10
## %bb.2:
movl 4(%rbx), %edi
callq _be16_to_cpu
movl %eax, %r12d
movl (%rbx), %edi
callq _be32_to_cpu
movl %eax, %ebx
movl -44(%rbp), %edi
callq _put_dev_sector
leaq -44(%rbp), %rdx
movq %r15, %rdi
movl %ebx, %esi
callq _read_dev_sector
testq %rax, %rax
je LBB0_11
## %bb.3:
movq %rax, %r15
leal -1(%r12), %ebx
movl 4(%r14), %esi
leaq L_.str.1(%rip), %rdi
movl %ebx, %edx
xorl %eax, %eax
callq _printk
cmpl $2, %r12d
jl LBB0_9
## %bb.4:
movl %ebx, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rbx
cmpl %r13d, -56(%rbp) ## 4-byte Folded Reload
je LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
leaq 1(%rbx), %r13
cmpl (%r14), %r13d
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl (%r15,%rbx,8), %edi
callq _be32_to_cpu
testl %eax, %eax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl 4(%r15,%rbx,8), %edi
callq _be32_to_cpu
movl %eax, %r12d
movl (%r15,%rbx,8), %edi
callq _be32_to_cpu
movq %r14, %rdi
movl %r13d, %esi
movl %r12d, %edx
movl %eax, %ecx
callq _put_partition
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printk
jmp LBB0_8
LBB0_9:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printk
movl $1, %r12d
LBB0_10:
movl -44(%rbp), %edi
callq _put_dev_sector
movl %r12d, %r13d
LBB0_11:
movl %r13d, %eax
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 "MOTOROLA"
L_.str.1: ## @.str.1
.asciz "sysV68: %s(s%u)"
L_.str.2: ## @.str.2
.asciz "(s%u)"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sysv68_partition ; -- Begin function sysv68_partition
.p2align 2
_sysv68_partition: ; @sysv68_partition
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x1
mov x19, x0
add x2, sp, #28
mov x0, x1
mov w1, #0
bl _read_dev_sector
cbz x0, LBB0_10
; %bb.1:
mov x22, x0
ldr w0, [x0, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #4
bl _memcmp
cbz x0, LBB0_3
; %bb.2:
mov w19, #0
b LBB0_12
LBB0_3:
ldr w0, [x22, #4]
bl _be16_to_cpu
mov x20, x0
ldr w0, [x22]
bl _be32_to_cpu
mov x22, x0
ldr w0, [sp, #28]
bl _put_dev_sector
add x2, sp, #28
mov x0, x21
mov x1, x22
bl _read_dev_sector
cbz x0, LBB0_10
; %bb.4:
mov x21, x0
sub w8, w20, #1
ldr w9, [x19, #4]
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printk
cmp w20, #2
b.lt LBB0_11
; %bb.5:
mov w22, #1
Lloh4:
adrp x23, l_.str.2@PAGE
Lloh5:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add w22, w22, #1
add x21, x21, #8
cmp w20, w22
b.eq LBB0_11
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
cmp w22, w8
b.eq LBB0_11
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [x21]
bl _be32_to_cpu
cbz w0, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
sub w25, w22, #1
ldr w0, [x21, #4]
bl _be32_to_cpu
mov x24, x0
ldr w0, [x21]
bl _be32_to_cpu
mov x3, x0
mov x0, x19
mov x1, x22
mov x2, x24
bl _put_partition
str x25, [sp]
mov x0, x23
bl _printk
b LBB0_6
LBB0_10:
mov w19, #-1
b LBB0_13
LBB0_11:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printk
mov w19, #1
LBB0_12:
ldr w0, [sp, #28]
bl _put_dev_sector
LBB0_13:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MOTOROLA"
l_.str.1: ; @.str.1
.asciz "sysV68: %s(s%u)"
l_.str.2: ; @.str.2
.asciz "(s%u)"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/partitions/extr_sysv68.c_sysv68_partition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_print_alphabet ## -- Begin function ft_print_alphabet
.p2align 4, 0x90
_ft_print_alphabet: ## @ft_print_alphabet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $97, %edi
callq _ft_putchar
movl $98, %edi
callq _ft_putchar
movl $99, %edi
callq _ft_putchar
movl $100, %edi
callq _ft_putchar
movl $101, %edi
callq _ft_putchar
movl $102, %edi
callq _ft_putchar
movl $103, %edi
callq _ft_putchar
movl $104, %edi
callq _ft_putchar
movl $105, %edi
callq _ft_putchar
movl $106, %edi
callq _ft_putchar
movl $107, %edi
callq _ft_putchar
movl $108, %edi
callq _ft_putchar
movl $109, %edi
callq _ft_putchar
movl $110, %edi
callq _ft_putchar
movl $111, %edi
callq _ft_putchar
movl $112, %edi
callq _ft_putchar
movl $113, %edi
callq _ft_putchar
movl $114, %edi
callq _ft_putchar
movl $115, %edi
callq _ft_putchar
movl $116, %edi
callq _ft_putchar
movl $117, %edi
callq _ft_putchar
movl $118, %edi
callq _ft_putchar
movl $119, %edi
callq _ft_putchar
movl $120, %edi
callq _ft_putchar
movl $121, %edi
callq _ft_putchar
movl $122, %edi
popq %rbp
jmp _ft_putchar ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_print_alphabet ; -- Begin function ft_print_alphabet
.p2align 2
_ft_print_alphabet: ; @ft_print_alphabet
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #97
bl _ft_putchar
mov w0, #98
bl _ft_putchar
mov w0, #99
bl _ft_putchar
mov w0, #100
bl _ft_putchar
mov w0, #101
bl _ft_putchar
mov w0, #102
bl _ft_putchar
mov w0, #103
bl _ft_putchar
mov w0, #104
bl _ft_putchar
mov w0, #105
bl _ft_putchar
mov w0, #106
bl _ft_putchar
mov w0, #107
bl _ft_putchar
mov w0, #108
bl _ft_putchar
mov w0, #109
bl _ft_putchar
mov w0, #110
bl _ft_putchar
mov w0, #111
bl _ft_putchar
mov w0, #112
bl _ft_putchar
mov w0, #113
bl _ft_putchar
mov w0, #114
bl _ft_putchar
mov w0, #115
bl _ft_putchar
mov w0, #116
bl _ft_putchar
mov w0, #117
bl _ft_putchar
mov w0, #118
bl _ft_putchar
mov w0, #119
bl _ft_putchar
mov w0, #120
bl _ft_putchar
mov w0, #121
bl _ft_putchar
mov w0, #122
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _ft_putchar
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/70450771.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function venc_calc_bpframes
_venc_calc_bpframes: ## @venc_calc_bpframes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %r10d
subl $1, %r10d
jb LBB0_1
## %bb.2:
movq %rdx, %r8
movl $0, (%rcx)
movl $0, (%rdx)
testl %esi, %esi
je LBB0_11
## %bb.3:
sarl %r10d
cmpl %edi, %r10d
jge LBB0_1
## %bb.4:
movl %r10d, %r9d
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
incl %r9d
decl %r10d
cmpl %r9d, %edi
je LBB0_1
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl %r9d, %eax
cltd
idivl %r10d
testl %edx, %edx
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl %esi, %eax
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
jle LBB0_8
jmp LBB0_1
LBB0_9:
leal (%r9,%r10), %eax
incl %eax
cmpl %edi, %eax
jne LBB0_1
## %bb.10:
movl %r9d, (%r8)
LBB0_11:
movl %r10d, (%rcx)
xorl %eax, %eax
popq %rbp
retq
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _venc_calc_bpframes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function venc_calc_bpframes
_venc_calc_bpframes: ; @venc_calc_bpframes
.cfi_startproc
; %bb.0:
cbz w0, LBB0_11
; %bb.1:
sub w8, w0, #1
str wzr, [x3]
str wzr, [x2]
cbz w1, LBB0_8
; %bb.2:
asr w8, w8, #1
cmp w8, w0
b.ge LBB0_11
; %bb.3:
mov x9, x8
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add w9, w9, #1
sub w8, w8, #1
cmp w0, w9
b.eq LBB0_11
LBB0_5: ; =>This Inner Loop Header: Depth=1
sdiv w10, w9, w8
mul w11, w10, w8
cmp w11, w9
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w10, w1
b.eq LBB0_9
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
b.le LBB0_4
b LBB0_11
LBB0_8:
mov w0, #0
str w8, [x3]
ret
LBB0_9:
add w10, w9, w8
add w10, w10, #1
cmp w10, w0
b.ne LBB0_11
; %bb.10:
mov w0, #0
str w9, [x2]
str w8, [x3]
ret
LBB0_11:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _venc_calc_bpframes
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/qcom/venus/extr_venc_ctrls.c_venc_calc_bpframes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $100, %esi
movl $100, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $-97, %esi
movl $-97, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "i1 = %i, *pointers.p1 = %i\n"
L_.str.1: ## @.str.1
.asciz "i2 = %i, *pointers.p2 = %i\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, #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, #100
stp x8, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #-97
stp x8, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "i1 = %i, *pointers.p1 = %i\n"
l_.str.1: ; @.str.1
.asciz "i2 = %i, *pointers.p2 = %i\n"
.subsections_via_symbols
| the_stack_data/97012616.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_sof_dsp_run
_snd_sof_dsp_run: ## @snd_sof_dsp_run
.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 _sof_ops
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _snd_sof_dsp_run
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_sof_dsp_run
_snd_sof_dsp_run: ; @snd_sof_dsp_run
.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 _sof_ops
ldr x1, [x0]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x1
.cfi_endproc
; -- End function
.no_dead_strip _snd_sof_dsp_run
.subsections_via_symbols
| AnghaBench/linux/sound/soc/sof/intel/extr_..ops.h_snd_sof_dsp_run.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nes_init_phy ## -- Begin function nes_init_phy
.p2align 4, 0x90
_nes_init_phy: ## @nes_init_phy
.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 (%rdi), %rax
movq 8(%rdi), %rcx
movq (%rcx), %rdx
movq 8(%rcx), %rcx
movl (%rdx,%rax,4), %r15d
movl (%rcx,%rax,4), %r14d
movq _NES_IDX_MAC_TX_CONFIG@GOTPCREL(%rip), %r12
movl (%r12), %esi
callq _nes_read_indexed
movl %eax, %edx
andl $-29, %edx
orq $4, %rdx
orl $29, %eax
cmpl $131, %r15d
cmovneq %rax, %rdx
movl (%r12), %esi
movq %rbx, %rdi
callq _nes_write_indexed
movq 8(%rbx), %rdi
addq $16, %rdi
callq _spin_lock_irqsave
leal -128(%r15), %eax
cmpl $3, %eax
jae LBB0_1
## %bb.3:
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq _nes_init_2025_phy
jmp LBB0_4
LBB0_1:
xorl %r12d, %r12d
cmpl $131, %r15d
jne LBB0_5
## %bb.2:
movq %rbx, %rdi
movl $131, %esi
movl %r14d, %edx
callq _nes_init_1g_phy
LBB0_4:
movl %eax, %r12d
LBB0_5:
movq 8(%rbx), %rdi
addq $16, %rdi
callq _spin_unlock_irqrestore
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NES_IDX_MAC_TX_CONFIG,4,2 ## @NES_IDX_MAC_TX_CONFIG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nes_init_phy ; -- Begin function nes_init_phy
.p2align 2
_nes_init_phy: ; @nes_init_phy
.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
ldp x9, x8, [x0]
lsl x9, x9, #2
ldp x10, x8, [x8]
ldr w21, [x10, x9]
ldr w20, [x8, x9]
Lloh0:
adrp x22, _NES_IDX_MAC_TX_CONFIG@GOTPAGE
Lloh1:
ldr x22, [x22, _NES_IDX_MAC_TX_CONFIG@GOTPAGEOFF]
ldr w1, [x22]
bl _nes_read_indexed
mov w8, #-30
orr x8, x8, #0x1
and x8, x0, x8
orr x8, x8, #0x4
and x9, x0, #0xfffffffe
mov w10, #29
orr x9, x9, x10
cmp w21, #131
csel x2, x8, x9, eq
ldr w1, [x22]
mov x0, x19
bl _nes_write_indexed
ldr x8, [x19, #8]
add x0, x8, #16
bl _spin_lock_irqsave
sub w8, w21, #128
cmp w8, #3
b.hs LBB0_2
; %bb.1:
mov x0, x19
mov x1, x21
mov x2, x20
bl _nes_init_2025_phy
b LBB0_4
LBB0_2:
cmp w21, #131
b.ne LBB0_5
; %bb.3:
mov x0, x19
mov w1, #131
mov x2, x20
bl _nes_init_1g_phy
LBB0_4:
mov x20, x0
b LBB0_6
LBB0_5:
mov w20, #0
LBB0_6:
ldr x8, [x19, #8]
add x0, x8, #16
bl _spin_unlock_irqrestore
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 AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NES_IDX_MAC_TX_CONFIG,4,2 ; @NES_IDX_MAC_TX_CONFIG
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_hw.c_nes_init_phy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ecore_dbg_grc_set_params_default ## -- Begin function ecore_dbg_grc_set_params_default
.p2align 4, 0x90
_ecore_dbg_grc_set_params_default: ## @ecore_dbg_grc_set_params_default
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MAX_DBG_GRC_PARAMS@GOTPCREL(%rip), %rax
movq (%rax), %r9
testq %r9, %r9
je LBB0_8
## %bb.1:
movq _s_grc_param_defs@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq (%rdi), %rax
movq 8(%rdi), %rsi
leaq -1(%r9), %rdi
movl %r9d, %r8d
andl $3, %r8d
cmpq $3, %rdi
jae LBB0_3
## %bb.2:
xorl %edi, %edi
jmp LBB0_5
LBB0_3:
andq $-4, %r9
xorl %edi, %edi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%rdi,8), %rcx
movl (%rcx,%rax,4), %ecx
movl %ecx, (%rsi,%rdi,4)
movq 8(%rdx,%rdi,8), %rcx
movl (%rcx,%rax,4), %ecx
movl %ecx, 4(%rsi,%rdi,4)
movq 16(%rdx,%rdi,8), %rcx
movl (%rcx,%rax,4), %ecx
movl %ecx, 8(%rsi,%rdi,4)
movq 24(%rdx,%rdi,8), %rcx
movl (%rcx,%rax,4), %ecx
movl %ecx, 12(%rsi,%rdi,4)
addq $4, %rdi
cmpq %rdi, %r9
jne LBB0_4
LBB0_5:
testq %r8, %r8
je LBB0_8
## %bb.6:
leaq (%rsi,%rdi,4), %rcx
leaq (%rdx,%rdi,8), %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%rsi,8), %rdi
movl (%rdi,%rax,4), %edi
movl %edi, (%rcx,%rsi,4)
incq %rsi
cmpq %rsi, %r8
jne LBB0_7
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAX_DBG_GRC_PARAMS,8,3 ## @MAX_DBG_GRC_PARAMS
.comm _s_grc_param_defs,8,3 ## @s_grc_param_defs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ecore_dbg_grc_set_params_default ; -- Begin function ecore_dbg_grc_set_params_default
.p2align 2
_ecore_dbg_grc_set_params_default: ; @ecore_dbg_grc_set_params_default
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MAX_DBG_GRC_PARAMS@GOTPAGE
Lloh1:
ldr x8, [x8, _MAX_DBG_GRC_PARAMS@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.1:
Lloh3:
adrp x9, _s_grc_param_defs@GOTPAGE
Lloh4:
ldr x9, [x9, _s_grc_param_defs@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldp x10, x11, [x0]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x12, [x9], #8
ldr w12, [x12, x10, lsl #2]
str w12, [x11], #4
subs x8, x8, #1
b.ne LBB0_2
LBB0_3:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MAX_DBG_GRC_PARAMS,8,3 ; @MAX_DBG_GRC_PARAMS
.comm _s_grc_param_defs,8,3 ; @s_grc_param_defs
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dbg_fw_funcs.c_ecore_dbg_grc_set_params_default.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.