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 _bufferinitmutex ## -- Begin function bufferinitmutex
.p2align 4, 0x90
_bufferinitmutex: ## @bufferinitmutex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq _smutex(%rip), %rdi
callq _pthread_mutex_lock
movl %eax, %ebx
testl %eax, %eax
je LBB0_1
LBB0_6:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
cmpb $0, _seminit(%rip)
jne LBB0_4
## %bb.2:
callq _bufferinit
testl %eax, %eax
je LBB0_3
## %bb.5:
movl %eax, %ebx
leaq _smutex(%rip), %rdi
callq _pthread_mutex_unlock
jmp LBB0_6
LBB0_3:
movb $1, _seminit(%rip)
LBB0_4:
leaq _smutex(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _pthread_mutex_unlock ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 3 ## @smutex
_smutex:
.quad 850045863 ## 0x32aaaba7
.space 56
.zerofill __DATA,__bss,_seminit,1,2 ## @seminit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bufferinitmutex ; -- Begin function bufferinitmutex
.p2align 2
_bufferinitmutex: ; @bufferinitmutex
.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 x0, _smutex@PAGE
Lloh1:
add x0, x0, _smutex@PAGEOFF
bl _pthread_mutex_lock
mov x19, x0
cbz w0, 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:
adrp x20, _seminit@PAGE
ldrb w8, [x20, _seminit@PAGEOFF]
tbnz w8, #0, LBB0_6
; %bb.3:
bl _bufferinit
cbz w0, LBB0_5
; %bb.4:
mov x19, x0
Lloh2:
adrp x0, _smutex@PAGE
Lloh3:
add x0, x0, _smutex@PAGEOFF
bl _pthread_mutex_unlock
b LBB0_1
LBB0_5:
mov w8, #1
strb w8, [x20, _seminit@PAGEOFF]
LBB0_6:
Lloh4:
adrp x0, _smutex@PAGE
Lloh5:
add x0, x0, _smutex@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pthread_mutex_unlock
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3 ; @smutex
_smutex:
.quad 850045863 ; 0x32aaaba7
.space 56
.zerofill __DATA,__bss,_seminit,1,2 ; @seminit
.subsections_via_symbols
| the_stack_data/40561.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4024000000000000 ## double 10
.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
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq l___const.main.ary+32(%rip), %rax
movq %rax, -64(%rbp)
movaps l___const.main.ary+16(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movaps l___const.main.ary(%rip), %xmm0
movaps %xmm0, -96(%rbp)
leaq -64(%rbp), %r12
leaq -80(%rbp), %r14
leaq L_.str(%rip), %rbx
leaq -96(%rbp), %rdx
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
leaq -92(%rbp), %rdx
movl -96(%rbp), %eax
movl %eax, -112(%rbp) ## 4-byte Spill
movl -92(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
leaq -88(%rbp), %rdx
movl -92(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
movl -88(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
leaq -84(%rbp), %rdx
movl -88(%rbp), %eax
movl %eax, -104(%rbp) ## 4-byte Spill
movl -84(%rbp), %esi
leaq -76(%rbp), %r15
leaq -68(%rbp), %r13
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
movl -84(%rbp), %eax
movl %eax, -100(%rbp) ## 4-byte Spill
movl -80(%rbp), %esi
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq _printf
movl -80(%rbp), %r14d
movl -76(%rbp), %esi
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq _printf
movl -72(%rbp), %esi
movss -76(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movaps %xmm0, -128(%rbp) ## 16-byte Spill
movq %rbx, %rdi
leaq -72(%rbp), %rdx
xorl %eax, %eax
callq _printf
movl -72(%rbp), %r15d
movl -68(%rbp), %esi
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq _printf
movl -68(%rbp), %r13d
movl -64(%rbp), %esi
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq _printf
movl -64(%rbp), %r12d
movl -60(%rbp), %esi
movq %rbx, %rdi
leaq -60(%rbp), %rdx
xorl %eax, %eax
callq _printf
movdqa -128(%rbp), %xmm0 ## 16-byte Reload
pinsrd $1, %r14d, %xmm0
pinsrd $2, -100(%rbp), %xmm0 ## 4-byte Folded Reload
pinsrd $3, -104(%rbp), %xmm0 ## 4-byte Folded Reload
movdqa %xmm0, %xmm1
movd -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
pinsrd $1, %r12d, %xmm0
pinsrd $2, %r13d, %xmm0
pinsrd $3, %r15d, %xmm0
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
addl -108(%rbp), %ebx ## 4-byte Folded Reload
addl -112(%rbp), %ebx ## 4-byte Folded Reload
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
divsd LCPI0_0(%rip), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $88, %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 4 ## @__const.main.ary
l___const.main.ary:
.long 4 ## 0x4
.long 3 ## 0x3
.long 2 ## 0x2
.long 6 ## 0x6
.long 7 ## 0x7
.long 1 ## 0x1
.long 0 ## 0x0
.long 8 ## 0x8
.long 9 ## 0x9
.long 5 ## 0x5
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Value: %d\t address: %p\n"
L_.str.1: ## @.str.1
.asciz "Sum: %d\n"
L_.str.2: ## @.str.2
.asciz "Average: %.3f\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, #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]
Lloh3:
adrp x8, l___const.main.ary@PAGE
Lloh4:
add x8, x8, l___const.main.ary@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #48]
ldr x8, [x8, #32]
str x8, [sp, #80]
add x24, sp, #48
add x22, x24, #32
add x26, x24, #16
mov w8, #4
stp x8, x24, [sp]
Lloh5:
adrp x19, l_.str@PAGE
Lloh6:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
orr x8, x24, #0x4
ldr w9, [sp, #48]
str w9, [sp, #44] ; 4-byte Folded Spill
ldr w9, [sp, #52]
stp x9, x8, [sp]
mov x0, x19
bl _printf
orr x8, x24, #0x8
ldp w21, w9, [sp, #52]
stp x9, x8, [sp]
mov x0, x19
bl _printf
orr x8, x24, #0xc
add x27, x24, #20
add x28, x24, #24
add x20, x24, #28
ldp w23, w9, [sp, #56]
add x24, x24, #36
stp x9, x8, [sp]
mov x0, x19
bl _printf
ldp w25, w8, [sp, #60]
stp x8, x26, [sp]
mov x0, x19
bl _printf
ldp w26, w8, [sp, #64]
stp x8, x27, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #72]
ldr s0, [sp, #68]
str q0, [sp, #16] ; 16-byte Folded Spill
stp x8, x28, [sp]
mov x0, x19
bl _printf
ldp w27, w8, [sp, #72]
stp x8, x20, [sp]
mov x0, x19
bl _printf
ldp w20, w8, [sp, #76]
stp x8, x22, [sp]
mov x0, x19
bl _printf
ldp w22, w8, [sp, #80]
stp x8, x24, [sp]
mov x0, x19
bl _printf
ldr q0, [sp, #16] ; 16-byte Folded Reload
mov.s v0[1], w26
mov.s v0[2], w25
mov.s v0[3], w23
mov.16b v1, v0
ldr s0, [sp, #84]
mov.s v0[1], w22
mov.s v0[2], w20
mov.s v0[3], w27
add.4s v0, v0, v1
addv.4s s0, v0
fmov w8, s0
add w8, w8, w21
ldr w9, [sp, #44] ; 4-byte Folded Reload
add w19, w8, w9
str x19, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
scvtf d0, w19
fmov d1, #10.00000000
fdiv d0, d0, d1
str d0, [sp]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #88]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
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
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
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.ary
l___const.main.ary:
.long 4 ; 0x4
.long 3 ; 0x3
.long 2 ; 0x2
.long 6 ; 0x6
.long 7 ; 0x7
.long 1 ; 0x1
.long 0 ; 0x0
.long 8 ; 0x8
.long 9 ; 0x9
.long 5 ; 0x5
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Value: %d\t address: %p\n"
l_.str.1: ; @.str.1
.asciz "Sum: %d\n"
l_.str.2: ; @.str.2
.asciz "Average: %.3f\n"
.subsections_via_symbols
| the_stack_data/167329664.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function evdev_repeat_callout
_evdev_repeat_callout: ## @evdev_repeat_callout
.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 _EV_KEY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 8(%rdi), %edx
movq _KEY_EVENT_REPEAT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _evdev_send_event
movq _EV_SYN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SYN_REPORT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $1, %ecx
callq _evdev_send_event
movq (%rbx), %rax
movq _REP_PERIOD@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %eax
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq 12(%rbx), %rdi
movq _hz@GOTPCREL(%rip), %rcx
imull (%rcx), %eax
cltq
imulq $274877907, %rax, %rsi ## imm = 0x10624DD3
movq %rsi, %rax
shrq $63, %rax
sarq $38, %rsi
addl %eax, %esi
leaq _evdev_repeat_callout(%rip), %rdx
## kill: def $esi killed $esi killed $rsi
movq %rbx, %rcx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _callout_reset ## TAILCALL
LBB0_1:
movq _KEY_RESERVED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EV_KEY,4,2 ## @EV_KEY
.comm _KEY_EVENT_REPEAT,4,2 ## @KEY_EVENT_REPEAT
.comm _EV_SYN,4,2 ## @EV_SYN
.comm _SYN_REPORT,4,2 ## @SYN_REPORT
.comm _REP_PERIOD,8,3 ## @REP_PERIOD
.comm _hz,4,2 ## @hz
.comm _KEY_RESERVED,4,2 ## @KEY_RESERVED
.no_dead_strip _evdev_repeat_callout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function evdev_repeat_callout
_evdev_repeat_callout: ; @evdev_repeat_callout
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _EV_KEY@GOTPAGE
Lloh1:
ldr x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x0, #8]
Lloh3:
adrp x8, _KEY_EVENT_REPEAT@GOTPAGE
Lloh4:
ldr x8, [x8, _KEY_EVENT_REPEAT@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
bl _evdev_send_event
Lloh6:
adrp x8, _EV_SYN@GOTPAGE
Lloh7:
ldr x8, [x8, _EV_SYN@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x8, _SYN_REPORT@GOTPAGE
Lloh10:
ldr x8, [x8, _SYN_REPORT@GOTPAGEOFF]
Lloh11:
ldr w2, [x8]
mov x0, x19
mov w3, #1
bl _evdev_send_event
ldr x8, [x19]
Lloh12:
adrp x9, _REP_PERIOD@GOTPAGE
Lloh13:
ldr x9, [x9, _REP_PERIOD@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
ldr w8, [x8, x9, lsl #2]
cbz w8, LBB0_2
; %bb.1:
add x0, x19, #12
Lloh15:
adrp x9, _hz@GOTPAGE
Lloh16:
ldr x9, [x9, _hz@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
mul w8, w9, w8
mov w9, #19923
movk w9, #4194, lsl #16
smull x8, w8, w9
lsr x9, x8, #63
asr x8, x8, #38
add w1, w8, w9
Lloh18:
adrp x2, _evdev_repeat_callout@PAGE
Lloh19:
add x2, x2, _evdev_repeat_callout@PAGEOFF
mov x3, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _callout_reset
LBB0_2:
Lloh20:
adrp x8, _KEY_RESERVED@GOTPAGE
Lloh21:
ldr x8, [x8, _KEY_RESERVED@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
str w8, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _EV_KEY,4,2 ; @EV_KEY
.comm _KEY_EVENT_REPEAT,4,2 ; @KEY_EVENT_REPEAT
.comm _EV_SYN,4,2 ; @EV_SYN
.comm _SYN_REPORT,4,2 ; @SYN_REPORT
.comm _REP_PERIOD,8,3 ; @REP_PERIOD
.comm _hz,4,2 ; @hz
.comm _KEY_RESERVED,4,2 ; @KEY_RESERVED
.no_dead_strip _evdev_repeat_callout
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/evdev/extr_evdev.c_evdev_repeat_callout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bot_l_patterns ## -- Begin function bot_l_patterns
.p2align 4, 0x90
_bot_l_patterns: ## @bot_l_patterns
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $10, %ecx
cmpb $79, 1(%rdi)
jne LBB0_3
## %bb.1:
movl $2, %ecx
cmpb $79, 5(%rdi)
je LBB0_3
## %bb.2:
xorl %eax, %eax
cmpb $79, 3(%rdi)
movl $10, %ecx
cmovel %eax, %ecx
LBB0_3:
cmpb $79, 7(%rdi)
jne LBB0_6
## %bb.4:
movl $6, %eax
cmpb $79, 3(%rdi)
je LBB0_7
## %bb.5:
cmpb $79, 5(%rdi)
movl $8, %eax
cmovel %eax, %ecx
LBB0_6:
movl %ecx, %eax
LBB0_7:
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 _bot_l_patterns ; -- Begin function bot_l_patterns
.p2align 2
_bot_l_patterns: ; @bot_l_patterns
.cfi_startproc
; %bb.0:
ldrb w8, [x0, #1]
cmp w8, #79
b.ne LBB0_3
; %bb.1:
ldrb w8, [x0, #5]
cmp w8, #79
b.ne LBB0_4
; %bb.2:
mov w8, #2
b LBB0_5
LBB0_3:
mov w8, #10
b LBB0_5
LBB0_4:
ldrb w8, [x0, #3]
mov w9, #10
cmp w8, #79
csel w8, wzr, w9, eq
LBB0_5:
ldrb w9, [x0, #7]
cmp w9, #79
b.ne LBB0_9
; %bb.6:
ldrb w9, [x0, #3]
cmp w9, #79
b.ne LBB0_8
; %bb.7:
mov w0, #6
ret
LBB0_8:
ldrb w9, [x0, #5]
mov w10, #8
cmp w9, #79
csel w8, w10, w8, eq
LBB0_9:
mov x0, x8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/75137571.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rxe_cleanup_ports
_rxe_cleanup_ports: ## @rxe_cleanup_ports
.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), %rdi
callq _kfree
movq $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rxe_cleanup_ports
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rxe_cleanup_ports
_rxe_cleanup_ports: ; @rxe_cleanup_ports
.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 x0, [x0]
bl _kfree
str xzr, [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 _rxe_cleanup_ports
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe.c_rxe_cleanup_ports.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fe25519_getparity ## -- Begin function fe25519_getparity
.p2align 4, 0x90
_fe25519_getparity: ## @fe25519_getparity
.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
movq (%rdi), %rax
movq %rax, -8(%rbp)
leaq -8(%rbp), %rdi
callq _fe25519_freeze
movq -8(%rbp), %rax
movl (%rax), %eax
andl $1, %eax
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 _fe25519_getparity ; -- Begin function fe25519_getparity
.p2align 2
_fe25519_getparity: ; @fe25519_getparity
.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
ldr x8, [x0]
str x8, [sp, #8]
add x0, sp, #8
bl _fe25519_freeze
ldr x8, [sp, #8]
ldr w8, [x8]
and w0, w8, #0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssh/extr_fe25519.c_crypto_sign_ed25519_ref_fe25519_getparity.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stats_prepare_stats ## -- Begin function stats_prepare_stats
.p2align 4, 0x90
_stats_prepare_stats: ## @stats_prepare_stats
.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 %rdi, %rsi
movq _stats_buff@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _STATS_BUFF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -48(%rbp), %rbx
movq %rbx, %rdi
callq _sb_prepare
movq _AM_GET_MEMORY_USAGE_SELF@GOTPCREL(%rip), %rax
movq _AM_GET_MEMORY_USAGE_OVERALL@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%rax), %rsi
movq %rbx, %rdi
callq _sb_memory
movq _snapshot_loading_average_blocking_read_bytes@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
movq _snapshot_loading_blocking_read_calls@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq _tot_user_metafiles@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp) ## 4-byte Spill
movq _tot_user_metafile_bytes@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq _tot_counters@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _max_counters@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rdi, -144(%rbp) ## 8-byte Spill
## kill: def $edi killed $edi killed $rdi
callq _percent
## kill: def $eax killed $eax def $rax
movq %rax, -136(%rbp) ## 8-byte Spill
movq _counters_prime@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -128(%rbp) ## 8-byte Spill
movq _tot_views@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -120(%rbp) ## 8-byte Spill
movq _alloc_tree_nodes@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -112(%rbp) ## 8-byte Spill
movq _tot_counter_instances@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _index_size@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %edi
callq _percent
## kill: def $eax killed $eax def $rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq _tot_counters_allocated@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -96(%rbp) ## 8-byte Spill
movq _deleted_by_lru@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -88(%rbp) ## 8-byte Spill
movq _tot_memory_allocated@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq _tot_aio_queries@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq _active_aio_queries@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq _expired_aio_queries@GOTPCREL(%rip), %rax
movl (%rax), %r11d
testl %r12d, %r12d
jle LBB0_1
## %bb.2:
movq _total_aio_time@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl %r12d
## kill: def $eax killed $eax def $rax
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
movq _tot_aio_loaded_bytes@GOTPCREL(%rip), %rcx
movl (%rcx), %r15d
movq _tot_aio_fails@GOTPCREL(%rip), %rcx
movl (%rcx), %r13d
movq _memory_to_index@GOTPCREL(%rip), %rcx
movl (%rcx), %r14d
movq _FullVersionStr@GOTPCREL(%rip), %rcx
movl (%rcx), %r10d
subq $8, %rsp
leaq L_.str(%rip), %rsi
leaq -48(%rbp), %rdi
movl -64(%rbp), %edx ## 4-byte Reload
movl -60(%rbp), %ecx ## 4-byte Reload
movl -56(%rbp), %r8d ## 4-byte Reload
movl -52(%rbp), %r9d ## 4-byte Reload
pushq %r10
pushq %r14
pushq %r13
pushq %r12
pushq %r15
pushq %rax
pushq %r11
pushq -72(%rbp) ## 8-byte Folded Reload
pushq %r12
pushq -80(%rbp) ## 8-byte Folded Reload
pushq -88(%rbp) ## 8-byte Folded Reload
pushq -96(%rbp) ## 8-byte Folded Reload
pushq -104(%rbp) ## 8-byte Folded Reload
pushq %rbx
pushq -112(%rbp) ## 8-byte Folded Reload
pushq -120(%rbp) ## 8-byte Folded Reload
pushq -128(%rbp) ## 8-byte Folded Reload
pushq -136(%rbp) ## 8-byte Folded Reload
pushq -144(%rbp) ## 8-byte Folded Reload
callq _sb_printf
addq $160, %rsp
movl -48(%rbp), %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stats_buff,4,2 ## @stats_buff
.comm _STATS_BUFF_SIZE,4,2 ## @STATS_BUFF_SIZE
.comm _AM_GET_MEMORY_USAGE_SELF,8,3 ## @AM_GET_MEMORY_USAGE_SELF
.comm _AM_GET_MEMORY_USAGE_OVERALL,8,3 ## @AM_GET_MEMORY_USAGE_OVERALL
.comm _SB_BINLOG,4,2 ## @SB_BINLOG
.comm _SB_INDEX,4,2 ## @SB_INDEX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "snapshot_loading_average_blocking_read_bytes\t%.6f\nsnapshot_loading_blocking_read_calls\t%d\ntot_user_metafiles\t%d\ntot_user_metafile_bytes\t%lld\ncounters\t%d\ncounters_percent\t%.6f\ncounters_prime\t%d\ntotal_views\t%lld\ntree_nodes_allocated\t%d\ncounter_instances\t%d\ncounter_instances_percent\t%.6f\nallocated_counter_instances\t%d\ndeleted_by_LRU\t%lld\nallocated_memory\t%lld\ntot_aio_queries\t%lld\nactive_aio_queries\t%lld\nexpired_aio_queries\t%lld\navg_aio_query_time\t%.6f\naio_bytes_loaded\t%lld\ntot_aio_queries\t%lld\ntot_aio_fails\t%lld\nmemory_to_index\t%lld\nversion\t%s\n"
.comm _snapshot_loading_average_blocking_read_bytes,4,2 ## @snapshot_loading_average_blocking_read_bytes
.comm _snapshot_loading_blocking_read_calls,4,2 ## @snapshot_loading_blocking_read_calls
.comm _tot_user_metafiles,4,2 ## @tot_user_metafiles
.comm _tot_user_metafile_bytes,4,2 ## @tot_user_metafile_bytes
.comm _tot_counters,4,2 ## @tot_counters
.comm _max_counters,4,2 ## @max_counters
.comm _counters_prime,4,2 ## @counters_prime
.comm _tot_views,4,2 ## @tot_views
.comm _alloc_tree_nodes,4,2 ## @alloc_tree_nodes
.comm _tot_counter_instances,4,2 ## @tot_counter_instances
.comm _index_size,4,2 ## @index_size
.comm _tot_counters_allocated,4,2 ## @tot_counters_allocated
.comm _deleted_by_lru,4,2 ## @deleted_by_lru
.comm _tot_memory_allocated,4,2 ## @tot_memory_allocated
.comm _tot_aio_queries,4,2 ## @tot_aio_queries
.comm _active_aio_queries,4,2 ## @active_aio_queries
.comm _expired_aio_queries,4,2 ## @expired_aio_queries
.comm _total_aio_time,4,2 ## @total_aio_time
.comm _tot_aio_loaded_bytes,4,2 ## @tot_aio_loaded_bytes
.comm _tot_aio_fails,4,2 ## @tot_aio_fails
.comm _memory_to_index,4,2 ## @memory_to_index
.comm _FullVersionStr,4,2 ## @FullVersionStr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _stats_prepare_stats ; -- Begin function stats_prepare_stats
.p2align 2
_stats_prepare_stats: ; @stats_prepare_stats
.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 x1, x0
Lloh0:
adrp x8, _stats_buff@GOTPAGE
Lloh1:
ldr x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _STATS_BUFF_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _STATS_BUFF_SIZE@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
add x0, sp, #72
bl _sb_prepare
Lloh6:
adrp x8, _AM_GET_MEMORY_USAGE_SELF@GOTPAGE
Lloh7:
ldr x8, [x8, _AM_GET_MEMORY_USAGE_SELF@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
Lloh9:
adrp x9, _AM_GET_MEMORY_USAGE_OVERALL@GOTPAGE
Lloh10:
ldr x9, [x9, _AM_GET_MEMORY_USAGE_OVERALL@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
add x1, x9, x8
add x0, sp, #72
bl _sb_memory
Lloh12:
adrp x8, _snapshot_loading_average_blocking_read_bytes@GOTPAGE
Lloh13:
ldr x8, [x8, _snapshot_loading_average_blocking_read_bytes@GOTPAGEOFF]
Lloh14:
ldr w19, [x8]
Lloh15:
adrp x8, _snapshot_loading_blocking_read_calls@GOTPAGE
Lloh16:
ldr x8, [x8, _snapshot_loading_blocking_read_calls@GOTPAGEOFF]
Lloh17:
ldr w20, [x8]
Lloh18:
adrp x8, _tot_user_metafiles@GOTPAGE
Lloh19:
ldr x8, [x8, _tot_user_metafiles@GOTPAGEOFF]
Lloh20:
ldr w21, [x8]
Lloh21:
adrp x8, _tot_user_metafile_bytes@GOTPAGE
Lloh22:
ldr x8, [x8, _tot_user_metafile_bytes@GOTPAGEOFF]
Lloh23:
ldr w22, [x8]
Lloh24:
adrp x8, _tot_counters@GOTPAGE
Lloh25:
ldr x8, [x8, _tot_counters@GOTPAGEOFF]
Lloh26:
ldr w23, [x8]
Lloh27:
adrp x8, _max_counters@GOTPAGE
Lloh28:
ldr x8, [x8, _max_counters@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
mov x0, x23
bl _percent
mov x24, x0
Lloh30:
adrp x8, _counters_prime@GOTPAGE
Lloh31:
ldr x8, [x8, _counters_prime@GOTPAGEOFF]
Lloh32:
ldr w26, [x8]
Lloh33:
adrp x8, _tot_views@GOTPAGE
Lloh34:
ldr x8, [x8, _tot_views@GOTPAGEOFF]
Lloh35:
ldr w27, [x8]
Lloh36:
adrp x8, _alloc_tree_nodes@GOTPAGE
Lloh37:
ldr x8, [x8, _alloc_tree_nodes@GOTPAGEOFF]
Lloh38:
ldr w28, [x8]
Lloh39:
adrp x8, _tot_counter_instances@GOTPAGE
Lloh40:
ldr x8, [x8, _tot_counter_instances@GOTPAGEOFF]
Lloh41:
ldr w25, [x8]
Lloh42:
adrp x8, _index_size@GOTPAGE
Lloh43:
ldr x8, [x8, _index_size@GOTPAGEOFF]
Lloh44:
ldr w1, [x8]
mov x0, x25
bl _percent
Lloh45:
adrp x8, _tot_counters_allocated@GOTPAGE
Lloh46:
ldr x8, [x8, _tot_counters_allocated@GOTPAGEOFF]
Lloh47:
ldr w8, [x8]
Lloh48:
adrp x9, _deleted_by_lru@GOTPAGE
Lloh49:
ldr x9, [x9, _deleted_by_lru@GOTPAGEOFF]
Lloh50:
adrp x10, _tot_memory_allocated@GOTPAGE
Lloh51:
ldr x10, [x10, _tot_memory_allocated@GOTPAGEOFF]
Lloh52:
ldr w9, [x9]
Lloh53:
ldr w10, [x10]
Lloh54:
adrp x11, _tot_aio_queries@GOTPAGE
Lloh55:
ldr x11, [x11, _tot_aio_queries@GOTPAGEOFF]
Lloh56:
adrp x12, _active_aio_queries@GOTPAGE
Lloh57:
ldr x12, [x12, _active_aio_queries@GOTPAGEOFF]
Lloh58:
ldr w11, [x11]
Lloh59:
ldr w12, [x12]
Lloh60:
adrp x13, _expired_aio_queries@GOTPAGE
Lloh61:
ldr x13, [x13, _expired_aio_queries@GOTPAGEOFF]
Lloh62:
ldr w13, [x13]
cmp w11, #1
b.lt LBB0_2
; %bb.1:
Lloh63:
adrp x14, _total_aio_time@GOTPAGE
Lloh64:
ldr x14, [x14, _total_aio_time@GOTPAGEOFF]
Lloh65:
ldr w14, [x14]
sdiv w14, w14, w11
b LBB0_3
LBB0_2:
mov w14, #0
LBB0_3:
Lloh66:
adrp x15, _tot_aio_loaded_bytes@GOTPAGE
Lloh67:
ldr x15, [x15, _tot_aio_loaded_bytes@GOTPAGEOFF]
Lloh68:
ldr w15, [x15]
Lloh69:
adrp x16, _tot_aio_fails@GOTPAGE
Lloh70:
ldr x16, [x16, _tot_aio_fails@GOTPAGEOFF]
Lloh71:
ldr w16, [x16]
Lloh72:
adrp x17, _memory_to_index@GOTPAGE
Lloh73:
ldr x17, [x17, _memory_to_index@GOTPAGEOFF]
Lloh74:
ldr w17, [x17]
Lloh75:
adrp x1, _FullVersionStr@GOTPAGE
Lloh76:
ldr x1, [x1, _FullVersionStr@GOTPAGEOFF]
Lloh77:
ldr w1, [x1]
stp w17, w1, [sp, #60]
stp w11, w16, [sp, #52]
stp w14, w15, [sp, #44]
stp w12, w13, [sp, #36]
stp w10, w11, [sp, #28]
stp w8, w9, [sp, #20]
stp w25, w0, [sp, #12]
Lloh78:
adrp x1, l_.str@PAGE
Lloh79:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #72
stp w27, w28, [sp, #4]
str w26, [sp]
mov x2, x19
mov x3, x20
mov x4, x21
mov x5, x22
mov x6, x23
mov x7, x24
bl _sb_printf
ldr w0, [sp, #72]
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
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh58
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh52
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.cfi_endproc
; -- End function
.comm _stats_buff,4,2 ; @stats_buff
.comm _STATS_BUFF_SIZE,4,2 ; @STATS_BUFF_SIZE
.comm _AM_GET_MEMORY_USAGE_SELF,8,3 ; @AM_GET_MEMORY_USAGE_SELF
.comm _AM_GET_MEMORY_USAGE_OVERALL,8,3 ; @AM_GET_MEMORY_USAGE_OVERALL
.comm _SB_BINLOG,4,2 ; @SB_BINLOG
.comm _SB_INDEX,4,2 ; @SB_INDEX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "snapshot_loading_average_blocking_read_bytes\t%.6f\nsnapshot_loading_blocking_read_calls\t%d\ntot_user_metafiles\t%d\ntot_user_metafile_bytes\t%lld\ncounters\t%d\ncounters_percent\t%.6f\ncounters_prime\t%d\ntotal_views\t%lld\ntree_nodes_allocated\t%d\ncounter_instances\t%d\ncounter_instances_percent\t%.6f\nallocated_counter_instances\t%d\ndeleted_by_LRU\t%lld\nallocated_memory\t%lld\ntot_aio_queries\t%lld\nactive_aio_queries\t%lld\nexpired_aio_queries\t%lld\navg_aio_query_time\t%.6f\naio_bytes_loaded\t%lld\ntot_aio_queries\t%lld\ntot_aio_fails\t%lld\nmemory_to_index\t%lld\nversion\t%s\n"
.comm _snapshot_loading_average_blocking_read_bytes,4,2 ; @snapshot_loading_average_blocking_read_bytes
.comm _snapshot_loading_blocking_read_calls,4,2 ; @snapshot_loading_blocking_read_calls
.comm _tot_user_metafiles,4,2 ; @tot_user_metafiles
.comm _tot_user_metafile_bytes,4,2 ; @tot_user_metafile_bytes
.comm _tot_counters,4,2 ; @tot_counters
.comm _max_counters,4,2 ; @max_counters
.comm _counters_prime,4,2 ; @counters_prime
.comm _tot_views,4,2 ; @tot_views
.comm _alloc_tree_nodes,4,2 ; @alloc_tree_nodes
.comm _tot_counter_instances,4,2 ; @tot_counter_instances
.comm _index_size,4,2 ; @index_size
.comm _tot_counters_allocated,4,2 ; @tot_counters_allocated
.comm _deleted_by_lru,4,2 ; @deleted_by_lru
.comm _tot_memory_allocated,4,2 ; @tot_memory_allocated
.comm _tot_aio_queries,4,2 ; @tot_aio_queries
.comm _active_aio_queries,4,2 ; @active_aio_queries
.comm _expired_aio_queries,4,2 ; @expired_aio_queries
.comm _total_aio_time,4,2 ; @total_aio_time
.comm _tot_aio_loaded_bytes,4,2 ; @tot_aio_loaded_bytes
.comm _tot_aio_fails,4,2 ; @tot_aio_fails
.comm _memory_to_index,4,2 ; @memory_to_index
.comm _FullVersionStr,4,2 ; @FullVersionStr
.subsections_via_symbols
| AnghaBench/kphp-kdb/statsx/extr_statsx-engine.c_stats_prepare_stats.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
subq $16, %rsp
leaq L_.str(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
sub x8, x29, #4
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/170453214.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ASN1_TIME_set_string ## -- Begin function ASN1_TIME_set_string
.p2align 4, 0x90
_ASN1_TIME_set_string: ## @ASN1_TIME_set_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _ASN1_UTCTIME_set_string
testq %rax, %rax
je LBB0_2
## %bb.1:
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _ASN1_GENERALIZEDTIME_set_string ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ASN1_TIME_set_string ; -- Begin function ASN1_TIME_set_string
.p2align 2
_ASN1_TIME_set_string: ; @ASN1_TIME_set_string
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _ASN1_UTCTIME_set_string
cbz x0, LBB0_2
; %bb.1:
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
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 _ASN1_GENERALIZEDTIME_set_string
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/openssl/crypto/asn1/extr_a_time.c_ASN1_TIME_set_string.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 myRegDeleteTreeA
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_myRegDeleteTreeA: ## @myRegDeleteTreeA
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movl %edi, %r12d
movq %rsp, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_PATH@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movl %r12d, -52(%rbp)
movl %r12d, %edi
testq %r13, %r13
je LBB0_3
## %bb.1:
movq _KEY_READ@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -52(%rbp), %r8
movl %r12d, %edi
movq %r13, %rsi
xorl %edx, %edx
callq _RegOpenKeyExA
movq %rax, %r14
testq %rax, %rax
jne LBB0_23
## %bb.2:
movl -52(%rbp), %edi
LBB0_3:
subq $48, %rsp
xorps %xmm0, %xmm0
movups %xmm0, 24(%rsp)
leaq -60(%rbp), %rax
movq %rax, 16(%rsp)
movups %xmm0, (%rsp)
movq $0, 40(%rsp)
leaq -64(%rbp), %r9
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _RegQueryInfoKeyA
addq $48, %rsp
movq %rax, %r14
testq %rax, %rax
jne LBB0_21
## %bb.4:
movq %r13, -80(%rbp) ## 8-byte Spill
movl -64(%rbp), %edi
incl %edi
movl %edi, -64(%rbp)
movl -60(%rbp), %esi
incl %esi
movl %esi, -60(%rbp)
callq _max
movl %eax, %r13d
movq %rbx, %rdi
callq _ARRAY_SIZE
movq %rbx, -88(%rbp) ## 8-byte Spill
cmpl %eax, %r13d
jle LBB0_7
## %bb.5:
xorl %eax, %eax
callq _GetProcessHeap
leal (,%r13,4), %edx
movl %eax, %edi
xorl %esi, %esi
callq _HeapAlloc
movq %rax, %rbx
testq %rax, %rax
je LBB0_6
LBB0_7:
movq %r15, -72(%rbp) ## 8-byte Spill
leaq -56(%rbp), %r15
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_12
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl %r13d, -56(%rbp)
movl -52(%rbp), %edi
subq $16, %rsp
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
xorl %esi, %esi
movq %rbx, %rdx
movq %r15, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _RegEnumKeyExA
addq $16, %rsp
testq %rax, %rax
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl -52(%rbp), %edi
movq %rbx, %rsi
callq _myRegDeleteTreeA
testq %rax, %rax
je LBB0_8
jmp LBB0_11
LBB0_12:
movq -80(%rbp), %rsi ## 8-byte Reload
testq %rsi, %rsi
je LBB0_14
## %bb.13:
movl %r12d, %edi
callq _RegDeleteKeyA
LBB0_11:
movq %rax, %r14
movq -72(%rbp), %r15 ## 8-byte Reload
LBB0_19:
cmpq -88(%rbp), %rbx ## 8-byte Folded Reload
movq -80(%rbp), %r13 ## 8-byte Reload
jne LBB0_20
jmp LBB0_21
LBB0_14:
movq _TRUE@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq -72(%rbp), %r15 ## 8-byte Reload
je LBB0_15
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movl %r13d, -56(%rbp)
subq $16, %rsp
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movl %r12d, %edi
xorl %esi, %esi
movq %rbx, %rdx
leaq -56(%rbp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _RegEnumValueA
addq $16, %rsp
movl $0, %r14d
testq %rax, %rax
jne LBB0_19
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movl %r12d, %edi
movq %rbx, %rsi
callq _RegDeleteValueA
movq %rax, %r14
testq %rax, %rax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_16
jmp LBB0_19
LBB0_6:
movq _ERROR_NOT_ENOUGH_MEMORY@GOTPCREL(%rip), %rax
movq (%rax), %r14
xorl %ebx, %ebx
movq -80(%rbp), %r13 ## 8-byte Reload
LBB0_20:
movq %rbx, %rdi
callq _heap_free
LBB0_21:
testq %r13, %r13
je LBB0_23
## %bb.22:
movl -52(%rbp), %edi
callq _RegCloseKey
LBB0_23:
movq %r15, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_25
## %bb.24:
movq %r14, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
xorl %r14d, %r14d
jmp LBB0_19
LBB0_25:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_PATH,4,2 ## @MAX_PATH
.comm _KEY_READ,4,2 ## @KEY_READ
.comm _ERROR_NOT_ENOUGH_MEMORY,8,3 ## @ERROR_NOT_ENOUGH_MEMORY
.comm _TRUE,8,3 ## @TRUE
.no_dead_strip _myRegDeleteTreeA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function myRegDeleteTreeA
_myRegDeleteTreeA: ; @myRegDeleteTreeA
.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, #32
mov x19, x1
mov x21, x0
mov x25, sp
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 w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
stur w0, [x29, #-88]
cbz x1, LBB0_3
; %bb.1:
Lloh8:
adrp x8, _KEY_READ@GOTPAGE
Lloh9:
ldr x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
sub x4, x29, #88
mov x0, x21
mov x1, x19
mov w2, #0
bl _RegOpenKeyExA
mov x24, x0
cbnz x0, LBB0_22
; %bb.2:
ldur w0, [x29, #-88]
LBB0_3:
sub sp, sp, #32
stp xzr, xzr, [sp, #16]
sub x8, x29, #80
stp x8, xzr, [sp]
sub x5, x29, #76
mov x1, #0
mov x2, #0
mov x3, #0
mov x4, #0
mov x6, #0
mov x7, #0
bl _RegQueryInfoKeyA
add sp, sp, #32
mov x24, x0
cbnz x0, LBB0_20
; %bb.4:
ldur w8, [x29, #-76]
add w0, w8, #1
ldur w8, [x29, #-80]
add w1, w8, #1
stp w1, w0, [x29, #-80]
bl _max
mov x23, x0
mov x0, x20
bl _ARRAY_SIZE
mov x22, x20
cmp w23, w0
b.le LBB0_6
; %bb.5:
bl _GetProcessHeap
lsl w2, w23, #2
mov w1, #0
bl _HeapAlloc
mov x22, x0
cbz x0, LBB0_18
LBB0_6:
Lloh11:
adrp x26, _TRUE@GOTPAGE
Lloh12:
ldr x26, [x26, _TRUE@GOTPAGEOFF]
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26]
cbz x8, LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
stur w23, [x29, #-84]
ldur w0, [x29, #-88]
sub x3, x29, #84
mov w1, #0
mov x2, x22
mov x4, #0
mov x5, #0
mov x6, #0
mov x7, #0
bl _RegEnumKeyExA
cbnz x0, LBB0_10
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldur w0, [x29, #-88]
mov x1, x22
bl _myRegDeleteTreeA
cbz x0, LBB0_7
b LBB0_12
LBB0_10:
cbz x19, LBB0_14
; %bb.11:
mov x0, x21
mov x1, x19
bl _RegDeleteKeyA
LBB0_12:
mov x24, x0
LBB0_13:
cmp x22, x20
b.ne LBB0_19
b LBB0_20
LBB0_14:
ldr x8, [x26]
cbz x8, LBB0_24
LBB0_15: ; =>This Inner Loop Header: Depth=1
stur w23, [x29, #-84]
sub x3, x29, #84
mov x0, x21
mov w1, #0
mov x2, x22
mov x4, #0
mov x5, #0
mov x6, #0
mov x7, #0
bl _RegEnumValueA
cbnz x0, LBB0_24
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
mov x0, x21
mov x1, x22
bl _RegDeleteValueA
mov x24, x0
cbnz x0, LBB0_13
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [x26]
cbnz x8, LBB0_15
b LBB0_13
LBB0_18:
Lloh13:
adrp x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGE
Lloh14:
ldr x8, [x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGEOFF]
Lloh15:
ldr x24, [x8]
LBB0_19:
mov x0, x22
bl _heap_free
LBB0_20:
cbz x19, LBB0_22
; %bb.21:
ldur w0, [x29, #-88]
bl _RegCloseKey
LBB0_22:
mov sp, x25
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_25
; %bb.23:
mov x0, x24
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_24:
mov x24, #0
b LBB0_13
LBB0_25:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _MAX_PATH,4,2 ; @MAX_PATH
.comm _KEY_READ,4,2 ; @KEY_READ
.comm _ERROR_NOT_ENOUGH_MEMORY,8,3 ; @ERROR_NOT_ENOUGH_MEMORY
.comm _TRUE,8,3 ; @TRUE
.no_dead_strip _myRegDeleteTreeA
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/urlmon/extr_sec_mgr.c_myRegDeleteTreeA.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InvertLine ## -- Begin function InvertLine
.p2align 4, 0x90
_InvertLine: ## @InvertLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ohandlers@GOTPCREL(%rip), %rax
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.comm _ohandlers,8,3 ## @ohandlers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InvertLine ; -- Begin function InvertLine
.p2align 2
_InvertLine: ; @InvertLine
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ohandlers@GOTPAGE
Lloh1:
ldr x8, [x8, _ohandlers@GOTPAGEOFF]
Lloh2:
ldr x1, [x8]
br x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ohandlers,8,3 ; @ohandlers
.subsections_via_symbols
| AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_InvertLine.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movslq -12(%rbp), %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %edx
movl %eax, %ecx
subl %edx, %ecx
imulq $1374389535, %rax, %rdx ## imm = 0x51EB851F
movq %rdx, %rsi
shrq $63, %rsi
shrq $37, %rdx
addl %esi, %edx
imull $100, %edx, %edx
movl %eax, %esi
subl %edx, %esi
movsbl %sil, %edx
imull $103, %edx, %edx
movzwl %dx, %edx
movswl %dx, %esi
shrl $15, %edx
shrl $10, %esi
addb %dl, %sil
movsbl %sil, %edx
addl %ecx, %edx
imulq $274877907, %rax, %rcx ## imm = 0x10624DD3
movq %rcx, %rsi
shrq $63, %rsi
shrq $38, %rcx
addl %esi, %ecx
imull $1000, %ecx, %ecx ## imm = 0x3E8
movl %eax, %esi
subl %ecx, %esi
movswl %si, %ecx
imull $5243, %ecx, %ecx ## imm = 0x147B
movl %ecx, %esi
shrl $31, %esi
sarl $19, %ecx
addl %esi, %ecx
movswl %cx, %ecx
addl %edx, %ecx
imulq $1759218605, %rax, %rdx ## imm = 0x68DB8BAD
movq %rdx, %rsi
shrq $63, %rsi
sarq $44, %rdx
addl %esi, %edx
imull $10000, %edx, %edx ## imm = 0x2710
movl %eax, %esi
subl %edx, %esi
movswl %si, %edx
imull $-31981, %edx, %edx ## imm = 0x8313
shrl $16, %edx
addl %esi, %edx
movzwl %dx, %edx
movswl %dx, %esi
shrl $15, %edx
sarl $9, %esi
addl %edx, %esi
movswl %si, %edx
addl %ecx, %edx
imulq $351843721, %rax, %rcx ## imm = 0x14F8B589
movq %rcx, %rsi
shrq $63, %rsi
sarq $45, %rcx
addl %esi, %ecx
imull $100000, %ecx, %ecx ## imm = 0x186A0
subl %ecx, %eax
cltq
imulq $1759218605, %rax, %rsi ## imm = 0x68DB8BAD
movq %rsi, %rax
shrq $63, %rax
sarq $44, %rsi
addl %eax, %esi
addl %edx, %esi
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _scanf
ldrsw x8, [sp, #12]
mov w9, #26215
movk w9, #26214, lsl #16
mul x9, x8, x9
lsr x10, x9, #63
asr x9, x9, #34
add w9, w9, w10
mov w10, #10
msub w9, w9, w10, w8
mov w10, #34079
movk w10, #20971, lsl #16
mul x10, x8, x10
lsr x11, x10, #63
lsr x10, x10, #37
add w10, w10, w11
mov w11, #100
msub w10, w10, w11, w8
sxtb w10, w10
mov w11, #103
mul w10, w10, w11
ubfx w11, w10, #15, #1
add w10, w11, w10, asr #10
mov w11, #19923
movk w11, #4194, lsl #16
mul x11, x8, x11
lsr x12, x11, #63
lsr x11, x11, #38
add w11, w11, w12
mov w12, #1000
msub w11, w11, w12, w8
sxth w11, w11
mov w12, #5243
mul w11, w11, w12
asr w12, w11, #19
add w11, w12, w11, lsr #31
add w9, w9, w10
add w9, w9, w11
mov w10, #35757
movk w10, #26843, lsl #16
mul x11, x8, x10
lsr x12, x11, #63
asr x11, x11, #44
add w11, w11, w12
mov w12, #10000
msub w11, w11, w12, w8
sxth w12, w11
mov w13, #-31981
mul w12, w12, w13
add w11, w11, w12, lsr #16
and w12, w11, #0x8000
sbfx w11, w11, #9, #7
add w11, w11, w12, lsr #15
add w9, w9, w11
mov w11, #46473
movk w11, #5368, lsl #16
mul x11, x8, x11
lsr x12, x11, #63
asr x11, x11, #45
add w11, w11, w12
mov w12, #34464
movk w12, #1, lsl #16
msub w8, w11, w12, w8
smull x8, w8, w10
lsr x10, x8, #63
asr x8, x8, #44
add w8, w8, w10
add w8, w8, w9
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/5205.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_recorded ## -- Begin function get_recorded
.p2align 4, 0x90
_get_recorded: ## @get_recorded
.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 _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _recordbuff@GOTPCREL(%rip), %r14
movq %r14, %rdi
callq _get_buffcont
movq %rax, %rbx
movq %r14, %rdi
callq _free_buff
movq %rbx, %rdi
callq _STRLEN
movq _last_recorded_len@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpl %eax, %ecx
jg LBB0_2
## %bb.1:
subq %rcx, %rax
movq _NUL@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, (%rbx,%rax,8)
LBB0_2:
testq %rax, %rax
je LBB0_6
## %bb.3:
movq _restart_edit@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_6
## %bb.4:
movq -8(%rbx,%rax,8), %rcx
movq _Ctrl_O@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_6
## %bb.5:
movq _NUL@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbx,%rax,8)
LBB0_6:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _recordbuff,4,2 ## @recordbuff
.comm _TRUE,4,2 ## @TRUE
.comm _last_recorded_len,4,2 ## @last_recorded_len
.comm _NUL,8,3 ## @NUL
.comm _restart_edit,8,3 ## @restart_edit
.comm _Ctrl_O,8,3 ## @Ctrl_O
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_recorded ; -- Begin function get_recorded
.p2align 2
_get_recorded: ; @get_recorded
.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 x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x20, _recordbuff@GOTPAGE
Lloh4:
ldr x20, [x20, _recordbuff@GOTPAGEOFF]
mov x0, x20
bl _get_buffcont
mov x19, x0
mov x0, x20
bl _free_buff
mov x0, x19
bl _STRLEN
Lloh5:
adrp x8, _last_recorded_len@GOTPAGE
Lloh6:
ldr x8, [x8, _last_recorded_len@GOTPAGEOFF]
Lloh7:
ldrsw x8, [x8]
cmp w8, w0
b.gt LBB0_2
; %bb.1:
sub x0, x0, x8
Lloh8:
adrp x8, _NUL@GOTPAGE
Lloh9:
ldr x8, [x8, _NUL@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
str x8, [x19, x0, lsl #3]
LBB0_2:
Lloh11:
adrp x8, _restart_edit@GOTPAGE
Lloh12:
ldr x8, [x8, _restart_edit@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cmp x0, #0
ccmp x8, #0, #4, ne
b.eq LBB0_5
; %bb.3:
sub x8, x0, #1
ldr x9, [x19, x8, lsl #3]
Lloh14:
adrp x10, _Ctrl_O@GOTPAGE
Lloh15:
ldr x10, [x10, _Ctrl_O@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_5
; %bb.4:
Lloh17:
adrp x9, _NUL@GOTPAGE
Lloh18:
ldr x9, [x9, _NUL@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
str x9, [x19, x8, lsl #3]
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _recordbuff,4,2 ; @recordbuff
.comm _TRUE,4,2 ; @TRUE
.comm _last_recorded_len,4,2 ; @last_recorded_len
.comm _NUL,8,3 ; @NUL
.comm _restart_edit,8,3 ; @restart_edit
.comm _Ctrl_O,8,3 ; @Ctrl_O
.subsections_via_symbols
| AnghaBench/macvim/src/extr_getchar.c_get_recorded.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HUF_decompress1X_DCtx ## -- Begin function HUF_decompress1X_DCtx
.p2align 4, 0x90
_HUF_decompress1X_DCtx: ## @HUF_decompress1X_DCtx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -56(%rbp) ## 8-byte Spill
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _HUF_DECOMPRESS_WORKSPACE_SIZE_U32@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r14, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r9
leal (,%r14,4), %eax
subq $8, %rsp
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq -56(%rbp), %r8 ## 8-byte Reload
pushq %rax
callq _HUF_decompress1X_DCtx_wksp
addq $16, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_2
## %bb.1:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HUF_DECOMPRESS_WORKSPACE_SIZE_U32,4,2 ## @HUF_DECOMPRESS_WORKSPACE_SIZE_U32
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HUF_decompress1X_DCtx ; -- Begin function HUF_decompress1X_DCtx
.p2align 2
_HUF_decompress1X_DCtx: ; @HUF_decompress1X_DCtx
.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
sub sp, sp, #16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
Lloh3:
adrp x8, _HUF_DECOMPRESS_WORKSPACE_SIZE_U32@GOTPAGE
Lloh4:
ldr x8, [x8, _HUF_DECOMPRESS_WORKSPACE_SIZE_U32@GOTPAGEOFF]
Lloh5:
ldr w12, [x8]
lsl x8, x12, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x5, x9, x8
mov sp, x5
lsl w6, w12, #2
bl _HUF_decompress1X_DCtx_wksp
ldur x8, [x29, #-8]
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_2
; %bb.1:
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HUF_DECOMPRESS_WORKSPACE_SIZE_U32,4,2 ; @HUF_DECOMPRESS_WORKSPACE_SIZE_U32
.subsections_via_symbols
| AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_huf_decompress.c_HUF_decompress1X_DCtx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _UI_Shutdown ## -- Begin function UI_Shutdown
.p2align 4, 0x90
_UI_Shutdown: ## @UI_Shutdown
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _UI_Shutdown ; -- Begin function UI_Shutdown
.p2align 2
_UI_Shutdown: ; @UI_Shutdown
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/lab/engine/code/q3_ui/extr_ui_atoms.c_UI_Shutdown.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipr_reset_freeze
_ipr_reset_freeze: ## @ipr_reset_freeze
.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
movq 24(%rdi), %r15
cmpl $0, (%r15)
jle LBB0_3
## %bb.1:
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rdi
addq %rbx, %rdi
callq _spin_lock
movq 8(%r15), %rdi
movq $0, 8(%rdi,%rbx)
addq %rbx, %rdi
callq _spin_unlock
incq %r12
movslq (%r15), %rax
addq $16, %rbx
cmpq %rax, %r12
jl LBB0_2
LBB0_3:
xorl %eax, %eax
callq _wmb
leaq 16(%r14), %rdi
movq 8(%r14), %rsi
callq _list_add_tail
movq _ipr_reset_ioa_job@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
movq _IPR_RC_JOB_RETURN@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ipr_reset_ioa_job,4,2 ## @ipr_reset_ioa_job
.comm _IPR_RC_JOB_RETURN,4,2 ## @IPR_RC_JOB_RETURN
.no_dead_strip _ipr_reset_freeze
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipr_reset_freeze
_ipr_reset_freeze: ; @ipr_reset_freeze
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x20, [x0, #24]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0
mov x22, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
add x0, x8, x21
bl _spin_lock
ldr x8, [x20, #8]
add x0, x8, x21
str xzr, [x0, #8]
bl _spin_unlock
add x22, x22, #1
ldrsw x8, [x20]
add x21, x21, #16
cmp x22, x8
b.lt LBB0_2
LBB0_3:
bl _wmb
add x0, x19, #16
ldr x1, [x19, #8]
bl _list_add_tail
Lloh0:
adrp x8, _ipr_reset_ioa_job@GOTPAGE
Lloh1:
ldr x8, [x8, _ipr_reset_ioa_job@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19]
Lloh3:
adrp x8, _IPR_RC_JOB_RETURN@GOTPAGE
Lloh4:
ldr x8, [x8, _IPR_RC_JOB_RETURN@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ipr_reset_ioa_job,4,2 ; @ipr_reset_ioa_job
.comm _IPR_RC_JOB_RETURN,4,2 ; @IPR_RC_JOB_RETURN
.no_dead_strip _ipr_reset_freeze
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/extr_ipr.c_ipr_reset_freeze.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mi_command_loop
_mi_command_loop: ## @mi_command_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _sevenbit_strings@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _raw_stdout@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq L_.str(%rip), %rdi
callq _fputs_unfiltered
movl (%rbx), %edi
callq _gdb_flush
movq _event_loop_p@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _start_event_loop ## TAILCALL
LBB0_1:
movq _mi_input@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _mi_execute_command@GOTPCREL(%rip), %rax
movl (%rax), %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _simplified_command_loop ## TAILCALL
.cfi_endproc
## -- End function
.comm _sevenbit_strings,4,2 ## @sevenbit_strings
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(gdb) \n"
.comm _raw_stdout,4,2 ## @raw_stdout
.comm _event_loop_p,4,2 ## @event_loop_p
.comm _mi_input,4,2 ## @mi_input
.comm _mi_execute_command,4,2 ## @mi_execute_command
.comm _call_command_hook,8,3 ## @call_command_hook
.comm _context_hook,8,3 ## @context_hook
.comm _create_breakpoint_hook,8,3 ## @create_breakpoint_hook
.comm _delete_breakpoint_hook,8,3 ## @delete_breakpoint_hook
.comm _error_begin_hook,8,3 ## @error_begin_hook
.comm _error_hook,8,3 ## @error_hook
.comm _gdb_stderr,8,3 ## @gdb_stderr
.comm _gdb_stdlog,8,3 ## @gdb_stdlog
.comm _gdb_stdout,8,3 ## @gdb_stdout
.comm _gdb_stdtarg,8,3 ## @gdb_stdtarg
.comm _init_ui_hook,8,3 ## @init_ui_hook
.comm _interactive_hook,8,3 ## @interactive_hook
.comm _memory_changed_hook,8,3 ## @memory_changed_hook
.comm _mi_load_progress,4,2 ## @mi_load_progress
.comm _modify_breakpoint_hook,8,3 ## @modify_breakpoint_hook
.comm _print_frame_info_listing_hook,8,3 ## @print_frame_info_listing_hook
.comm _query_hook,8,3 ## @query_hook
.comm _readline_begin_hook,8,3 ## @readline_begin_hook
.comm _readline_end_hook,8,3 ## @readline_end_hook
.comm _readline_hook,8,3 ## @readline_hook
.comm _register_changed_hook,8,3 ## @register_changed_hook
.comm _registers_changed_hook,8,3 ## @registers_changed_hook
.comm _show_load_progress,4,2 ## @show_load_progress
.comm _stdout,4,2 ## @stdout
.comm _target_wait_hook,8,3 ## @target_wait_hook
.comm _uiout,4,2 ## @uiout
.comm _warning_hook,8,3 ## @warning_hook
.no_dead_strip _mi_command_loop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mi_command_loop
_mi_command_loop: ; @mi_command_loop
.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 x8, _sevenbit_strings@GOTPAGE
Lloh1:
ldr x8, [x8, _sevenbit_strings@GOTPAGEOFF]
mov w9, #1
Lloh2:
str w9, [x8]
Lloh3:
adrp x19, _raw_stdout@GOTPAGE
Lloh4:
ldr x19, [x19, _raw_stdout@GOTPAGEOFF]
ldr w1, [x19]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _fputs_unfiltered
ldr w0, [x19]
bl _gdb_flush
Lloh7:
adrp x8, _event_loop_p@GOTPAGE
Lloh8:
ldr x8, [x8, _event_loop_p@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _start_event_loop
LBB0_2:
Lloh10:
adrp x8, _mi_input@GOTPAGE
Lloh11:
ldr x8, [x8, _mi_input@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
Lloh13:
adrp x8, _mi_execute_command@GOTPAGE
Lloh14:
ldr x8, [x8, _mi_execute_command@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _simplified_command_loop
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _sevenbit_strings,4,2 ; @sevenbit_strings
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(gdb) \n"
.comm _raw_stdout,4,2 ; @raw_stdout
.comm _event_loop_p,4,2 ; @event_loop_p
.comm _mi_input,4,2 ; @mi_input
.comm _mi_execute_command,4,2 ; @mi_execute_command
.comm _call_command_hook,8,3 ; @call_command_hook
.comm _context_hook,8,3 ; @context_hook
.comm _create_breakpoint_hook,8,3 ; @create_breakpoint_hook
.comm _delete_breakpoint_hook,8,3 ; @delete_breakpoint_hook
.comm _error_begin_hook,8,3 ; @error_begin_hook
.comm _error_hook,8,3 ; @error_hook
.comm _gdb_stderr,8,3 ; @gdb_stderr
.comm _gdb_stdlog,8,3 ; @gdb_stdlog
.comm _gdb_stdout,8,3 ; @gdb_stdout
.comm _gdb_stdtarg,8,3 ; @gdb_stdtarg
.comm _init_ui_hook,8,3 ; @init_ui_hook
.comm _interactive_hook,8,3 ; @interactive_hook
.comm _memory_changed_hook,8,3 ; @memory_changed_hook
.comm _mi_load_progress,4,2 ; @mi_load_progress
.comm _modify_breakpoint_hook,8,3 ; @modify_breakpoint_hook
.comm _print_frame_info_listing_hook,8,3 ; @print_frame_info_listing_hook
.comm _query_hook,8,3 ; @query_hook
.comm _readline_begin_hook,8,3 ; @readline_begin_hook
.comm _readline_end_hook,8,3 ; @readline_end_hook
.comm _readline_hook,8,3 ; @readline_hook
.comm _register_changed_hook,8,3 ; @register_changed_hook
.comm _registers_changed_hook,8,3 ; @registers_changed_hook
.comm _show_load_progress,4,2 ; @show_load_progress
.comm _stdout,4,2 ; @stdout
.comm _target_wait_hook,8,3 ; @target_wait_hook
.comm _uiout,4,2 ; @uiout
.comm _warning_hook,8,3 ; @warning_hook
.no_dead_strip _mi_command_loop
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-interp.c_mi_command_loop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _qtnf_wiphy_register ## -- Begin function qtnf_wiphy_register
.p2align 4, 0x90
_qtnf_wiphy_register: ## @qtnf_wiphy_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
callq _priv_to_wiphy
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r14
movl 72(%rbx), %eax
movl %eax, 140(%r14)
movups 56(%rbx), %xmm0
movups %xmm0, 124(%r14)
movl (%r15), %eax
cmpl $1, %eax
adcl $0, %eax
leaq 8(%rbx), %r12
movl %eax, (%r14)
movq _QTNF_MAX_VSIE_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 120(%r14)
movq _qtnf_mgmt_stypes@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 116(%r14)
movl $5000, 4(%r14) ## imm = 0x1388
movl 52(%rbx), %eax
movl %eax, 112(%r14)
movl $2, 8(%r14)
movq %r14, %rdi
movq %r12, %rsi
callq _qtnf_wiphy_setup_if_comb
testl %eax, %eax
jne LBB0_30
## %bb.3:
movq _qtnf_cipher_suites@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, 108(%r14)
callq _ARRAY_SIZE
movl %eax, 104(%r14)
movq _CFG80211_SIGNAL_TYPE_MBM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 100(%r14)
movq _WIPHY_FLAG_HAVE_AP_SME@GOTPCREL(%rip), %rax
movq _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _WIPHY_FLAG_AP_UAPSD@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _WIPHY_FLAG_HAS_CHANNEL_SWITCH@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _WIPHY_FLAG_4ADDR_STATION@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movq _WIPHY_FLAG_NETNS_OK@GOTPCREL(%rip), %rax
orl (%rax), %ecx
orl 12(%r14), %ecx
movq _WIPHY_FLAG_PS_ON_BY_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %ecx, %eax
movl %eax, 12(%r14)
movl 4(%r15), %eax
movq _QLINK_HW_CAPAB_DFS_OFFLOAD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_5
## %bb.4:
movq _NL80211_EXT_FEATURE_DFS_OFFLOAD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _wiphy_ext_feature_set
movl 4(%r15), %eax
LBB0_5:
movq _QLINK_HW_CAPAB_SCAN_DWELL@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_7
## %bb.6:
movq _NL80211_EXT_FEATURE_SET_SCAN_DWELL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _wiphy_ext_feature_set
LBB0_7:
movq _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPCREL(%rip), %rax
movq _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, 16(%r14)
movl 48(%rbx), %eax
movl %eax, 96(%r14)
movq 40(%rbx), %rax
movq %rax, 88(%r14)
leaq 36(%rbx), %rax
movq %rax, 80(%r14)
leaq 32(%rbx), %rax
movq %rax, 72(%r14)
movl 68(%r14), %edi
movl 80(%rbx), %esi
callq _ether_addr_copy
movl 4(%r15), %eax
movq _QLINK_HW_CAPAB_STA_INACT_TIMEOUT@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_9
## %bb.8:
movq _NL80211_FEATURE_INACTIVITY_TIMER@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 64(%r14)
LBB0_9:
movq _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_11
## %bb.10:
movq _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 64(%r14)
LBB0_11:
movq _QLINK_HW_CAPAB_OBSS_SCAN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_13
## %bb.12:
movq _NL80211_FEATURE_NEED_OBSS_SCAN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 64(%r14)
LBB0_13:
movq _QLINK_HW_CAPAB_SAE@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_15
## %bb.14:
movq _NL80211_FEATURE_SAE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 64(%r14)
LBB0_15:
movq (%rbx), %rax
movq (%rax), %rax
movsbl (%rax), %edi
callq _isalpha
movb $1, %r13b
testq %rax, %rax
jne LBB0_17
## %bb.16:
movq (%rbx), %rax
movq (%rax), %rax
movsbl 1(%rax), %edi
callq _isalpha
testq %rax, %rax
setne %r13b
LBB0_17:
movq _QLINK_HW_CAPAB_REG_UPDATE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r15)
je LBB0_23
## %bb.18:
movq _qtnf_cfg80211_reg_notifier@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 48(%r14)
movq (%rbx), %rsi
movq (%rsi), %rax
cmpb $57, (%rax)
jne LBB0_21
## %bb.19:
cmpb $57, 1(%rax)
jne LBB0_21
## %bb.20:
movq _REGULATORY_CUSTOM_REG@GOTPCREL(%rip), %rax
movq _REGULATORY_STRICT_REG@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
orl %ecx, 20(%r14)
movq %r14, %rdi
callq _wiphy_apply_custom_regulatory
jmp LBB0_25
LBB0_1:
leaq L_.str(%rip), %rdi
callq _pr_err
movq _EFAULT@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_30:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_21:
testb %r13b, %r13b
je LBB0_25
## %bb.22:
movq _REGULATORY_STRICT_REG@GOTPCREL(%rip), %rax
jmp LBB0_24
LBB0_23:
movq _REGULATORY_WIPHY_SELF_MANAGED@GOTPCREL(%rip), %rax
LBB0_24:
movl (%rax), %eax
orl %eax, 20(%r14)
LBB0_25:
movq (%r12), %rax
testq %rax, %rax
je LBB0_27
## %bb.26:
movq 16(%rbx), %rcx
movq %rcx, 40(%r14)
movq %rax, 32(%r14)
LBB0_27:
movl 28(%r14), %edi
movl 12(%r15), %esi
movl $4, %edx
callq _strlcpy
movl 8(%r15), %eax
movl %eax, 24(%r14)
movq %r14, %rdi
callq _wiphy_register
testl %eax, %eax
jle LBB0_30
## %bb.28:
movq _REGULATORY_WIPHY_SELF_MANAGED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 20(%r14)
je LBB0_29
## %bb.31:
movq (%rbx), %rsi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _regulatory_set_wiphy_regd ## TAILCALL
LBB0_29:
testb %r13b, %r13b
je LBB0_30
## %bb.32:
movq (%rbx), %rax
movq (%rax), %rsi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _regulatory_hint ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid wiphy pointer\n"
.comm _EFAULT,4,2 ## @EFAULT
.comm _QTNF_MAX_VSIE_LEN,4,2 ## @QTNF_MAX_VSIE_LEN
.comm _qtnf_mgmt_stypes,4,2 ## @qtnf_mgmt_stypes
.comm _qtnf_cipher_suites,4,2 ## @qtnf_cipher_suites
.comm _CFG80211_SIGNAL_TYPE_MBM,4,2 ## @CFG80211_SIGNAL_TYPE_MBM
.comm _WIPHY_FLAG_HAVE_AP_SME,4,2 ## @WIPHY_FLAG_HAVE_AP_SME
.comm _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,4,2 ## @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD
.comm _WIPHY_FLAG_AP_UAPSD,4,2 ## @WIPHY_FLAG_AP_UAPSD
.comm _WIPHY_FLAG_HAS_CHANNEL_SWITCH,4,2 ## @WIPHY_FLAG_HAS_CHANNEL_SWITCH
.comm _WIPHY_FLAG_4ADDR_STATION,4,2 ## @WIPHY_FLAG_4ADDR_STATION
.comm _WIPHY_FLAG_NETNS_OK,4,2 ## @WIPHY_FLAG_NETNS_OK
.comm _WIPHY_FLAG_PS_ON_BY_DEFAULT,4,2 ## @WIPHY_FLAG_PS_ON_BY_DEFAULT
.comm _QLINK_HW_CAPAB_DFS_OFFLOAD,4,2 ## @QLINK_HW_CAPAB_DFS_OFFLOAD
.comm _NL80211_EXT_FEATURE_DFS_OFFLOAD,4,2 ## @NL80211_EXT_FEATURE_DFS_OFFLOAD
.comm _QLINK_HW_CAPAB_SCAN_DWELL,4,2 ## @QLINK_HW_CAPAB_SCAN_DWELL
.comm _NL80211_EXT_FEATURE_SET_SCAN_DWELL,4,2 ## @NL80211_EXT_FEATURE_SET_SCAN_DWELL
.comm _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS
.comm _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2,4,2 ## @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2
.comm _QLINK_HW_CAPAB_STA_INACT_TIMEOUT,4,2 ## @QLINK_HW_CAPAB_STA_INACT_TIMEOUT
.comm _NL80211_FEATURE_INACTIVITY_TIMER,4,2 ## @NL80211_FEATURE_INACTIVITY_TIMER
.comm _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR,4,2 ## @QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR
.comm _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR,4,2 ## @NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR
.comm _QLINK_HW_CAPAB_OBSS_SCAN,4,2 ## @QLINK_HW_CAPAB_OBSS_SCAN
.comm _NL80211_FEATURE_NEED_OBSS_SCAN,4,2 ## @NL80211_FEATURE_NEED_OBSS_SCAN
.comm _QLINK_HW_CAPAB_SAE,4,2 ## @QLINK_HW_CAPAB_SAE
.comm _NL80211_FEATURE_SAE,4,2 ## @NL80211_FEATURE_SAE
.comm _QLINK_HW_CAPAB_REG_UPDATE,4,2 ## @QLINK_HW_CAPAB_REG_UPDATE
.comm _qtnf_cfg80211_reg_notifier,4,2 ## @qtnf_cfg80211_reg_notifier
.comm _REGULATORY_CUSTOM_REG,4,2 ## @REGULATORY_CUSTOM_REG
.comm _REGULATORY_STRICT_REG,4,2 ## @REGULATORY_STRICT_REG
.comm _REGULATORY_WIPHY_SELF_MANAGED,4,2 ## @REGULATORY_WIPHY_SELF_MANAGED
.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 qtnf_wiphy_register
lCPI0_0:
.long 5000 ; 0x1388
.long 2 ; 0x2
.section __TEXT,__text,regular,pure_instructions
.globl _qtnf_wiphy_register
.p2align 2
_qtnf_wiphy_register: ; @qtnf_wiphy_register
.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, x1
mov x21, x0
mov x0, x1
bl _priv_to_wiphy
cbz x0, LBB0_16
; %bb.1:
mov x20, x0
ldr w8, [x19, #72]
str w8, [x0, #140]
ldur q0, [x19, #56]
stur q0, [x0, #124]
ldr w8, [x21]
cmp w8, #1
csinc w8, w8, wzr, hi
Lloh0:
adrp x9, _QTNF_MAX_VSIE_LEN@GOTPAGE
Lloh1:
ldr x9, [x9, _QTNF_MAX_VSIE_LEN@GOTPAGEOFF]
str w8, [x0]
Lloh2:
ldr w8, [x9]
str w8, [x0, #120]
Lloh3:
adrp x8, _qtnf_mgmt_stypes@GOTPAGE
Lloh4:
ldr x8, [x8, _qtnf_mgmt_stypes@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #52]
stp w9, w8, [x0, #112]
Lloh6:
adrp x8, lCPI0_0@PAGE
Lloh7:
ldr d0, [x8, lCPI0_0@PAGEOFF]
stur d0, [x0, #4]
add x1, x19, #8
bl _qtnf_wiphy_setup_if_comb
cbnz w0, LBB0_17
; %bb.2:
Lloh8:
adrp x8, _qtnf_cipher_suites@GOTPAGE
Lloh9:
ldr x8, [x8, _qtnf_cipher_suites@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
str w0, [x20, #108]
bl _ARRAY_SIZE
Lloh11:
adrp x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGE
Lloh12:
ldr x8, [x8, _CFG80211_SIGNAL_TYPE_MBM@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
stp w8, w0, [x20, #100]
Lloh14:
adrp x8, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGE
Lloh15:
ldr x8, [x8, _WIPHY_FLAG_HAVE_AP_SME@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPAGE
Lloh18:
ldr x9, [x9, _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w8, w9, w8
Lloh20:
adrp x9, _WIPHY_FLAG_AP_UAPSD@GOTPAGE
Lloh21:
ldr x9, [x9, _WIPHY_FLAG_AP_UAPSD@GOTPAGEOFF]
Lloh22:
adrp x10, _WIPHY_FLAG_HAS_CHANNEL_SWITCH@GOTPAGE
Lloh23:
ldr x10, [x10, _WIPHY_FLAG_HAS_CHANNEL_SWITCH@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
Lloh25:
ldr w10, [x10]
orr w9, w9, w10
orr w8, w8, w9
Lloh26:
adrp x9, _WIPHY_FLAG_4ADDR_STATION@GOTPAGE
Lloh27:
ldr x9, [x9, _WIPHY_FLAG_4ADDR_STATION@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
Lloh29:
adrp x10, _WIPHY_FLAG_NETNS_OK@GOTPAGE
Lloh30:
ldr x10, [x10, _WIPHY_FLAG_NETNS_OK@GOTPAGEOFF]
Lloh31:
ldr w10, [x10]
orr w9, w9, w10
ldr w10, [x20, #12]
orr w9, w9, w10
orr w8, w8, w9
Lloh32:
adrp x9, _WIPHY_FLAG_PS_ON_BY_DEFAULT@GOTPAGE
Lloh33:
ldr x9, [x9, _WIPHY_FLAG_PS_ON_BY_DEFAULT@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
bic w8, w8, w9
str w8, [x20, #12]
ldr w8, [x21, #4]
Lloh35:
adrp x9, _QLINK_HW_CAPAB_DFS_OFFLOAD@GOTPAGE
Lloh36:
ldr x9, [x9, _QLINK_HW_CAPAB_DFS_OFFLOAD@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.3:
Lloh38:
adrp x8, _NL80211_EXT_FEATURE_DFS_OFFLOAD@GOTPAGE
Lloh39:
ldr x8, [x8, _NL80211_EXT_FEATURE_DFS_OFFLOAD@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
mov x0, x20
bl _wiphy_ext_feature_set
ldr w8, [x21, #4]
LBB0_4:
Lloh41:
adrp x9, _QLINK_HW_CAPAB_SCAN_DWELL@GOTPAGE
Lloh42:
ldr x9, [x9, _QLINK_HW_CAPAB_SCAN_DWELL@GOTPAGEOFF]
Lloh43:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.5:
Lloh44:
adrp x8, _NL80211_EXT_FEATURE_SET_SCAN_DWELL@GOTPAGE
Lloh45:
ldr x8, [x8, _NL80211_EXT_FEATURE_SET_SCAN_DWELL@GOTPAGEOFF]
Lloh46:
ldr w1, [x8]
mov x0, x20
bl _wiphy_ext_feature_set
LBB0_6:
Lloh47:
adrp x8, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPAGE
Lloh48:
ldr x8, [x8, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS@GOTPAGEOFF]
Lloh49:
ldr w8, [x8]
Lloh50:
adrp x9, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPAGE
Lloh51:
ldr x9, [x9, _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2@GOTPAGEOFF]
Lloh52:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x20, #16]
ldr w8, [x19, #48]
str w8, [x20, #96]
ldr d0, [x19, #40]
str d0, [x20, #88]
add x8, x19, #36
add x9, x19, #32
stp x9, x8, [x20, #72]
ldr w0, [x20, #68]
ldr w1, [x19, #80]
bl _ether_addr_copy
ldr w8, [x21, #4]
Lloh53:
adrp x9, _QLINK_HW_CAPAB_STA_INACT_TIMEOUT@GOTPAGE
Lloh54:
ldr x9, [x9, _QLINK_HW_CAPAB_STA_INACT_TIMEOUT@GOTPAGEOFF]
Lloh55:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_8
; %bb.7:
Lloh56:
adrp x9, _NL80211_FEATURE_INACTIVITY_TIMER@GOTPAGE
Lloh57:
ldr x9, [x9, _NL80211_FEATURE_INACTIVITY_TIMER@GOTPAGEOFF]
Lloh58:
ldr w9, [x9]
ldr w10, [x20, #64]
orr w9, w10, w9
str w9, [x20, #64]
LBB0_8:
Lloh59:
adrp x9, _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR@GOTPAGE
Lloh60:
ldr x9, [x9, _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR@GOTPAGEOFF]
Lloh61:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_10
; %bb.9:
Lloh62:
adrp x9, _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR@GOTPAGE
Lloh63:
ldr x9, [x9, _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR@GOTPAGEOFF]
Lloh64:
ldr w9, [x9]
ldr w10, [x20, #64]
orr w9, w10, w9
str w9, [x20, #64]
LBB0_10:
Lloh65:
adrp x9, _QLINK_HW_CAPAB_OBSS_SCAN@GOTPAGE
Lloh66:
ldr x9, [x9, _QLINK_HW_CAPAB_OBSS_SCAN@GOTPAGEOFF]
Lloh67:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_12
; %bb.11:
Lloh68:
adrp x9, _NL80211_FEATURE_NEED_OBSS_SCAN@GOTPAGE
Lloh69:
ldr x9, [x9, _NL80211_FEATURE_NEED_OBSS_SCAN@GOTPAGEOFF]
Lloh70:
ldr w9, [x9]
ldr w10, [x20, #64]
orr w9, w10, w9
str w9, [x20, #64]
LBB0_12:
Lloh71:
adrp x9, _QLINK_HW_CAPAB_SAE@GOTPAGE
Lloh72:
ldr x9, [x9, _QLINK_HW_CAPAB_SAE@GOTPAGEOFF]
Lloh73:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_14
; %bb.13:
Lloh74:
adrp x8, _NL80211_FEATURE_SAE@GOTPAGE
Lloh75:
ldr x8, [x8, _NL80211_FEATURE_SAE@GOTPAGEOFF]
Lloh76:
ldr w8, [x8]
ldr w9, [x20, #64]
orr w8, w9, w8
str w8, [x20, #64]
LBB0_14:
ldr x8, [x19]
ldr x8, [x8]
ldrsb w0, [x8]
bl _isalpha
cbz x0, LBB0_18
; %bb.15:
mov w22, #1 ; =0x1
b LBB0_19
LBB0_16:
Lloh77:
adrp x0, l_.str@PAGE
Lloh78:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
Lloh79:
adrp x8, _EFAULT@GOTPAGE
Lloh80:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh81:
ldr w8, [x8]
neg w0, w8
LBB0_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_18:
ldr x8, [x19]
ldr x8, [x8]
ldrsb w0, [x8, #1]
bl _isalpha
cmp x0, #0
cset w22, ne
LBB0_19:
ldr w8, [x21, #4]
Lloh82:
adrp x9, _QLINK_HW_CAPAB_REG_UPDATE@GOTPAGE
Lloh83:
ldr x9, [x9, _QLINK_HW_CAPAB_REG_UPDATE@GOTPAGEOFF]
Lloh84:
ldr w9, [x9]
Lloh85:
adrp x23, _REGULATORY_WIPHY_SELF_MANAGED@GOTPAGE
Lloh86:
ldr x23, [x23, _REGULATORY_WIPHY_SELF_MANAGED@GOTPAGEOFF]
tst w9, w8
b.eq LBB0_25
; %bb.20:
Lloh87:
adrp x8, _qtnf_cfg80211_reg_notifier@GOTPAGE
Lloh88:
ldr x8, [x8, _qtnf_cfg80211_reg_notifier@GOTPAGEOFF]
Lloh89:
ldr w8, [x8]
str w8, [x20, #48]
ldr x1, [x19]
ldr x8, [x1]
ldrb w9, [x8]
cmp w9, #57
b.ne LBB0_23
; %bb.21:
ldrb w8, [x8, #1]
cmp w8, #57
b.ne LBB0_23
; %bb.22:
Lloh90:
adrp x8, _REGULATORY_CUSTOM_REG@GOTPAGE
Lloh91:
ldr x8, [x8, _REGULATORY_CUSTOM_REG@GOTPAGEOFF]
Lloh92:
adrp x9, _REGULATORY_STRICT_REG@GOTPAGE
Lloh93:
ldr x9, [x9, _REGULATORY_STRICT_REG@GOTPAGEOFF]
Lloh94:
ldr w8, [x8]
Lloh95:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [x20, #20]
orr w8, w8, w9
str w8, [x20, #20]
mov x0, x20
bl _wiphy_apply_custom_regulatory
b LBB0_27
LBB0_23:
cbz w22, LBB0_27
; %bb.24:
Lloh96:
adrp x8, _REGULATORY_STRICT_REG@GOTPAGE
Lloh97:
ldr x8, [x8, _REGULATORY_STRICT_REG@GOTPAGEOFF]
Lloh98:
ldr w8, [x8]
b LBB0_26
LBB0_25:
ldr w8, [x23]
LBB0_26:
ldr w9, [x20, #20]
orr w8, w9, w8
str w8, [x20, #20]
LBB0_27:
ldur x8, [x19, #8]
cbz x8, LBB0_29
; %bb.28:
ldr d0, [x19, #16]
str d0, [x20, #40]
str x8, [x20, #32]
LBB0_29:
ldr w0, [x20, #28]
ldr w1, [x21, #12]
mov w2, #4 ; =0x4
bl _strlcpy
ldr w8, [x21, #8]
str w8, [x20, #24]
mov x0, x20
bl _wiphy_register
cmp w0, #1
b.lt LBB0_17
; %bb.30:
ldr w8, [x20, #20]
ldr w9, [x23]
tst w9, w8
b.eq LBB0_32
; %bb.31:
ldr x1, [x19]
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _regulatory_set_wiphy_regd
LBB0_32:
cbz w22, LBB0_17
; %bb.33:
ldr x8, [x19]
ldr x1, [x8]
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _regulatory_hint
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh24
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh95
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh94
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid wiphy pointer\n"
.comm _EFAULT,4,2 ; @EFAULT
.comm _QTNF_MAX_VSIE_LEN,4,2 ; @QTNF_MAX_VSIE_LEN
.comm _qtnf_mgmt_stypes,4,2 ; @qtnf_mgmt_stypes
.comm _qtnf_cipher_suites,4,2 ; @qtnf_cipher_suites
.comm _CFG80211_SIGNAL_TYPE_MBM,4,2 ; @CFG80211_SIGNAL_TYPE_MBM
.comm _WIPHY_FLAG_HAVE_AP_SME,4,2 ; @WIPHY_FLAG_HAVE_AP_SME
.comm _WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,4,2 ; @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD
.comm _WIPHY_FLAG_AP_UAPSD,4,2 ; @WIPHY_FLAG_AP_UAPSD
.comm _WIPHY_FLAG_HAS_CHANNEL_SWITCH,4,2 ; @WIPHY_FLAG_HAS_CHANNEL_SWITCH
.comm _WIPHY_FLAG_4ADDR_STATION,4,2 ; @WIPHY_FLAG_4ADDR_STATION
.comm _WIPHY_FLAG_NETNS_OK,4,2 ; @WIPHY_FLAG_NETNS_OK
.comm _WIPHY_FLAG_PS_ON_BY_DEFAULT,4,2 ; @WIPHY_FLAG_PS_ON_BY_DEFAULT
.comm _QLINK_HW_CAPAB_DFS_OFFLOAD,4,2 ; @QLINK_HW_CAPAB_DFS_OFFLOAD
.comm _NL80211_EXT_FEATURE_DFS_OFFLOAD,4,2 ; @NL80211_EXT_FEATURE_DFS_OFFLOAD
.comm _QLINK_HW_CAPAB_SCAN_DWELL,4,2 ; @QLINK_HW_CAPAB_SCAN_DWELL
.comm _NL80211_EXT_FEATURE_SET_SCAN_DWELL,4,2 ; @NL80211_EXT_FEATURE_SET_SCAN_DWELL
.comm _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS
.comm _NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2,4,2 ; @NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2
.comm _QLINK_HW_CAPAB_STA_INACT_TIMEOUT,4,2 ; @QLINK_HW_CAPAB_STA_INACT_TIMEOUT
.comm _NL80211_FEATURE_INACTIVITY_TIMER,4,2 ; @NL80211_FEATURE_INACTIVITY_TIMER
.comm _QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR,4,2 ; @QLINK_HW_CAPAB_SCAN_RANDOM_MAC_ADDR
.comm _NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR,4,2 ; @NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR
.comm _QLINK_HW_CAPAB_OBSS_SCAN,4,2 ; @QLINK_HW_CAPAB_OBSS_SCAN
.comm _NL80211_FEATURE_NEED_OBSS_SCAN,4,2 ; @NL80211_FEATURE_NEED_OBSS_SCAN
.comm _QLINK_HW_CAPAB_SAE,4,2 ; @QLINK_HW_CAPAB_SAE
.comm _NL80211_FEATURE_SAE,4,2 ; @NL80211_FEATURE_SAE
.comm _QLINK_HW_CAPAB_REG_UPDATE,4,2 ; @QLINK_HW_CAPAB_REG_UPDATE
.comm _qtnf_cfg80211_reg_notifier,4,2 ; @qtnf_cfg80211_reg_notifier
.comm _REGULATORY_CUSTOM_REG,4,2 ; @REGULATORY_CUSTOM_REG
.comm _REGULATORY_STRICT_REG,4,2 ; @REGULATORY_STRICT_REG
.comm _REGULATORY_WIPHY_SELF_MANAGED,4,2 ; @REGULATORY_WIPHY_SELF_MANAGED
.subsections_via_symbols
| assembly_file_53400.c | assembly_dataset |
.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
movq %rsi, %r14
cmpl $2, %edi
jge LBB0_1
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%r14), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_1:
movl %edi, %r15d
movl $1, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%rbx,8), %rdi
callq _unlink
testl %eax, %eax
js LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq %rbx, %r15
jne LBB0_2
## %bb.6:
xorl %edi, %edi
callq _exit
LBB0_3:
movq (%r14,%rbx,8), %rdi
callq _perror
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: no arguments\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, #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
cmp w0, #2
b.ge LBB0_2
; %bb.1:
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldr x8, [x1]
str x8, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
mov w8, w0
add x19, x1, #8
sub x20, x8, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
bl _unlink
tbnz w0, #31, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x19, x19, #8
subs x20, x20, #1
b.ne LBB0_3
; %bb.5:
mov w0, #0
bl _exit
LBB0_6:
ldr x0, [x19]
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: no arguments\n"
.subsections_via_symbols
| the_stack_data/1154963.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_check_prime_factor_range
_test_check_prime_factor_range: ## @test_check_prime_factor_range
.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
xorl %eax, %eax
callq _BN_new
movq %rax, %rbx
movq %rax, %rdi
callq _TEST_ptr
testq %rax, %rax
movq %rbx, -80(%rbp) ## 8-byte Spill
je LBB0_2
## %bb.1:
movl $1, %r12d
xorl %ebx, %ebx
xorl %r14d, %r14d
xorl %r13d, %r13d
LBB0_4:
xorl %r15d, %r15d
xorl %edi, %edi
LBB0_29:
callq _BN_free
movq %r15, %rdi
callq _BN_free
movq %r13, %rdi
callq _BN_free
movq %r14, %rdi
callq _BN_free
movq -80(%rbp), %rdi ## 8-byte Reload
callq _BN_free
movq %rbx, %rdi
callq _BN_CTX_free
movl %r12d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
leaq _test_check_prime_factor_range.p1(%rip), %rdi
movl $5, %esi
callq _bn_load_new
movq %rax, %r14
movq %rax, %rdi
callq _TEST_ptr
testq %rax, %rax
je LBB0_3
## %bb.5:
leaq _test_check_prime_factor_range.p2(%rip), %rdi
movl $5, %esi
callq _bn_load_new
movq %rax, %r13
movq %rax, %rdi
callq _TEST_ptr
testq %rax, %rax
je LBB0_6
## %bb.7:
movq %r13, -48(%rbp) ## 8-byte Spill
movq %r14, -56(%rbp) ## 8-byte Spill
leaq _test_check_prime_factor_range.p3(%rip), %rdi
movl $5, %esi
callq _bn_load_new
movq %rax, %r15
movq %rax, %rdi
callq _TEST_ptr
testq %rax, %rax
je LBB0_8
## %bb.9:
leaq _test_check_prime_factor_range.p4(%rip), %rdi
movl $5, %esi
callq _bn_load_new
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _TEST_ptr
testq %rax, %rax
je LBB0_10
## %bb.11:
xorl %eax, %eax
callq _BN_CTX_new
movq %rax, %r14
movq %rax, %rdi
callq _TEST_ptr
testq %rax, %rax
je LBB0_12
## %bb.14:
movq %rbx, %rdi
movl $10, %esi
callq _BN_set_word
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.15:
movq %rbx, %rdi
movl $8, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_false
testq %rax, %rax
je LBB0_12
## %bb.16:
movq %rbx, %rdi
movl $16, %esi
callq _BN_set_word
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.17:
movq %rbx, %rdi
movl $8, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_false
testq %rax, %rax
je LBB0_12
## %bb.18:
movq %rbx, %rdi
movl $11, %esi
callq _BN_set_word
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.19:
movq %rbx, %rdi
movl $8, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_false
testq %rax, %rax
je LBB0_12
## %bb.20:
movq %rbx, %rdi
movl $12, %esi
callq _BN_set_word
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.21:
movq %rbx, %rdi
movl $8, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.22:
movq %rbx, %rdi
movl $15, %esi
callq _BN_set_word
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.23:
movq %rbx, %rdi
movl $8, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_12
## %bb.24:
movq -56(%rbp), %rdi ## 8-byte Reload
movl $72, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_false
testq %rax, %rax
je LBB0_12
## %bb.25:
movq -48(%rbp), %rdi ## 8-byte Reload
movl $72, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_false
testq %rax, %rax
je LBB0_12
## %bb.26:
movq %r15, -72(%rbp) ## 8-byte Spill
movq %r15, %rdi
movl $72, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_true
testq %rax, %rax
je LBB0_27
## %bb.28:
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $72, %esi
movq %r14, %rdx
callq _rsa_check_prime_factor_range
movl %eax, %edi
callq _TEST_true
movq %rbx, %rdi
xorl %r12d, %r12d
testq %rax, %rax
setne %r12b
movq %r14, %rbx
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
jmp LBB0_29
LBB0_3:
xorl %ebx, %ebx
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_4
LBB0_6:
xorl %ebx, %ebx
xorl %r15d, %r15d
xorl %edi, %edi
xorl %r12d, %r12d
jmp LBB0_29
LBB0_12:
movq %r14, %rbx
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
LBB0_13:
xorl %r12d, %r12d
movq -64(%rbp), %rdi ## 8-byte Reload
jmp LBB0_29
LBB0_8:
xorl %ebx, %ebx
xorl %edi, %edi
xorl %r12d, %r12d
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
jmp LBB0_29
LBB0_10:
xorl %ebx, %ebx
xorl %r12d, %r12d
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
movq -64(%rbp), %rdi ## 8-byte Reload
jmp LBB0_29
LBB0_27:
movq %r14, %rbx
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r13 ## 8-byte Reload
movq -72(%rbp), %r15 ## 8-byte Reload
jmp LBB0_13
.cfi_endproc
## -- End function
.section __TEXT,__const
_test_check_prime_factor_range.p1: ## @test_check_prime_factor_range.p1
.ascii "\013PO3?"
_test_check_prime_factor_range.p2: ## @test_check_prime_factor_range.p2
.asciz "\020\000\000\000"
_test_check_prime_factor_range.p3: ## @test_check_prime_factor_range.p3
.ascii "\013PO3@"
_test_check_prime_factor_range.p4: ## @test_check_prime_factor_range.p4
.ascii "\017\377\377\377\377"
.no_dead_strip _test_check_prime_factor_range
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_check_prime_factor_range
_test_check_prime_factor_range: ; @test_check_prime_factor_range
.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
bl _BN_new
mov x19, x0
bl _TEST_ptr
cbz x0, LBB0_2
; %bb.1:
mov x23, #0 ; =0x0
mov x20, #0 ; =0x0
mov x21, #0 ; =0x0
mov x22, #0 ; =0x0
mov x0, #0 ; =0x0
mov w24, #1 ; =0x1
b LBB0_27
LBB0_2:
Lloh0:
adrp x0, _test_check_prime_factor_range.p1@PAGE
Lloh1:
add x0, x0, _test_check_prime_factor_range.p1@PAGEOFF
mov w1, #5 ; =0x5
bl _bn_load_new
mov x20, x0
bl _TEST_ptr
cbz x0, LBB0_21
; %bb.3:
Lloh2:
adrp x0, _test_check_prime_factor_range.p2@PAGE
Lloh3:
add x0, x0, _test_check_prime_factor_range.p2@PAGEOFF
mov w1, #5 ; =0x5
bl _bn_load_new
mov x21, x0
bl _TEST_ptr
cbz x0, LBB0_22
; %bb.4:
Lloh4:
adrp x0, _test_check_prime_factor_range.p3@PAGE
Lloh5:
add x0, x0, _test_check_prime_factor_range.p3@PAGEOFF
mov w1, #5 ; =0x5
bl _bn_load_new
mov x22, x0
bl _TEST_ptr
cbz x0, LBB0_24
; %bb.5:
Lloh6:
adrp x0, _test_check_prime_factor_range.p4@PAGE
Lloh7:
add x0, x0, _test_check_prime_factor_range.p4@PAGEOFF
mov w1, #5 ; =0x5
bl _bn_load_new
mov x25, x0
bl _TEST_ptr
cbz x0, LBB0_25
; %bb.6:
bl _BN_CTX_new
mov x23, x0
bl _TEST_ptr
cbz x0, LBB0_26
; %bb.7:
mov x0, x19
mov w1, #10 ; =0xa
bl _BN_set_word
bl _TEST_true
cbz x0, LBB0_26
; %bb.8:
mov x0, x19
mov w1, #8 ; =0x8
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_false
cbz x0, LBB0_26
; %bb.9:
mov x0, x19
mov w1, #16 ; =0x10
bl _BN_set_word
bl _TEST_true
cbz x0, LBB0_26
; %bb.10:
mov x0, x19
mov w1, #8 ; =0x8
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_false
cbz x0, LBB0_26
; %bb.11:
mov x0, x19
mov w1, #11 ; =0xb
bl _BN_set_word
bl _TEST_true
cbz x0, LBB0_26
; %bb.12:
mov x0, x19
mov w1, #8 ; =0x8
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_false
cbz x0, LBB0_26
; %bb.13:
mov x0, x19
mov w1, #12 ; =0xc
bl _BN_set_word
bl _TEST_true
cbz x0, LBB0_26
; %bb.14:
mov x0, x19
mov w1, #8 ; =0x8
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_true
cbz x0, LBB0_26
; %bb.15:
mov x0, x19
mov w1, #15 ; =0xf
bl _BN_set_word
bl _TEST_true
cbz x0, LBB0_26
; %bb.16:
mov x0, x19
mov w1, #8 ; =0x8
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_true
cbz x0, LBB0_26
; %bb.17:
mov x0, x20
mov w1, #72 ; =0x48
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_false
cbz x0, LBB0_26
; %bb.18:
mov x0, x21
mov w1, #72 ; =0x48
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_false
cbz x0, LBB0_26
; %bb.19:
mov x0, x22
mov w1, #72 ; =0x48
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_true
cbz x0, LBB0_26
; %bb.20:
mov x0, x25
mov w1, #72 ; =0x48
mov x2, x23
bl _rsa_check_prime_factor_range
bl _TEST_true
mov x8, x0
mov x0, x25
cmp x8, #0
cset w24, ne
b LBB0_27
LBB0_21:
mov x23, #0 ; =0x0
mov x21, #0 ; =0x0
b LBB0_23
LBB0_22:
mov x23, #0 ; =0x0
LBB0_23:
mov x22, #0 ; =0x0
mov w24, #0 ; =0x0
b LBB0_27
LBB0_24:
mov x23, #0 ; =0x0
mov w24, #0 ; =0x0
b LBB0_27
LBB0_25:
mov x23, #0 ; =0x0
LBB0_26:
mov w24, #0 ; =0x0
mov x0, x25
LBB0_27:
bl _BN_free
mov x0, x22
bl _BN_free
mov x0, x21
bl _BN_free
mov x0, x20
bl _BN_free
mov x0, x19
bl _BN_free
mov x0, x23
bl _BN_CTX_free
mov x0, x24
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__const
_test_check_prime_factor_range.p1: ; @test_check_prime_factor_range.p1
.ascii "\013PO3?"
_test_check_prime_factor_range.p2: ; @test_check_prime_factor_range.p2
.asciz "\020\000\000\000"
_test_check_prime_factor_range.p3: ; @test_check_prime_factor_range.p3
.ascii "\013PO3@"
_test_check_prime_factor_range.p4: ; @test_check_prime_factor_range.p4
.ascii "\017\377\377\377\377"
.no_dead_strip _test_check_prime_factor_range
.subsections_via_symbols
| assembly_file_79553.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FM_MACSEC_GUEST_Config ## -- Begin function FM_MACSEC_GUEST_Config
.p2align 4, 0x90
_FM_MACSEC_GUEST_Config: ## @FM_MACSEC_GUEST_Config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _UNUSED
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 _FM_MACSEC_GUEST_Config ; -- Begin function FM_MACSEC_GUEST_Config
.p2align 2
_FM_MACSEC_GUEST_Config: ; @FM_MACSEC_GUEST_Config
.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 _UNUSED
mov x0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_guest.c_FM_MACSEC_GUEST_Config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hb_list_insert ## -- Begin function hb_list_insert
.p2align 4, 0x90
_hb_list_insert: ## @hb_list_insert
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_7
## %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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %rbx
movl (%rdi), %edx
cmpl 4(%rdi), %edx
jne LBB0_3
## %bb.2:
movq _HB_LIST_DEFAULT_SIZE@GOTPCREL(%rip), %rax
addl (%rax), %edx
movl %edx, 4(%rbx)
movq 8(%rbx), %rdi
shll $3, %edx
movl %esi, %r15d
movl %edx, %esi
callq _realloc
movl %r15d, %esi
movq %rax, 8(%rbx)
movl (%rbx), %edx
LBB0_3:
subl %esi, %edx
jne LBB0_5
## %bb.4:
movslq %esi, %r15
jmp LBB0_6
LBB0_5:
movq 8(%rbx), %rax
movslq %esi, %r15
leaq (%rax,%r15,8), %rsi
leaq (%rax,%r15,8), %rdi
addq $8, %rdi
shll $3, %edx
callq _memmove
movl (%rbx), %esi
LBB0_6:
movq 8(%rbx), %rax
movq %r14, (%rax,%r15,8)
incl %esi
movl %esi, (%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB0_7:
retq
.cfi_endproc
## -- End function
.comm _HB_LIST_DEFAULT_SIZE,8,3 ## @HB_LIST_DEFAULT_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _hb_list_insert ; -- Begin function hb_list_insert
.p2align 2
_hb_list_insert: ; @hb_list_insert
.cfi_startproc
; %bb.0:
cbz x2, LBB0_7
; %bb.1:
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, x2
mov x21, x1
mov x19, x0
ldp w8, w9, [x0]
cmp w8, w9
b.ne LBB0_3
; %bb.2:
Lloh0:
adrp x9, _HB_LIST_DEFAULT_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _HB_LIST_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
add w8, w8, w9
str w8, [x19, #4]
ldr x0, [x19, #8]
lsl w1, w8, #3
bl _realloc
str x0, [x19, #8]
ldr w8, [x19]
LBB0_3:
subs w8, w8, w21
b.ne LBB0_5
; %bb.4:
sxtw x22, w21
b LBB0_6
LBB0_5:
ldr x9, [x19, #8]
mov x10, x21
sxtw x22, w10
add x1, x9, w21, sxtw #3
lsl w2, w8, #3
add x0, x1, #8
bl _memmove
ldr w21, [x19]
LBB0_6:
ldr x8, [x19, #8]
str x20, [x8, x22, lsl #3]
add w8, w21, #1
str w8, [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
LBB0_7:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HB_LIST_DEFAULT_SIZE,8,3 ; @HB_LIST_DEFAULT_SIZE
.subsections_via_symbols
| assembly_file_45219.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smb_delete_dentry
_smb_delete_dentry: ## @smb_delete_dentry
.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), %rdi
xorl %r14d, %r14d
testq %rdi, %rdi
je LBB0_3
## %bb.1:
callq _is_bad_inode
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _DENTRY_PATH
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _PARANOIA
movl $1, %r14d
LBB0_3:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bad inode, unhashing %s/%s\n"
.no_dead_strip _smb_delete_dentry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smb_delete_dentry
_smb_delete_dentry: ; @smb_delete_dentry
.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 x0, [x0]
cbz x0, LBB0_3
; %bb.1:
bl _is_bad_inode
cbz x0, LBB0_3
; %bb.2:
mov x0, x19
bl _DENTRY_PATH
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _PARANOIA
mov w0, #1
LBB0_3:
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 "bad inode, unhashing %s/%s\n"
.no_dead_strip _smb_delete_dentry
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/smbfs/extr_dir.c_smb_delete_dentry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function try_rfc959
_try_rfc959: ## @try_rfc959
.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 $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %ecx, %r9d
movq %rdx, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq -48(%rbp), %rdx
movl $6, %ecx
movl $44, %r8d
callq _try_number
movl %eax, %ebx
testl %eax, %eax
je LBB0_2
## %bb.1:
movl -48(%rbp), %eax
movl -44(%rbp), %ecx
shll $24, %eax
shll $16, %ecx
orl %eax, %ecx
movl -40(%rbp), %edi
shll $8, %edi
orl %ecx, %edi
orl -36(%rbp), %edi
callq _htonl
movl %eax, 4(%r14)
movl -32(%rbp), %edi
shll $8, %edi
orl -28(%rbp), %edi
callq _htons
movl %eax, (%r14)
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_4
## %bb.3:
movl %ebx, %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _try_rfc959
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function try_rfc959
_try_rfc959: ; @try_rfc959
.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
mov x5, x3
mov x19, x2
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
mov x2, sp
mov w3, #6
mov w4, #44
bl _try_number
mov x20, x0
cbz w0, LBB0_2
; %bb.1:
ldp w8, w9, [sp]
lsl w9, w9, #16
orr w8, w9, w8, lsl #24
ldp w9, w10, [sp, #8]
orr w8, w8, w9, lsl #8
orr w0, w8, w10
bl _htonl
str w0, [x19, #4]
ldp w8, w9, [sp, #16]
orr w0, w9, w8, lsl #8
bl _htons
str w0, [x19]
LBB0_2:
ldr x8, [sp, #24]
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_4
; %bb.3:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _try_rfc959
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_ftp.c_try_rfc959.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iser_csio_to_sg
_iser_csio_to_sg: ## @iser_csio_to_sg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 8(%rdi), %eax
movq _CAM_DATA_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl %eax, %ecx
cmpl $128, %ecx
je LBB0_4
## %bb.1:
cmpl $129, %ecx
jne LBB0_5
## %bb.2:
movq (%rdi), %rdi
callq _iser_bio_to_sg
jmp LBB0_3
LBB0_4:
movq (%rdi), %rdi
callq _iser_buf_to_sg
LBB0_3:
xorl %eax, %eax
popq %rbp
retq
LBB0_5:
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _ISER_ERR
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CAM_DATA_MASK,4,2 ## @CAM_DATA_MASK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "flags 0x%X unimplemented"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _iser_csio_to_sg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iser_csio_to_sg
_iser_csio_to_sg: ; @iser_csio_to_sg
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w8, [x0, #8]
Lloh0:
adrp x9, _CAM_DATA_MASK@GOTPAGE
Lloh1:
ldr x9, [x9, _CAM_DATA_MASK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
and w9, w9, w8
cmp w9, #128
b.eq LBB0_3
; %bb.1:
cmp w9, #129
b.ne LBB0_5
; %bb.2:
ldr x0, [x0]
bl _iser_bio_to_sg
b LBB0_4
LBB0_3:
ldr x0, [x0]
bl _iser_buf_to_sg
LBB0_4:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_5:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x8
bl _ISER_ERR
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _CAM_DATA_MASK,4,2 ; @CAM_DATA_MASK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "flags 0x%X unimplemented"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _iser_csio_to_sg
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/iser/extr_iser_initiator.c_iser_csio_to_sg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lodepng_deflatev
_lodepng_deflatev: ## @lodepng_deflatev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -72(%rbp) ## 8-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
movq $0, -96(%rbp)
movl (%rcx), %eax
movl $61, %r12d
cmpl $2, %eax
jg LBB0_17
## %bb.1:
movq %rdx, %r13
movq %rdx, %rbx
cmpl $1, %eax
je LBB0_4
## %bb.2:
testl %eax, %eax
jne LBB0_3
## %bb.18:
movq -64(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _deflateNoCompression ## TAILCALL
LBB0_3:
movq %r13, %rax
shrq $3, %rax
addq $-8, %rax
cmpq $65536, %rax ## imm = 0x10000
movl $65535, %ebx ## imm = 0xFFFF
cmovaeq %rax, %rbx
LBB0_4:
leaq (%rbx,%r13), %rsi
decq %rsi
movq %rsi, %rax
orq %rbx, %rax
shrq $32, %rax
je LBB0_5
## %bb.6:
movq %rsi, %rax
xorl %edx, %edx
divq %rbx
jmp LBB0_7
LBB0_5:
movl %esi, %eax
xorl %edx, %edx
divl %ebx
## kill: def $eax killed $eax def $rax
LBB0_7:
cmpq %rsi, %rbx
movl $1, %r14d
cmovaq %r14, %rax
movl 4(%rcx), %esi
leaq -44(%rbp), %rdi
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rax, %r15
callq _hash_init
movq -56(%rbp), %r10 ## 8-byte Reload
movl %eax, %r12d
testl %eax, %eax
jne LBB0_17
## %bb.8:
subq %r15, %r14
movq %r14, %rsi
xorl %r14d, %r14d
movq %r15, %rdx
movq $-1, %r15
xorl %r12d, %r12d
movq %rdx, -88(%rbp) ## 8-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
leaq (%rsi,%r15), %rcx
xorl %eax, %eax
cmpq $-1, %rcx
sete %al
leaq (%rbx,%r14), %r9
cmpq %r13, %r9
cmovaeq %r13, %r9
movl (%r10), %ecx
cmpl $2, %ecx
je LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
cmpl $1, %ecx
jne LBB0_14
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
leaq -96(%rbp), %rsi
leaq -44(%rbp), %rdx
movq -72(%rbp), %rcx ## 8-byte Reload
movq %r14, %r8
pushq %rax
pushq %r10
callq _deflateFixed
jmp LBB0_13
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
leaq -96(%rbp), %rsi
leaq -44(%rbp), %rdx
movq -72(%rbp), %rcx ## 8-byte Reload
movq %r14, %r8
pushq %rax
pushq %r10
callq _deflateDynamic
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
movq -80(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rdx ## 8-byte Reload
movq -56(%rbp), %r10 ## 8-byte Reload
addq $16, %rsp
movl %eax, %r12d
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
leaq -1(%r15), %rax
subq %rbx, %r14
cmpq %rdx, %r15
movq %rax, %r15
jb LBB0_9
## %bb.15: ## in Loop: Header=BB0_9 Depth=1
movq %rax, %r15
testl %r12d, %r12d
je LBB0_9
## %bb.16:
leaq -44(%rbp), %rdi
callq _hash_cleanup
LBB0_17:
movl %r12d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lodepng_deflatev
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lodepng_deflatev
_lodepng_deflatev: ; @lodepng_deflatev
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str xzr, [sp, #8]
ldr w8, [x3]
cmp w8, #2
b.le LBB0_2
; %bb.1:
mov w0, #61 ; =0x3d
b LBB0_15
LBB0_2:
mov x21, x3
mov x19, x2
mov x20, x1
mov x22, x0
mov x24, x2
cmp w8, #1
b.eq LBB0_6
; %bb.3:
cbnz w8, LBB0_5
; %bb.4:
mov x0, x22
mov x1, x20
mov x2, 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
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _deflateNoCompression
LBB0_5:
lsr x8, x19, #3
sub x8, x8, #8
mov w9, #65535 ; =0xffff
cmp x8, #16, lsl #12 ; =65536
csel x24, x8, x9, hs
LBB0_6:
sub x8, x19, #1
adds x8, x8, x24
udiv x8, x8, x24
csinc x25, x8, xzr, lo
ldr w1, [x21, #4]
add x0, sp, #4
bl _hash_init
cbnz w0, LBB0_15
; %bb.7:
mov x23, #0 ; =0x0
sub x26, x25, #1
mov x27, #-1 ; =0xffffffffffffffff
LBB0_8: ; =>This Inner Loop Header: Depth=1
cmp x26, #0
cset w7, eq
add x8, x24, x23
cmp x8, x19
csel x5, x8, x19, lo
ldr w8, [x21]
cmp w8, #2
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w8, #1
b.ne LBB0_12
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
add x1, sp, #8
add x2, sp, #4
mov x0, x22
mov x3, x20
mov x4, x23
mov x6, x21
bl _deflateFixed
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
add x1, sp, #8
add x2, sp, #4
mov x0, x22
mov x3, x20
mov x4, x23
mov x6, x21
bl _deflateDynamic
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
add x26, x26, #1
sub x23, x23, x24
sub x8, x27, #1
cmp x27, x25
mov x27, x8
b.lo LBB0_8
; %bb.13: ; in Loop: Header=BB0_8 Depth=1
mov x27, x8
cbz w0, LBB0_8
; %bb.14:
mov x19, x0
add x0, sp, #4
bl _hash_cleanup
mov x0, x19
LBB0_15:
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
.cfi_endproc
; -- End function
.no_dead_strip _lodepng_deflatev
.subsections_via_symbols
| assembly_file_167667.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mac_alg_list ## -- Begin function mac_alg_list
.p2align 4, 0x90
_mac_alg_list: ## @mac_alg_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 %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 %edi, -44(%rbp) ## 4-byte Spill
movq _macs@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq (%r13), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.1:
xorl %ebx, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
testq %r14, %r14
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %eax ## 4-byte Reload
movb %al, (%r14,%rbx)
incq %rbx
movq (%r13), %rdi
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _strlen
movq %rax, %r12
leaq (%rax,%rbx), %rsi
addq $2, %rsi
movq %r14, %rdi
callq _realloc
testq %rax, %rax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r15
leaq (%r12,%rbx), %r14
movq %rax, %rdi
addq %rbx, %rdi
movq (%r13), %rsi
incq %r12
movq %r12, %rdx
callq _memcpy
movq 8(%r13), %rdi
addq $8, %r13
movq %r14, %rbx
movq %r15, %r14
testq %rdi, %rdi
jne LBB0_2
jmp LBB0_9
LBB0_7:
movq %r14, %rdi
callq _free
LBB0_8:
xorl %r15d, %r15d
LBB0_9:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_1912 ## @g_aug_volatile_1912
.p2align 2, 0x0
_g_aug_volatile_1912:
.long 7 ## 0x7
.comm _macs,8,3 ## @macs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mac_alg_list ; -- Begin function mac_alg_list
.p2align 2
_mac_alg_list: ; @mac_alg_list
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x8, _macs@GOTPAGE
Lloh1:
ldr x8, [x8, _macs@GOTPAGEOFF]
Lloh2:
ldr x23, [x8]
ldr x0, [x23]
cbz x0, LBB0_6
; %bb.1:
mov x24, #0 ; =0x0
mov x20, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
cbz x20, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
strb w19, [x20, x24]
add x24, x24, #1
ldr x0, [x23]
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
bl _strlen
mov x22, x0
add x25, x0, x24
add x1, x25, #2
mov x0, x20
bl _realloc
mov x21, x0
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr x1, [x23]
add x0, x21, x24
add x2, x22, #1
bl _memcpy
ldr x0, [x23, #8]!
mov x24, x25
mov x20, x21
cbnz x0, LBB0_2
b LBB0_8
LBB0_6:
mov x21, #0 ; =0x0
b LBB0_8
LBB0_7:
mov x0, x20
bl _free
LBB0_8:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_1912 ; @g_aug_volatile_1912
.p2align 2, 0x0
_g_aug_volatile_1912:
.long 7 ; 0x7
.comm _macs,8,3 ; @macs
.subsections_via_symbols
| assembly_file_29976.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mpcf_re_range
_mpcf_re_range: ## @mpcf_re_range
.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
movzbl (%rdi), %eax
testb %al, %al
je LBB0_22
## %bb.1:
cmpb $94, %al
jne LBB0_3
## %bb.2:
cmpb $0, 1(%rbx)
je LBB0_22
LBB0_3:
xorl %r15d, %r15d
movb %al, -41(%rbp) ## 1-byte Spill
cmpb $94, %al
sete %r15b
movl $1, %edi
movl $1, %esi
callq _calloc
movq %rax, %r14
jmp LBB0_4
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal 2(%rax), %esi
movq %r14, %rdi
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
callq _realloc
movq %rax, %r14
movq %rax, %rdi
callq _strlen
cltq
movb $0, 1(%r14,%rax)
movzbl (%rbx,%r15), %r12d
movq %r14, %rdi
callq _strlen
cltq
movb %r12b, (%r14,%rax)
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
decq %r15
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
movq %rbx, %rdi
callq _strlen
cltq
cmpq %rax, %r15
jae LBB0_18
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movzbl (%rbx,%r15), %eax
cmpl $45, %eax
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpl $92, %eax
jne LBB0_15
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movsbl 1(%rbx,%r15), %edi
incq %r15
callq _mpc_re_range_escape_char
movq %rax, %r13
movq %r14, %rdi
callq _strlen
movl %eax, %r12d
testq %r13, %r13
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
addl $2, %r12d
movq %r14, %rdi
movl %r12d, %esi
jmp LBB0_16
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movsbq 1(%rbx,%r15), %r12
testq %r12, %r12
setne %al
testq %r15, %r15
setne %cl
testb %cl, %al
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
callq _strlen
movl %eax, %r12d
leaq L_.str.1(%rip), %r13
movq %r13, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal (%r12,%rax), %esi
incl %esi
movq %r14, %rdi
callq _realloc
movq %rax, %r14
movq %rax, %rdi
movq %r13, %rsi
callq _strcat
decq %r15
jmp LBB0_4
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movsbq (%rbx), %r13
decq %r12
incq %r13
movl $1, %r15d
cmpq %r12, %r13
ja LBB0_17
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal 3(%rax), %esi
movq %r14, %rdi
callq _realloc
movq %rax, %r14
movq %rax, %rdi
callq _strlen
cltq
movb $0, 1(%r14,%rax)
movq %r14, %rdi
callq _strlen
cltq
movb %r13b, (%r14,%rax)
incq %r13
cmpq %r12, %r13
jbe LBB0_14
jmp LBB0_17
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
xorl %edi, %edi
callq _strlen
## kill: def $eax killed $eax def $rax
leal (%r12,%rax), %esi
incl %esi
movq %r14, %rdi
callq _realloc
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
callq _strcat
decq %r15
jmp LBB0_4
LBB0_18:
cmpb $94, -41(%rbp) ## 1-byte Folded Reload
jne LBB0_20
## %bb.19:
movq %r14, %rdi
callq _mpc_noneof
jmp LBB0_21
LBB0_22:
movq %rbx, %rdi
callq _free
leaq L_.str(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _mpc_fail ## TAILCALL
LBB0_20:
movq %r14, %rdi
callq _mpc_oneof
LBB0_21:
movq %rax, %r15
movq %rbx, %rdi
callq _free
movq %r14, %rdi
callq _free
movq %r15, %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
.asciz "Invalid Regex Range Expression"
L_.str.1: ## @.str.1
.asciz "-"
.no_dead_strip _mpcf_re_range
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mpcf_re_range
_mpcf_re_range: ; @mpcf_re_range
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
ldrb w24, [x0]
cbz w24, LBB0_20
; %bb.1:
cmp w24, #94
b.ne LBB0_3
; %bb.2:
ldrb w8, [x19, #1]
cbz w8, LBB0_20
LBB0_3:
cmp w24, #94
cset w25, eq
mov w0, #1 ; =0x1
mov w1, #1 ; =0x1
bl _calloc
mov x20, x0
mov x0, x19
bl _strlen
cmp x25, w0, sxtw
b.hs LBB0_18
; %bb.4:
Lloh0:
adrp x21, l_.str.1@PAGE
Lloh1:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_8
LBB0_5: ; in Loop: Header=BB0_8 Depth=1
mov x0, x20
bl _strlen
add w1, w0, #2
mov x0, x20
bl _realloc
mov x20, x0
bl _strlen
add x8, x20, w0, sxtw
strb wzr, [x8, #1]
ldrb w22, [x22]
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
mov x0, x20
bl _strlen
strb w22, [x20, w0, sxtw]
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
sub x25, x25, #1
mov x0, x19
bl _strlen
cmp x25, w0, sxtw
b.hs LBB0_18
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
add x22, x19, x25
ldrb w8, [x22]
cmp w8, #45
b.eq LBB0_12
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w8, #92
b.ne LBB0_5
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
add x25, x25, #1
ldrsb w0, [x19, x25]
bl _mpc_re_range_escape_char
mov x23, x0
mov x0, x20
bl _strlen
mov x22, x0
cbz x23, LBB0_17
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
add w1, w22, #2
mov x0, x20
bl _realloc
mov x20, x0
bl _strlen
add x8, x20, w0, sxtw
strb wzr, [x8, #1]
ldrb w22, [x19, x25]
b LBB0_6
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldrsb x8, [x22, #1]
cmp x8, #0
ccmp x25, #0, #4, ne
b.ne LBB0_14
; %bb.13: ; in Loop: Header=BB0_8 Depth=1
mov x0, x20
bl _strlen
mov x22, x0
mov x0, x21
bl _strlen
add w8, w22, w0
add w1, w8, #1
mov x0, x20
bl _realloc
mov x20, x0
mov x1, x21
bl _strcat
b LBB0_7
LBB0_14: ; in Loop: Header=BB0_8 Depth=1
ldrsb x9, [x19]
sub x22, x8, #1
add x23, x9, #1
cmp x23, x22
b.hi LBB0_16
LBB0_15: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
bl _strlen
add w1, w0, #3
mov x0, x20
bl _realloc
mov x20, x0
bl _strlen
add x8, x20, w0, sxtw
strb wzr, [x8, #1]
mov x0, x20
bl _strlen
strb w23, [x20, w0, sxtw]
add x23, x23, #1
cmp x23, x22
b.ls LBB0_15
LBB0_16: ; in Loop: Header=BB0_8 Depth=1
mov w25, #1 ; =0x1
b LBB0_7
LBB0_17: ; in Loop: Header=BB0_8 Depth=1
mov x0, #0 ; =0x0
bl _strlen
add w8, w22, w0
add w1, w8, #1
mov x0, x20
bl _realloc
mov x20, x0
mov x1, #0 ; =0x0
bl _strcat
b LBB0_7
LBB0_18:
mov x0, x20
cmp w24, #94
b.ne LBB0_21
; %bb.19:
bl _mpc_noneof
b LBB0_22
LBB0_20:
mov x0, x19
bl _free
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
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
b _mpc_fail
LBB0_21:
bl _mpc_oneof
LBB0_22:
mov x21, x0
mov x0, x19
bl _free
mov x0, x20
bl _free
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid Regex Range Expression"
l_.str.1: ; @.str.1
.asciz "-"
.no_dead_strip _mpcf_re_range
.subsections_via_symbols
| assembly_file_140334.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hifn_setup_base_command
_hifn_setup_base_command: ## @hifn_setup_base_command
.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 %r9d, %r12d
movl %r8d, %edi
movl %ecx, %ebx
movl %edx, %r15d
movq %rsi, %r14
callq ___cpu_to_le16
movq %rax, 24(%r14)
movq _HIFN_BASE_CMD_LENMASK_LO@GOTPCREL(%rip), %r13
movl (%r13), %edi
andl %ebx, %edi
callq ___cpu_to_le16
movq %rax, 16(%r14)
movl (%r13), %edi
andl %r15d, %edi
callq ___cpu_to_le16
movq %rax, 8(%r14)
shrl $16, %r15d
shrl $16, %ebx
movq _HIFN_BASE_CMD_SRCLEN_S@GOTPCREL(%rip), %rax
movb (%rax), %cl
shll %cl, %ebx
movq _HIFN_BASE_CMD_SRCLEN_M@GOTPCREL(%rip), %rax
andl (%rax), %ebx
orl %r12d, %ebx
movq _HIFN_BASE_CMD_DSTLEN_S@GOTPCREL(%rip), %rax
movb (%rax), %cl
shll %cl, %r15d
movq _HIFN_BASE_CMD_DSTLEN_M@GOTPCREL(%rip), %rax
andl (%rax), %r15d
orl %ebx, %r15d
movl %r15d, %edi
callq ___cpu_to_le16
movq %rax, (%r14)
movl $32, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HIFN_BASE_CMD_LENMASK_LO,4,2 ## @HIFN_BASE_CMD_LENMASK_LO
.comm _HIFN_BASE_CMD_SRCLEN_S,4,2 ## @HIFN_BASE_CMD_SRCLEN_S
.comm _HIFN_BASE_CMD_SRCLEN_M,4,2 ## @HIFN_BASE_CMD_SRCLEN_M
.comm _HIFN_BASE_CMD_DSTLEN_S,4,2 ## @HIFN_BASE_CMD_DSTLEN_S
.comm _HIFN_BASE_CMD_DSTLEN_M,4,2 ## @HIFN_BASE_CMD_DSTLEN_M
.no_dead_strip _hifn_setup_base_command
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hifn_setup_base_command
_hifn_setup_base_command: ; @hifn_setup_base_command
.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, x5
mov x0, x4
mov x20, x3
mov x21, x2
mov x22, x1
bl ___cpu_to_le16
str x0, [x22, #24]
Lloh0:
adrp x23, _HIFN_BASE_CMD_LENMASK_LO@GOTPAGE
Lloh1:
ldr x23, [x23, _HIFN_BASE_CMD_LENMASK_LO@GOTPAGEOFF]
ldr w8, [x23]
and w0, w8, w20
bl ___cpu_to_le16
str x0, [x22, #16]
ldr w8, [x23]
and w0, w8, w21
bl ___cpu_to_le16
str x0, [x22, #8]
lsr w8, w21, #16
lsr w9, w20, #16
Lloh2:
adrp x10, _HIFN_BASE_CMD_SRCLEN_S@GOTPAGE
Lloh3:
ldr x10, [x10, _HIFN_BASE_CMD_SRCLEN_S@GOTPAGEOFF]
Lloh4:
ldr w10, [x10]
lsl w9, w9, w10
Lloh5:
adrp x10, _HIFN_BASE_CMD_SRCLEN_M@GOTPAGE
Lloh6:
ldr x10, [x10, _HIFN_BASE_CMD_SRCLEN_M@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
and w9, w9, w10
orr w9, w9, w19
Lloh8:
adrp x10, _HIFN_BASE_CMD_DSTLEN_S@GOTPAGE
Lloh9:
ldr x10, [x10, _HIFN_BASE_CMD_DSTLEN_S@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
lsl w8, w8, w10
Lloh11:
adrp x10, _HIFN_BASE_CMD_DSTLEN_M@GOTPAGE
Lloh12:
ldr x10, [x10, _HIFN_BASE_CMD_DSTLEN_M@GOTPAGEOFF]
Lloh13:
ldr w10, [x10]
and w8, w8, w10
orr w0, w9, w8
bl ___cpu_to_le16
str x0, [x22]
mov w0, #32
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 Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _HIFN_BASE_CMD_LENMASK_LO,4,2 ; @HIFN_BASE_CMD_LENMASK_LO
.comm _HIFN_BASE_CMD_SRCLEN_S,4,2 ; @HIFN_BASE_CMD_SRCLEN_S
.comm _HIFN_BASE_CMD_SRCLEN_M,4,2 ; @HIFN_BASE_CMD_SRCLEN_M
.comm _HIFN_BASE_CMD_DSTLEN_S,4,2 ; @HIFN_BASE_CMD_DSTLEN_S
.comm _HIFN_BASE_CMD_DSTLEN_M,4,2 ; @HIFN_BASE_CMD_DSTLEN_M
.no_dead_strip _hifn_setup_base_command
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/extr_hifn_795x.c_hifn_setup_base_command.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netif_remove ## -- Begin function netif_remove
.p2align 4, 0x90
_netif_remove: ## @netif_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_10
## %bb.1:
movq %rdi, %rbx
callq _netif_is_up
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _netif_set_down
LBB0_3:
movq %rbx, %rdi
callq _snmp_delete_ipaddridx_tree
movq _netif_list@GOTPCREL(%rip), %rax
movq (%rax), %rcx
cmpq %rbx, %rcx
je LBB0_7
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
testq %rcx, %rcx
je LBB0_10
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq %rcx, %rax
movq 16(%rcx), %rcx
cmpq %rbx, %rcx
jne LBB0_4
## %bb.6:
addq $16, %rax
LBB0_7:
movq 16(%rbx), %rcx
movq %rcx, (%rax)
xorl %eax, %eax
callq _snmp_dec_iflist
movq _netif_default@GOTPCREL(%rip), %rax
cmpq %rbx, (%rax)
jne LBB0_9
## %bb.8:
xorl %edi, %edi
callq _netif_set_default
LBB0_9:
movq _NETIF_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _LWIP_DEBUGF ## TAILCALL
LBB0_10:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _netif_list,8,3 ## @netif_list
.comm _netif_default,8,3 ## @netif_default
.comm _NETIF_DEBUG,4,2 ## @NETIF_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "netif_remove: removed netif\n"
.comm _NETIF_FLAG_IGMP,4,2 ## @NETIF_FLAG_IGMP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netif_remove ; -- Begin function netif_remove
.p2align 2
_netif_remove: ; @netif_remove
.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
cbz x0, LBB0_10
; %bb.1:
mov x19, x0
bl _netif_is_up
cbz x0, LBB0_3
; %bb.2:
mov x0, x19
bl _netif_set_down
LBB0_3:
mov x0, x19
bl _snmp_delete_ipaddridx_tree
Lloh0:
adrp x8, _netif_list@GOTPAGE
Lloh1:
ldr x8, [x8, _netif_list@GOTPAGEOFF]
ldr x9, [x8]
cmp x9, x19
b.eq LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
cbz x9, LBB0_10
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x8, x9
ldr x9, [x9, #16]
cmp x9, x19
b.ne LBB0_4
; %bb.6:
add x8, x8, #16
LBB0_7:
ldr x9, [x19, #16]
str x9, [x8]
bl _snmp_dec_iflist
Lloh2:
adrp x8, _netif_default@GOTPAGE
Lloh3:
ldr x8, [x8, _netif_default@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cmp x8, x19
b.ne LBB0_9
; %bb.8:
mov x0, #0
bl _netif_set_default
LBB0_9:
Lloh5:
adrp x8, _NETIF_DEBUG@GOTPAGE
Lloh6:
ldr x8, [x8, _NETIF_DEBUG@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _LWIP_DEBUGF
LBB0_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _netif_list,8,3 ; @netif_list
.comm _netif_default,8,3 ; @netif_default
.comm _NETIF_DEBUG,4,2 ; @NETIF_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "netif_remove: removed netif\n"
.comm _NETIF_FLAG_IGMP,4,2 ; @NETIF_FLAG_IGMP
.subsections_via_symbols
| AnghaBench/anypixel/firmware/controller/ThirdParty/lwip-1.4.1/src/core/extr_netif.c_netif_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getunopr
_getunopr: ## @getunopr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $125, %edi
jg LBB0_4
## %bb.1:
cmpl $35, %edi
je LBB0_8
## %bb.2:
cmpl $45, %edi
jne LBB0_9
## %bb.3:
movq _OPR_MINUS@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_4:
cmpl $126, %edi
je LBB0_7
## %bb.5:
cmpl $128, %edi
jne LBB0_9
## %bb.6:
movq _OPR_NOT@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_9:
movq _OPR_NOUNOPR@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_8:
movq _OPR_LEN@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_7:
movq _OPR_BNOT@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OPR_NOT,4,2 ## @OPR_NOT
.comm _OPR_MINUS,4,2 ## @OPR_MINUS
.comm _OPR_BNOT,4,2 ## @OPR_BNOT
.comm _OPR_LEN,4,2 ## @OPR_LEN
.comm _OPR_NOUNOPR,4,2 ## @OPR_NOUNOPR
.no_dead_strip _getunopr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getunopr
_getunopr: ; @getunopr
.cfi_startproc
; %bb.0:
cmp w0, #125
b.gt LBB0_4
; %bb.1:
cmp w0, #35
b.eq LBB0_8
; %bb.2:
cmp w0, #45
b.ne LBB0_7
; %bb.3:
Lloh0:
adrp x8, _OPR_MINUS@GOTPAGE
Lloh1:
ldr x8, [x8, _OPR_MINUS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
LBB0_4:
cmp w0, #126
b.eq LBB0_9
; %bb.5:
cmp w0, #128
b.ne LBB0_7
; %bb.6:
Lloh3:
adrp x8, _OPR_NOT@GOTPAGE
Lloh4:
ldr x8, [x8, _OPR_NOT@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
LBB0_7:
Lloh6:
adrp x8, _OPR_NOUNOPR@GOTPAGE
Lloh7:
ldr x8, [x8, _OPR_NOUNOPR@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ret
LBB0_8:
Lloh9:
adrp x8, _OPR_LEN@GOTPAGE
Lloh10:
ldr x8, [x8, _OPR_LEN@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ret
LBB0_9:
Lloh12:
adrp x8, _OPR_BNOT@GOTPAGE
Lloh13:
ldr x8, [x8, _OPR_BNOT@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _OPR_NOT,4,2 ; @OPR_NOT
.comm _OPR_MINUS,4,2 ; @OPR_MINUS
.comm _OPR_BNOT,4,2 ; @OPR_BNOT
.comm _OPR_LEN,4,2 ; @OPR_LEN
.comm _OPR_NOUNOPR,4,2 ; @OPR_NOUNOPR
.no_dead_strip _getunopr
.subsections_via_symbols
| AnghaBench/RetroArch/deps/lua/src/extr_lparser.c_getunopr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SYS_PORTS_ChangeNotificationPullUpEnable ## -- Begin function SYS_PORTS_ChangeNotificationPullUpEnable
.p2align 4, 0x90
_SYS_PORTS_ChangeNotificationPullUpEnable: ## @SYS_PORTS_ChangeNotificationPullUpEnable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SYS_PORTS_ChangeNotificationPullUpEnable ; -- Begin function SYS_PORTS_ChangeNotificationPullUpEnable
.p2align 2
_SYS_PORTS_ChangeNotificationPullUpEnable: ; @SYS_PORTS_ChangeNotificationPullUpEnable
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/mongoose/examples/PIC32/http_server/firmware/src/system_config/pic32mx_eth_sk2_encx24j600/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_ChangeNotificationPullUpEnable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fetchXGetFile ## -- Begin function fetchXGetFile
.p2align 4, 0x90
_fetchXGetFile: ## @fetchXGetFile
.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
testq %rsi, %rsi
je LBB0_3
## %bb.1:
movq %rbx, %rdi
callq _fetchStatFile
cmpl $-1, %eax
je LBB0_2
LBB0_3:
movl 4(%rbx), %edi
leaq L_.str(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_7
## %bb.4:
movq %rax, %r14
movl (%rbx), %esi
testl %esi, %esi
je LBB0_8
## %bb.5:
movq _SEEK_SET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _fseeko
cmpl $-1, %eax
jne LBB0_8
## %bb.6:
movq %r14, %rdi
callq _fclose
LBB0_7:
xorl %r14d, %r14d
xorl %eax, %eax
callq _fetch_syserr
jmp LBB0_8
LBB0_2:
xorl %r14d, %r14d
LBB0_8:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "re"
.comm _SEEK_SET,4,2 ## @SEEK_SET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fetchXGetFile ; -- Begin function fetchXGetFile
.p2align 2
_fetchXGetFile: ; @fetchXGetFile
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
cbz x1, LBB0_2
; %bb.1:
mov x0, x20
bl _fetchStatFile
cmn w0, #1
b.eq LBB0_7
LBB0_2:
ldr w0, [x20, #4]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fopen
cbz x0, LBB0_6
; %bb.3:
mov x19, x0
ldr w1, [x20]
cbz w1, LBB0_8
; %bb.4:
Lloh2:
adrp x8, _SEEK_SET@GOTPAGE
Lloh3:
ldr x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
mov x0, x19
bl _fseeko
cmn w0, #1
b.ne LBB0_8
; %bb.5:
mov x0, x19
bl _fclose
LBB0_6:
bl _fetch_syserr
LBB0_7:
mov x19, #0
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "re"
.comm _SEEK_SET,4,2 ; @SEEK_SET
.subsections_via_symbols
| AnghaBench/freebsd/lib/libfetch/extr_file.c_fetchXGetFile.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function b53_enable_mib
_b53_enable_mib: ## @b53_enable_mib
.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 _B53_MGMT_PAGE@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq _B53_GLOBAL_CONFIG@GOTPCREL(%rip), %r15
movl (%r15), %edx
leaq -28(%rbp), %rcx
callq _b53_read8
movq _GC_RESET_MIB@GOTPCREL(%rip), %rax
movq _GC_MIB_AC_EN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
notl %ecx
andl -28(%rbp), %ecx
movl %ecx, -28(%rbp)
movl (%r14), %esi
movl (%r15), %edx
movq %rbx, %rdi
callq _b53_write8
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _B53_MGMT_PAGE,4,2 ## @B53_MGMT_PAGE
.comm _B53_GLOBAL_CONFIG,4,2 ## @B53_GLOBAL_CONFIG
.comm _GC_RESET_MIB,4,2 ## @GC_RESET_MIB
.comm _GC_MIB_AC_EN,4,2 ## @GC_MIB_AC_EN
.no_dead_strip _b53_enable_mib
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function b53_enable_mib
_b53_enable_mib: ; @b53_enable_mib
.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
Lloh0:
adrp x20, _B53_MGMT_PAGE@GOTPAGE
Lloh1:
ldr x20, [x20, _B53_MGMT_PAGE@GOTPAGEOFF]
ldr w1, [x20]
Lloh2:
adrp x21, _B53_GLOBAL_CONFIG@GOTPAGE
Lloh3:
ldr x21, [x21, _B53_GLOBAL_CONFIG@GOTPAGEOFF]
ldr w2, [x21]
add x3, sp, #12
bl _b53_read8
Lloh4:
adrp x8, _GC_RESET_MIB@GOTPAGE
Lloh5:
ldr x8, [x8, _GC_RESET_MIB@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
Lloh7:
adrp x9, _GC_MIB_AC_EN@GOTPAGE
Lloh8:
ldr x9, [x9, _GC_MIB_AC_EN@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [sp, #12]
bic w3, w9, w8
str w3, [sp, #12]
ldr w1, [x20]
ldr w2, [x21]
mov x0, x19
bl _b53_write8
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _B53_MGMT_PAGE,4,2 ; @B53_MGMT_PAGE
.comm _B53_GLOBAL_CONFIG,4,2 ; @B53_GLOBAL_CONFIG
.comm _GC_RESET_MIB,4,2 ; @GC_RESET_MIB
.comm _GC_MIB_AC_EN,4,2 ; @GC_MIB_AC_EN
.no_dead_strip _b53_enable_mib
.subsections_via_symbols
| AnghaBench/linux/drivers/net/dsa/b53/extr_b53_common.c_b53_enable_mib.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getbits ## -- Begin function getbits
.p2align 4, 0x90
_getbits: ## @getbits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
subl %edx, %esi
leal 1(%rsi), %ecx
## kill: def $cl killed $cl killed $ecx
shrl %cl, %edi
movl $-1, %eax
movl %edx, %ecx
shll %cl, %eax
notl %eax
andl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "result = %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getbits ; -- Begin function getbits
.p2align 2
_getbits: ; @getbits
.cfi_startproc
; %bb.0:
sub w8, w1, w2
add w8, w8, #1
lsr w8, w0, w8
mov w9, #-1
lsl w9, w9, w2
bic w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "result = %d"
.subsections_via_symbols
| the_stack_data/184518787.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mc13783_adc_bp_show
_mc13783_adc_bp_show: ## @mc13783_adc_bp_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq _to_platform_device
movq %rax, %rdi
callq _platform_get_device_id
movl (%rax), %r12d
leaq -36(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq _mc13783_adc_read
testl %eax, %eax
jne LBB0_5
## %bb.1:
movq _MC13783_ADC_BPDIV2@GOTPCREL(%rip), %rax
movl -36(%rbp), %ecx
leal (%rcx,%rcx,8), %edi
testl %r12d, (%rax)
je LBB0_3
## %bb.2:
movl $2, %esi
callq _DIV_ROUND_CLOSEST
movl %eax, %edx
jmp LBB0_4
LBB0_3:
movl $4, %esi
callq _DIV_ROUND_CLOSEST
movl %eax, %edx
addl $2400, %edx ## imm = 0x960
LBB0_4:
movl %edx, -36(%rbp)
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _sprintf
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MC13783_ADC_BPDIV2,4,2 ## @MC13783_ADC_BPDIV2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.no_dead_strip _mc13783_adc_bp_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mc13783_adc_bp_show
_mc13783_adc_bp_show: ; @mc13783_adc_bp_show
.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
bl _to_platform_device
bl _platform_get_device_id
ldr w22, [x0]
add x2, sp, #12
mov x0, x21
mov x1, x20
bl _mc13783_adc_read
cbnz w0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _MC13783_ADC_BPDIV2@GOTPAGE
Lloh1:
ldr x8, [x8, _MC13783_ADC_BPDIV2@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [sp, #12]
add w0, w9, w9, lsl #3
tst w8, w22
b.eq LBB0_3
; %bb.2:
mov w1, #2
bl _DIV_ROUND_CLOSEST
mov x2, x0
b LBB0_4
LBB0_3:
mov w1, #4
bl _DIV_ROUND_CLOSEST
add w2, w0, #2400
LBB0_4:
str w2, [sp, #12]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _sprintf
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MC13783_ADC_BPDIV2,4,2 ; @MC13783_ADC_BPDIV2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.no_dead_strip _mc13783_adc_bp_show
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_mc13783-adc.c_mc13783_adc_bp_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function severity_guess
_severity_guess: ## @severity_guess
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $46, %esi
callq _strrchr
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rax, %rbx
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _strcmp
movq _VE_TRY@GOTPCREL(%rip), %r14
testq %rax, %rax
je LBB0_5
## %bb.2:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_5
## %bb.3:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_5
LBB0_4:
movq _VE_WANT@GOTPCREL(%rip), %r14
LBB0_5:
movl (%r14), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".conf"
L_.str.1: ## @.str.1
.asciz ".cookie"
L_.str.2: ## @.str.2
.asciz ".hints"
.comm _VE_TRY,4,2 ## @VE_TRY
.comm _VE_WANT,4,2 ## @VE_WANT
.no_dead_strip _severity_guess
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function severity_guess
_severity_guess: ; @severity_guess
.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 w1, #46 ; =0x2e
bl _strrchr
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbz x0, LBB0_5
; %bb.2:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _strcmp
cbz x0, LBB0_5
; %bb.3:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _strcmp
cbz x0, LBB0_5
LBB0_4:
Lloh6:
adrp x8, _VE_WANT@GOTPAGE
Lloh7:
ldr x8, [x8, _VE_WANT@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh8:
adrp x8, _VE_TRY@GOTPAGE
Lloh9:
ldr x8, [x8, _VE_TRY@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".conf"
l_.str.1: ; @.str.1
.asciz ".cookie"
l_.str.2: ; @.str.2
.asciz ".hints"
.comm _VE_TRY,4,2 ; @VE_TRY
.comm _VE_WANT,4,2 ; @VE_WANT
.no_dead_strip _severity_guess
.subsections_via_symbols
| assembly_file_96874.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uni2char
_uni2char: ## @uni2char
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
jle LBB0_1
## %bb.2:
movl %edi, %eax
movq _page_uni2charset@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movzbl %ah, %edx
movq (%rcx,%rdx,8), %rcx
testq %rcx, %rcx
je LBB0_5
## %bb.3:
movzbl %al, %eax
movb (%rcx,%rax), %al
testb %al, %al
je LBB0_5
## %bb.4:
movb %al, (%rsi)
movl $1, %eax
popq %rbp
retq
LBB0_1:
movq _ENAMETOOLONG@GOTPCREL(%rip), %rcx
jmp LBB0_6
LBB0_5:
movq _EINVAL@GOTPCREL(%rip), %rcx
LBB0_6:
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENAMETOOLONG,4,2 ## @ENAMETOOLONG
.comm _page_uni2charset,8,3 ## @page_uni2charset
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _uni2char
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uni2char
_uni2char: ; @uni2char
.cfi_startproc
; %bb.0:
; kill: def $w0 killed $w0 def $x0
cmp w2, #0
b.le LBB0_4
; %bb.1:
Lloh0:
adrp x8, _page_uni2charset@GOTPAGE
Lloh1:
ldr x8, [x8, _page_uni2charset@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ubfx w9, w0, #8, #8
ldr x8, [x8, w9, uxtw #3]
cbz x8, LBB0_5
; %bb.2:
and x9, x0, #0xff
ldrb w8, [x8, x9]
cbz w8, LBB0_5
; %bb.3:
strb w8, [x1]
mov w0, #1
ret
LBB0_4:
Lloh3:
adrp x8, _ENAMETOOLONG@GOTPAGE
Lloh4:
ldr x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _ENAMETOOLONG,4,2 ; @ENAMETOOLONG
.comm _page_uni2charset,8,3 ; @page_uni2charset
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _uni2char
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/nls/extr_nls_iso8859-13.c_uni2char.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rtl8139_get_drvinfo
_rtl8139_get_drvinfo: ## @rtl8139_get_drvinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
callq _netdev_priv
movq %rax, %r14
movl 12(%rbx), %edi
movq _DRV_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcpy
movl 8(%rbx), %edi
movq _DRV_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcpy
movl 4(%rbx), %r15d
movl 4(%r14), %edi
callq _pci_name
movl %r15d, %edi
movl %eax, %esi
callq _strcpy
movl (%r14), %eax
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DRV_NAME,4,2 ## @DRV_NAME
.comm _DRV_VERSION,4,2 ## @DRV_VERSION
.no_dead_strip _rtl8139_get_drvinfo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rtl8139_get_drvinfo
_rtl8139_get_drvinfo: ; @rtl8139_get_drvinfo
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
bl _netdev_priv
mov x20, x0
ldr w0, [x19, #12]
Lloh0:
adrp x8, _DRV_NAME@GOTPAGE
Lloh1:
ldr x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _strcpy
ldr w0, [x19, #8]
Lloh3:
adrp x8, _DRV_VERSION@GOTPAGE
Lloh4:
ldr x8, [x8, _DRV_VERSION@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _strcpy
ldr w21, [x19, #4]
ldr w0, [x20, #4]
bl _pci_name
mov x1, x0
mov x0, x21
bl _strcpy
ldr w8, [x20]
str w8, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DRV_NAME,4,2 ; @DRV_NAME
.comm _DRV_VERSION,4,2 ; @DRV_VERSION
.no_dead_strip _rtl8139_get_drvinfo
.subsections_via_symbols
| assembly_file_36773.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 compose
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_compose: ## @compose
.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 $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -52(%rbp) ## 4-byte Spill
movl %r8d, -56(%rbp) ## 4-byte Spill
testl %r8d, %r8d
jle LBB0_3
## %bb.1:
movq %rdx, %r12
decl -56(%rbp) ## 4-byte Folded Spill
movslq -52(%rbp), %r9 ## 4-byte Folded Reload
movq _icoeff@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %r8
movq 8(%rax), %rcx
shlq $2, %r9
movq %r9, -72(%rbp) ## 8-byte Spill
movl $4, %r13d
xorl %eax, %eax
movq %rdi, -80(%rbp) ## 8-byte Spill
movq %rsi, -48(%rbp) ## 8-byte Spill
movl -56(%rbp), %r14d ## 4-byte Reload
movl -52(%rbp), %r15d ## 4-byte Reload
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rax, -88(%rbp) ## 8-byte Spill
leal -5(%r13), %edi
movss (%rsi,%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, (%r12,%rax), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
movss (%r8), %xmm1 ## xmm1 = mem[0],zero,zero,zero
insertps $16, (%rcx), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[2,3]
mulps %xmm0, %xmm1
movaps %xmm1, -160(%rbp) ## 16-byte Spill
movl %r14d, %esi
callq _avpriv_mirror
movl %eax, %ebx
imull %r15d, %ebx
leal -3(%r13), %edi
movl %r14d, %esi
callq _avpriv_mirror
imull %r15d, %eax
movq _icoeff@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq %ebx, %rdx
cltq
movq (%rcx), %rsi
movq 8(%rcx), %rcx
leal -6(%r13), %edi
movq -48(%rbp), %r8 ## 8-byte Reload
movss (%r8,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, (%r12,%rdx,4), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
movq -48(%rbp), %rdx ## 8-byte Reload
movss (%rdx,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
insertps $16, (%r12,%rax,4), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[2,3]
addps %xmm0, %xmm1
movss 4(%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, 4(%rcx), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
mulps %xmm1, %xmm0
movaps %xmm0, -144(%rbp) ## 16-byte Spill
movl %r14d, %esi
callq _avpriv_mirror
movl %eax, %ebx
imull %r15d, %ebx
leal -2(%r13), %edi
movl %r14d, %esi
callq _avpriv_mirror
imull %r15d, %eax
movq _icoeff@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq %ebx, %rdx
cltq
movq (%rcx), %rsi
movq 8(%rcx), %rcx
leal -7(%r13), %edi
movq -48(%rbp), %r8 ## 8-byte Reload
movss (%r8,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, (%r12,%rdx,4), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
movq -48(%rbp), %rdx ## 8-byte Reload
movss (%rdx,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
insertps $16, (%r12,%rax,4), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[2,3]
addps %xmm0, %xmm1
movss 8(%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, 8(%rcx), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
mulps %xmm1, %xmm0
movaps %xmm0, -128(%rbp) ## 16-byte Spill
movl %r14d, %esi
callq _avpriv_mirror
movl %eax, %ebx
imull %r15d, %ebx
leal -1(%r13), %edi
movl %edi, -60(%rbp) ## 4-byte Spill
movl %r14d, %esi
callq _avpriv_mirror
imull %r15d, %eax
movq _icoeff@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq %ebx, %rdx
cltq
movq (%rcx), %rsi
movq 8(%rcx), %rcx
leal -8(%r13), %edi
movq -48(%rbp), %r8 ## 8-byte Reload
movss (%r8,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, (%r12,%rdx,4), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
movq -48(%rbp), %rdx ## 8-byte Reload
movss (%rdx,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
insertps $16, (%r12,%rax,4), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[2,3]
addps %xmm0, %xmm1
movss 12(%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, 12(%rcx), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
mulps %xmm1, %xmm0
movaps %xmm0, -112(%rbp) ## 16-byte Spill
movl %r14d, %esi
callq _avpriv_mirror
movl %eax, %ebx
imull %r15d, %ebx
movl %r13d, %edi
movl %r14d, %esi
callq _avpriv_mirror
movq -80(%rbp), %rdi ## 8-byte Reload
imull %r15d, %eax
movq _icoeff@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rcx), %r8
movq 8(%rcx), %rcx
movslq %ebx, %rsi
cvtps2pd -160(%rbp), %xmm0 ## 16-byte Folded Reload
cvtps2pd -144(%rbp), %xmm1 ## 16-byte Folded Reload
cvtps2pd -128(%rbp), %xmm2 ## 16-byte Folded Reload
cvtps2pd -112(%rbp), %xmm3 ## 16-byte Folded Reload
cltq
movq -48(%rbp), %r9 ## 8-byte Reload
movss (%r9,%rsi,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero
insertps $16, (%r12,%rsi,4), %xmm4 ## xmm4 = xmm4[0],mem[0],xmm4[2,3]
movq -48(%rbp), %rsi ## 8-byte Reload
addpd %xmm0, %xmm1
movss (%rsi,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
insertps $16, (%r12,%rax,4), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3]
movq -88(%rbp), %rax ## 8-byte Reload
addpd %xmm1, %xmm2
movss 16(%r8), %xmm1 ## xmm1 = mem[0],zero,zero,zero
insertps $16, 16(%rcx), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[2,3]
addps %xmm4, %xmm0
mulps %xmm0, %xmm1
cvtps2pd %xmm1, %xmm0
addpd %xmm2, %xmm3
addpd %xmm3, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
mulsd LCPI0_0(%rip), %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movss %xmm0, (%rdi,%rax)
subq -72(%rbp), %rax ## 8-byte Folded Reload
movl -60(%rbp), %r9d ## 4-byte Reload
movl %r9d, %r13d
jmp LBB0_2
LBB0_3:
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _icoeff,8,3 ## @icoeff
.no_dead_strip _compose
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function compose
_compose: ; @compose
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
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
.cfi_offset b10, -120
.cfi_offset b11, -128
subs w23, w4, #1
b.lt LBB0_3
; %bb.1:
mov x19, x3
mov x20, x2
mov x21, x1
mov x28, x0
mov x26, #0 ; =0x0
Lloh0:
adrp x27, _icoeff@GOTPAGE
Lloh1:
ldr x27, [x27, _icoeff@GOTPAGEOFF]
ldr x9, [x27]
ldp x8, x9, [x9]
sbfiz x10, x19, #2, #32
str x10, [sp, #8] ; 8-byte Folded Spill
mov w24, #4 ; =0x4
fmov d8, #0.50000000
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr s0, [x21, x26]
ldr s1, [x8]
fmul s0, s0, s1
fcvt d9, s0
ldr s0, [x20, x26]
ldr s1, [x9]
fmul s0, s0, s1
fcvt d10, s0
sub w0, w24, #5
mov x1, x23
bl _avpriv_mirror
mul w25, w0, w19
sub w0, w24, #3
mov x1, x23
bl _avpriv_mirror
mul w8, w0, w19
ldr x9, [x27]
ldp x10, x9, [x9]
ldr s0, [x10, #4]
ldr s1, [x21, w25, sxtw #2]
ldr s2, [x21, w8, sxtw #2]
fadd s1, s1, s2
fmul s0, s0, s1
fcvt d0, s0
fadd d9, d9, d0
ldr s0, [x20, w25, sxtw #2]
ldr s1, [x20, w8, sxtw #2]
ldr s2, [x9, #4]
fadd s0, s0, s1
fmul s0, s2, s0
fcvt d0, s0
fadd d10, d10, d0
sub w0, w24, #6
mov x1, x23
bl _avpriv_mirror
mul w25, w0, w19
sub w0, w24, #2
mov x1, x23
bl _avpriv_mirror
mul w8, w0, w19
ldr x9, [x27]
ldp x10, x9, [x9]
ldr s0, [x10, #8]
ldr s1, [x21, w25, sxtw #2]
ldr s2, [x21, w8, sxtw #2]
fadd s1, s1, s2
fmul s0, s0, s1
fcvt d0, s0
fadd d9, d9, d0
ldr s0, [x20, w25, sxtw #2]
ldr s1, [x20, w8, sxtw #2]
ldr s2, [x9, #8]
fadd s0, s0, s1
fmul s0, s2, s0
fcvt d0, s0
fadd d10, d10, d0
sub w0, w24, #7
mov x1, x23
bl _avpriv_mirror
mul w22, w0, w19
sub w25, w24, #1
mov x0, x25
mov x1, x23
bl _avpriv_mirror
mul w8, w0, w19
ldr x9, [x27]
ldp x10, x9, [x9]
ldr s0, [x10, #12]
ldr s1, [x21, w22, sxtw #2]
ldr s2, [x21, w8, sxtw #2]
fadd s1, s1, s2
fmul s0, s0, s1
fcvt d0, s0
fadd d9, d9, d0
ldr s0, [x20, w22, sxtw #2]
ldr s1, [x20, w8, sxtw #2]
ldr s2, [x9, #12]
fadd s0, s0, s1
fmul s0, s2, s0
fcvt d0, s0
fadd d10, d10, d0
sub w0, w24, #8
mov x1, x23
bl _avpriv_mirror
mul w22, w0, w19
mov x0, x24
mov x1, x23
bl _avpriv_mirror
mul w10, w0, w19
ldr x9, [x27]
ldp x8, x9, [x9]
ldr s0, [x8, #16]
ldr s1, [x21, w22, sxtw #2]
ldr s2, [x21, w10, sxtw #2]
fadd s1, s1, s2
fmul s0, s0, s1
fcvt d0, s0
ldr s1, [x20, w22, sxtw #2]
ldr s2, [x20, w10, sxtw #2]
fadd d0, d9, d0
ldr s3, [x9, #16]
fadd s1, s1, s2
fmul s1, s3, s1
fcvt d1, s1
fadd d1, d10, d1
fadd d0, d0, d1
fmul d0, d0, d8
fcvt s0, d0
str s0, [x28, x26]
mov x24, x25
ldr x10, [sp, #8] ; 8-byte Folded Reload
sub x26, x26, x10
b LBB0_2
LBB0_3:
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
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _icoeff,8,3 ; @icoeff
.no_dead_strip _compose
.subsections_via_symbols
| assembly_file_123000.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _snd_info_get_str ## -- Begin function snd_info_get_str
.p2align 4, 0x90
_snd_info_get_str: ## @snd_info_get_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movzbl (%rsi), %ecx
cmpl $34, %ecx
je LBB0_4
## %bb.1:
cmpl $39, %ecx
jne LBB0_2
LBB0_4:
leaq 1(%rax), %rsi
cmpl $2, %edx
jl LBB0_11
## %bb.5:
movzbl (%rsi), %r8d
testb %r8b, %r8b
sete %r9b
cmpb %cl, %r8b
sete %r10b
orb %r9b, %r10b
jne LBB0_11
## %bb.6:
incq %rdi
addq $2, %rax
movq %rdi, %r9
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r9, %rdi
movq %rax, %rsi
movb %r8b, -1(%r9)
cmpl $2, %edx
jle LBB0_10
## %bb.7: ## in Loop: Header=BB0_9 Depth=1
movzbl (%rsi), %r8d
testb %r8b, %r8b
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_9 Depth=1
decl %edx
leaq 1(%rdi), %r9
leaq 1(%rsi), %rax
cmpb %cl, %r8b
jne LBB0_9
LBB0_10:
leaq -1(%rsi), %rax
LBB0_11:
addq $2, %rax
cmpb %cl, (%rsi)
cmovneq %rsi, %rax
LBB0_17:
movb $0, (%rdi)
jmp LBB0_18
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_18 Depth=1
incq %rax
LBB0_18: ## =>This Inner Loop Header: Depth=1
movzbl (%rax), %ecx
cmpl $32, %ecx
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpl $9, %ecx
je LBB0_20
## %bb.21:
popq %rbp
retq
LBB0_2:
cmpl $2, %edx
jl LBB0_17
## %bb.3:
incq %rax
movabsq $4294967809, %rsi ## imm = 0x100000201
cmpb $32, %cl
ja LBB0_15
.p2align 4, 0x90
LBB0_14:
movzbl %cl, %r8d
btq %r8, %rsi
jb LBB0_16
LBB0_15: ## =>This Inner Loop Header: Depth=1
movb %cl, (%rdi)
incq %rdi
cmpl $2, %edx
jle LBB0_17
## %bb.12: ## in Loop: Header=BB0_15 Depth=1
decl %edx
movzbl (%rax), %ecx
incq %rax
cmpb $32, %cl
jbe LBB0_14
jmp LBB0_15
LBB0_16:
decq %rax
jmp LBB0_17
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _snd_info_get_str ; -- Begin function snd_info_get_str
.p2align 2
_snd_info_get_str: ; @snd_info_get_str
.cfi_startproc
; %bb.0:
ldrb w8, [x1]
cmp w8, #34
b.eq LBB0_2
; %bb.1:
cmp w8, #39
b.ne LBB0_13
LBB0_2:
add x9, x1, #1
cmp w2, #2
b.lt LBB0_8
; %bb.3:
ldrb w10, [x9]
cmp w10, #0
ccmp w10, w8, #4, ne
b.eq LBB0_8
; %bb.4:
add x12, x0, #1
add x11, x1, #2
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x12
mov x9, x11
sturb w10, [x12, #-1]
cmp w2, #2
b.le LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
sub w2, w2, #1
mov x11, x9
ldrb w10, [x11], #1
add x12, x0, #1
cmp w10, #0
ccmp w10, w8, #4, ne
b.ne LBB0_5
LBB0_7:
sub x1, x9, #1
LBB0_8:
ldrb w10, [x9]
add x11, x1, #2
cmp w10, w8
csel x1, x11, x9, eq
LBB0_9:
strb wzr, [x0]
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x1]
cmp w8, #32
ccmp w8, #9, #4, ne
b.ne LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
add x1, x1, #1
b LBB0_10
LBB0_12:
mov x0, x1
ret
LBB0_13:
cmp w2, #2
b.lt LBB0_9
; %bb.14:
add x1, x1, #1
mov w9, #1 ; =0x1
mov x10, #513 ; =0x201
movk x10, #1, lsl #32
cmp w8, #32
b.hi LBB0_16
LBB0_15:
mov w11, w8
lsl x11, x9, x11
tst x11, x10
b.ne LBB0_18
LBB0_16: ; =>This Inner Loop Header: Depth=1
mov x11, x0
strb w8, [x11], #1
cmp w2, #2
b.le LBB0_19
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
sub w2, w2, #1
ldrb w8, [x1], #1
mov x0, x11
cmp w8, #32
b.ls LBB0_15
b LBB0_16
LBB0_18:
sub x1, x1, #1
b LBB0_9
LBB0_19:
add x0, x0, #1
b LBB0_9
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_143661.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function REG_CP_SET_DRAW_STATE__2
_REG_CP_SET_DRAW_STATE__2: ## @REG_CP_SET_DRAW_STATE__2
.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 (%rdi,%rdi,2), %eax
addl $2, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _REG_CP_SET_DRAW_STATE__2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function REG_CP_SET_DRAW_STATE__2
_REG_CP_SET_DRAW_STATE__2: ; @REG_CP_SET_DRAW_STATE__2
.cfi_startproc
; %bb.0:
add w8, w0, w0, lsl #1
add w0, w8, #2
ret
.cfi_endproc
; -- End function
.no_dead_strip _REG_CP_SET_DRAW_STATE__2
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_REG_CP_SET_DRAW_STATE__2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pwm_fan_regulator_disable
_pwm_fan_regulator_disable: ## @pwm_fan_regulator_disable
.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 _regulator_disable ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _pwm_fan_regulator_disable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pwm_fan_regulator_disable
_pwm_fan_regulator_disable: ; @pwm_fan_regulator_disable
.cfi_startproc
; %bb.0:
b _regulator_disable
.cfi_endproc
; -- End function
.no_dead_strip _pwm_fan_regulator_disable
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_pwm-fan.c_pwm_fan_regulator_disable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dsi_get_dsidrv_data
_dsi_get_dsidrv_data: ## @dsi_get_dsidrv_data
.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 _dev_get_drvdata ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dsi_get_dsidrv_data
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dsi_get_dsidrv_data
_dsi_get_dsidrv_data: ; @dsi_get_dsidrv_data
.cfi_startproc
; %bb.0:
b _dev_get_drvdata
.cfi_endproc
; -- End function
.no_dead_strip _dsi_get_dsidrv_data
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dsi.c_dsi_get_dsidrv_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gxfb_map_video_memory
_gxfb_map_video_memory: ## @gxfb_map_video_memory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq 16(%rdi), %r15
movq %rsi, %rdi
callq _pci_enable_device
testl %eax, %eax
js LBB0_13
## %bb.1:
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl $3, %esi
callq _pci_request_region
testl %eax, %eax
js LBB0_13
## %bb.2:
movq %rbx, %rdi
movl $3, %esi
callq _pci_ioremap_bar
movq %rax, 16(%r15)
testq %rax, %rax
je LBB0_3
## %bb.4:
leaq L_.str.1(%rip), %rdx
movq %rbx, %rdi
movl $2, %esi
callq _pci_request_region
testl %eax, %eax
js LBB0_13
## %bb.5:
movq %rbx, %rdi
movl $2, %esi
callq _pci_ioremap_bar
movq %rax, 8(%r15)
testq %rax, %rax
je LBB0_3
## %bb.6:
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
movl $1, %esi
callq _pci_request_region
testl %eax, %eax
js LBB0_13
## %bb.7:
movq %rbx, %rdi
movl $1, %esi
callq _pci_ioremap_bar
movq %rax, (%r15)
testq %rax, %rax
je LBB0_3
## %bb.8:
leaq L_.str.3(%rip), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq _pci_request_region
testl %eax, %eax
js LBB0_13
## %bb.9:
movq %rbx, %rdi
xorl %esi, %esi
callq _pci_resource_start
movl %eax, (%r14)
movq _vram@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
testl %esi, %esi
jne LBB0_11
## %bb.10:
xorl %eax, %eax
callq _gx_frame_buffer_size
movl %eax, %esi
movl (%r14), %eax
LBB0_11:
movl %esi, 4(%r14)
movl %eax, %edi
callq _ioremap_wc
movl %eax, 8(%r14)
testl %eax, %eax
je LBB0_3
## %bb.12:
movq _DC_GLIU0_MEM_OFFSET@GOTPCREL(%rip), %rax
movl (%rax), %esi
movzbl 3(%r14), %edx
shll $24, %edx
movq %r15, %rdi
callq _write_dc
movl (%r14), %ecx
movl 4(%r14), %eax
leal 1023(%rax), %edx
testl %eax, %eax
cmovnsl %eax, %edx
sarl $10, %edx
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _dev_info
xorl %eax, %eax
jmp LBB0_13
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gxfb (video processor)"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "gxfb (display controller)"
L_.str.2: ## @.str.2
.asciz "gxfb (graphics processor)"
L_.str.3: ## @.str.3
.asciz "gxfb (framebuffer)"
.comm _vram,4,2 ## @vram
.comm _DC_GLIU0_MEM_OFFSET,4,2 ## @DC_GLIU0_MEM_OFFSET
L_.str.4: ## @.str.4
.asciz "%d KiB of video memory at 0x%lx\n"
.no_dead_strip _gxfb_map_video_memory
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gxfb_map_video_memory
_gxfb_map_video_memory: ; @gxfb_map_video_memory
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr x21, [x0, #16]
mov x0, x1
bl _pci_enable_device
tbnz w0, #31, LBB0_13
; %bb.1:
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #3
bl _pci_request_region
tbnz w0, #31, LBB0_13
; %bb.2:
mov x0, x19
mov w1, #3
bl _pci_ioremap_bar
str x0, [x21, #16]
cbz x0, LBB0_12
; %bb.3:
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
mov w1, #2
bl _pci_request_region
tbnz w0, #31, LBB0_13
; %bb.4:
mov x0, x19
mov w1, #2
bl _pci_ioremap_bar
str x0, [x21, #8]
cbz x0, LBB0_12
; %bb.5:
Lloh4:
adrp x2, l_.str.2@PAGE
Lloh5:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
mov w1, #1
bl _pci_request_region
tbnz w0, #31, LBB0_13
; %bb.6:
mov x0, x19
mov w1, #1
bl _pci_ioremap_bar
str x0, [x21]
cbz x0, LBB0_12
; %bb.7:
Lloh6:
adrp x2, l_.str.3@PAGE
Lloh7:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x19
mov w1, #0
bl _pci_request_region
tbnz w0, #31, LBB0_13
; %bb.8:
mov x0, x19
mov w1, #0
bl _pci_resource_start
str w0, [x20]
Lloh8:
adrp x8, _vram@GOTPAGE
Lloh9:
ldr x8, [x8, _vram@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
cbnz w1, LBB0_10
; %bb.9:
bl _gx_frame_buffer_size
mov x1, x0
ldr w0, [x20]
LBB0_10:
str w1, [x20, #4]
bl _ioremap_wc
str w0, [x20, #8]
cbz w0, LBB0_12
; %bb.11:
Lloh11:
adrp x8, _DC_GLIU0_MEM_OFFSET@GOTPAGE
Lloh12:
ldr x8, [x8, _DC_GLIU0_MEM_OFFSET@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
ldrb w8, [x20, #3]
lsl w2, w8, #24
mov x0, x21
bl _write_dc
ldp w3, w8, [x20]
add w9, w8, #1023
cmp w8, #0
csel w8, w9, w8, lt
asr w2, w8, #10
Lloh14:
adrp x1, l_.str.4@PAGE
Lloh15:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _dev_info
mov w0, #0
b LBB0_13
LBB0_12:
Lloh16:
adrp x8, _ENOMEM@GOTPAGE
Lloh17:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
neg w0, w8
LBB0_13:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gxfb (video processor)"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "gxfb (display controller)"
l_.str.2: ; @.str.2
.asciz "gxfb (graphics processor)"
l_.str.3: ; @.str.3
.asciz "gxfb (framebuffer)"
.comm _vram,4,2 ; @vram
.comm _DC_GLIU0_MEM_OFFSET,4,2 ; @DC_GLIU0_MEM_OFFSET
l_.str.4: ; @.str.4
.asciz "%d KiB of video memory at 0x%lx\n"
.no_dead_strip _gxfb_map_video_memory
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/geode/extr_gxfb_core.c_gxfb_map_video_memory.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipr_reset_enable_ioa
_ipr_reset_enable_ioa: ## @ipr_reset_enable_ioa
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 40(%rdi), %r15
movq _ipr_ioafp_identify_hrrq@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rdi)
movq %r15, %rdi
callq _ipr_init_ioa_mem
cmpl $0, (%r15)
jle LBB0_3
## %bb.1:
movl $4, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 56(%r15), %rdi
addq %rbx, %rdi
callq _spin_lock
movq 56(%r15), %rdi
movl $1, -4(%rdi,%rbx)
addq %rbx, %rdi
callq _spin_unlock
incq %r12
movslq (%r15), %rax
addq $8, %rbx
cmpq %rax, %r12
jl LBB0_2
LBB0_3:
cmpq $0, 16(%r15)
je LBB0_5
## %bb.4:
movq _IPR_ENDIAN_SWAP_KEY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 52(%r15), %esi
callq _writel
movl 52(%r15), %edi
callq _readl
movl %eax, -36(%rbp)
LBB0_5:
movl 48(%r15), %edi
callq _readl
movl %eax, -36(%rbp)
movl -36(%rbp), %eax
movq _IPR_PCII_IOA_TRANS_TO_OPER@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
je LBB0_7
## %bb.6:
movq _IPR_PCII_ERROR_INTERRUPTS@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _IPR_PCII_HRRQ_UPDATED@GOTPCREL(%rip), %rax
orl (%rax), %edi
movl 36(%r15), %esi
callq _writel
movl 32(%r15), %edi
callq _readl
movl %eax, -36(%rbp)
movq _IPR_RC_JOB_CONTINUE@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_7:
movl 4(%r15), %edi
movl 44(%r15), %esi
callq _writel
cmpq $0, 16(%r15)
je LBB0_9
## %bb.8:
movq _IPR_PCII_IPL_STAGE_CHANGE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
movl -40(%rbp), %eax
movq _IPR_PCII_OPER_INTERRUPTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl -40(%rbp), %edi
movl 40(%r15), %esi
callq _writeq
jmp LBB0_10
LBB0_9:
movq _IPR_PCII_OPER_INTERRUPTS@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 36(%r15), %esi
callq _writel
LBB0_10:
movl 32(%r15), %edi
callq _readl
movl %eax, -36(%rbp)
movq 24(%r15), %rdi
leaq L_.str(%rip), %rsi
callq _dev_info
cmpq $0, 16(%r15)
je LBB0_12
## %bb.11:
movq _ipr_reset_next_stage@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%r14)
movq _IPR_RC_JOB_CONTINUE@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_12:
movq _jiffies@GOTPCREL(%rip), %rax
movslq 8(%r15), %rcx
movq _HZ@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
imulq %rcx, %rdx
addq (%rax), %rdx
leaq 16(%r14), %rdi
movq %rdx, 24(%r14)
movq _ipr_oper_timeout@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r14)
movq _ipr_reset_ioa_job@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%r14)
callq _add_timer
movq (%r14), %rsi
addq $8, %r14
movq %r14, %rdi
callq _list_add_tail
movq _IPR_RC_JOB_RETURN@GOTPCREL(%rip), %rax
LBB0_13:
movl (%rax), %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENTER,4,2 ## @ENTER
.comm _ipr_ioafp_identify_hrrq,4,2 ## @ipr_ioafp_identify_hrrq
.comm _IPR_ENDIAN_SWAP_KEY,4,2 ## @IPR_ENDIAN_SWAP_KEY
.comm _IPR_PCII_IOA_TRANS_TO_OPER,4,2 ## @IPR_PCII_IOA_TRANS_TO_OPER
.comm _IPR_PCII_ERROR_INTERRUPTS,4,2 ## @IPR_PCII_ERROR_INTERRUPTS
.comm _IPR_PCII_HRRQ_UPDATED,4,2 ## @IPR_PCII_HRRQ_UPDATED
.comm _IPR_RC_JOB_CONTINUE,4,2 ## @IPR_RC_JOB_CONTINUE
.comm _IPR_PCII_IPL_STAGE_CHANGE,4,2 ## @IPR_PCII_IPL_STAGE_CHANGE
.comm _IPR_PCII_OPER_INTERRUPTS,4,2 ## @IPR_PCII_OPER_INTERRUPTS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Initializing IOA.\n"
.comm _ipr_reset_next_stage,4,2 ## @ipr_reset_next_stage
.comm _jiffies,8,3 ## @jiffies
.comm _HZ,4,2 ## @HZ
.comm _ipr_oper_timeout,4,2 ## @ipr_oper_timeout
.comm _ipr_reset_ioa_job,4,2 ## @ipr_reset_ioa_job
.comm _LEAVE,4,2 ## @LEAVE
.comm _IPR_RC_JOB_RETURN,4,2 ## @IPR_RC_JOB_RETURN
.no_dead_strip _ipr_reset_enable_ioa
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipr_reset_enable_ioa
_ipr_reset_enable_ioa: ; @ipr_reset_enable_ioa
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x20, [x0, #40]
Lloh0:
adrp x8, _ipr_ioafp_identify_hrrq@GOTPAGE
Lloh1:
ldr x8, [x8, _ipr_ioafp_identify_hrrq@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #36]
mov x0, x20
bl _ipr_init_ioa_mem
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0
mov x22, #0
mov w23, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #56]
add x8, x8, x21
add x0, x8, #4
bl _spin_lock
ldr x8, [x20, #56]
add x0, x8, x21
str w23, [x0], #4
bl _spin_unlock
add x22, x22, #1
ldrsw x8, [x20]
add x21, x21, #8
cmp x22, x8
b.lt LBB0_2
LBB0_3:
ldr x8, [x20, #16]
cbz x8, LBB0_5
; %bb.4:
Lloh3:
adrp x8, _IPR_ENDIAN_SWAP_KEY@GOTPAGE
Lloh4:
ldr x8, [x8, _IPR_ENDIAN_SWAP_KEY@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ldr w1, [x20, #52]
bl _writel
ldr w0, [x20, #52]
bl _readl
str w0, [sp, #12]
LBB0_5:
ldr w0, [x20, #48]
bl _readl
str w0, [sp, #12]
ldr w8, [sp, #12]
Lloh6:
adrp x9, _IPR_PCII_IOA_TRANS_TO_OPER@GOTPAGE
Lloh7:
ldr x9, [x9, _IPR_PCII_IOA_TRANS_TO_OPER@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.6:
Lloh9:
adrp x8, _IPR_PCII_ERROR_INTERRUPTS@GOTPAGE
Lloh10:
ldr x8, [x8, _IPR_PCII_ERROR_INTERRUPTS@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x9, _IPR_PCII_HRRQ_UPDATED@GOTPAGE
Lloh13:
ldr x9, [x9, _IPR_PCII_HRRQ_UPDATED@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w0, w9, w8
ldr w1, [x20, #36]
bl _writel
ldr w0, [x20, #32]
bl _readl
str w0, [sp, #12]
b LBB0_12
LBB0_7:
ldr w0, [x20, #4]
ldr w1, [x20, #44]
bl _writel
ldr x8, [x20, #16]
cbz x8, LBB0_9
; %bb.8:
Lloh15:
adrp x8, _IPR_PCII_IPL_STAGE_CHANGE@GOTPAGE
Lloh16:
ldr x8, [x8, _IPR_PCII_IPL_STAGE_CHANGE@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
str w8, [sp, #8]
ldr w8, [sp, #8]
Lloh18:
adrp x8, _IPR_PCII_OPER_INTERRUPTS@GOTPAGE
Lloh19:
ldr x8, [x8, _IPR_PCII_OPER_INTERRUPTS@GOTPAGEOFF]
Lloh20:
ldr wzr, [x8]
ldr w0, [sp, #8]
ldr w1, [x20, #40]
bl _writeq
b LBB0_10
LBB0_9:
Lloh21:
adrp x8, _IPR_PCII_OPER_INTERRUPTS@GOTPAGE
Lloh22:
ldr x8, [x8, _IPR_PCII_OPER_INTERRUPTS@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
ldr w1, [x20, #36]
bl _writel
LBB0_10:
ldr w0, [x20, #32]
bl _readl
str w0, [sp, #12]
ldr x0, [x20, #24]
Lloh24:
adrp x1, l_.str@PAGE
Lloh25:
add x1, x1, l_.str@PAGEOFF
bl _dev_info
ldr x8, [x20, #16]
cbz x8, LBB0_14
; %bb.11:
Lloh26:
adrp x8, _ipr_reset_next_stage@GOTPAGE
Lloh27:
ldr x8, [x8, _ipr_reset_next_stage@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
str w8, [x19, #36]
LBB0_12:
Lloh29:
adrp x8, _IPR_RC_JOB_CONTINUE@GOTPAGE
Lloh30:
ldr x8, [x8, _IPR_RC_JOB_CONTINUE@GOTPAGEOFF]
LBB0_13:
ldr w0, [x8]
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
LBB0_14:
Lloh31:
adrp x8, _jiffies@GOTPAGE
Lloh32:
ldr x8, [x8, _jiffies@GOTPAGEOFF]
Lloh33:
ldr x8, [x8]
ldrsw x9, [x20, #8]
Lloh34:
adrp x10, _HZ@GOTPAGE
Lloh35:
ldr x10, [x10, _HZ@GOTPAGEOFF]
Lloh36:
ldrsw x10, [x10]
madd x8, x10, x9, x8
str x8, [x19, #24]
Lloh37:
adrp x8, _ipr_oper_timeout@GOTPAGE
Lloh38:
ldr x8, [x8, _ipr_oper_timeout@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
mov x0, x19
str w8, [x0, #16]!
Lloh40:
adrp x8, _ipr_reset_ioa_job@GOTPAGE
Lloh41:
ldr x8, [x8, _ipr_reset_ioa_job@GOTPAGEOFF]
Lloh42:
ldr w8, [x8]
str w8, [x19, #32]
bl _add_timer
add x0, x19, #8
ldr x1, [x19]
bl _list_add_tail
Lloh43:
adrp x8, _IPR_RC_JOB_RETURN@GOTPAGE
Lloh44:
ldr x8, [x8, _IPR_RC_JOB_RETURN@GOTPAGEOFF]
b LBB0_13
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _ENTER,4,2 ; @ENTER
.comm _ipr_ioafp_identify_hrrq,4,2 ; @ipr_ioafp_identify_hrrq
.comm _IPR_ENDIAN_SWAP_KEY,4,2 ; @IPR_ENDIAN_SWAP_KEY
.comm _IPR_PCII_IOA_TRANS_TO_OPER,4,2 ; @IPR_PCII_IOA_TRANS_TO_OPER
.comm _IPR_PCII_ERROR_INTERRUPTS,4,2 ; @IPR_PCII_ERROR_INTERRUPTS
.comm _IPR_PCII_HRRQ_UPDATED,4,2 ; @IPR_PCII_HRRQ_UPDATED
.comm _IPR_RC_JOB_CONTINUE,4,2 ; @IPR_RC_JOB_CONTINUE
.comm _IPR_PCII_IPL_STAGE_CHANGE,4,2 ; @IPR_PCII_IPL_STAGE_CHANGE
.comm _IPR_PCII_OPER_INTERRUPTS,4,2 ; @IPR_PCII_OPER_INTERRUPTS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Initializing IOA.\n"
.comm _ipr_reset_next_stage,4,2 ; @ipr_reset_next_stage
.comm _jiffies,8,3 ; @jiffies
.comm _HZ,4,2 ; @HZ
.comm _ipr_oper_timeout,4,2 ; @ipr_oper_timeout
.comm _ipr_reset_ioa_job,4,2 ; @ipr_reset_ioa_job
.comm _LEAVE,4,2 ; @LEAVE
.comm _IPR_RC_JOB_RETURN,4,2 ; @IPR_RC_JOB_RETURN
.no_dead_strip _ipr_reset_enable_ioa
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_ipr.c_ipr_reset_enable_ioa.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av_get_output_timestamp ## -- Begin function av_get_output_timestamp
.p2align 4, 0x90
_av_get_output_timestamp: ## @av_get_output_timestamp
.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_3
## %bb.1:
movq (%rax), %rax
testq %rax, %rax
je LBB0_3
## %bb.2:
callq *%rax
xorl %eax, %eax
popq %rbp
retq
LBB0_3:
movq _ENOSYS@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _ENOSYS,4,2 ## @ENOSYS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av_get_output_timestamp ; -- Begin function av_get_output_timestamp
.p2align 2
_av_get_output_timestamp: ; @av_get_output_timestamp
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
cbz x8, LBB0_3
; %bb.1:
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.2:
blr x8
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh0:
adrp x8, _ENOSYS@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _AVERROR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOSYS,4,2 ; @ENOSYS
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_mux.c_av_get_output_timestamp.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 convert_r32g32_float
LCPI0_0:
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
LCPI0_1:
.space 4
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_convert_r32g32_float: ## @convert_r32g32_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 %r13
pushq %r12
pushq %rbx
subq $64, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -48(%rbp) ## 4-byte Spill
movl %ecx, -44(%rbp) ## 4-byte Spill
movq %rsi, -72(%rbp) ## 8-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
movl 32(%rbp), %eax
testl %eax, %eax
je LBB0_25
## %bb.1:
movl 16(%rbp), %r11d
movl %eax, %eax
movq %rax, -136(%rbp) ## 8-byte Spill
movl 24(%rbp), %r14d
leal -1(%r11), %esi
leaq (%rsi,%rsi,2), %rax
movq -72(%rbp), %rcx ## 8-byte Reload
leaq 12(%rcx,%rax,4), %rax
movq %rax, -128(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
leaq 8(%rax,%rsi,8), %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rsi, -224(%rbp) ## 8-byte Spill
leaq 1(%rsi), %rcx
movq %rcx, -200(%rbp) ## 8-byte Spill
andq $-4, %rcx
leaq -4(%rcx), %rsi
movq %rsi, -192(%rbp) ## 8-byte Spill
movq %rsi, %rdi
shrq $2, %rdi
incq %rdi
leaq (%rcx,%rcx,2), %rsi
movq %rsi, -152(%rbp) ## 8-byte Spill
movq %rdi, %rsi
movq %rdi, -184(%rbp) ## 8-byte Spill
andq $-2, %rdi
movq %rdi, -160(%rbp) ## 8-byte Spill
movaps LCPI0_1(%rip), %xmm0 ## xmm0 = <u,1.0E+0,1.0E+0,1.0E+0>
movaps LCPI0_0(%rip), %xmm1 ## xmm1 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0]
movq %rcx, -96(%rbp) ## 8-byte Spill
addq %rcx, %rcx
movq %rcx, -144(%rbp) ## 8-byte Spill
addq $32, %rax
movq %rax, -112(%rbp) ## 8-byte Spill
xorl %eax, %eax
xorl %ecx, %ecx
xorl %esi, %esi
movq %rsi, -56(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
incq %rdi
movq -80(%rbp), %rcx ## 8-byte Reload
addl -48(%rbp), %ecx ## 4-byte Folded Reload
movq -88(%rbp), %rax ## 8-byte Reload
addl -44(%rbp), %eax ## 4-byte Folded Reload
movq %rdi, %rsi
movq %rdi, -56(%rbp) ## 8-byte Spill
cmpq -136(%rbp), %rdi ## 8-byte Folded Reload
je LBB0_25
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_18 Depth 3
## Child Loop BB0_22 Depth 3
movl %ecx, %ecx
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %eax, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
cmpl $0, 24(%rbp)
je LBB0_24
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
movl %ecx, %eax
imull -44(%rbp), %eax ## 4-byte Folded Reload
## kill: def $ecx killed $ecx killed $rcx def $rcx
imull -48(%rbp), %ecx ## 4-byte Folded Reload
movq -64(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rax,4), %rsi
movq %rsi, -104(%rbp) ## 8-byte Spill
movq -72(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rcx,4), %rdi
movq %rdi, -232(%rbp) ## 8-byte Spill
movq -128(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rcx,4), %rcx
movq %rcx, -208(%rbp) ## 8-byte Spill
movq -120(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rax
movq %rax, -216(%rbp) ## 8-byte Spill
movq -80(%rbp), %rax ## 8-byte Reload
leaq (%rsi,%rax,4), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
movq -112(%rbp), %rax ## 8-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
leaq (%rax,%rcx,4), %rax
movq %rax, -168(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %r13d, %r13d
xorl %r10d, %r10d
jmp LBB0_4
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_4 Depth=2
incq %r10
addl %r8d, %r13d
addl %edx, %r15d
cmpq %r14, %r10
je LBB0_24
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_11 Depth 3
## Child Loop BB0_18 Depth 3
## Child Loop BB0_22 Depth 3
testl %r11d, %r11d
je LBB0_23
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl %r10d, %eax
imull %r8d, %eax
movl %r10d, %ecx
imull %edx, %ecx
xorl %r9d, %r9d
movq -232(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rax,4), %r12
movq -104(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rcx,4), %rcx
cmpl $3, -224(%rbp) ## 4-byte Folded Reload
jb LBB0_16
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movl %r10d, %eax
imull %r8d, %eax
movl %r10d, %esi
imull %edx, %esi
leaq (%rdi,%rax,4), %rdi
movq -216(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rsi,4), %rbx
cmpq %rbx, %rdi
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
movq -208(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rax,4), %rax
movq -104(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rsi,4), %rsi
cmpq %rax, %rsi
jb LBB0_16
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movq %r14, %rdi
cmpq $0, -192(%rbp) ## 8-byte Folded Reload
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_4 Depth=2
movl %r13d, %eax
movq -176(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rax,4), %r9
movl %r15d, %eax
movq -168(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rax,4), %r14
movq -160(%rbp), %rbx ## 8-byte Reload
xorl %esi, %esi
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Inner Loop Header: Depth=3
movups -32(%r14,%rsi,8), %xmm2
movups -16(%r14,%rsi,8), %xmm3
movaps %xmm1, %xmm4
unpckhpd %xmm2, %xmm4 ## xmm4 = xmm4[1],xmm2[1]
movaps %xmm1, %xmm5
insertps $204, %xmm2, %xmm5 ## xmm5 = xmm2[3],xmm5[1],zero,zero
shufps $132, %xmm4, %xmm2 ## xmm2 = xmm2[0,1],xmm4[0,2]
movlhps %xmm3, %xmm5 ## xmm5 = xmm5[0],xmm3[0]
movaps %xmm1, %xmm4
shufps $236, %xmm3, %xmm4 ## xmm4 = xmm4[0,3],xmm3[2,3]
shufps $120, %xmm4, %xmm4 ## xmm4 = xmm4[0,2,3,1]
movups %xmm4, 32(%r9)
movups %xmm5, 16(%r9)
movups %xmm2, (%r9)
movups (%r14,%rsi,8), %xmm2
movups 16(%r14,%rsi,8), %xmm3
movaps %xmm1, %xmm4
unpckhpd %xmm2, %xmm4 ## xmm4 = xmm4[1],xmm2[1]
movaps %xmm1, %xmm5
insertps $204, %xmm2, %xmm5 ## xmm5 = xmm2[3],xmm5[1],zero,zero
shufps $132, %xmm4, %xmm2 ## xmm2 = xmm2[0,1],xmm4[0,2]
movlhps %xmm3, %xmm5 ## xmm5 = xmm5[0],xmm3[0]
movaps %xmm1, %xmm4
shufps $236, %xmm3, %xmm4 ## xmm4 = xmm4[0,3],xmm3[2,3]
shufps $120, %xmm4, %xmm4 ## xmm4 = xmm4[0,2,3,1]
movups %xmm4, 80(%r9)
movups %xmm5, 64(%r9)
movups %xmm2, 48(%r9)
addq $8, %rsi
addq $96, %r9
addq $-2, %rbx
jne LBB0_11
## %bb.12: ## in Loop: Header=BB0_4 Depth=2
testb $1, -184(%rbp) ## 1-byte Folded Reload
je LBB0_14
LBB0_13: ## in Loop: Header=BB0_4 Depth=2
movups 16(%rcx,%rsi,8), %xmm2
movups (%rcx,%rsi,8), %xmm3
leaq (%rsi,%rsi,2), %rax
movaps %xmm0, %xmm4
unpckhpd %xmm3, %xmm4 ## xmm4 = xmm4[1],xmm3[1]
movaps %xmm0, %xmm5
insertps $204, %xmm3, %xmm5 ## xmm5 = xmm3[3],xmm5[1],zero,zero
shufps $132, %xmm4, %xmm3 ## xmm3 = xmm3[0,1],xmm4[0,2]
movlhps %xmm2, %xmm5 ## xmm5 = xmm5[0],xmm2[0]
movhlps %xmm0, %xmm2 ## xmm2 = xmm0[1],xmm2[1]
shufps $120, %xmm2, %xmm2 ## xmm2 = xmm2[0,2,3,1]
movups %xmm2, 32(%r12,%rax,4)
movups %xmm5, 16(%r12,%rax,4)
movups %xmm3, (%r12,%rax,4)
LBB0_14: ## in Loop: Header=BB0_4 Depth=2
movq -96(%rbp), %rax ## 8-byte Reload
cmpq %rax, -200(%rbp) ## 8-byte Folded Reload
movq %rdi, %r14
je LBB0_23
## %bb.15: ## in Loop: Header=BB0_4 Depth=2
movq -152(%rbp), %rax ## 8-byte Reload
leaq (%r12,%rax,4), %r12
movq -144(%rbp), %rax ## 8-byte Reload
leaq (%rcx,%rax,4), %rcx
movq -96(%rbp), %rax ## 8-byte Reload
movl %eax, %r9d
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_4 Depth=2
movl %r11d, %edi
subl %r9d, %edi
movl %r9d, %esi
notl %esi
addl %r11d, %esi
andl $3, %edi
je LBB0_20
## %bb.17: ## in Loop: Header=BB0_4 Depth=2
negl %edi
xorl %eax, %eax
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rcx), %rbx
addq $8, %rcx
movq %rbx, (%r12)
movl $1065353216, 8(%r12) ## imm = 0x3F800000
addq $12, %r12
decl %eax
cmpl %eax, %edi
jne LBB0_18
## %bb.19: ## in Loop: Header=BB0_4 Depth=2
subl %eax, %r9d
LBB0_20: ## in Loop: Header=BB0_4 Depth=2
cmpl $3, %esi
jb LBB0_23
## %bb.21: ## in Loop: Header=BB0_4 Depth=2
movl %r11d, %esi
subl %r9d, %esi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rcx,%rdi,8), %rax
movq %rax, (%r12)
movl $1065353216, 8(%r12) ## imm = 0x3F800000
movq 8(%rcx,%rdi,8), %rax
movq %rax, 12(%r12)
movl $1065353216, 20(%r12) ## imm = 0x3F800000
movq 16(%rcx,%rdi,8), %rax
movq %rax, 24(%r12)
movl $1065353216, 32(%r12) ## imm = 0x3F800000
movq 24(%rcx,%rdi,8), %rax
movq %rax, 36(%r12)
movl $1065353216, 44(%r12) ## imm = 0x3F800000
addq $4, %rdi
addq $48, %r12
cmpl %edi, %esi
jne LBB0_22
jmp LBB0_23
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
xorl %esi, %esi
testb $1, -184(%rbp) ## 1-byte Folded Reload
jne LBB0_13
jmp LBB0_14
LBB0_25:
addq $64, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _convert_r32g32_float
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function convert_r32g32_float
_convert_r32g32_float: ; @convert_r32g32_float
.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
.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 w7, w5, [sp, #56] ; 8-byte Folded Spill
stp x0, x1, [sp, #32] ; 16-byte Folded Spill
ldr w8, [sp, #160]
str x8, [sp, #48] ; 8-byte Folded Spill
cbz w8, LBB0_16
; %bb.1:
mov w8, #0
mov w12, #0
mov x9, #0
ldr w10, [sp, #56] ; 4-byte Folded Reload
mov w10, w10
sub w11, w6, #1
mov w13, #12
ldp x15, x14, [sp, #32] ; 16-byte Folded Reload
umaddl x13, w11, w13, x14
add x14, x13, #12
add x13, x15, w11, uxtw #3
add x13, x13, #8
stp x13, x14, [sp, #16] ; 16-byte Folded Spill
add x14, x11, #1
and x21, x14, #0x1fffffff8
lsl x16, x21, #1
add x17, x16, x21
add x13, x15, #32
str x13, [sp, #8] ; 8-byte Folded Spill
mov w20, #1065353216
fmov.4s v2, #1.00000000
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x9, x9, #1
add w12, w5, w3
ldr w8, [sp, #60] ; 4-byte Folded Reload
add w8, w22, w8
ldr x13, [sp, #48] ; 8-byte Folded Reload
cmp x9, x13
b.eq LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_14 Depth 3
; Child Loop BB0_12 Depth 3
mov w5, w12
mov w22, w8
ldr w8, [sp, #56] ; 4-byte Folded Reload
cbz w8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w23, #0
mov w24, #0
mov x25, #0
mul w8, w9, w3
lsl x8, x8, #2
ldr w12, [sp, #60] ; 4-byte Folded Reload
mul w12, w9, w12
lsl x12, x12, #2
ldp x15, x13, [sp, #24] ; 16-byte Folded Reload
add x26, x13, x8
ldr x13, [sp, #40] ; 8-byte Folded Reload
add x27, x13, x12
add x28, x15, x12
ldr x12, [sp, #16] ; 8-byte Folded Reload
add x30, x12, x8
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x12, x8, x5, lsl #2
add x13, x13, x22, lsl #2
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
add x25, x25, #1
add w24, w24, w2
add w23, w23, w4
cmp x25, x10
b.eq LBB0_2
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_14 Depth 3
; Child Loop BB0_12 Depth 3
cbz w6, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
mul w8, w25, w4
add x19, x27, w8, uxtw #2
mul w8, w25, w2
add x8, x26, w8, uxtw #2
cmp w11, #7
b.lo LBB0_10
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
mul w15, w25, w4
lsl x15, x15, #2
add x7, x27, x15
mul w0, w25, w2
lsl x0, x0, #2
add x1, x30, x0
cmp x7, x1
b.hs LBB0_13
; %bb.9: ; in Loop: Header=BB0_6 Depth=2
add x15, x28, x15
add x0, x26, x0
cmp x0, x15
b.hs LBB0_13
LBB0_10: ; in Loop: Header=BB0_6 Depth=2
mov w15, #0
LBB0_11: ; in Loop: Header=BB0_6 Depth=2
sub w15, w6, w15
LBB0_12: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_6 Depth=2
; => This Inner Loop Header: Depth=3
ldr d3, [x8], #8
str d3, [x19]
str w20, [x19, #8]
add x19, x19, #12
subs w15, w15, #1
b.ne LBB0_12
b LBB0_5
LBB0_13: ; in Loop: Header=BB0_6 Depth=2
add x0, x12, w24, uxtw #2
add x7, x13, w23, uxtw #2
add x19, x19, x17, lsl #2
mov x15, x21
add x8, x8, x16, lsl #2
LBB0_14: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_6 Depth=2
; => This Inner Loop Header: Depth=3
sub x1, x0, #32
ld2.4s { v0, v1 }, [x1]
ld2.4s { v3, v4 }, [x0]
mov.16b v5, v2
add x1, x7, #96
st3.4s { v0, v1, v2 }, [x7], #48
st3.4s { v3, v4, v5 }, [x7]
add x0, x0, #64
mov x7, x1
subs x15, x15, #8
b.ne LBB0_14
; %bb.15: ; in Loop: Header=BB0_6 Depth=2
mov x15, x21
cmp x14, x21
b.eq LBB0_5
b LBB0_11
LBB0_16:
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
.cfi_endproc
; -- End function
.no_dead_strip _convert_r32g32_float
.subsections_via_symbols
| AnghaBench/reactos/dll/directx/wine/wined3d/extr_utils.c_convert_r32g32_float.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_msglevel
_set_msglevel: ## @set_msglevel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _debug@GOTPCREL(%rip), %rax
movl %esi, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _debug,4,2 ## @debug
.no_dead_strip _set_msglevel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_msglevel
_set_msglevel: ; @set_msglevel
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _debug@GOTPAGE
Lloh1:
ldr x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
str w1, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _debug,4,2 ; @debug
.no_dead_strip _set_msglevel
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/adaptec/extr_starfire.c_set_msglevel.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dsl_prop_nvlist_add_uint64 ## -- Begin function dsl_prop_nvlist_add_uint64
.p2align 4, 0x90
_dsl_prop_nvlist_add_uint64: ## @dsl_prop_nvlist_add_uint64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq _zfs_prop_to_name
movq %rax, %r15
leaq -40(%rbp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq _nvlist_lookup_nvlist
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _KM_SLEEP@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -40(%rbp), %rdi
callq _nvlist_alloc
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
movq -40(%rbp), %rdi
movq _ZPROP_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdx
callq _nvlist_add_uint64
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
leaq -48(%rbp), %rcx
movl %ebx, %edi
movl $8, %esi
movl $1, %edx
callq _dodefault
testq %rax, %rax
jne LBB0_5
## %bb.3:
cmpq %r12, -48(%rbp)
jne LBB0_5
## %bb.4:
movq -40(%rbp), %rdi
movq _ZPROP_SOURCE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
callq _nvlist_add_string
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
LBB0_5:
movq -40(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _nvlist_add_nvlist
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
movq -40(%rbp), %rdi
callq _nvlist_free
jmp LBB0_6
LBB0_1:
movq -40(%rbp), %rdi
movq _ZPROP_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdx
callq _nvlist_add_uint64
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
LBB0_6:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ZPROP_VALUE,4,2 ## @ZPROP_VALUE
.comm _NV_UNIQUE_NAME,4,2 ## @NV_UNIQUE_NAME
.comm _KM_SLEEP,4,2 ## @KM_SLEEP
.comm _ZPROP_SOURCE,4,2 ## @ZPROP_SOURCE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dsl_prop_nvlist_add_uint64 ; -- Begin function dsl_prop_nvlist_add_uint64
.p2align 2
_dsl_prop_nvlist_add_uint64: ; @dsl_prop_nvlist_add_uint64
.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 x21, x2
mov x22, x1
mov x19, x0
mov x0, x1
bl _zfs_prop_to_name
mov x20, x0
add x2, sp, #8
mov x0, x19
mov x1, x20
bl _nvlist_lookup_nvlist
cbz x0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh1:
ldr x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _KM_SLEEP@GOTPAGE
Lloh4:
ldr x8, [x8, _KM_SLEEP@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
add x0, sp, #8
bl _nvlist_alloc
cmp x0, #0
cset w0, eq
bl _VERIFY
ldr x0, [sp, #8]
Lloh6:
adrp x8, _ZPROP_VALUE@GOTPAGE
Lloh7:
ldr x8, [x8, _ZPROP_VALUE@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x2, x21
bl _nvlist_add_uint64
cmp x0, #0
cset w0, eq
bl _VERIFY
mov x3, sp
mov x0, x22
mov w1, #8
mov w2, #1
bl _dodefault
cbnz x0, LBB0_4
; %bb.2:
ldr x8, [sp]
cmp x8, x21
b.ne LBB0_4
; %bb.3:
ldr x0, [sp, #8]
Lloh9:
adrp x8, _ZPROP_SOURCE@GOTPAGE
Lloh10:
ldr x8, [x8, _ZPROP_SOURCE@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x2, l_.str@PAGE
Lloh13:
add x2, x2, l_.str@PAGEOFF
bl _nvlist_add_string
cmp x0, #0
cset w0, eq
bl _VERIFY
LBB0_4:
ldr x2, [sp, #8]
mov x0, x19
mov x1, x20
bl _nvlist_add_nvlist
cmp x0, #0
cset w0, eq
bl _VERIFY
ldr x0, [sp, #8]
bl _nvlist_free
b LBB0_6
LBB0_5:
ldr x0, [sp, #8]
Lloh14:
adrp x8, _ZPROP_VALUE@GOTPAGE
Lloh15:
ldr x8, [x8, _ZPROP_VALUE@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x2, x21
bl _nvlist_add_uint64
cmp x0, #0
cset w0, eq
bl _VERIFY
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _ZPROP_VALUE,4,2 ; @ZPROP_VALUE
.comm _NV_UNIQUE_NAME,4,2 ; @NV_UNIQUE_NAME
.comm _KM_SLEEP,4,2 ; @KM_SLEEP
.comm _ZPROP_SOURCE,4,2 ; @ZPROP_SOURCE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.subsections_via_symbols
| AnghaBench/zfs/module/zfs/extr_dsl_prop.c_dsl_prop_nvlist_add_uint64.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _name(%rip), %rdi
movl $2, %esi
xorl %eax, %eax
callq _open
movq _fd@GOTPCREL(%rip), %rbx
movl %eax, (%rbx)
testl %eax, %eax
js LBB0_1
## %bb.2:
movl $29, %edi
callq _sysconf
movl (%rbx), %r8d
movl $1092616192, %r9d ## imm = 0x41200000
xorl %edi, %edi
movq %rax, %rsi
movl $3, %edx
movl $1, %ecx
callq _mmap
movq _regAddr_@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl $29, %edi
callq _sysconf
movl (%rbx), %r8d
movl $1092747264, %r9d ## imm = 0x41220000
xorl %edi, %edi
movq %rax, %rsi
movl $3, %edx
movl $1, %ecx
callq _mmap
movq _regVal_@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl $29, %edi
callq _sysconf
movl (%rbx), %r8d
movl $1092681728, %r9d ## imm = 0x41210000
xorl %edi, %edi
movq %rax, %rsi
movl $3, %edx
movl $1, %ecx
callq _mmap
movq _regWrtEn_@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _regType@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, %rdi
movq _f@GOTPCREL(%rip), %r13
movq %rax, (%r13)
movl $255, %ebx
leaq L_.str.4(%rip), %r14
leaq -44(%rbp), %r15
leaq -48(%rbp), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq _fscanf
movq _regType@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $31, %eax
orl -44(%rbp), %eax
movl %eax, -44(%rbp)
movq _regAddr_@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movl -48(%rbp), %eax
movq _regVal_@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq _regWrtEn_@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, (%rax)
movl -48(%rbp), %edx
testl %edx, %edx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
subl $1, %ebx
jb LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq (%r13), %rdi
jmp LBB0_3
LBB0_7:
leaq L_str(%rip), %rdi
callq _puts
movq (%r13), %rdi
callq _fclose
leaq L_str.11(%rip), %rdi
callq _puts
movq _regType@GOTPCREL(%rip), %rax
movl $1, (%rax)
leaq L_.str.8(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, %rdi
movq %rax, (%r13)
movl $255, %r12d
leaq L_.str.4(%rip), %r14
leaq -44(%rbp), %r15
leaq -48(%rbp), %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq _fscanf
movq _regType@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $31, %eax
orl -44(%rbp), %eax
movl %eax, -44(%rbp)
movq _regAddr_@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movl -48(%rbp), %eax
movq _regVal_@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq _regWrtEn_@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $0, (%rax)
movl -48(%rbp), %edx
testl %edx, %edx
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl -44(%rbp), %esi
movl $2147483647, %eax ## imm = 0x7FFFFFFF
andl %eax, %esi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
subl $1, %r12d
jb LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movq (%r13), %rdi
jmp LBB0_8
LBB0_12:
leaq L_str.12(%rip), %rdi
callq _puts
movq (%r13), %rdi
callq _fclose
jmp LBB0_13
LBB0_1:
leaq L_str.13(%rip), %rdi
callq _puts
LBB0_13:
xorl %eax, %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 "/dev/mem"
.section __DATA,__data
.globl _name ## @name
.p2align 3
_name:
.quad L_.str
.comm _fd,4,2 ## @fd
.comm _regAddr_,8,3 ## @regAddr_
.comm _regVal_,8,3 ## @regVal_
.comm _regWrtEn_,8,3 ## @regWrtEn_
.comm _regType,4,2 ## @regType
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "/home/Canvas/x1Const.txt"
L_.str.3: ## @.str.3
.asciz "r"
.comm _f,8,3 ## @f
L_.str.4: ## @.str.4
.asciz "%d %d\r\n"
L_.str.5: ## @.str.5
.asciz "1Bit -> Addr: %d Val: %d\r\n"
L_.str.8: ## @.str.8
.asciz "/home/Canvas/x32Const.txt"
L_.str.9: ## @.str.9
.asciz "32Bit -> Addr: %d Val: %d\r\n"
L_str: ## @str
.asciz "1Bit -> Addr: others Val: 0 \r"
L_str.11: ## @str.11
.asciz "------------------------------------\r"
L_str.12: ## @str.12
.asciz "32Bit -> Addr: others Val: 0 \r"
L_str.13: ## @str.13
.asciz "CANNOT OPEN MEMORY FILE"
.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 x8, _name@PAGE
Lloh1:
ldr x0, [x8, _name@PAGEOFF]
mov w1, #2
bl _open
Lloh2:
adrp x19, _fd@GOTPAGE
Lloh3:
ldr x19, [x19, _fd@GOTPAGEOFF]
str w0, [x19]
tbnz w0, #31, LBB0_12
; %bb.1:
mov w0, #29
bl _sysconf
mov x1, x0
ldr w4, [x19]
mov x0, #0
mov w2, #3
mov w3, #1
mov w5, #1092616192
bl _mmap
Lloh4:
adrp x21, _regAddr_@GOTPAGE
Lloh5:
ldr x21, [x21, _regAddr_@GOTPAGEOFF]
str x0, [x21]
mov w0, #29
bl _sysconf
mov x1, x0
ldr w4, [x19]
mov x0, #0
mov w2, #3
mov w3, #1
mov w5, #1092747264
bl _mmap
Lloh6:
adrp x22, _regVal_@GOTPAGE
Lloh7:
ldr x22, [x22, _regVal_@GOTPAGEOFF]
str x0, [x22]
mov w0, #29
bl _sysconf
mov x1, x0
ldr w4, [x19]
mov x0, #0
mov w2, #3
mov w3, #1
mov w5, #1092681728
bl _mmap
Lloh8:
adrp x23, _regWrtEn_@GOTPAGE
Lloh9:
ldr x23, [x23, _regWrtEn_@GOTPAGEOFF]
str x0, [x23]
Lloh10:
adrp x24, _regType@GOTPAGE
Lloh11:
ldr x24, [x24, _regType@GOTPAGEOFF]
str wzr, [x24]
Lloh12:
adrp x0, l_.str.2@PAGE
Lloh13:
add x0, x0, l_.str.2@PAGEOFF
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
Lloh16:
adrp x25, _f@GOTPAGE
Lloh17:
ldr x25, [x25, _f@GOTPAGEOFF]
str x0, [x25]
mov w26, #255
add x27, sp, #24
add x28, sp, #28
Lloh18:
adrp x19, l_.str.4@PAGE
Lloh19:
add x19, x19, l_.str.4@PAGEOFF
Lloh20:
adrp x20, l_.str.5@PAGE
Lloh21:
add x20, x20, l_.str.5@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
stp x28, x27, [sp]
mov x1, x19
bl _fscanf
ldr w8, [sp, #28]
ldr w9, [x24]
orr w8, w8, w9, lsl #31
str w8, [sp, #28]
ldr x9, [x21]
str w8, [x9]
ldr w8, [sp, #24]
ldr x9, [x22]
str w8, [x9]
ldr x8, [x23]
str wzr, [x8]
ldr w8, [sp, #24]
cbz w8, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w9, [sp, #28]
stp x9, x8, [sp]
mov x0, x20
bl _printf
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
cbz w26, LBB0_6
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr x0, [x25]
sub w26, w26, #1
b LBB0_2
LBB0_6:
Lloh22:
adrp x0, l_str@PAGE
Lloh23:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x0, [x25]
bl _fclose
Lloh24:
adrp x0, l_str.11@PAGE
Lloh25:
add x0, x0, l_str.11@PAGEOFF
bl _puts
mov w8, #1
str w8, [x24]
Lloh26:
adrp x0, l_.str.8@PAGE
Lloh27:
add x0, x0, l_.str.8@PAGEOFF
Lloh28:
adrp x1, l_.str.3@PAGE
Lloh29:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
str x0, [x25]
mov w26, #255
add x27, sp, #24
add x28, sp, #28
Lloh30:
adrp x19, l_.str.4@PAGE
Lloh31:
add x19, x19, l_.str.4@PAGEOFF
Lloh32:
adrp x20, l_.str.9@PAGE
Lloh33:
add x20, x20, l_.str.9@PAGEOFF
LBB0_7: ; =>This Inner Loop Header: Depth=1
stp x28, x27, [sp]
mov x1, x19
bl _fscanf
ldr w8, [sp, #28]
ldr w9, [x24]
orr w8, w8, w9, lsl #31
str w8, [sp, #28]
ldr x9, [x21]
str w8, [x9]
ldr w8, [sp, #24]
ldr x9, [x22]
str w8, [x9]
ldr x8, [x23]
str wzr, [x8]
ldr w8, [sp, #24]
cbz w8, LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [sp, #28]
and w9, w9, #0x7fffffff
stp x9, x8, [sp]
mov x0, x20
bl _printf
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
cbz w26, LBB0_11
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x25]
sub w26, w26, #1
b LBB0_7
LBB0_11:
Lloh34:
adrp x0, l_str.12@PAGE
Lloh35:
add x0, x0, l_str.12@PAGEOFF
bl _puts
ldr x0, [x25]
bl _fclose
b LBB0_13
LBB0_12:
Lloh36:
adrp x0, l_str.13@PAGE
Lloh37:
add x0, x0, l_str.13@PAGEOFF
bl _puts
LBB0_13:
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/dev/mem"
.section __DATA,__data
.globl _name ; @name
.p2align 3
_name:
.quad l_.str
.comm _fd,4,2 ; @fd
.comm _regAddr_,8,3 ; @regAddr_
.comm _regVal_,8,3 ; @regVal_
.comm _regWrtEn_,8,3 ; @regWrtEn_
.comm _regType,4,2 ; @regType
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "/home/Canvas/x1Const.txt"
l_.str.3: ; @.str.3
.asciz "r"
.comm _f,8,3 ; @f
l_.str.4: ; @.str.4
.asciz "%d %d\r\n"
l_.str.5: ; @.str.5
.asciz "1Bit -> Addr: %d Val: %d\r\n"
l_.str.8: ; @.str.8
.asciz "/home/Canvas/x32Const.txt"
l_.str.9: ; @.str.9
.asciz "32Bit -> Addr: %d Val: %d\r\n"
l_str: ; @str
.asciz "1Bit -> Addr: others Val: 0 \r"
l_str.11: ; @str.11
.asciz "------------------------------------\r"
l_str.12: ; @str.12
.asciz "32Bit -> Addr: others Val: 0 \r"
l_str.13: ; @str.13
.asciz "CANNOT OPEN MEMORY FILE"
.subsections_via_symbols
| the_stack_data/46374.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_qp1
_is_qp1: ## @is_qp1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MLX5_IB_QPT_HW_GSI@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpl %edi, (%rcx)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MLX5_IB_QPT_HW_GSI,4,2 ## @MLX5_IB_QPT_HW_GSI
.no_dead_strip _is_qp1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_qp1
_is_qp1: ; @is_qp1
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MLX5_IB_QPT_HW_GSI@GOTPAGE
Lloh1:
ldr x8, [x8, _MLX5_IB_QPT_HW_GSI@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w0
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MLX5_IB_QPT_HW_GSI,4,2 ; @MLX5_IB_QPT_HW_GSI
.no_dead_strip _is_qp1
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mlx5_ib.h_is_qp1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _playlist_get_thumbnail_mode ## -- Begin function playlist_get_thumbnail_mode
.p2align 4, 0x90
_playlist_get_thumbnail_mode: ## @playlist_get_thumbnail_mode
.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_4
## %bb.1:
movq _PLAYLIST_THUMBNAIL_RIGHT@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
je LBB0_5
## %bb.2:
movq _PLAYLIST_THUMBNAIL_LEFT@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
je LBB0_3
LBB0_4:
movq _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPCREL(%rip), %rdi
jmp LBB0_5
LBB0_3:
addq $4, %rdi
LBB0_5:
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PLAYLIST_THUMBNAIL_MODE_DEFAULT,4,2 ## @PLAYLIST_THUMBNAIL_MODE_DEFAULT
.comm _PLAYLIST_THUMBNAIL_RIGHT,4,2 ## @PLAYLIST_THUMBNAIL_RIGHT
.comm _PLAYLIST_THUMBNAIL_LEFT,4,2 ## @PLAYLIST_THUMBNAIL_LEFT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _playlist_get_thumbnail_mode ; -- Begin function playlist_get_thumbnail_mode
.p2align 2
_playlist_get_thumbnail_mode: ; @playlist_get_thumbnail_mode
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGE
Lloh1:
ldr x8, [x8, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGEOFF]
cbz x0, LBB0_4
; %bb.1:
Lloh2:
adrp x9, _PLAYLIST_THUMBNAIL_RIGHT@GOTPAGE
Lloh3:
ldr x9, [x9, _PLAYLIST_THUMBNAIL_RIGHT@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
cmp w9, w1
b.ne LBB0_3
; %bb.2:
ldr w0, [x0]
ret
LBB0_3:
Lloh5:
adrp x9, _PLAYLIST_THUMBNAIL_LEFT@GOTPAGE
Lloh6:
ldr x9, [x9, _PLAYLIST_THUMBNAIL_LEFT@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
add x10, x0, #4
cmp w9, w1
csel x8, x10, x8, eq
LBB0_4:
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _PLAYLIST_THUMBNAIL_MODE_DEFAULT,4,2 ; @PLAYLIST_THUMBNAIL_MODE_DEFAULT
.comm _PLAYLIST_THUMBNAIL_RIGHT,4,2 ; @PLAYLIST_THUMBNAIL_RIGHT
.comm _PLAYLIST_THUMBNAIL_LEFT,4,2 ; @PLAYLIST_THUMBNAIL_LEFT
.subsections_via_symbols
| AnghaBench/RetroArch/extr_playlist.c_playlist_get_thumbnail_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _arcExtMap_add ## -- Begin function arcExtMap_add
.p2align 4, 0x90
_arcExtMap_add: ## @arcExtMap_add
.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, %r14
movq %rdi, %rbx
xorl %eax, %eax
callq _cleanup_ext_map
movq %r14, %rax
negq %rax
testq %rbx, %rbx
sete %cl
testq %rax, %rax
setle %al
orb %cl, %al
jne LBB0_14
## %bb.1:
movq %rbx, %rax
subq %r14, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movzbl (%rbx), %edx
movl $-1, %eax
testb %dl, %dl
je LBB0_15
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leaq 3(%rbx), %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
leaq 5(%rbx), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl %dl, %edi
movzbl 1(%rbx), %eax
cmpl $128, %eax
jne LBB0_5
## %bb.9: ## in Loop: Header=BB0_4 Depth=2
movzbl 2(%rbx), %r15d
movzbl 3(%rbx), %r12d
addl $-5, %edi
callq _xmalloc
movq %rax, %r13
movl $16, %edi
callq _xmalloc
movq %rax, %r14
addb $7, %r12b
leal -16(%r15), %eax
cmpb $3, %r15b
movzbl %r12b, %ecx
movzbl %al, %r15d
cmovel %ecx, %r15d
movzbl 4(%rbx), %eax
movb %al, (%r14)
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _strcpy
movq %r13, 8(%r14)
movq _arc_extension_map@GOTPCREL(%rip), %rax
movq 24(%rax), %rax
movsbq %r15b, %rcx
movq %r14, (%rax,%rcx,8)
movzbl (%rbx), %edx
testb %dl, %dl
jne LBB0_4
jmp LBB0_10
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
cmpl $129, %eax
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
cmpl $130, %eax
je LBB0_12
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cmpl $131, %eax
movl $-1, %eax
jne LBB0_15
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movl $24, %edi
callq _malloc
movq %rax, %r14
movzbl (%rbx), %edi
addl $-6, %edi
callq _xmalloc
movq %rax, %r15
leaq 6(%rbx), %rsi
movq %rax, %rdi
callq _strcpy
movq %r15, (%r14)
movzbl 5(%rbx), %eax
movb %al, 8(%r14)
movq _arc_extension_map@GOTPCREL(%rip), %rcx
movq 16(%rcx), %rax
movq %rax, 16(%r14)
movq %r14, 16(%rcx)
jmp LBB0_13
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
addl $-3, %edi
callq _xmalloc
movq %rax, %r14
movq %rax, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _strcpy
movq _arc_extension_map@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl 2(%rbx), %ecx
movq %r14, -256(%rax,%rcx,8)
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
addl $-3, %edi
callq _xmalloc
movq %rax, %r14
movq %rax, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _strcpy
movq _arc_extension_map@GOTPCREL(%rip), %rax
movq 8(%rax), %rax
movzbl 2(%rbx), %ecx
movq %r14, -128(%rax,%rcx,8)
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movzbl (%rbx), %eax
addq %rax, %rbx
cmpq -56(%rbp), %rbx ## 8-byte Folded Reload
jb LBB0_2
LBB0_14:
xorl %eax, %eax
jmp LBB0_15
LBB0_10:
movl $-1, %eax
LBB0_15:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _arc_extension_map,32,3 ## @arc_extension_map
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _arcExtMap_add ; -- Begin function arcExtMap_add
.p2align 2
_arcExtMap_add: ; @arcExtMap_add
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x19, x0
bl _cleanup_ext_map
mov w0, #0 ; =0x0
cbz x19, LBB0_15
; %bb.1:
neg x8, x20
cmp x8, #1
b.lt LBB0_15
; %bb.2:
sub x23, x19, x20
Lloh0:
adrp x24, _arc_extension_map@GOTPAGE
Lloh1:
ldr x24, [x24, _arc_extension_map@GOTPAGEOFF]
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x20, x19
ldrb w8, [x20], #5
cbz w8, LBB0_14
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x19, #1]
cmp w9, #128
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
ldrb w25, [x19, #2]
ldrb w26, [x19, #3]
sub w0, w8, #5
bl _xmalloc
mov x21, x0
mov w0, #16 ; =0x10
bl _xmalloc
mov x22, x0
add w8, w26, #7
sub w9, w25, #16
cmp w25, #3
csel w25, w8, w9, eq
ldrb w8, [x19, #4]
strb w8, [x0]
mov x0, x21
mov x1, x20
bl _strcpy
str x21, [x22, #8]
ldr x8, [x24, #24]
sxtb x9, w25
str x22, [x8, x9, lsl #3]
ldrb w8, [x19]
cbnz w8, LBB0_4
b LBB0_14
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #129
b.eq LBB0_10
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #130
b.eq LBB0_11
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
cmp w9, #131
b.ne LBB0_14
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov w0, #24 ; =0x18
bl _malloc
mov x20, x0
ldrb w8, [x19]
sub w0, w8, #6
bl _xmalloc
mov x21, x0
add x1, x19, #6
bl _strcpy
str x21, [x20]
ldrb w8, [x19, #5]
strb w8, [x20, #8]
ldr x8, [x24, #16]
str x8, [x20, #16]
str x20, [x24, #16]
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
sub w0, w8, #3
bl _xmalloc
mov x20, x0
add x1, x19, #3
bl _strcpy
ldr x8, [x24]
ldrb w9, [x19, #2]
add x8, x8, x9, lsl #3
stur x20, [x8, #-256]
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
sub w0, w8, #3
bl _xmalloc
mov x20, x0
add x1, x19, #3
bl _strcpy
ldr x8, [x24, #8]
ldrb w9, [x19, #2]
add x8, x8, x9, lsl #3
stur x20, [x8, #-128]
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x19]
add x19, x19, x8
cmp x19, x23
b.lo LBB0_3
; %bb.13:
mov w0, #0 ; =0x0
b LBB0_15
LBB0_14:
mov w0, #-1 ; =0xffffffff
LBB0_15:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _arc_extension_map,32,3 ; @arc_extension_map
.subsections_via_symbols
| assembly_file_97835.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fucomi_ ## -- Begin function fucomi_
.p2align 4, 0x90
_fucomi_: ## @fucomi_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _FPU_rm@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _compare_ui_st_st ## TAILCALL
.cfi_endproc
## -- End function
.comm _FPU_rm,4,2 ## @FPU_rm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fucomi_ ; -- Begin function fucomi_
.p2align 2
_fucomi_: ; @fucomi_
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _FPU_rm@GOTPAGE
Lloh1:
ldr x8, [x8, _FPU_rm@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _compare_ui_st_st
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FPU_rm,4,2 ; @FPU_rm
.subsections_via_symbols
| AnghaBench/linux/arch/x86/math-emu/extr_reg_compare.c_fucomi_.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bdx_hw_stop
_bdx_hw_stop: ## @bdx_hw_stop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _bdx_disable_interrupts
movq 8(%rbx), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _free_irq
movl (%rbx), %edi
callq _netif_carrier_off
movl (%rbx), %edi
callq _netif_stop_queue
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _RET ## TAILCALL
.cfi_endproc
## -- End function
.comm _ENTER,4,2 ## @ENTER
.no_dead_strip _bdx_hw_stop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bdx_hw_stop
_bdx_hw_stop: ; @bdx_hw_stop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _bdx_disable_interrupts
ldr x8, [x19, #8]
ldr w0, [x8]
ldr w1, [x19]
bl _free_irq
ldr w0, [x19]
bl _netif_carrier_off
ldr w0, [x19]
bl _netif_stop_queue
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _RET
.cfi_endproc
; -- End function
.comm _ENTER,4,2 ; @ENTER
.no_dead_strip _bdx_hw_stop
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_tehuti.c_bdx_hw_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function find_port
_find_port: ## @find_port
.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), %rcx
movq 8(%rdi), %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %rsi, (%rdx,%rdi,8)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
decq %rdi
cmpq %rcx, %rdi
jbe LBB0_1
LBB0_3:
xorl %eax, %eax
cmpq %rcx, %rdi
leaq (%rdx,%rdi,8), %rcx
cmovbq %rcx, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _find_port
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function find_port
_find_port: ; @find_port
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
ldp x9, x10, [x0]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x11, [x10, x8, lsl #3]
cmp x11, x1
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
sub x8, x8, #1
cmp x8, x9
b.ls LBB0_1
LBB0_3:
add x10, x10, x8, lsl #3
cmp x8, x9
csel x0, x10, xzr, lo
ret
.cfi_endproc
; -- End function
.no_dead_strip _find_port
.subsections_via_symbols
| assembly_file_146682.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hm_NVML_nvmlDeviceGetTemperatureThreshold
_hm_NVML_nvmlDeviceGetTemperatureThreshold: ## @hm_NVML_nvmlDeviceGetTemperatureThreshold
.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
movq (%rdi), %rax
movq (%rax), %rbx
movl %esi, %edi
movl %edx, %esi
movq %rcx, %rdx
callq *(%rbx)
movq _NVML_SUCCESS@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
cmpq (%rdx), %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %rax, %rsi
callq _hm_NVML_nvmlErrorString
leaq L_.str(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _event_log_error
movl $-1, %ecx
LBB0_2:
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NVML_SUCCESS,8,3 ## @NVML_SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "nvmlDeviceGetTemperatureThreshold(): %s"
.no_dead_strip _hm_NVML_nvmlDeviceGetTemperatureThreshold
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hm_NVML_nvmlDeviceGetTemperatureThreshold
_hm_NVML_nvmlDeviceGetTemperatureThreshold: ; @hm_NVML_nvmlDeviceGetTemperatureThreshold
.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]
ldr x20, [x8]
ldr x8, [x20]
mov x0, x1
mov x1, x2
mov x2, x3
blr x8
Lloh0:
adrp x8, _NVML_SUCCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _NVML_SUCCESS@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
mov x1, x0
mov x0, x20
bl _hm_NVML_nvmlErrorString
mov x2, x0
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _event_log_error
mov w0, #-1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _NVML_SUCCESS,8,3 ; @NVML_SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "nvmlDeviceGetTemperatureThreshold(): %s"
.no_dead_strip _hm_NVML_nvmlDeviceGetTemperatureThreshold
.subsections_via_symbols
| AnghaBench/hashcat/src/extr_hwmon.c_hm_NVML_nvmlDeviceGetTemperatureThreshold.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sf_buf_invalidate
_sf_buf_invalidate: ## @sf_buf_invalidate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 8(%rdi), %eax
movl %eax, -12(%rbp)
movq (%rdi), %rdi
leaq -12(%rbp), %rsi
movl $1, %edx
callq _pmap_qenter
movq (%rbx), %rdi
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %rdi, %rsi
callq _pmap_invalidate_cache_range
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.no_dead_strip _sf_buf_invalidate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sf_buf_invalidate
_sf_buf_invalidate: ; @sf_buf_invalidate
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #8]
str w8, [sp, #12]
ldr x0, [x0]
add x1, sp, #12
mov w2, #1
bl _pmap_qenter
ldr x0, [x19]
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x1, x8, x0
bl _pmap_invalidate_cache_range
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.no_dead_strip _sf_buf_invalidate
.subsections_via_symbols
| AnghaBench/freebsd/sys/i386/i386/extr_vm_machdep.c_sf_buf_invalidate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function idcin_read_packet
LCPI0_0:
.byte 2 ## 0x2
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 5 ## 0x5
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 8 ## 0x8
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 11 ## 0xb
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 128 ## 0x80
LCPI0_1:
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 0 ## 0x0
.space 1
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 3 ## 0x3
.space 1
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 6 ## 0x6
.space 1
.byte 128 ## 0x80
.byte 128 ## 0x80
.byte 9 ## 0x9
.space 1
LCPI0_2:
.byte 128 ## 0x80
.byte 1 ## 0x1
.byte 128 ## 0x80
.space 1
.byte 128 ## 0x80
.byte 4 ## 0x4
.byte 128 ## 0x80
.space 1
.byte 128 ## 0x80
.byte 7 ## 0x7
.byte 128 ## 0x80
.space 1
.byte 128 ## 0x80
.byte 10 ## 0xa
.byte 128 ## 0x80
.space 1
LCPI0_3:
.long 4278190080 ## 0xff000000
.long 4278190080 ## 0xff000000
.long 4278190080 ## 0xff000000
.long 4278190080 ## 0xff000000
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_idcin_read_packet: ## @idcin_read_packet
.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 $1816, %rsp ## imm = 0x718
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rdi), %r15
movq 8(%rdi), %r13
movq %r15, %rdi
callq _avio_feof
testq %rax, %rax
je LBB0_6
LBB0_1:
movq (%r14), %rax
movl (%rax), %eax
testl %eax, %eax
jne LBB0_4
## %bb.2:
movq _AVERROR_EOF@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_35
## %bb.5:
addq $1816, %rsp ## imm = 0x718
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
cmpl $0, (%r13)
je LBB0_10
## %bb.7:
movq %r15, %rdi
callq _avio_rl32
cmpl $2, %eax
jne LBB0_14
## %bb.8:
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_35
## %bb.9:
addq $1816, %rsp ## imm = 0x718
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
LBB0_10:
xorl %eax, %eax
cmpl $0, 4(%r13)
sete %al
movl 8(%r13,%rax,4), %r14d
movq %r15, %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq _av_get_packet
testl %eax, %eax
js LBB0_4
## %bb.11:
movl 32(%r13), %eax
movl %eax, 4(%rbx)
movl %r14d, %eax
xorl %edx, %edx
divl 16(%r13)
movl %eax, (%rbx)
xorb $1, 4(%r13)
LBB0_12:
xorl %eax, %eax
cmpq $0, 24(%r13)
je LBB0_4
## %bb.13:
xorb $1, (%r13)
jmp LBB0_4
LBB0_14:
cmpl $1, %eax
jne LBB0_19
## %bb.15:
movl %eax, -1844(%rbp) ## 4-byte Spill
leaq -816(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $768, %edx ## imm = 0x300
callq _avio_read
testl %eax, %eax
js LBB0_4
## %bb.16:
cmpl $768, %eax ## imm = 0x300
jne LBB0_24
## %bb.17:
xorl %ecx, %ecx
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [2,128,128,128,5,128,128,128,8,128,128,128,11,128,128,128]
movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [128,128,0,u,128,128,3,u,128,128,6,u,128,128,9,u]
movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [128,1,128,u,128,4,128,u,128,7,128,u,128,10,128,u]
movdqa LCPI0_3(%rip), %xmm3 ## xmm3 = [4278190080,4278190080,4278190080,4278190080]
movl -1844(%rbp), %eax ## 4-byte Reload
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq (%r12), %xmm4 ## xmm4 = mem[0],zero
pinsrd $2, 8(%r12), %xmm4
movdqa %xmm4, %xmm5
pshufb %xmm0, %xmm5
movdqa %xmm4, %xmm6
pshufb %xmm1, %xmm6
pshufb %xmm2, %xmm4
por %xmm6, %xmm4
por %xmm5, %xmm4
por %xmm3, %xmm4
movdqa %xmm4, -1840(%rbp,%rcx,4)
addq $4, %rcx
addq $12, %r12
cmpq $256, %rcx ## imm = 0x100
jne LBB0_18
LBB0_19:
movq (%r14), %rcx
cmpq $0, 8(%rcx)
je LBB0_21
## %bb.20:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq _av_log
jmp LBB0_1
LBB0_21:
movl %eax, -1844(%rbp) ## 4-byte Spill
movq %r15, %rdi
callq _avio_rl32
movl %eax, %r12d
cmpl $4, %eax
jb LBB0_23
## %bb.22:
movq _INT_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $-4, %eax
cmpl %eax, %r12d
jbe LBB0_27
LBB0_23:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
movq %r14, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq _av_log
movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_24:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq _av_log
LBB0_25:
movq _EIO@GOTPCREL(%rip), %rax
LBB0_26:
movl (%rax), %edi
callq _AVERROR
jmp LBB0_4
LBB0_27:
movq %r15, %rdi
movl $4, %esi
callq _avio_skip
addl $-4, %r12d
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq _av_get_packet
testl %eax, %eax
js LBB0_4
## %bb.28:
cmpl %r12d, %eax
jne LBB0_33
## %bb.29:
cmpl $1, -1844(%rbp) ## 4-byte Folded Reload
jne LBB0_32
## %bb.30:
movq _AV_PKT_DATA_PALETTE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _AVPALETTE_SIZE@GOTPCREL(%rip), %r14
movl (%r14), %edx
movq %rbx, %rdi
callq _av_packet_new_side_data
testq %rax, %rax
je LBB0_34
## %bb.31:
movl (%r14), %edx
leaq -1840(%rbp), %rsi
movq %rax, %rdi
callq _memcpy
movq _AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rbx)
LBB0_32:
movl 36(%r13), %eax
movl %eax, 4(%rbx)
movl $1, (%rbx)
jmp LBB0_12
LBB0_33:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq _av_log
movq %rbx, %rdi
callq _av_packet_unref
jmp LBB0_25
LBB0_34:
movq %rbx, %rdi
callq _av_packet_unref
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_26
LBB0_35:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _g_aug_volatile_4705 ## @g_aug_volatile_4705
.zerofill __DATA,__common,_g_aug_volatile_4705,4,2
.comm _AVERROR_EOF,4,2 ## @AVERROR_EOF
.comm _EIO,4,2 ## @EIO
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "incomplete packet\n"
.comm _INT_MAX,4,2 ## @INT_MAX
L_.str.1: ## @.str.1
.asciz "invalid chunk size: %u\n"
.comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA
.comm _AV_PKT_DATA_PALETTE,4,2 ## @AV_PKT_DATA_PALETTE
.comm _AVPALETTE_SIZE,4,2 ## @AVPALETTE_SIZE
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _AV_PKT_FLAG_KEY,4,2 ## @AV_PKT_FLAG_KEY
.no_dead_strip _idcin_read_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function idcin_read_packet
lCPI0_0:
.byte 0 ; 0x0
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 1 ; 0x1
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 2 ; 0x2
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 3 ; 0x3
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI0_1:
.byte 4 ; 0x4
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 5 ; 0x5
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 6 ; 0x6
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 7 ; 0x7
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI0_2:
.byte 8 ; 0x8
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 9 ; 0x9
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 10 ; 0xa
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 11 ; 0xb
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI0_3:
.byte 12 ; 0xc
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 13 ; 0xd
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 14 ; 0xe
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 15 ; 0xf
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_idcin_read_packet: ; @idcin_read_packet
.cfi_startproc
; %bb.0:
stp x28, x27, [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
sub sp, sp, #1808
.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 w27, -72
.cfi_offset w28, -80
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, #-72]
ldp x21, x23, [x0]
mov x0, x21
bl _avio_feof
cbz x0, LBB0_4
LBB0_1:
ldr x8, [x20]
ldr w8, [x8]
Lloh3:
adrp x9, _AVERROR_EOF@GOTPAGE
Lloh4:
ldr x9, [x9, _AVERROR_EOF@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, #0
csel w0, w9, w8, eq
LBB0_2:
ldur x8, [x29, #-72]
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_33
; %bb.3:
add sp, sp, #1808
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_4:
ldr w8, [x23]
cbz w8, LBB0_8
; %bb.5:
mov x0, x21
bl _avio_rl32
cmp w0, #2
b.ne LBB0_11
; %bb.6:
Lloh9:
adrp x8, _EIO@GOTPAGE
Lloh10:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ldur x8, [x29, #-72]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_33
; %bb.7:
add sp, sp, #1808
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
b _AVERROR
LBB0_8:
ldr w8, [x23, #4]
cmp w8, #0
mov w8, #8 ; =0x8
mov w9, #12 ; =0xc
csel x8, x9, x8, eq
ldr w20, [x23, x8]
mov x0, x21
mov x1, x19
mov x2, x20
bl _av_get_packet
tbnz w0, #31, LBB0_2
; %bb.9:
ldr w8, [x23, #32]
ldr w9, [x23, #16]
udiv w9, w20, w9
stp w9, w8, [x19]
ldr w8, [x23, #4]
eor w8, w8, #0x1
str w8, [x23, #4]
ldr x8, [x23, #24]
cbz x8, LBB0_30
LBB0_10:
mov w0, #0 ; =0x0
ldr w8, [x23]
eor w8, w8, #0x1
str w8, [x23]
b LBB0_2
LBB0_11:
cmp w0, #1
b.ne LBB0_16
; %bb.12:
mov x22, x0
add x1, sp, #1032
mov x0, x21
mov w2, #768 ; =0x300
bl _avio_read
tbnz w0, #31, LBB0_2
; %bb.13:
cmp w0, #768
b.ne LBB0_21
; %bb.14:
mov x8, #0 ; =0x0
add x9, sp, #1032
Lloh15:
adrp x10, lCPI0_0@PAGE
Lloh16:
ldr q0, [x10, lCPI0_0@PAGEOFF]
Lloh17:
adrp x10, lCPI0_1@PAGE
Lloh18:
ldr q1, [x10, lCPI0_1@PAGEOFF]
Lloh19:
adrp x10, lCPI0_2@PAGE
Lloh20:
ldr q2, [x10, lCPI0_2@PAGEOFF]
add x10, sp, #8
Lloh21:
adrp x11, lCPI0_3@PAGE
Lloh22:
ldr q3, [x11, lCPI0_3@PAGEOFF]
mov x0, x22
LBB0_15: ; =>This Inner Loop Header: Depth=1
ld3.16b { v4, v5, v6 }, [x9], #48
tbl.16b v7, { v4 }, v0
tbl.16b v16, { v4 }, v1
tbl.16b v17, { v4 }, v2
tbl.16b v18, { v4 }, v3
tbl.16b v19, { v5 }, v0
tbl.16b v20, { v5 }, v1
tbl.16b v21, { v5 }, v2
tbl.16b v22, { v5 }, v3
tbl.16b v23, { v6 }, v0
tbl.16b v24, { v6 }, v1
tbl.16b v25, { v6 }, v2
tbl.16b v4, { v6 }, v3
shl.4s v5, v18, #16
shl.4s v6, v17, #16
shl.4s v16, v16, #16
shl.4s v7, v7, #16
shl.4s v17, v22, #8
shl.4s v18, v21, #8
shl.4s v20, v20, #8
shl.4s v19, v19, #8
orr.16b v7, v7, v19
orr.16b v16, v16, v20
orr.16b v6, v6, v18
orr.16b v5, v5, v17
orr.16b v4, v5, v4
orr.16b v5, v6, v25
orr.16b v6, v16, v24
orr.16b v7, v7, v23
orr.4s v7, #255, lsl #24
orr.4s v6, #255, lsl #24
add x11, x10, x8
orr.4s v5, #255, lsl #24
orr.4s v4, #255, lsl #24
stp q5, q4, [x11, #32]
stp q7, q6, [x11]
add x8, x8, #64
cmp x8, #1024
b.ne LBB0_15
LBB0_16:
ldr x8, [x20]
ldr x8, [x8, #8]
cbz x8, LBB0_18
; %bb.17:
Lloh23:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
Lloh26:
adrp x2, l_.str@PAGE
Lloh27:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _av_log
b LBB0_1
LBB0_18:
mov x24, x0
mov x0, x21
bl _avio_rl32
; kill: def $w0 killed $w0 def $x0
subs w22, w0, #4
b.lo LBB0_20
; %bb.19:
Lloh28:
adrp x8, _INT_MAX@GOTPAGE
Lloh29:
ldr x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
sub w8, w8, #4
cmp w0, w8
b.ls LBB0_24
LBB0_20:
Lloh31:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh32:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh33:
ldr w1, [x8]
str x0, [sp]
Lloh34:
adrp x2, l_.str.1@PAGE
Lloh35:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x20
bl _av_log
Lloh36:
adrp x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh37:
ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh38:
ldr w0, [x8]
b LBB0_2
LBB0_21:
Lloh39:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh40:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh41:
ldr w1, [x8]
Lloh42:
adrp x2, l_.str@PAGE
Lloh43:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _av_log
LBB0_22:
Lloh44:
adrp x8, _EIO@GOTPAGE
Lloh45:
ldr x8, [x8, _EIO@GOTPAGEOFF]
LBB0_23:
ldr w0, [x8]
bl _AVERROR
b LBB0_2
LBB0_24:
mov x0, x21
mov w1, #4 ; =0x4
bl _avio_skip
mov x0, x21
mov x1, x19
mov x2, x22
bl _av_get_packet
tbnz w0, #31, LBB0_2
; %bb.25:
cmp w0, w22
b.ne LBB0_31
; %bb.26:
cmp w24, #1
b.ne LBB0_29
; %bb.27:
Lloh46:
adrp x8, _AV_PKT_DATA_PALETTE@GOTPAGE
Lloh47:
ldr x8, [x8, _AV_PKT_DATA_PALETTE@GOTPAGEOFF]
Lloh48:
ldr w1, [x8]
Lloh49:
adrp x20, _AVPALETTE_SIZE@GOTPAGE
Lloh50:
ldr x20, [x20, _AVPALETTE_SIZE@GOTPAGEOFF]
ldr w2, [x20]
mov x0, x19
bl _av_packet_new_side_data
cbz x0, LBB0_32
; %bb.28:
ldr w2, [x20]
add x1, sp, #8
bl _memcpy
Lloh51:
adrp x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh52:
ldr x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh53:
ldr w8, [x8]
ldr w9, [x19, #8]
orr w8, w9, w8
str w8, [x19, #8]
LBB0_29:
ldr w8, [x23, #36]
mov w9, #1 ; =0x1
stp w9, w8, [x19]
ldr x8, [x23, #24]
cbnz x8, LBB0_10
LBB0_30:
mov w0, #0 ; =0x0
b LBB0_2
LBB0_31:
Lloh54:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh55:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh56:
ldr w1, [x8]
Lloh57:
adrp x2, l_.str@PAGE
Lloh58:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _av_log
mov x0, x19
bl _av_packet_unref
b LBB0_22
LBB0_32:
mov x0, x19
bl _av_packet_unref
Lloh59:
adrp x8, _ENOMEM@GOTPAGE
Lloh60:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_23
LBB0_33:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdr Lloh21, Lloh22
.loh AdrpLdr Lloh19, Lloh20
.loh AdrpAdrp Lloh17, Lloh19
.loh AdrpLdr Lloh17, Lloh18
.loh AdrpAdrp Lloh15, Lloh17
.loh AdrpLdr Lloh15, Lloh16
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGot Lloh59, Lloh60
.cfi_endproc
; -- End function
.globl _g_aug_volatile_4705 ; @g_aug_volatile_4705
.zerofill __DATA,__common,_g_aug_volatile_4705,4,2
.comm _AVERROR_EOF,4,2 ; @AVERROR_EOF
.comm _EIO,4,2 ; @EIO
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "incomplete packet\n"
.comm _INT_MAX,4,2 ; @INT_MAX
l_.str.1: ; @.str.1
.asciz "invalid chunk size: %u\n"
.comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA
.comm _AV_PKT_DATA_PALETTE,4,2 ; @AV_PKT_DATA_PALETTE
.comm _AVPALETTE_SIZE,4,2 ; @AVPALETTE_SIZE
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _AV_PKT_FLAG_KEY,4,2 ; @AV_PKT_FLAG_KEY
.no_dead_strip _idcin_read_packet
.subsections_via_symbols
| assembly_file_141692.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function speyside_get_micbias
_speyside_get_micbias: ## @speyside_get_micbias
.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 _speyside_jack_polarity@GOTPCREL(%rip), %r14
cmpq $0, (%r14)
je LBB0_3
## %bb.1:
movl (%rbx), %edi
leaq L_.str(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_6
## %bb.2:
cmpq $0, (%r14)
jne LBB0_4
LBB0_3:
movl (%rbx), %edi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_6
LBB0_4:
xorl %eax, %eax
jmp LBB0_7
LBB0_6:
movl $1, %eax
LBB0_7:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _speyside_jack_polarity,8,3 ## @speyside_jack_polarity
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "MICB1"
L_.str.1: ## @.str.1
.asciz "MICB2"
.no_dead_strip _speyside_get_micbias
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function speyside_get_micbias
_speyside_get_micbias: ; @speyside_get_micbias
.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
Lloh0:
adrp x20, _speyside_jack_polarity@GOTPAGE
Lloh1:
ldr x20, [x20, _speyside_jack_polarity@GOTPAGEOFF]
ldr x8, [x20]
cbz x8, LBB0_3
; %bb.1:
ldr w0, [x19]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbz x0, LBB0_5
; %bb.2:
ldr x8, [x20]
cbnz x8, LBB0_4
LBB0_3:
ldr w0, [x19]
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz x0, LBB0_5
LBB0_4:
mov w0, #0 ; =0x0
b LBB0_6
LBB0_5:
mov w0, #1 ; =0x1
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _speyside_jack_polarity,8,3 ; @speyside_jack_polarity
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MICB1"
l_.str.1: ; @.str.1
.asciz "MICB2"
.no_dead_strip _speyside_get_micbias
.subsections_via_symbols
| assembly_file_12946.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function age_miibus_readreg
_age_miibus_readreg: ## @age_miibus_readreg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
callq _device_get_softc
movq %rax, %r15
movq _MDIO_OP_EXECUTE@GOTPCREL(%rip), %r13
movq _MDIO_OP_READ@GOTPCREL(%rip), %rax
movl (%rax), %ebx
orl (%r13), %ebx
movq _AGE_MDIO@GOTPCREL(%rip), %r14
movq _MDIO_SUP_PREAMBLE@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movl (%r14), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq _MDIO_CLK_25_4@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movl %r12d, -44(%rbp) ## 4-byte Spill
movl %r12d, %edi
callq _MDIO_REG_ADDR
orl %eax, %ebx
movq %r15, %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _CSR_WRITE_4
movq _AGE_PHY_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
testl %ebx, %ebx
jle LBB0_4
## %bb.1:
incl %ebx
movq _MDIO_OP_BUSY@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl $1, %edi
callq _DELAY
movl (%r14), %esi
movq %r15, %rdi
callq _CSR_READ_4
movl (%r12), %ecx
orl (%r13), %ecx
testl %eax, %ecx
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
decl %ebx
cmpl $1, %ebx
jg LBB0_2
jmp LBB0_5
LBB0_4:
## implicit-def: $eax
je LBB0_5
LBB0_6:
movq _MDIO_DATA_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movq _MDIO_DATA_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
sarl %cl, %eax
jmp LBB0_7
LBB0_5:
movl (%r15), %edi
leaq L_.str(%rip), %rsi
movl -44(%rbp), %edx ## 4-byte Reload
callq _device_printf
xorl %eax, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AGE_MDIO,4,2 ## @AGE_MDIO
.comm _MDIO_OP_EXECUTE,4,2 ## @MDIO_OP_EXECUTE
.comm _MDIO_OP_READ,4,2 ## @MDIO_OP_READ
.comm _MDIO_SUP_PREAMBLE,4,2 ## @MDIO_SUP_PREAMBLE
.comm _MDIO_CLK_25_4,4,2 ## @MDIO_CLK_25_4
.comm _AGE_PHY_TIMEOUT,4,2 ## @AGE_PHY_TIMEOUT
.comm _MDIO_OP_BUSY,4,2 ## @MDIO_OP_BUSY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "phy read timeout : %d\n"
.comm _MDIO_DATA_MASK,4,2 ## @MDIO_DATA_MASK
.comm _MDIO_DATA_SHIFT,4,2 ## @MDIO_DATA_SHIFT
.no_dead_strip _age_miibus_readreg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function age_miibus_readreg
_age_miibus_readreg: ; @age_miibus_readreg
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
bl _device_get_softc
mov x20, x0
Lloh0:
adrp x22, _AGE_MDIO@GOTPAGE
Lloh1:
ldr x22, [x22, _AGE_MDIO@GOTPAGEOFF]
ldr w21, [x22]
Lloh2:
adrp x23, _MDIO_OP_EXECUTE@GOTPAGE
Lloh3:
ldr x23, [x23, _MDIO_OP_EXECUTE@GOTPAGEOFF]
ldr w8, [x23]
Lloh4:
adrp x9, _MDIO_OP_READ@GOTPAGE
Lloh5:
ldr x9, [x9, _MDIO_OP_READ@GOTPAGEOFF]
Lloh6:
ldr w9, [x9]
orr w8, w9, w8
Lloh7:
adrp x9, _MDIO_SUP_PREAMBLE@GOTPAGE
Lloh8:
ldr x9, [x9, _MDIO_SUP_PREAMBLE@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
orr w8, w8, w9
Lloh10:
adrp x9, _MDIO_CLK_25_4@GOTPAGE
Lloh11:
ldr x9, [x9, _MDIO_CLK_25_4@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
orr w24, w8, w9
mov x0, x19
bl _MDIO_REG_ADDR
orr w2, w24, w0
mov x0, x20
mov x1, x21
bl _CSR_WRITE_4
Lloh13:
adrp x8, _AGE_PHY_TIMEOUT@GOTPAGE
Lloh14:
ldr x8, [x8, _AGE_PHY_TIMEOUT@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
add w21, w8, #1
Lloh16:
adrp x24, _MDIO_OP_BUSY@GOTPAGE
Lloh17:
ldr x24, [x24, _MDIO_OP_BUSY@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov w0, #1
bl _DELAY
ldr w1, [x22]
mov x0, x20
bl _CSR_READ_4
ldr w8, [x23]
ldr w9, [x24]
orr w8, w9, w8
tst w8, w0
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub w21, w21, #1
cmp w21, #1
b.gt LBB0_2
b LBB0_6
LBB0_4:
; implicit-def: $w0
cbz w8, LBB0_6
LBB0_5:
Lloh18:
adrp x8, _MDIO_DATA_MASK@GOTPAGE
Lloh19:
ldr x8, [x8, _MDIO_DATA_MASK@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
and w8, w8, w0
Lloh21:
adrp x9, _MDIO_DATA_SHIFT@GOTPAGE
Lloh22:
ldr x9, [x9, _MDIO_DATA_SHIFT@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
asr w0, w8, w9
b LBB0_7
LBB0_6:
ldr w0, [x20]
Lloh24:
adrp x1, l_.str@PAGE
Lloh25:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _device_printf
mov w0, #0
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _AGE_MDIO,4,2 ; @AGE_MDIO
.comm _MDIO_OP_EXECUTE,4,2 ; @MDIO_OP_EXECUTE
.comm _MDIO_OP_READ,4,2 ; @MDIO_OP_READ
.comm _MDIO_SUP_PREAMBLE,4,2 ; @MDIO_SUP_PREAMBLE
.comm _MDIO_CLK_25_4,4,2 ; @MDIO_CLK_25_4
.comm _AGE_PHY_TIMEOUT,4,2 ; @AGE_PHY_TIMEOUT
.comm _MDIO_OP_BUSY,4,2 ; @MDIO_OP_BUSY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "phy read timeout : %d\n"
.comm _MDIO_DATA_MASK,4,2 ; @MDIO_DATA_MASK
.comm _MDIO_DATA_SHIFT,4,2 ; @MDIO_DATA_SHIFT
.no_dead_strip _age_miibus_readreg
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/age/extr_if_age.c_age_miibus_readreg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gdbarch_believe_pcc_promotion_type ## -- Begin function gdbarch_believe_pcc_promotion_type
.p2align 4, 0x90
_gdbarch_believe_pcc_promotion_type: ## @gdbarch_believe_pcc_promotion_type
.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
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _gdb_assert
movq _gdbarch_debug@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
jl LBB0_2
## %bb.1:
movq _gdb_stdlog@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf_unfiltered
LBB0_2:
movl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gdbarch_debug,4,2 ## @gdbarch_debug
.comm _gdb_stdlog,4,2 ## @gdb_stdlog
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gdbarch_believe_pcc_promotion_type called\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gdbarch_believe_pcc_promotion_type ; -- Begin function gdbarch_believe_pcc_promotion_type
.p2align 2
_gdbarch_believe_pcc_promotion_type: ; @gdbarch_believe_pcc_promotion_type
.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
cmp x0, #0
cset w0, ne
bl _gdb_assert
Lloh0:
adrp x8, _gdbarch_debug@GOTPAGE
Lloh1:
ldr x8, [x8, _gdbarch_debug@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #2
b.lt LBB0_2
; %bb.1:
Lloh3:
adrp x8, _gdb_stdlog@GOTPAGE
Lloh4:
ldr x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _fprintf_unfiltered
LBB0_2:
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _gdbarch_debug,4,2 ; @gdbarch_debug
.comm _gdb_stdlog,4,2 ; @gdb_stdlog
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gdbarch_believe_pcc_promotion_type called\n"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_gdbarch.c_gdbarch_believe_pcc_promotion_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_str.6(%rip), %r14
movq %r14, %rdi
callq _puts
leaq L_str.5(%rip), %rbx
movq %rbx, %rdi
callq _puts
leaq L_str.4(%rip), %rdi
callq _puts
movq %rbx, %rdi
callq _puts
movq %r14, %rdi
callq _puts
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str.4: ## @str.4
.asciz "# SEJA BEM VINDO #"
L_str.5: ## @str.5
.asciz "# #"
L_str.6: ## @str.6
.asciz "##################"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, l_str.6@PAGE
Lloh1:
add x19, x19, l_str.6@PAGEOFF
mov x0, x19
bl _puts
Lloh2:
adrp x20, l_str.5@PAGE
Lloh3:
add x20, x20, l_str.5@PAGEOFF
mov x0, x20
bl _puts
Lloh4:
adrp x0, l_str.4@PAGE
Lloh5:
add x0, x0, l_str.4@PAGEOFF
bl _puts
mov x0, x20
bl _puts
mov x0, x19
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str.4: ; @str.4
.asciz "# SEJA BEM VINDO #"
l_str.5: ; @str.5
.asciz "# #"
l_str.6: ; @str.6
.asciz "##################"
.subsections_via_symbols
| the_stack_data/68528.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function db_examine
_db_examine: ## @db_examine
.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
## kill: def $edx killed $edx def $rdx
movq %rsi, -48(%rbp) ## 8-byte Spill
movl %edi, %r15d
movq _db_pager_quit@GOTPCREL(%rip), %rax
testl %edx, %edx
jg LBB0_5
## %bb.1:
cmpl $0, (%rax)
jne LBB0_2
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_7 Depth 3
## Child Loop BB0_32 Depth 4
movq %rdx, -56(%rbp) ## 8-byte Spill
movl $4, %r12d
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB0_6
LBB0_16: ## in Loop: Header=BB0_6 Depth=2
movl $8, %r12d
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_7 Depth 3
## Child Loop BB0_32 Depth 4
leal (,%r12,4), %r13d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_32 Depth 4
movzbl (%rbx), %r14d
incq %rbx
leal -97(%r14), %eax
cmpl $11, %eax
ja LBB0_8
## %bb.13: ## in Loop: Header=BB0_7 Depth=3
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_7 Depth=3
testl %r14d, %r14d
je LBB0_3
LBB0_9: ## in Loop: Header=BB0_7 Depth=3
xorl %eax, %eax
callq _db_print_position
testl %eax, %eax
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_7 Depth=3
movq _DB_STGY_ANY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movsbl %r15b, %edi
callq _db_printsym
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _db_printf
movq _db_prev@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
LBB0_11: ## in Loop: Header=BB0_7 Depth=3
addl $-73, %r14d
cmpl $49, %r14d
ja LBB0_38
## %bb.12: ## in Loop: Header=BB0_7 Depth=3
leaq LJTI0_1(%rip), %rax
movslq (%rax,%r14,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_36: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl $1, %esi
jmp LBB0_37
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## Parent Loop BB0_7 Depth=3
## => This Inner Loop Header: Depth=4
movl %r15d, %edi
movl $1, %esi
xorl %edx, %edx
callq _db_get_value
incl %r15d
testb %al, %al
je LBB0_38
## %bb.33: ## in Loop: Header=BB0_32 Depth=4
movsbl %al, %esi
leal -32(%rsi), %eax
cmpb $95, %al
leaq L_.str.8(%rip), %rax
leaq L_.str.9(%rip), %rdi
cmovbq %rax, %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _db_printf
jmp LBB0_32
LBB0_24: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl %r12d, %esi
movl $1, %edx
callq _db_get_value
addl %r12d, %r15d
movsbq %al, %rdx
leaq L_.str.4(%rip), %rdi
jmp LBB0_22
LBB0_35: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
xorl %esi, %esi
LBB0_37: ## in Loop: Header=BB0_7 Depth=3
callq _db_disasm
movl %eax, %r15d
jmp LBB0_38
LBB0_27: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl %r12d, %esi
xorl %edx, %edx
callq _db_get_value
addl %r12d, %r15d
movsbq %al, %rdx
leaq L_.str.7(%rip), %rdi
jmp LBB0_22
LBB0_25: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl %r12d, %esi
movl $1, %edx
callq _db_get_value
addl %r12d, %r15d
movsbq %al, %rdx
leaq L_.str.5(%rip), %rdi
jmp LBB0_22
LBB0_28: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl $1, %esi
xorl %edx, %edx
callq _db_get_value
incl %r15d
movsbl %al, %esi
leal -32(%rsi), %eax
cmpb $94, %al
ja LBB0_31
## %bb.29: ## in Loop: Header=BB0_7 Depth=3
leaq L_.str.8(%rip), %rdi
jmp LBB0_30
LBB0_34: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl $8, %esi
xorl %edx, %edx
callq _db_get_value
addl $8, %r15d
movq _DB_STGY_ANY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movsbl %al, %edi
callq _db_printsym
jmp LBB0_38
LBB0_21: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl %r12d, %esi
movl $1, %edx
callq _db_get_value
addl %r12d, %r15d
movsbq %al, %rdx
leaq L_.str.2(%rip), %rdi
jmp LBB0_22
LBB0_23: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl %r12d, %esi
xorl %edx, %edx
callq _db_get_value
addl %r12d, %r15d
movsbq %al, %rdx
leaq L_.str.3(%rip), %rdi
jmp LBB0_22
LBB0_26: ## in Loop: Header=BB0_7 Depth=3
movl %r15d, %edi
movl %r12d, %esi
xorl %edx, %edx
callq _db_get_value
addl %r12d, %r15d
movsbq %al, %rdx
leaq L_.str.6(%rip), %rdi
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_7 Depth=3
movl %r13d, %esi
xorl %eax, %eax
callq _db_printf
LBB0_38: ## in Loop: Header=BB0_7 Depth=3
xorl %eax, %eax
callq _db_print_position
testl %eax, %eax
je LBB0_7
## %bb.39: ## in Loop: Header=BB0_7 Depth=3
movl $1, %edi
callq _db_end_line
jmp LBB0_7
LBB0_31: ## in Loop: Header=BB0_7 Depth=3
leaq L_.str.9(%rip), %rdi
LBB0_30: ## in Loop: Header=BB0_7 Depth=3
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _db_printf
jmp LBB0_38
LBB0_15: ## in Loop: Header=BB0_6 Depth=2
movl $4, %r12d
jmp LBB0_6
LBB0_17: ## in Loop: Header=BB0_6 Depth=2
xorl %eax, %eax
callq _db_print_position
testl %eax, %eax
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_6 Depth=2
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _db_printf
LBB0_19: ## in Loop: Header=BB0_6 Depth=2
movq _db_prev@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
movq _DB_STGY_ANY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movsbl %r15b, %edi
callq _db_printsym
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _db_printf
movl $8, %r12d
jmp LBB0_6
LBB0_20: ## in Loop: Header=BB0_6 Depth=2
movl $1, %r12d
jmp LBB0_6
LBB0_14: ## in Loop: Header=BB0_6 Depth=2
movl $2, %r12d
jmp LBB0_6
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
leal -1(%rcx), %eax
cmpl $1, %ecx
movl %eax, %edx
jg LBB0_5
## %bb.4: ## in Loop: Header=BB0_5 Depth=1
movq _db_pager_quit@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
movl %eax, %edx
je LBB0_5
LBB0_2:
movq _db_next@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
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_17, LBB0_17-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
.long L0_0_set_17
.long L0_0_set_20
.long L0_0_set_9
.long L0_0_set_9
.long L0_0_set_9
.long L0_0_set_9
.long L0_0_set_16
.long L0_0_set_14
.long L0_0_set_9
.long L0_0_set_9
.long L0_0_set_9
.long L0_0_set_15
.set L0_1_set_36, LBB0_36-LJTI0_1
.set L0_1_set_38, LBB0_38-LJTI0_1
.set L0_1_set_34, LBB0_34-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_35, LBB0_35-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_32, LBB0_32-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
LJTI0_1:
.long L0_1_set_36
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_34
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_28
.long L0_1_set_25
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_35
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_27
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_21
.long L0_1_set_32
.long L0_1_set_38
.long L0_1_set_26
.long L0_1_set_38
.long L0_1_set_38
.long L0_1_set_23
.long L0_1_set_38
.long L0_1_set_24
.end_data_region
## -- End function
.comm _db_pager_quit,4,2 ## @db_pager_quit
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.comm _db_prev,4,2 ## @db_prev
.comm _DB_STGY_ANY,4,2 ## @DB_STGY_ANY
L_.str.1: ## @.str.1
.asciz ":\t"
L_.str.2: ## @.str.2
.asciz "%+-*lr"
L_.str.3: ## @.str.3
.asciz "%-*lx"
L_.str.4: ## @.str.4
.asciz "%-*ly"
L_.str.5: ## @.str.5
.asciz "%-*ld"
L_.str.6: ## @.str.6
.asciz "%-*lu"
L_.str.7: ## @.str.7
.asciz "%-*lo"
L_.str.8: ## @.str.8
.asciz "%c"
L_.str.9: ## @.str.9
.asciz "\\%03o"
.comm _db_next,4,2 ## @db_next
.no_dead_strip _db_examine
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function db_examine
_db_examine: ; @db_examine
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x23, _db_pager_quit@GOTPAGE
Lloh1:
ldr x23, [x23, _db_pager_quit@GOTPAGEOFF]
cmp w2, #0
b.le LBB0_52
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_7 Depth 3
; Child Loop BB0_20 Depth 4
mov w22, #4 ; =0x4
mov x24, x20
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=2
mov w22, #4 ; =0x4
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_7 Depth 3
; Child Loop BB0_20 Depth 4
lsl w25, w22, #2
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov x1, x22
mov w2, #0 ; =0x0
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, w22
sxtw x8, w0
stp x25, x8, [sp]
Lloh2:
adrp x0, l_.str.6@PAGE
Lloh3:
add x0, x0, l_.str.6@PAGEOFF
bl _db_printf
LBB0_5: ; in Loop: Header=BB0_7 Depth=3
bl _db_print_position
cbz w0, LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=3
mov w0, #1 ; =0x1
bl _db_end_line
LBB0_7: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_20 Depth 4
ldrb w26, [x24], #1
cmp w26, #102
b.gt LBB0_11
; %bb.8: ; in Loop: Header=BB0_7 Depth=3
cbz w26, LBB0_51
; %bb.9: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #97
b.eq LBB0_47
; %bb.10: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #98
b.ne LBB0_14
b LBB0_45
LBB0_11: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #103
b.eq LBB0_46
; %bb.12: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #108
b.eq LBB0_2
; %bb.13: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #104
b.eq LBB0_50
LBB0_14: ; in Loop: Header=BB0_7 Depth=3
bl _db_print_position
cbz w0, LBB0_22
; %bb.15: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #110
b.le LBB0_23
LBB0_16: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #116
b.gt LBB0_28
; %bb.17: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #111
b.eq LBB0_42
; %bb.18: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #114
b.eq LBB0_38
; %bb.19: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #115
b.ne LBB0_5
LBB0_20: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; Parent Loop BB0_7 Depth=3
; => This Inner Loop Header: Depth=4
mov x0, x21
mov w1, #1 ; =0x1
mov w2, #0 ; =0x0
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, #1
cbz w0, LBB0_5
; %bb.21: ; in Loop: Header=BB0_20 Depth=4
sub w8, w0, #32
Lloh4:
adrp x9, l_.str.9@PAGE
Lloh5:
add x9, x9, l_.str.9@PAGEOFF
and w8, w8, #0xff
Lloh6:
adrp x10, l_.str.8@PAGE
Lloh7:
add x10, x10, l_.str.8@PAGEOFF
cmp w8, #95
csel x8, x10, x9, lo
sxtb x9, w0
str x9, [sp]
mov x0, x8
bl _db_printf
b LBB0_20
LBB0_22: ; in Loop: Header=BB0_7 Depth=3
Lloh8:
adrp x8, _DB_STGY_ANY@GOTPAGE
Lloh9:
ldr x8, [x8, _DB_STGY_ANY@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
sxtb w0, w21
bl _db_printsym
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _db_printf
Lloh13:
adrp x8, _db_prev@GOTPAGE
Lloh14:
ldr x8, [x8, _db_prev@GOTPAGEOFF]
Lloh15:
str w21, [x8]
cmp w26, #110
b.gt LBB0_16
LBB0_23: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #98
b.le LBB0_32
; %bb.24: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #99
b.eq LBB0_40
; %bb.25: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #100
b.eq LBB0_37
; %bb.26: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #105
b.ne LBB0_5
; %bb.27: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov w1, #0 ; =0x0
b LBB0_36
LBB0_28: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #117
b.eq LBB0_4
; %bb.29: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #120
b.eq LBB0_39
; %bb.30: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #122
b.ne LBB0_5
; %bb.31: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov x1, x22
mov w2, #1 ; =0x1
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, w22
sxtw x8, w0
stp x25, x8, [sp]
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_44
LBB0_32: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #73
b.eq LBB0_35
; %bb.33: ; in Loop: Header=BB0_7 Depth=3
cmp w26, #83
b.ne LBB0_5
; %bb.34: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov w1, #8 ; =0x8
mov w2, #0 ; =0x0
bl _db_get_value
add w21, w21, #8
Lloh18:
adrp x8, _DB_STGY_ANY@GOTPAGE
Lloh19:
ldr x8, [x8, _DB_STGY_ANY@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
bl _db_printsym
bl _db_print_position
cbnz w0, LBB0_6
b LBB0_7
LBB0_35: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov w1, #1 ; =0x1
LBB0_36: ; in Loop: Header=BB0_7 Depth=3
bl _db_disasm
mov x21, x0
bl _db_print_position
cbnz w0, LBB0_6
b LBB0_7
LBB0_37: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov x1, x22
mov w2, #1 ; =0x1
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, w22
sxtw x8, w0
stp x25, x8, [sp]
Lloh21:
adrp x0, l_.str.5@PAGE
Lloh22:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_44
LBB0_38: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov x1, x22
mov w2, #1 ; =0x1
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, w22
sxtw x8, w0
stp x25, x8, [sp]
Lloh23:
adrp x0, l_.str.2@PAGE
Lloh24:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_44
LBB0_39: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov x1, x22
mov w2, #0 ; =0x0
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, w22
sxtw x8, w0
stp x25, x8, [sp]
Lloh25:
adrp x0, l_.str.3@PAGE
Lloh26:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_44
LBB0_40: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov w1, #1 ; =0x1
mov w2, #0 ; =0x0
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, #1
sub w8, w0, #32
cmp w8, #94
b.hi LBB0_43
; %bb.41: ; in Loop: Header=BB0_7 Depth=3
str x0, [sp]
Lloh27:
adrp x0, l_.str.8@PAGE
Lloh28:
add x0, x0, l_.str.8@PAGEOFF
b LBB0_44
LBB0_42: ; in Loop: Header=BB0_7 Depth=3
mov x0, x21
mov x1, x22
mov w2, #0 ; =0x0
bl _db_get_value
; kill: def $w0 killed $w0 def $x0
add w21, w21, w22
sxtw x8, w0
stp x25, x8, [sp]
Lloh29:
adrp x0, l_.str.7@PAGE
Lloh30:
add x0, x0, l_.str.7@PAGEOFF
b LBB0_44
LBB0_43: ; in Loop: Header=BB0_7 Depth=3
; kill: def $w0 killed $w0 killed $x0 def $x0
str x0, [sp]
Lloh31:
adrp x0, l_.str.9@PAGE
Lloh32:
add x0, x0, l_.str.9@PAGEOFF
LBB0_44: ; in Loop: Header=BB0_7 Depth=3
bl _db_printf
bl _db_print_position
cbnz w0, LBB0_6
b LBB0_7
LBB0_45: ; in Loop: Header=BB0_3 Depth=2
mov w22, #1 ; =0x1
b LBB0_3
LBB0_46: ; in Loop: Header=BB0_3 Depth=2
mov w22, #8 ; =0x8
b LBB0_3
LBB0_47: ; in Loop: Header=BB0_3 Depth=2
bl _db_print_position
cbz w0, LBB0_49
; %bb.48: ; in Loop: Header=BB0_3 Depth=2
Lloh33:
adrp x0, l_.str@PAGE
Lloh34:
add x0, x0, l_.str@PAGEOFF
bl _db_printf
LBB0_49: ; in Loop: Header=BB0_3 Depth=2
Lloh35:
adrp x8, _db_prev@GOTPAGE
Lloh36:
ldr x8, [x8, _db_prev@GOTPAGEOFF]
Lloh37:
str w21, [x8]
Lloh38:
adrp x8, _DB_STGY_ANY@GOTPAGE
Lloh39:
ldr x8, [x8, _DB_STGY_ANY@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
sxtb w0, w21
bl _db_printsym
Lloh41:
adrp x0, l_.str.1@PAGE
Lloh42:
add x0, x0, l_.str.1@PAGEOFF
bl _db_printf
mov w22, #8 ; =0x8
b LBB0_3
LBB0_50: ; in Loop: Header=BB0_3 Depth=2
mov w22, #2 ; =0x2
b LBB0_3
LBB0_51: ; in Loop: Header=BB0_1 Depth=1
subs w19, w19, #1
b.gt LBB0_1
LBB0_52:
ldr w8, [x23]
cbz w8, LBB0_1
; %bb.53:
Lloh43:
adrp x8, _db_next@GOTPAGE
Lloh44:
ldr x8, [x8, _db_next@GOTPAGEOFF]
Lloh45:
str w21, [x8]
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, 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 Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotStr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _db_pager_quit,4,2 ; @db_pager_quit
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.comm _db_prev,4,2 ; @db_prev
.comm _DB_STGY_ANY,4,2 ; @DB_STGY_ANY
l_.str.1: ; @.str.1
.asciz ":\t"
l_.str.2: ; @.str.2
.asciz "%+-*lr"
l_.str.3: ; @.str.3
.asciz "%-*lx"
l_.str.4: ; @.str.4
.asciz "%-*ly"
l_.str.5: ; @.str.5
.asciz "%-*ld"
l_.str.6: ; @.str.6
.asciz "%-*lu"
l_.str.7: ; @.str.7
.asciz "%-*lo"
l_.str.8: ; @.str.8
.asciz "%c"
l_.str.9: ; @.str.9
.asciz "\\%03o"
.comm _db_next,4,2 ; @db_next
.no_dead_strip _db_examine
.subsections_via_symbols
| assembly_file_145972.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function odm_PTDecision_8188E
_odm_PTDecision_8188E: ## @odm_PTDecision_8188E
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _PT_PENALTY@GOTPCREL(%rip), %rax
movq (%rax), %r11
movl 20(%r11), %ecx
imull (%rdi), %ecx
movl (%r11), %edx
movq 8(%rdi), %r10
imull (%r10), %edx
xorl %r8d, %r8d
movl $0, %eax
cmpl %ecx, %edx
jg LBB0_4
## %bb.1:
movl 4(%r11), %esi
imull 4(%r10), %esi
addl %edx, %esi
movl $0, %eax
cmpl %ecx, %esi
jg LBB0_4
## %bb.2:
movl 8(%r11), %r9d
imull 8(%r10), %r9d
addl %esi, %r9d
movl $1, %eax
cmpl %ecx, %r9d
jg LBB0_4
## %bb.3:
movl 12(%r11), %eax
imull 12(%r10), %eax
addl %r9d, %eax
xorl %edx, %edx
cmpl %ecx, %eax
setg %dl
movl $2, %eax
subl %edx, %eax
LBB0_4:
movl 16(%rdi), %ecx
movl 20(%rdi), %edx
incl %ecx
sarl %ecx
movl %ecx, %esi
subl %eax, %esi
shll $4, %esi
cmpl %eax, %ecx
cmovlel %r8d, %esi
movl %edx, %eax
sarl %eax
sarl $2, %edx
addl %eax, %edx
leal (%rdx,%rsi), %eax
leal (%rsi,%rdx), %ecx
addl $2, %ecx
cmpl $191, %eax
movl $192, %eax
cmovll %ecx, %eax
movl %eax, 20(%rdi)
sarl $5, %eax
andl $-2, %eax
subl $1, %eax
cmovbl %r8d, %eax
cmpl $4, 24(%rdi)
cmovgel %r8d, %eax
movl %eax, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PT_PENALTY,8,3 ## @PT_PENALTY
.no_dead_strip _odm_PTDecision_8188E
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function odm_PTDecision_8188E
_odm_PTDecision_8188E: ; @odm_PTDecision_8188E
.cfi_startproc
; %bb.0:
ldr w9, [x0]
Lloh0:
adrp x8, _PT_PENALTY@GOTPAGE
Lloh1:
ldr x8, [x8, _PT_PENALTY@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w10, [x8, #20]
mul w9, w10, w9
ldr x11, [x0, #8]
ldr w10, [x11]
ldr w12, [x8]
mul w10, w12, w10
cmp w10, w9
b.gt LBB0_2
; %bb.1:
ldr w12, [x11, #4]
ldr w13, [x8, #4]
madd w10, w13, w12, w10
cmp w10, w9
b.le LBB0_4
LBB0_2:
mov w10, #0
LBB0_3:
ldp w8, w9, [x0, #16]
add w8, w8, #1
asr w8, w8, #1
subs w8, w8, w10
lsl w8, w8, #4
csel w8, w8, wzr, gt
asr w10, w9, #1
add w9, w10, w9, asr #2
add w8, w9, w8
add w9, w8, #2
mov w10, #192
cmp w8, #190
csel w8, w10, w9, gt
mov w9, #-2
ands w10, w9, w8, asr #5
sub w10, w10, #1
tst w9, w8, asr #5
ldr w9, [x0, #24]
ccmp w9, #3, #0, ne
csel w9, wzr, w10, gt
stp w9, w8, [x0, #16]
ret
LBB0_4:
ldr w12, [x11, #8]
ldr w13, [x8, #8]
madd w12, w13, w12, w10
mov w10, #1
cmp w12, w9
b.gt LBB0_3
; %bb.5:
ldr w11, [x11, #12]
ldr w8, [x8, #12]
madd w8, w8, w11, w12
cmp w8, w9
cinc w10, w10, le
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PT_PENALTY,8,3 ; @PT_PENALTY
.no_dead_strip _odm_PTDecision_8188E
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_hal8188e_rate_adaptive.c_odm_PTDecision_8188E.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _utf8version_is_supported ## -- Begin function utf8version_is_supported
.p2align 4, 0x90
_utf8version_is_supported: ## @utf8version_is_supported
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r14d
movl %edi, %r15d
movq _utf8agetab@GOTPCREL(%rip), %r13
movq (%r13), %rdi
callq _ARRAY_SIZE
movl %eax, %r12d
decl %r12d
movl %r15d, %edi
movl %r14d, %esi
movl %ebx, %edx
callq _UNICODE_AGE
movq (%r13), %rcx
movslq %r12d, %rdx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
testq %rdx, %rdx
sets %dil
movl (%rcx,%rdx,4), %esi
testl %esi, %esi
sete %r8b
testb %r8b, %dil
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
incq %rdx
cmpl %esi, %eax
jne LBB0_1
## %bb.4:
movl $1, %eax
jmp LBB0_5
LBB0_2:
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _utf8agetab,8,3 ## @utf8agetab
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _utf8version_is_supported ; -- Begin function utf8version_is_supported
.p2align 2
_utf8version_is_supported: ; @utf8version_is_supported
.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, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x22, _utf8agetab@GOTPAGE
Lloh1:
ldr x22, [x22, _utf8agetab@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAY_SIZE
sub w23, w0, #1
mov x0, x21
mov x1, x20
mov x2, x19
bl _UNICODE_AGE
ldr x8, [x22]
sxtw x9, w23
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x9, x9, #1
cmp w0, w10
b.eq LBB0_5
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w10, [x8, x9, lsl #2]
tbz x9, #63, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cbnz w10, LBB0_1
; %bb.4:
mov w0, #0 ; =0x0
b LBB0_6
LBB0_5:
mov w0, #1 ; =0x1
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _utf8agetab,8,3 ; @utf8agetab
.subsections_via_symbols
| assembly_file_123606.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $1, %edi
callq _sysconf
movq %rax, %rbx
movl $2, %edi
callq _sysconf
movq %rax, %r15
movl $5, %edi
callq _sysconf
movq %rax, %r14
cmpq $-1, %rbx
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
cmpq $-1, %r15
je LBB0_4
LBB0_5:
leaq L_.str.3(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
cmpq $-1, %r14
je LBB0_7
LBB0_8:
leaq L_.str.5(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_9
LBB0_1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r12
callq ___error
movl (%rax), %ebx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rsi
movq %r12, %rdi
movl %ebx, %edx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
cmpq $-1, %r15
jne LBB0_5
LBB0_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r15
callq ___error
movl (%rax), %ebx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
movl %ebx, %edx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
cmpq $-1, %r14
jne LBB0_8
LBB0_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r14
callq ___error
movl (%rax), %ebx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
movl %ebx, %edx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
LBB0_9:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error in getting _SC_ARG_MAX, erorr %d: %s\n"
L_.str.1: ## @.str.1
.asciz "Max arguments: %d\n"
L_.str.2: ## @.str.2
.asciz "Error in getting _SC_CHILD_MAX, error %d: %s\n"
L_.str.3: ## @.str.3
.asciz "Max child processes: %d\n"
L_.str.4: ## @.str.4
.asciz "Error in getting _SC_OPEN_MAX, error %d: %s\n"
L_.str.5: ## @.str.5
.asciz "Max open files: %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, #1
bl _sysconf
mov x21, x0
mov w0, #2
bl _sysconf
mov x20, x0
mov w0, #5
bl _sysconf
mov x19, x0
cmn x21, #1
b.eq LBB0_4
; %bb.1:
str x21, [sp]
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
cmn x20, #1
b.eq LBB0_5
LBB0_2:
str x20, [sp]
Lloh2:
adrp x0, l_.str.3@PAGE
Lloh3:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
cmn x19, #1
b.eq LBB0_6
LBB0_3:
str x19, [sp]
Lloh4:
adrp x0, l_.str.5@PAGE
Lloh5:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
Lloh6:
adrp x8, ___stderrp@GOTPAGE
Lloh7:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh8:
ldr x21, [x8]
bl ___error
ldr w22, [x0]
bl ___error
ldr w0, [x0]
bl _strerror
stp x22, x0, [sp]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _fprintf
cmn x20, #1
b.ne LBB0_2
LBB0_5:
Lloh11:
adrp x8, ___stderrp@GOTPAGE
Lloh12:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh13:
ldr x20, [x8]
bl ___error
ldr w21, [x0]
bl ___error
ldr w0, [x0]
bl _strerror
stp x21, x0, [sp]
Lloh14:
adrp x1, l_.str.2@PAGE
Lloh15:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _fprintf
cmn x19, #1
b.ne LBB0_3
LBB0_6:
Lloh16:
adrp x8, ___stderrp@GOTPAGE
Lloh17:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh18:
ldr x19, [x8]
bl ___error
ldr w20, [x0]
bl ___error
ldr w0, [x0]
bl _strerror
stp x20, x0, [sp]
Lloh19:
adrp x1, l_.str.4@PAGE
Lloh20:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _fprintf
LBB0_7:
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
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error in getting _SC_ARG_MAX, erorr %d: %s\n"
l_.str.1: ; @.str.1
.asciz "Max arguments: %d\n"
l_.str.2: ; @.str.2
.asciz "Error in getting _SC_CHILD_MAX, error %d: %s\n"
l_.str.3: ; @.str.3
.asciz "Max child processes: %d\n"
l_.str.4: ; @.str.4
.asciz "Error in getting _SC_OPEN_MAX, error %d: %s\n"
l_.str.5: ; @.str.5
.asciz "Max open files: %d\n"
.subsections_via_symbols
| the_stack_data/149155.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function _mdns_read_fqdn
LCPI0_0:
.byte 0 ## 0x0
.byte 4 ## 0x4
.byte 8 ## 0x8
.byte 12 ## 0xc
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_1:
.byte 0 ## 0x0
.byte 4 ## 0x4
.byte 8 ## 0x8
.byte 12 ## 0xc
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
__mdns_read_fqdn: ## @_mdns_read_fqdn
.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 %rsi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rsi), %r15d
testl %r15d, %r15d
je LBB0_39
## %bb.1:
movq %rcx, %rbx
movq %rdi, -96(%rbp) ## 8-byte Spill
leaq -4(%r13), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
leaq 3(%rcx), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
leaq 12(%r13), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0]
movq %r13, %r12
xorl %r14d, %r14d
movq %rdx, -88(%rbp) ## 8-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rdx), %rdi
leaq L_.str.2(%rip), %rsi
movl $8, %edx
callq _strlcat
movq -88(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rdi
movq %rbx, %rsi
movl $8, %edx
callq _strlcat
movq -88(%rbp), %rdx ## 8-byte Reload
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0]
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
leaq (,%r14,4), %r12
addq %r13, %r12
movl (%r13,%r14,4), %r15d
testl %r15d, %r15d
je LBB0_43
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_24 Depth 2
## Child Loop BB0_27 Depth 2
cmpl $4, (%rdx)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl $1, 4(%rdx)
movl (%r12), %r15d
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
cmpl $191, %r15d
jg LBB0_40
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
cmpl $63, %r15d
jg LBB0_42
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
leaq -1(%r14), %rax
testl %r15d, %r15d
jle LBB0_29
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
movl %r15d, %ecx
cmpl $8, %r15d
movq -120(%rbp), %r8 ## 8-byte Reload
jb LBB0_11
## %bb.12: ## in Loop: Header=BB0_5 Depth=1
leaq (%r14,%rcx), %rsi
leaq (%r8,%rsi,4), %rsi
cmpq %rbx, %rsi
jbe LBB0_15
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
leaq (%rbx,%rcx), %rdi
leaq (%r8,%r14,4), %rsi
cmpq %rdi, %rsi
jae LBB0_15
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
xorl %r9d, %r9d
LBB0_23: ## in Loop: Header=BB0_5 Depth=1
movq %rcx, %rdi
movq %r9, %rsi
andq $3, %rdi
je LBB0_25
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r13,%rax,4), %r8d
incq %rax
movb %r8b, (%rbx,%rsi)
incq %rsi
decq %rdi
jne LBB0_24
LBB0_25: ## in Loop: Header=BB0_5 Depth=1
subq %rcx, %r9
movq %rax, %r14
cmpq $-4, %r9
ja LBB0_30
## %bb.26: ## in Loop: Header=BB0_5 Depth=1
movq -112(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rsi), %r9
subq %rsi, %rcx
movq -104(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rax,4), %rdi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_27: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -12(%rdi,%rsi,4), %r8d
movb %r8b, -3(%r9,%rsi)
movzbl -8(%rdi,%rsi,4), %r8d
movb %r8b, -2(%r9,%rsi)
movzbl -4(%rdi,%rsi,4), %r8d
movb %r8b, -1(%r9,%rsi)
movzbl (%rdi,%rsi,4), %r8d
movb %r8b, (%r9,%rsi)
addq $4, %rsi
cmpq %rsi, %rcx
jne LBB0_27
## %bb.28: ## in Loop: Header=BB0_5 Depth=1
addq %rsi, %rax
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
movq %rax, %r14
LBB0_30: ## in Loop: Header=BB0_5 Depth=1
movslq %r15d, %rax
movb $0, (%rbx,%rax)
cmpl $1, (%rdx)
je LBB0_2
## %bb.31: ## in Loop: Header=BB0_5 Depth=1
cmpb $95, (%rbx)
je LBB0_35
## %bb.32: ## in Loop: Header=BB0_5 Depth=1
movq _MDNS_DEFAULT_DOMAIN@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _strcasecmp
testq %rax, %rax
je LBB0_35
## %bb.33: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_35
## %bb.34: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcasecmp
movq -88(%rbp), %rdx ## 8-byte Reload
testq %rax, %rax
jne LBB0_2
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_5 Depth=1
movq _MDNS_SUB_STR@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _strcasecmp
testq %rax, %rax
je LBB0_38
## %bb.36: ## in Loop: Header=BB0_5 Depth=1
movq -88(%rbp), %rdx ## 8-byte Reload
cmpl $0, 4(%rdx)
movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0]
jne LBB0_4
## %bb.37: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rdx), %rax
movq %rax, -80(%rbp)
movdqu 24(%rdx), %xmm0
movdqu %xmm0, -72(%rbp)
movq 40(%rdx), %rax
movq %rax, -56(%rbp)
movslq (%rdx), %rax
leal 1(%rax), %ecx
movl %ecx, (%rdx)
movq -80(%rbp,%rax,8), %rdi
incl %r15d
movq %rbx, %rsi
movl %r15d, %edx
callq _memcpy
movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0]
movq -88(%rbp), %rdx ## 8-byte Reload
jmp LBB0_4
LBB0_38: ## in Loop: Header=BB0_5 Depth=1
movq -88(%rbp), %rdx ## 8-byte Reload
movl $1, 16(%rdx)
jmp LBB0_3
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
movl %ecx, %r9d
andl $2147483640, %r9d ## imm = 0x7FFFFFF8
movdqu -4(%r13,%r14,4), %xmm0
movdqu 12(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, (%rbx)
movd %xmm1, 4(%rbx)
cmpq $8, %r9
je LBB0_22
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movdqu 28(%r13,%r14,4), %xmm0
movdqu 44(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, 8(%rbx)
movd %xmm1, 12(%rbx)
cmpl $16, %r9d
je LBB0_22
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
movdqu 60(%r13,%r14,4), %xmm0
movdqu 76(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, 16(%rbx)
movd %xmm1, 20(%rbx)
cmpl $24, %r9d
je LBB0_22
## %bb.18: ## in Loop: Header=BB0_5 Depth=1
movdqu 92(%r13,%r14,4), %xmm0
movdqu 108(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, 24(%rbx)
movd %xmm1, 28(%rbx)
cmpl $32, %r9d
je LBB0_22
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
movdqu 124(%r13,%r14,4), %xmm0
movdqu 140(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, 32(%rbx)
movd %xmm1, 36(%rbx)
cmpl $40, %r9d
je LBB0_22
## %bb.20: ## in Loop: Header=BB0_5 Depth=1
movdqu 156(%r13,%r14,4), %xmm0
movdqu 172(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, 40(%rbx)
movd %xmm1, 44(%rbx)
cmpl $48, %r9d
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_5 Depth=1
movdqu 188(%r13,%r14,4), %xmm0
movdqu 204(%r13,%r14,4), %xmm1
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, 48(%rbx)
movd %xmm1, 52(%rbx)
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
addq %r9, %rax
movq %rax, %r14
cmpl %ecx, %r9d
je LBB0_30
jmp LBB0_23
LBB0_39:
movq %r13, %r12
LBB0_43:
addq $4, %r12
jmp LBB0_44
LBB0_40:
andl $63, %r15d
shll $8, %r15d
movslq -4(%r13,%r14,4), %rax
orq %r15, %rax
leaq (,%rax,4), %rcx
movq -96(%rbp), %rdi ## 8-byte Reload
movq %rdi, %rsi
subq %rcx, %rsi
cmpq %r13, %rsi
jae LBB0_42
## %bb.41:
leaq (%rdi,%rax,4), %rsi
movq %rbx, %rcx
callq __mdns_read_fqdn
testq %rax, %rax
cmoveq %rax, %r12
jmp LBB0_44
LBB0_42:
xorl %r12d, %r12d
LBB0_44:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_46
## %bb.45:
movq %r12, %rax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_46:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MDNS_DEFAULT_DOMAIN,8,3 ## @MDNS_DEFAULT_DOMAIN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ip6"
L_.str.1: ## @.str.1
.asciz "in-addr"
L_.str.2: ## @.str.2
.asciz "."
.comm _MDNS_SUB_STR,8,3 ## @MDNS_SUB_STR
.no_dead_strip __mdns_read_fqdn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _mdns_read_fqdn
__mdns_read_fqdn: ; @_mdns_read_fqdn
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x22, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
ldr w24, [x1]
cbz w24, LBB0_29
; %bb.1:
mov x19, x3
mov x20, x2
str x0, [sp] ; 8-byte Folded Spill
mov x25, #0 ; =0x0
sub x26, x22, #4
mov w27, #1 ; =0x1
Lloh3:
adrp x23, l_.str.2@PAGE
Lloh4:
add x23, x23, l_.str.2@PAGEOFF
Lloh5:
adrp x28, _MDNS_SUB_STR@GOTPAGE
Lloh6:
ldr x28, [x28, _MDNS_SUB_STR@GOTPAGEOFF]
mov x21, x22
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x20, #8]
mov x1, x23
mov w2, #8 ; =0x8
bl _strlcat
ldr x0, [x20, #8]
mov x1, x19
mov w2, #8 ; =0x8
bl _strlcat
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x21, x22, x25, lsl #2
ldr w24, [x21]
cbz w24, LBB0_33
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
ldr w8, [x20]
cmp w8, #4
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str w27, [x20, #4]
ldr w24, [x21]
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
sub x8, x25, #1
cmp w24, #191
b.gt LBB0_30
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w24, #63
b.gt LBB0_32
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
cmp w24, #1
b.lt LBB0_15
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov w9, w24
cmp w24, #16
b.lo LBB0_12
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
add x10, x25, x9
add x10, x26, x10, lsl #2
cmp x10, x19
b.ls LBB0_25
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
add x10, x26, x25, lsl #2
add x11, x19, x9
cmp x10, x11
b.hs LBB0_25
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
mov x10, #0 ; =0x0
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
add x11, x19, x10
sub x9, x9, x10
LBB0_14: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
add x25, x8, #1
ldr w8, [x22, x8, lsl #2]
strb w8, [x11], #1
mov x8, x25
subs x9, x9, #1
b.ne LBB0_14
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
mov x25, x8
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x19, w24, sxtw]
ldr w8, [x20]
cmp w8, #1
b.eq LBB0_2
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x19]
cmp w8, #95
b.eq LBB0_21
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
Lloh7:
adrp x8, _MDNS_DEFAULT_DOMAIN@GOTPAGE
Lloh8:
ldr x8, [x8, _MDNS_DEFAULT_DOMAIN@GOTPAGEOFF]
Lloh9:
ldr x1, [x8]
mov x0, x19
bl _strcasecmp
cbz x0, LBB0_21
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbz x0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
bl _strcasecmp
cbnz x0, LBB0_2
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x28]
mov x0, x19
bl _strcasecmp
cbz x0, LBB0_24
; %bb.22: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x20, #4]
cbnz w8, LBB0_3
; %bb.23: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20, #8]
str x8, [sp, #8]
ldur q0, [x20, #24]
stur q0, [sp, #16]
ldr x8, [x20, #40]
str x8, [sp, #32]
ldrsw x8, [x20]
add w9, w8, #1
str w9, [x20]
add x9, sp, #8
ldr x0, [x9, x8, lsl #3]
add w2, w24, #1
mov x1, x19
bl _memcpy
b LBB0_3
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
str w27, [x20, #16]
b LBB0_3
LBB0_25: ; in Loop: Header=BB0_4 Depth=1
and x10, x9, #0x7ffffff0
add x11, x22, x8, lsl #2
ldp q1, q0, [x11]
ldp q3, q2, [x11, #32]
uzp1.8h v0, v1, v0
xtn.8b v0, v0
uzp1.8h v1, v3, v2
xtn.8b v1, v1
stp d0, d1, [x19]
cmp x10, #16
b.eq LBB0_28
; %bb.26: ; in Loop: Header=BB0_4 Depth=1
ldp q1, q0, [x11, #64]
ldp q3, q2, [x11, #96]
uzp1.8h v0, v1, v0
xtn.8b v0, v0
uzp1.8h v1, v3, v2
xtn.8b v1, v1
stp d0, d1, [x19, #16]
cmp x10, #32
b.eq LBB0_28
; %bb.27: ; in Loop: Header=BB0_4 Depth=1
ldp q1, q0, [x11, #128]
ldp q3, q2, [x11, #160]
uzp1.8h v0, v1, v0
xtn.8b v0, v0
uzp1.8h v1, v3, v2
xtn.8b v1, v1
stp d0, d1, [x19, #32]
LBB0_28: ; in Loop: Header=BB0_4 Depth=1
add x8, x8, x10
mov x25, x8
cmp x10, x9
b.eq LBB0_16
b LBB0_13
LBB0_29:
add x0, x22, #4
b LBB0_34
LBB0_30:
ubfiz x9, x24, #8, #6
ldrsw x8, [x22, x8, lsl #2]
orr x8, x8, x9
ldr x0, [sp] ; 8-byte Folded Reload
sub x9, x0, x8, lsl #2
cmp x9, x22
b.hs LBB0_32
; %bb.31:
add x1, x0, x8, lsl #2
mov x2, x20
mov x3, x19
bl __mdns_read_fqdn
cmp x0, #0
csel x0, xzr, x21, eq
b LBB0_34
LBB0_32:
mov x0, #0 ; =0x0
b LBB0_34
LBB0_33:
add x0, x21, #4
LBB0_34:
ldr x8, [sp, #40]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_36
; %bb.35:
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
LBB0_36:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _MDNS_DEFAULT_DOMAIN,8,3 ; @MDNS_DEFAULT_DOMAIN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ip6"
l_.str.1: ; @.str.1
.asciz "in-addr"
l_.str.2: ; @.str.2
.asciz "."
.comm _MDNS_SUB_STR,8,3 ; @MDNS_SUB_STR
.no_dead_strip __mdns_read_fqdn
.subsections_via_symbols
| assembly_file_178044.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function WipeOut
_WipeOut: ## @WipeOut
.cfi_startproc
## %bb.0:
movq %r8, %rax
cmpq %rcx, %r8
jbe LBB0_3
## %bb.1:
movb $0, 1(%rax)
incq %rax
testl %r9d, %r9d
je LBB0_3
## %bb.2:
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
movl %esi, %r14d
movl %edx, %r15d
movq %rax, %r13
movq %rcx, %r12
callq _wmove
movq %rbx, %rdi
movq %r12, %rsi
callq _waddstr
movq %rbx, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq _getyx
movq %rbx, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq _wmove
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_3:
retq
.cfi_endproc
## -- End function
.no_dead_strip _WipeOut
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function WipeOut
_WipeOut: ; @WipeOut
.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, x4
cmp x4, x3
b.ls LBB0_3
; %bb.1:
strb wzr, [x19, #1]!
cbz w5, LBB0_3
; %bb.2:
mov x20, x0
mov x21, x1
mov x22, x2
mov x23, x3
bl _wmove
mov x0, x20
mov x1, x23
bl _waddstr
mov x0, x20
mov x1, x21
mov x2, x22
bl _getyx
mov x0, x20
mov x1, x21
mov x2, x22
bl _wmove
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _WipeOut
.subsections_via_symbols
| assembly_file_8411.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/123835.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strptime ## -- Begin function _strptime
.p2align 4, 0x90
_strptime: ## @"\01_strptime"
.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, %r15
movb (%rsi), %cl
incq %rbx
movb (%rdi), %al
incq %r15
xorl %r12d, %r12d
movl $2, %r9d
leaq LJTI0_0(%rip), %r10
leaq LJTI0_1(%rip), %r8
xorl %esi, %esi
jmp LBB0_1
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movzbl (%rbx), %ecx
incq %rbx
movzbl (%r15), %eax
incq %r15
xorl %esi, %esi
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, %esi
je LBB0_24
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %ecx, %edx
orb %al, %dl
cmovel %r9d, %esi
cmpl $8, %esi
ja LBB0_23
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl %al, %edi
movslq (%r10,%rsi,4), %rdx
addq %r10, %rdx
jmpq *%rdx
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpb $37, %cl
jne LBB0_24
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movzbl (%rbx), %ecx
incq %rbx
movl $1, %esi
jmp LBB0_23
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movsbl %cl, %edx
leal -89(%rdx), %esi
cmpl $32, %esi
ja LBB0_6
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movslq (%r8,%rsi,4), %rcx
addq %r8, %rcx
jmpq *%rcx
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
orl $8, %r12d
movzbl (%rbx), %ecx
incq %rbx
movl $6, %esi
jmp LBB0_23
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
cmpb %cl, %al
je LBB0_13
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
addb $-48, %al
cmpb $9, %al
ja LBB0_24
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl 12(%r14), %eax
leal (%rax,%rax,4), %eax
leal (%rdi,%rax,2), %eax
addl $-48, %eax
movl %eax, 12(%r14)
movzbl (%r15), %eax
incq %r15
movl $6, %esi
jmp LBB0_23
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
cmpb %cl, %al
je LBB0_13
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
addb $-48, %al
cmpb $9, %al
ja LBB0_24
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movl 16(%r14), %eax
leal (%rax,%rax,4), %eax
leal (%rdi,%rax,2), %eax
addl $-48, %eax
movl %eax, 16(%r14)
movzbl (%r15), %eax
incq %r15
movl $7, %esi
jmp LBB0_23
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
cmpb %cl, %al
je LBB0_13
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
addb $-48, %al
cmpb $9, %al
ja LBB0_24
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
movl 20(%r14), %eax
leal (%rax,%rax,4), %eax
leal (%rdi,%rax,2), %eax
addl $-48, %eax
movl %eax, 20(%r14)
movzbl (%r15), %eax
incq %r15
jmp LBB0_22
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
cmpl $45, %edx
je LBB0_4
jmp LBB0_24
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
orl $512, %r12d ## imm = 0x200
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
orl $32, %r12d
movzbl (%rbx), %ecx
incq %rbx
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movl $8, %esi
jmp LBB0_23
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
orl $16, %r12d
movzbl (%rbx), %ecx
incq %rbx
movl $7, %esi
jmp LBB0_23
LBB0_24:
testb $16, %r12b
jne LBB0_27
## %bb.25:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
jne LBB0_27
## %bb.26:
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_29
LBB0_27:
movl 16(%r14), %eax
decl %eax
cmpl $11, %eax
ja LBB0_29
## %bb.28:
movl %eax, 16(%r14)
LBB0_29:
testb $32, %r12b
jne LBB0_34
## %bb.30:
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
jne LBB0_34
## %bb.31:
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
jne LBB0_34
## %bb.32:
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
jne LBB0_34
## %bb.33:
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_44
LBB0_34:
testl $512, %r12d ## imm = 0x200
jne LBB0_37
## %bb.35:
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
jne LBB0_37
## %bb.36:
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_38
LBB0_37:
movl 20(%r14), %eax
cmpl $1900, %eax ## imm = 0x76C
jl LBB0_44
LBB0_42:
addl $-1900, %eax ## imm = 0xF894
LBB0_43:
movl %eax, 20(%r14)
LBB0_44:
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
movl 20(%r14), %eax
cmpl $99, %eax
jg LBB0_41
## %bb.39:
cmpl $39, %eax
jg LBB0_44
## %bb.40:
addl $100, %eax
jmp LBB0_43
LBB0_41:
cmpl $1900, %eax ## imm = 0x76C
jae LBB0_42
jmp LBB0_44
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_5
.long L0_0_set_23
.long L0_0_set_23
.long L0_0_set_23
.long L0_0_set_23
.long L0_0_set_12
.long L0_0_set_16
.long L0_0_set_19
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_8, LBB0_8-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
LJTI0_1:
.long L0_1_set_10
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_8
.long L0_1_set_8
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_9
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_11
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "%m"
L_.str.4: ## @.str.4
.asciz "%-m"
L_.str.5: ## @.str.5
.asciz "%y"
L_.str.6: ## @.str.6
.asciz "%-y"
L_.str.7: ## @.str.7
.asciz "%Y"
L_.str.8: ## @.str.8
.asciz "%-Y"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strptime ; -- Begin function _strptime
.p2align 2
_strptime: ; @"\01_strptime"
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
mov w22, #0
mov w14, #0
mov w8, #2
ldrb w12, [x21], #1
ldrb w13, [x19], #1
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
mov w10, #10
Lloh2:
adrp x11, lJTI0_1@PAGE
Lloh3:
add x11, x11, lJTI0_1@PAGEOFF
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov w14, #0
ldrb w12, [x21], #1
ldrb w13, [x19], #1
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp w14, #2
b.eq LBB0_24
LBB0_3: ; =>This Inner Loop Header: Depth=1
orr w15, w12, w13
tst w15, #0xff
csel w14, w8, w14, eq
cmp w14, #8
b.hi LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtb w15, w13
adr x16, LBB0_2
ldrb w17, [x9, x14]
add x16, x16, x17, lsl #2
br x16
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
and w12, w12, #0xff
cmp w12, #37
b.ne LBB0_24
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldrb w12, [x21], #1
mov w14, #1
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
sxtb w14, w12
sub w12, w14, #89
cmp w12, #32
b.hi LBB0_19
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
adr x14, LBB0_9
ldrb w15, [x11, x12]
add x14, x14, x15, lsl #2
br x14
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
orr w22, w22, #0x8
ldrb w12, [x21], #1
mov w14, #6
b LBB0_2
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
and w14, w13, #0xff
cmp w14, w12, uxtb
b.eq LBB0_1
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
sub w13, w13, #48
and w13, w13, #0xff
cmp w13, #9
b.hi LBB0_24
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
ldr w13, [x20, #12]
madd w13, w13, w10, w15
sub w13, w13, #48
str w13, [x20, #12]
ldrb w13, [x19], #1
mov w14, #6
b LBB0_2
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
and w14, w13, #0xff
cmp w14, w12, uxtb
b.eq LBB0_1
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
sub w13, w13, #48
and w13, w13, #0xff
cmp w13, #9
b.hi LBB0_24
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
ldr w13, [x20, #16]
madd w13, w13, w10, w15
sub w13, w13, #48
str w13, [x20, #16]
ldrb w13, [x19], #1
mov w14, #7
b LBB0_2
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
and w14, w13, #0xff
cmp w14, w12, uxtb
b.eq LBB0_1
; %bb.17: ; in Loop: Header=BB0_3 Depth=1
sub w13, w13, #48
and w13, w13, #0xff
cmp w13, #9
b.hi LBB0_24
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
ldr w13, [x20, #20]
madd w13, w13, w10, w15
sub w13, w13, #48
str w13, [x20, #20]
ldrb w13, [x19], #1
b LBB0_22
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
cmp w14, #45
b.eq LBB0_6
b LBB0_24
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
orr w22, w22, #0x200
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
orr w22, w22, #0x20
ldrb w12, [x21], #1
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
mov w14, #8
b LBB0_2
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
orr w22, w22, #0x10
ldrb w12, [x21], #1
mov w14, #7
b LBB0_2
LBB0_24:
tbnz w22, #4, LBB0_27
; %bb.25:
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _strstr
cbnz x0, LBB0_27
; %bb.26:
Lloh6:
adrp x1, l_.str.4@PAGE
Lloh7:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x21
bl _strstr
cbz x0, LBB0_29
LBB0_27:
ldr w8, [x20, #16]
sub w8, w8, #1
cmp w8, #11
b.hi LBB0_29
; %bb.28:
str w8, [x20, #16]
LBB0_29:
tbnz w22, #5, LBB0_34
; %bb.30:
Lloh8:
adrp x1, l_.str.5@PAGE
Lloh9:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x21
bl _strstr
cbnz x0, LBB0_34
; %bb.31:
Lloh10:
adrp x1, l_.str.6@PAGE
Lloh11:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x21
bl _strstr
cbnz x0, LBB0_34
; %bb.32:
Lloh12:
adrp x1, l_.str.7@PAGE
Lloh13:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x21
bl _strstr
cbnz x0, LBB0_34
; %bb.33:
Lloh14:
adrp x1, l_.str.8@PAGE
Lloh15:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x21
bl _strstr
cbz x0, LBB0_39
LBB0_34:
tbnz w22, #9, LBB0_37
; %bb.35:
Lloh16:
adrp x1, l_.str.7@PAGE
Lloh17:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x21
bl _strstr
cbnz x0, LBB0_37
; %bb.36:
Lloh18:
adrp x1, l_.str.8@PAGE
Lloh19:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x21
bl _strstr
cbz x0, LBB0_40
LBB0_37:
ldr w8, [x20, #20]
subs w8, w8, #1900
b.lt LBB0_39
LBB0_38:
str w8, [x20, #20]
LBB0_39:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_40:
ldr w8, [x20, #20]
cmp w8, #99
b.gt LBB0_43
; %bb.41:
cmp w8, #39
b.gt LBB0_39
; %bb.42:
add w8, w8, #100
b LBB0_38
LBB0_43:
subs w8, w8, #1900
b.hs LBB0_38
b LBB0_39
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_13-LBB0_2)>>2
.byte (LBB0_16-LBB0_2)>>2
lJTI0_1:
.byte (LBB0_20-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_9-LBB0_9)>>2
.byte (LBB0_9-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_23-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_24-LBB0_9)>>2
.byte (LBB0_21-LBB0_9)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "%m"
l_.str.4: ; @.str.4
.asciz "%-m"
l_.str.5: ; @.str.5
.asciz "%y"
l_.str.6: ; @.str.6
.asciz "%-y"
l_.str.7: ; @.str.7
.asciz "%Y"
l_.str.8: ; @.str.8
.asciz "%-Y"
.subsections_via_symbols
| the_stack_data/153269444.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usX2Y_usbpcm_subs_startup
_usX2Y_usbpcm_subs_startup: ## @usX2Y_usbpcm_subs_startup
.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 8(%rdi), %rbx
movq %rdi, (%rbx)
movq (%rdi), %rax
movq (%rax), %rax
movl $-1, (%rax)
xorl %eax, %eax
callq _smp_wmb
movq _i_usX2Y_usbpcm_subs_startup@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _usX2Y_urbs_set_complete ## TAILCALL
.cfi_endproc
## -- End function
.comm _i_usX2Y_usbpcm_subs_startup,4,2 ## @i_usX2Y_usbpcm_subs_startup
.no_dead_strip _usX2Y_usbpcm_subs_startup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usX2Y_usbpcm_subs_startup
_usX2Y_usbpcm_subs_startup: ; @usX2Y_usbpcm_subs_startup
.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
ldp x8, x19, [x0]
str x0, [x19]
ldr x8, [x8]
mov w9, #-1
str w9, [x8]
bl _smp_wmb
Lloh0:
adrp x8, _i_usX2Y_usbpcm_subs_startup@GOTPAGE
Lloh1:
ldr x8, [x8, _i_usX2Y_usbpcm_subs_startup@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 _usX2Y_urbs_set_complete
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _i_usX2Y_usbpcm_subs_startup,4,2 ; @i_usX2Y_usbpcm_subs_startup
.no_dead_strip _usX2Y_usbpcm_subs_startup
.subsections_via_symbols
| AnghaBench/linux/sound/usb/usx2y/extr_usx2yhwdeppcm.c_usX2Y_usbpcm_subs_startup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _edns_opt_list_remove ## -- Begin function edns_opt_list_remove
.p2align 4, 0x90
_edns_opt_list_remove: ## @edns_opt_list_remove
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_6
## %bb.1:
movq (%rdi), %rax
testq %rax, %rax
je LBB0_6
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rax), %rcx
cmpq %rsi, (%rax)
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rcx, (%rdi)
movq %rcx, %rax
testq %rcx, %rcx
jne LBB0_3
LBB0_5:
popq %rbp
LBB0_6:
movl $1, %eax
retq
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movq %rdx, %rax
LBB0_7: ## =>This Inner Loop Header: Depth=1
testq %rcx, %rcx
je LBB0_5
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq %rcx, %rdx
movq 8(%rcx), %rcx
cmpq %rsi, (%rdx)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq %rcx, 8(%rax)
movq %rax, %rdx
jmp LBB0_10
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _edns_opt_list_remove ; -- Begin function edns_opt_list_remove
.p2align 2
_edns_opt_list_remove: ; @edns_opt_list_remove
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
ldr x8, [x0]
cbz x8, LBB0_5
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldp x10, x9, [x8]
cmp x10, x1
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
str x9, [x0]
mov x8, x9
cbnz x9, LBB0_2
b LBB0_5
LBB0_4:
cbnz x9, LBB0_7
LBB0_5:
mov w0, #1 ; =0x1
ret
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
mov x8, x10
cbz x9, LBB0_5
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x10, x9
ldp x11, x9, [x9]
cmp x11, x1
b.ne LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
str x9, [x8, #8]
mov x10, x8
b LBB0_6
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_52932.c | assembly_dataset |
.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
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %eax
leal -4(%rax), %ecx
cmpl $5, %ecx
jae LBB0_1
## %bb.3:
movl $9, %esi
jmp LBB0_4
LBB0_1:
leal -1(%rax), %ecx
cmpl $2, %ecx
ja LBB0_5
## %bb.2:
addl %eax, %eax
movl $12, %esi
LBB0_4:
subl %eax, %esi
leaq L_.str.2(%rip), %rdi
LBB0_6:
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
LBB0_5:
leaq L_.str.3(%rip), %rdi
xorl %esi, %esi
jmp LBB0_6
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Which place did you ended up? "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "You got: %d points"
L_.str.3: ## @.str.3
.asciz "You got %d point"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
sub w9, w8, #4
cmp w9, #5
b.hs LBB0_2
; %bb.1:
mov w9, #9
sub w8, w9, w8
b LBB0_4
LBB0_2:
sub w9, w8, #1
cmp w9, #2
b.hi LBB0_6
; %bb.3:
mov w9, #12
sub w8, w9, w8, lsl #1
LBB0_4:
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
LBB0_5:
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_6:
str xzr, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Which place did you ended up? "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "You got: %d points"
l_.str.3: ; @.str.3
.asciz "You got %d point"
.subsections_via_symbols
| the_stack_data/61076080.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tncs_imv_provide_bind_function
_tncs_imv_provide_bind_function: ## @tncs_imv_provide_bind_function
.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 _MSG_DEBUG@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq (%rbx), %rdx
leaq L_.str(%rip), %rsi
callq _wpa_printf
movl 16(%rbx), %edi
movq _TNC_TNCS_BindFunction@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq *8(%rbx)
movq %rax, %rbx
movl (%r14), %edi
leaq L_.str.1(%rip), %rsi
movq %rax, %rdx
callq _wpa_printf
movq _TNC_RESULT_SUCCESS@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpq (%rcx), %rbx
setne %al
negl %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TNC: Calling TNC_IMV_ProvideBindFunction for IMV '%s'"
.comm _TNC_TNCS_BindFunction,4,2 ## @TNC_TNCS_BindFunction
L_.str.1: ## @.str.1
.asciz "TNC: TNC_IMV_ProvideBindFunction: res=%lu"
.comm _TNC_RESULT_SUCCESS,8,3 ## @TNC_RESULT_SUCCESS
.no_dead_strip _tncs_imv_provide_bind_function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tncs_imv_provide_bind_function
_tncs_imv_provide_bind_function: ; @tncs_imv_provide_bind_function
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
ldr w0, [x20]
ldr x2, [x19]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
ldr x8, [x19, #8]
ldr w0, [x19, #16]
Lloh4:
adrp x9, _TNC_TNCS_BindFunction@GOTPAGE
Lloh5:
ldr x9, [x9, _TNC_TNCS_BindFunction@GOTPAGEOFF]
Lloh6:
ldr w1, [x9]
blr x8
mov x19, x0
ldr w0, [x20]
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
mov x2, x19
bl _wpa_printf
Lloh9:
adrp x8, _TNC_RESULT_SUCCESS@GOTPAGE
Lloh10:
ldr x8, [x8, _TNC_RESULT_SUCCESS@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x19, x8
csetm w0, ne
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TNC: Calling TNC_IMV_ProvideBindFunction for IMV '%s'"
.comm _TNC_TNCS_BindFunction,4,2 ; @TNC_TNCS_BindFunction
l_.str.1: ; @.str.1
.asciz "TNC: TNC_IMV_ProvideBindFunction: res=%lu"
.comm _TNC_RESULT_SUCCESS,8,3 ; @TNC_RESULT_SUCCESS
.no_dead_strip _tncs_imv_provide_bind_function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_tncs.c_tncs_imv_provide_bind_function.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qedr_set_ok_cqe_resp_wc
_qedr_set_ok_cqe_resp_wc: ## @qedr_set_ok_cqe_resp_wc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _IB_WC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rsi)
movl 8(%rdi), %edi
callq _le32_to_cpu
movq %rax, 24(%rbx)
movl (%r14), %eax
movq _QEDR_RESP_IMM@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_5
## %bb.1:
movl 4(%r14), %edi
callq _le32_to_cpu
movq %rax, %rdi
callq _cpu_to_be32
movq %rax, 8(%rbx)
movq _IB_WC_WITH_IMM@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
movl (%r14), %eax
movq _QEDR_RESP_RDMA@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.2:
movq _IB_WC_RECV_RDMA_WITH_IMM@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rbx)
LBB0_3:
movq _QEDR_RESP_INV@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_4
LBB0_9:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_10
LBB0_5:
movq _QEDR_RESP_INV@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_8
## %bb.6:
movl 4(%r14), %edi
callq _le32_to_cpu
movq %rax, 8(%rbx)
movq _IB_WC_WITH_INVALIDATE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
movq _QEDR_RESP_RDMA@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r14)
jne LBB0_9
LBB0_4:
xorl %eax, %eax
LBB0_10:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_8:
movq _QEDR_RESP_RDMA@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_9
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _IB_WC_SUCCESS,4,2 ## @IB_WC_SUCCESS
.comm _QEDR_RESP_IMM,4,2 ## @QEDR_RESP_IMM
.comm _IB_WC_WITH_IMM,4,2 ## @IB_WC_WITH_IMM
.comm _QEDR_RESP_RDMA,4,2 ## @QEDR_RESP_RDMA
.comm _IB_WC_RECV_RDMA_WITH_IMM,4,2 ## @IB_WC_RECV_RDMA_WITH_IMM
.comm _QEDR_RESP_INV,4,2 ## @QEDR_RESP_INV
.comm _EINVAL,4,2 ## @EINVAL
.comm _IB_WC_WITH_INVALIDATE,4,2 ## @IB_WC_WITH_INVALIDATE
.no_dead_strip _qedr_set_ok_cqe_resp_wc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qedr_set_ok_cqe_resp_wc
_qedr_set_ok_cqe_resp_wc: ; @qedr_set_ok_cqe_resp_wc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1, #32]
ldr w0, [x0, #8]
bl _le32_to_cpu
str x0, [x19, #24]
ldr w8, [x20]
Lloh3:
adrp x9, _QEDR_RESP_IMM@GOTPAGE
Lloh4:
ldr x9, [x9, _QEDR_RESP_IMM@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.1:
ldr w0, [x20, #4]
bl _le32_to_cpu
bl _cpu_to_be32
str x0, [x19, #8]
Lloh6:
adrp x8, _IB_WC_WITH_IMM@GOTPAGE
Lloh7:
ldr x8, [x8, _IB_WC_WITH_IMM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
ldr w8, [x20]
Lloh9:
adrp x9, _QEDR_RESP_RDMA@GOTPAGE
Lloh10:
ldr x9, [x9, _QEDR_RESP_RDMA@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.2:
Lloh12:
adrp x9, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGE
Lloh13:
ldr x9, [x9, _IB_WC_RECV_RDMA_WITH_IMM@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
str w9, [x19, #16]
LBB0_3:
Lloh15:
adrp x9, _QEDR_RESP_INV@GOTPAGE
Lloh16:
ldr x9, [x9, _QEDR_RESP_INV@GOTPAGEOFF]
b LBB0_7
LBB0_4:
Lloh17:
adrp x9, _QEDR_RESP_INV@GOTPAGE
Lloh18:
ldr x9, [x9, _QEDR_RESP_INV@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.5:
ldr w0, [x20, #4]
bl _le32_to_cpu
str x0, [x19, #8]
Lloh20:
adrp x8, _IB_WC_WITH_INVALIDATE@GOTPAGE
Lloh21:
ldr x8, [x8, _IB_WC_WITH_INVALIDATE@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
ldr w8, [x20]
LBB0_6:
Lloh23:
adrp x9, _QEDR_RESP_RDMA@GOTPAGE
Lloh24:
ldr x9, [x9, _QEDR_RESP_RDMA@GOTPAGEOFF]
LBB0_7:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_9
; %bb.8:
Lloh25:
adrp x8, _EINVAL@GOTPAGE
Lloh26:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
neg w0, w8
b LBB0_10
LBB0_9:
mov w0, #0
LBB0_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _IB_WC_SUCCESS,4,2 ; @IB_WC_SUCCESS
.comm _QEDR_RESP_IMM,4,2 ; @QEDR_RESP_IMM
.comm _IB_WC_WITH_IMM,4,2 ; @IB_WC_WITH_IMM
.comm _QEDR_RESP_RDMA,4,2 ; @QEDR_RESP_RDMA
.comm _IB_WC_RECV_RDMA_WITH_IMM,4,2 ; @IB_WC_RECV_RDMA_WITH_IMM
.comm _QEDR_RESP_INV,4,2 ; @QEDR_RESP_INV
.comm _EINVAL,4,2 ; @EINVAL
.comm _IB_WC_WITH_INVALIDATE,4,2 ; @IB_WC_WITH_INVALIDATE
.no_dead_strip _qedr_set_ok_cqe_resp_wc
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/qedr/extr_verbs.c_qedr_set_ok_cqe_resp_wc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function zipfileClose
_zipfileClose: ## @zipfileClose
.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
movq 8(%rdi), %rbx
callq _zipfileResetCursor
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rax
movq (%rbx), %rbx
cmpq %r14, %rbx
jne LBB0_1
## %bb.2:
movq (%r14), %rcx
movq %rcx, (%rax)
movq %r14, %rdi
callq _sqlite3_free
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.no_dead_strip _zipfileClose
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function zipfileClose
_zipfileClose: ; @zipfileClose
.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 x20, [x0, #8]
bl _zipfileResetCursor
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x8, x20
ldr x20, [x20]
cmp x20, x19
b.ne LBB0_1
; %bb.2:
ldr x9, [x19]
str x9, [x8]
mov x0, x19
bl _sqlite3_free
Lloh0:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
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 _SQLITE_OK,4,2 ; @SQLITE_OK
.no_dead_strip _zipfileClose
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/misc/extr_zipfile.c_zipfileClose.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function config_input
LCPI0_0:
.quad 0x3f747ae147ae147b ## double 0.0050000000000000001
LCPI0_1:
.quad 0xbff0000000000000 ## double -1
LCPI0_2:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_config_input: ## @config_input
.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 16(%rdi), %rax
movq (%rax), %r15
movl (%rdi), %edi
movl %edi, (%r15)
movl $8, %esi
callq _av_calloc
movq %rax, 48(%r15)
testq %rax, %rax
je LBB0_6
## %bb.1:
movsd 8(%r14), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
movsd %xmm0, 8(%r15)
cmpl $0, (%r15)
jle LBB0_8
## %bb.2:
movl $1, %edi
callq _av_malloc_array
movq 48(%r15), %rcx
movq %rax, (%rcx)
movq 48(%r15), %rax
cmpq $0, (%rax)
je LBB0_6
## %bb.3:
movl $1, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movslq (%r15), %rax
cmpq %rax, %rbx
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movsd 8(%r15), %xmm0 ## xmm0 = mem[0],zero
movl $1, %edi
callq _av_malloc_array
movq 48(%r15), %rcx
movq %rax, (%rcx,%rbx,8)
movq 48(%r15), %rax
cmpq $0, (%rax,%rbx,8)
leaq 1(%rbx), %rbx
jne LBB0_4
jmp LBB0_6
LBB0_7:
movsd 8(%r14), %xmm1 ## xmm1 = mem[0],zero
LBB0_8:
movq $0, 40(%r15)
xorps %xmm0, %xmm0
cvtsi2sdl 20(%r15), %xmm0
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %eax
movl %eax, 16(%r15)
cvttpd2dq %xmm1, %xmm0
cvtdq2pd %xmm0, %xmm0
movl $1, %edi
callq _av_malloc_array
movq %rax, 32(%r15)
testq %rax, %rax
je LBB0_6
## %bb.9:
movq _WAVE_SIN@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq _AV_SAMPLE_FMT_DBL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
xorps %xmm0, %xmm0
cvtsi2sdl 16(%r15), %xmm0
movsd 8(%r15), %xmm1 ## xmm1 = mem[0],zero
addsd LCPI0_1(%rip), %xmm1
cvttsd2si %xmm1, %ecx
movq _M_PI_2@GOTPCREL(%rip), %rdx
movsd (%rdx), %xmm2 ## xmm2 = mem[0],zero
mulsd LCPI0_2(%rip), %xmm2
xorpd %xmm1, %xmm1
movq %rax, %rdx
callq _ff_generate_wave_table
movq $0, 24(%r15)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _WAVE_SIN,4,2 ## @WAVE_SIN
.comm _AV_SAMPLE_FMT_DBL,4,2 ## @AV_SAMPLE_FMT_DBL
.comm _M_PI_2,8,3 ## @M_PI_2
.no_dead_strip _config_input
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function config_input
_config_input: ; @config_input
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x8, [x0, #16]
ldr x20, [x8]
ldr w0, [x0]
str w0, [x20]
mov w1, #8
bl _av_calloc
str x0, [x20, #48]
cbz x0, LBB0_9
; %bb.1:
ldr d1, [x19, #8]
mov x8, #5243
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16244, lsl #48
fmov d0, x8
fmul d0, d1, d0
str d0, [x20, #8]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_7
; %bb.2:
mov w0, #1
bl _av_malloc_array
ldr x8, [x20, #48]
str x0, [x8]
ldr x8, [x20, #48]
ldr x8, [x8]
cbz x8, LBB0_9
; %bb.3:
mov w21, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x20]
cmp x21, x8
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr d0, [x20, #8]
mov w0, #1
bl _av_malloc_array
ldr x8, [x20, #48]
lsl x9, x21, #3
str x0, [x8, x9]
ldr x8, [x20, #48]
ldr x8, [x8, x9]
add x21, x21, #1
cbnz x8, LBB0_4
b LBB0_9
LBB0_6:
ldr d1, [x19, #8]
LBB0_7:
str xzr, [x20, #40]
ldr s0, [x20, #20]
sshll.2d v0, v0, #0
scvtf d0, d0
fdiv d0, d1, d0
fcvtzs w8, d0
str w8, [x20, #16]
scvtf d0, w8
mov w0, #1
bl _av_malloc_array
str x0, [x20, #32]
cbz x0, LBB0_9
; %bb.8:
mov x2, x0
Lloh0:
adrp x8, _WAVE_SIN@GOTPAGE
Lloh1:
ldr x8, [x8, _WAVE_SIN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _AV_SAMPLE_FMT_DBL@GOTPAGE
Lloh4:
ldr x8, [x8, _AV_SAMPLE_FMT_DBL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldr s0, [x20, #16]
sshll.2d v0, v0, #0
ldr d1, [x20, #8]
fmov d2, #-1.00000000
fadd d1, d1, d2
fcvtzs w3, d1
scvtf d0, d0
Lloh6:
adrp x8, _M_PI_2@GOTPAGE
Lloh7:
ldr x8, [x8, _M_PI_2@GOTPAGEOFF]
Lloh8:
ldr d1, [x8]
fmov d2, #3.00000000
fmul d2, d1, d2
movi d1, #0000000000000000
bl _ff_generate_wave_table
str xzr, [x20, #24]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_9:
Lloh9:
adrp x8, _ENOMEM@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _AVERROR
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _WAVE_SIN,4,2 ; @WAVE_SIN
.comm _AV_SAMPLE_FMT_DBL,4,2 ; @AV_SAMPLE_FMT_DBL
.comm _M_PI_2,8,3 ; @M_PI_2
.no_dead_strip _config_input
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_af_vibrato.c_config_input.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 _krb5_crc_init_table
LCPI0_0:
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
.byte 0 ## 0x0
LCPI0_1:
.quad 2 ## 0x2
.quad 2 ## 0x2
.section __TEXT,__text,regular,pure_instructions
.globl __krb5_crc_init_table
.p2align 4, 0x90
__krb5_crc_init_table: ## @_krb5_crc_init_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, __krb5_crc_init_table.flag(%rip)
jne LBB0_4
## %bb.1:
movq _table@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _CRC_GEN@GOTPCREL(%rip), %rcx
movq (%rcx), %xmm0 ## xmm0 = mem[0],zero
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
xorl %ecx, %ecx
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = [2,2]
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movdqa %xmm1, %xmm3
psrlq $1, %xmm3
movdqa %xmm1, %xmm4
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqa %xmm4, %xmm3
psrlq $1, %xmm3
psllq $63, %xmm4
psrad $31, %xmm4
pshufd $245, %xmm4, %xmm4 ## xmm4 = xmm4[1,1,3,3]
pand %xmm0, %xmm4
pxor %xmm3, %xmm4
movdqu %xmm4, (%rax,%rcx,8)
addq $2, %rcx
paddq %xmm2, %xmm1
cmpq $256, %rcx ## imm = 0x100
jne LBB0_2
## %bb.3:
movb $1, __krb5_crc_init_table.flag(%rip)
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,__krb5_crc_init_table.flag,1,2 ## @_krb5_crc_init_table.flag
.comm _CRC_GEN,8,3 ## @CRC_GEN
.comm _table,8,3 ## @table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function _krb5_crc_init_table
lCPI0_0:
.quad 0 ; 0x0
.quad 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.globl __krb5_crc_init_table
.p2align 2
__krb5_crc_init_table: ; @_krb5_crc_init_table
.cfi_startproc
; %bb.0:
adrp x8, __krb5_crc_init_table.flag@PAGE
ldrb w9, [x8, __krb5_crc_init_table.flag@PAGEOFF]
tbnz w9, #0, LBB0_4
; %bb.1:
mov x9, #0
Lloh0:
adrp x10, _table@GOTPAGE
Lloh1:
ldr x10, [x10, _table@GOTPAGEOFF]
Lloh2:
adrp x11, _CRC_GEN@GOTPAGE
Lloh3:
ldr x11, [x11, _CRC_GEN@GOTPAGEOFF]
Lloh4:
ldr x10, [x10]
Lloh5:
ldr d0, [x11]
dup.2d v0, v0[0]
Lloh6:
adrp x11, lCPI0_0@PAGE
Lloh7:
ldr q1, [x11, lCPI0_0@PAGEOFF]
mov w11, #1
dup.2d v2, x11
mov w11, #2
dup.2d v3, x11
LBB0_2: ; =>This Inner Loop Header: Depth=1
and.16b v4, v1, v2
cmeq.2d v4, v4, #0
ushr.2d v5, v1, #1
bcax.16b v4, v5, v0, v4
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
and.16b v5, v4, v2
cmeq.2d v5, v5, #0
ushr.2d v4, v4, #1
bcax.16b v4, v4, v0, v5
str q4, [x10, x9]
add.2d v1, v1, v3
add x9, x9, #16
cmp x9, #2048
b.ne LBB0_2
; %bb.3:
mov w9, #1
strb w9, [x8, __krb5_crc_init_table.flag@PAGEOFF]
LBB0_4:
ret
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,__krb5_crc_init_table.flag,1,2 ; @_krb5_crc_init_table.flag
.comm _CRC_GEN,8,3 ; @CRC_GEN
.comm _table,8,3 ; @table
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/krb5/extr_crc.c__krb5_crc_init_table.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/87638314.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_fl_sysctls
_add_fl_sysctls: ## @add_fl_sysctls
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, -48(%rbp) ## 8-byte Spill
movq %rdx, %rdi
callq _SYSCTL_CHILDREN
movq _OID_AUTO@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %rcx, %r12
movq _CTLFLAG_RD@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movq %rcx, %rbx
subq $8, %rsp
leaq L_.str.1(%rip), %r10
leaq L_.str(%rip), %rcx
movq %r14, %rdi
movq %rax, %rsi
xorl %r9d, %r9d
pushq %r10
callq _SYSCTL_ADD_NODE
addq $16, %rsp
movq %rax, %rdi
callq _SYSCTL_CHILDREN
movq %rax, %r15
movl (%r12), %edx
movl (%rbx), %r8d
leaq 44(%r13), %r9
subq $8, %rsp
leaq L_.str.3(%rip), %rax
leaq L_.str.2(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
callq _SYSCTL_ADD_UAUTO
addq $16, %rsp
movl (%r12), %edx
movl (%rbx), %r8d
movq %rbx, %r12
movslq (%r13), %rax
movq _EQ_ESIZE@GOTPCREL(%rip), %rcx
movslq (%rcx), %rbx
imulq %rax, %rbx
movq -48(%rbp), %rax ## 8-byte Reload
addq (%rax), %rbx
leaq L_.str.5(%rip), %rax
leaq L_.str.4(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
xorl %r9d, %r9d
pushq %rax
pushq %rbx
callq _SYSCTL_ADD_INT
addq $16, %rsp
movq _CTLTYPE_INT@GOTPCREL(%rip), %rax
movl (%r12), %r8d
orl (%rax), %r8d
movq _OID_AUTO@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
leaq 40(%r13), %r9
movq _sysctl_uint16@GOTPCREL(%rip), %rax
movl (%rax), %eax
leaq L_.str.8(%rip), %r11
leaq L_.str.7(%rip), %r10
leaq L_.str.6(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %r11
pushq %r10
pushq %rax
pushq $0
callq _SYSCTL_ADD_PROC
addq $32, %rsp
movl (%rbx), %edx
movq _CTLFLAG_RD@GOTPCREL(%rip), %r12
movl (%r12), %r8d
movq _fl_pad@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
cmpq $0, (%rax)
setne %bl
leaq L_.str.10(%rip), %rax
leaq L_.str.9(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
xorl %r9d, %r9d
pushq %rax
pushq %rbx
callq _SYSCTL_ADD_UINT
addq $16, %rsp
movq _OID_AUTO@GOTPCREL(%rip), %r10
movl (%r10), %edx
movl (%r12), %r8d
movq _FL_BUF_PACKING@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ebx, %ebx
andl 4(%r13), %eax
setne %bl
leaq L_.str.12(%rip), %rax
leaq L_.str.11(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
xorl %r9d, %r9d
pushq %rax
pushq %rbx
movq %r10, %rbx
callq _SYSCTL_ADD_UINT
addq $16, %rsp
movl (%rbx), %edx
movl (%r12), %r8d
leaq 36(%r13), %r9
leaq L_.str.14(%rip), %rax
leaq L_.str.13(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
pushq $0
callq _SYSCTL_ADD_UINT
addq $16, %rsp
movq _FL_BUF_PACKING@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r13)
je LBB0_2
## %bb.1:
movl (%rbx), %edx
movl (%r12), %r8d
leaq 32(%r13), %r9
leaq L_.str.16(%rip), %rax
leaq L_.str.15(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
pushq $0
callq _SYSCTL_ADD_UINT
addq $16, %rsp
LBB0_2:
movl (%rbx), %edx
movl (%r12), %r8d
leaq 28(%r13), %r9
leaq L_.str.18(%rip), %rax
leaq L_.str.17(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
pushq $0
callq _SYSCTL_ADD_UINT
addq $16, %rsp
movl (%rbx), %edx
movl (%r12), %r8d
leaq 24(%r13), %r9
subq $8, %rsp
leaq L_.str.20(%rip), %rax
leaq L_.str.19(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
callq _SYSCTL_ADD_UQUAD
addq $16, %rsp
movl (%rbx), %edx
movl (%r12), %r8d
leaq 20(%r13), %r9
subq $8, %rsp
leaq L_.str.22(%rip), %rax
leaq L_.str.21(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
callq _SYSCTL_ADD_UQUAD
addq $16, %rsp
movl (%rbx), %edx
movl (%r12), %r8d
leaq 16(%r13), %r9
subq $8, %rsp
leaq L_.str.24(%rip), %rax
leaq L_.str.23(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
callq _SYSCTL_ADD_UQUAD
addq $16, %rsp
movl (%rbx), %edx
movl (%r12), %r8d
leaq 12(%r13), %r9
subq $8, %rsp
leaq L_.str.26(%rip), %rax
leaq L_.str.25(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
pushq %rax
callq _SYSCTL_ADD_UQUAD
addq $16, %rsp
movl (%rbx), %edx
movl (%r12), %r8d
addq $8, %r13
subq $8, %rsp
leaq L_.str.28(%rip), %rax
leaq L_.str.27(%rip), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %r9
pushq %rax
callq _SYSCTL_ADD_UQUAD
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OID_AUTO,4,2 ## @OID_AUTO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fl"
.comm _CTLFLAG_RD,4,2 ## @CTLFLAG_RD
L_.str.1: ## @.str.1
.asciz "freelist"
L_.str.2: ## @.str.2
.asciz "ba"
L_.str.3: ## @.str.3
.asciz "bus address of descriptor ring"
L_.str.4: ## @.str.4
.asciz "dmalen"
.comm _EQ_ESIZE,4,2 ## @EQ_ESIZE
L_.str.5: ## @.str.5
.asciz "desc ring size in bytes"
L_.str.6: ## @.str.6
.asciz "cntxt_id"
.comm _CTLTYPE_INT,4,2 ## @CTLTYPE_INT
.comm _sysctl_uint16,4,2 ## @sysctl_uint16
L_.str.7: ## @.str.7
.asciz "I"
L_.str.8: ## @.str.8
.asciz "SGE context id of the freelist"
L_.str.9: ## @.str.9
.asciz "padding"
.comm _fl_pad,8,3 ## @fl_pad
L_.str.10: ## @.str.10
.asciz "padding enabled"
L_.str.11: ## @.str.11
.asciz "packing"
.comm _FL_BUF_PACKING,4,2 ## @FL_BUF_PACKING
L_.str.12: ## @.str.12
.asciz "packing enabled"
L_.str.13: ## @.str.13
.asciz "cidx"
L_.str.14: ## @.str.14
.asciz "consumer index"
L_.str.15: ## @.str.15
.asciz "rx_offset"
L_.str.16: ## @.str.16
.asciz "packing rx offset"
L_.str.17: ## @.str.17
.asciz "pidx"
L_.str.18: ## @.str.18
.asciz "producer index"
L_.str.19: ## @.str.19
.asciz "mbuf_allocated"
L_.str.20: ## @.str.20
.asciz "# of mbuf allocated"
L_.str.21: ## @.str.21
.asciz "mbuf_inlined"
L_.str.22: ## @.str.22
.asciz "# of mbuf inlined in clusters"
L_.str.23: ## @.str.23
.asciz "cluster_allocated"
L_.str.24: ## @.str.24
.asciz "# of clusters allocated"
L_.str.25: ## @.str.25
.asciz "cluster_recycled"
L_.str.26: ## @.str.26
.asciz "# of clusters recycled"
L_.str.27: ## @.str.27
.asciz "cluster_fast_recycled"
L_.str.28: ## @.str.28
.asciz "# of clusters recycled (fast)"
.no_dead_strip _add_fl_sysctls
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_fl_sysctls
_add_fl_sysctls: ; @add_fl_sysctls
.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, x3
mov x19, x1
mov x22, x0
mov x0, x2
bl _SYSCTL_CHILDREN
mov x1, x0
Lloh0:
adrp x23, _OID_AUTO@GOTPAGE
Lloh1:
ldr x23, [x23, _OID_AUTO@GOTPAGEOFF]
ldr w2, [x23]
Lloh2:
adrp x24, _CTLFLAG_RD@GOTPAGE
Lloh3:
ldr x24, [x24, _CTLFLAG_RD@GOTPAGEOFF]
ldr w4, [x24]
Lloh4:
adrp x3, l_.str@PAGE
Lloh5:
add x3, x3, l_.str@PAGEOFF
Lloh6:
adrp x6, l_.str.1@PAGE
Lloh7:
add x6, x6, l_.str.1@PAGEOFF
mov x0, x19
mov x5, #0
bl _SYSCTL_ADD_NODE
bl _SYSCTL_CHILDREN
mov x21, x0
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #44
Lloh8:
adrp x3, l_.str.2@PAGE
Lloh9:
add x3, x3, l_.str.2@PAGEOFF
Lloh10:
adrp x6, l_.str.3@PAGE
Lloh11:
add x6, x6, l_.str.3@PAGEOFF
mov x0, x19
mov x1, x21
bl _SYSCTL_ADD_UAUTO
ldr w2, [x23]
ldr w4, [x24]
ldrsw x8, [x20]
Lloh12:
adrp x9, _EQ_ESIZE@GOTPAGE
Lloh13:
ldr x9, [x9, _EQ_ESIZE@GOTPAGEOFF]
Lloh14:
ldrsw x9, [x9]
ldr x10, [x22]
madd x6, x9, x8, x10
Lloh15:
adrp x3, l_.str.4@PAGE
Lloh16:
add x3, x3, l_.str.4@PAGEOFF
Lloh17:
adrp x7, l_.str.5@PAGE
Lloh18:
add x7, x7, l_.str.5@PAGEOFF
mov x0, x19
mov x1, x21
mov x5, #0
bl _SYSCTL_ADD_INT
ldr w2, [x23]
Lloh19:
adrp x8, _CTLTYPE_INT@GOTPAGE
Lloh20:
ldr x8, [x8, _CTLTYPE_INT@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
ldr w9, [x24]
orr w4, w9, w8
add x5, x20, #40
Lloh22:
adrp x8, _sysctl_uint16@GOTPAGE
Lloh23:
ldr x8, [x8, _sysctl_uint16@GOTPAGEOFF]
Lloh24:
ldr w7, [x8]
Lloh25:
adrp x8, l_.str.8@PAGE
Lloh26:
add x8, x8, l_.str.8@PAGEOFF
Lloh27:
adrp x9, l_.str.7@PAGE
Lloh28:
add x9, x9, l_.str.7@PAGEOFF
stp x9, x8, [sp]
Lloh29:
adrp x3, l_.str.6@PAGE
Lloh30:
add x3, x3, l_.str.6@PAGEOFF
mov x0, x19
mov x1, x21
mov w6, #0
bl _SYSCTL_ADD_PROC
ldr w2, [x23]
ldr w4, [x24]
Lloh31:
adrp x8, _fl_pad@GOTPAGE
Lloh32:
ldr x8, [x8, _fl_pad@GOTPAGEOFF]
Lloh33:
ldr x8, [x8]
cmp x8, #0
cset w6, ne
Lloh34:
adrp x3, l_.str.9@PAGE
Lloh35:
add x3, x3, l_.str.9@PAGEOFF
Lloh36:
adrp x7, l_.str.10@PAGE
Lloh37:
add x7, x7, l_.str.10@PAGEOFF
mov x0, x19
mov x1, x21
mov x5, #0
bl _SYSCTL_ADD_UINT
ldr w2, [x23]
ldr w4, [x24]
ldr w8, [x20, #4]
Lloh38:
adrp x22, _FL_BUF_PACKING@GOTPAGE
Lloh39:
ldr x22, [x22, _FL_BUF_PACKING@GOTPAGEOFF]
ldr w9, [x22]
tst w9, w8
cset w6, ne
Lloh40:
adrp x3, l_.str.11@PAGE
Lloh41:
add x3, x3, l_.str.11@PAGEOFF
Lloh42:
adrp x7, l_.str.12@PAGE
Lloh43:
add x7, x7, l_.str.12@PAGEOFF
mov x0, x19
mov x1, x21
mov x5, #0
bl _SYSCTL_ADD_UINT
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #36
Lloh44:
adrp x3, l_.str.13@PAGE
Lloh45:
add x3, x3, l_.str.13@PAGEOFF
Lloh46:
adrp x7, l_.str.14@PAGE
Lloh47:
add x7, x7, l_.str.14@PAGEOFF
mov x0, x19
mov x1, x21
mov w6, #0
bl _SYSCTL_ADD_UINT
ldr w8, [x20, #4]
ldr w9, [x22]
tst w9, w8
b.eq LBB0_2
; %bb.1:
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #32
Lloh48:
adrp x3, l_.str.15@PAGE
Lloh49:
add x3, x3, l_.str.15@PAGEOFF
Lloh50:
adrp x7, l_.str.16@PAGE
Lloh51:
add x7, x7, l_.str.16@PAGEOFF
mov x0, x19
mov x1, x21
mov w6, #0
bl _SYSCTL_ADD_UINT
LBB0_2:
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #28
Lloh52:
adrp x3, l_.str.17@PAGE
Lloh53:
add x3, x3, l_.str.17@PAGEOFF
Lloh54:
adrp x7, l_.str.18@PAGE
Lloh55:
add x7, x7, l_.str.18@PAGEOFF
mov x0, x19
mov x1, x21
mov w6, #0
bl _SYSCTL_ADD_UINT
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #24
Lloh56:
adrp x3, l_.str.19@PAGE
Lloh57:
add x3, x3, l_.str.19@PAGEOFF
Lloh58:
adrp x6, l_.str.20@PAGE
Lloh59:
add x6, x6, l_.str.20@PAGEOFF
mov x0, x19
mov x1, x21
bl _SYSCTL_ADD_UQUAD
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #20
Lloh60:
adrp x3, l_.str.21@PAGE
Lloh61:
add x3, x3, l_.str.21@PAGEOFF
Lloh62:
adrp x6, l_.str.22@PAGE
Lloh63:
add x6, x6, l_.str.22@PAGEOFF
mov x0, x19
mov x1, x21
bl _SYSCTL_ADD_UQUAD
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #16
Lloh64:
adrp x3, l_.str.23@PAGE
Lloh65:
add x3, x3, l_.str.23@PAGEOFF
Lloh66:
adrp x6, l_.str.24@PAGE
Lloh67:
add x6, x6, l_.str.24@PAGEOFF
mov x0, x19
mov x1, x21
bl _SYSCTL_ADD_UQUAD
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #12
Lloh68:
adrp x3, l_.str.25@PAGE
Lloh69:
add x3, x3, l_.str.25@PAGEOFF
Lloh70:
adrp x6, l_.str.26@PAGE
Lloh71:
add x6, x6, l_.str.26@PAGEOFF
mov x0, x19
mov x1, x21
bl _SYSCTL_ADD_UQUAD
ldr w2, [x23]
ldr w4, [x24]
add x5, x20, #8
Lloh72:
adrp x3, l_.str.27@PAGE
Lloh73:
add x3, x3, l_.str.27@PAGEOFF
Lloh74:
adrp x6, l_.str.28@PAGE
Lloh75:
add x6, x6, l_.str.28@PAGEOFF
mov x0, x19
mov x1, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _SYSCTL_ADD_UQUAD
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.comm _OID_AUTO,4,2 ; @OID_AUTO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fl"
.comm _CTLFLAG_RD,4,2 ; @CTLFLAG_RD
l_.str.1: ; @.str.1
.asciz "freelist"
l_.str.2: ; @.str.2
.asciz "ba"
l_.str.3: ; @.str.3
.asciz "bus address of descriptor ring"
l_.str.4: ; @.str.4
.asciz "dmalen"
.comm _EQ_ESIZE,4,2 ; @EQ_ESIZE
l_.str.5: ; @.str.5
.asciz "desc ring size in bytes"
l_.str.6: ; @.str.6
.asciz "cntxt_id"
.comm _CTLTYPE_INT,4,2 ; @CTLTYPE_INT
.comm _sysctl_uint16,4,2 ; @sysctl_uint16
l_.str.7: ; @.str.7
.asciz "I"
l_.str.8: ; @.str.8
.asciz "SGE context id of the freelist"
l_.str.9: ; @.str.9
.asciz "padding"
.comm _fl_pad,8,3 ; @fl_pad
l_.str.10: ; @.str.10
.asciz "padding enabled"
l_.str.11: ; @.str.11
.asciz "packing"
.comm _FL_BUF_PACKING,4,2 ; @FL_BUF_PACKING
l_.str.12: ; @.str.12
.asciz "packing enabled"
l_.str.13: ; @.str.13
.asciz "cidx"
l_.str.14: ; @.str.14
.asciz "consumer index"
l_.str.15: ; @.str.15
.asciz "rx_offset"
l_.str.16: ; @.str.16
.asciz "packing rx offset"
l_.str.17: ; @.str.17
.asciz "pidx"
l_.str.18: ; @.str.18
.asciz "producer index"
l_.str.19: ; @.str.19
.asciz "mbuf_allocated"
l_.str.20: ; @.str.20
.asciz "# of mbuf allocated"
l_.str.21: ; @.str.21
.asciz "mbuf_inlined"
l_.str.22: ; @.str.22
.asciz "# of mbuf inlined in clusters"
l_.str.23: ; @.str.23
.asciz "cluster_allocated"
l_.str.24: ; @.str.24
.asciz "# of clusters allocated"
l_.str.25: ; @.str.25
.asciz "cluster_recycled"
l_.str.26: ; @.str.26
.asciz "# of clusters recycled"
l_.str.27: ; @.str.27
.asciz "cluster_fast_recycled"
l_.str.28: ; @.str.28
.asciz "# of clusters recycled (fast)"
.no_dead_strip _add_fl_sysctls
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_sge.c_add_fl_sysctls.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse256
_parse256: ## @parse256
.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, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %rsi
movl $2, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
movl $2, %edx
callq _strncmp
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
leaq (%r14,%rcx,2), %r14
LBB0_2:
movzbl (%r14), %eax
testb %al, %al
movq %rbx, -56(%rbp) ## 8-byte Spill
je LBB0_3
## %bb.4:
xorl %r12d, %r12d
leaq L_.str.2(%rip), %rbx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
callq _isxdigit
testl %eax, %eax
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movzbl -1(%r14,%r12), %eax
decq %r12
testb %al, %al
jne LBB0_5
## %bb.8:
cmpl $-64, %r12d
jae LBB0_10
## %bb.9:
leaq L_.str.3(%rip), %rax
jmp LBB0_17
LBB0_3:
xorl %r12d, %r12d
jmp LBB0_11
LBB0_6:
movq %rbx, %rax
jmp LBB0_17
LBB0_10:
negq %r12
LBB0_11:
movl %r12d, %ebx
andl $1, %ebx
movb $0, -42(%rbp)
movw $0, -44(%rbp)
movl $2, %edx
subl %ebx, %edx
leaq -44(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq _memcpy
leaq -48(%rbp), %rsi
movq %r15, %rdi
movl $1, %edx
callq _parseint
testq %rax, %rax
jne LBB0_17
## %bb.12:
leal -1(%r12), %eax
movl %eax, %ecx
shrb $7, %cl
addb %al, %cl
sarb %cl
movb $31, %al
subb %cl, %al
movzbl %al, %r13d
movl -48(%rbp), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r13,4)
cmpl $3, %r12d
jb LBB0_16
## %bb.13:
subq %rbx, %r14
addq $2, %r14
leaq -48(%rbp), %r12
movq -56(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movb $0, -42(%rbp)
movw $0, -44(%rbp)
movq %r15, %rdi
movq %r14, %rsi
movl $2, %edx
callq _memcpy
movq %r15, %rdi
movq %r12, %rsi
movl $1, %edx
callq _parseint
testq %rax, %rax
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
addq $2, %r14
movl -48(%rbp), %eax
movl %eax, 4(%rbx,%r13,4)
incq %r13
cmpl $31, %r13d
jl LBB0_14
LBB0_16:
xorl %eax, %eax
LBB0_17:
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 "0x"
L_.str.1: ## @.str.1
.asciz "0X"
L_.str.2: ## @.str.2
.asciz "invalid hex digit read"
L_.str.3: ## @.str.3
.asciz "hex code too long"
.no_dead_strip _parse256
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse256
_parse256: ; @parse256
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #2 ; =0x2
bl _strncmp
cbz w0, LBB0_7
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_8
LBB0_2:
sub x22, x20, #1
mov w21, #-1 ; =0xffffffff
Lloh2:
adrp x23, l_.str.2@PAGE
Lloh3:
add x23, x23, l_.str.2@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _isxdigit
cbz w0, LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x22], #-1
add w21, w21, #1
cbnz w8, LBB0_3
; %bb.5:
cmp w21, #63
b.ls LBB0_10
; %bb.6:
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_17
LBB0_7:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
mov w2, #2 ; =0x2
bl _strncmp
cmp w0, #0
cset w8, eq
add x20, x20, w8, uxtw #1
ldrb w8, [x20]
cbnz w8, LBB0_2
LBB0_8:
mov w22, #0 ; =0x0
b LBB0_11
LBB0_9:
mov x0, x23
b LBB0_17
LBB0_10:
add w22, w21, #1
LBB0_11:
strb wzr, [sp, #14]
strh wzr, [sp, #12]
tst w22, #0x1
mov w8, #1 ; =0x1
cinc w2, w8, eq
add x0, sp, #12
mov x1, x20
bl _memcpy
add x0, sp, #12
add x1, sp, #8
mov w2, #1 ; =0x1
bl _parseint
cbnz x0, LBB0_17
; %bb.12:
sub w8, w22, #1
and w9, w8, #0x80
add w8, w8, w9, lsr #7
sxtb w8, w8
mov w9, #31 ; =0x1f
sub w8, w9, w8, lsr #1
and x21, x8, #0xff
ldr w8, [sp, #8]
str w8, [x19, x21, lsl #2]
cmp w22, #3
b.lo LBB0_16
; %bb.13:
tst w22, #0x1
mov w8, #1 ; =0x1
cinc x8, x8, eq
add x20, x20, x8
add x19, x19, #4
LBB0_14: ; =>This Inner Loop Header: Depth=1
strb wzr, [sp, #14]
strh wzr, [sp, #12]
add x0, sp, #12
mov x1, x20
mov w2, #2 ; =0x2
bl _memcpy
add x0, sp, #12
add x1, sp, #8
mov w2, #1 ; =0x1
bl _parseint
cbnz x0, LBB0_17
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
add x20, x20, #2
ldr w8, [sp, #8]
str w8, [x19, x21, lsl #2]
add x8, x21, #1
mov x21, x8
cmp w8, #31
b.lt LBB0_14
LBB0_16:
mov x0, #0 ; =0x0
LBB0_17:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0x"
l_.str.1: ; @.str.1
.asciz "0X"
l_.str.2: ; @.str.2
.asciz "invalid hex digit read"
l_.str.3: ; @.str.3
.asciz "hex code too long"
.no_dead_strip _parse256
.subsections_via_symbols
| assembly_file_163956.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_and_32_er_aw ## -- Begin function m68k_op_and_32_er_aw
.p2align 4, 0x90
_m68k_op_and_32_er_aw: ## @m68k_op_and_32_er_aw
.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 _OPER_AW_32
movq _DX@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %eax, %edi
callq _NFLAG_32
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DX,4,2 ## @DX
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_and_32_er_aw ; -- Begin function m68k_op_and_32_er_aw
.p2align 2
_m68k_op_and_32_er_aw: ; @m68k_op_and_32_er_aw
.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 _OPER_AW_32
Lloh0:
adrp x8, _DX@GOTPAGE
Lloh1:
ldr x8, [x8, _DX@GOTPAGEOFF]
ldr w9, [x8]
and w0, w9, w0
str w0, [x8]
Lloh2:
adrp x8, _FLAG_Z@GOTPAGE
Lloh3:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh4:
str w0, [x8]
bl _NFLAG_32
Lloh5:
adrp x8, _FLAG_N@GOTPAGE
Lloh6:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh7:
str w0, [x8]
Lloh8:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh9:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _FLAG_C@GOTPAGE
Lloh12:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh13:
str w8, [x9]
Lloh14:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh15:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _FLAG_V@GOTPAGE
Lloh18:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh19:
str w8, [x9]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DX,4,2 ; @DX
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_and_32_er_aw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.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 %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_0(%rip), %xmm0
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
mulsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the base : "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Enter the height : "
L_.str.3: ## @.str.3
.asciz "Area is %f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
ldr s0, [sp, #12]
fcvt d0, s0
fmov d1, #0.50000000
fmul d0, d0, d1
ldr s1, [sp, #8]
fcvt d1, s1
fmul d0, d0, d1
fcvt s0, d0
fcvt d0, s0
str d0, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the base : "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Enter the height : "
l_.str.3: ; @.str.3
.asciz "Area is %f"
.subsections_via_symbols
| the_stack_data/165767160.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function d68020_cpsave
_d68020_cpsave: ## @d68020_cpsave
.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 _M68020_PLUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _LIMIT_CPU_TYPES
movq _M68K_INS_FSAVE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $1, %edx
xorl %ecx, %ecx
callq _build_init_op
movq (%rax), %rsi
movl (%rbx), %edx
movq %rbx, %rdi
movl $1, %ecx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _get_ea_mode_op ## TAILCALL
.cfi_endproc
## -- End function
.comm _M68020_PLUS,4,2 ## @M68020_PLUS
.comm _M68K_INS_FSAVE,4,2 ## @M68K_INS_FSAVE
.no_dead_strip _d68020_cpsave
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function d68020_cpsave
_d68020_cpsave: ; @d68020_cpsave
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _M68020_PLUS@GOTPAGE
Lloh1:
ldr x8, [x8, _M68020_PLUS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _LIMIT_CPU_TYPES
Lloh3:
adrp x8, _M68K_INS_FSAVE@GOTPAGE
Lloh4:
ldr x8, [x8, _M68K_INS_FSAVE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
mov w2, #1
mov w3, #0
bl _build_init_op
ldr x1, [x0]
ldr w2, [x19]
mov x0, x19
mov w3, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _get_ea_mode_op
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _M68020_PLUS,4,2 ; @M68020_PLUS
.comm _M68K_INS_FSAVE,4,2 ; @M68K_INS_FSAVE
.no_dead_strip _d68020_cpsave
.subsections_via_symbols
| AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68020_cpsave.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
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movb $97, -9(%rbp)
leaq -9(%rbp), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $1, %edx
movl $1, %edi
movq %rbx, %rsi
callq _write
movzbl -9(%rbp), %eax
incb %al
movb %al, -9(%rbp)
cmpb $123, %al
jl LBB0_1
## %bb.2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_print_alphabet ; -- Begin function ft_print_alphabet
.p2align 2
_ft_print_alphabet: ; @ft_print_alphabet
.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, #97
sturb w8, [x29, #-1]
LBB0_1: ; =>This Inner Loop Header: Depth=1
sub x1, x29, #1
mov w0, #1
mov w2, #1
bl _write
ldurb w8, [x29, #-1]
add w8, w8, #1
sxtb w9, w8
sturb w8, [x29, #-1]
cmp w9, #123
b.lt LBB0_1
; %bb.2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/140766835.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function en50221_capmt_CADescriptorAppend
_en50221_capmt_CADescriptorAppend: ## @en50221_capmt_CADescriptorAppend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, %r12
movq (%rdi), %rdi
leaq 2(%rcx), %r15
movq (%rsi), %rsi
addq %r15, %rsi
callq _realloc
movq %rax, %r13
movq %rax, %rdi
callq _likely
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r13, (%r12)
movq (%rbx), %rax
movq $9, (%r13,%rax,8)
movq %r14, 8(%r13,%rax,8)
leaq 16(,%rax,8), %rdi
addq %r13, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
callq _memcpy
addq %r15, (%rbx)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _en50221_capmt_CADescriptorAppend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function en50221_capmt_CADescriptorAppend
_en50221_capmt_CADescriptorAppend: ; @en50221_capmt_CADescriptorAppend
.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 x20, x3
mov x21, x2
mov x19, x1
mov x22, x0
ldr x0, [x0]
ldr x8, [x1]
add x24, x3, #2
add x1, x24, x8
bl _realloc
mov x23, x0
bl _likely
cbz x0, LBB0_2
; %bb.1:
str x23, [x22]
ldr x8, [x19]
add x8, x23, x8, lsl #3
mov w9, #9 ; =0x9
stp x9, x20, [x8]
add x0, x8, #16
mov x1, x21
mov x2, x20
bl _memcpy
ldr x8, [x19]
add x8, x24, x8
str x8, [x19]
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _en50221_capmt_CADescriptorAppend
.subsections_via_symbols
| assembly_file_75414.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function regwindow64_set
_regwindow64_set: ## @regwindow64_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq _UREG_I6@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rbx
movq _current@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _TIF_32BIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _test_tsk_thread_flag
movq _STACK_BIAS@GOTPCREL(%rip), %rax
addq (%rax), %rbx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl $16, %ecx
callq _set_to_target
movq _EFAULT@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
subl (%rdx), %ecx
xorl %edx, %edx
testq %rax, %rax
cmovel %edx, %ecx
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UREG_I6,8,3 ## @UREG_I6
.comm _current,4,2 ## @current
.comm _TIF_32BIT,4,2 ## @TIF_32BIT
.comm _EFAULT,4,2 ## @EFAULT
.comm _STACK_BIAS,8,3 ## @STACK_BIAS
.no_dead_strip _regwindow64_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function regwindow64_set
_regwindow64_set: ; @regwindow64_set
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
ldr x8, [x1]
Lloh0:
adrp x9, _UREG_I6@GOTPAGE
Lloh1:
ldr x9, [x9, _UREG_I6@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr x21, [x8, x9, lsl #3]
Lloh3:
adrp x8, _current@GOTPAGE
Lloh4:
ldr x8, [x8, _current@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x8, _TIF_32BIT@GOTPAGE
Lloh7:
ldr x8, [x8, _TIF_32BIT@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _test_tsk_thread_flag
Lloh9:
adrp x8, _STACK_BIAS@GOTPAGE
Lloh10:
ldr x8, [x8, _STACK_BIAS@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
add x1, x8, x21
mov x0, x20
mov x2, x19
mov w3, #16
bl _set_to_target
Lloh12:
adrp x8, _EFAULT@GOTPAGE
Lloh13:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
cmp x0, #0
csneg w0, wzr, w8, eq
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _UREG_I6,8,3 ; @UREG_I6
.comm _current,4,2 ; @current
.comm _TIF_32BIT,4,2 ; @TIF_32BIT
.comm _EFAULT,4,2 ; @EFAULT
.comm _STACK_BIAS,8,3 ; @STACK_BIAS
.no_dead_strip _regwindow64_set
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_ptrace_64.c_regwindow64_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vt1724_midi_read
_vt1724_midi_read: ## @vt1724_midi_read
.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 $280, %rsp ## imm = 0x118
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _SNDRV_RAWMIDI_STREAM_INPUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _get_rawmidi_substream
movq %rax, %rbx
movq _MPU_RXFIFO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _ICEREG1724
movl %eax, %edi
callq _inb
testl %eax, %eax
jle LBB0_5
## %bb.1:
movq %rbx, -312(%rbp) ## 8-byte Spill
movl %eax, %edi
movl $32, %esi
callq _min
movl %eax, %r15d
testl %eax, %eax
jle LBB0_4
## %bb.2:
movl %r15d, %r13d
xorl %ebx, %ebx
movq _MPU_DATA@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r14), %esi
movq %r12, %rdi
callq _ICEREG1724
movl %eax, %edi
callq _inb
movq %rax, -304(%rbp,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne LBB0_3
LBB0_4:
leaq -304(%rbp), %rsi
movq -312(%rbp), %rdi ## 8-byte Reload
movl %r15d, %edx
callq _snd_rawmidi_receive
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_7
## %bb.6:
addq $280, %rsp ## imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SNDRV_RAWMIDI_STREAM_INPUT,4,2 ## @SNDRV_RAWMIDI_STREAM_INPUT
.comm _MPU_RXFIFO,4,2 ## @MPU_RXFIFO
.comm _MPU_DATA,4,2 ## @MPU_DATA
.no_dead_strip _vt1724_midi_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vt1724_midi_read
_vt1724_midi_read: ; @vt1724_midi_read
.cfi_startproc
; %bb.0:
sub sp, sp, #352
.cfi_def_cfa_offset 352
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x24, x23, [sp, #288] ; 16-byte Folded Spill
stp x22, x21, [sp, #304] ; 16-byte Folded Spill
stp x20, x19, [sp, #320] ; 16-byte Folded Spill
stp x29, x30, [sp, #336] ; 16-byte Folded Spill
add x29, sp, #336
.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 w27, -72
.cfi_offset w28, -80
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, _SNDRV_RAWMIDI_STREAM_INPUT@GOTPAGE
Lloh4:
ldr x8, [x8, _SNDRV_RAWMIDI_STREAM_INPUT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _get_rawmidi_substream
mov x20, x0
Lloh6:
adrp x8, _MPU_RXFIFO@GOTPAGE
Lloh7:
ldr x8, [x8, _MPU_RXFIFO@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _ICEREG1724
bl _inb
cmp w0, #1
b.lt LBB0_5
; %bb.1:
; kill: def $w0 killed $w0 killed $x0
mov w1, #32
bl _min
mov x21, x0
cmp w0, #1
b.lt LBB0_4
; %bb.2:
mov w22, w21
add x23, sp, #8
Lloh9:
adrp x24, _MPU_DATA@GOTPAGE
Lloh10:
ldr x24, [x24, _MPU_DATA@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x19
bl _ICEREG1724
bl _inb
str x0, [x23], #8
subs x22, x22, #1
b.ne LBB0_3
LBB0_4:
add x1, sp, #8
mov x0, x20
mov x2, x21
bl _snd_rawmidi_receive
LBB0_5:
ldur x8, [x29, #-72]
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_7
; %bb.6:
ldp x29, x30, [sp, #336] ; 16-byte Folded Reload
ldp x20, x19, [sp, #320] ; 16-byte Folded Reload
ldp x22, x21, [sp, #304] ; 16-byte Folded Reload
ldp x24, x23, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #352
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _SNDRV_RAWMIDI_STREAM_INPUT,4,2 ; @SNDRV_RAWMIDI_STREAM_INPUT
.comm _MPU_RXFIFO,4,2 ; @MPU_RXFIFO
.comm _MPU_DATA,4,2 ; @MPU_DATA
.no_dead_strip _vt1724_midi_read
.subsections_via_symbols
| AnghaBench/linux/sound/pci/ice1712/extr_ice1724.c_vt1724_midi_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _b32_pton_extended_hex ## -- Begin function b32_pton_extended_hex
.p2align 4, 0x90
_b32_pton_extended_hex: ## @b32_pton_extended_hex
.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, %r8d
movl $1, %r9d
popq %rbp
jmp _ldns_b32_pton_base ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _b32_pton_extended_hex ; -- Begin function b32_pton_extended_hex
.p2align 2
_b32_pton_extended_hex: ; @b32_pton_extended_hex
.cfi_startproc
; %bb.0:
mov w4, #1
mov w5, #1
b _ldns_b32_pton_base
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ldns/extr_util.c_b32_pton_extended_hex.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath6kl_hif_poll_mboxmsg_rx ## -- Begin function ath6kl_hif_poll_mboxmsg_rx
.p2align 4, 0x90
_ath6kl_hif_poll_mboxmsg_rx: ## @ath6kl_hif_poll_mboxmsg_rx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %eax
movq %rdi, %r15
movq _HTC_MAILBOX@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl $1, %r14d
shll %cl, %r14d
movq _ATH6KL_TIME_QUANTUM@GOTPCREL(%rip), %rcx
cltd
idivl (%rcx)
movl %eax, %ebx
testl %eax, %eax
jle LBB0_8
## %bb.1:
movq %rsi, -48(%rbp) ## 8-byte Spill
leaq L_.str.1(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq _ATH6KL_TIME_QUANTUM@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _mdelay
movq _ATH6KL_DBG_HIF@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r12, %rsi
movl %ebx, %edx
callq _ath6kl_dbg
leal -1(%rbx), %eax
cmpl $1, %ebx
movl %eax, %ebx
jle LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 24(%r15), %edi
movq _HOST_INT_STATUS_ADDRESS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _HIF_RD_SYNC_BYTE_INC@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r15, %rdx
movl $24, %ecx
callq _hif_read_write_sync
testl %eax, %eax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
testl %r14d, (%r15)
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
testl %r14d, 4(%r15)
je LBB0_7
## %bb.6:
movq 16(%r15), %rax
movq _HTC_MAILBOX@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movl (%rax,%rcx,4), %edi
callq _le32_to_cpu
movq -48(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
xorl %r13d, %r13d
jmp LBB0_11
LBB0_8:
xorl %r13d, %r13d
testl %ebx, %ebx
jne LBB0_11
LBB0_9:
leaq L_.str.2(%rip), %rdi
callq _ath6kl_err
movq _ETIME@GOTPCREL(%rip), %rax
xorl %r13d, %r13d
subl (%rax), %r13d
movq _ATH6KL_TARGET_DEBUG_INTR_MASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%r15)
je LBB0_11
## %bb.10:
movq %r15, %rdi
callq _ath6kl_hif_proc_dbg_intr
jmp LBB0_11
LBB0_3:
movl %eax, %r13d
leaq L_.str(%rip), %rdi
callq _ath6kl_err
LBB0_11:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HTC_MAILBOX,4,2 ## @HTC_MAILBOX
.comm _ATH6KL_TIME_QUANTUM,4,2 ## @ATH6KL_TIME_QUANTUM
.comm _HOST_INT_STATUS_ADDRESS,4,2 ## @HOST_INT_STATUS_ADDRESS
.comm _HIF_RD_SYNC_BYTE_INC,4,2 ## @HIF_RD_SYNC_BYTE_INC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to read reg table\n"
.comm _ATH6KL_DBG_HIF,4,2 ## @ATH6KL_DBG_HIF
L_.str.1: ## @.str.1
.asciz "hif retry mbox poll try %d\n"
L_.str.2: ## @.str.2
.asciz "timeout waiting for recv message\n"
.comm _ETIME,4,2 ## @ETIME
.comm _ATH6KL_TARGET_DEBUG_INTR_MASK,4,2 ## @ATH6KL_TARGET_DEBUG_INTR_MASK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath6kl_hif_poll_mboxmsg_rx ; -- Begin function ath6kl_hif_poll_mboxmsg_rx
.p2align 2
_ath6kl_hif_poll_mboxmsg_rx: ; @ath6kl_hif_poll_mboxmsg_rx
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x24, _ATH6KL_TIME_QUANTUM@GOTPAGE
Lloh1:
ldr x24, [x24, _ATH6KL_TIME_QUANTUM@GOTPAGEOFF]
ldr w8, [x24]
sdiv w21, w2, w8
cmp w21, #1
b.lt LBB0_7
; %bb.1:
mov x20, x1
Lloh2:
adrp x8, _HTC_MAILBOX@GOTPAGE
Lloh3:
ldr x8, [x8, _HTC_MAILBOX@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
mov w9, #1
lsl w26, w9, w8
Lloh5:
adrp x27, _HOST_INT_STATUS_ADDRESS@GOTPAGE
Lloh6:
ldr x27, [x27, _HOST_INT_STATUS_ADDRESS@GOTPAGEOFF]
Lloh7:
adrp x28, _HIF_RD_SYNC_BYTE_INC@GOTPAGE
Lloh8:
ldr x28, [x28, _HIF_RD_SYNC_BYTE_INC@GOTPAGEOFF]
Lloh9:
adrp x25, _ATH6KL_DBG_HIF@GOTPAGE
Lloh10:
ldr x25, [x25, _ATH6KL_DBG_HIF@GOTPAGEOFF]
Lloh11:
adrp x22, l_.str.1@PAGE
Lloh12:
add x22, x22, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x24]
bl _mdelay
ldr w0, [x25]
mov x1, x22
mov x2, x21
bl _ath6kl_dbg
subs w21, w21, #1
b.le LBB0_9
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #24]
ldr w1, [x27]
ldr w4, [x28]
mov x2, x19
mov w3, #24
bl _hif_read_write_sync
cbnz w0, LBB0_11
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19]
tst w8, w26
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, #4]
tst w8, w26
b.eq LBB0_2
; %bb.6:
ldr x8, [x19, #16]
Lloh13:
adrp x9, _HTC_MAILBOX@GOTPAGE
Lloh14:
ldr x9, [x9, _HTC_MAILBOX@GOTPAGEOFF]
Lloh15:
ldrsw x9, [x9]
ldr w0, [x8, x9, lsl #2]
bl _le32_to_cpu
mov w23, #0
str w0, [x20]
b LBB0_12
LBB0_7:
cbz w21, LBB0_9
; %bb.8:
mov w23, #0
b LBB0_12
LBB0_9:
Lloh16:
adrp x0, l_.str.2@PAGE
Lloh17:
add x0, x0, l_.str.2@PAGEOFF
bl _ath6kl_err
Lloh18:
adrp x8, _ETIME@GOTPAGE
Lloh19:
ldr x8, [x8, _ETIME@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
neg w23, w8
ldr w8, [x19, #8]
Lloh21:
adrp x9, _ATH6KL_TARGET_DEBUG_INTR_MASK@GOTPAGE
Lloh22:
ldr x9, [x9, _ATH6KL_TARGET_DEBUG_INTR_MASK@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_12
; %bb.10:
mov x0, x19
bl _ath6kl_hif_proc_dbg_intr
b LBB0_12
LBB0_11:
mov x23, x0
Lloh24:
adrp x0, l_.str@PAGE
Lloh25:
add x0, x0, l_.str@PAGEOFF
bl _ath6kl_err
LBB0_12:
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _HTC_MAILBOX,4,2 ; @HTC_MAILBOX
.comm _ATH6KL_TIME_QUANTUM,4,2 ; @ATH6KL_TIME_QUANTUM
.comm _HOST_INT_STATUS_ADDRESS,4,2 ; @HOST_INT_STATUS_ADDRESS
.comm _HIF_RD_SYNC_BYTE_INC,4,2 ; @HIF_RD_SYNC_BYTE_INC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to read reg table\n"
.comm _ATH6KL_DBG_HIF,4,2 ; @ATH6KL_DBG_HIF
l_.str.1: ; @.str.1
.asciz "hif retry mbox poll try %d\n"
l_.str.2: ; @.str.2
.asciz "timeout waiting for recv message\n"
.comm _ETIME,4,2 ; @ETIME
.comm _ATH6KL_TARGET_DEBUG_INTR_MASK,4,2 ; @ATH6KL_TARGET_DEBUG_INTR_MASK
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_hif.c_ath6kl_hif_poll_mboxmsg_rx.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 juliandayFunc
LCPI0_0:
.quad 0x4194997000000000 ## double 8.64E+7
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_juliandayFunc: ## @juliandayFunc
.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 -16(%rbp), %rcx
callq _isDate
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq -16(%rbp), %rdi
callq _computeJD
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
divsd LCPI0_0(%rip), %xmm0
movq %rbx, %rdi
callq _sqlite3_result_double
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_1449 ## @g_aug_volatile_1449
.p2align 2, 0x0
_g_aug_volatile_1449:
.long 10 ## 0xa
.no_dead_strip _juliandayFunc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function juliandayFunc
_juliandayFunc: ; @juliandayFunc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x3, sp, #8
bl _isDate
cbnz x0, LBB0_2
; %bb.1:
add x0, sp, #8
bl _computeJD
ldr d0, [sp, #8]
mov x8, #168706315386880 ; =0x997000000000
movk x8, #16788, lsl #48
fmov d1, x8
fdiv d0, d0, d1
mov x0, x19
bl _sqlite3_result_double
LBB0_2:
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
.section __DATA,__data
.globl _g_aug_volatile_1449 ; @g_aug_volatile_1449
.p2align 2, 0x0
_g_aug_volatile_1449:
.long 10 ; 0xa
.no_dead_strip _juliandayFunc
.subsections_via_symbols
| assembly_file_10594.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function UI_BuildQ3Model_List
_UI_BuildQ3Model_List: ## @UI_BuildQ3Model_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 %r13
pushq %r12
pushq %rbx
pushq %rax
movl $4424, %eax ## imm = 0x1148
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 %rsp, -4432(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_QPATH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -4464(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -4416(%rbp) ## 8-byte Spill
movq _uiInfo@GOTPCREL(%rip), %rbx
movl $0, (%rbx)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq -2096(%rbp), %r15
movq %r15, %rdx
movl $2048, %ecx ## imm = 0x800
callq _trap_FS_GetFileList
movq %rbx, %rdx
movl %eax, -4420(%rbp) ## 4-byte Spill
testl %eax, %eax
jns LBB0_2
## %bb.1:
movq _MAX_PLAYERMODELS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, (%rdx)
jge LBB0_29
LBB0_2:
movq -4416(%rbp), %rax ## 8-byte Reload
addq $-5, %rax
movq %rax, -4440(%rbp) ## 8-byte Spill
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_23 Depth 3
movq %rdx, %r14
## kill: def $eax killed $eax def $rax
movq %rax, -4456(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _strlen
movslq %eax, %rcx
testl %eax, %eax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpb $47, -1(%rcx,%r15)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movb $0, -1(%r15,%rcx)
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq %rcx, -4448(%rbp) ## 8-byte Spill
movzbl (%r15), %eax
addl $-46, %eax
movq %r14, %rdx
movq %r15, -4408(%rbp) ## 8-byte Spill
je LBB0_7
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_27
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.4(%rip), %rdi
movq -4408(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _va
movq %rax, %rdi
leaq L_.str.5(%rip), %rsi
leaq -4144(%rbp), %rdx
movl $2048, %ecx ## imm = 0x800
callq _trap_FS_GetFileList
movq %r14, %rdx
movl %eax, -4424(%rbp) ## 4-byte Spill
testl %eax, %eax
jle LBB0_27
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movq _MAX_PLAYERMODELS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, (%rdx)
jge LBB0_27
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
xorl %r13d, %r13d
leaq -4144(%rbp), %r15
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_23 Depth 3
movq %r15, %rdi
callq _strlen
movl %eax, %ebx
movq %r15, %rdi
movq -4416(%rbp), %r12 ## 8-byte Reload
movq %r12, %rsi
movq -4464(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _COM_StripExtension
movq %r12, %rdi
leaq L_.str.6(%rip), %rsi
movl $5, %edx
callq _Q_stricmpn
testq %rax, %rax
je LBB0_15
LBB0_25: ## in Loop: Header=BB0_14 Depth=2
incl %r13d
cmpl -4424(%rbp), %r13d ## 4-byte Folded Reload
movq %r14, %rdx
jge LBB0_27
## %bb.26: ## in Loop: Header=BB0_14 Depth=2
movslq %ebx, %rax
addq %rax, %r15
incq %r15
movq _MAX_PLAYERMODELS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, (%rdx)
jl LBB0_14
jmp LBB0_27
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_14 Depth=2
movq -4416(%rbp), %rdi ## 8-byte Reload
leaq L_.str.7(%rip), %rsi
callq _Q_stricmp
testq %rax, %rax
je LBB0_25
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
movq -4416(%rbp), %rdi ## 8-byte Reload
leaq L_.str.8(%rip), %rsi
callq _Q_stricmp
testq %rax, %rax
je LBB0_25
## %bb.17: ## in Loop: Header=BB0_14 Depth=2
movq -4416(%rbp), %rdi ## 8-byte Reload
leaq L_.str.9(%rip), %rsi
callq _Q_stricmp
leaq -4400(%rbp), %rdi
movl $256, %esi ## imm = 0x100
testq %rax, %rax
je LBB0_18
## %bb.19: ## in Loop: Header=BB0_14 Depth=2
leaq L_.str.11(%rip), %rdx
movq -4408(%rbp), %rcx ## 8-byte Reload
movq -4440(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _Com_sprintf
jmp LBB0_20
LBB0_18: ## in Loop: Header=BB0_14 Depth=2
leaq L_.str.10(%rip), %rdx
movq -4408(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
callq _Com_sprintf
LBB0_20: ## in Loop: Header=BB0_14 Depth=2
movq %r14, %rdx
movl (%r14), %eax
testl %eax, %eax
jle LBB0_24
## %bb.21: ## in Loop: Header=BB0_14 Depth=2
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Inner Loop Header: Depth=3
movq 8(%rdx), %rcx
cltq
movq (%rcx,%rax,8), %rsi
leaq -4400(%rbp), %rdi
callq _Q_stricmp
testq %rax, %rax
je LBB0_25
## %bb.22: ## in Loop: Header=BB0_23 Depth=3
incl %r12d
movq %r14, %rdx
movl (%r14), %eax
cmpl %eax, %r12d
jl LBB0_23
LBB0_24: ## in Loop: Header=BB0_14 Depth=2
movq 8(%rdx), %rcx
cltq
movq (%rcx,%rax,8), %rdi
movl $8, %esi
movq %rdx, %r12
leaq L_.str.10(%rip), %rdx
leaq -4400(%rbp), %rcx
xorl %eax, %eax
callq _Com_sprintf
leaq L_.str.12(%rip), %rdi
movq -4408(%rbp), %rsi ## 8-byte Reload
movq -4416(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _va
movq %rax, %rdi
callq _trap_R_RegisterShaderNoMip
movq 16(%r12), %rcx
movslq (%r12), %rdx
leal 1(%rdx), %esi
movl %esi, (%r12)
movl %eax, (%rcx,%rdx,4)
jmp LBB0_25
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movzbl 1(%r15), %eax
testl %eax, %eax
je LBB0_27
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
addl $-46, %eax
movq -4408(%rbp), %r15 ## 8-byte Reload
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movzbl 2(%r15), %eax
jmp LBB0_10
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
movq -4456(%rbp), %rcx ## 8-byte Reload
leal 1(%rcx), %eax
movq -4408(%rbp), %r15 ## 8-byte Reload
movq -4448(%rbp), %rsi ## 8-byte Reload
addq %rsi, %r15
incq %r15
cmpl -4420(%rbp), %ecx ## 4-byte Folded Reload
jl LBB0_3
## %bb.28: ## in Loop: Header=BB0_3 Depth=1
movq _MAX_PLAYERMODELS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl %ecx, (%rdx)
jl LBB0_3
LBB0_29:
movq -4432(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_31
## %bb.30:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_31:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_QPATH,4,2 ## @MAX_QPATH
.comm _uiInfo,24,3 ## @uiInfo
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "models/players"
L_.str.1: ## @.str.1
.asciz "/"
.comm _MAX_PLAYERMODELS,4,2 ## @MAX_PLAYERMODELS
L_.str.4: ## @.str.4
.asciz "models/players/%s"
L_.str.5: ## @.str.5
.asciz "tga"
L_.str.6: ## @.str.6
.asciz "icon_"
L_.str.7: ## @.str.7
.asciz "icon_blue"
L_.str.8: ## @.str.8
.asciz "icon_red"
L_.str.9: ## @.str.9
.asciz "icon_default"
L_.str.10: ## @.str.10
.asciz "%s"
L_.str.11: ## @.str.11
.asciz "%s/%s"
L_.str.12: ## @.str.12
.asciz "models/players/%s/%s"
.no_dead_strip _UI_BuildQ3Model_List
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function UI_BuildQ3Model_List
_UI_BuildQ3Model_List: ; @UI_BuildQ3Model_List
.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
mov w9, #4416 ; =0x1140
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #320
mov x19, sp
.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 x8, sp
str x8, [x19, #8] ; 8-byte Folded Spill
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh5:
adrp x8, _MAX_QPATH@GOTPAGE
Lloh6:
ldr x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh7:
ldr w20, [x8]
mov x9, x20
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x20, #15
and x9, x9, #0x1fffffff0
sub x21, x8, x9
mov sp, x21
Lloh10:
adrp x27, _uiInfo@GOTPAGE
Lloh11:
ldr x27, [x27, _uiInfo@GOTPAGEOFF]
str wzr, [x27]
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
Lloh14:
adrp x1, l_.str.1@PAGE
Lloh15:
add x1, x1, l_.str.1@PAGEOFF
add x2, x19, #2352
mov w3, #2048 ; =0x800
bl _trap_FS_GetFileList
str w0, [x19, #28] ; 4-byte Folded Spill
tbz w0, #31, LBB0_2
; %bb.1:
ldr w8, [x27]
Lloh16:
adrp x9, _MAX_PLAYERMODELS@GOTPAGE
Lloh17:
ldr x9, [x9, _MAX_PLAYERMODELS@GOTPAGEOFF]
Lloh18:
ldr w9, [x9]
cmp w8, w9
b.ge LBB0_29
LBB0_2:
mov w8, #0 ; =0x0
sub x9, x21, #5
str x9, [x19, #16] ; 8-byte Folded Spill
add x23, x19, #2352
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_21 Depth 3
str w8, [x19, #44] ; 4-byte Folded Spill
mov x0, x23
bl _strlen
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sxtw x8, w0
sub x8, x8, #1
ldrb w9, [x23, x8]
cmp w9, #47
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
strb wzr, [x23, x8]
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
str x0, [x19, #32] ; 8-byte Folded Spill
ldrb w8, [x23]
subs w8, w8, #46
b.eq LBB0_24
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
cbz w8, LBB0_27
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
Lloh19:
adrp x0, l_.str.4@PAGE
Lloh20:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x23
bl _va
add x2, x19, #304
Lloh21:
adrp x1, l_.str.5@PAGE
Lloh22:
add x1, x1, l_.str.5@PAGEOFF
mov w3, #2048 ; =0x800
bl _trap_FS_GetFileList
cmp w0, #1
b.lt LBB0_27
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x27]
Lloh23:
adrp x9, _MAX_PLAYERMODELS@GOTPAGE
Lloh24:
ldr x9, [x9, _MAX_PLAYERMODELS@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
cmp w8, w9
b.ge LBB0_27
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov x25, x0
mov w26, #0 ; =0x0
add x28, x19, #304
LBB0_11: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_21 Depth 3
mov x0, x28
bl _strlen
mov x22, x0
mov x0, x28
mov x1, x21
mov x2, x20
bl _COM_StripExtension
mov x0, x21
Lloh26:
adrp x1, l_.str.6@PAGE
Lloh27:
add x1, x1, l_.str.6@PAGEOFF
mov w2, #5 ; =0x5
bl _Q_stricmpn
cbz x0, LBB0_14
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
add w26, w26, #1
cmp w26, w25
b.ge LBB0_27
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
add w8, w22, #1
add x28, x28, w8, sxtw
ldr w8, [x27]
Lloh28:
adrp x9, _MAX_PLAYERMODELS@GOTPAGE
Lloh29:
ldr x9, [x9, _MAX_PLAYERMODELS@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
cmp w8, w9
b.lt LBB0_11
b LBB0_27
LBB0_14: ; in Loop: Header=BB0_11 Depth=2
mov x0, x21
Lloh31:
adrp x1, l_.str.7@PAGE
Lloh32:
add x1, x1, l_.str.7@PAGEOFF
bl _Q_stricmp
cbz x0, LBB0_12
; %bb.15: ; in Loop: Header=BB0_11 Depth=2
mov x0, x21
Lloh33:
adrp x1, l_.str.8@PAGE
Lloh34:
add x1, x1, l_.str.8@PAGEOFF
bl _Q_stricmp
cbz x0, LBB0_12
; %bb.16: ; in Loop: Header=BB0_11 Depth=2
mov x0, x21
Lloh35:
adrp x1, l_.str.9@PAGE
Lloh36:
add x1, x1, l_.str.9@PAGEOFF
bl _Q_stricmp
cbz x0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [x19, #16] ; 8-byte Folded Reload
str x8, [sp, #-16]!
add x0, x19, #48
mov w1, #256 ; =0x100
Lloh37:
adrp x2, l_.str.11@PAGE
Lloh38:
add x2, x2, l_.str.11@PAGEOFF
mov x3, x23
bl _Com_sprintf
add sp, sp, #16
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_11 Depth=2
add x0, x19, #48
mov w1, #256 ; =0x100
Lloh39:
adrp x2, l_.str.10@PAGE
Lloh40:
add x2, x2, l_.str.10@PAGEOFF
mov x3, x23
bl _Com_sprintf
LBB0_19: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [x27]
cmp w8, #1
b.lt LBB0_23
; %bb.20: ; in Loop: Header=BB0_11 Depth=2
mov w24, #0 ; =0x0
LBB0_21: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_11 Depth=2
; => This Inner Loop Header: Depth=3
ldr x9, [x27, #8]
ldr x1, [x9, w8, sxtw #3]
add x0, x19, #48
bl _Q_stricmp
cbz x0, LBB0_12
; %bb.22: ; in Loop: Header=BB0_21 Depth=3
add w24, w24, #1
ldr w8, [x27]
cmp w24, w8
b.lt LBB0_21
LBB0_23: ; in Loop: Header=BB0_11 Depth=2
ldr x9, [x27, #8]
ldr x0, [x9, w8, sxtw #3]
add x3, x19, #48
mov w1, #8 ; =0x8
Lloh41:
adrp x2, l_.str.10@PAGE
Lloh42:
add x2, x2, l_.str.10@PAGEOFF
bl _Com_sprintf
str x21, [sp, #-16]!
Lloh43:
adrp x0, l_.str.12@PAGE
Lloh44:
add x0, x0, l_.str.12@PAGEOFF
mov x1, x23
bl _va
add sp, sp, #16
bl _trap_R_RegisterShaderNoMip
ldr x8, [x27, #16]
ldrsw x9, [x27]
add w10, w9, #1
str w10, [x27]
str w0, [x8, x9, lsl #2]
b LBB0_12
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x23, #1]
cbz w8, LBB0_27
; %bb.25: ; in Loop: Header=BB0_3 Depth=1
subs w8, w8, #46
b.ne LBB0_7
; %bb.26: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x23, #2]
b LBB0_7
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
ldr w10, [x19, #44] ; 4-byte Folded Reload
add w8, w10, #1
ldr x9, [x19, #32] ; 8-byte Folded Reload
add x9, x23, w9, sxtw
add x23, x9, #1
ldr w9, [x19, #28] ; 4-byte Folded Reload
cmp w10, w9
b.lt LBB0_3
; %bb.28: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x27]
Lloh45:
adrp x10, _MAX_PLAYERMODELS@GOTPAGE
Lloh46:
ldr x10, [x10, _MAX_PLAYERMODELS@GOTPAGEOFF]
Lloh47:
ldr w10, [x10]
cmp w9, w10
b.lt LBB0_3
LBB0_29:
ldr x8, [x19, #8] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-96]
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_31
; %bb.30:
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_31:
bl ___stack_chk_fail
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _MAX_QPATH,4,2 ; @MAX_QPATH
.comm _uiInfo,24,3 ; @uiInfo
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "models/players"
l_.str.1: ; @.str.1
.asciz "/"
.comm _MAX_PLAYERMODELS,4,2 ; @MAX_PLAYERMODELS
l_.str.4: ; @.str.4
.asciz "models/players/%s"
l_.str.5: ; @.str.5
.asciz "tga"
l_.str.6: ; @.str.6
.asciz "icon_"
l_.str.7: ; @.str.7
.asciz "icon_blue"
l_.str.8: ; @.str.8
.asciz "icon_red"
l_.str.9: ; @.str.9
.asciz "icon_default"
l_.str.10: ; @.str.10
.asciz "%s"
l_.str.11: ; @.str.11
.asciz "%s/%s"
l_.str.12: ; @.str.12
.asciz "models/players/%s/%s"
.no_dead_strip _UI_BuildQ3Model_List
.subsections_via_symbols
| assembly_file_29777.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __crypto_sign_ed25519_ref10_hinit ## -- Begin function _crypto_sign_ed25519_ref10_hinit
.p2align 4, 0x90
__crypto_sign_ed25519_ref10_hinit: ## @_crypto_sign_ed25519_ref10_hinit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _crypto_hash_sha512_init
testl %r14d, %r14d
je LBB0_1
## %bb.2:
leaq __crypto_sign_ed25519_ref10_hinit.DOM2PREFIX(%rip), %rsi
movq %rbx, %rdi
movl $34, %edx
popq %rbx
popq %r14
popq %rbp
jmp _crypto_hash_sha512_update ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @_crypto_sign_ed25519_ref10_hinit.DOM2PREFIX
__crypto_sign_ed25519_ref10_hinit.DOM2PREFIX:
.asciz "SigEd25519 no Ed25519 collisions\001"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __crypto_sign_ed25519_ref10_hinit ; -- Begin function _crypto_sign_ed25519_ref10_hinit
.p2align 2
__crypto_sign_ed25519_ref10_hinit: ; @_crypto_sign_ed25519_ref10_hinit
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _crypto_hash_sha512_init
cbz w20, LBB0_2
; %bb.1:
Lloh0:
adrp x1, __crypto_sign_ed25519_ref10_hinit.DOM2PREFIX@PAGE
Lloh1:
add x1, x1, __crypto_sign_ed25519_ref10_hinit.DOM2PREFIX@PAGEOFF
mov x0, x19
mov w2, #34
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _crypto_hash_sha512_update
LBB0_2:
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,__const
__crypto_sign_ed25519_ref10_hinit.DOM2PREFIX: ; @_crypto_sign_ed25519_ref10_hinit.DOM2PREFIX
.asciz "SigEd25519 no Ed25519 collisions\001"
.subsections_via_symbols
| AnghaBench/libsodium/src/libsodium/crypto_sign/ed25519/ref10/extr_sign.c__crypto_sign_ed25519_ref10_hinit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
movq _ZSTDCLI_CLEVEL_MAX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ZSTDCLI_CLEVEL_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _DISPLAY
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage : \n"
L_.str.1: ## @.str.1
.asciz " %s [args] [FILE(s)] [-o file] \n"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "FILE : a filename \n"
L_.str.4: ## @.str.4
.asciz " with no FILE, or when FILE is - , read standard input\n"
L_.str.5: ## @.str.5
.asciz "Arguments : \n"
L_.str.6: ## @.str.6
.asciz " -# : # compression level (1-%d, default: %d) \n"
.comm _ZSTDCLI_CLEVEL_MAX,4,2 ## @ZSTDCLI_CLEVEL_MAX
.comm _ZSTDCLI_CLEVEL_DEFAULT,4,2 ## @ZSTDCLI_CLEVEL_DEFAULT
L_.str.7: ## @.str.7
.asciz " -d : decompression \n"
L_.str.8: ## @.str.8
.asciz " -D file: use `file` as Dictionary \n"
L_.str.9: ## @.str.9
.asciz " -o file: result stored into `file` (only if 1 input file) \n"
L_.str.10: ## @.str.10
.asciz " -f : overwrite output without prompting and (de)compress links \n"
L_.str.11: ## @.str.11
.asciz "--rm : remove source file(s) after successful de/compression \n"
L_.str.12: ## @.str.12
.asciz " -k : preserve source file(s) (default) \n"
L_.str.13: ## @.str.13
.asciz " -h/-H : display help/long help and exit \n"
.no_dead_strip _usage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DISPLAY
str x19, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _DISPLAY
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _DISPLAY
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _DISPLAY
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _DISPLAY
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _DISPLAY
Lloh12:
adrp x8, _ZSTDCLI_CLEVEL_MAX@GOTPAGE
Lloh13:
ldr x8, [x8, _ZSTDCLI_CLEVEL_MAX@GOTPAGEOFF]
Lloh14:
adrp x9, _ZSTDCLI_CLEVEL_DEFAULT@GOTPAGE
Lloh15:
ldr x9, [x9, _ZSTDCLI_CLEVEL_DEFAULT@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
ldr w9, [x9]
stp x8, x9, [sp]
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _DISPLAY
Lloh20:
adrp x0, l_.str.7@PAGE
Lloh21:
add x0, x0, l_.str.7@PAGEOFF
bl _DISPLAY
Lloh22:
adrp x0, l_.str.8@PAGE
Lloh23:
add x0, x0, l_.str.8@PAGEOFF
bl _DISPLAY
Lloh24:
adrp x0, l_.str.9@PAGE
Lloh25:
add x0, x0, l_.str.9@PAGEOFF
bl _DISPLAY
Lloh26:
adrp x0, l_.str.10@PAGE
Lloh27:
add x0, x0, l_.str.10@PAGEOFF
bl _DISPLAY
Lloh28:
adrp x0, l_.str.11@PAGE
Lloh29:
add x0, x0, l_.str.11@PAGEOFF
bl _DISPLAY
Lloh30:
adrp x0, l_.str.12@PAGE
Lloh31:
add x0, x0, l_.str.12@PAGEOFF
bl _DISPLAY
Lloh32:
adrp x0, l_.str.13@PAGE
Lloh33:
add x0, x0, l_.str.13@PAGEOFF
bl _DISPLAY
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd 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 AdrpLdrGotLdr Lloh14, Lloh15, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage : \n"
l_.str.1: ; @.str.1
.asciz " %s [args] [FILE(s)] [-o file] \n"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "FILE : a filename \n"
l_.str.4: ; @.str.4
.asciz " with no FILE, or when FILE is - , read standard input\n"
l_.str.5: ; @.str.5
.asciz "Arguments : \n"
l_.str.6: ; @.str.6
.asciz " -# : # compression level (1-%d, default: %d) \n"
.comm _ZSTDCLI_CLEVEL_MAX,4,2 ; @ZSTDCLI_CLEVEL_MAX
.comm _ZSTDCLI_CLEVEL_DEFAULT,4,2 ; @ZSTDCLI_CLEVEL_DEFAULT
l_.str.7: ; @.str.7
.asciz " -d : decompression \n"
l_.str.8: ; @.str.8
.asciz " -D file: use `file` as Dictionary \n"
l_.str.9: ; @.str.9
.asciz " -o file: result stored into `file` (only if 1 input file) \n"
l_.str.10: ; @.str.10
.asciz " -f : overwrite output without prompting and (de)compress links \n"
l_.str.11: ; @.str.11
.asciz "--rm : remove source file(s) after successful de/compression \n"
l_.str.12: ; @.str.12
.asciz " -k : preserve source file(s) (default) \n"
l_.str.13: ; @.str.13
.asciz " -h/-H : display help/long help and exit \n"
.no_dead_strip _usage
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/zstd/programs/extr_zstdcli.c_usage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.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
decl _g_aug_volatile_3608(%rip)
movq %rsi, %rbx
movl %edi, %r14d
movq $0, -64(%rbp)
movq $10000, -56(%rbp) ## imm = 0x2710
leaq -64(%rbp), %rdi
xorl %esi, %esi
callq _nanosleep
movl $280, -44(%rbp) ## imm = 0x118
incl -44(%rbp)
movl -44(%rbp), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq _args@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _nargs@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _cargs@GOTPCREL(%rip), %rax
movq $0, (%rax)
leaq L_.str.2(%rip), %r15
movq _optind@GOTPCREL(%rip), %r12
jmp LBB0_1
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movslq (%r12), %rax
movq -8(%rbx,%rax,8), %rcx
movq %rax, %rdx
decq %rdx
cmpb $45, (%rcx)
leal -2(%rax), %eax
cmovel %edx, %eax
movl %eax, (%r12)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq _getopt
cmpl $63, %eax
je LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $108, %eax
je LBB0_11
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, %eax
jne LBB0_1
jmp LBB0_4
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _usage
jmp LBB0_1
LBB0_4:
leaq L_.str.3(%rip), %rdi
callq _addarg
leaq L_.str.4(%rip), %rdi
callq _addarg
leaq L_.str.5(%rip), %rdi
callq _addarg
cmpl $0, (%r12)
jle LBB0_5
## %bb.13:
movl $1, %r13d
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %r13, %r15
movq (%rbx,%r13,8), %rdi
callq _addarg
incq %r13
movslq (%r12), %rax
cmpq %rax, %r15
jl LBB0_14
## %bb.6:
cmpl %r14d, %r13d
jl LBB0_7
jmp LBB0_20
LBB0_5:
movl $1, %r13d
cmpl %r14d, %r13d
jge LBB0_20
LBB0_7:
leaq L_.str.6(%rip), %r15
jmp LBB0_8
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_8 Depth=1
leal 1(%r12), %r13d
movq (%rbx,%r12,8), %rdi
callq _addarg
LBB0_19: ## in Loop: Header=BB0_8 Depth=1
cmpl %r14d, %r13d
jge LBB0_20
LBB0_8: ## =>This Inner Loop Header: Depth=1
movslq %r13d, %r12
movq (%rbx,%r12,8), %rdi
movq %r15, %rsi
movl $2, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_18
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq (%rbx,%r12,8), %rdi
cmpb $0, 2(%rdi)
je LBB0_15
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
incl %r13d
addq $-2, %rdi
callq _addlib
jmp LBB0_19
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
movq 8(%rbx,%r12,8), %rdi
testq %rdi, %rdi
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_8 Depth=1
xorl %eax, %eax
callq _usage
movq 8(%rbx,%r12,8), %rdi
LBB0_17: ## in Loop: Header=BB0_8 Depth=1
addl $2, %r13d
callq _addlib
jmp LBB0_19
LBB0_20:
movq _args@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.3(%rip), %rbx
movq %rbx, %rdi
callq _execv
movl $1, %edi
movq %rbx, %rsi
callq _err
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _g_aug_volatile_3608 ## @g_aug_volatile_3608
.zerofill __DATA,__common,_g_aug_volatile_3608,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_9997 is %d\n"
L_.str.1: ## @.str.1
.asciz "AUGMENTATION_MARKER: Pointer op result: %d\n"
.comm _args,8,3 ## @args
.comm _nargs,8,3 ## @nargs
.comm _cargs,8,3 ## @cargs
L_.str.2: ## @.str.2
.asciz "cD:EgI:L:o:O:sU:l:"
.comm _optind,4,2 ## @optind
L_.str.3: ## @.str.3
.asciz "/usr/bin/cc"
L_.str.4: ## @.str.4
.asciz "-std=iso9899:1999"
L_.str.5: ## @.str.5
.asciz "-pedantic"
L_.str.6: ## @.str.6
.asciz "-l"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function main
lCPI0_0:
.quad 0 ; 0x0
.quad 10000 ; 0x2710
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, x1
mov x20, x0
Lloh0:
adrp x8, _g_aug_volatile_3608@PAGE
ldr w9, [x8, _g_aug_volatile_3608@PAGEOFF]
sub w9, w9, #1
str w9, [x8, _g_aug_volatile_3608@PAGEOFF]
Lloh1:
adrp x8, lCPI0_0@PAGE
Lloh2:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [sp, #16]
add x0, sp, #16
mov x1, #0 ; =0x0
bl _nanosleep
mov w8, #280 ; =0x118
str w8, [sp, #12]
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
ldr w8, [sp, #12]
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #3 ; =0x3
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh7:
adrp x22, _args@GOTPAGE
Lloh8:
ldr x22, [x22, _args@GOTPAGEOFF]
str xzr, [x22]
Lloh9:
adrp x8, _nargs@GOTPAGE
Lloh10:
ldr x8, [x8, _nargs@GOTPAGEOFF]
Lloh11:
adrp x9, _cargs@GOTPAGE
Lloh12:
ldr x9, [x9, _cargs@GOTPAGEOFF]
Lloh13:
str xzr, [x8]
Lloh14:
str xzr, [x9]
Lloh15:
adrp x21, l_.str.2@PAGE
Lloh16:
add x21, x21, l_.str.2@PAGEOFF
Lloh17:
adrp x23, _optind@GOTPAGE
Lloh18:
ldr x23, [x23, _optind@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x23]
sub w9, w8, #1
ldr x10, [x19, w9, sxtw #3]
ldrb w10, [x10]
sub w8, w8, #2
cmp w10, #45
csel w8, w9, w8, eq
str w8, [x23]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
cmp w0, #63
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w0, #108
b.eq LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cmn w0, #1
b.ne LBB0_2
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
bl _usage
b LBB0_2
LBB0_6:
Lloh19:
adrp x0, l_.str.3@PAGE
Lloh20:
add x0, x0, l_.str.3@PAGEOFF
bl _addarg
Lloh21:
adrp x0, l_.str.4@PAGE
Lloh22:
add x0, x0, l_.str.4@PAGEOFF
bl _addarg
Lloh23:
adrp x0, l_.str.5@PAGE
Lloh24:
add x0, x0, l_.str.5@PAGEOFF
bl _addarg
ldr w8, [x23]
mov w24, #1 ; =0x1
cmp w8, #1
b.lt LBB0_9
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x21, x24
ldr x0, [x19, x24, lsl #3]
bl _addarg
add x24, x24, #1
ldrsw x8, [x23]
cmp x21, x8
b.lt LBB0_7
; %bb.8:
; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_9:
cmp w24, w20
b.ge LBB0_19
; %bb.10:
add x23, x19, #8
Lloh25:
adrp x21, l_.str.6@PAGE
Lloh26:
add x21, x21, l_.str.6@PAGEOFF
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
add w24, w25, #1
ldr x0, [x19, x25, lsl #3]
bl _addarg
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
cmp w24, w20
b.ge LBB0_19
LBB0_13: ; =>This Inner Loop Header: Depth=1
sxtw x25, w24
ldr x0, [x19, w24, sxtw #3]
mov x1, x21
mov w2, #2 ; =0x2
bl _strncmp
cbnz x0, LBB0_11
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x19, x25, lsl #3]
ldrb w9, [x8, #2]
cbz w9, LBB0_16
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
add w24, w25, #1
sub x0, x8, #2
bl _addlib
b LBB0_12
LBB0_16: ; in Loop: Header=BB0_13 Depth=1
ldr x0, [x23, x25, lsl #3]
cbnz x0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_13 Depth=1
bl _usage
ldr x0, [x23, x25, lsl #3]
LBB0_18: ; in Loop: Header=BB0_13 Depth=1
add w24, w25, #2
bl _addlib
b LBB0_12
LBB0_19:
ldr x1, [x22]
Lloh27:
adrp x19, l_.str.3@PAGE
Lloh28:
add x19, x19, l_.str.3@PAGEOFF
mov x0, x19
bl _execv
mov w0, #1 ; =0x1
mov x1, x19
bl _err
mov w0, #0 ; =0x0
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 AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh14
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh13
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdr Lloh1, Lloh2
.loh AdrpAdrp Lloh0, Lloh1
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.globl _g_aug_volatile_3608 ; @g_aug_volatile_3608
.zerofill __DATA,__common,_g_aug_volatile_3608,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_9997 is %d\n"
l_.str.1: ; @.str.1
.asciz "AUGMENTATION_MARKER: Pointer op result: %d\n"
.comm _args,8,3 ; @args
.comm _nargs,8,3 ; @nargs
.comm _cargs,8,3 ; @cargs
l_.str.2: ; @.str.2
.asciz "cD:EgI:L:o:O:sU:l:"
.comm _optind,4,2 ; @optind
l_.str.3: ; @.str.3
.asciz "/usr/bin/cc"
l_.str.4: ; @.str.4
.asciz "-std=iso9899:1999"
l_.str.5: ; @.str.5
.asciz "-pedantic"
l_.str.6: ; @.str.6
.asciz "-l"
.subsections_via_symbols
| assembly_file_65956.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function etherh_irq_enable
_etherh_irq_enable: ## @etherh_irq_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
movq _ETHERH_CP_IE@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _etherh_set_ctrl ## TAILCALL
.cfi_endproc
## -- End function
.comm _ETHERH_CP_IE,4,2 ## @ETHERH_CP_IE
.no_dead_strip _etherh_irq_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function etherh_irq_enable
_etherh_irq_enable: ; @etherh_irq_enable
.cfi_startproc
; %bb.0:
ldr x0, [x0]
Lloh0:
adrp x8, _ETHERH_CP_IE@GOTPAGE
Lloh1:
ldr x8, [x8, _ETHERH_CP_IE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _etherh_set_ctrl
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ETHERH_CP_IE,4,2 ; @ETHERH_CP_IE
.no_dead_strip _etherh_irq_enable
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/arm/extr_etherh.c_etherh_irq_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function iqs5xx_fw_file_parse
_iqs5xx_fw_file_parse: ## @iqs5xx_fw_file_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $152, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -128(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, %rbx
movq %rsp, -120(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _IQS5XX_REC_HDR_LEN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
leaq (,%r15,4), %rax
movq %rax, -144(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -80(%rbp) ## 8-byte Spill
movq _IQS5XX_REC_LEN_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
leaq -88(%rbp), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq _request_firmware
testl %eax, %eax
je LBB0_1
## %bb.50:
movl %eax, %r14d
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movq %r12, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq _dev_err
jmp LBB0_48
LBB0_1:
movq %r13, -184(%rbp) ## 8-byte Spill
movq %rbx, -64(%rbp) ## 8-byte Spill
movq -80(%rbp), %r13 ## 8-byte Reload
movq %r13, %rax
addq $16, %rax
movq %rax, -136(%rbp) ## 8-byte Spill
movq -88(%rbp), %rax
movq (%rax), %rcx
movq -144(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
andq $-8, %rdx
movq %rdx, -168(%rbp) ## 8-byte Spill
leaq 1(,%r15,4), %rsi
movq %r15, %r9
shlq $4, %r9
andq $-32, %r9
movl $1, %edx
movq %rdx, -72(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq %r15, -176(%rbp) ## 8-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %r9, -160(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_2 Depth=1
movq -80(%rbp), %r13 ## 8-byte Reload
LBB0_44: ## in Loop: Header=BB0_2 Depth=1
incq %r12
movq %r12, -72(%rbp) ## 8-byte Spill
movq %rbx, %r12
cmpl $128, %r10d
movq -144(%rbp), %rbx ## 8-byte Reload
je LBB0_45
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_24 Depth 2
## Child Loop BB0_26 Depth 2
## Child Loop BB0_41 Depth 2
leaq -24(%r12), %rdx
cmpq %rcx, %rdx
ja LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rax), %r15
cmpb $58, (%r15,%r12)
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq 16(%r15,%r12), %rsi
movq %r13, %rdi
movl %ebx, %edx
callq _hex2bin
testl %eax, %eax
jne LBB0_7
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
leaq 24(%r12), %rbx
movslq (%r13), %r14
movq -136(%rbp), %rdi ## 8-byte Reload
callq _get_unaligned_be16
leaq (%rbx,%r14,2), %rbx
movq -88(%rbp), %rcx
cmpq (%rcx), %rbx
ja LBB0_3
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq %rax, -96(%rbp) ## 8-byte Spill
movl 48(%r13), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq 8(%r15,%r12), %rsi
movq -184(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movl %r14d, %edx
callq _hex2bin
testl %eax, %eax
jne LBB0_11
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movq %r14, -152(%rbp) ## 8-byte Spill
leaq (%r14,%r14), %rsi
addq 8(%r15,%r12), %rsi
leaq -100(%rbp), %rdi
movl $4, %edx
callq _hex2bin
testl %eax, %eax
jne LBB0_52
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movq -176(%rbp), %r15 ## 8-byte Reload
cmpl $2, %r15d
movq -64(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %r12 ## 8-byte Reload
jae LBB0_15
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
xorl %eax, %eax
movq -128(%rbp), %r8 ## 8-byte Reload
movq -80(%rbp), %r11 ## 8-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %r10d ## 4-byte Reload
movq -152(%rbp), %rdx ## 8-byte Reload
jmp LBB0_18
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
pxor %xmm0, %xmm0
xorl %eax, %eax
pxor %xmm1, %xmm1
movq -128(%rbp), %r8 ## 8-byte Reload
movq -80(%rbp), %r11 ## 8-byte Reload
movq -136(%rbp), %rcx ## 8-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
movq -160(%rbp), %r9 ## 8-byte Reload
movl -52(%rbp), %r10d ## 4-byte Reload
movq -152(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
paddd -16(%rcx,%rax), %xmm0
paddd (%rcx,%rax), %xmm1
addq $32, %rax
cmpq %rax, %r9
jne LBB0_16
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
paddd %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
paddd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
movq -168(%rbp), %rcx ## 8-byte Reload
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r11,%rcx,4), %eax
incq %rcx
cmpq %rcx, %rsi
jne LBB0_18
## %bb.19: ## in Loop: Header=BB0_2 Depth=1
testl %edx, %edx
jle LBB0_20
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
cmpl $7, %edx
ja LBB0_23
## %bb.22: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
movq -96(%rbp), %r11 ## 8-byte Reload
jmp LBB0_26
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq -96(%rbp), %r11 ## 8-byte Reload
jmp LBB0_27
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movl %edx, %ecx
andl $2147483640, %ecx ## imm = 0x7FFFFFF8
movd %eax, %xmm0
movl %edx, %eax
shrl $3, %eax
andl $268435455, %eax ## imm = 0xFFFFFFF
shlq $5, %rax
pxor %xmm1, %xmm1
xorl %r11d, %r11d
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
paddd (%r13,%r11), %xmm0
paddd 16(%r13,%r11), %xmm1
addq $32, %r11
cmpq %r11, %rax
jne LBB0_24
## %bb.25: ## in Loop: Header=BB0_2 Depth=1
paddd %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
paddd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
cmpq %rdx, %rcx
movq -96(%rbp), %r11 ## 8-byte Reload
je LBB0_27
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
addl (%r13,%rcx,4), %eax
incq %rcx
cmpq %rcx, %rdx
jne LBB0_26
LBB0_27: ## in Loop: Header=BB0_2 Depth=1
addl -100(%rbp), %eax
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_2 Depth=1
movq _IQS5XX_CSTM@GOTPCREL(%rip), %rax
cmpq (%rax), %r11
jl LBB0_29
## %bb.32: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %r10d
je LBB0_38
## %bb.33: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.8(%rip), %rsi
cmpl $129, %r10d
jne LBB0_37
## %bb.34: ## in Loop: Header=BB0_2 Depth=1
movq _IQS5XX_CHKSM@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq L_.str.7(%rip), %rsi
cmpq %rax, %r11
jl LBB0_37
## %bb.35: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.7(%rip), %rsi
movq _IQS5XX_PMAP_END@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r11
jg LBB0_37
## %bb.36: ## in Loop: Header=BB0_2 Depth=1
leaq (%r8,%r11,4), %rdi
shlq $2, %rax
subq %rax, %rdi
movq %r13, %rsi
## kill: def $edx killed $edx killed $rdx
callq _memcpy
movl -52(%rbp), %r10d ## 4-byte Reload
jmp LBB0_38
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdx
xorl %eax, %eax
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %r14d
testl %r14d, %r14d
movl -52(%rbp), %r10d ## 4-byte Reload
jne LBB0_46
LBB0_38: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rax
movq (%rax), %rcx
cmpq %rcx, %rbx
jae LBB0_39
## %bb.40: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rax), %rdx
movq -80(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_41: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $58, (%rdx,%rbx)
je LBB0_44
## %bb.42: ## in Loop: Header=BB0_41 Depth=2
incq %rbx
cmpq %rcx, %rbx
jb LBB0_41
## %bb.43: ## in Loop: Header=BB0_2 Depth=1
movq %rcx, %rbx
jmp LBB0_44
LBB0_3:
leaq L_.str.1(%rip), %rsi
xorl %r14d, %r14d
movq -64(%rbp), %rdi ## 8-byte Reload
xorl %eax, %eax
callq _dev_err
jmp LBB0_31
LBB0_5:
leaq L_.str.2(%rip), %rsi
xorl %r14d, %r14d
movq -64(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
jmp LBB0_30
LBB0_7:
movl %eax, %r14d
leaq L_.str.3(%rip), %rsi
jmp LBB0_8
LBB0_11:
movl %eax, %r14d
leaq L_.str.4(%rip), %rsi
jmp LBB0_8
LBB0_52:
movl %eax, %r14d
leaq L_.str.5(%rip), %rsi
LBB0_8:
movq -64(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
xorl %eax, %eax
callq _dev_err
jmp LBB0_47
LBB0_29:
leaq L_.str.6(%rip), %rsi
xorl %r14d, %r14d
movq %r12, %rdx
LBB0_30:
xorl %eax, %eax
callq _dev_err
LBB0_31:
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r14d
LBB0_47:
movq -88(%rbp), %rdi
callq _release_firmware
LBB0_48:
movq -120(%rbp), %rax ## 8-byte Reload
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_51
## %bb.49:
movl %r14d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_45:
xorl %r14d, %r14d
jmp LBB0_47
LBB0_46:
negl %r14d
jmp LBB0_47
LBB0_51:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _IQS5XX_REC_HDR_LEN,4,2 ## @IQS5XX_REC_HDR_LEN
.comm _IQS5XX_REC_LEN_MAX,4,2 ## @IQS5XX_REC_LEN_MAX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to request firmware %s: %d\n"
L_.str.1: ## @.str.1
.asciz "Insufficient firmware size\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.2: ## @.str.2
.asciz "Invalid start at record %u\n"
L_.str.3: ## @.str.3
.asciz "Invalid header at record %u\n"
L_.str.4: ## @.str.4
.asciz "Invalid data at record %u\n"
L_.str.5: ## @.str.5
.asciz "Invalid checksum at record %u\n"
.comm _IQS5XX_CSTM,8,3 ## @IQS5XX_CSTM
L_.str.6: ## @.str.6
.asciz "Incorrect checksum at record %u\n"
.comm _IQS5XX_CHKSM,8,3 ## @IQS5XX_CHKSM
.comm _IQS5XX_PMAP_END,8,3 ## @IQS5XX_PMAP_END
L_.str.7: ## @.str.7
.asciz "Invalid address at record %u\n"
L_.str.8: ## @.str.8
.asciz "Invalid type at record %u\n"
.no_dead_strip _iqs5xx_fw_file_parse
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function iqs5xx_fw_file_parse
_iqs5xx_fw_file_parse: ; @iqs5xx_fw_file_parse
.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
sub sp, 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 x23, x2
mov x24, x1
mov x20, x0
mov x19, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _IQS5XX_REC_HDR_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _IQS5XX_REC_HDR_LEN@GOTPAGEOFF]
Lloh5:
ldr w28, [x8]
lsl x25, x28, #2
mov x9, x25
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x25, #15
and x9, x9, #0x7fffffff0
sub x22, x8, x9
mov sp, x22
Lloh8:
adrp x8, _IQS5XX_REC_LEN_MAX@GOTPAGE
Lloh9:
ldr x8, [x8, _IQS5XX_REC_LEN_MAX@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh11:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh12:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x21, x9, x8
mov sp, x21
sub x0, x29, #96
mov x2, x20
bl _request_firmware
cbz w0, LBB0_2
; %bb.1:
mov x26, x0
stp x24, x26, [sp, #-16]!
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _dev_err
add sp, sp, #16
b LBB0_48
LBB0_2:
stp x23, x19, [x29, #-176] ; 16-byte Folded Spill
mov x27, #0 ; =0x0
ldur x8, [x29, #-96]
ldr x9, [x8]
and x11, x25, #0x3fffffff0
add x10, x22, #32
stp x10, x20, [x29, #-152] ; 16-byte Folded Spill
mvn x10, x25
stp x10, x11, [x29, #-128] ; 16-byte Folded Spill
stur x21, [x29, #-112] ; 8-byte Folded Spill
add x10, x21, #32
stur x10, [x29, #-160] ; 8-byte Folded Spill
mov w20, #1 ; =0x1
stur x25, [x29, #-136] ; 8-byte Folded Spill
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldur x25, [x29, #-136] ; 8-byte Folded Reload
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x20, x20, #1
cmp w19, #128
b.eq LBB0_50
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_17 Depth 2
; Child Loop BB0_22 Depth 2
; Child Loop BB0_25 Depth 2
; Child Loop BB0_34 Depth 2
sub x10, x27, #24
cmp x10, x9
b.hi LBB0_37
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x21, x28
ldr x8, [x8, #8]
add x28, x8, x27
ldrb w8, [x28]
cmp w8, #58
b.ne LBB0_38
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x1, [x28, #16]
mov x0, x22
mov x2, x25
bl _hex2bin
cbnz w0, LBB0_39
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
add x19, x27, #24
ldrsw x24, [x22]
add x0, x22, #16
bl _get_unaligned_be16
lsl x23, x24, #1
ldur x8, [x29, #-96]
ldr x8, [x8]
add x27, x19, x23
cmp x27, x8
b.hi LBB0_37
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x25, x0
ldr w19, [x22, #48]
ldr x1, [x28, #8]
ldur x0, [x29, #-112] ; 8-byte Folded Reload
mov x2, x24
bl _hex2bin
cbnz w0, LBB0_40
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x28, #8]
sub x0, x29, #100
add x1, x8, x23
mov w2, #4 ; =0x4
bl _hex2bin
cbnz w0, LBB0_41
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
mov x28, x21
cmp w28, #4
b.hs LBB0_13
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
mov x10, #0 ; =0x0
mov w8, #0 ; =0x0
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
movi.2d v0, #0000000000000000
ldur x8, [x29, #-120] ; 8-byte Folded Reload
ldur x9, [x29, #-152] ; 8-byte Folded Reload
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_14: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x9, #-32]
ldp q6, q7, [x9], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x8, x8, #16
b.ne LBB0_14
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w8, s0
ldur x10, [x29, #-120] ; 8-byte Folded Reload
LBB0_16: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-128] ; 8-byte Folded Reload
add x9, x9, x10
add x10, x22, x10, lsl #2
LBB0_17: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x10], #4
add w8, w11, w8
adds x9, x9, #1
b.lo LBB0_17
; %bb.18: ; in Loop: Header=BB0_5 Depth=1
cmp w24, #1
b.lt LBB0_26
; %bb.19: ; in Loop: Header=BB0_5 Depth=1
cmp w24, #15
b.hi LBB0_21
; %bb.20: ; in Loop: Header=BB0_5 Depth=1
mov x9, #0 ; =0x0
b LBB0_24
LBB0_21: ; in Loop: Header=BB0_5 Depth=1
and x9, x24, #0x7ffffff0
movi.2d v0, #0000000000000000
movi.2d v1, #0000000000000000
mov.s v1[0], w8
mov x8, x9
ldur x10, [x29, #-160] ; 8-byte Folded Reload
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_22: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x10, #-32]
ldp q6, q7, [x10], #64
add.4s v1, v4, v1
add.4s v0, v5, v0
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x8, x8, #16
b.ne LBB0_22
; %bb.23: ; in Loop: Header=BB0_5 Depth=1
add.4s v0, v0, v1
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w8, s0
cmp x9, x24
b.eq LBB0_26
LBB0_24: ; in Loop: Header=BB0_5 Depth=1
ldur x10, [x29, #-112] ; 8-byte Folded Reload
add x10, x10, x9, lsl #2
sub x9, x24, x9
LBB0_25: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x10], #4
add w8, w11, w8
subs x9, x9, #1
b.ne LBB0_25
LBB0_26: ; in Loop: Header=BB0_5 Depth=1
ldur w9, [x29, #-100]
Lloh15:
adrp x10, _IQS5XX_CSTM@GOTPAGE
Lloh16:
ldr x10, [x10, _IQS5XX_CSTM@GOTPAGEOFF]
Lloh17:
ldr x10, [x10]
cmn w9, w8
ccmp x25, x10, #8, eq
b.lt LBB0_43
; %bb.27: ; in Loop: Header=BB0_5 Depth=1
cmp w19, #128
b.eq LBB0_32
; %bb.28: ; in Loop: Header=BB0_5 Depth=1
Lloh18:
adrp x1, l_.str.8@PAGE
Lloh19:
add x1, x1, l_.str.8@PAGEOFF
cmp w19, #129
b.ne LBB0_30
; %bb.29: ; in Loop: Header=BB0_5 Depth=1
Lloh20:
adrp x8, _IQS5XX_CHKSM@GOTPAGE
Lloh21:
ldr x8, [x8, _IQS5XX_CHKSM@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
Lloh23:
adrp x9, _IQS5XX_PMAP_END@GOTPAGE
Lloh24:
ldr x9, [x9, _IQS5XX_PMAP_END@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x25, x8
ccmp x25, x9, #0, ge
Lloh26:
adrp x1, l_.str.7@PAGE
Lloh27:
add x1, x1, l_.str.7@PAGEOFF
b.le LBB0_31
LBB0_30: ; in Loop: Header=BB0_5 Depth=1
str x20, [sp, #-16]!
ldur x0, [x29, #-144] ; 8-byte Folded Reload
bl _dev_err
add sp, sp, #16
Lloh28:
adrp x8, _EINVAL@GOTPAGE
Lloh29:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
cbz w8, LBB0_32
b LBB0_46
LBB0_31: ; in Loop: Header=BB0_5 Depth=1
ldur x9, [x29, #-176] ; 8-byte Folded Reload
add x9, x9, x25, lsl #2
sub x0, x9, x8, lsl #2
ldur x1, [x29, #-112] ; 8-byte Folded Reload
mov x2, x24
bl _memcpy
LBB0_32: ; in Loop: Header=BB0_5 Depth=1
ldur x8, [x29, #-96]
ldr x9, [x8]
cmp x27, x9
b.hs LBB0_3
; %bb.33: ; in Loop: Header=BB0_5 Depth=1
ldr x10, [x8, #8]
ldur x25, [x29, #-136] ; 8-byte Folded Reload
LBB0_34: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x10, x27]
cmp w11, #58
b.eq LBB0_4
; %bb.35: ; in Loop: Header=BB0_34 Depth=2
add x27, x27, #1
cmp x27, x9
b.lo LBB0_34
; %bb.36: ; in Loop: Header=BB0_5 Depth=1
mov x27, x9
b LBB0_4
LBB0_37:
Lloh31:
adrp x1, l_.str.1@PAGE
Lloh32:
add x1, x1, l_.str.1@PAGEOFF
ldur x0, [x29, #-144] ; 8-byte Folded Reload
bl _dev_err
b LBB0_45
LBB0_38:
str x20, [sp, #-16]!
Lloh33:
adrp x1, l_.str.2@PAGE
Lloh34:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_44
LBB0_39:
mov x26, x0
str x20, [sp, #-16]!
Lloh35:
adrp x1, l_.str.3@PAGE
Lloh36:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_42
LBB0_40:
mov x26, x0
str x20, [sp, #-16]!
Lloh37:
adrp x1, l_.str.4@PAGE
Lloh38:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_42
LBB0_41:
mov x26, x0
str x20, [sp, #-16]!
Lloh39:
adrp x1, l_.str.5@PAGE
Lloh40:
add x1, x1, l_.str.5@PAGEOFF
LBB0_42:
ldur x0, [x29, #-144] ; 8-byte Folded Reload
bl _dev_err
add sp, sp, #16
b LBB0_47
LBB0_43:
str x20, [sp, #-16]!
Lloh41:
adrp x1, l_.str.6@PAGE
Lloh42:
add x1, x1, l_.str.6@PAGEOFF
LBB0_44:
ldur x0, [x29, #-144] ; 8-byte Folded Reload
bl _dev_err
add sp, sp, #16
LBB0_45:
Lloh43:
adrp x8, _EINVAL@GOTPAGE
Lloh44:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh45:
ldr w8, [x8]
LBB0_46:
neg w26, w8
LBB0_47:
ldur x0, [x29, #-96]
bl _release_firmware
ldur x19, [x29, #-168] ; 8-byte Folded Reload
LBB0_48:
mov sp, x19
ldur x8, [x29, #-88]
Lloh46:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh47:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_51
; %bb.49:
mov x0, x26
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_50:
mov w26, #0 ; =0x0
b LBB0_47
LBB0_51:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _IQS5XX_REC_HDR_LEN,4,2 ; @IQS5XX_REC_HDR_LEN
.comm _IQS5XX_REC_LEN_MAX,4,2 ; @IQS5XX_REC_LEN_MAX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to request firmware %s: %d\n"
l_.str.1: ; @.str.1
.asciz "Insufficient firmware size\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.2: ; @.str.2
.asciz "Invalid start at record %u\n"
l_.str.3: ; @.str.3
.asciz "Invalid header at record %u\n"
l_.str.4: ; @.str.4
.asciz "Invalid data at record %u\n"
l_.str.5: ; @.str.5
.asciz "Invalid checksum at record %u\n"
.comm _IQS5XX_CSTM,8,3 ; @IQS5XX_CSTM
l_.str.6: ; @.str.6
.asciz "Incorrect checksum at record %u\n"
.comm _IQS5XX_CHKSM,8,3 ; @IQS5XX_CHKSM
.comm _IQS5XX_PMAP_END,8,3 ; @IQS5XX_PMAP_END
l_.str.7: ; @.str.7
.asciz "Invalid address at record %u\n"
l_.str.8: ; @.str.8
.asciz "Invalid type at record %u\n"
.no_dead_strip _iqs5xx_fw_file_parse
.subsections_via_symbols
| assembly_file_49196.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _emu_sound_wait ## -- Begin function emu_sound_wait
.p2align 4, 0x90
_emu_sound_wait: ## @emu_sound_wait
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _sndout_wait ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _emu_sound_wait ; -- Begin function emu_sound_wait
.p2align 2
_emu_sound_wait: ; @emu_sound_wait
.cfi_startproc
; %bb.0:
b _sndout_wait
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Provenance/Cores/PicoDrive/platform/common/extr_emu.c_emu_sound_wait.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.