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 _matrix_scan_user ## -- Begin function matrix_scan_user
.p2align 4, 0x90
_matrix_scan_user: ## @matrix_scan_user
.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 _matrix_scan_user ; -- Begin function matrix_scan_user
.p2align 2
_matrix_scan_user: ; @matrix_scan_user
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/mint60/keymaps/eucalyn/extr_keymap.c_matrix_scan_user.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 GlobUsage
LCPI0_0:
.quad 0x4059000000000000 ## double 100
LCPI0_3:
.quad 0x4058f9999999999a ## double 99.900000000000005
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0
LCPI0_1:
.long 0x42a00000 ## float 80
LCPI0_2:
.long 0x42be0000 ## float 95
.section __TEXT,__text,regular,pure_instructions
.globl _GlobUsage
.p2align 4, 0x90
_GlobUsage: ## @GlobUsage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movl %esi, %ebx
movq %rdi, %rsi
testl %edx, %edx
je LBB0_1
## %bb.3:
movl %edx, %ecx
cvtsi2sd %ebx, %xmm0
mulsd LCPI0_0(%rip), %xmm0
cvtsi2sd %edx, %xmm1
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -12(%rbp) ## 4-byte Spill
cvtss2sd %xmm0, %xmm0
leaq L_.str(%rip), %rdi
movl %ebx, %edx
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movb $1, %al
callq _qprintf
movss -12(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
ucomiss LCPI0_1(%rip), %xmm0
jbe LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rdi
jmp LBB0_9
LBB0_1:
leaq L_.str(%rip), %rdi
xorpd %xmm0, %xmm0
movl %ebx, %edx
xorl %ecx, %ecx
movb $1, %al
callq _qprintf
LBB0_2:
leaq L_.str.4(%rip), %rdi
jmp LBB0_9
LBB0_5:
ucomiss LCPI0_2(%rip), %xmm0
jbe LBB0_7
## %bb.6:
leaq L_.str.2(%rip), %rdi
jmp LBB0_9
LBB0_7:
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd LCPI0_3(%rip), %xmm0
jbe LBB0_2
## %bb.8:
leaq L_.str.3(%rip), %rdi
LBB0_9:
xorl %eax, %eax
callq _qprintf
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%-12s [variable] %7i/%-7i (%4.1f%%)"
L_.str.1: ## @.str.1
.asciz "VERY FULL!\n"
L_.str.2: ## @.str.2
.asciz "SIZE DANGER!\n"
L_.str.3: ## @.str.3
.asciz "SIZE OVERFLOW!!!\n"
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _GlobUsage ; -- Begin function GlobUsage
.p2align 2
_GlobUsage: ; @GlobUsage
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
; kill: def $w2 killed $w2 def $x2
mov x19, x1
cbz w2, LBB0_3
; %bb.1:
scvtf d0, w19
mov x8, #4636737291354636288 ; =0x4059000000000000
fmov d1, x8
fmul d0, d0, d1
scvtf d1, w2
fdiv d0, d0, d1
fcvt s9, d0
fcvt d8, s9
stp x19, x2, [sp, #8]
str x0, [sp]
str d8, [sp, #24]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _qprintf
mov w8, #1117782016 ; =0x42a00000
fmov s0, w8
fcmp s9, s0
b.le LBB0_5
; %bb.2:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_9
LBB0_3:
stp xzr, xzr, [sp, #16]
mov x8, x19
stp x0, x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _qprintf
LBB0_4:
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_9
LBB0_5:
mov w8, #1119748096 ; =0x42be0000
fmov s0, w8
fcmp s9, s0
b.le LBB0_7
; %bb.6:
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_9
LBB0_7:
mov x8, #39322 ; =0x999a
movk x8, #39321, lsl #16
movk x8, #63897, lsl #32
movk x8, #16472, lsl #48
fmov d0, x8
fcmp d8, d0
b.le LBB0_4
; %bb.8:
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
LBB0_9:
bl _qprintf
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 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
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%-12s [variable] %7i/%-7i (%4.1f%%)"
l_.str.1: ; @.str.1
.asciz "VERY FULL!\n"
l_.str.2: ; @.str.2
.asciz "SIZE DANGER!\n"
l_.str.3: ; @.str.3
.asciz "SIZE OVERFLOW!!!\n"
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
| assembly_file_150826.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rockchip_drm_set_win_enabled
_rockchip_drm_set_win_enabled: ## @rockchip_drm_set_win_enabled
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -44(%rbp) ## 4-byte Spill
callq _to_vop
movq %rax, %r12
leaq 4(%rax), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _spin_lock
movq 16(%r12), %rax
cmpl $0, (%rax)
jle LBB0_6
## %bb.1:
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl (%r12), %r15d
movl %ebx, %edi
callq _BIT
testl %r15d, %eax
setne %al
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movzbl %al, %ecx
movq %r12, %rdi
movq %r13, %rsi
movl %r14d, %edx
callq _VOP_WIN_SET
incq %rbx
movq 16(%r12), %rax
movslq (%rax), %rax
cmpq %rax, %rbx
jge LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
movq (%rax,%rbx,8), %r13
movq _enable@GOTPCREL(%rip), %rax
movl (%rax), %r14d
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
jmp LBB0_5
LBB0_6:
movq %r12, %rdi
callq _vop_cfg_done
movq -56(%rbp), %rdi ## 8-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _enable,4,2 ## @enable
.no_dead_strip _rockchip_drm_set_win_enabled
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rockchip_drm_set_win_enabled
_rockchip_drm_set_win_enabled: ; @rockchip_drm_set_win_enabled
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
bl _to_vop
mov x21, x0
add x20, x0, #4
mov x0, x20
bl _spin_lock
ldr x8, [x21, #16]
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov x22, #0
Lloh0:
adrp x25, _enable@GOTPAGE
Lloh1:
ldr x25, [x25, _enable@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w26, [x21]
mov x0, x22
bl _BIT
tst w0, w26
cset w3, ne
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
mov x1, x23
mov x2, x24
bl _VOP_WIN_SET
add x22, x22, #1
ldr x8, [x21, #16]
ldrsw x8, [x8]
cmp x22, x8
b.ge LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr x23, [x8, x22, lsl #3]
ldr w24, [x25]
cbnz w19, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w3, #0
b LBB0_3
LBB0_6:
mov x0, x21
bl _vop_cfg_done
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _spin_unlock
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _enable,4,2 ; @enable
.no_dead_strip _rockchip_drm_set_win_enabled
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_rockchip_drm_set_win_enabled.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtp_packetize_ac3
_rtp_packetize_ac3: ## @rtp_packetize_ac3
.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, %rbx
movq %rdi, %r14
callq _rtp_mtu
## kill: def $eax killed $eax def $rax
movq %rbx, -48(%rbp) ## 8-byte Spill
movl (%rbx), %esi
leal (%rax,%rsi), %ecx
addl $-3, %ecx
movl %eax, %edi
addl $-2, %edi
movl %ecx, %eax
cltd
idivl %edi
## kill: def $eax killed $eax def $rax
movq %rax, -64(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB0_3
## %bb.1:
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %r12
movq -64(%rbp), %rax ## 8-byte Reload
decl %eax
movl %eax, -52(%rbp) ## 4-byte Spill
xorl %r13d, %r13d
movq %r14, -72(%rbp) ## 8-byte Spill
movl %edi, -56(%rbp) ## 4-byte Spill
movq -48(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rsi, -88(%rbp) ## 8-byte Spill
movl -56(%rbp), %edi ## 4-byte Reload
## kill: def $esi killed $esi killed $rsi
callq ___MIN
movl %eax, %ebx
leal 14(%rbx), %edi
movq %rbx, -80(%rbp) ## 8-byte Spill
callq _block_Alloc
movq %rax, %r15
xorl %edx, %edx
cmpl %r13d, -52(%rbp) ## 4-byte Folded Reload
sete %dl
movl 32(%r14), %ecx
movq -72(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _rtp_packetize_common
movq 8(%r15), %rdi
movq $1, 48(%rdi)
addq $56, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq _memcpy
movl 16(%r14), %ecx
movl %ecx, %eax
imull %r13d, %eax
cltd
movq -64(%rbp), %rbx ## 8-byte Reload
idivl %ebx
cltq
addq 24(%r14), %rax
movq -72(%rbp), %rdi ## 8-byte Reload
movq %rax, 24(%r15)
movl %ecx, %eax
cltd
idivl %ebx
movl %eax, 16(%r15)
movq %r15, %rsi
callq _rtp_packetize_send
movq -88(%rbp), %rsi ## 8-byte Reload
movslq -80(%rbp), %rax ## 4-byte Folded Reload
leaq (%r12,%rax,4), %r12
subl %eax, %esi
incl %r13d
cmpl %r13d, %ebx
jne LBB0_2
LBB0_3:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _block_Release
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _rtp_packetize_ac3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function rtp_packetize_ac3
lCPI0_0:
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_rtp_packetize_ac3: ; @rtp_packetize_ac3
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x1
mov x20, x0
bl _rtp_mtu
sub w21, w0, #2
ldr w22, [x19]
add w8, w0, w22
sub w8, w8, #3
sdiv w26, w8, w21
subs w27, w26, #1
b.lt LBB0_3
; %bb.1:
mov w28, #0
ldr x23, [x19, #8]
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr d8, [x8, lCPI0_0@PAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x22
bl ___MIN
mov x24, x0
add w0, w0, #14
bl _block_Alloc
mov x25, x0
cmp w27, w28
cset w2, eq
ldr w3, [x19, #32]
mov x0, x20
mov x1, x25
bl _rtp_packetize_common
ldr x8, [x25, #8]
str d8, [x8, #48]
add x0, x8, #56
mov x1, x23
mov x2, x24
bl _memcpy
ldr x8, [x19, #24]
ldr w9, [x19, #16]
mul w10, w9, w28
sdiv w10, w10, w26
add x8, x8, w10, sxtw
str x8, [x25, #24]
sdiv w8, w9, w26
str w8, [x25, #16]
mov x0, x20
mov x1, x25
bl _rtp_packetize_send
add x23, x23, w24, sxtw #2
sub w22, w22, w24
add w28, w28, #1
cmp w26, w28
b.ne LBB0_2
LBB0_3:
mov x0, x19
bl _block_Release
Lloh2:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh3:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
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
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _rtp_packetize_ac3
.subsections_via_symbols
| AnghaBench/vlc/modules/stream_out/extr_rtpfmt.c_rtp_packetize_ac3.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 time_alloc
LCPI0_0:
.quad 0x412e848000000000 ## double 1.0E+6
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_time_alloc: ## @time_alloc
.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 $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movsd %xmm1, -48(%rbp) ## 8-byte Spill
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movq %rdi, %r14
cvttsd2si %xmm0, %esi
callq _mrb_check_num_exact
cvttsd2si -48(%rbp), %esi ## 8-byte Folded Reload
movq %r14, %rdi
callq _mrb_check_num_exact
movsd -40(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movq _INT32_MAX@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
cvtsi2sdq (%rax), %xmm0
ucomisd %xmm0, %xmm1
ja LBB0_1
## %bb.2:
movq _INT32_MIN@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
cvtsi2sdq (%rax), %xmm0
ucomisd %xmm1, %xmm0
ja LBB0_1
## %bb.4:
movq _INT64_MAX@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
cvtsi2sdq (%rax), %xmm0
ucomisd %xmm0, %xmm1
ja LBB0_1
## %bb.6:
movq _INT64_MIN@GOTPCREL(%rip), %rax
xorps %xmm0, %xmm0
cvtsi2sdq (%rax), %xmm0
ucomisd %xmm1, %xmm0
jbe LBB0_8
LBB0_1:
xorl %r12d, %r12d
LBB0_11:
movq _E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %r14, %rdi
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _mrb_float_value
leaq L_.str(%rip), %rdx
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %ecx
callq _mrb_raisef
xorps %xmm0, %xmm0
cvtsi2sd %r12, %xmm0
LBB0_12:
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movq %r14, %rdi
movl $24, %esi
callq _mrb_malloc
movq %rax, %r15
movsd -56(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd %xmm1, (%rax)
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
subsd %xmm1, %xmm0
mulsd LCPI0_0(%rip), %xmm0
addsd -48(%rbp), %xmm0 ## 8-byte Folded Reload
callq _llround
movq %rax, %rdi
movq %rax, 8(%r15)
testq %rax, %rax
js LBB0_15
## %bb.13:
cmpq $1000000, %rdi ## imm = 0xF4240
jb LBB0_17
## %bb.14:
movabsq $4835703278458516699, %rcx ## imm = 0x431BDE82D7B634DB
movq %rdi, %rax
mulq %rcx
shrq $18, %rdx
imulq $-1000000, %rdx, %rax ## imm = 0xFFF0BDC0
addq %rdi, %rax
movq %rax, 8(%r15)
xorps %xmm0, %xmm0
cvtsi2sd %rdx, %xmm0
jmp LBB0_16
LBB0_15:
movl $1000000, %esi ## imm = 0xF4240
callq _NDIV
imulq $-1000000, %rax, %rcx ## imm = 0xFFF0BDC0
addq %rcx, 8(%r15)
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
LBB0_16:
addsd (%r15), %xmm0
movsd %xmm0, (%r15)
LBB0_17:
movl %ebx, 16(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq _time_update_datetime
movq %r15, %rax
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
cvttsd2si %xmm1, %r12
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
seta %al
testq %r12, %r12
sets %cl
testb %cl, %al
jne LBB0_11
## %bb.9:
ucomisd %xmm1, %xmm0
xorps %xmm0, %xmm0
cvtsi2sd %r12, %xmm0
jbe LBB0_12
## %bb.10:
ucomisd %xmm1, %xmm0
ja LBB0_11
jmp LBB0_12
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_7268 ## @g_aug_volatile_7268
.p2align 2, 0x0
_g_aug_volatile_7268:
.long 9 ## 0x9
.comm _INT32_MAX,8,3 ## @INT32_MAX
.comm _INT32_MIN,8,3 ## @INT32_MIN
.comm _INT64_MAX,8,3 ## @INT64_MAX
.comm _INT64_MIN,8,3 ## @INT64_MIN
.comm _E_ARGUMENT_ERROR,4,2 ## @E_ARGUMENT_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%S out of Time range"
.comm _UINT32_MAX,8,3 ## @UINT32_MAX
.comm _UINT64_MAX,8,3 ## @UINT64_MAX
.no_dead_strip _time_alloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function time_alloc
_time_alloc: ; @time_alloc
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-80]! ; 16-byte Folded Spill
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
mov x19, x1
fmov d8, d1
fmov d9, d0
mov x20, x0
fcvtzs w1, d0
bl _mrb_check_num_exact
fcvtzs w1, d8
mov x0, x20
bl _mrb_check_num_exact
Lloh0:
adrp x8, _INT32_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _INT32_MAX@GOTPAGEOFF]
Lloh2:
ldr d0, [x8]
scvtf d0, d0
fcmp d0, d9
b.mi LBB0_4
; %bb.1:
Lloh3:
adrp x8, _INT32_MIN@GOTPAGE
Lloh4:
ldr x8, [x8, _INT32_MIN@GOTPAGEOFF]
Lloh5:
ldr d0, [x8]
scvtf d0, d0
fcmp d0, d9
b.gt LBB0_4
; %bb.2:
Lloh6:
adrp x8, _INT64_MAX@GOTPAGE
Lloh7:
ldr x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh8:
ldr d0, [x8]
scvtf d0, d0
fcmp d0, d9
b.mi LBB0_4
; %bb.3:
Lloh9:
adrp x8, _INT64_MIN@GOTPAGE
Lloh10:
ldr x8, [x8, _INT64_MIN@GOTPAGEOFF]
Lloh11:
ldr d0, [x8]
scvtf d0, d0
fcmp d0, d9
b.le LBB0_12
LBB0_4:
mov x22, #0 ; =0x0
LBB0_5:
Lloh12:
adrp x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh13:
ldr x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh14:
ldr w21, [x8]
mov x0, x20
fmov d0, d9
bl _mrb_float_value
mov x3, x0
Lloh15:
adrp x2, l_.str@PAGE
Lloh16:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov x1, x21
bl _mrb_raisef
scvtf d10, x22
LBB0_6:
mov x0, x20
mov w1, #24 ; =0x18
bl _mrb_malloc
mov x21, x0
str d10, [x0]
fsub d0, d9, d10
mov x8, #145685290680320 ; =0x848000000000
movk x8, #16686, lsl #48
fmov d1, x8
fmadd d0, d0, d1, d8
bl _llround
str x0, [x21, #8]
tbnz x0, #63, LBB0_9
; %bb.7:
mov w8, #16960 ; =0x4240
movk w8, #15, lsl #16
cmp x0, x8
b.lo LBB0_11
; %bb.8:
mov x8, #13531 ; =0x34db
movk x8, #55222, lsl #16
movk x8, #56962, lsl #32
movk x8, #17179, lsl #48
umulh x8, x0, x8
lsr x8, x8, #18
mov x9, #-16960 ; =0xffffffffffffbdc0
movk x9, #65520, lsl #16
madd x9, x8, x9, x0
str x9, [x21, #8]
ucvtf d0, x8
b LBB0_10
LBB0_9:
mov w1, #16960 ; =0x4240
movk w1, #15, lsl #16
bl _NDIV
mov x8, #-16960 ; =0xffffffffffffbdc0
movk x8, #65520, lsl #16
ldr x9, [x21, #8]
madd x8, x0, x8, x9
str x8, [x21, #8]
scvtf d0, x0
LBB0_10:
ldr d1, [x21]
fadd d0, d1, d0
str d0, [x21]
LBB0_11:
str w19, [x21, #16]
mov x0, x20
mov x1, x21
bl _time_update_datetime
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 d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_12:
fcvtzs x22, d9
fcmp d9, #0.0
b.le LBB0_14
; %bb.13:
tbnz x22, #63, LBB0_5
LBB0_14:
scvtf d10, x22
fcmp d9, #0.0
b.pl LBB0_6
; %bb.15:
fcmp d10, d9
b.gt LBB0_5
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_7268 ; @g_aug_volatile_7268
.p2align 2, 0x0
_g_aug_volatile_7268:
.long 9 ; 0x9
.comm _INT32_MAX,8,3 ; @INT32_MAX
.comm _INT32_MIN,8,3 ; @INT32_MIN
.comm _INT64_MAX,8,3 ; @INT64_MAX
.comm _INT64_MIN,8,3 ; @INT64_MIN
.comm _E_ARGUMENT_ERROR,4,2 ; @E_ARGUMENT_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%S out of Time range"
.comm _UINT32_MAX,8,3 ; @UINT32_MAX
.comm _UINT64_MAX,8,3 ; @UINT64_MAX
.no_dead_strip _time_alloc
.subsections_via_symbols
| assembly_file_32995.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nilK
_nilK: ## @nilK
.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
leaq -28(%rbp), %r14
movq %r14, %rdi
callq _setnilvalue
movl (%rbx), %edx
movl 4(%rbx), %edi
leaq -32(%rbp), %r15
movq %r15, %rsi
callq _sethvalue
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _addk
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nilK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nilK
_nilK: ; @nilK
.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
add x0, sp, #8
bl _setnilvalue
ldp w2, w0, [x19]
add x1, sp, #12
bl _sethvalue
add x1, sp, #12
add x2, sp, #8
mov x0, x19
bl _addk
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _nilK
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_nilK.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function contiguous_quote
_contiguous_quote: ## @contiguous_quote
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %r14
movq (%rdi), %rbx
incq %rbx
movq _NL@GOTPCREL(%rip), %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
addq $2, %rax
movq %rax, %rbx
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_18 Depth 2
movsbl (%rbx), %edi
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=2
movsbl 1(%rbx), %edi
incq %rbx
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _IS_WHITESPACE_CHAR
testq %rax, %rax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movsbl (%rbx), %eax
cmpl %eax, (%r15)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=2
incl (%r12)
jmp LBB0_5
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movb (%rbx), %r13b
movsbl %r13b, %ecx
cmpl $47, %ecx
jne LBB0_7
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movsbl 1(%rbx), %eax
cmpl $42, %eax
je LBB0_15
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
cmpl $47, %eax
jne LBB0_13
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movl (%r15), %esi
movq %rbx, %rdi
callq _strchr
movq %rax, %rbx
testq %rax, %rax
jne LBB0_1
jmp LBB0_13
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
leaq 2(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _strstr
testq %rax, %rax
je LBB0_13
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
cmpq %rax, %rbx
jae LBB0_22
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rcx
subq %rbx, %rcx
movl $1, %edx
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %r13b, %esi
cmpl %esi, (%r15)
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
incl (%r12)
LBB0_20: ## in Loop: Header=BB0_18 Depth=2
cmpq %rdx, %rcx
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_18 Depth=2
movzbl (%rbx,%rdx), %r13d
incq %rdx
jmp LBB0_18
LBB0_7:
cmpl $39, %ecx
je LBB0_9
## %bb.8:
xorl %eax, %eax
cmpl $34, %ecx
jne LBB0_10
LBB0_9:
incq %rbx
movq -48(%rbp), %rax ## 8-byte Reload
movb %r13b, (%rax)
movl $1, %eax
jmp LBB0_10
LBB0_13:
xorl %ebx, %ebx
xorl %eax, %eax
LBB0_10:
movq %rbx, (%r14)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NL,4,2 ## @NL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "*/"
.no_dead_strip _contiguous_quote
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function contiguous_quote
_contiguous_quote: ; @contiguous_quote
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x20, x1
mov x19, x0
ldr x8, [x0]
add x24, x8, #1
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
Lloh2:
adrp x25, _NL@GOTPAGE
Lloh3:
ldr x25, [x25, _NL@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x24, x0, #2
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_15 Depth 2
ldrsb w0, [x24]
bl _IS_WHITESPACE_CHAR
cbz x0, LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x23, x24
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
ldrsb w0, [x24, #1]
bl _IS_WHITESPACE_CHAR
mov x24, x23
cbz x0, LBB0_8
LBB0_5: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w8, [x23], #1
ldr w9, [x25]
cmp w9, w8
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldr w8, [x21]
add w8, w8, #1
str w8, [x21]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
mov x23, x24
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
ldrsb w8, [x23]
and w24, w8, #0xff
cmp w8, #47
b.ne LBB0_19
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
ldrsb w8, [x23, #1]
cmp w8, #42
b.eq LBB0_12
; %bb.10: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #47
b.ne LBB0_23
; %bb.11: ; in Loop: Header=BB0_2 Depth=1
ldr w1, [x25]
mov x0, x23
bl _strchr
mov x24, x0
cbnz x0, LBB0_2
b LBB0_22
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
add x0, x23, #2
mov x1, x22
bl _strstr
cbz x0, LBB0_22
; %bb.13: ; in Loop: Header=BB0_2 Depth=1
cmp x23, x0
b.hs LBB0_1
; %bb.14: ; in Loop: Header=BB0_2 Depth=1
add x8, x23, #1
mvn x9, x23
add x9, x9, x0
LBB0_15: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x25]
cmp w10, w24, sxtb
b.ne LBB0_17
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
ldr w10, [x21]
add w10, w10, #1
str w10, [x21]
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
cbz x9, LBB0_1
; %bb.18: ; in Loop: Header=BB0_15 Depth=2
ldrb w24, [x8], #1
sub x9, x9, #1
b LBB0_15
LBB0_19:
cmp w8, #39
b.eq LBB0_21
; %bb.20:
cmp w8, #34
b.ne LBB0_24
LBB0_21:
add x23, x23, #1
strb w24, [x20]
mov w0, #1
b LBB0_25
LBB0_22:
mov x23, #0
b LBB0_25
LBB0_23:
mov x23, #0
LBB0_24:
mov w0, #0
LBB0_25:
str x23, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NL,4,2 ; @NL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "*/"
.no_dead_strip _contiguous_quote
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/sntp/libopts/extr_cook.c_contiguous_quote.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _concat ## -- Begin function concat
.p2align 4, 0x90
_concat: ## @concat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r13
callq _strlen
movq %rax, %r12
movq %r15, %rdi
callq _strlen
movq %rax, %rbx
movq %r14, %rdi
callq _strlen
addq %r12, %rbx
leaq (%rax,%rbx), %rdi
incq %rdi
callq _xmalloc
movq %rax, %rbx
leaq L_.str(%rip), %rsi
movq %rax, %rdi
movq %r13, %rdx
movq %r15, %rcx
movq %r14, %r8
callq _sprintf
movq %rbx, %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 "%s%s%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _concat ; -- Begin function concat
.p2align 2
_concat: ; @concat
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
bl _strlen
mov x22, x0
mov x0, x20
bl _strlen
mov x23, x0
mov x0, x19
bl _strlen
add x8, x22, x23
add x8, x8, x0
add x0, x8, #1
bl _xmalloc
mov x22, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x2, x21
mov x3, x20
mov x4, x19
bl _sprintf
mov x0, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s%s%s"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/diff/src/extr_util.c_concat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _omp_get_dynamic ## -- Begin function omp_get_dynamic
.p2align 4, 0x90
_omp_get_dynamic: ## @omp_get_dynamic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _gomp_dyn_var@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gomp_dyn_var,4,2 ## @gomp_dyn_var
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _omp_get_dynamic ; -- Begin function omp_get_dynamic
.p2align 2
_omp_get_dynamic: ; @omp_get_dynamic
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _gomp_dyn_var@GOTPAGE
Lloh1:
ldr x8, [x8, _gomp_dyn_var@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _gomp_dyn_var,4,2 ; @gomp_dyn_var
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_env.c_omp_get_dynamic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hns_rcb_start ## -- Begin function hns_rcb_start
.p2align 4, 0x90
_hns_rcb_start: ## @hns_rcb_start
.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 _hns_rcb_ring_enable_hw ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hns_rcb_start ; -- Begin function hns_rcb_start
.p2align 2
_hns_rcb_start: ; @hns_rcb_start
.cfi_startproc
; %bb.0:
b _hns_rcb_ring_enable_hw
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_rcb.c_hns_rcb_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function find_section_base
_find_section_base: ## @find_section_base
.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 %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq -72(%rbp), %rbx
movq %rsi, %rdi
movq %rbx, %rsi
callq _gelf_getehdr
cmpq %rbx, %rax
je LBB0_3
## %bb.1:
movl $-1, %edi
callq _elf_errmsg
leaq L_.str(%rip), %rdi
LBB0_2:
movq %rax, %rsi
callq _warnx
jmp LBB0_22
LBB0_3:
leaq -64(%rbp), %rsi
movq %r12, %rdi
callq _elf_getshstrndx
testl %eax, %eax
je LBB0_4
## %bb.5:
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r14, -48(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq _elf_errno
movq %r12, %rdi
xorl %esi, %esi
callq _elf_nextscn
testq %rax, %rax
je LBB0_19
## %bb.6:
movq %rax, %rbx
xorl %r15d, %r15d
leaq -96(%rbp), %r13
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r13, %rsi
callq _gelf_getshdr
testq %rax, %rax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl $-1, %edi
callq _elf_errmsg
movq %r14, %rdi
movq %rax, %rsi
callq _warnx
LBB0_18: ## in Loop: Header=BB0_7 Depth=1
movq %r12, %rdi
movq %rbx, %rsi
callq _elf_nextscn
movq %rax, %rbx
testq %rax, %rax
jne LBB0_7
jmp LBB0_19
LBB0_9: ## in Loop: Header=BB0_7 Depth=1
movq -64(%rbp), %rsi
movl -80(%rbp), %edx
movq %r12, %rdi
callq _elf_strptr
testq %rax, %rax
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_11
LBB0_17: ## in Loop: Header=BB0_7 Depth=1
addq -96(%rbp), %r15
jmp LBB0_18
LBB0_19:
xorl %eax, %eax
callq _elf_errno
testl %eax, %eax
je LBB0_21
## %bb.20:
movl %eax, %edi
callq _elf_errmsg
leaq L_.str.4(%rip), %rdi
movq %rax, %rsi
callq _warnx
LBB0_21:
movq _EXIT_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
callq _errx
LBB0_22:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl $-1, %edi
callq _elf_errmsg
leaq L_.str.1(%rip), %rdi
jmp LBB0_2
LBB0_11:
movq -72(%rbp), %rsi
movq _ET_EXEC@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_13
## %bb.12:
movq _ET_DYN@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_13
## %bb.14:
movq _ET_REL@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_16
## %bb.15:
movq _section_base@GOTPCREL(%rip), %rax
movq %r15, (%rax)
jmp LBB0_22
LBB0_13:
movq -88(%rbp), %rax
movq _section_base@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_22
LBB0_16:
leaq L_.str.3(%rip), %rdi
callq _warnx
jmp LBB0_22
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "gelf_getehdr failed: %s"
L_.str.1: ## @.str.1
.asciz "elf_getshstrndx failed: %s"
L_.str.2: ## @.str.2
.asciz "gelf_getshdr failed: %s"
.comm _ET_EXEC,8,3 ## @ET_EXEC
.comm _ET_DYN,8,3 ## @ET_DYN
.comm _section_base,8,3 ## @section_base
.comm _ET_REL,8,3 ## @ET_REL
L_.str.3: ## @.str.3
.asciz "unknown e_type %u"
L_.str.4: ## @.str.4
.asciz "elf_nextscn failed: %s"
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
L_.str.5: ## @.str.5
.asciz "%s: cannot find section %s"
.no_dead_strip _find_section_base
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function find_section_base
_find_section_base: ; @find_section_base
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
mov x19, x2
mov x21, x1
mov x20, x0
add x22, sp, #40
add x1, sp, #40
mov x0, x21
bl _gelf_getehdr
cmp x0, x22
b.eq LBB0_3
; %bb.1:
mov w0, #-1
bl _elf_errmsg
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
LBB0_2:
bl _warnx
b LBB0_15
LBB0_3:
add x1, sp, #8
mov x0, x21
bl _elf_getshstrndx
cbz w0, LBB0_16
; %bb.4:
bl _elf_errno
mov x0, x21
mov x1, #0
bl _elf_nextscn
cbz x0, LBB0_12
; %bb.5:
mov x22, x0
mov x24, #0
Lloh2:
adrp x23, l_.str.2@PAGE
Lloh3:
add x23, x23, l_.str.2@PAGEOFF
LBB0_6: ; =>This Inner Loop Header: Depth=1
add x1, sp, #16
mov x0, x22
bl _gelf_getshdr
cbnz x0, LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov w0, #-1
bl _elf_errmsg
mov x1, x0
mov x0, x23
bl _warnx
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
mov x1, x22
bl _elf_nextscn
mov x22, x0
cbnz x0, LBB0_6
b LBB0_12
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
ldr x1, [sp, #8]
ldr w2, [sp, #32]
mov x0, x21
bl _elf_strptr
cbz x0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
mov x1, x0
mov x0, x19
bl _strcmp
cbz w0, LBB0_17
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #16]
add x24, x8, x24
b LBB0_8
LBB0_12:
bl _elf_errno
cbz w0, LBB0_14
; %bb.13:
bl _elf_errmsg
mov x1, x0
Lloh4:
adrp x0, l_.str.4@PAGE
Lloh5:
add x0, x0, l_.str.4@PAGEOFF
bl _warnx
LBB0_14:
Lloh6:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh7:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x1, l_.str.5@PAGE
Lloh10:
add x1, x1, l_.str.5@PAGEOFF
mov x2, x20
mov x3, x19
bl _errx
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
add sp, sp, #112
ret
LBB0_16:
mov w0, #-1
bl _elf_errmsg
mov x1, x0
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_2
LBB0_17:
ldr x1, [sp, #40]
Lloh13:
adrp x8, _ET_EXEC@GOTPAGE
Lloh14:
ldr x8, [x8, _ET_EXEC@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
Lloh16:
adrp x9, _ET_DYN@GOTPAGE
Lloh17:
ldr x9, [x9, _ET_DYN@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x1, x8
ccmp x1, x9, #4, ne
b.ne LBB0_19
; %bb.18:
ldr x8, [sp, #24]
Lloh19:
adrp x9, _section_base@GOTPAGE
Lloh20:
ldr x9, [x9, _section_base@GOTPAGEOFF]
Lloh21:
str x8, [x9]
b LBB0_15
LBB0_19:
Lloh22:
adrp x8, _ET_REL@GOTPAGE
Lloh23:
ldr x8, [x8, _ET_REL@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
cmp x1, x8
b.ne LBB0_21
; %bb.20:
Lloh25:
adrp x8, _section_base@GOTPAGE
Lloh26:
ldr x8, [x8, _section_base@GOTPAGEOFF]
Lloh27:
str x24, [x8]
b LBB0_15
LBB0_21:
Lloh28:
adrp x0, l_.str.3@PAGE
Lloh29:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_2
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "gelf_getehdr failed: %s"
l_.str.1: ; @.str.1
.asciz "elf_getshstrndx failed: %s"
l_.str.2: ; @.str.2
.asciz "gelf_getshdr failed: %s"
.comm _ET_EXEC,8,3 ; @ET_EXEC
.comm _ET_DYN,8,3 ; @ET_DYN
.comm _section_base,8,3 ; @section_base
.comm _ET_REL,8,3 ; @ET_REL
l_.str.3: ; @.str.3
.asciz "unknown e_type %u"
l_.str.4: ; @.str.4
.asciz "elf_nextscn failed: %s"
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
l_.str.5: ; @.str.5
.asciz "%s: cannot find section %s"
.no_dead_strip _find_section_base
.subsections_via_symbols
| AnghaBench/freebsd/contrib/elftoolchain/addr2line/extr_addr2line.c_find_section_base.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pci_msix_count_method ## -- Begin function pci_msix_count_method
.p2align 4, 0x90
_pci_msix_count_method: ## @pci_msix_count_method
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %edi
callq _device_get_ivars
movq %rax, %rcx
movq _pci_do_msix@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq $0, (%rdx)
je LBB0_3
## %bb.1:
cmpq $0, (%rcx)
je LBB0_3
## %bb.2:
movl 8(%rcx), %eax
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pci_do_msix,8,3 ## @pci_do_msix
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pci_msix_count_method ; -- Begin function pci_msix_count_method
.p2align 2
_pci_msix_count_method: ; @pci_msix_count_method
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x0, x1
bl _device_get_ivars
Lloh0:
adrp x8, _pci_do_msix@GOTPAGE
Lloh1:
ldr x8, [x8, _pci_do_msix@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_3
; %bb.1:
ldr x8, [x0]
cbz x8, LBB0_3
; %bb.2:
ldr w0, [x0, #8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _pci_do_msix,8,3 ; @pci_do_msix
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/pci/extr_pci.c_pci_msix_count_method.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function src_dirty_conj_mask
_src_dirty_conj_mask: ## @src_dirty_conj_mask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $32, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _src_dirty_conj_mask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function src_dirty_conj_mask
_src_dirty_conj_mask: ; @src_dirty_conj_mask
.cfi_startproc
; %bb.0:
mov w0, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _src_dirty_conj_mask
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_src_dirty_conj_mask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_bridge_resource_split
_do_bridge_resource_split: ## @do_bridge_resource_split
.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 _cpqhp_resource_sort_and_combine
testl %eax, %eax
jne LBB0_11
## %bb.1:
movq (%rbx), %rdi
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_2
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
callq _kfree
movq 8(%rbx), %rax
movq %rbx, %rdi
testq %rax, %rax
jne LBB0_3
jmp LBB0_4
LBB0_2:
movq %rdi, %rbx
LBB0_4:
movl (%rbx), %edx
cmpl %r14d, %edx
jl LBB0_10
## %bb.5:
movl 4(%rbx), %eax
leal -1(%r14), %ecx
testl %ecx, %eax
je LBB0_6
## %bb.7:
movl %eax, %esi
orl %ecx, %esi
incl %esi
subl %esi, %eax
addl %edx, %eax
cmpl %r14d, %eax
jl LBB0_10
## %bb.8:
movl %eax, (%rbx)
movl %esi, 4(%rbx)
testl %ecx, %eax
jne LBB0_10
jmp LBB0_12
LBB0_6:
movl %edx, %eax
testl %ecx, %eax
je LBB0_12
LBB0_10:
movq %rbx, %rdi
callq _kfree
LBB0_11:
xorl %ebx, %ebx
LBB0_12:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _do_bridge_resource_split
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_bridge_resource_split
_do_bridge_resource_split: ; @do_bridge_resource_split
.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 _cpqhp_resource_sort_and_combine
cbnz w0, LBB0_10
; %bb.1:
ldr x0, [x19]
ldr x8, [x0, #8]
cbz x8, LBB0_3
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x19, x8
bl _kfree
ldr x8, [x19, #8]
mov x0, x19
cbnz x8, LBB0_2
b LBB0_4
LBB0_3:
mov x19, x0
LBB0_4:
ldr w8, [x19]
cmp w8, w20
b.lt LBB0_9
; %bb.5:
ldr w11, [x19, #4]
sub w9, w20, #1
tst w11, w9
b.eq LBB0_8
; %bb.6:
orr w10, w11, w9
add w10, w10, #1
sub w11, w11, w10
add w8, w11, w8
cmp w8, w20
b.lt LBB0_9
; %bb.7:
stp w8, w10, [x19]
LBB0_8:
tst w8, w9
b.eq LBB0_11
LBB0_9:
mov x0, x19
bl _kfree
LBB0_10:
mov x19, #0
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _do_bridge_resource_split
.subsections_via_symbols
| AnghaBench/linux/drivers/pci/hotplug/extr_cpqphp_ctrl.c_do_bridge_resource_split.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _efx_mcdi_handle_assertion ## -- Begin function efx_mcdi_handle_assertion
.p2align 4, 0x90
_efx_mcdi_handle_assertion: ## @efx_mcdi_handle_assertion
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _efx_mcdi_read_assertion
movl %eax, %ebx
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %r14, %rdi
callq _efx_mcdi_exit_assertion
LBB0_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _efx_mcdi_handle_assertion ; -- Begin function efx_mcdi_handle_assertion
.p2align 2
_efx_mcdi_handle_assertion: ; @efx_mcdi_handle_assertion
.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 _efx_mcdi_read_assertion
mov x20, x0
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
bl _efx_mcdi_exit_assertion
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_mcdi.c_efx_mcdi_handle_assertion.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function check_domain
_check_domain: ## @check_domain
.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, %r13d
movq %rsi, %r15
movq %rdi, %r12
movsbl (%rdi), %edi
callq _isalnum
testl %eax, %eax
je LBB0_1
## %bb.2:
incq %r15
cmpq $2, %r15
jb LBB0_3
## %bb.4:
movl %r13d, -44(%rbp) ## 4-byte Spill
movl $1, %r14d
xorl %ebx, %ebx
leaq L_.str(%rip), %r13
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movsbl (%r12,%r14), %edi
callq _isalnum
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
decq %r14
cmpq %r15, %r14
jae LBB0_9
LBB0_5: ## =>This Inner Loop Header: Depth=1
movsbl (%r12,%r14), %esi
movq %r13, %rdi
callq _strchr
testq %rax, %rax
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
incq %rbx
jmp LBB0_8
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_11
LBB0_3:
movl $1, %r14d
xorl %ebx, %ebx
jmp LBB0_10
LBB0_9:
testq %rbx, %rbx
cmovneq %r14, %rbx
movl -44(%rbp), %r13d ## 4-byte Reload
LBB0_10:
testl %r13d, %r13d
cmoveq %rbx, %r14
LBB0_11:
movq %r14, %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 ".:"
.no_dead_strip _check_domain
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function check_domain
_check_domain: ; @check_domain
.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 x21, x1
mov x20, x0
ldrsb w0, [x0]
bl _isalnum
cbz w0, LBB0_7
; %bb.1:
add x23, x21, #1
cmp x23, #2
b.lo LBB0_8
; %bb.2:
mov x24, #0 ; =0x0
mov w22, #1 ; =0x1
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldrsb w0, [x20, x22]
bl _isalnum
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x22, x22, #1
cmp x22, x23
b.hs LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrsb w1, [x20, x22]
mov x0, x21
bl _strchr
cbz x0, LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x24, x24, #1
b LBB0_4
LBB0_7:
mov x0, #0 ; =0x0
b LBB0_11
LBB0_8:
mov x8, #0 ; =0x0
mov w22, #1 ; =0x1
b LBB0_10
LBB0_9:
cmp x24, #0
csel x8, xzr, x22, eq
LBB0_10:
cmp w19, #0
csel x0, x8, x22, eq
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".:"
.no_dead_strip _check_domain
.subsections_via_symbols
| assembly_file_170266.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_fdmi_hba_attr_vendor_id
_lpfc_fdmi_hba_attr_vendor_id: ## @lpfc_fdmi_hba_attr_vendor_id
.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
leaq 16(%rsi), %rdi
xorl %esi, %esi
movl $256, %edx ## imm = 0x100
callq _memset
movl 16(%r14), %edi
leaq L_.str(%rip), %rsi
movl $4, %edx
callq _strncpy
movl 16(%r14), %edi
movl $4, %esi
callq _strnlen
movl %eax, %ebx
movq _FOURBYTES@GOTPCREL(%rip), %rax
addl $4, %ebx
andl $-4, %ebx
addl (%rax), %ebx
movl %ebx, %edi
callq _cpu_to_be16
movq %rax, 8(%r14)
movq _RHBA_VENDOR_ID@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_be16
movq %rax, (%r14)
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EMULEX"
.comm _FOURBYTES,4,2 ## @FOURBYTES
.comm _RHBA_VENDOR_ID,4,2 ## @RHBA_VENDOR_ID
.no_dead_strip _lpfc_fdmi_hba_attr_vendor_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_fdmi_hba_attr_vendor_id
_lpfc_fdmi_hba_attr_vendor_id: ; @lpfc_fdmi_hba_attr_vendor_id
.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
add x0, x1, #16
mov w1, #0
mov w2, #256
bl _memset
ldr w0, [x19, #16]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #4
bl _strncpy
ldr w0, [x19, #16]
mov w1, #4
bl _strnlen
Lloh2:
adrp x8, _FOURBYTES@GOTPAGE
Lloh3:
ldr x8, [x8, _FOURBYTES@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
add w9, w0, #4
and w9, w9, #0xfffffffc
add w20, w9, w8
mov x0, x20
bl _cpu_to_be16
str x0, [x19, #8]
Lloh5:
adrp x8, _RHBA_VENDOR_ID@GOTPAGE
Lloh6:
ldr x8, [x8, _RHBA_VENDOR_ID@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _cpu_to_be16
str x0, [x19]
mov x0, x20
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "EMULEX"
.comm _FOURBYTES,4,2 ; @FOURBYTES
.comm _RHBA_VENDOR_ID,4,2 ; @RHBA_VENDOR_ID
.no_dead_strip _lpfc_fdmi_hba_attr_vendor_id
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_ct.c_lpfc_fdmi_hba_attr_vendor_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _maybe_get_template_decl_from_type_decl ## -- Begin function maybe_get_template_decl_from_type_decl
.p2align 4, 0x90
_maybe_get_template_decl_from_type_decl: ## @maybe_get_template_decl_from_type_decl
.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 _NULL_TREE@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
je LBB0_5
## %bb.1:
movq %rbx, %rdi
callq _TREE_CODE
movq _TYPE_DECL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.2:
movq %rbx, %rdi
callq _DECL_ARTIFICIAL
testq %rax, %rax
je LBB0_5
## %bb.3:
movq %rbx, %rdi
callq _TREE_TYPE
movl %eax, %edi
callq _CLASS_TYPE_P
testq %rax, %rax
je LBB0_5
## %bb.4:
movq %rbx, %rdi
callq _TREE_TYPE
movl %eax, %edi
callq _CLASSTYPE_TEMPLATE_INFO
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rbx, %rdi
callq _TREE_TYPE
movl %eax, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _CLASSTYPE_TI_TEMPLATE ## TAILCALL
LBB0_5:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NULL_TREE,8,3 ## @NULL_TREE
.comm _TYPE_DECL,8,3 ## @TYPE_DECL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _maybe_get_template_decl_from_type_decl ; -- Begin function maybe_get_template_decl_from_type_decl
.p2align 2
_maybe_get_template_decl_from_type_decl: ; @maybe_get_template_decl_from_type_decl
.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, _NULL_TREE@GOTPAGE
Lloh1:
ldr x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x0
b.eq LBB0_6
; %bb.1:
mov x0, x19
bl _TREE_CODE
Lloh3:
adrp x8, _TYPE_DECL@GOTPAGE
Lloh4:
ldr x8, [x8, _TYPE_DECL@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_6
; %bb.2:
mov x0, x19
bl _DECL_ARTIFICIAL
cbz x0, LBB0_6
; %bb.3:
mov x0, x19
bl _TREE_TYPE
bl _CLASS_TYPE_P
cbz x0, LBB0_6
; %bb.4:
mov x0, x19
bl _TREE_TYPE
bl _CLASSTYPE_TEMPLATE_INFO
cbz x0, LBB0_6
; %bb.5:
mov x0, x19
bl _TREE_TYPE
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _CLASSTYPE_TI_TEMPLATE
LBB0_6:
mov x0, 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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _NULL_TREE,8,3 ; @NULL_TREE
.comm _TYPE_DECL,8,3 ; @TYPE_DECL
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/cp/extr_pt.c_maybe_get_template_decl_from_type_decl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cbs_h265_free_sei
_cbs_h265_free_sei: ## @cbs_h265_free_sei
.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, -32(%rbp)
cmpl $0, (%rsi)
jle LBB0_3
## %bb.1:
movq %rsi, %r14
xorl %r15d, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rdi
addq %r15, %rdi
callq _cbs_h265_free_sei_payload
incq %rbx
movslq (%r14), %rax
addq $4, %r15
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
leaq -32(%rbp), %rdi
callq _av_freep
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cbs_h265_free_sei
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cbs_h265_free_sei
_cbs_h265_free_sei: ; @cbs_h265_free_sei
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str x1, [sp, #8]
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x19, x1
mov x20, #0
mov x21, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x0, x8, x20
bl _cbs_h265_free_sei_payload
add x21, x21, #1
ldrsw x8, [x19]
add x20, x20, #4
cmp x21, x8
b.lt LBB0_2
LBB0_3:
add x0, sp, #8
bl _av_freep
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
.cfi_endproc
; -- End function
.no_dead_strip _cbs_h265_free_sei
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_cbs_h2645.c_cbs_h265_free_sei.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function patch_yamaha_ymf7x3_3d
_patch_yamaha_ymf7x3_3d: ## @patch_yamaha_ymf7x3_3d
.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 _snd_ac97_controls_3d@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq %rbx, %rsi
callq _snd_ac97_cnew
movq %rax, %r14
movq (%rbx), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _snd_ctl_add
testl %eax, %eax
jle LBB0_3
## %bb.1:
movl 4(%r14), %edi
leaq L_.str(%rip), %rsi
callq _strcpy
movq _AC97_3D_CONTROL@GOTPCREL(%rip), %r15
movl (%r15), %edi
movl $9, %esi
movl $7, %edx
xorl %ecx, %ecx
callq _AC97_SINGLE_VALUE
movl %eax, (%r14)
movl (%r15), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _snd_ac97_write_cache
movq (%rbx), %rax
movl (%rax), %r14d
movq _snd_ac97_ymf7x3_controls_speaker@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
callq _snd_ac97_cnew
movl %r14d, %edi
movq %rax, %rsi
callq _snd_ctl_add
testl %eax, %eax
js LBB0_3
## %bb.2:
movq _AC97_YMF7X3_3D_MODE_SEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $3072, %edx ## imm = 0xC00
callq _snd_ac97_write_cache
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _snd_ac97_controls_3d,8,3 ## @snd_ac97_controls_3d
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "3D Control - Wide"
.comm _AC97_3D_CONTROL,4,2 ## @AC97_3D_CONTROL
.comm _snd_ac97_ymf7x3_controls_speaker,4,2 ## @snd_ac97_ymf7x3_controls_speaker
.comm _AC97_YMF7X3_3D_MODE_SEL,4,2 ## @AC97_YMF7X3_3D_MODE_SEL
.no_dead_strip _patch_yamaha_ymf7x3_3d
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function patch_yamaha_ymf7x3_3d
_patch_yamaha_ymf7x3_3d: ; @patch_yamaha_ymf7x3_3d
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _snd_ac97_controls_3d@GOTPAGE
Lloh1:
ldr x8, [x8, _snd_ac97_controls_3d@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
mov x1, x19
bl _snd_ac97_cnew
mov x20, x0
ldr x8, [x19]
ldr w0, [x8]
mov x1, x20
bl _snd_ctl_add
cmp w0, #1
b.lt LBB0_3
; %bb.1:
ldr w0, [x20, #4]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _strcpy
Lloh5:
adrp x21, _AC97_3D_CONTROL@GOTPAGE
Lloh6:
ldr x21, [x21, _AC97_3D_CONTROL@GOTPAGEOFF]
ldr w0, [x21]
mov w1, #9 ; =0x9
mov w2, #7 ; =0x7
mov w3, #0 ; =0x0
bl _AC97_SINGLE_VALUE
str w0, [x20]
ldr w1, [x21]
mov x0, x19
mov w2, #0 ; =0x0
bl _snd_ac97_write_cache
ldr x8, [x19]
ldr w20, [x8]
Lloh7:
adrp x0, _snd_ac97_ymf7x3_controls_speaker@GOTPAGE
Lloh8:
ldr x0, [x0, _snd_ac97_ymf7x3_controls_speaker@GOTPAGEOFF]
mov x1, x19
bl _snd_ac97_cnew
mov x1, x0
mov x0, x20
bl _snd_ctl_add
tbnz w0, #31, LBB0_3
; %bb.2:
Lloh9:
adrp x8, _AC97_YMF7X3_3D_MODE_SEL@GOTPAGE
Lloh10:
ldr x8, [x8, _AC97_YMF7X3_3D_MODE_SEL@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
mov w2, #3072 ; =0xc00
bl _snd_ac97_write_cache
mov w0, #0 ; =0x0
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _snd_ac97_controls_3d,8,3 ; @snd_ac97_controls_3d
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "3D Control - Wide"
.comm _AC97_3D_CONTROL,4,2 ; @AC97_3D_CONTROL
.comm _snd_ac97_ymf7x3_controls_speaker,4,2 ; @snd_ac97_ymf7x3_controls_speaker
.comm _AC97_YMF7X3_3D_MODE_SEL,4,2 ; @AC97_YMF7X3_3D_MODE_SEL
.no_dead_strip _patch_yamaha_ymf7x3_3d
.subsections_via_symbols
| assembly_file_36875.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x3f800000 ## float 1
LCPI0_1:
.long 0xbc23d70a ## float -0.00999999977
.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
movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorl %esi, %esi
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
xorps %xmm2, %xmm2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
addss %xmm1, %xmm0
incl %esi
ucomiss %xmm2, %xmm0
ja LBB0_1
## %bb.2:
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 "finished after %d iterations\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:
mov w8, #0
fmov s0, #1.00000000
mov w9, #55050
movk w9, #48163, lsl #16
LBB0_1: ; =>This Inner Loop Header: Depth=1
fmov s1, w9
fadd s0, s0, s1
add w8, w8, #1
fcmp s0, #0.0
b.gt LBB0_1
; %bb.2:
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
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "finished after %d iterations\n"
.subsections_via_symbols
| the_stack_data/1028634.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fsl_spdif_startup
_fsl_spdif_startup: ## @fsl_spdif_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 %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, %r12
movq %rdi, %r15
movq 8(%rdi), %rax
movl (%rax), %edi
callq _snd_soc_dai_get_drvdata
movq %rax, %rbx
movq 24(%rax), %r14
cmpl $0, (%r12)
je LBB0_1
LBB0_12:
movq (%r15), %rax
movq _SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_21
## %bb.13:
movq _SCR_TXFIFO_AUTOSYNC@GOTPCREL(%rip), %rax
movq _SCR_TXFIFO_CTRL_NORMAL@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
andl (%rax), %r12d
movq _SCR_TXSEL_NORMAL@GOTPCREL(%rip), %rax
orl (%rax), %r12d
movq _SCR_USRC_SEL_CHIP@GOTPCREL(%rip), %rax
orl (%rax), %r12d
movq _SCR_TXFIFO_FSEL_IF8@GOTPCREL(%rip), %rax
orl (%rax), %r12d
movq _SCR_TXFIFO_AUTOSYNC_MASK@GOTPCREL(%rip), %rax
movq _SCR_TXFIFO_CTRL_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %r13d
orl (%rax), %r13d
movq _SCR_TXSEL_MASK@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movq _SCR_USRC_SEL_MASK@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movq _SCR_TXFIFO_FSEL_MASK@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movq _SPDIF_TXRATE_MAX@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_22
## %bb.14:
movq %r14, -48(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movl (%rax,%r14,4), %edi
callq _clk_prepare_enable
testl %eax, %eax
jne LBB0_16
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
incq %r14
movslq (%r15), %rax
cmpq %rax, %r14
jl LBB0_15
## %bb.20:
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_22
LBB0_1:
movq 32(%rbx), %r12
movl (%rbx), %edi
callq _clk_prepare_enable
testl %eax, %eax
je LBB0_3
## %bb.2:
movl %eax, %r15d
leaq L_.str(%rip), %rsi
movq %r12, %rdi
callq _dev_err
jmp LBB0_23
LBB0_21:
movq _SCR_RXFIFO_FSEL_IF8@GOTPCREL(%rip), %rax
movq _SCR_RXFIFO_AUTOSYNC@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
orl (%rax), %r12d
movq _SCR_RXFIFO_FSEL_MASK@GOTPCREL(%rip), %rax
movq _SCR_RXFIFO_AUTOSYNC_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %r13d
orl (%rax), %r13d
movq _SCR_RXFIFO_CTL_MASK@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movq _SCR_RXFIFO_OFF_MASK@GOTPCREL(%rip), %rax
orl (%rax), %r13d
movl 16(%rbx), %edi
callq _clk_prepare_enable
movl %eax, %r15d
testl %eax, %eax
jne LBB0_9
LBB0_22:
movq _REG_SPDIF_SCR@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq %r14, %rdi
movl %r13d, %edx
movl %r12d, %ecx
callq _regmap_update_bits
movl (%rbx), %esi
movq _SCR_LOW_POWER@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r15d, %r15d
movq %r14, %rdi
xorl %ecx, %ecx
callq _regmap_update_bits
jmp LBB0_23
LBB0_3:
movl 4(%rbx), %edi
callq _IS_ERR
testl %eax, %eax
je LBB0_4
LBB0_7:
movq %rbx, %rdi
callq _spdif_softreset
testl %eax, %eax
je LBB0_11
## %bb.8:
movl %eax, %r15d
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
callq _dev_err
jmp LBB0_9
LBB0_16:
movl %eax, %r15d
testq %r14, %r14
je LBB0_9
## %bb.17:
incq %r14
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
leal -2(%r14), %eax
movq 8(%rbx), %rcx
movl (%rcx,%rax,4), %edi
callq _clk_disable_unprepare
decq %r14
cmpq $1, %r14
jg LBB0_18
LBB0_9:
movl 4(%rbx), %edi
callq _IS_ERR
testl %eax, %eax
jne LBB0_6
## %bb.10:
movl 4(%rbx), %edi
callq _clk_disable_unprepare
LBB0_6:
movl (%rbx), %edi
callq _clk_disable_unprepare
LBB0_23:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl 4(%rbx), %edi
callq _clk_prepare_enable
testl %eax, %eax
je LBB0_7
## %bb.5:
movl %eax, %r15d
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _dev_err
jmp LBB0_6
LBB0_11:
movq _REG_SPDIF_SIE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl $16777215, %edx ## imm = 0xFFFFFF
xorl %ecx, %ecx
callq _regmap_update_bits
jmp LBB0_12
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to enable core clock\n"
L_.str.1: ## @.str.1
.asciz "failed to enable spba clock\n"
L_.str.2: ## @.str.2
.asciz "failed to soft reset\n"
.comm _REG_SPDIF_SIE,4,2 ## @REG_SPDIF_SIE
.comm _SNDRV_PCM_STREAM_PLAYBACK,8,3 ## @SNDRV_PCM_STREAM_PLAYBACK
.comm _SCR_TXFIFO_AUTOSYNC,4,2 ## @SCR_TXFIFO_AUTOSYNC
.comm _SCR_TXFIFO_CTRL_NORMAL,4,2 ## @SCR_TXFIFO_CTRL_NORMAL
.comm _SCR_TXSEL_NORMAL,4,2 ## @SCR_TXSEL_NORMAL
.comm _SCR_USRC_SEL_CHIP,4,2 ## @SCR_USRC_SEL_CHIP
.comm _SCR_TXFIFO_FSEL_IF8,4,2 ## @SCR_TXFIFO_FSEL_IF8
.comm _SCR_TXFIFO_AUTOSYNC_MASK,4,2 ## @SCR_TXFIFO_AUTOSYNC_MASK
.comm _SCR_TXFIFO_CTRL_MASK,4,2 ## @SCR_TXFIFO_CTRL_MASK
.comm _SCR_TXSEL_MASK,4,2 ## @SCR_TXSEL_MASK
.comm _SCR_USRC_SEL_MASK,4,2 ## @SCR_USRC_SEL_MASK
.comm _SCR_TXFIFO_FSEL_MASK,4,2 ## @SCR_TXFIFO_FSEL_MASK
.comm _SPDIF_TXRATE_MAX,4,2 ## @SPDIF_TXRATE_MAX
.comm _SCR_RXFIFO_FSEL_IF8,4,2 ## @SCR_RXFIFO_FSEL_IF8
.comm _SCR_RXFIFO_AUTOSYNC,4,2 ## @SCR_RXFIFO_AUTOSYNC
.comm _SCR_RXFIFO_FSEL_MASK,4,2 ## @SCR_RXFIFO_FSEL_MASK
.comm _SCR_RXFIFO_AUTOSYNC_MASK,4,2 ## @SCR_RXFIFO_AUTOSYNC_MASK
.comm _SCR_RXFIFO_CTL_MASK,4,2 ## @SCR_RXFIFO_CTL_MASK
.comm _SCR_RXFIFO_OFF_MASK,4,2 ## @SCR_RXFIFO_OFF_MASK
.comm _REG_SPDIF_SCR,4,2 ## @REG_SPDIF_SCR
.comm _SCR_LOW_POWER,4,2 ## @SCR_LOW_POWER
.no_dead_strip _fsl_spdif_startup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fsl_spdif_startup
_fsl_spdif_startup: ; @fsl_spdif_startup
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x1
mov x21, x0
ldr x8, [x0, #8]
ldr w0, [x8]
bl _snd_soc_dai_get_drvdata
mov x19, x0
ldr x20, [x0, #24]
ldr w8, [x22]
cbz w8, LBB0_6
LBB0_1:
ldr x8, [x21]
Lloh0:
adrp x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
ldr x9, [x9, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
; %bb.2:
Lloh3:
adrp x8, _SCR_TXFIFO_AUTOSYNC@GOTPAGE
Lloh4:
ldr x8, [x8, _SCR_TXFIFO_AUTOSYNC@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _SCR_TXFIFO_CTRL_NORMAL@GOTPAGE
Lloh7:
ldr x9, [x9, _SCR_TXFIFO_CTRL_NORMAL@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
and w8, w9, w8
Lloh9:
adrp x9, _SCR_TXSEL_NORMAL@GOTPAGE
Lloh10:
ldr x9, [x9, _SCR_TXSEL_NORMAL@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
Lloh12:
adrp x10, _SCR_USRC_SEL_CHIP@GOTPAGE
Lloh13:
ldr x10, [x10, _SCR_USRC_SEL_CHIP@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
orr w9, w9, w10
orr w8, w8, w9
Lloh15:
adrp x9, _SCR_TXFIFO_FSEL_IF8@GOTPAGE
Lloh16:
ldr x9, [x9, _SCR_TXFIFO_FSEL_IF8@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w21, w8, w9
Lloh18:
adrp x8, _SCR_TXFIFO_AUTOSYNC_MASK@GOTPAGE
Lloh19:
ldr x8, [x8, _SCR_TXFIFO_AUTOSYNC_MASK@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
adrp x9, _SCR_TXFIFO_CTRL_MASK@GOTPAGE
Lloh22:
ldr x9, [x9, _SCR_TXFIFO_CTRL_MASK@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
orr w8, w9, w8
Lloh24:
adrp x9, _SCR_TXSEL_MASK@GOTPAGE
Lloh25:
ldr x9, [x9, _SCR_TXSEL_MASK@GOTPAGEOFF]
Lloh26:
adrp x10, _SCR_USRC_SEL_MASK@GOTPAGE
Lloh27:
ldr x10, [x10, _SCR_USRC_SEL_MASK@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
Lloh29:
ldr w10, [x10]
orr w9, w9, w10
orr w8, w8, w9
Lloh30:
adrp x9, _SCR_TXFIFO_FSEL_MASK@GOTPAGE
Lloh31:
ldr x9, [x9, _SCR_TXFIFO_FSEL_MASK@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
orr w22, w8, w9
Lloh33:
adrp x23, _SPDIF_TXRATE_MAX@GOTPAGE
Lloh34:
ldr x23, [x23, _SPDIF_TXRATE_MAX@GOTPAGEOFF]
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_10
; %bb.3:
mov x24, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x24, lsl #2]
bl _clk_prepare_enable
cbnz w0, LBB0_14
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x24, x24, #1
ldrsw x8, [x23]
cmp x24, x8
b.lt LBB0_4
b LBB0_10
LBB0_6:
ldr x22, [x19, #32]
ldr w0, [x19]
bl _clk_prepare_enable
cbz w0, LBB0_11
; %bb.7:
Lloh35:
adrp x1, l_.str@PAGE
Lloh36:
add x1, x1, l_.str@PAGEOFF
mov x19, x0
mov x0, x22
bl _dev_err
mov x0, x19
b LBB0_20
LBB0_8:
Lloh37:
adrp x8, _SCR_RXFIFO_FSEL_IF8@GOTPAGE
Lloh38:
ldr x8, [x8, _SCR_RXFIFO_FSEL_IF8@GOTPAGEOFF]
Lloh39:
ldr w22, [x8]
Lloh40:
adrp x8, _SCR_RXFIFO_AUTOSYNC@GOTPAGE
Lloh41:
ldr x8, [x8, _SCR_RXFIFO_AUTOSYNC@GOTPAGEOFF]
Lloh42:
adrp x9, _SCR_RXFIFO_FSEL_MASK@GOTPAGE
Lloh43:
ldr x9, [x9, _SCR_RXFIFO_FSEL_MASK@GOTPAGEOFF]
Lloh44:
ldr w24, [x8]
Lloh45:
ldr w23, [x9]
Lloh46:
adrp x8, _SCR_RXFIFO_AUTOSYNC_MASK@GOTPAGE
Lloh47:
ldr x8, [x8, _SCR_RXFIFO_AUTOSYNC_MASK@GOTPAGEOFF]
Lloh48:
adrp x9, _SCR_RXFIFO_CTL_MASK@GOTPAGE
Lloh49:
ldr x9, [x9, _SCR_RXFIFO_CTL_MASK@GOTPAGEOFF]
Lloh50:
ldr w25, [x8]
Lloh51:
ldr w26, [x9]
Lloh52:
adrp x8, _SCR_RXFIFO_OFF_MASK@GOTPAGE
Lloh53:
ldr x8, [x8, _SCR_RXFIFO_OFF_MASK@GOTPAGEOFF]
Lloh54:
ldr w27, [x8]
ldr w0, [x19, #16]
bl _clk_prepare_enable
mov x21, x0
cbnz w0, LBB0_17
; %bb.9:
orr w21, w24, w22
orr w8, w25, w23
orr w9, w26, w27
orr w22, w8, w9
LBB0_10:
Lloh55:
adrp x19, _REG_SPDIF_SCR@GOTPAGE
Lloh56:
ldr x19, [x19, _REG_SPDIF_SCR@GOTPAGEOFF]
ldr w1, [x19]
mov x0, x20
mov x2, x22
mov x3, x21
bl _regmap_update_bits
ldr w1, [x19]
Lloh57:
adrp x8, _SCR_LOW_POWER@GOTPAGE
Lloh58:
ldr x8, [x8, _SCR_LOW_POWER@GOTPAGEOFF]
Lloh59:
ldr w2, [x8]
mov x0, x20
mov w3, #0 ; =0x0
bl _regmap_update_bits
mov w0, #0 ; =0x0
b LBB0_20
LBB0_11:
ldr w0, [x19, #4]
bl _IS_ERR
cbz w0, LBB0_21
LBB0_12:
mov x0, x19
bl _spdif_softreset
cbz w0, LBB0_23
; %bb.13:
mov x21, x0
Lloh60:
adrp x1, l_.str.2@PAGE
Lloh61:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x22
bl _dev_err
b LBB0_17
LBB0_14:
mov x21, x0
cbz x24, LBB0_17
; %bb.15:
add x20, x24, #1
LBB0_16: ; =>This Inner Loop Header: Depth=1
sub w8, w20, #2
ldr x9, [x19, #8]
ldr w0, [x9, w8, uxtw #2]
bl _clk_disable_unprepare
sub x20, x20, #1
cmp x20, #1
b.gt LBB0_16
LBB0_17:
ldr w0, [x19, #4]
bl _IS_ERR
cbnz w0, LBB0_19
; %bb.18:
ldr w0, [x19, #4]
bl _clk_disable_unprepare
LBB0_19:
ldr w0, [x19]
bl _clk_disable_unprepare
mov x0, x21
LBB0_20:
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_21:
ldr w0, [x19, #4]
bl _clk_prepare_enable
cbz w0, LBB0_12
; %bb.22:
mov x21, x0
Lloh62:
adrp x1, l_.str.1@PAGE
Lloh63:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
bl _dev_err
b LBB0_19
LBB0_23:
Lloh64:
adrp x8, _REG_SPDIF_SIE@GOTPAGE
Lloh65:
ldr x8, [x8, _REG_SPDIF_SIE@GOTPAGEOFF]
Lloh66:
ldr w1, [x8]
mov x0, x20
mov w2, #16777215 ; =0xffffff
mov w3, #0 ; =0x0
bl _regmap_update_bits
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh28
.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 AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh50
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh45
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh44
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGot Lloh55, Lloh56
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to enable core clock\n"
l_.str.1: ; @.str.1
.asciz "failed to enable spba clock\n"
l_.str.2: ; @.str.2
.asciz "failed to soft reset\n"
.comm _REG_SPDIF_SIE,4,2 ; @REG_SPDIF_SIE
.comm _SNDRV_PCM_STREAM_PLAYBACK,8,3 ; @SNDRV_PCM_STREAM_PLAYBACK
.comm _SCR_TXFIFO_AUTOSYNC,4,2 ; @SCR_TXFIFO_AUTOSYNC
.comm _SCR_TXFIFO_CTRL_NORMAL,4,2 ; @SCR_TXFIFO_CTRL_NORMAL
.comm _SCR_TXSEL_NORMAL,4,2 ; @SCR_TXSEL_NORMAL
.comm _SCR_USRC_SEL_CHIP,4,2 ; @SCR_USRC_SEL_CHIP
.comm _SCR_TXFIFO_FSEL_IF8,4,2 ; @SCR_TXFIFO_FSEL_IF8
.comm _SCR_TXFIFO_AUTOSYNC_MASK,4,2 ; @SCR_TXFIFO_AUTOSYNC_MASK
.comm _SCR_TXFIFO_CTRL_MASK,4,2 ; @SCR_TXFIFO_CTRL_MASK
.comm _SCR_TXSEL_MASK,4,2 ; @SCR_TXSEL_MASK
.comm _SCR_USRC_SEL_MASK,4,2 ; @SCR_USRC_SEL_MASK
.comm _SCR_TXFIFO_FSEL_MASK,4,2 ; @SCR_TXFIFO_FSEL_MASK
.comm _SPDIF_TXRATE_MAX,4,2 ; @SPDIF_TXRATE_MAX
.comm _SCR_RXFIFO_FSEL_IF8,4,2 ; @SCR_RXFIFO_FSEL_IF8
.comm _SCR_RXFIFO_AUTOSYNC,4,2 ; @SCR_RXFIFO_AUTOSYNC
.comm _SCR_RXFIFO_FSEL_MASK,4,2 ; @SCR_RXFIFO_FSEL_MASK
.comm _SCR_RXFIFO_AUTOSYNC_MASK,4,2 ; @SCR_RXFIFO_AUTOSYNC_MASK
.comm _SCR_RXFIFO_CTL_MASK,4,2 ; @SCR_RXFIFO_CTL_MASK
.comm _SCR_RXFIFO_OFF_MASK,4,2 ; @SCR_RXFIFO_OFF_MASK
.comm _REG_SPDIF_SCR,4,2 ; @REG_SPDIF_SCR
.comm _SCR_LOW_POWER,4,2 ; @SCR_LOW_POWER
.no_dead_strip _fsl_spdif_startup
.subsections_via_symbols
| assembly_file_175446.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NewIkeSa ## -- Begin function NewIkeSa
.p2align 4, 0x90
_NewIkeSa: ## @NewIkeSa
.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
xorl %r15d, %r15d
testq %rdi, %rdi
je LBB0_5
## %bb.1:
movq %rsi, %r12
testq %rsi, %rsi
je LBB0_5
## %bb.2:
movq %rdx, %r13
testq %rdx, %rdx
je LBB0_5
## %bb.3:
movq %r8, %rbx
testq %r8, %r8
je LBB0_5
## %bb.4:
movq %rdi, %r14
movl $56, %edi
movq %rcx, -48(%rbp) ## 8-byte Spill
callq _ZeroMalloc
movq %rax, %r15
movq 8(%r14), %rax
incq %rax
movq %rax, 8(%r14)
movq %rax, 48(%r15)
movq %r12, 40(%r15)
movq %r13, 8(%r15)
movq %r14, %rdi
callq _GenerateNewResponserCookie
movl %eax, (%r15)
movq -48(%rbp), %r13 ## 8-byte Reload
movq %r13, 32(%r15)
movl (%r14), %eax
movl %eax, 20(%r15)
movl %eax, 24(%r15)
leaq 16(%r15), %rdi
movq %rbx, %rsi
movl $40, %edx
callq _Copy
movq 8(%r15), %rdx
movl (%r15), %ecx
movq 32(%rbx), %rax
movl (%rax), %r8d
movq 24(%rbx), %rax
movl (%rax), %r9d
movq 16(%rbx), %rax
movl (%rax), %r10d
movl 8(%rbx), %r12d
movl (%rbx), %r11d
movl 4(%rbx), %eax
leaq L_.str(%rip), %rdi
movq %r13, %rsi
pushq %rax
pushq %r12
pushq %r11
pushq %r10
callq _Debug
addq $32, %rsp
movq _IKE_SA_MAIN_MODE@GOTPCREL(%rip), %rax
cmpq %r13, (%rax)
leaq L_.str.2(%rip), %rax
leaq L_.str.3(%rip), %rdi
cmoveq %rax, %rdi
callq __UU
movl (%r15), %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq 32(%rbx), %rcx
movl (%rcx), %ecx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq 24(%rbx), %rcx
movl (%rcx), %r12d
movq 16(%rbx), %rcx
movl (%rcx), %r13d
movl (%rbx), %r10d
movl 4(%rbx), %r11d
shll $3, %r10d
movl 8(%rbx), %ebx
leaq L_.str.1(%rip), %r8
movq %r14, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %ecx, %ecx
movl %eax, %r9d
pushq %r11
pushq %rbx
pushq %r10
pushq %r13
pushq %r12
pushq -56(%rbp) ## 8-byte Folded Reload
pushq -48(%rbp) ## 8-byte Folded Reload
pushq 8(%r15)
callq _IPsecLog
addq $64, %rsp
LBB0_5:
movq %r15, %rax
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 "New IKE SA (Mode = %u): %I64u <--> %I64u (%s %s %s(%u) %u %u)\n"
L_.str.1: ## @.str.1
.asciz "LI_NEW_IKE_SA"
.comm _IKE_SA_MAIN_MODE,8,3 ## @IKE_SA_MAIN_MODE
L_.str.2: ## @.str.2
.asciz "LI_TAG_MAINMODE"
L_.str.3: ## @.str.3
.asciz "LI_TAG_AGGRESSIVE"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NewIkeSa ; -- Begin function NewIkeSa
.p2align 2
_NewIkeSa: ; @NewIkeSa
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
mov x19, #0
cbz x0, LBB0_5
; %bb.1:
mov x24, x1
cbz x1, LBB0_5
; %bb.2:
mov x23, x2
cbz x2, LBB0_5
; %bb.3:
mov x21, x4
cbz x4, LBB0_5
; %bb.4:
mov x22, x3
mov x20, x0
mov w0, #56
bl _ZeroMalloc
mov x19, x0
ldr x8, [x20, #8]
add x8, x8, #1
str x8, [x20, #8]
stp x24, x8, [x0, #40]
str x23, [x0, #8]
mov x0, x20
bl _GenerateNewResponserCookie
str w0, [x19]
str x22, [x19, #32]
ldr w8, [x20]
stp w8, w8, [x19, #20]
add x0, x19, #16
mov x1, x21
mov w2, #40
bl _Copy
ldr x2, [x19, #8]
ldr w3, [x19]
ldr x8, [x21, #32]
ldr w4, [x8]
ldp x9, x8, [x21, #16]
ldr w5, [x8]
ldr w6, [x9]
ldp w9, w8, [x21, #4]
ldr w7, [x21]
stp w8, w9, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x22
bl _Debug
Lloh2:
adrp x8, _IKE_SA_MAIN_MODE@GOTPAGE
Lloh3:
ldr x8, [x8, _IKE_SA_MAIN_MODE@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
Lloh5:
adrp x9, l_.str.3@PAGE
Lloh6:
add x9, x9, l_.str.3@PAGEOFF
Lloh7:
adrp x10, l_.str.2@PAGE
Lloh8:
add x10, x10, l_.str.2@PAGEOFF
cmp x8, x22
csel x0, x10, x9, eq
bl __UU
mov x5, x0
ldr x6, [x19, #8]
ldr w7, [x19]
ldp x9, x8, [x21, #24]
ldr w8, [x8]
ldr x10, [x21, #16]
ldr w9, [x9]
ldr w10, [x10]
ldp w11, w12, [x21]
lsl w11, w11, #3
ldr w13, [x21, #8]
stp w13, w12, [sp, #16]
stp w10, w11, [sp, #8]
Lloh9:
adrp x4, l_.str.1@PAGE
Lloh10:
add x4, x4, l_.str.1@PAGEOFF
stp w8, w9, [sp]
mov x0, x20
mov x1, #0
mov x2, x19
mov x3, #0
bl _IPsecLog
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "New IKE SA (Mode = %u): %I64u <--> %I64u (%s %s %s(%u) %u %u)\n"
l_.str.1: ; @.str.1
.asciz "LI_NEW_IKE_SA"
.comm _IKE_SA_MAIN_MODE,8,3 ; @IKE_SA_MAIN_MODE
l_.str.2: ; @.str.2
.asciz "LI_TAG_MAINMODE"
l_.str.3: ; @.str.3
.asciz "LI_TAG_AGGRESSIVE"
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Cedar/extr_Proto_IKE.c_NewIkeSa.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pmc_can_attach
_pmc_can_attach: ## @pmc_can_attach
.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), %rax
movq (%rax), %r14
cmpq %rsi, %r14
je LBB0_8
## %bb.1:
movq %rsi, %r15
movq %r14, %rdi
callq _PROC_LOCK
movq (%r14), %rbx
movq %rbx, %rdi
callq _crhold
movq %r14, %rdi
callq _PROC_UNLOCK
movq %r15, %rdi
callq _PROC_LOCK
movq (%r15), %r14
movq %r14, %rdi
callq _crhold
movq %r15, %rdi
callq _PROC_UNLOCK
movq (%rbx), %rax
xorl %r15d, %r15d
cmpq (%r14), %rax
jne LBB0_12
## %bb.2:
cmpq 8(%r14), %rax
je LBB0_4
## %bb.3:
cmpq 16(%r14), %rax
jne LBB0_12
LBB0_4:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movslq 24(%r14), %rax
cmpq %rax, %r15
jge LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq 40(%r14), %rax
movl (%rax,%r15,4), %edi
movq %rbx, %rsi
callq _groupmember
decq %r15
testl %eax, %eax
jne LBB0_5
jmp LBB0_11
LBB0_8:
xorl %r15d, %r15d
jmp LBB0_13
LBB0_9:
movl 32(%r14), %edi
movq %rbx, %rsi
callq _groupmember
testl %eax, %eax
je LBB0_11
## %bb.10:
movl 28(%r14), %edi
movq %rbx, %rsi
callq _groupmember
xorl %r15d, %r15d
testl %eax, %eax
setne %r15b
jmp LBB0_12
LBB0_11:
xorl %r15d, %r15d
LBB0_12:
movq %r14, %rdi
callq _crfree
movq %rbx, %rdi
callq _crfree
LBB0_13:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pmc_can_attach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pmc_can_attach
_pmc_can_attach: ; @pmc_can_attach
.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
ldr x8, [x0]
ldr x20, [x8]
cmp x20, x1
b.eq LBB0_7
; %bb.1:
mov x21, x1
mov x0, x20
bl _PROC_LOCK
ldr x19, [x20]
mov x0, x19
bl _crhold
mov x0, x20
bl _PROC_UNLOCK
mov x0, x21
bl _PROC_LOCK
ldr x20, [x21]
mov x0, x20
bl _crhold
mov x0, x21
bl _PROC_UNLOCK
ldr x8, [x19]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_10
; %bb.2:
ldr x9, [x20, #8]
cmp x8, x9
b.eq LBB0_4
; %bb.3:
ldr x9, [x20, #16]
cmp x8, x9
b.ne LBB0_10
LBB0_4:
mov x21, #0 ; =0x0
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x20, #24]
cmp x21, x8
b.ge LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #40]
ldr w0, [x8, x21, lsl #2]
mov x1, x19
bl _groupmember
sub x21, x21, #1
cbnz w0, LBB0_5
b LBB0_10
LBB0_7:
mov w21, #0 ; =0x0
b LBB0_12
LBB0_8:
ldr w0, [x20, #32]
mov x1, x19
bl _groupmember
cbz w0, LBB0_10
; %bb.9:
ldr w0, [x20, #28]
mov x1, x19
bl _groupmember
cmp w0, #0
cset w21, ne
b LBB0_11
LBB0_10:
mov w21, #0 ; =0x0
LBB0_11:
mov x0, x20
bl _crfree
mov x0, x19
bl _crfree
LBB0_12:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _pmc_can_attach
.subsections_via_symbols
| assembly_file_160641.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bnx2x_set_rx_mode_e2
_bnx2x_set_rx_mode_e2: ## @bnx2x_set_rx_mode_e2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq 40(%rsi), %r15
xorl %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq _RAMROD_TX@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 20(%rbx), %r13
movq %r13, %rsi
callq _test_bit
testq %rax, %rax
je LBB0_2
## %bb.1:
movq 32(%rbx), %rax
movq 8(%r15), %rdx
movq %rax, 16(%rdx)
movl 16(%rbx), %eax
movl %eax, 8(%rdx)
movq _ETH_FILTER_RULES_CMD_TX_CMD@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rdx)
leaq 8(%rbx), %rsi
movq %r14, %rdi
xorl %ecx, %ecx
callq _bnx2x_rx_mode_set_cmd_state_e2
movl $1, %r12d
LBB0_2:
movq _RAMROD_RX@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r13, %rsi
callq _test_bit
testq %rax, %rax
je LBB0_4
## %bb.3:
movq 32(%rbx), %rax
movq 8(%r15), %rcx
leaq (%r12,%r12,2), %rsi
leaq (%rcx,%rsi,8), %rdx
movq %rax, 16(%rcx,%rsi,8)
movl 16(%rbx), %eax
movl %eax, 8(%rcx,%rsi,8)
movq _ETH_FILTER_RULES_CMD_RX_CMD@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rcx,%rsi,8)
leaq 12(%rbx), %rsi
incq %r12
movq %r14, %rdi
xorl %ecx, %ecx
callq _bnx2x_rx_mode_set_cmd_state_e2
LBB0_4:
movq _BNX2X_RX_MODE_FCOE_ETH@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 24(%rbx), %rsi
callq _test_bit
testq %rax, %rax
je LBB0_9
## %bb.5:
movq _RAMROD_TX@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r13, %rsi
callq _test_bit
testq %rax, %rax
je LBB0_7
## %bb.6:
movq _cl_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _bnx2x_fcoe
movq 8(%r15), %rcx
leaq (%r12,%r12,2), %rsi
leaq (%rcx,%rsi,8), %rdx
movq %rax, 16(%rcx,%rsi,8)
movl 16(%rbx), %eax
movl %eax, 8(%rcx,%rsi,8)
movq _ETH_FILTER_RULES_CMD_TX_CMD@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rcx,%rsi,8)
leaq 8(%rbx), %rsi
movq %r14, %rdi
movl $1, %ecx
callq _bnx2x_rx_mode_set_cmd_state_e2
incq %r12
LBB0_7:
movq _RAMROD_RX@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r13, %rsi
callq _test_bit
testq %rax, %rax
je LBB0_9
## %bb.8:
movq _cl_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _bnx2x_fcoe
movq 8(%r15), %rcx
leaq (%r12,%r12,2), %rsi
leaq (%rcx,%rsi,8), %rdx
movq %rax, 16(%rcx,%rsi,8)
movl 16(%rbx), %eax
movl %eax, 8(%rcx,%rsi,8)
movq _ETH_FILTER_RULES_CMD_RX_CMD@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rcx,%rsi,8)
leaq 12(%rbx), %rsi
movq %r14, %rdi
movl $1, %ecx
callq _bnx2x_rx_mode_set_cmd_state_e2
incq %r12
LBB0_9:
movl 4(%rbx), %edi
movq %r15, %rsi
movq %r12, %rdx
callq _bnx2x_rx_mode_set_rdata_hdr_e2
movq _BNX2X_MSG_SP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r15), %edx
movl 8(%rbx), %r8d
movl 12(%rbx), %ecx
leaq L_.str(%rip), %rsi
callq _DP
movq _RAMROD_CMD_ID_ETH_FILTER_RULES@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl (%rbx), %edi
movl 4(%rbx), %r12d
callq _U64_HI
movl %eax, %r13d
movl (%rbx), %edi
callq _U64_LO
movq _ETH_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
movq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %r13d, %ecx
movl %eax, %r8d
callq _bnx2x_sp_post
testl %eax, %eax
movl $1, %ecx
cmovel %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RAMROD_TX,4,2 ## @RAMROD_TX
.comm _ETH_FILTER_RULES_CMD_TX_CMD,8,3 ## @ETH_FILTER_RULES_CMD_TX_CMD
.comm _RAMROD_RX,4,2 ## @RAMROD_RX
.comm _ETH_FILTER_RULES_CMD_RX_CMD,8,3 ## @ETH_FILTER_RULES_CMD_RX_CMD
.comm _BNX2X_RX_MODE_FCOE_ETH,4,2 ## @BNX2X_RX_MODE_FCOE_ETH
.comm _cl_id,4,2 ## @cl_id
.comm _BNX2X_MSG_SP,4,2 ## @BNX2X_MSG_SP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "About to configure %d rules, rx_accept_flags 0x%lx, tx_accept_flags 0x%lx\n"
.comm _RAMROD_CMD_ID_ETH_FILTER_RULES,4,2 ## @RAMROD_CMD_ID_ETH_FILTER_RULES
.comm _ETH_CONNECTION_TYPE,4,2 ## @ETH_CONNECTION_TYPE
.no_dead_strip _bnx2x_set_rx_mode_e2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bnx2x_set_rx_mode_e2
_bnx2x_set_rx_mode_e2: ; @bnx2x_set_rx_mode_e2
.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 x20, x1
mov x19, x0
ldr x21, [x1, #40]
mov x0, x21
mov w1, #0
mov w2, #16
bl _memset
Lloh0:
adrp x27, _RAMROD_TX@GOTPAGE
Lloh1:
ldr x27, [x27, _RAMROD_TX@GOTPAGEOFF]
ldr w0, [x27]
add x23, x20, #20
mov x1, x23
bl _test_bit
Lloh2:
adrp x25, _ETH_FILTER_RULES_CMD_TX_CMD@GOTPAGE
Lloh3:
ldr x25, [x25, _ETH_FILTER_RULES_CMD_TX_CMD@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x20, #32]
ldr x2, [x21, #8]
str x8, [x2, #16]
ldr w8, [x20, #16]
str w8, [x2, #8]
ldr x8, [x25]
str x8, [x2]
add x1, x20, #8
mov x0, x19
mov w3, #0
bl _bnx2x_rx_mode_set_cmd_state_e2
mov w22, #1
b LBB0_3
LBB0_2:
mov x22, #0
LBB0_3:
Lloh4:
adrp x26, _RAMROD_RX@GOTPAGE
Lloh5:
ldr x26, [x26, _RAMROD_RX@GOTPAGEOFF]
ldr w0, [x26]
mov x1, x23
bl _test_bit
Lloh6:
adrp x24, _ETH_FILTER_RULES_CMD_RX_CMD@GOTPAGE
Lloh7:
ldr x24, [x24, _ETH_FILTER_RULES_CMD_RX_CMD@GOTPAGEOFF]
cbz x0, LBB0_5
; %bb.4:
ldr x8, [x20, #32]
ldr x9, [x21, #8]
mov w10, #24
madd x2, x22, x10, x9
str x8, [x2, #16]
ldr w8, [x20, #16]
str w8, [x2, #8]
ldr x8, [x24]
str x8, [x2]
add x1, x20, #12
add x22, x22, #1
mov x0, x19
mov w3, #0
bl _bnx2x_rx_mode_set_cmd_state_e2
LBB0_5:
Lloh8:
adrp x8, _BNX2X_RX_MODE_FCOE_ETH@GOTPAGE
Lloh9:
ldr x8, [x8, _BNX2X_RX_MODE_FCOE_ETH@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
add x1, x20, #24
bl _test_bit
cbz x0, LBB0_10
; %bb.6:
ldr w0, [x27]
mov x1, x23
bl _test_bit
Lloh11:
adrp x27, _cl_id@GOTPAGE
Lloh12:
ldr x27, [x27, _cl_id@GOTPAGEOFF]
cbz x0, LBB0_8
; %bb.7:
ldr w1, [x27]
mov x0, x19
bl _bnx2x_fcoe
ldr x8, [x21, #8]
mov w9, #24
madd x2, x22, x9, x8
str x0, [x2, #16]
ldr w8, [x20, #16]
str w8, [x2, #8]
ldr x8, [x25]
str x8, [x2]
add x1, x20, #8
mov x0, x19
mov w3, #1
bl _bnx2x_rx_mode_set_cmd_state_e2
add x22, x22, #1
LBB0_8:
ldr w0, [x26]
mov x1, x23
bl _test_bit
cbz x0, LBB0_10
; %bb.9:
ldr w1, [x27]
mov x0, x19
bl _bnx2x_fcoe
ldr x8, [x21, #8]
mov w9, #24
madd x2, x22, x9, x8
str x0, [x2, #16]
ldr w8, [x20, #16]
str w8, [x2, #8]
ldr x8, [x24]
str x8, [x2]
add x1, x20, #12
mov x0, x19
mov w3, #1
bl _bnx2x_rx_mode_set_cmd_state_e2
add x22, x22, #1
LBB0_10:
ldr w0, [x20, #4]
mov x1, x21
mov x2, x22
bl _bnx2x_rx_mode_set_rdata_hdr_e2
Lloh13:
adrp x8, _BNX2X_MSG_SP@GOTPAGE
Lloh14:
ldr x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
ldr w2, [x21]
ldp w4, w3, [x20, #8]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
bl _DP
Lloh18:
adrp x8, _RAMROD_CMD_ID_ETH_FILTER_RULES@GOTPAGE
Lloh19:
ldr x8, [x8, _RAMROD_CMD_ID_ETH_FILTER_RULES@GOTPAGEOFF]
Lloh20:
ldr w21, [x8]
ldp w0, w22, [x20]
bl _U64_HI
mov x23, x0
ldr w0, [x20]
bl _U64_LO
mov x4, x0
Lloh21:
adrp x8, _ETH_CONNECTION_TYPE@GOTPAGE
Lloh22:
ldr x8, [x8, _ETH_CONNECTION_TYPE@GOTPAGEOFF]
Lloh23:
ldr w5, [x8]
mov x0, x19
mov x1, x21
mov x2, x22
mov x3, x23
bl _bnx2x_sp_post
cmp w0, #0
csinc w0, w0, wzr, ne
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _RAMROD_TX,4,2 ; @RAMROD_TX
.comm _ETH_FILTER_RULES_CMD_TX_CMD,8,3 ; @ETH_FILTER_RULES_CMD_TX_CMD
.comm _RAMROD_RX,4,2 ; @RAMROD_RX
.comm _ETH_FILTER_RULES_CMD_RX_CMD,8,3 ; @ETH_FILTER_RULES_CMD_RX_CMD
.comm _BNX2X_RX_MODE_FCOE_ETH,4,2 ; @BNX2X_RX_MODE_FCOE_ETH
.comm _cl_id,4,2 ; @cl_id
.comm _BNX2X_MSG_SP,4,2 ; @BNX2X_MSG_SP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "About to configure %d rules, rx_accept_flags 0x%lx, tx_accept_flags 0x%lx\n"
.comm _RAMROD_CMD_ID_ETH_FILTER_RULES,4,2 ; @RAMROD_CMD_ID_ETH_FILTER_RULES
.comm _ETH_CONNECTION_TYPE,4,2 ; @ETH_CONNECTION_TYPE
.no_dead_strip _bnx2x_set_rx_mode_e2
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_set_rx_mode_e2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function em28xx_probe_i2c_ir
_em28xx_probe_i2c_ir: ## @em28xx_probe_i2c_ir
.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
shlq $2, %rdi
addq 8(%rbx), %rdi
movl $31, %r14d
movl $31, %esi
callq _i2c_probe_func_quick_read
cmpl $1, %eax
je LBB0_4
## %bb.1:
movq (%rbx), %rdi
shlq $2, %rdi
addq 8(%rbx), %rdi
movl $48, %r14d
movl $48, %esi
callq _i2c_probe_func_quick_read
cmpl $1, %eax
je LBB0_4
## %bb.2:
movq (%rbx), %rdi
shlq $2, %rdi
addq 8(%rbx), %rdi
movl $71, %r14d
movl $71, %esi
callq _i2c_probe_func_quick_read
cmpl $1, %eax
je LBB0_4
## %bb.3:
movq _ENODEV@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_4:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.no_dead_strip _em28xx_probe_i2c_ir
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function em28xx_probe_i2c_ir
_em28xx_probe_i2c_ir: ; @em28xx_probe_i2c_ir
.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
ldp x9, x8, [x0]
add x0, x8, x9, lsl #2
mov w19, #31
mov w1, #31
bl _i2c_probe_func_quick_read
cmp w0, #1
b.eq LBB0_4
; %bb.1:
ldp x9, x8, [x20]
add x0, x8, x9, lsl #2
mov w19, #48
mov w1, #48
bl _i2c_probe_func_quick_read
cmp w0, #1
b.eq LBB0_4
; %bb.2:
ldp x9, x8, [x20]
add x0, x8, x9, lsl #2
mov w19, #71
mov w1, #71
bl _i2c_probe_func_quick_read
cmp w0, #1
b.eq LBB0_4
; %bb.3:
Lloh0:
adrp x8, _ENODEV@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w19, w8
LBB0_4:
mov x0, 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
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.no_dead_strip _em28xx_probe_i2c_ir
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/em28xx/extr_em28xx-input.c_em28xx_probe_i2c_ir.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function RenameDirectory
_RenameDirectory: ## @RenameDirectory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %edi
movl (%rsi), %esi
callq _rename
testl %eax, %eax
je LBB0_1
## %bb.2:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
xorl %eax, %eax
callq _errcode_for_file_access
movl (%rbx), %esi
movl (%r14), %edx
leaq L_.str(%rip), %rdi
callq _errmsg
movl %r15d, %edi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _ereport ## TAILCALL
LBB0_1:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ERROR,4,2 ## @ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "could not rename directory \"%s\" to \"%s\": %m"
.no_dead_strip _RenameDirectory
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function RenameDirectory
_RenameDirectory: ; @RenameDirectory
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr w0, [x0]
ldr w1, [x1]
bl _rename
cbz w0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
bl _errcode_for_file_access
ldr w1, [x20]
ldr w2, [x19]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ereport
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ERROR,4,2 ; @ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "could not rename directory \"%s\" to \"%s\": %m"
.no_dead_strip _RenameDirectory
.subsections_via_symbols
| AnghaBench/citus/src/backend/distributed/worker/extr_worker_partition_protocol.c_RenameDirectory.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function XdsStringUtf8
_XdsStringUtf8: ## @XdsStringUtf8
.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
leaq LJTI0_0(%rip), %rcx
xorl %r8d, %r8d
jmp LBB0_4
LBB0_1: ## in Loop: Header=BB0_4 Depth=1
movw $-21053, (%rdi,%r8) ## imm = 0xADC3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
addq $2, %r8
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
decq %rax
cmpq %rdx, %rax
ja LBB0_15
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%rsi,%rax,4), %r9d
leal -42(%r9), %r10d
cmpl $84, %r10d
ja LBB0_14
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq (%rcx,%r10,4), %r10
addq %rcx, %r10
jmpq *%r10
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movw $-24125, (%rdi,%r8) ## imm = 0xA1C3
jmp LBB0_2
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movw $-22589, (%rdi,%r8) ## imm = 0xA7C3
jmp LBB0_2
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movw $-22077, (%rdi,%r8) ## imm = 0xA9C3
jmp LBB0_2
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movw $-18493, (%rdi,%r8) ## imm = 0xB7C3
jmp LBB0_2
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movw $-28221, (%rdi,%r8) ## imm = 0x91C3
jmp LBB0_2
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movw $-19517, (%rdi,%r8) ## imm = 0xB3C3
jmp LBB0_2
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
movw $-17725, (%rdi,%r8) ## imm = 0xBAC3
jmp LBB0_2
LBB0_13: ## in Loop: Header=BB0_4 Depth=1
movw $-20029, (%rdi,%r8) ## imm = 0xB1C3
jmp LBB0_2
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movb %r9b, (%rdi,%r8)
incq %r8
jmp LBB0_3
LBB0_15:
movb $0, (%rdi,%r8)
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_8
.long L0_0_set_14
.long L0_0_set_1
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_7
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_13
.end_data_region
## -- End function
.no_dead_strip _XdsStringUtf8
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function XdsStringUtf8
_XdsStringUtf8: ; @XdsStringUtf8
.cfi_startproc
; %bb.0:
mov x9, #0 ; =0x0
mov x8, #0 ; =0x0
mov w10, #41411 ; =0xa1c3
mov w11, #43459 ; =0xa9c3
mov w12, #44483 ; =0xadc3
mov w13, #46019 ; =0xb3c3
mov w14, #47811 ; =0xbac3
mov w15, #42947 ; =0xa7c3
mov w16, #47043 ; =0xb7c3
mov w17, #37315 ; =0x91c3
mov w3, #45507 ; =0xb1c3
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
strh w12, [x0, x8]
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add x8, x8, #2
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x9, x9, #1
cmp x9, x2
b.hi LBB0_25
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w4, [x1, x9, lsl #2]
cmp w4, #95
b.le LBB0_10
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #123
b.le LBB0_17
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #124
b.eq LBB0_21
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #125
b.eq LBB0_23
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #126
b.ne LBB0_24
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
strh w3, [x0, x8]
b LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #93
b.gt LBB0_14
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #42
b.eq LBB0_20
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #92
b.ne LBB0_24
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
strh w11, [x0, x8]
b LBB0_2
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #94
b.eq LBB0_1
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #95
b.ne LBB0_24
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
strh w13, [x0, x8]
b LBB0_2
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #96
b.eq LBB0_22
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
cmp w4, #123
b.ne LBB0_24
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
strh w15, [x0, x8]
b LBB0_2
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
strh w10, [x0, x8]
b LBB0_2
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
strh w16, [x0, x8]
b LBB0_2
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
strh w14, [x0, x8]
b LBB0_2
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
strh w17, [x0, x8]
b LBB0_2
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
strb w4, [x0, x8]
add x8, x8, #1
b LBB0_3
LBB0_25:
strb wzr, [x0, x8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _XdsStringUtf8
.subsections_via_symbols
| assembly_file_183310.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parse_mep_alignu ## -- Begin function parse_mep_alignu
.p2align 4, 0x90
_parse_mep_alignu: ## @parse_mep_alignu
.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 _parse_mep_align ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parse_mep_alignu ; -- Begin function parse_mep_alignu
.p2align 2
_parse_mep_alignu: ; @parse_mep_alignu
.cfi_startproc
; %bb.0:
b _parse_mep_align
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/opcodes/extr_mep-asm.c_parse_mep_alignu.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ip_vs_use_count_inc ## -- Begin function ip_vs_use_count_inc
.p2align 4, 0x90
_ip_vs_use_count_inc: ## @ip_vs_use_count_inc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _THIS_MODULE@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _try_module_get ## TAILCALL
.cfi_endproc
## -- End function
.comm _THIS_MODULE,4,2 ## @THIS_MODULE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ip_vs_use_count_inc ; -- Begin function ip_vs_use_count_inc
.p2align 2
_ip_vs_use_count_inc: ; @ip_vs_use_count_inc
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _THIS_MODULE@GOTPAGE
Lloh1:
ldr x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _try_module_get
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _THIS_MODULE,4,2 ; @THIS_MODULE
.subsections_via_symbols
| AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_use_count_inc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mcpy ## -- Begin function mcpy
.p2align 4, 0x90
_mcpy: ## @mcpy
.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, %edx
callq _memcpy
movl $8, %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 _mcpy ; -- Begin function mcpy
.p2align 2
_mcpy: ; @mcpy
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w2, #8
bl _memcpy
mov w0, #8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/windows/local/extr_12497.c_mcpy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_ymfpci_pcm_free_substream
_snd_ymfpci_pcm_free_substream: ## @snd_ymfpci_pcm_free_substream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _snd_ymfpci_pcm_free_substream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_ymfpci_pcm_free_substream
_snd_ymfpci_pcm_free_substream: ; @snd_ymfpci_pcm_free_substream
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _snd_ymfpci_pcm_free_substream
.subsections_via_symbols
| AnghaBench/linux/sound/pci/ymfpci/extr_ymfpci_main.c_snd_ymfpci_pcm_free_substream.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_packetized_from_buf ## -- Begin function write_packetized_from_buf
.p2align 4, 0x90
_write_packetized_from_buf: ## @write_packetized_from_buf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r12
movq %rdi, %r15
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r12, %rbx
subq %r13, %rbx
movq _LARGE_PACKET_DATA_MAX@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %rbx
cmovaeq %rax, %rbx
testq %rbx, %rbx
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq (%r15,%r13), %rsi
movl %r14d, %edi
movq %rbx, %rdx
callq _packet_write_gently
addq %rbx, %r13
testl %eax, %eax
je LBB0_1
## %bb.3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl %r14d, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _packet_flush_gently ## TAILCALL
.cfi_endproc
## -- End function
.comm _LARGE_PACKET_DATA_MAX,8,3 ## @LARGE_PACKET_DATA_MAX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_packetized_from_buf ; -- Begin function write_packetized_from_buf
.p2align 2
_write_packetized_from_buf: ; @write_packetized_from_buf
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
mov x21, x0
mov x23, #0
Lloh0:
adrp x24, _LARGE_PACKET_DATA_MAX@GOTPAGE
Lloh1:
ldr x24, [x24, _LARGE_PACKET_DATA_MAX@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x24]
sub x9, x20, x23
cmp x9, x8
csel x22, x9, x8, lo
cbz x22, LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x1, x21, x23
mov x0, x19
mov x2, x22
bl _packet_write_gently
add x23, x22, x23
cbz w0, LBB0_1
; %bb.3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _packet_flush_gently
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _LARGE_PACKET_DATA_MAX,8,3 ; @LARGE_PACKET_DATA_MAX
.subsections_via_symbols
| AnghaBench/git/extr_pkt-line.c_write_packetized_from_buf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function free_Var
_free_Var: ## @free_Var
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
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 8(%rdi), %rdi
callq _free
movq (%rbx), %rdi
callq _free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.no_dead_strip _free_Var
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function free_Var
_free_Var: ; @free_Var
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
bl _free
ldr x0, [x19]
bl _free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.no_dead_strip _free_Var
.subsections_via_symbols
| AnghaBench/radare2/libr/bin/format/pe/extr_pe.c_free_Var.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fcntl_common
_fcntl_common: ## @fcntl_common
.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
movl (%rsi), %eax
addl $-128, %eax
cmpl $10, %eax
ja LBB0_4
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movl 16(%rbx), %esi
movq _cap_fcntl_rights@GOTPCREL(%rip), %rdx
leaq -40(%rbp), %rcx
movq %r14, %rdi
callq _fget
testl %eax, %eax
jne LBB0_41
## %bb.3:
movq -40(%rbp), %rdi
movl (%rdi), %r15d
movq _DTYPE_PIPE@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq %r14, %rsi
callq _fdrop
cmpl %r12d, %r15d
jne LBB0_39
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_41
LBB0_5:
movq 8(%rbx), %rdi
leaq -40(%rbp), %rsi
movl $4, %edx
callq _copyin
testl %eax, %eax
jne LBB0_41
## %bb.6:
leaq -40(%rbp), %rdi
leaq -48(%rbp), %r15
movq %r15, %rsi
callq _linux_to_bsd_flock
movl 16(%rbx), %esi
movq _F_SETLKW@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_7:
movq 8(%rbx), %rdi
leaq -40(%rbp), %rsi
movl $4, %edx
callq _copyin
testl %eax, %eax
jne LBB0_41
## %bb.8:
leaq -40(%rbp), %rdi
leaq -48(%rbp), %r15
movq %r15, %rsi
callq _linux_to_bsd_flock
movl 16(%rbx), %esi
movq _F_SETLK@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %edx
movq %r14, %rdi
movq %r15, %rcx
LBB0_40:
callq _kern_fcntl
jmp LBB0_41
LBB0_10:
movq 8(%rbx), %rcx
movq _LINUX_O_NDELAY@GOTPCREL(%rip), %rax
movslq (%rax), %rax
andq %rcx, %rax
je LBB0_12
## %bb.11:
movq _O_NONBLOCK@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_12:
movq _LINUX_O_APPEND@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
andq %rcx, %rdx
movq _O_APPEND@GOTPCREL(%rip), %rsi
movslq (%rsi), %rsi
cmoveq %rdx, %rsi
movq _LINUX_O_SYNC@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
andq %rcx, %rdx
movq _O_FSYNC@GOTPCREL(%rip), %rdi
movslq (%rdi), %rdi
cmoveq %rdx, %rdi
orq %rsi, %rdi
movq _LINUX_FASYNC@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
andq %rcx, %rdx
movq _O_ASYNC@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmoveq %rdx, %rcx
orq %rdi, %rcx
orq %rax, %rcx
movl 16(%rbx), %esi
movq _F_SETFL@GOTPCREL(%rip), %rax
movl (%rax), %edx
jmp LBB0_37
LBB0_13:
movl 16(%rbx), %esi
movq _F_SETFD@GOTPCREL(%rip), %rax
jmp LBB0_36
LBB0_14:
movl 16(%rbx), %esi
movq _F_GETOWN@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_15:
movq 8(%rbx), %rdi
leaq -40(%rbp), %rsi
movl $4, %edx
callq _copyin
testl %eax, %eax
jne LBB0_41
## %bb.16:
leaq -40(%rbp), %rdi
leaq -48(%rbp), %r15
movq %r15, %rsi
callq _linux_to_bsd_flock
movl 16(%rbx), %esi
movq _F_GETLK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movq %r15, %rcx
callq _kern_fcntl
testl %eax, %eax
jne LBB0_41
## %bb.17:
leaq -48(%rbp), %rdi
leaq -40(%rbp), %r14
movq %r14, %rsi
callq _bsd_to_linux_flock
movq 8(%rbx), %rsi
movq %r14, %rdi
movl $4, %edx
callq _copyout
jmp LBB0_41
LBB0_18:
movl 16(%rbx), %esi
movq _F_GETFL@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ebx, %ebx
movq %r14, %rdi
xorl %ecx, %ecx
callq _kern_fcntl
movq (%r14), %rcx
movl (%rcx), %edx
movl $0, (%rcx)
movq _O_RDONLY@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_20
## %bb.19:
movq _LINUX_O_RDONLY@GOTPCREL(%rip), %rsi
movl (%rsi), %ebx
movl %ebx, (%rcx)
LBB0_20:
movq _O_WRONLY@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_22
## %bb.21:
movq _LINUX_O_WRONLY@GOTPCREL(%rip), %rsi
orl (%rsi), %ebx
movl %ebx, (%rcx)
LBB0_22:
movq _O_RDWR@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_24
## %bb.23:
movq _LINUX_O_RDWR@GOTPCREL(%rip), %rsi
orl (%rsi), %ebx
movl %ebx, (%rcx)
LBB0_24:
movq _O_NDELAY@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_26
## %bb.25:
movq _LINUX_O_NONBLOCK@GOTPCREL(%rip), %rsi
orl (%rsi), %ebx
movl %ebx, (%rcx)
LBB0_26:
movq _O_APPEND@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_28
## %bb.27:
movq _LINUX_O_APPEND@GOTPCREL(%rip), %rsi
orl (%rsi), %ebx
movl %ebx, (%rcx)
LBB0_28:
movq _O_FSYNC@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_30
## %bb.29:
movq _LINUX_O_SYNC@GOTPCREL(%rip), %rsi
orl (%rsi), %ebx
movl %ebx, (%rcx)
LBB0_30:
movq _O_ASYNC@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_41
## %bb.31:
movq _LINUX_FASYNC@GOTPCREL(%rip), %rdx
orl (%rdx), %ebx
movl %ebx, (%rcx)
LBB0_41:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
movl 16(%rbx), %esi
movq _F_GETFD@GOTPCREL(%rip), %rax
LBB0_33:
movl (%rax), %edx
movq %r14, %rdi
xorl %ecx, %ecx
jmp LBB0_38
LBB0_34:
movl 16(%rbx), %esi
movq _F_DUPFD_CLOEXEC@GOTPCREL(%rip), %rax
jmp LBB0_36
LBB0_35:
movl 16(%rbx), %esi
movq _F_DUPFD@GOTPCREL(%rip), %rax
LBB0_36:
movl (%rax), %edx
movq 8(%rbx), %rcx
LBB0_37:
movq %r14, %rdi
LBB0_38:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _kern_fcntl ## TAILCALL
LBB0_39:
movl 16(%rbx), %esi
movq _F_SETOWN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq 8(%rbx), %rcx
movq %r14, %rdi
jmp LBB0_40
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_5
.long L0_0_set_7
.long L0_0_set_10
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_18
.long L0_0_set_32
.long L0_0_set_34
.long L0_0_set_35
.end_data_region
## -- End function
.comm _F_DUPFD,4,2 ## @F_DUPFD
.comm _F_GETFD,4,2 ## @F_GETFD
.comm _F_SETFD,4,2 ## @F_SETFD
.comm _F_GETFL,4,2 ## @F_GETFL
.comm _O_RDONLY,4,2 ## @O_RDONLY
.comm _LINUX_O_RDONLY,4,2 ## @LINUX_O_RDONLY
.comm _O_WRONLY,4,2 ## @O_WRONLY
.comm _LINUX_O_WRONLY,4,2 ## @LINUX_O_WRONLY
.comm _O_RDWR,4,2 ## @O_RDWR
.comm _LINUX_O_RDWR,4,2 ## @LINUX_O_RDWR
.comm _O_NDELAY,4,2 ## @O_NDELAY
.comm _LINUX_O_NONBLOCK,4,2 ## @LINUX_O_NONBLOCK
.comm _O_APPEND,4,2 ## @O_APPEND
.comm _LINUX_O_APPEND,4,2 ## @LINUX_O_APPEND
.comm _O_FSYNC,4,2 ## @O_FSYNC
.comm _LINUX_O_SYNC,4,2 ## @LINUX_O_SYNC
.comm _O_ASYNC,4,2 ## @O_ASYNC
.comm _LINUX_FASYNC,4,2 ## @LINUX_FASYNC
.comm _LINUX_O_NDELAY,4,2 ## @LINUX_O_NDELAY
.comm _O_NONBLOCK,8,3 ## @O_NONBLOCK
.comm _F_SETFL,4,2 ## @F_SETFL
.comm _F_GETLK,4,2 ## @F_GETLK
.comm _F_SETLK,4,2 ## @F_SETLK
.comm _F_SETLKW,4,2 ## @F_SETLKW
.comm _F_GETOWN,4,2 ## @F_GETOWN
.comm _cap_fcntl_rights,4,2 ## @cap_fcntl_rights
.comm _DTYPE_PIPE,4,2 ## @DTYPE_PIPE
.comm _EINVAL,4,2 ## @EINVAL
.comm _F_SETOWN,4,2 ## @F_SETOWN
.comm _F_DUPFD_CLOEXEC,4,2 ## @F_DUPFD_CLOEXEC
.comm _LINUX_O_DIRECT,4,2 ## @LINUX_O_DIRECT
.comm _LINUX_O_NOFOLLOW,4,2 ## @LINUX_O_NOFOLLOW
.comm _O_DIRECT,4,2 ## @O_DIRECT
.comm _O_NOFOLLOW,4,2 ## @O_NOFOLLOW
.no_dead_strip _fcntl_common
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fcntl_common
_fcntl_common: ; @fcntl_common
.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
ldr w8, [x1]
sub w8, w8, #128
cmp w8, #10
b.hi LBB0_4
; %bb.1:
mov x20, x1
mov x19, x0
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
ldr w1, [x20, #16]
Lloh2:
adrp x2, _cap_fcntl_rights@GOTPAGE
Lloh3:
ldr x2, [x2, _cap_fcntl_rights@GOTPAGEOFF]
mov x3, sp
mov x0, x19
bl _fget
cbnz w0, LBB0_39
; %bb.3:
ldr x0, [sp]
ldr w21, [x0]
Lloh4:
adrp x8, _DTYPE_PIPE@GOTPAGE
Lloh5:
ldr x8, [x8, _DTYPE_PIPE@GOTPAGEOFF]
Lloh6:
ldr w22, [x8]
mov x1, x19
bl _fdrop
cmp w21, w22
b.ne LBB0_40
LBB0_4:
Lloh7:
adrp x8, _EINVAL@GOTPAGE
Lloh8:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
b LBB0_39
LBB0_5:
ldr x0, [x20, #8]
mov x1, sp
mov w2, #4
bl _copyin
cbnz w0, LBB0_39
; %bb.6:
mov x0, sp
add x1, sp, #8
bl _linux_to_bsd_flock
ldr w1, [x20, #16]
Lloh10:
adrp x8, _F_SETLKW@GOTPAGE
Lloh11:
ldr x8, [x8, _F_SETLKW@GOTPAGEOFF]
b LBB0_9
LBB0_7:
ldr x0, [x20, #8]
mov x1, sp
mov w2, #4
bl _copyin
cbnz w0, LBB0_39
; %bb.8:
mov x0, sp
add x1, sp, #8
bl _linux_to_bsd_flock
ldr w1, [x20, #16]
Lloh12:
adrp x8, _F_SETLK@GOTPAGE
Lloh13:
ldr x8, [x8, _F_SETLK@GOTPAGEOFF]
LBB0_9:
ldr w2, [x8]
add x3, sp, #8
LBB0_10:
mov x0, x19
bl _kern_fcntl
b LBB0_39
LBB0_11:
Lloh14:
adrp x8, _LINUX_O_NDELAY@GOTPAGE
Lloh15:
ldr x8, [x8, _LINUX_O_NDELAY@GOTPAGEOFF]
ldr x9, [x20, #8]
Lloh16:
ldrsw x8, [x8]
Lloh17:
adrp x10, _O_NONBLOCK@GOTPAGE
Lloh18:
ldr x10, [x10, _O_NONBLOCK@GOTPAGEOFF]
Lloh19:
ldr x10, [x10]
tst x9, x8
csel x8, xzr, x10, eq
Lloh20:
adrp x10, _LINUX_O_APPEND@GOTPAGE
Lloh21:
ldr x10, [x10, _LINUX_O_APPEND@GOTPAGEOFF]
Lloh22:
ldrsw x10, [x10]
Lloh23:
adrp x11, _O_APPEND@GOTPAGE
Lloh24:
ldr x11, [x11, _O_APPEND@GOTPAGEOFF]
Lloh25:
ldrsw x11, [x11]
tst x9, x10
csel x10, xzr, x11, eq
orr x8, x10, x8
Lloh26:
adrp x10, _LINUX_O_SYNC@GOTPAGE
Lloh27:
ldr x10, [x10, _LINUX_O_SYNC@GOTPAGEOFF]
Lloh28:
ldrsw x10, [x10]
Lloh29:
adrp x11, _O_FSYNC@GOTPAGE
Lloh30:
ldr x11, [x11, _O_FSYNC@GOTPAGEOFF]
Lloh31:
ldrsw x11, [x11]
tst x9, x10
csel x10, xzr, x11, eq
orr x8, x8, x10
Lloh32:
adrp x10, _LINUX_FASYNC@GOTPAGE
Lloh33:
ldr x10, [x10, _LINUX_FASYNC@GOTPAGEOFF]
Lloh34:
ldrsw x10, [x10]
Lloh35:
adrp x11, _O_ASYNC@GOTPAGE
Lloh36:
ldr x11, [x11, _O_ASYNC@GOTPAGEOFF]
Lloh37:
ldrsw x11, [x11]
tst x9, x10
csel x9, xzr, x11, eq
orr x3, x8, x9
Lloh38:
adrp x8, _F_SETFL@GOTPAGE
Lloh39:
ldr x8, [x8, _F_SETFL@GOTPAGEOFF]
ldr w1, [x20, #16]
Lloh40:
ldr w2, [x8]
b LBB0_24
LBB0_12:
ldr w1, [x20, #16]
Lloh41:
adrp x8, _F_SETFD@GOTPAGE
Lloh42:
ldr x8, [x8, _F_SETFD@GOTPAGEOFF]
b LBB0_23
LBB0_13:
Lloh43:
adrp x8, _F_GETOWN@GOTPAGE
Lloh44:
ldr x8, [x8, _F_GETOWN@GOTPAGEOFF]
b LBB0_20
LBB0_14:
ldr x0, [x20, #8]
mov x1, sp
mov w2, #4
bl _copyin
cbnz w0, LBB0_39
; %bb.15:
mov x0, sp
add x1, sp, #8
bl _linux_to_bsd_flock
ldr w1, [x20, #16]
Lloh45:
adrp x8, _F_GETLK@GOTPAGE
Lloh46:
ldr x8, [x8, _F_GETLK@GOTPAGEOFF]
Lloh47:
ldr w2, [x8]
add x3, sp, #8
mov x0, x19
bl _kern_fcntl
cbnz w0, LBB0_39
; %bb.16:
add x0, sp, #8
mov x1, sp
bl _bsd_to_linux_flock
ldr x1, [x20, #8]
mov x0, sp
mov w2, #4
bl _copyout
b LBB0_39
LBB0_17:
ldr w1, [x20, #16]
Lloh48:
adrp x8, _F_GETFL@GOTPAGE
Lloh49:
ldr x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh50:
ldr w2, [x8]
mov x0, x19
mov x3, #0
bl _kern_fcntl
ldr x8, [x19]
ldr w9, [x8]
str wzr, [x8]
Lloh51:
adrp x10, _O_RDONLY@GOTPAGE
Lloh52:
ldr x10, [x10, _O_RDONLY@GOTPAGEOFF]
Lloh53:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_26
; %bb.18:
Lloh54:
adrp x10, _LINUX_O_RDONLY@GOTPAGE
Lloh55:
ldr x10, [x10, _LINUX_O_RDONLY@GOTPAGEOFF]
Lloh56:
ldr w10, [x10]
str w10, [x8]
b LBB0_27
LBB0_19:
Lloh57:
adrp x8, _F_GETFD@GOTPAGE
Lloh58:
ldr x8, [x8, _F_GETFD@GOTPAGEOFF]
LBB0_20:
ldr w1, [x20, #16]
ldr w2, [x8]
mov x0, x19
mov x3, #0
b LBB0_25
LBB0_21:
ldr w1, [x20, #16]
Lloh59:
adrp x8, _F_DUPFD_CLOEXEC@GOTPAGE
Lloh60:
ldr x8, [x8, _F_DUPFD_CLOEXEC@GOTPAGEOFF]
b LBB0_23
LBB0_22:
ldr w1, [x20, #16]
Lloh61:
adrp x8, _F_DUPFD@GOTPAGE
Lloh62:
ldr x8, [x8, _F_DUPFD@GOTPAGEOFF]
LBB0_23:
ldr w2, [x8]
ldr x3, [x20, #8]
LBB0_24:
mov x0, x19
LBB0_25:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _kern_fcntl
LBB0_26:
mov w10, #0
LBB0_27:
Lloh63:
adrp x11, _O_WRONLY@GOTPAGE
Lloh64:
ldr x11, [x11, _O_WRONLY@GOTPAGEOFF]
Lloh65:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_29
; %bb.28:
Lloh66:
adrp x11, _LINUX_O_WRONLY@GOTPAGE
Lloh67:
ldr x11, [x11, _LINUX_O_WRONLY@GOTPAGEOFF]
Lloh68:
ldr w11, [x11]
orr w10, w10, w11
str w10, [x8]
LBB0_29:
Lloh69:
adrp x11, _O_RDWR@GOTPAGE
Lloh70:
ldr x11, [x11, _O_RDWR@GOTPAGEOFF]
Lloh71:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_31
; %bb.30:
Lloh72:
adrp x11, _LINUX_O_RDWR@GOTPAGE
Lloh73:
ldr x11, [x11, _LINUX_O_RDWR@GOTPAGEOFF]
Lloh74:
ldr w11, [x11]
orr w10, w10, w11
str w10, [x8]
LBB0_31:
Lloh75:
adrp x11, _O_NDELAY@GOTPAGE
Lloh76:
ldr x11, [x11, _O_NDELAY@GOTPAGEOFF]
Lloh77:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_33
; %bb.32:
Lloh78:
adrp x11, _LINUX_O_NONBLOCK@GOTPAGE
Lloh79:
ldr x11, [x11, _LINUX_O_NONBLOCK@GOTPAGEOFF]
Lloh80:
ldr w11, [x11]
orr w10, w10, w11
str w10, [x8]
LBB0_33:
Lloh81:
adrp x11, _O_APPEND@GOTPAGE
Lloh82:
ldr x11, [x11, _O_APPEND@GOTPAGEOFF]
Lloh83:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_35
; %bb.34:
Lloh84:
adrp x11, _LINUX_O_APPEND@GOTPAGE
Lloh85:
ldr x11, [x11, _LINUX_O_APPEND@GOTPAGEOFF]
Lloh86:
ldr w11, [x11]
orr w10, w10, w11
str w10, [x8]
LBB0_35:
Lloh87:
adrp x11, _O_FSYNC@GOTPAGE
Lloh88:
ldr x11, [x11, _O_FSYNC@GOTPAGEOFF]
Lloh89:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_37
; %bb.36:
Lloh90:
adrp x11, _LINUX_O_SYNC@GOTPAGE
Lloh91:
ldr x11, [x11, _LINUX_O_SYNC@GOTPAGEOFF]
Lloh92:
ldr w11, [x11]
orr w10, w10, w11
str w10, [x8]
LBB0_37:
Lloh93:
adrp x11, _O_ASYNC@GOTPAGE
Lloh94:
ldr x11, [x11, _O_ASYNC@GOTPAGEOFF]
Lloh95:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_39
; %bb.38:
Lloh96:
adrp x9, _LINUX_FASYNC@GOTPAGE
Lloh97:
ldr x9, [x9, _LINUX_FASYNC@GOTPAGEOFF]
Lloh98:
ldr w9, [x9]
orr w9, w10, w9
str w9, [x8]
LBB0_39:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_40:
ldr w1, [x20, #16]
Lloh99:
adrp x8, _F_SETOWN@GOTPAGE
Lloh100:
ldr x8, [x8, _F_SETOWN@GOTPAGEOFF]
Lloh101:
ldr w2, [x8]
ldr x3, [x20, #8]
b LBB0_10
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_13-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_17-LBB0_2)>>2
.byte (LBB0_19-LBB0_2)>>2
.byte (LBB0_21-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
; -- End function
.comm _F_DUPFD,4,2 ; @F_DUPFD
.comm _F_GETFD,4,2 ; @F_GETFD
.comm _F_SETFD,4,2 ; @F_SETFD
.comm _F_GETFL,4,2 ; @F_GETFL
.comm _O_RDONLY,4,2 ; @O_RDONLY
.comm _LINUX_O_RDONLY,4,2 ; @LINUX_O_RDONLY
.comm _O_WRONLY,4,2 ; @O_WRONLY
.comm _LINUX_O_WRONLY,4,2 ; @LINUX_O_WRONLY
.comm _O_RDWR,4,2 ; @O_RDWR
.comm _LINUX_O_RDWR,4,2 ; @LINUX_O_RDWR
.comm _O_NDELAY,4,2 ; @O_NDELAY
.comm _LINUX_O_NONBLOCK,4,2 ; @LINUX_O_NONBLOCK
.comm _O_APPEND,4,2 ; @O_APPEND
.comm _LINUX_O_APPEND,4,2 ; @LINUX_O_APPEND
.comm _O_FSYNC,4,2 ; @O_FSYNC
.comm _LINUX_O_SYNC,4,2 ; @LINUX_O_SYNC
.comm _O_ASYNC,4,2 ; @O_ASYNC
.comm _LINUX_FASYNC,4,2 ; @LINUX_FASYNC
.comm _LINUX_O_NDELAY,4,2 ; @LINUX_O_NDELAY
.comm _O_NONBLOCK,8,3 ; @O_NONBLOCK
.comm _F_SETFL,4,2 ; @F_SETFL
.comm _F_GETLK,4,2 ; @F_GETLK
.comm _F_SETLK,4,2 ; @F_SETLK
.comm _F_SETLKW,4,2 ; @F_SETLKW
.comm _F_GETOWN,4,2 ; @F_GETOWN
.comm _cap_fcntl_rights,4,2 ; @cap_fcntl_rights
.comm _DTYPE_PIPE,4,2 ; @DTYPE_PIPE
.comm _EINVAL,4,2 ; @EINVAL
.comm _F_SETOWN,4,2 ; @F_SETOWN
.comm _F_DUPFD_CLOEXEC,4,2 ; @F_DUPFD_CLOEXEC
.comm _LINUX_O_DIRECT,4,2 ; @LINUX_O_DIRECT
.comm _LINUX_O_NOFOLLOW,4,2 ; @LINUX_O_NOFOLLOW
.comm _O_DIRECT,4,2 ; @O_DIRECT
.comm _O_NOFOLLOW,4,2 ; @O_NOFOLLOW
.no_dead_strip _fcntl_common
.subsections_via_symbols
| AnghaBench/freebsd/sys/compat/linux/extr_linux_file.c_fcntl_common.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function empress_streamoff
_empress_streamoff: ## @empress_streamoff
.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
popq %rbp
jmp _videobuf_streamoff ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _empress_streamoff
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function empress_streamoff
_empress_streamoff: ; @empress_streamoff
.cfi_startproc
; %bb.0:
ldr x0, [x0]
b _videobuf_streamoff
.cfi_endproc
; -- End function
.no_dead_strip _empress_streamoff
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/saa7134/extr_saa7134-empress.c_empress_streamoff.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function e1000e_flush_lpic
_e1000e_flush_lpic: ## @e1000e_flush_lpic
.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
callq _pci_get_drvdata
movq %rax, %r14
movq %rax, %rdi
callq _netdev_priv
movq %rax, %rbx
movl (%r14), %edi
callq _pm_runtime_get_sync
movq %rbx, %rdi
callq *8(%rbx)
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _LPIC@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _er32
movq _E1000_LPIC_LPIET_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
sarl %cl, %eax
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _pr_info
movq %rbx, %rdi
callq *(%rbx)
LBB0_2:
movl (%r14), %edi
popq %rbx
popq %r14
popq %rbp
jmp _pm_runtime_put_sync ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EEE TX LPI TIMER: %08X\n"
.comm _LPIC,4,2 ## @LPIC
.comm _E1000_LPIC_LPIET_SHIFT,4,2 ## @E1000_LPIC_LPIET_SHIFT
.no_dead_strip _e1000e_flush_lpic
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function e1000e_flush_lpic
_e1000e_flush_lpic: ; @e1000e_flush_lpic
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _pci_get_drvdata
mov x19, x0
bl _netdev_priv
mov x20, x0
ldr w0, [x19]
bl _pm_runtime_get_sync
ldr x8, [x20, #8]
mov x0, x20
blr x8
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _LPIC@GOTPAGE
Lloh1:
ldr x8, [x8, _LPIC@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _er32
Lloh3:
adrp x8, _E1000_LPIC_LPIET_SHIFT@GOTPAGE
Lloh4:
ldr x8, [x8, _E1000_LPIC_LPIET_SHIFT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
asr w1, w0, w8
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _pr_info
ldr x8, [x20]
mov x0, x20
blr x8
LBB0_2:
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pm_runtime_put_sync
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "EEE TX LPI TIMER: %08X\n"
.comm _LPIC,4,2 ; @LPIC
.comm _E1000_LPIC_LPIET_SHIFT,4,2 ; @E1000_LPIC_LPIET_SHIFT
.no_dead_strip _e1000e_flush_lpic
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000e_flush_lpic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pm80x_rtc_alarm_irq_enable
_pm80x_rtc_alarm_irq_enable: ## @pm80x_rtc_alarm_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
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _dev_get_drvdata
testl %ebx, %ebx
movl (%rax), %edi
movq _PM800_RTC_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _PM800_ALARM1_EN@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmovnel %edx, %ebx
movl %ebx, %ecx
callq _regmap_update_bits
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PM800_RTC_CONTROL,4,2 ## @PM800_RTC_CONTROL
.comm _PM800_ALARM1_EN,4,2 ## @PM800_ALARM1_EN
.no_dead_strip _pm80x_rtc_alarm_irq_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pm80x_rtc_alarm_irq_enable
_pm80x_rtc_alarm_irq_enable: ; @pm80x_rtc_alarm_irq_enable
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _dev_get_drvdata
ldr w0, [x0]
Lloh0:
adrp x8, _PM800_RTC_CONTROL@GOTPAGE
Lloh1:
ldr x8, [x8, _PM800_RTC_CONTROL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _PM800_ALARM1_EN@GOTPAGE
Lloh4:
ldr x8, [x8, _PM800_ALARM1_EN@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
cmp w19, #0
csel w3, wzr, w2, eq
bl _regmap_update_bits
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PM800_RTC_CONTROL,4,2 ; @PM800_RTC_CONTROL
.comm _PM800_ALARM1_EN,4,2 ; @PM800_ALARM1_EN
.no_dead_strip _pm80x_rtc_alarm_irq_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/rtc/extr_rtc-88pm80x.c_pm80x_rtc_alarm_irq_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dcb_outp ## -- Begin function dcb_outp
.p2align 4, 0x90
_dcb_outp: ## @dcb_outp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %r14
movl %esi, %ebx
leaq -24(%rbp), %rax
leaq -20(%rbp), %rcx
movq %rdx, %rsi
movq %rax, %rdx
movq %r14, %r8
callq _dcb_table
xorl %ecx, %ecx
testl %eax, %eax
je LBB0_3
## %bb.1:
cmpl %ebx, -20(%rbp)
jle LBB0_3
## %bb.2:
addl -24(%rbp), %eax
imull (%r14), %ebx
addl %eax, %ebx
movl %ebx, %ecx
LBB0_3:
movl %ecx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dcb_outp ; -- Begin function dcb_outp
.p2align 2
_dcb_outp: ; @dcb_outp
.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, x3
mov x8, x2
mov x20, x1
add x2, sp, #12
add x3, sp, #8
mov x1, x8
mov x4, x19
bl _dcb_table
mov x8, x0
mov w0, #0
cbz w8, LBB0_3
; %bb.1:
ldr w9, [sp, #8]
cmp w9, w20
b.le LBB0_3
; %bb.2:
ldr w9, [sp, #12]
add w8, w9, w8
ldr w9, [x19]
madd w0, w9, w20, w8
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_dcb.c_dcb_outp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_key_to_report ## -- Begin function add_key_to_report
.p2align 4, 0x90
_add_key_to_report: ## @add_key_to_report
.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 _add_key_byte ## TAILCALL
.cfi_endproc
## -- End function
.comm _keyboard_protocol,8,3 ## @keyboard_protocol
.comm _keymap_config,8,3 ## @keymap_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_key_to_report ; -- Begin function add_key_to_report
.p2align 2
_add_key_to_report: ; @add_key_to_report
.cfi_startproc
; %bb.0:
b _add_key_byte
.cfi_endproc
; -- End function
.comm _keyboard_protocol,8,3 ; @keyboard_protocol
.comm _keymap_config,8,3 ; @keymap_config
.subsections_via_symbols
| AnghaBench/qmk_firmware/tmk_core/common/extr_report.c_add_key_to_report.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function file_hash
_file_hash: ## @file_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _NFS2_FHSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_1
## %bb.2:
movq (%rdi), %rcx
cmpl $4, %eax
jae LBB0_4
## %bb.3:
xorl %edx, %edx
xorl %esi, %esi
jmp LBB0_11
LBB0_1:
xorl %esi, %esi
jmp LBB0_12
LBB0_4:
movl %eax, %edx
andl $-4, %edx
leaq -4(%rdx), %rsi
movq %rsi, %r8
shrq $2, %r8
incq %r8
testq %rsi, %rsi
je LBB0_5
## %bb.6:
movq %r8, %rsi
andq $-2, %rsi
pxor %xmm0, %xmm0
xorl %edi, %edi
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movdqu (%rcx,%rdi,8), %xmm2
movdqu 16(%rcx,%rdi,8), %xmm3
movdqu 32(%rcx,%rdi,8), %xmm4
movdqu 48(%rcx,%rdi,8), %xmm5
pshufd $232, %xmm2, %xmm2 ## xmm2 = xmm2[0,2,2,3]
paddd %xmm0, %xmm2
pshufd $232, %xmm3, %xmm3 ## xmm3 = xmm3[0,2,2,3]
paddd %xmm1, %xmm3
pshufd $232, %xmm4, %xmm0 ## xmm0 = xmm4[0,2,2,3]
paddd %xmm2, %xmm0
pshufd $232, %xmm5, %xmm1 ## xmm1 = xmm5[0,2,2,3]
paddd %xmm3, %xmm1
addq $8, %rdi
addq $-2, %rsi
jne LBB0_7
## %bb.8:
testb $1, %r8b
je LBB0_10
LBB0_9:
movdqu (%rcx,%rdi,8), %xmm2
movdqu 16(%rcx,%rdi,8), %xmm3
pshufd $232, %xmm2, %xmm2 ## xmm2 = xmm2[0,2,2,3]
paddd %xmm2, %xmm0
pshufd $232, %xmm3, %xmm2 ## xmm2 = xmm3[0,2,2,3]
paddd %xmm2, %xmm1
LBB0_10:
paddd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %esi
cmpq %rax, %rdx
je LBB0_12
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
addl (%rcx,%rdx,8), %esi
incq %rdx
cmpq %rdx, %rax
jne LBB0_11
LBB0_12:
movq _FILE_NRHASH@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
andl %esi, %eax
popq %rbp
retq
LBB0_5:
pxor %xmm0, %xmm0
xorl %edi, %edi
pxor %xmm1, %xmm1
testb $1, %r8b
jne LBB0_9
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _NFS2_FHSIZE,4,2 ## @NFS2_FHSIZE
.comm _FILE_NRHASH,4,2 ## @FILE_NRHASH
.no_dead_strip _file_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function file_hash
_file_hash: ; @file_hash
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _NFS2_FHSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _NFS2_FHSIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
ldr x9, [x0]
cmp w8, #8
b.hs LBB0_4
; %bb.2:
mov x10, #0
mov w11, #0
b LBB0_7
LBB0_3:
mov w11, #0
b LBB0_9
LBB0_4:
and x10, x8, #0xfffffff8
movi.2d v0, #0000000000000000
add x11, x9, #32
mov x12, x10
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldp q4, q5, [x11, #-32]
ldp q6, q7, [x11], #64
xtn.2s v4, v4
xtn.2s v5, v5
xtn.2s v6, v6
xtn.2s v7, v7
add.2s v0, v0, v4
add.2s v1, v1, v5
add.2s v2, v2, v6
add.2s v3, v3, v7
subs x12, x12, #8
b.ne LBB0_5
; %bb.6:
add.2s v0, v1, v0
add.2s v0, v2, v0
add.2s v0, v3, v0
addp.2s v0, v0, v0
fmov w11, s0
cmp x10, x8
b.eq LBB0_9
LBB0_7:
add x9, x9, x10, lsl #3
sub x8, x8, x10
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9], #8
add w11, w11, w10
subs x8, x8, #1
b.ne LBB0_8
LBB0_9:
Lloh3:
adrp x8, _FILE_NRHASH@GOTPAGE
Lloh4:
ldr x8, [x8, _FILE_NRHASH@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
sub w8, w8, #1
and w0, w8, w11
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _NFS2_FHSIZE,4,2 ; @NFS2_FHSIZE
.comm _FILE_NRHASH,4,2 ; @FILE_NRHASH
.no_dead_strip _file_hash
.subsections_via_symbols
| AnghaBench/linux/fs/lockd/extr_svcsubs.c_file_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function enic_set_affinity_hint
_enic_set_affinity_hint: ## @enic_set_affinity_hint
.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
cmpl $0, (%rdi)
js LBB0_9
## %bb.1:
xorl %r14d, %r14d
leaq L_.str(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
leaq 1(%r14), %rax
movslq (%rbx), %rcx
cmpq %rcx, %r14
movq %rax, %r14
jge LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r14d, %esi
callq _enic_is_err_intr
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movl %r14d, %esi
callq _enic_is_notify_intr
testq %rax, %rax
jne LBB0_8
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rax
movl (%rax,%r14,4), %edi
callq _cpumask_available
testq %rax, %rax
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rax
movl (%rax,%r14,4), %edi
callq _cpumask_empty
testq %rax, %rax
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rax
movq 24(%rbx), %rcx
movl (%rcx,%r14,4), %edi
movl (%rax,%r14,4), %esi
callq _irq_set_affinity_hint
testl %eax, %eax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl 16(%rbx), %edi
movq %r15, %rsi
movl %eax, %edx
callq _netdev_warn
jmp LBB0_8
LBB0_9:
cmpl $0, 4(%rbx)
jle LBB0_15
## %bb.10:
xorl %r14d, %r14d
jmp LBB0_11
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
incl %r14d
cmpl 4(%rbx), %r14d
jge LBB0_15
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r14d, %esi
callq _enic_msix_wq_intr
movq 8(%rbx), %rcx
movslq %eax, %r15
movl (%rcx,%r15,4), %edi
callq _cpumask_available
testq %rax, %rax
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx), %rax
movl (%rax,%r15,4), %edi
callq _cpumask_empty
testq %rax, %rax
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movl 16(%rbx), %edi
movq 8(%rbx), %rax
movl (%rax,%r15,4), %esi
movl %r14d, %edx
callq _netif_set_xps_queue
jmp LBB0_14
LBB0_15:
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 "irq_set_affinity_hint failed, err %d\n"
.no_dead_strip _enic_set_affinity_hint
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function enic_set_affinity_hint
_enic_set_affinity_hint: ; @enic_set_affinity_hint
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w8, [x0]
tbnz w8, #31, LBB0_9
; %bb.1:
mov x20, #0 ; =0x0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x20, #1
ldrsw x9, [x19]
cmp x20, x9
mov x20, x8
b.ge LBB0_9
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _enic_is_err_intr
cbz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x20
bl _enic_is_notify_intr
cbnz x0, LBB0_2
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x20, lsl #2]
bl _cpumask_available
cbz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x20, lsl #2]
bl _cpumask_empty
cbnz x0, LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #24]
ldr w0, [x8, x20, lsl #2]
ldr x8, [x19, #8]
ldr w1, [x8, x20, lsl #2]
bl _irq_set_affinity_hint
cbz w0, LBB0_2
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov x2, x0
ldr w0, [x19, #16]
mov x1, x21
bl _netdev_warn
b LBB0_2
LBB0_9:
ldr w8, [x19, #4]
cmp w8, #1
b.lt LBB0_15
; %bb.10:
mov w20, #0 ; =0x0
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add w20, w20, #1
ldr w8, [x19, #4]
cmp w20, w8
b.ge LBB0_15
LBB0_12: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _enic_msix_wq_intr
mov x21, x0
ldr x8, [x19, #8]
ldr w0, [x8, w0, sxtw #2]
bl _cpumask_available
cbz x0, LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, w21, sxtw #2]
bl _cpumask_empty
cbnz x0, LBB0_11
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
ldr w0, [x19, #16]
ldr x8, [x19, #8]
ldr w1, [x8, w21, sxtw #2]
mov x2, x20
bl _netif_set_xps_queue
b LBB0_11
LBB0_15:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "irq_set_affinity_hint failed, err %d\n"
.no_dead_strip _enic_set_affinity_hint
.subsections_via_symbols
| assembly_file_129685.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _MSSTYLES_GetPropertyBool ## -- Begin function MSSTYLES_GetPropertyBool
.p2align 4, 0x90
_MSSTYLES_GetPropertyBool: ## @MSSTYLES_GetPropertyBool
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rsi)
movq (%rdi), %rax
movb (%rax), %al
orb $32, %al
cmpb $116, %al
jne LBB0_2
## %bb.1:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rsi)
LBB0_2:
movq _S_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.comm _S_OK,4,2 ## @S_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _MSSTYLES_GetPropertyBool ; -- Begin function MSSTYLES_GetPropertyBool
.p2align 2
_MSSTYLES_GetPropertyBool: ; @MSSTYLES_GetPropertyBool
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1]
ldr x8, [x0]
ldrb w8, [x8]
orr w8, w8, #0x20
cmp w8, #116
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x1]
LBB0_2:
Lloh6:
adrp x8, _S_OK@GOTPAGE
Lloh7:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.comm _S_OK,4,2 ; @S_OK
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/uxtheme/extr_msstyles.c_MSSTYLES_GetPropertyBool.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function yui_viewer_init
_yui_viewer_init: ## @yui_viewer_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _GTK_WIDGET
movq _GDK_BUTTON_PRESS_MASK@GOTPCREL(%rip), %rcx
movq _GDK_BUTTON_RELEASE_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
movl %eax, %edi
callq _gtk_widget_set_events
xorl %eax, %eax
callq _gtk_menu_new
movq %rax, %rbx
movq _GTK_STOCK_SAVE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _gtk_image_menu_item_new_from_stock
movq %rax, %r14
movq %rbx, %rdi
callq _GTK_MENU_SHELL
movl %eax, %edi
movq %r14, %rsi
callq _gtk_menu_shell_append
movq %rbx, %rdi
callq _gtk_widget_show_all
movq _my_popup_handler@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _G_CALLBACK
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movl %eax, %edx
movq %rbx, %rcx
callq _g_signal_connect_swapped
movq _yui_viewer_expose@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _G_CALLBACK
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
movl %eax, %edx
xorl %ecx, %ecx
callq _g_signal_connect
movq _yui_viewer_save@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _G_CALLBACK
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
movl %eax, %edx
movq %r15, %rcx
callq _g_signal_connect_swapped
movq $0, (%r15)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GDK_BUTTON_PRESS_MASK,4,2 ## @GDK_BUTTON_PRESS_MASK
.comm _GDK_BUTTON_RELEASE_MASK,4,2 ## @GDK_BUTTON_RELEASE_MASK
.comm _GTK_STOCK_SAVE,4,2 ## @GTK_STOCK_SAVE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "button-press-event"
.comm _my_popup_handler,4,2 ## @my_popup_handler
L_.str.1: ## @.str.1
.asciz "expose-event"
.comm _yui_viewer_expose,4,2 ## @yui_viewer_expose
L_.str.2: ## @.str.2
.asciz "activate"
.comm _yui_viewer_save,4,2 ## @yui_viewer_save
.no_dead_strip _yui_viewer_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function yui_viewer_init
_yui_viewer_init: ; @yui_viewer_init
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _GTK_WIDGET
Lloh0:
adrp x8, _GDK_BUTTON_PRESS_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _GDK_BUTTON_PRESS_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _GDK_BUTTON_RELEASE_MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _GDK_BUTTON_RELEASE_MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w1, w9, w8
bl _gtk_widget_set_events
bl _gtk_menu_new
mov x20, x0
Lloh6:
adrp x8, _GTK_STOCK_SAVE@GOTPAGE
Lloh7:
ldr x8, [x8, _GTK_STOCK_SAVE@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
mov x1, #0
bl _gtk_image_menu_item_new_from_stock
mov x21, x0
mov x0, x20
bl _GTK_MENU_SHELL
mov x1, x21
bl _gtk_menu_shell_append
mov x0, x20
bl _gtk_widget_show_all
Lloh9:
adrp x8, _my_popup_handler@GOTPAGE
Lloh10:
ldr x8, [x8, _my_popup_handler@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _G_CALLBACK
mov x2, x0
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x3, x20
bl _g_signal_connect_swapped
Lloh14:
adrp x8, _yui_viewer_expose@GOTPAGE
Lloh15:
ldr x8, [x8, _yui_viewer_expose@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
bl _G_CALLBACK
mov x2, x0
Lloh17:
adrp x1, l_.str.1@PAGE
Lloh18:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
mov x3, #0
bl _g_signal_connect
Lloh19:
adrp x8, _yui_viewer_save@GOTPAGE
Lloh20:
ldr x8, [x8, _yui_viewer_save@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
bl _G_CALLBACK
mov x2, x0
Lloh22:
adrp x1, l_.str.2@PAGE
Lloh23:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
mov x3, x19
bl _g_signal_connect_swapped
str xzr, [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 AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.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 _GDK_BUTTON_PRESS_MASK,4,2 ; @GDK_BUTTON_PRESS_MASK
.comm _GDK_BUTTON_RELEASE_MASK,4,2 ; @GDK_BUTTON_RELEASE_MASK
.comm _GTK_STOCK_SAVE,4,2 ; @GTK_STOCK_SAVE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "button-press-event"
.comm _my_popup_handler,4,2 ; @my_popup_handler
l_.str.1: ; @.str.1
.asciz "expose-event"
.comm _yui_viewer_expose,4,2 ; @yui_viewer_expose
l_.str.2: ; @.str.2
.asciz "activate"
.comm _yui_viewer_save,4,2 ; @yui_viewer_save
.no_dead_strip _yui_viewer_init
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_yuiviewer.c_yui_viewer_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _body_die ## -- Begin function body_die
.p2align 4, 0x90
_body_die: ## @body_die
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _GIB_HEALTH@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, (%rdi)
jg LBB0_3
## %bb.1:
movq _g_blood@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
je LBB0_2
## %bb.4:
xorl %esi, %esi
popq %rbp
jmp _GibEntity ## TAILCALL
LBB0_2:
incq %rax
movq %rax, (%rdi)
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GIB_HEALTH,8,3 ## @GIB_HEALTH
.comm _g_blood,4,2 ## @g_blood
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _body_die ; -- Begin function body_die
.p2align 2
_body_die: ; @body_die
.cfi_startproc
; %bb.0:
ldr x9, [x0]
Lloh0:
adrp x8, _GIB_HEALTH@GOTPAGE
Lloh1:
ldr x8, [x8, _GIB_HEALTH@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x9, x8
b.gt LBB0_4
; %bb.1:
Lloh3:
adrp x9, _g_blood@GOTPAGE
Lloh4:
ldr x9, [x9, _g_blood@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cbz w9, LBB0_3
; %bb.2:
mov w1, #0
b _GibEntity
LBB0_3:
add x8, x8, #1
str x8, [x0]
LBB0_4:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _GIB_HEALTH,8,3 ; @GIB_HEALTH
.comm _g_blood,4,2 ; @g_blood
.subsections_via_symbols
| AnghaBench/lab/engine/code/game/extr_g_combat.c_body_die.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signalFlushedDb ## -- Begin function signalFlushedDb
.p2align 4, 0x90
_signalFlushedDb: ## @signalFlushedDb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _touchWatchedKeysOnFlush
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _trackingInvalidateKeysOnFlush ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signalFlushedDb ; -- Begin function signalFlushedDb
.p2align 2
_signalFlushedDb: ; @signalFlushedDb
.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 _touchWatchedKeysOnFlush
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _trackingInvalidateKeysOnFlush
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/redis/src/extr_db.c_signalFlushedDb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ar934x_nfc_read_page
_ar934x_nfc_read_page: ## @ar934x_nfc_read_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r15d
movl %ecx, %r13d
movq %rdx, -72(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %r12
callq _mtd_to_ar934x_nfc
movq %rax, %rbx
leaq L_.str(%rip), %rsi
movq %rax, %rdi
movl %r15d, %edx
movl %r13d, %ecx
callq _nfc_dbg
movq %rbx, %rdi
callq _ar934x_nfc_enable_hwecc
movq _NAND_CMD_READ0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 8(%r12), %r8d
movq %rbx, %rdi
xorl %edx, %edx
movl %r15d, %ecx
callq _ar934x_nfc_send_read
movl %eax, %r14d
movq %rbx, %rdi
callq _ar934x_nfc_disable_hwecc
testl %r14d, %r14d
jne LBB0_13
## %bb.1:
movq 16(%rbx), %rsi
movl 8(%r12), %edx
movq -72(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _memcpy
movq _AR934X_NFC_REG_ECC_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _ar934x_nfc_rr
movq _AR934X_NFC_ECC_CTRL_ERR_UNCORRECT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %esi, %edx
andl %eax, %edx
movq _AR934X_NFC_ECC_CTRL_ERR_CORRECT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %r13d, %edx
je LBB0_5
## %bb.2:
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %esi, -48(%rbp) ## 4-byte Spill
movl %eax, -52(%rbp) ## 4-byte Spill
movq _NAND_CMD_READ0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 8(%r12), %edx
movl 12(%r12), %r8d
movq %rbx, %rdi
movl %r15d, %ecx
callq _ar934x_nfc_send_read
movq %r14, %rcx
movl %eax, %r14d
testl %eax, %eax
jne LBB0_13
## %bb.3:
testl %r13d, %r13d
movq %rcx, %r14
movl -52(%rbp), %eax ## 4-byte Reload
movl -48(%rbp), %esi ## 4-byte Reload
movl -44(%rbp), %ecx ## 4-byte Reload
je LBB0_5
## %bb.4:
movq -64(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rdi
movq 16(%rbx), %rsi
movl 12(%r12), %edx
callq _memcpy
movl -44(%rbp), %ecx ## 4-byte Reload
movl -48(%rbp), %esi ## 4-byte Reload
movl -52(%rbp), %eax ## 4-byte Reload
LBB0_5:
testl %eax, %esi
je LBB0_9
## %bb.6:
movq (%rbx), %rdi
shlq $2, %rdi
addq 16(%rbx), %rdi
movq -64(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %esi
callq _is_all_ff
testl %eax, %eax
je LBB0_8
## %bb.7:
movq %r14, %rdi
movl 8(%r12), %esi
callq _is_all_ff
xorl %r14d, %r14d
testl %eax, %eax
jne LBB0_13
LBB0_8:
addq $4, %r12
xorl %r14d, %r14d
movl $1, %eax
jmp LBB0_12
LBB0_9:
testl %eax, %ecx
je LBB0_10
## %bb.11:
movq _AR934X_NFC_ECC_CTRL_ERR_OVER@GOTPCREL(%rip), %rcx
addq $8, %rbx
testl %eax, (%rcx)
movq -64(%rbp), %rax ## 8-byte Reload
cmovneq %rax, %rbx
movl 4(%rax), %eax
imull (%rbx), %eax
movl %eax, %r14d
LBB0_12:
addl %eax, (%r12)
jmp LBB0_13
LBB0_10:
xorl %r14d, %r14d
LBB0_13:
movl %r14d, %eax
addq $40, %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 "read_page: page:%d oob:%d\n"
.comm _NAND_CMD_READ0,4,2 ## @NAND_CMD_READ0
.comm _AR934X_NFC_REG_ECC_CTRL,4,2 ## @AR934X_NFC_REG_ECC_CTRL
.comm _AR934X_NFC_ECC_CTRL_ERR_UNCORRECT,4,2 ## @AR934X_NFC_ECC_CTRL_ERR_UNCORRECT
.comm _AR934X_NFC_ECC_CTRL_ERR_CORRECT,4,2 ## @AR934X_NFC_ECC_CTRL_ERR_CORRECT
.comm _AR934X_NFC_ECC_CTRL_ERR_OVER,4,2 ## @AR934X_NFC_ECC_CTRL_ERR_OVER
.no_dead_strip _ar934x_nfc_read_page
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ar934x_nfc_read_page
_ar934x_nfc_read_page: ; @ar934x_nfc_read_page
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x24, x4
mov x23, x3
mov x20, x2
mov x21, x1
mov x19, x0
bl _mtd_to_ar934x_nfc
mov x22, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x2, x24
mov x3, x23
bl _nfc_dbg
mov x0, x22
bl _ar934x_nfc_enable_hwecc
Lloh2:
adrp x27, _NAND_CMD_READ0@GOTPAGE
Lloh3:
ldr x27, [x27, _NAND_CMD_READ0@GOTPAGEOFF]
ldr w1, [x27]
ldr w4, [x19, #8]
mov x0, x22
mov w2, #0
mov x3, x24
bl _ar934x_nfc_send_read
mov x26, x0
mov x0, x22
bl _ar934x_nfc_disable_hwecc
cbnz w26, LBB0_13
; %bb.1:
ldr x1, [x22, #16]
ldr w2, [x19, #8]
mov x0, x20
bl _memcpy
Lloh4:
adrp x8, _AR934X_NFC_REG_ECC_CTRL@GOTPAGE
Lloh5:
ldr x8, [x8, _AR934X_NFC_REG_ECC_CTRL@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
mov x0, x22
bl _ar934x_nfc_rr
mov x25, x0
Lloh7:
adrp x8, _AR934X_NFC_ECC_CTRL_ERR_UNCORRECT@GOTPAGE
Lloh8:
ldr x8, [x8, _AR934X_NFC_ECC_CTRL_ERR_UNCORRECT@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
and w28, w8, w0
Lloh10:
adrp x8, _AR934X_NFC_ECC_CTRL_ERR_CORRECT@GOTPAGE
Lloh11:
ldr x8, [x8, _AR934X_NFC_ECC_CTRL_ERR_CORRECT@GOTPAGEOFF]
Lloh12:
ldr w26, [x8]
orr w8, w23, w28
cbz w8, LBB0_5
; %bb.2:
str w26, [sp, #12] ; 4-byte Folded Spill
ldr w1, [x27]
ldp w2, w4, [x19, #8]
mov x0, x22
mov x3, x24
bl _ar934x_nfc_send_read
mov x26, x0
cbnz w0, LBB0_13
; %bb.3:
ldr w26, [sp, #12] ; 4-byte Folded Reload
cbz w23, LBB0_5
; %bb.4:
ldr x0, [x21, #16]
ldr x1, [x22, #16]
ldr w2, [x19, #12]
bl _memcpy
LBB0_5:
cbz w28, LBB0_9
; %bb.6:
ldr x8, [x22, #16]
ldr x9, [x22]
add x0, x8, x9, lsl #2
ldr w1, [x21, #8]
bl _is_all_ff
cbz w0, LBB0_8
; %bb.7:
ldr w1, [x19, #8]
mov x0, x20
bl _is_all_ff
cbnz w0, LBB0_12
LBB0_8:
mov w26, #0
add x19, x19, #4
mov w8, #1
b LBB0_11
LBB0_9:
and w8, w26, w25
cbz w8, LBB0_12
; %bb.10:
Lloh13:
adrp x8, _AR934X_NFC_ECC_CTRL_ERR_OVER@GOTPAGE
Lloh14:
ldr x8, [x8, _AR934X_NFC_ECC_CTRL_ERR_OVER@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
add x9, x22, #8
tst w8, w25
csel x8, x9, x21, eq
ldr w8, [x8]
ldr w9, [x21, #4]
mul w8, w9, w8
mov x26, x8
LBB0_11:
ldr w9, [x19]
add w8, w9, w8
str w8, [x19]
b LBB0_13
LBB0_12:
mov w26, #0
LBB0_13:
mov x0, x26
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "read_page: page:%d oob:%d\n"
.comm _NAND_CMD_READ0,4,2 ; @NAND_CMD_READ0
.comm _AR934X_NFC_REG_ECC_CTRL,4,2 ; @AR934X_NFC_REG_ECC_CTRL
.comm _AR934X_NFC_ECC_CTRL_ERR_UNCORRECT,4,2 ; @AR934X_NFC_ECC_CTRL_ERR_UNCORRECT
.comm _AR934X_NFC_ECC_CTRL_ERR_CORRECT,4,2 ; @AR934X_NFC_ECC_CTRL_ERR_CORRECT
.comm _AR934X_NFC_ECC_CTRL_ERR_OVER,4,2 ; @AR934X_NFC_ECC_CTRL_ERR_OVER
.no_dead_strip _ar934x_nfc_read_page
.subsections_via_symbols
| AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_read_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function BEGIN_IMC0
_BEGIN_IMC0: ## @BEGIN_IMC0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shll $16, %ecx
shll $13, %esi
sarl $2, %edx
orl %edx, %esi
orl %ecx, %esi
orl $-2147483648, %esi ## imm = 0x80000000
popq %rbp
jmp _OUT_RING ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _BEGIN_IMC0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function BEGIN_IMC0
_BEGIN_IMC0: ; @BEGIN_IMC0
.cfi_startproc
; %bb.0:
lsl w8, w1, #13
orr w8, w8, w2, asr #2
orr w8, w8, w3, lsl #16
orr w1, w8, #0x80000000
b _OUT_RING
.cfi_endproc
; -- End function
.no_dead_strip _BEGIN_IMC0
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_dma.h_BEGIN_IMC0.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ossl_ecdsa_sign_setup ## -- Begin function ossl_ecdsa_sign_setup
.p2align 4, 0x90
_ossl_ecdsa_sign_setup: ## @ossl_ecdsa_sign_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %r8d, %r8d
xorl %r9d, %r9d
popq %rbp
jmp _ecdsa_sign_setup ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ossl_ecdsa_sign_setup ; -- Begin function ossl_ecdsa_sign_setup
.p2align 2
_ossl_ecdsa_sign_setup: ; @ossl_ecdsa_sign_setup
.cfi_startproc
; %bb.0:
mov x4, #0
mov w5, #0
b _ecdsa_sign_setup
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecdsa_ossl.c_ossl_ecdsa_sign_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ctl_work_thread
_ctl_work_thread: ## @ctl_work_thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -56(%rbp) ## 8-byte Spill
movq 32(%rdi), %rbx
leaq L_.str(%rip), %rdi
callq _CTL_DEBUG_PRINT
movq _curthread@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _thread_lock
movl (%r14), %edi
movq _PUSER@GOTPCREL(%rip), %rax
movq (%rax), %rsi
decq %rsi
callq _sched_prio
movl (%r14), %edi
callq _thread_unlock
movq %rbx, -64(%rbp) ## 8-byte Spill
cmpl $0, (%rbx)
je LBB0_1
LBB0_6:
movq -56(%rbp), %rax ## 8-byte Reload
movq $0, (%rax)
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kthread_exit ## TAILCALL
LBB0_1:
movq -56(%rbp), %rax ## 8-byte Reload
leaq 8(%rax), %r13
leaq 24(%rax), %r12
leaq 20(%rax), %r14
leaq 16(%rax), %rbx
addq $12, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r14, -48(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %rbx
movq _links@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _STAILQ_REMOVE_HEAD
movq %r13, %rdi
callq _mtx_unlock
movq %rbx, %rdi
callq _ctl_handle_isc
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rbx
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax)
jne LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r15
movq %r13, %rdi
callq _mtx_lock
movq %r12, %rdi
callq _STAILQ_FIRST
testq %rax, %rax
jne LBB0_3
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _STAILQ_FIRST
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %rbx
movq _links@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _STAILQ_REMOVE_HEAD
movq %r13, %rdi
callq _mtx_unlock
movq %rbx, %rdi
callq _ctl_process_done
jmp LBB0_4
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rbx
movq %r15, %rdi
callq _STAILQ_FIRST
testq %rax, %rax
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r14
movq _links@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _STAILQ_REMOVE_HEAD
movq %r13, %rdi
callq _mtx_unlock
movq (%r14), %rax
movq _CTL_IO_TASK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _ctl_run_task
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_5
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _STAILQ_FIRST
testq %rax, %rax
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r14
movq _links@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _STAILQ_REMOVE_HEAD
movq %r13, %rdi
callq _mtx_unlock
movq %r14, %rdi
callq _ctl_scsiio
movq _CTL_RETVAL_COMPLETE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
movq -48(%rbp), %r14 ## 8-byte Reload
movq %r15, %rbx
je LBB0_5
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.1(%rip), %rdi
callq _CTL_DEBUG_PRINT
jmp LBB0_5
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
callq _ctl_scsiio_precheck
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_5
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movq _PDROP@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
leaq L_.str.2(%rip), %rcx
xorl %r8d, %r8d
callq _mtx_sleep
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ctl_work_thread starting\n"
.comm _curthread,4,2 ## @curthread
.comm _PUSER,8,3 ## @PUSER
.comm _links,4,2 ## @links
.comm _CTL_IO_TASK,8,3 ## @CTL_IO_TASK
.comm _CTL_RETVAL_COMPLETE,4,2 ## @CTL_RETVAL_COMPLETE
L_.str.1: ## @.str.1
.asciz "ctl_scsiio failed\n"
.comm _PDROP,4,2 ## @PDROP
L_.str.2: ## @.str.2
.asciz "-"
.no_dead_strip _ctl_work_thread
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ctl_work_thread
_ctl_work_thread: ; @ctl_work_thread
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldr x20, [x0, #32]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _CTL_DEBUG_PRINT
Lloh2:
adrp x21, _curthread@GOTPAGE
Lloh3:
ldr x21, [x21, _curthread@GOTPAGEOFF]
ldr w0, [x21]
bl _thread_lock
ldr w0, [x21]
Lloh4:
adrp x8, _PUSER@GOTPAGE
Lloh5:
ldr x8, [x8, _PUSER@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
sub x1, x8, #1
bl _sched_prio
ldr w0, [x21]
bl _thread_unlock
ldr w8, [x20]
cbz w8, LBB0_2
LBB0_1:
str xzr, [x19]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _kthread_exit
LBB0_2:
add x21, x19, #8
add x22, x19, #24
add x23, x19, #20
add x24, x19, #16
add x25, x19, #12
Lloh7:
adrp x27, _links@GOTPAGE
Lloh8:
ldr x27, [x27, _links@GOTPAGEOFF]
Lloh9:
adrp x26, _CTL_IO_TASK@GOTPAGE
Lloh10:
ldr x26, [x26, _CTL_IO_TASK@GOTPAGEOFF]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x28, x0
ldr w1, [x27]
mov x0, x22
bl _STAILQ_REMOVE_HEAD
mov x0, x21
bl _mtx_unlock
mov x0, x28
bl _ctl_handle_isc
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x20]
cbnz w8, LBB0_1
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _mtx_lock
mov x0, x22
bl _STAILQ_FIRST
cbnz x0, LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
bl _STAILQ_FIRST
cbz x0, LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x28, x0
ldr w1, [x27]
mov x0, x23
bl _STAILQ_REMOVE_HEAD
mov x0, x21
bl _mtx_unlock
mov x0, x28
bl _ctl_process_done
b LBB0_4
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
mov x0, x24
bl _STAILQ_FIRST
cbz x0, LBB0_11
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x28, x0
ldr w1, [x27]
mov x0, x24
bl _STAILQ_REMOVE_HEAD
mov x0, x21
bl _mtx_unlock
ldr x8, [x28]
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_14
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
mov x0, x28
bl _ctl_run_task
b LBB0_4
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
bl _STAILQ_FIRST
cbz x0, LBB0_15
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
mov x28, x0
ldr w1, [x27]
mov x0, x25
bl _STAILQ_REMOVE_HEAD
mov x0, x21
bl _mtx_unlock
mov x0, x28
bl _ctl_scsiio
Lloh11:
adrp x8, _CTL_RETVAL_COMPLETE@GOTPAGE
Lloh12:
ldr x8, [x8, _CTL_RETVAL_COMPLETE@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_4
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
Lloh14:
adrp x0, l_.str.1@PAGE
Lloh15:
add x0, x0, l_.str.1@PAGEOFF
bl _CTL_DEBUG_PRINT
b LBB0_4
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
mov x0, x20
mov x1, x28
bl _ctl_scsiio_precheck
b LBB0_4
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
Lloh16:
adrp x8, _PDROP@GOTPAGE
Lloh17:
ldr x8, [x8, _PDROP@GOTPAGEOFF]
Lloh18:
ldr w2, [x8]
mov x0, x19
mov x1, x21
Lloh19:
adrp x3, l_.str.2@PAGE
Lloh20:
add x3, x3, l_.str.2@PAGEOFF
mov w4, #0
bl _mtx_sleep
b LBB0_4
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ctl_work_thread starting\n"
.comm _curthread,4,2 ; @curthread
.comm _PUSER,8,3 ; @PUSER
.comm _links,4,2 ; @links
.comm _CTL_IO_TASK,8,3 ; @CTL_IO_TASK
.comm _CTL_RETVAL_COMPLETE,4,2 ; @CTL_RETVAL_COMPLETE
l_.str.1: ; @.str.1
.asciz "ctl_scsiio failed\n"
.comm _PDROP,4,2 ; @PDROP
l_.str.2: ; @.str.2
.asciz "-"
.no_dead_strip _ctl_work_thread
.subsections_via_symbols
| AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_work_thread.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spectral_bitmap_weight
_spectral_bitmap_weight: ## @spectral_bitmap_weight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
andl $63, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _spectral_bitmap_weight
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spectral_bitmap_weight
_spectral_bitmap_weight: ; @spectral_bitmap_weight
.cfi_startproc
; %bb.0:
ldr w8, [x0]
and w0, w8, #0x3f
ret
.cfi_endproc
; -- End function
.no_dead_strip _spectral_bitmap_weight
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_common-spectral.h_spectral_bitmap_weight.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/116164.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hello ## -- Begin function hello
.p2align 4, 0x90
_hello: ## @hello
.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, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hello ; -- Begin function hello
.p2align 2
_hello: ; @hello
.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
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
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 "Hello %s\n"
.subsections_via_symbols
| the_stack_data/895982.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 alloc_init_skbufs
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_alloc_init_skbufs: ## @alloc_init_skbufs
.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
movl (%rdi), %r14d
movl 4(%rdi), %r15d
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
movq _GFP_KERNEL@GOTPCREL(%rip), %r13
movl (%r13), %edx
movl %r14d, %edi
movl $4, %esi
callq _kcalloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_9
## %bb.1:
movl (%r13), %edx
movl %r15d, %edi
movl $4, %esi
callq _kcalloc
movq %rax, 16(%rbx)
testq %rax, %rax
je LBB0_8
## %bb.2:
xorps %xmm0, %xmm0
movups %xmm0, 48(%rbx)
testq %r14, %r14
je LBB0_11
## %bb.3:
movl $1, %r15d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
leaq (,%r13,4), %rsi
addq 8(%rbx), %rsi
movl 40(%rbx), %edx
movq %rbx, %rdi
callq _tse_init_rx_buffer
testl %eax, %eax
jne LBB0_5
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
incq %r13
incq %r15
cmpq %r14, %r13
jne LBB0_4
LBB0_11:
xorps %xmm0, %xmm0
movups %xmm0, 24(%rbx)
xorl %eax, %eax
jmp LBB0_12
LBB0_5:
movl %eax, %r12d
testq %r13, %r13
je LBB0_7
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
leal -2(%r15), %esi
shlq $2, %rsi
addq 8(%rbx), %rsi
movq %rbx, %rdi
callq _tse_free_rx_buffer
decq %r15
cmpq $1, %r15
jg LBB0_6
LBB0_7:
movq 16(%rbx), %rdi
callq _kfree
LBB0_8:
movq 8(%rbx), %rdi
callq _kfree
LBB0_9:
movl %r12d, %eax
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.no_dead_strip _alloc_init_skbufs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function alloc_init_skbufs
_alloc_init_skbufs: ; @alloc_init_skbufs
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
ldp w20, w21, [x0]
Lloh2:
ldr w8, [x8]
neg w22, w8
Lloh3:
adrp x23, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
ldr w2, [x23]
mov x0, x20
mov w1, #4 ; =0x4
bl _kcalloc
str x0, [x19, #8]
cbz x0, LBB0_11
; %bb.1:
ldr w2, [x23]
mov x0, x21
mov w1, #4 ; =0x4
bl _kcalloc
str x0, [x19, #16]
cbz x0, LBB0_10
; %bb.2:
stp xzr, xzr, [x19, #48]
cbz w20, LBB0_6
; %bb.3:
mov x23, #0 ; =0x0
mov w21, #1 ; =0x1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x1, x8, x23, lsl #2
ldr w2, [x19, #40]
mov x0, x19
bl _tse_init_rx_buffer
cbnz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x23, x23, #1
add x21, x21, #1
cmp x23, x20
b.ne LBB0_4
LBB0_6:
mov w0, #0 ; =0x0
stp xzr, xzr, [x19, #24]
b LBB0_12
LBB0_7:
mov x22, x0
cbz x23, LBB0_9
LBB0_8: ; =>This Inner Loop Header: Depth=1
sub w8, w21, #2
ldr x9, [x19, #8]
add x1, x9, w8, uxtw #2
mov x0, x19
bl _tse_free_rx_buffer
sub x21, x21, #1
cmp x21, #1
b.gt LBB0_8
LBB0_9:
ldr x0, [x19, #16]
bl _kfree
LBB0_10:
ldr x0, [x19, #8]
bl _kfree
LBB0_11:
mov x0, x22
LBB0_12:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.no_dead_strip _alloc_init_skbufs
.subsections_via_symbols
| assembly_file_172870.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
leaq L_.str(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.5(%rip), %rdi
callq _puts
leaq L_str.6(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Two == 2 return %d\n\n"
L_.str.1: ## @.str.1
.asciz "TWO <= 1 return %d\n\n"
L_str: ## @str
.asciz "TWO equals 2\n"
L_str.5: ## @str.5
.asciz "Two is greater than 1\n"
L_str.6: ## @str.6
.asciz "Two is NOT equal to 3 and TWO greater than 1\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #1
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
str xzr, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh6:
adrp x0, l_str.5@PAGE
Lloh7:
add x0, x0, l_str.5@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_str.6@PAGE
Lloh9:
add x0, x0, l_str.6@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.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 "Two == 2 return %d\n\n"
l_.str.1: ; @.str.1
.asciz "TWO <= 1 return %d\n\n"
l_str: ; @str
.asciz "TWO equals 2\n"
l_str.5: ; @str.5
.asciz "Two is greater than 1\n"
l_str.6: ; @str.6
.asciz "Two is NOT equal to 3 and TWO greater than 1\n"
.subsections_via_symbols
| the_stack_data/413752.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aeth_set_msn
_aeth_set_msn: ## @aeth_set_msn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rax
addq 16(%rdi), %rax
movq (%rdi), %rcx
movq _rxe_opcode@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rdx,%rcx,8), %rcx
movq _RXE_AETH@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
addq (%rcx,%rdx,8), %rax
movq %rax, %rdi
popq %rbp
jmp ___aeth_set_msn ## TAILCALL
.cfi_endproc
## -- End function
.comm _rxe_opcode,8,3 ## @rxe_opcode
.comm _RXE_AETH,8,3 ## @RXE_AETH
.no_dead_strip _aeth_set_msn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aeth_set_msn
_aeth_set_msn: ; @aeth_set_msn
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _rxe_opcode@GOTPAGE
Lloh1:
ldr x8, [x8, _rxe_opcode@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x0]
ldr x8, [x8, x9, lsl #3]
Lloh3:
adrp x9, _RXE_AETH@GOTPAGE
Lloh4:
ldr x9, [x9, _RXE_AETH@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
ldp x9, x10, [x0, #8]
add x9, x9, x10
add x0, x9, x8
b ___aeth_set_msn
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _rxe_opcode,8,3 ; @rxe_opcode
.comm _RXE_AETH,8,3 ; @RXE_AETH
.no_dead_strip _aeth_set_msn
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe_hdr.h_aeth_set_msn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_expand_128
_test_expand_128: ## @test_expand_128
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $248, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movaps l___const.test_expand_128.key+48(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.test_expand_128.key+32(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.test_expand_128.key+16(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movaps l___const.test_expand_128.key(%rip), %xmm0
movaps %xmm0, -80(%rbp)
leaq l___const.test_expand_128.answer(%rip), %rsi
leaq -256(%rbp), %rbx
movl $176, %edx
movq %rbx, %rdi
callq _memcpy
movq %rbx, %rdi
callq _ARRAYCOUNT
leaq -80(%rbp), %rdi
movl $64, %esi
movq %rbx, %rdx
movl %eax, %ecx
callq _test_expand
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $248, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.test_expand_128.key
l___const.test_expand_128.key:
.long 43 ## 0x2b
.long 126 ## 0x7e
.long 21 ## 0x15
.long 22 ## 0x16
.long 40 ## 0x28
.long 174 ## 0xae
.long 210 ## 0xd2
.long 166 ## 0xa6
.long 171 ## 0xab
.long 247 ## 0xf7
.long 21 ## 0x15
.long 136 ## 0x88
.long 9 ## 0x9
.long 207 ## 0xcf
.long 79 ## 0x4f
.long 60 ## 0x3c
.p2align 4 ## @__const.test_expand_128.answer
l___const.test_expand_128.answer:
.long 729683222 ## 0x2b7e1516
.long 682545830 ## 0x28aed2a6
.long 2885096840 ## 0xabf71588
.long 164581180 ## 0x9cf4f3c
.long 2700803607 ## 0xa0fafe17
.long 2287217841 ## 0x88542cb1
.long 597899577 ## 0x23a33939
.long 711751173 ## 0x2a6c7605
.long 4072838642 ## 0xf2c295f2
.long 2056698179 ## 0x7a96b943
.long 1496678522 ## 0x5935807a
.long 1935275647 ## 0x7359f67f
.long 1031817085 ## 0x3d80477d
.long 1192689214 ## 0x4716fe3e
.long 505642564 ## 0x1e237e44
.long 1836746811 ## 0x6d7a883b
.long 4014253377 ## 0xef44a541
.long 2823969663 ## 0xa8525b7f
.long 3060868411 ## 0xb671253b
.long 3674975488 ## 0xdb0bad00
.long 3570517752 ## 0xd4d1c6f8
.long 2089000327 ## 0x7c839d87
.long 3404904636 ## 0xcaf2b8bc
.long 301536700 ## 0x11f915bc
.long 1837671290 ## 0x6d88a37a
.long 285949693 ## 0x110b3efd
.long 3690563137 ## 0xdbf98641
.long 3389035517 ## 0xca0093fd
.long 1314191118 ## 0x4e54f70e
.long 1600113139 ## 0x5f5fc9f3
.long 2225491890 ## 0x84a64fb2
.long 1319558223 ## 0x4ea6dc4f
.long 3939660577 ## 0xead27321
.long 3045964498 ## 0xb58dbad2
.long 824964448 ## 0x312bf560
.long 2139957551 ## 0x7f8d292f
.long 2893506291 ## 0xac7766f3
.long 435870753 ## 0x19fadc21
.long 684796225 ## 0x28d12941
.long 1465647214 ## 0x575c006e
.long 3491035560 ## 0xd014f9a8
.long 3387827593 ## 0xc9ee2589
.long 3779005640 ## 0xe13f0cc8
.long 3059944614 ## 0xb6630ca6
.no_dead_strip _test_expand_128
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_expand_128
_test_expand_128: ; @test_expand_128
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, l___const.test_expand_128.key@PAGE
Lloh4:
add x8, x8, l___const.test_expand_128.key@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [x29, #-96]
ldp q0, q1, [x8, #32]
stp q0, q1, [x29, #-64]
Lloh5:
adrp x8, l___const.test_expand_128.answer@PAGE
Lloh6:
add x8, x8, l___const.test_expand_128.answer@PAGEOFF
ldp q0, q1, [x8, #128]
stp q0, q1, [sp, #128]
ldr q0, [x8, #160]
str q0, [sp, #160]
ldp q0, q1, [x8, #64]
stp q0, q1, [sp, #64]
ldp q1, q0, [x8, #96]
stp q1, q0, [sp, #96]
ldp q0, q1, [x8]
stp q0, q1, [sp]
ldp q1, q0, [x8, #32]
stp q1, q0, [sp, #32]
mov x0, sp
bl _ARRAYCOUNT
mov x3, x0
sub x0, x29, #96
mov x2, sp
mov w1, #64
bl _test_expand
ldur x8, [x29, #-24]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x28, x27, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.test_expand_128.key
l___const.test_expand_128.key:
.long 43 ; 0x2b
.long 126 ; 0x7e
.long 21 ; 0x15
.long 22 ; 0x16
.long 40 ; 0x28
.long 174 ; 0xae
.long 210 ; 0xd2
.long 166 ; 0xa6
.long 171 ; 0xab
.long 247 ; 0xf7
.long 21 ; 0x15
.long 136 ; 0x88
.long 9 ; 0x9
.long 207 ; 0xcf
.long 79 ; 0x4f
.long 60 ; 0x3c
.p2align 2 ; @__const.test_expand_128.answer
l___const.test_expand_128.answer:
.long 729683222 ; 0x2b7e1516
.long 682545830 ; 0x28aed2a6
.long 2885096840 ; 0xabf71588
.long 164581180 ; 0x9cf4f3c
.long 2700803607 ; 0xa0fafe17
.long 2287217841 ; 0x88542cb1
.long 597899577 ; 0x23a33939
.long 711751173 ; 0x2a6c7605
.long 4072838642 ; 0xf2c295f2
.long 2056698179 ; 0x7a96b943
.long 1496678522 ; 0x5935807a
.long 1935275647 ; 0x7359f67f
.long 1031817085 ; 0x3d80477d
.long 1192689214 ; 0x4716fe3e
.long 505642564 ; 0x1e237e44
.long 1836746811 ; 0x6d7a883b
.long 4014253377 ; 0xef44a541
.long 2823969663 ; 0xa8525b7f
.long 3060868411 ; 0xb671253b
.long 3674975488 ; 0xdb0bad00
.long 3570517752 ; 0xd4d1c6f8
.long 2089000327 ; 0x7c839d87
.long 3404904636 ; 0xcaf2b8bc
.long 301536700 ; 0x11f915bc
.long 1837671290 ; 0x6d88a37a
.long 285949693 ; 0x110b3efd
.long 3690563137 ; 0xdbf98641
.long 3389035517 ; 0xca0093fd
.long 1314191118 ; 0x4e54f70e
.long 1600113139 ; 0x5f5fc9f3
.long 2225491890 ; 0x84a64fb2
.long 1319558223 ; 0x4ea6dc4f
.long 3939660577 ; 0xead27321
.long 3045964498 ; 0xb58dbad2
.long 824964448 ; 0x312bf560
.long 2139957551 ; 0x7f8d292f
.long 2893506291 ; 0xac7766f3
.long 435870753 ; 0x19fadc21
.long 684796225 ; 0x28d12941
.long 1465647214 ; 0x575c006e
.long 3491035560 ; 0xd014f9a8
.long 3387827593 ; 0xc9ee2589
.long 3779005640 ; 0xe13f0cc8
.long 3059944614 ; 0xb6630ca6
.no_dead_strip _test_expand_128
.subsections_via_symbols
| AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_testaes.c_test_expand_128.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fsm_search
_fsm_search: ## @fsm_search
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -44(%rbp) ## 4-byte Spill
movl %edi, %r12d
movq _FSM_ROOT_ADDRESS@GOTPCREL(%rip), %rax
movq (%rax), %r13
xorl %eax, %eax
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
movq %rax, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
xorl %r15d, %r15d
movl %r12d, %edi
movq %r13, %rsi
xorl %edx, %edx
callq _fsm_readbuf
movl %eax, %r14d
movl %eax, %edi
callq _BufferIsValid
testq %rax, %rax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movq _BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edi
callq _LockBuffer
xorl %edx, %edx
movq _FSM_BOTTOM_LEVEL@GOTPCREL(%rip), %r15
cmpq (%r15), %r13
sete %dl
movl %r14d, %edi
movl -44(%rbp), %esi ## 4-byte Reload
xorl %ecx, %ecx
callq _fsm_search_avail
cmpl $-1, %eax
je LBB0_4
## %bb.8: ## in Loop: Header=BB0_2 Depth=2
movl %eax, %ebx
movl %r14d, %edi
callq _UnlockReleaseBuffer
cmpq (%r15), %r13
je LBB0_9
## %bb.11: ## in Loop: Header=BB0_2 Depth=2
movq %r13, %rdi
movl %ebx, %esi
callq _fsm_get_child
movq %rax, %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %edi
callq _BufferGetPage
movl %eax, %edi
callq _fsm_get_max_avail
movl %eax, %r15d
movl %r14d, %edi
callq _UnlockReleaseBuffer
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq _FSM_ROOT_LEVEL@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %rdi
leaq -48(%rbp), %rsi
callq _fsm_get_parent
movl -48(%rbp), %edx
movl %r12d, %edi
movq %rax, %rsi
movl %r15d, %ecx
xorl %r8d, %r8d
callq _fsm_set_and_search
movq -56(%rbp), %rdx ## 8-byte Reload
leal 1(%rdx), %eax
movq _FSM_ROOT_ADDRESS@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
cmpl $10001, %edx ## imm = 0x2711
## kill: def $eax killed $eax def $rax
jb LBB0_1
LBB0_7:
movq _InvalidBlockNumber@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_10
LBB0_9:
movq %r13, %rdi
movl %ebx, %esi
callq _fsm_get_heap_blk
LBB0_10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FSM_ROOT_ADDRESS,8,3 ## @FSM_ROOT_ADDRESS
.comm _BUFFER_LOCK_SHARE,4,2 ## @BUFFER_LOCK_SHARE
.comm _FSM_BOTTOM_LEVEL,8,3 ## @FSM_BOTTOM_LEVEL
.comm _FSM_ROOT_LEVEL,8,3 ## @FSM_ROOT_LEVEL
.comm _InvalidBlockNumber,4,2 ## @InvalidBlockNumber
.no_dead_strip _fsm_search
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fsm_search
_fsm_search: ; @fsm_search
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
mov w25, #0
Lloh0:
adrp x24, _FSM_ROOT_ADDRESS@GOTPAGE
Lloh1:
ldr x24, [x24, _FSM_ROOT_ADDRESS@GOTPAGEOFF]
ldr x21, [x24]
mov w28, #10001
Lloh2:
adrp x26, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh3:
ldr x26, [x26, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh4:
adrp x27, _FSM_BOTTOM_LEVEL@GOTPAGE
Lloh5:
ldr x27, [x27, _FSM_BOTTOM_LEVEL@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x21
mov w2, #0
bl _fsm_readbuf
mov x22, x0
bl _BufferIsValid
cbz x0, LBB0_5
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr w1, [x26]
mov x0, x22
bl _LockBuffer
ldr x8, [x27]
cmp x21, x8
cset w2, eq
mov x0, x22
mov x1, x19
mov w3, #0
bl _fsm_search_avail
cmn w0, #1
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
mov x23, x0
mov x0, x22
bl _UnlockReleaseBuffer
ldr x8, [x27]
mov x0, x21
mov x1, x23
cmp x21, x8
b.eq LBB0_10
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
bl _fsm_get_child
mov x21, x0
b LBB0_1
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
mov w23, #0
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
mov x0, x22
bl _BufferGetPage
bl _fsm_get_max_avail
mov x23, x0
mov x0, x22
bl _UnlockReleaseBuffer
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
Lloh6:
adrp x8, _FSM_ROOT_LEVEL@GOTPAGE
Lloh7:
ldr x8, [x8, _FSM_ROOT_LEVEL@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x21, x8
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
add x1, sp, #12
mov x0, x21
bl _fsm_get_parent
mov x1, x0
ldr w2, [sp, #12]
mov x0, x20
mov x3, x23
mov w4, #0
bl _fsm_set_and_search
add w8, w25, #1
ldr x21, [x24]
cmp w25, w28
mov x25, x8
b.lo LBB0_1
LBB0_9:
Lloh9:
adrp x8, _InvalidBlockNumber@GOTPAGE
Lloh10:
ldr x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
b LBB0_11
LBB0_10:
bl _fsm_get_heap_blk
LBB0_11:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _FSM_ROOT_ADDRESS,8,3 ; @FSM_ROOT_ADDRESS
.comm _BUFFER_LOCK_SHARE,4,2 ; @BUFFER_LOCK_SHARE
.comm _FSM_BOTTOM_LEVEL,8,3 ; @FSM_BOTTOM_LEVEL
.comm _FSM_ROOT_LEVEL,8,3 ; @FSM_ROOT_LEVEL
.comm _InvalidBlockNumber,4,2 ; @InvalidBlockNumber
.no_dead_strip _fsm_search
.subsections_via_symbols
| AnghaBench/postgres/src/backend/storage/freespace/extr_freespace.c_fsm_search.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hb_value_incref ## -- Begin function hb_value_incref
.p2align 4, 0x90
_hb_value_incref: ## @hb_value_incref
.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 _json_incref ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hb_value_incref ; -- Begin function hb_value_incref
.p2align 2
_hb_value_incref: ; @hb_value_incref
.cfi_startproc
; %bb.0:
b _json_incref
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/HandBrake/libhb/extr_hb_dict.c_hb_value_incref.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dccp_hdr_set_ack
_dccp_hdr_set_ack: ## @dccp_hdr_set_ack
.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
movq $0, 8(%rdi)
callq _htons
movl %eax, 4(%rbx)
movl %r14d, %edi
callq _htonl
movl %eax, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _dccp_hdr_set_ack
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dccp_hdr_set_ack
_dccp_hdr_set_ack: ; @dccp_hdr_set_ack
.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
str xzr, [x0, #8]
bl _htons
str w0, [x20, #4]
mov x0, x19
bl _htonl
str w0, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _dccp_hdr_set_ack
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/dccp/extr_dccp.h_dccp_hdr_set_ack.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/25136457.c | stack |
.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/419124.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function bit_allocation
LCPI0_0:
.long 0x3e800000 ## float 0.25
LCPI0_4:
.long 0xe0ad78ec ## float -1.00000002E+20
LCPI0_5:
.long 0xc0000000 ## float -2
LCPI0_9:
.long 0x501502f9 ## float 1.0E+10
LCPI0_10:
.long 0x40000000 ## float 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_1:
.long 0xe0ad78ec ## float -1.00000002E+20
.long 0xe0ad78ec ## float -1.00000002E+20
.long 0xe0ad78ec ## float -1.00000002E+20
.long 0xe0ad78ec ## float -1.00000002E+20
LCPI0_8:
.long 0x60ad78ec ## float 1.00000002E+20
.long 0x60ad78ec ## float 1.00000002E+20
.long 0x60ad78ec ## float 1.00000002E+20
.long 0x60ad78ec ## float 1.00000002E+20
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI0_2:
.quad 0xc415af1d78b58c40 ## double -1.0E+20
LCPI0_3:
.quad 0xbfda8f5c28f5c28f ## double -0.41499999999999998
LCPI0_6:
.quad 0x4415af1d78b58c40 ## double 1.0E+20
LCPI0_7:
.quad 0x3ff95c28f5c28f5c ## double 1.585
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_bit_allocation: ## @bit_allocation
.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 $168, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $r8d killed $r8d def $r8
movq %r8, -208(%rbp) ## 8-byte Spill
movl %ecx, %ebx
movl %edx, %r15d
movq %rsi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _BANDS@GOTPCREL(%rip), %r13
movl (%r13), %r8d
testl %r8d, %r8d
jle LBB0_1
## %bb.4:
movq %rdi, -192(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movl $1, %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movss -4(%rax,%r12,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _FFMAX
movslq (%r13), %r8
decq %r12
cmpq %r8, %r12
jle LBB0_5
## %bb.2:
cmpl $1, %r8d
jle LBB0_3
## %bb.6:
movss %xmm0, -196(%rbp) ## 4-byte Spill
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movq (%rax,%r12,8), %rcx
testq %rcx, %rcx
jle LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq 24(%r14), %rax
movss (%rax,%r12,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -184(%rbp) ## 4-byte Spill
movq %rcx, %rdi
callq _log2f
movss -184(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
subss %xmm0, %xmm1
movq 16(%r14), %r11
movss %xmm1, (%r11,%r12,4)
incq %r12
movslq (%r13), %r8
leaq -1(%r8), %rax
cmpq %rax, %r12
jl LBB0_7
## %bb.10:
movq %r14, %rcx
movl %eax, -192(%rbp) ## 4-byte Spill
movss -196(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
jmp LBB0_11
LBB0_1:
xorps %xmm0, %xmm0
LBB0_3:
leal -1(%r8), %eax
movq %r14, %rcx
movq 16(%r14), %r11
movl %eax, -192(%rbp) ## 4-byte Spill
cltq
LBB0_11:
movl $-525502228, (%r11,%rax,4) ## imm = 0xE0AD78EC
testl %r8d, %r8d
movq %r11, -184(%rbp) ## 8-byte Spill
jle LBB0_18
## %bb.12:
mulss LCPI0_0(%rip), %xmm0
movq _band_tab@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
movq 32(%rcx), %rdi
movq _xTab@GOTPCREL(%rip), %rdx
movq (%rdx), %r9
movl %r8d, %r8d
movl (%rsi), %r14d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl %r14d, %r12d
movl 4(%rsi,%r13,4), %r14d
movl %r14d, %r11d
subl %r12d, %r11d
movl (%rdi,%r13,4), %edx
xorl %r12d, %r12d
cmpl %edx, %r11d
setne %r12b
negl %r12d
cmpl %edx, %r11d
movl $1, %r10d
cmovgl %r10d, %r12d
movl %r11d, %r10d
shrl $31, %r10d
addl %r11d, %r10d
sarl %r10d
cmpl %edx, %r10d
movl $2, %edx
cmovgel %edx, %r12d
cmpl $-1, %r12d
je LBB0_14
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
movq (%rcx), %rdx
xorl %r10d, %r10d
ucomiss (%rdx,%r13,4), %xmm0
seta %r10b
movq -208(%rbp), %rdx ## 8-byte Reload
leal (%rdx,%r12,4), %edx
leal (%rdx,%r10,2), %edx
movslq %edx, %rdx
xorps %xmm1, %xmm1
cvtsi2ssq (%r9,%rdx,8), %xmm1
movq -184(%rbp), %r11 ## 8-byte Reload
addss (%r11,%r13,4), %xmm1
movss %xmm1, (%r11,%r13,4)
leaq 1(%r13), %rdx
movq %rdx, %r13
cmpq %rdx, %r8
jne LBB0_13
LBB0_18:
movdqa LCPI0_1(%rip), %xmm0 ## xmm0 = [-1.00000002E+20,-1.00000002E+20,-1.00000002E+20,-1.00000002E+20]
movdqu %xmm0, (%r11)
movl %r15d, %esi
andl $2, %esi
leal (%rsi,%rsi), %edi
movl -192(%rbp), %edx ## 4-byte Reload
cmpl %edx, %edi
jge LBB0_14
## %bb.19:
movq %rcx, %r13
movq 32(%rcx), %r8
addl %r15d, %r15d
andl $4, %r15d
movl %edx, %edx
movq %rdx, %r10
subq %r15, %r10
xorl %r12d, %r12d
movq %r15, %r9
cmpq $8, %r10
jb LBB0_23
## %bb.20:
movq %r13, %rcx
movq %r10, %r11
andq $-8, %r11
leaq (%r11,%r15), %r9
leaq (%r8,%rsi,8), %r12
addq $16, %r12
pxor %xmm0, %xmm0
xorl %r13d, %r13d
xorps %xmm1, %xmm1
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movdqu -16(%r12,%r13,4), %xmm2
paddd %xmm2, %xmm0
movdqu (%r12,%r13,4), %xmm2
paddd %xmm2, %xmm1
addq $8, %r13
cmpq %r13, %r11
jne LBB0_21
## %bb.22:
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, %r12d
cmpq %r11, %r10
movq %rcx, %r13
movq -184(%rbp), %r11 ## 8-byte Reload
je LBB0_24
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
addl (%r8,%r9,4), %r12d
incq %r9
cmpq %r9, %rdx
jne LBB0_23
LBB0_24:
testl %r12d, %r12d
je LBB0_14
## %bb.25:
movq 32(%r13), %rdx
movl $0, (%rdx,%rax,4)
movq _BANDS@GOTPCREL(%rip), %rax
movl (%rax), %r8d
cmpl %r8d, %edi
jge LBB0_32
## %bb.26:
movq _band_tab@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax,%r15,4), %edx
movq _BANDS@GOTPCREL(%rip), %rcx
jmp LBB0_29
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_29 Depth=1
movslq %r8d, %r9
movl %edi, %edx
cmpq %r9, %r15
jge LBB0_32
LBB0_29: ## =>This Loop Header: Depth=1
## Child Loop BB0_31 Depth 2
movq %r15, %r9
incq %r15
movl 4(%rax,%r9,4), %edi
cmpl %edi, %edx
jge LBB0_28
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movq 40(%r13), %rdi
movq 48(%r13), %r8
movslq %edx, %rdx
movl (%rdi,%r9,4), %r9d
.p2align 4, 0x90
LBB0_31: ## Parent Loop BB0_29 Depth=1
## => This Inner Loop Header: Depth=2
movl %r9d, (%r8,%rdx,4)
incq %rdx
movslq (%rax,%r15,4), %rdi
cmpq %rdi, %rdx
jl LBB0_31
## %bb.27: ## in Loop: Header=BB0_29 Depth=1
movl (%rcx), %r8d
jmp LBB0_28
LBB0_32:
xorl %eax, %eax
movl $0, %edx
testl %ebx, %ebx
jle LBB0_56
## %bb.33:
testl %r8d, %r8d
jle LBB0_38
## %bb.34:
movq 40(%r13), %rdx
movl %r8d, %edi
xorl %r8d, %r8d
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = [-1.0E+20,0.0E+0]
movsd LCPI0_3(%rip), %xmm1 ## xmm1 = [-4.1499999999999998E-1,0.0E+0]
jmp LBB0_35
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_35 Depth=1
cvtsd2ss %xmm2, %xmm2
movss %xmm2, -176(%rbp,%r8,4)
incq %r8
cmpq %r8, %rdi
je LBB0_38
LBB0_35: ## =>This Inner Loop Header: Depth=1
movl (%rdx,%r8,4), %r9d
movapd %xmm0, %xmm2
cmpl $6, %r9d
je LBB0_37
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
addl %r9d, %r9d
negl %r9d
xorps %xmm2, %xmm2
cvtsi2ss %r9d, %xmm2
addss (%r11,%r8,4), %xmm2
cvtss2sd %xmm2, %xmm2
addsd %xmm1, %xmm2
jmp LBB0_37
LBB0_8:
movq -192(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
callq _av_log
LBB0_14:
movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_84
## %bb.16:
addq $168, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_38:
movq _band_tab@GOTPCREL(%rip), %rdx
movq (%rdx), %rdi
xorl %edx, %edx
xorps %xmm3, %xmm3
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = [-1.0E+20,0.0E+0]
movss LCPI0_4(%rip), %xmm1 ## xmm1 = [-1.00000002E+20,0.0E+0,0.0E+0,0.0E+0]
movss LCPI0_5(%rip), %xmm2 ## xmm2 = [-2.0E+0,0.0E+0,0.0E+0,0.0E+0]
movq _BANDS@GOTPCREL(%rip), %rcx
jmp LBB0_39
.p2align 4, 0x90
LBB0_55: ## in Loop: Header=BB0_39 Depth=1
cmpl %ebx, %edx
movq -184(%rbp), %r11 ## 8-byte Reload
jge LBB0_56
LBB0_39: ## =>This Loop Header: Depth=1
## Child Loop BB0_45 Depth 2
## Child Loop BB0_47 Depth 2
## Child Loop BB0_53 Depth 2
cvtss2sd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jae LBB0_56
## %bb.40: ## in Loop: Header=BB0_39 Depth=1
movslq (%rcx), %r8
testq %r8, %r8
jle LBB0_41
## %bb.42: ## in Loop: Header=BB0_39 Depth=1
cmpl $4, %r8d
jae LBB0_44
## %bb.43: ## in Loop: Header=BB0_39 Depth=1
xorl %r9d, %r9d
xorl %r10d, %r10d
movaps %xmm1, %xmm4
jmp LBB0_46
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_39 Depth=1
xorl %r10d, %r10d
movaps %xmm1, %xmm3
jmp LBB0_48
.p2align 4, 0x90
LBB0_44: ## in Loop: Header=BB0_39 Depth=1
movl %r8d, %r11d
andl $2147483644, %r11d ## imm = 0x7FFFFFFC
xorl %r9d, %r9d
xorl %r10d, %r10d
movaps %xmm1, %xmm4
.p2align 4, 0x90
LBB0_45: ## Parent Loop BB0_39 Depth=1
## => This Inner Loop Header: Depth=2
movss -176(%rbp,%r9,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
ucomiss %xmm4, %xmm3
cmoval %r9d, %r10d
movss -172(%rbp,%r9,4), %xmm5 ## xmm5 = mem[0],zero,zero,zero
maxss %xmm4, %xmm3
ucomiss %xmm3, %xmm5
leal 1(%r9), %r14d
cmovbel %r10d, %r14d
maxss %xmm3, %xmm5
movss -168(%rbp,%r9,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
ucomiss %xmm5, %xmm3
leal 2(%r9), %r15d
cmovbel %r14d, %r15d
maxss %xmm5, %xmm3
movss -164(%rbp,%r9,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero
ucomiss %xmm3, %xmm4
leal 3(%r9), %r10d
cmovbel %r15d, %r10d
maxss %xmm3, %xmm4
addq $4, %r9
cmpq %r11, %r9
jne LBB0_45
LBB0_46: ## in Loop: Header=BB0_39 Depth=1
movaps %xmm4, %xmm3
andl $3, %r8d
je LBB0_48
.p2align 4, 0x90
LBB0_47: ## Parent Loop BB0_39 Depth=1
## => This Inner Loop Header: Depth=2
movss -176(%rbp,%r9,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
ucomiss %xmm4, %xmm3
cmoval %r9d, %r10d
maxss %xmm4, %xmm3
incq %r9
movaps %xmm3, %xmm4
decq %r8
jne LBB0_47
LBB0_48: ## in Loop: Header=BB0_39 Depth=1
xorps %xmm4, %xmm4
cvtss2sd %xmm3, %xmm4
ucomisd %xmm0, %xmm4
jbe LBB0_55
## %bb.49: ## in Loop: Header=BB0_39 Depth=1
movslq %r10d, %r8
movss -176(%rbp,%r8,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero
addss %xmm2, %xmm4
movss %xmm4, -176(%rbp,%r8,4)
movq 40(%r13), %r9
movl (%r9,%r8,4), %r10d
incl %r10d
movl %r10d, (%r9,%r8,4)
cmpl $6, %r10d
jne LBB0_51
## %bb.50: ## in Loop: Header=BB0_39 Depth=1
movl $-525502228, -176(%rbp,%r8,4) ## imm = 0xE0AD78EC
LBB0_51: ## in Loop: Header=BB0_39 Depth=1
movslq (%rdi,%r8,4), %r9
cmpl 4(%rdi,%r8,4), %r9d
setge %r10b
cmpl %ebx, %edx
setge %r11b
orb %r10b, %r11b
jne LBB0_55
## %bb.52: ## in Loop: Header=BB0_39 Depth=1
movq 48(%r13), %r10
incq %r9
.p2align 4, 0x90
LBB0_53: ## Parent Loop BB0_39 Depth=1
## => This Inner Loop Header: Depth=2
incl -4(%r10,%r9,4)
incl %edx
movslq 4(%rdi,%r8,4), %r11
cmpq %r11, %r9
jge LBB0_55
## %bb.54: ## in Loop: Header=BB0_53 Depth=2
incq %r9
cmpl %ebx, %edx
jl LBB0_53
jmp LBB0_55
LBB0_56:
cmpl %ebx, %edx
jle LBB0_15
## %bb.57:
movq _BANDS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
testq %rax, %rax
jle LBB0_62
## %bb.58:
movq 40(%r13), %rdi
xorl %r8d, %r8d
movsd LCPI0_6(%rip), %xmm0 ## xmm0 = [1.0E+20,0.0E+0]
movsd LCPI0_7(%rip), %xmm1 ## xmm1 = [1.585E+0,0.0E+0]
jmp LBB0_59
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_59 Depth=1
cvtsd2ss %xmm2, %xmm2
movss %xmm2, -176(%rbp,%r8,4)
incq %r8
cmpq %r8, %rax
je LBB0_62
LBB0_59: ## =>This Inner Loop Header: Depth=1
movl (%rdi,%r8,4), %r9d
movapd %xmm0, %xmm2
testl %r9d, %r9d
je LBB0_61
## %bb.60: ## in Loop: Header=BB0_59 Depth=1
addl %r9d, %r9d
negl %r9d
xorps %xmm2, %xmm2
cvtsi2ss %r9d, %xmm2
addss (%r11,%r8,4), %xmm2
cvtss2sd %xmm2, %xmm2
addsd %xmm1, %xmm2
jmp LBB0_61
LBB0_62:
testl %esi, %esi
je LBB0_64
## %bb.63:
movdqa LCPI0_8(%rip), %xmm0 ## xmm0 = [1.00000002E+20,1.00000002E+20,1.00000002E+20,1.00000002E+20]
movdqa %xmm0, -176(%rbp)
LBB0_64:
movq 40(%r13), %rax
movq _band_tab@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movss LCPI0_9(%rip), %xmm0 ## xmm0 = [1.0E+10,0.0E+0,0.0E+0,0.0E+0]
movss LCPI0_10(%rip), %xmm1 ## xmm1 = [2.0E+0,0.0E+0,0.0E+0,0.0E+0]
jmp LBB0_65
.p2align 4, 0x90
LBB0_67: ## in Loop: Header=BB0_65 Depth=1
cmpl %ebx, %edx
jle LBB0_68
LBB0_65: ## =>This Loop Header: Depth=1
## Child Loop BB0_72 Depth 2
## Child Loop BB0_74 Depth 2
## Child Loop BB0_80 Depth 2
movq _BANDS@GOTPCREL(%rip), %rsi
movslq (%rsi), %rsi
testq %rsi, %rsi
jle LBB0_66
## %bb.69: ## in Loop: Header=BB0_65 Depth=1
cmpl $4, %esi
jae LBB0_71
## %bb.70: ## in Loop: Header=BB0_65 Depth=1
xorl %edi, %edi
xorl %r8d, %r8d
movaps %xmm0, %xmm2
jmp LBB0_73
.p2align 4, 0x90
LBB0_66: ## in Loop: Header=BB0_65 Depth=1
xorl %r8d, %r8d
movaps %xmm0, %xmm3
jmp LBB0_75
.p2align 4, 0x90
LBB0_71: ## in Loop: Header=BB0_65 Depth=1
movl %esi, %r9d
andl $2147483644, %r9d ## imm = 0x7FFFFFFC
xorl %edi, %edi
xorl %r8d, %r8d
movaps %xmm0, %xmm2
.p2align 4, 0x90
LBB0_72: ## Parent Loop BB0_65 Depth=1
## => This Inner Loop Header: Depth=2
movss -176(%rbp,%rdi,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
ucomiss %xmm3, %xmm2
cmoval %edi, %r8d
movss -172(%rbp,%rdi,4), %xmm4 ## xmm4 = mem[0],zero,zero,zero
minss %xmm2, %xmm3
ucomiss %xmm4, %xmm3
leal 1(%rdi), %r10d
cmovbel %r8d, %r10d
minss %xmm3, %xmm4
movss -168(%rbp,%rdi,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
ucomiss %xmm3, %xmm4
leal 2(%rdi), %r11d
cmovbel %r10d, %r11d
minss %xmm4, %xmm3
movss -164(%rbp,%rdi,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
ucomiss %xmm2, %xmm3
leal 3(%rdi), %r8d
cmovbel %r11d, %r8d
minss %xmm3, %xmm2
addq $4, %rdi
cmpq %r9, %rdi
jne LBB0_72
LBB0_73: ## in Loop: Header=BB0_65 Depth=1
movaps %xmm2, %xmm3
andl $3, %esi
je LBB0_75
.p2align 4, 0x90
LBB0_74: ## Parent Loop BB0_65 Depth=1
## => This Inner Loop Header: Depth=2
movss -176(%rbp,%rdi,4), %xmm3 ## xmm3 = mem[0],zero,zero,zero
ucomiss %xmm3, %xmm2
cmoval %edi, %r8d
minss %xmm2, %xmm3
incq %rdi
movaps %xmm3, %xmm2
decq %rsi
jne LBB0_74
LBB0_75: ## in Loop: Header=BB0_65 Depth=1
addss %xmm1, %xmm3
movslq %r8d, %rsi
movss %xmm3, -176(%rbp,%rsi,4)
decl (%rax,%rsi,4)
jne LBB0_77
## %bb.76: ## in Loop: Header=BB0_65 Depth=1
movl $1621981420, -176(%rbp,%rsi,4) ## imm = 0x60AD78EC
LBB0_77: ## in Loop: Header=BB0_65 Depth=1
movslq (%rcx,%rsi,4), %rdi
movl 4(%rcx,%rsi,4), %r8d
cmpl %r8d, %edi
jge LBB0_67
## %bb.78: ## in Loop: Header=BB0_65 Depth=1
cmpl %ebx, %edx
jle LBB0_67
## %bb.79: ## in Loop: Header=BB0_65 Depth=1
movq 48(%r13), %r9
incq %rdi
.p2align 4, 0x90
LBB0_80: ## Parent Loop BB0_65 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%r9,%rdi,4), %r10d
testl %r10d, %r10d
jle LBB0_82
## %bb.81: ## in Loop: Header=BB0_80 Depth=2
decl %r10d
movl %r10d, -4(%r9,%rdi,4)
decl %edx
movl 4(%rcx,%rsi,4), %r8d
LBB0_82: ## in Loop: Header=BB0_80 Depth=2
movslq %r8d, %r10
cmpq %r10, %rdi
jge LBB0_67
## %bb.83: ## in Loop: Header=BB0_80 Depth=2
incq %rdi
cmpl %ebx, %edx
jg LBB0_80
jmp LBB0_67
LBB0_68:
xorl %eax, %eax
jmp LBB0_15
LBB0_84:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _BANDS,4,2 ## @BANDS
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "flcoeffs5 %f invalid\n"
.comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA
.comm _band_tab,8,3 ## @band_tab
.comm _xTab,8,3 ## @xTab
.no_dead_strip _bit_allocation
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function bit_allocation
_bit_allocation: ; @bit_allocation
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp d9, d8, [sp, #144] ; 16-byte Folded Spill
stp x26, x25, [sp, #160] ; 16-byte Folded Spill
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.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 b8, -88
.cfi_offset b9, -96
mov x22, x4
mov x19, x3
mov x21, x2
mov x20, x1
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 x24, _BANDS@GOTPAGE
Lloh4:
ldr x24, [x24, _BANDS@GOTPAGEOFF]
ldr w12, [x24]
cmp w12, #1
b.lt LBB0_8
; %bb.1:
mov x23, x0
mov x25, #0 ; =0x0
movi d0, #0000000000000000
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr s1, [x8, x25, lsl #2]
bl _FFMAX
sub x8, x25, #1
ldrsw x12, [x24]
cmp x25, x12
mov x25, x8
b.le LBB0_2
; %bb.3:
cmp w12, #1
b.le LBB0_9
; %bb.4:
fmov s8, s0
mov x25, #0 ; =0x0
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr x3, [x8, x25, lsl #3]
cmp x3, #0
b.le LBB0_17
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #24]
ldr s9, [x8, x25, lsl #2]
mov x0, x3
bl _log2f
fsub s0, s9, s0
ldr x8, [x20, #16]
str s0, [x8, x25, lsl #2]
add x25, x25, #1
ldrsw x12, [x24]
sub x10, x12, #1
cmp x25, x10
b.lt LBB0_5
; %bb.7:
; kill: def $w12 killed $w12 killed $x12 def $x12
mov x11, x10
fmov s0, s8
b LBB0_10
LBB0_8:
movi d0, #0000000000000000
LBB0_9:
sub w11, w12, #1
ldr x8, [x20, #16]
sxtw x10, w11
LBB0_10:
mov w9, #30956 ; =0x78ec
movk w9, #57517, lsl #16
str w9, [x8, x10, lsl #2]
cmp w12, #1
b.lt LBB0_14
; %bb.11:
mov x13, #0 ; =0x0
fmov s1, #0.25000000
fmul s0, s0, s1
Lloh5:
adrp x14, _band_tab@GOTPAGE
Lloh6:
ldr x14, [x14, _band_tab@GOTPAGEOFF]
Lloh7:
ldr x14, [x14]
ldr x15, [x20, #32]
Lloh8:
adrp x16, _xTab@GOTPAGE
Lloh9:
ldr x16, [x16, _xTab@GOTPAGEOFF]
Lloh10:
ldr x16, [x16]
ldr w1, [x14], #4
; kill: def $w12 killed $w12 killed $x12 def $x12
ubfiz x12, x12, #2, #32
mov w17, #2 ; =0x2
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w0, [x14, x13]
ldr w2, [x15, x13]
sub w1, w0, w1
cmp w1, w2
csetm w3, ne
csinc w3, w3, wzr, le
add w1, w1, w1, lsr #31
cmp w2, w1, asr #1
csel w1, w3, w17, gt
cmn w1, #1
b.eq LBB0_31
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x2, [x20]
ldr s1, [x2, x13]
fcmp s1, s0
cset w2, mi
add w1, w22, w1, lsl #2
add w1, w1, w2, lsl #1
ldr x1, [x16, w1, sxtw #3]
scvtf s1, x1
ldr s2, [x8, x13]
fadd s1, s2, s1
str s1, [x8, x13]
add x13, x13, #4
mov x1, x0
cmp x12, x13
b.ne LBB0_12
LBB0_14:
dup.4s v0, w9
str q0, [x8]
and w9, w21, #0x2
lsl w13, w9, #1
cmp w13, w11
b.ge LBB0_31
; %bb.15:
ldr x14, [x20, #32]
lsl w12, w21, #1
and w12, w12, #0x4
mov w11, w11
sub x16, x11, x12
cmp x16, #16
b.hs LBB0_18
; %bb.16:
mov w0, #0 ; =0x0
mov x15, x12
b LBB0_21
LBB0_17:
ldr w0, [x23]
Lloh11:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
Lloh14:
adrp x2, l_.str@PAGE
Lloh15:
add x2, x2, l_.str@PAGEOFF
bl _av_log
b LBB0_31
LBB0_18:
and x17, x16, #0xfffffffffffffff0
orr x15, x17, x12
ubfx x0, x21, #1, #1
add x0, x14, x0, lsl #4
add x0, x0, #32
movi.2d v0, #0000000000000000
mov x1, x17
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldp q4, q5, [x0, #-32]
ldp q6, q7, [x0], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x1, x1, #16
b.ne LBB0_19
; %bb.20:
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w0, s0
cmp x16, x17
b.eq LBB0_23
LBB0_21:
add x14, x14, x15, lsl #2
sub x11, x11, x15
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldr w15, [x14], #4
add w0, w15, w0
subs x11, x11, #1
b.ne LBB0_22
LBB0_23:
cbz w0, LBB0_31
; %bb.24:
ldr x11, [x20, #32]
str wzr, [x11, x10, lsl #2]
ldr w10, [x24]
Lloh16:
adrp x11, _band_tab@GOTPAGE
Lloh17:
ldr x11, [x11, _band_tab@GOTPAGEOFF]
cmp w13, w10
b.ge LBB0_34
; %bb.25:
ldr x13, [x11]
ldr w14, [x13, x12, lsl #2]
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
cmp x12, w10, sxtw
mov x14, x15
b.ge LBB0_34
LBB0_27: ; =>This Loop Header: Depth=1
; Child Loop BB0_29 Depth 2
mov x16, x12
add x12, x12, #1
ldr w15, [x13, x12, lsl #2]
cmp w14, w15
b.ge LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldp x15, x10, [x20, #40]
sxtw x14, w14
ldr w16, [x15, x16, lsl #2]
LBB0_29: ; Parent Loop BB0_27 Depth=1
; => This Inner Loop Header: Depth=2
str w16, [x10, x14, lsl #2]
add x14, x14, #1
ldrsw x15, [x13, x12, lsl #2]
cmp x14, x15
b.lt LBB0_29
; %bb.30: ; in Loop: Header=BB0_27 Depth=1
ldr w10, [x24]
b LBB0_26
LBB0_31:
Lloh18:
adrp x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh19:
ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
LBB0_32:
ldur x8, [x29, #-88]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_79
; %bb.33:
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
ldp x26, x25, [sp, #160] ; 16-byte Folded Reload
ldp d9, d8, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB0_34:
cmp w19, #1
b.lt LBB0_54
; %bb.35:
cmp w10, #1
b.lt LBB0_41
; %bb.36:
ldr x12, [x20, #40]
mov x13, sp
mov x14, #35904 ; =0x8c40
movk x14, #30901, lsl #16
movk x14, #44829, lsl #32
movk x14, #50197, lsl #48
mov x15, #49807 ; =0xc28f
movk x15, #10485, lsl #16
movk x15, #36700, lsl #32
movk x15, #49114, lsl #48
mov x16, x8
mov w10, w10
b LBB0_39
LBB0_37: ; in Loop: Header=BB0_39 Depth=1
neg w17, w17, lsl #1
scvtf s0, w17
ldr s1, [x16]
fadd s0, s1, s0
fcvt d0, s0
fmov d1, x15
fadd d0, d0, d1
LBB0_38: ; in Loop: Header=BB0_39 Depth=1
fcvt s0, d0
str s0, [x13], #4
add x16, x16, #4
subs x10, x10, #1
b.eq LBB0_41
LBB0_39: ; =>This Inner Loop Header: Depth=1
ldr w17, [x12], #4
cmp w17, #6
b.ne LBB0_37
; %bb.40: ; in Loop: Header=BB0_39 Depth=1
fmov d0, x14
b LBB0_38
LBB0_41:
mov w10, #0 ; =0x0
ldr x12, [x11]
movi d2, #0000000000000000
mov x13, #35904 ; =0x8c40
movk x13, #30901, lsl #16
movk x13, #44829, lsl #32
movk x13, #50197, lsl #48
fmov d0, x13
mov x13, sp
fmov s1, #-2.00000000
mov w14, #30956 ; =0x78ec
movk w14, #57517, lsl #16
b LBB0_43
LBB0_42: ; in Loop: Header=BB0_43 Depth=1
cmp w10, w19
b.ge LBB0_55
LBB0_43: ; =>This Loop Header: Depth=1
; Child Loop BB0_46 Depth 2
; Child Loop BB0_53 Depth 2
fcvt d2, s2
fcmp d2, d0
b.ls LBB0_55
; %bb.44: ; in Loop: Header=BB0_43 Depth=1
ldr w16, [x24]
cmp w16, #1
b.lt LBB0_47
; %bb.45: ; in Loop: Header=BB0_43 Depth=1
mov x17, #0 ; =0x0
mov w15, #0 ; =0x0
mov w0, #30956 ; =0x78ec
movk w0, #57517, lsl #16
fmov s2, w0
LBB0_46: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr s3, [x13, x17, lsl #2]
fcmp s3, s2
fcsel s2, s3, s2, gt
csel w15, w17, w15, gt
add x17, x17, #1
cmp x16, x17
b.ne LBB0_46
b LBB0_48
LBB0_47: ; in Loop: Header=BB0_43 Depth=1
mov w15, #0 ; =0x0
mov w16, #30956 ; =0x78ec
movk w16, #57517, lsl #16
fmov s2, w16
LBB0_48: ; in Loop: Header=BB0_43 Depth=1
fcvt d3, s2
fcmp d3, d0
b.le LBB0_42
; %bb.49: ; in Loop: Header=BB0_43 Depth=1
sxtw x16, w15
ldr s3, [x13, w15, sxtw #2]
fadd s3, s3, s1
str s3, [x13, w15, sxtw #2]
ldr x17, [x20, #40]
ldr w0, [x17, w15, sxtw #2]
add w0, w0, #1
str w0, [x17, w15, sxtw #2]
cmp w0, #6
b.ne LBB0_51
; %bb.50: ; in Loop: Header=BB0_43 Depth=1
str w14, [x13, x16, lsl #2]
LBB0_51: ; in Loop: Header=BB0_43 Depth=1
add x15, x12, x16, lsl #2
ldp w17, w16, [x15]
; kill: def $w17 killed $w17 def $x17
sxtw x17, w17
cmp w17, w16
ccmp w10, w19, #0, lt
b.ge LBB0_42
; %bb.52: ; in Loop: Header=BB0_43 Depth=1
ldr x16, [x20, #48]
add x16, x16, x17, lsl #2
add x17, x17, #1
LBB0_53: ; Parent Loop BB0_43 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x16]
add w0, w0, #1
str w0, [x16], #4
add w10, w10, #1
ldrsw x0, [x15, #4]
cmp x17, x0
add x17, x17, #1
ccmp w10, w19, #0, lt
b.lt LBB0_53
b LBB0_42
LBB0_54:
mov w10, #0 ; =0x0
LBB0_55:
cmp w10, w19
b.le LBB0_78
; %bb.56:
ldr w12, [x24]
cmp w12, #1
b.lt LBB0_62
; %bb.57:
ldr x13, [x20, #40]
mov x14, sp
mov x15, #35904 ; =0x8c40
movk x15, #30901, lsl #16
movk x15, #44829, lsl #32
movk x15, #17429, lsl #48
mov x16, #36700 ; =0x8f5c
movk x16, #62914, lsl #16
movk x16, #23592, lsl #32
movk x16, #16377, lsl #48
b LBB0_60
LBB0_58: ; in Loop: Header=BB0_60 Depth=1
neg w17, w17, lsl #1
scvtf s0, w17
ldr s1, [x8]
fadd s0, s1, s0
fcvt d0, s0
fmov d1, x16
fadd d0, d0, d1
LBB0_59: ; in Loop: Header=BB0_60 Depth=1
fcvt s0, d0
str s0, [x14], #4
add x8, x8, #4
subs x12, x12, #1
b.eq LBB0_62
LBB0_60: ; =>This Inner Loop Header: Depth=1
ldr w17, [x13], #4
cbnz w17, LBB0_58
; %bb.61: ; in Loop: Header=BB0_60 Depth=1
fmov d0, x15
b LBB0_59
LBB0_62:
cbz w9, LBB0_64
; %bb.63:
mov w8, #30956 ; =0x78ec
movk w8, #24749, lsl #16
dup.4s v0, w8
str q0, [sp]
LBB0_64:
ldr x8, [x20, #40]
ldr x9, [x11]
mov x11, sp
fmov s0, #2.00000000
mov w12, #30956 ; =0x78ec
movk w12, #24749, lsl #16
b LBB0_66
LBB0_65: ; in Loop: Header=BB0_66 Depth=1
cmp w10, w19
b.le LBB0_78
LBB0_66: ; =>This Loop Header: Depth=1
; Child Loop BB0_68 Depth 2
; Child Loop BB0_74 Depth 2
ldr w14, [x24]
cmp w14, #1
b.lt LBB0_69
; %bb.67: ; in Loop: Header=BB0_66 Depth=1
mov x15, #0 ; =0x0
mov w13, #0 ; =0x0
mov w16, #761 ; =0x2f9
movk w16, #20501, lsl #16
fmov s1, w16
LBB0_68: ; Parent Loop BB0_66 Depth=1
; => This Inner Loop Header: Depth=2
ldr s2, [x11, x15, lsl #2]
fcmp s2, s1
fcsel s1, s2, s1, mi
csel w13, w15, w13, mi
add x15, x15, #1
cmp x14, x15
b.ne LBB0_68
b LBB0_70
LBB0_69: ; in Loop: Header=BB0_66 Depth=1
mov w13, #0 ; =0x0
mov w14, #761 ; =0x2f9
movk w14, #20501, lsl #16
fmov s1, w14
LBB0_70: ; in Loop: Header=BB0_66 Depth=1
fadd s1, s1, s0
str s1, [x11, w13, sxtw #2]
sxtw x14, w13
ldr w15, [x8, w13, sxtw #2]
subs w15, w15, #1
str w15, [x8, w13, sxtw #2]
b.ne LBB0_72
; %bb.71: ; in Loop: Header=BB0_66 Depth=1
str w12, [x11, x14, lsl #2]
LBB0_72: ; in Loop: Header=BB0_66 Depth=1
add x13, x9, x14, lsl #2
ldp w16, w14, [x13]
; kill: def $w16 killed $w16 def $x16
sxtw x16, w16
cmp w16, w14
ccmp w10, w19, #4, lt
b.le LBB0_65
; %bb.73: ; in Loop: Header=BB0_66 Depth=1
ldr x15, [x20, #48]
add x15, x15, x16, lsl #2
add x16, x16, #1
LBB0_74: ; Parent Loop BB0_66 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15]
subs w17, w17, #1
b.lt LBB0_76
; %bb.75: ; in Loop: Header=BB0_74 Depth=2
str w17, [x15]
sub w10, w10, #1
ldr w14, [x13, #4]
LBB0_76: ; in Loop: Header=BB0_74 Depth=2
cmp x16, w14, sxtw
b.ge LBB0_65
; %bb.77: ; in Loop: Header=BB0_74 Depth=2
add x15, x15, #4
add x16, x16, #1
cmp w10, w19
b.gt LBB0_74
b LBB0_65
LBB0_78:
mov w0, #0 ; =0x0
b LBB0_32
LBB0_79:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _BANDS,4,2 ; @BANDS
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "flcoeffs5 %f invalid\n"
.comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA
.comm _band_tab,8,3 ; @band_tab
.comm _xTab,8,3 ; @xTab
.no_dead_strip _bit_allocation
.subsections_via_symbols
| assembly_file_113323.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocfs2_mv_orphaned_inode_to_new ## -- Begin function ocfs2_mv_orphaned_inode_to_new
.p2align 4, 0x90
_ocfs2_mv_orphaned_inode_to_new: ## @ocfs2_mv_orphaned_inode_to_new
.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 %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r13
movq $0, -56(%rbp)
movl 4(%rdi), %edi
callq _OCFS2_SB
movq %rax, %r14
movq $0, -72(%rbp)
movq $0, -48(%rbp)
movq $0, -64(%rbp)
movl 8(%rbx), %ecx
movl 12(%rbx), %r8d
leaq L_.str(%rip), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq _mlog_entry
leaq -56(%rbp), %rsi
movq %r13, %rdi
movl $1, %edx
callq _ocfs2_inode_lock
testl %eax, %eax
js LBB0_9
## %bb.1:
movq -56(%rbp), %rax
movq (%rax), %rax
cmpl $0, 12(%rax)
je LBB0_11
## %bb.2:
movl 8(%rbx), %edx
movl 12(%rbx), %esi
movq %r13, %rdi
callq _ocfs2_check_dir_for_entry
movl %eax, %r15d
testl %eax, %eax
jne LBB0_25
## %bb.3:
movq -56(%rbp), %rdx
movl 8(%rbx), %r8d
movl 12(%rbx), %ecx
leaq -64(%rbp), %r9
movq %r14, %rdi
movq %r13, %rsi
callq _ocfs2_prepare_dir_for_insert
testl %eax, %eax
js LBB0_12
## %bb.4:
movq _ORPHAN_DIR_SYSTEM_INODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 4(%r14), %edx
movq %r14, %rdi
callq _ocfs2_get_system_file_inode
testq %rax, %rax
je LBB0_13
## %bb.5:
movq %rax, %r15
movq %rax, %rdi
callq _mutex_lock
leaq -72(%rbp), %rsi
movq %r15, %rdi
movl $1, %edx
callq _ocfs2_inode_lock
movq %r15, %rcx
testl %eax, %eax
js LBB0_15
## %bb.6:
movq %rcx, -88(%rbp) ## 8-byte Spill
leaq -48(%rbp), %rsi
movq %r12, %rdi
callq _ocfs2_read_inode_block
testl %eax, %eax
js LBB0_16
## %bb.7:
movl (%r14), %edi
callq _ocfs2_rename_credits
movq %r14, %rdi
movl %eax, %esi
callq _ocfs2_start_trans
movq %rax, %r15
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_17
## %bb.8:
movq %r15, %rdi
callq _PTR_ERR
LBB0_16:
movl %eax, %r15d
movl %eax, %edi
callq _mlog_errno
jmp LBB0_23
LBB0_9:
movl %eax, %r15d
movq _ENOENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
je LBB0_26
## %bb.10:
movl %r15d, %edi
callq _mlog_errno
jmp LBB0_26
LBB0_11:
movq _ENOENT@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_25
LBB0_12:
movl %eax, %r15d
jmp LBB0_14
LBB0_13:
movq _EEXIST@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
LBB0_14:
movl %r15d, %edi
callq _mlog_errno
jmp LBB0_25
LBB0_15:
movl %eax, %r15d
movq %rcx, %rbx
movl %eax, %edi
callq _mlog_errno
jmp LBB0_24
LBB0_17:
movq %r12, %rdi
callq _INODE_CACHE
movq -48(%rbp), %rdx
movq _OCFS2_JOURNAL_ACCESS_WRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq %r15, %rdi
movl %eax, %esi
callq _ocfs2_journal_access_di
movq %r15, %rcx
testl %eax, %eax
movq %r15, -80(%rbp) ## 8-byte Spill
js LBB0_21
## %bb.18:
movq -72(%rbp), %r8
movq %r14, %rdi
movq %rcx, %rsi
movq -88(%rbp), %rdx ## 8-byte Reload
movq %r12, %rcx
callq _ocfs2_orphan_del
testl %eax, %eax
js LBB0_21
## %bb.19:
movq -48(%rbp), %rax
movq (%rax), %r15
leaq 8(%r15), %rdi
movq _OCFS2_ORPHANED_FL@GOTPCREL(%rip), %rax
xorl %esi, %esi
subl (%rax), %esi
callq _le32_add_cpu
movq $0, (%r15)
movq -48(%rbp), %rsi
movq -80(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _ocfs2_journal_dirty
movq %r12, %rdi
callq _OCFS2_I
movl (%rax), %ecx
movq -56(%rbp), %r8
leaq -64(%rbp), %r9
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq _ocfs2_add_entry
testl %eax, %eax
js LBB0_21
## %bb.20:
movq %r13, %rdi
callq _OCFS2_I
movl (%rax), %edx
movq %rbx, %rdi
movq %r12, %rsi
callq _ocfs2_dentry_attach_lock
testl %eax, %eax
je LBB0_27
LBB0_21:
movl %eax, %r15d
movl %eax, %edi
callq _mlog_errno
LBB0_22:
movq %r14, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
callq _ocfs2_commit_trans
LBB0_23:
movq -88(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $1, %esi
callq _ocfs2_inode_unlock
LBB0_24:
movq %rbx, %rdi
callq _mutex_unlock
movq %rbx, %rdi
callq _iput
LBB0_25:
movq %r13, %rdi
movl $1, %esi
callq _ocfs2_inode_unlock
movq -48(%rbp), %rdi
callq _brelse
movq -56(%rbp), %rdi
callq _brelse
movq -72(%rbp), %rdi
callq _brelse
leaq -64(%rbp), %rdi
callq _ocfs2_free_dir_lookup_result
movl %r15d, %edi
callq _mlog_exit
LBB0_26:
movl %r15d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_27:
movq %r12, %rdi
callq _insert_inode_hash
movq _ocfs2_dentry_ops@GOTPCREL(%rip), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
movq %r12, %rsi
callq _d_instantiate
xorl %r15d, %r15d
jmp LBB0_22
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(0x%p, 0x%p, %.*s')\n"
.comm _ENOENT,4,2 ## @ENOENT
.comm _ORPHAN_DIR_SYSTEM_INODE,4,2 ## @ORPHAN_DIR_SYSTEM_INODE
.comm _EEXIST,4,2 ## @EEXIST
.comm _OCFS2_JOURNAL_ACCESS_WRITE,4,2 ## @OCFS2_JOURNAL_ACCESS_WRITE
.comm _OCFS2_ORPHANED_FL,4,2 ## @OCFS2_ORPHANED_FL
.comm _ocfs2_dentry_ops,4,2 ## @ocfs2_dentry_ops
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ocfs2_mv_orphaned_inode_to_new ; -- Begin function ocfs2_mv_orphaned_inode_to_new
.p2align 2
_ocfs2_mv_orphaned_inode_to_new: ; @ocfs2_mv_orphaned_inode_to_new
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x23, x2
mov x22, x1
mov x19, x0
str xzr, [sp, #24]
ldr w0, [x0, #4]
bl _OCFS2_SB
mov x20, x0
stp xzr, xzr, [sp, #8]
str xzr, [sp]
ldp w3, w4, [x23, #8]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x2, x23
bl _mlog_entry
add x1, sp, #24
mov x0, x19
mov w2, #1
bl _ocfs2_inode_lock
tbnz w0, #31, LBB0_10
; %bb.1:
ldr x8, [sp, #24]
ldr x8, [x8]
ldr w8, [x8, #12]
cbz w8, LBB0_12
; %bb.2:
ldp w2, w1, [x23, #8]
mov x0, x19
bl _ocfs2_check_dir_for_entry
mov x24, x0
cbnz w0, LBB0_27
; %bb.3:
ldr x2, [sp, #24]
ldp w4, w3, [x23, #8]
mov x5, sp
mov x0, x20
mov x1, x19
bl _ocfs2_prepare_dir_for_insert
tbnz w0, #31, LBB0_13
; %bb.4:
Lloh2:
adrp x8, _ORPHAN_DIR_SYSTEM_INODE@GOTPAGE
Lloh3:
ldr x8, [x8, _ORPHAN_DIR_SYSTEM_INODE@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
ldr w2, [x20, #4]
mov x0, x20
bl _ocfs2_get_system_file_inode
cbz x0, LBB0_14
; %bb.5:
mov x21, x0
bl _mutex_lock
add x1, sp, #16
mov x0, x21
mov w2, #1
bl _ocfs2_inode_lock
tbnz w0, #31, LBB0_16
; %bb.6:
add x1, sp, #8
mov x0, x22
bl _ocfs2_read_inode_block
tbnz w0, #31, LBB0_9
; %bb.7:
ldr w0, [x20]
bl _ocfs2_rename_credits
mov x1, x0
mov x0, x20
bl _ocfs2_start_trans
mov x25, x0
bl _IS_ERR
cbz x0, LBB0_17
; %bb.8:
mov x0, x25
bl _PTR_ERR
LBB0_9:
mov x24, x0
bl _mlog_errno
b LBB0_25
LBB0_10:
mov x24, x0
Lloh5:
adrp x8, _ENOENT@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
cmn w0, w8
b.eq LBB0_28
; %bb.11:
mov x0, x24
bl _mlog_errno
b LBB0_28
LBB0_12:
Lloh8:
adrp x8, _ENOENT@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
neg w24, w8
b LBB0_27
LBB0_13:
mov x24, x0
b LBB0_15
LBB0_14:
Lloh11:
adrp x8, _EEXIST@GOTPAGE
Lloh12:
ldr x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
neg w24, w8
LBB0_15:
mov x0, x24
bl _mlog_errno
b LBB0_27
LBB0_16:
mov x24, x0
bl _mlog_errno
b LBB0_26
LBB0_17:
mov x0, x22
bl _INODE_CACHE
mov x1, x0
ldr x2, [sp, #8]
Lloh14:
adrp x8, _OCFS2_JOURNAL_ACCESS_WRITE@GOTPAGE
Lloh15:
ldr x8, [x8, _OCFS2_JOURNAL_ACCESS_WRITE@GOTPAGEOFF]
Lloh16:
ldr w3, [x8]
mov x0, x25
bl _ocfs2_journal_access_di
tbnz w0, #31, LBB0_22
; %bb.18:
ldr x4, [sp, #16]
mov x0, x20
mov x1, x25
mov x2, x21
mov x3, x22
bl _ocfs2_orphan_del
tbnz w0, #31, LBB0_22
; %bb.19:
ldr x8, [sp, #8]
ldr x24, [x8]
add x0, x24, #8
Lloh17:
adrp x8, _OCFS2_ORPHANED_FL@GOTPAGE
Lloh18:
ldr x8, [x8, _OCFS2_ORPHANED_FL@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
neg w1, w8
bl _le32_add_cpu
str xzr, [x24]
ldr x1, [sp, #8]
mov x0, x25
bl _ocfs2_journal_dirty
mov x0, x22
bl _OCFS2_I
ldr w3, [x0]
ldr x4, [sp, #24]
mov x5, sp
mov x0, x25
mov x1, x23
mov x2, x22
bl _ocfs2_add_entry
tbnz w0, #31, LBB0_22
; %bb.20:
mov x0, x19
bl _OCFS2_I
ldr w2, [x0]
mov x0, x23
mov x1, x22
bl _ocfs2_dentry_attach_lock
mov x24, x0
cbnz w0, LBB0_23
; %bb.21:
mov x0, x22
bl _insert_inode_hash
Lloh20:
adrp x8, _ocfs2_dentry_ops@GOTPAGE
Lloh21:
ldr x8, [x8, _ocfs2_dentry_ops@GOTPAGEOFF]
str x8, [x23]
mov x0, x23
mov x1, x22
bl _d_instantiate
b LBB0_24
LBB0_22:
mov x24, x0
LBB0_23:
mov x0, x24
bl _mlog_errno
LBB0_24:
mov x0, x20
mov x1, x25
bl _ocfs2_commit_trans
LBB0_25:
mov x0, x21
mov w1, #1
bl _ocfs2_inode_unlock
LBB0_26:
mov x0, x21
bl _mutex_unlock
mov x0, x21
bl _iput
LBB0_27:
mov x0, x19
mov w1, #1
bl _ocfs2_inode_unlock
ldr x0, [sp, #8]
bl _brelse
ldr x0, [sp, #24]
bl _brelse
ldr x0, [sp, #16]
bl _brelse
mov x0, sp
bl _ocfs2_free_dir_lookup_result
mov x0, x24
bl _mlog_exit
LBB0_28:
mov x0, x24
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(0x%p, 0x%p, %.*s')\n"
.comm _ENOENT,4,2 ; @ENOENT
.comm _ORPHAN_DIR_SYSTEM_INODE,4,2 ; @ORPHAN_DIR_SYSTEM_INODE
.comm _EEXIST,4,2 ; @EEXIST
.comm _OCFS2_JOURNAL_ACCESS_WRITE,4,2 ; @OCFS2_JOURNAL_ACCESS_WRITE
.comm _OCFS2_ORPHANED_FL,4,2 ; @OCFS2_ORPHANED_FL
.comm _ocfs2_dentry_ops,4,2 ; @ocfs2_dentry_ops
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ocfs2/extr_namei.c_ocfs2_mv_orphaned_inode_to_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i40e_get_port_mac_addr ## -- Begin function i40e_get_port_mac_addr
.p2align 4, 0x90
_i40e_get_port_mac_addr: ## @i40e_get_port_mac_addr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movl $0, -12(%rbp)
leaq -12(%rbp), %rsi
leaq -16(%rbp), %rdx
xorl %ecx, %ecx
callq _i40e_aq_mac_address_read
testq %rax, %rax
jne LBB0_4
## %bb.1:
movq _I40E_AQC_PORT_ADDR_VALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, -12(%rbp)
je LBB0_3
## %bb.2:
movl -16(%rbp), %esi
movq %rbx, %rdi
callq _ether_addr_copy
xorl %eax, %eax
jmp LBB0_4
LBB0_3:
movq _I40E_ERR_INVALID_MAC_ADDR@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _I40E_AQC_PORT_ADDR_VALID,4,2 ## @I40E_AQC_PORT_ADDR_VALID
.comm _I40E_ERR_INVALID_MAC_ADDR,8,3 ## @I40E_ERR_INVALID_MAC_ADDR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i40e_get_port_mac_addr ; -- Begin function i40e_get_port_mac_addr
.p2align 2
_i40e_get_port_mac_addr: ; @i40e_get_port_mac_addr
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
str wzr, [sp, #4]
add x1, sp, #4
add x2, sp, #8
mov x3, #0
bl _i40e_aq_mac_address_read
cbnz x0, LBB0_4
; %bb.1:
ldr w8, [sp, #4]
Lloh0:
adrp x9, _I40E_AQC_PORT_ADDR_VALID@GOTPAGE
Lloh1:
ldr x9, [x9, _I40E_AQC_PORT_ADDR_VALID@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.2:
ldr w1, [sp, #8]
mov x0, x19
bl _ether_addr_copy
mov x0, #0
b LBB0_4
LBB0_3:
Lloh3:
adrp x8, _I40E_ERR_INVALID_MAC_ADDR@GOTPAGE
Lloh4:
ldr x8, [x8, _I40E_ERR_INVALID_MAC_ADDR@GOTPAGEOFF]
Lloh5:
ldr x0, [x8]
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _I40E_AQC_PORT_ADDR_VALID,4,2 ; @I40E_AQC_PORT_ADDR_VALID
.comm _I40E_ERR_INVALID_MAC_ADDR,8,3 ; @I40E_ERR_INVALID_MAC_ADDR
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_common.c_i40e_get_port_mac_addr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _git_cache_get_any ## -- Begin function git_cache_get_any
.p2align 4, 0x90
_git_cache_get_any: ## @git_cache_get_any
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _GIT_CACHE_STORE_ANY@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _cache_get ## TAILCALL
.cfi_endproc
## -- End function
.comm _GIT_CACHE_STORE_ANY,4,2 ## @GIT_CACHE_STORE_ANY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _git_cache_get_any ; -- Begin function git_cache_get_any
.p2align 2
_git_cache_get_any: ; @git_cache_get_any
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _GIT_CACHE_STORE_ANY@GOTPAGE
Lloh1:
ldr x8, [x8, _GIT_CACHE_STORE_ANY@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
b _cache_get
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GIT_CACHE_STORE_ANY,4,2 ; @GIT_CACHE_STORE_ANY
.subsections_via_symbols
| AnghaBench/libgit2/src/extr_cache.c_git_cache_get_any.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function unify
_unify: ## @unify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
movq %rax, %r14
testq %rax, %rax
je LBB0_7
## %bb.1:
movq %r14, %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %edi
callq _tolower
leaq -1(%r12), %rdx
movzbl (%rbx), %ecx
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movb %al, (%r12)
incq %rbx
movq %rdx, %r12
testb %cl, %cl
je LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %r15d
movl %r15d, %edi
callq _isascii
testq %rax, %rax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %edi
callq _isupper
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movzbl (%rbx), %ecx
leaq 1(%r12), %rdx
movl %ecx, %eax
jmp LBB0_6
LBB0_7:
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _unify
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function unify
_unify: ; @unify
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _strlen
add x0, x0, #1
bl _malloc
mov x20, x0
cbz x0, LBB0_7
; %bb.1:
mov x22, x20
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _tolower
and w10, w0, #0xff
sub x9, x22, #1
ldrb w8, [x19]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
strb w10, [x22]
add x19, x19, #1
mov x22, x9
cbz w8, LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w21, [x19]
mov x0, x21
bl _isascii
cbnz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _isupper
cbnz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x19]
add x9, x22, #1
mov x10, x8
b LBB0_3
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _unify
.subsections_via_symbols
| assembly_file_58003.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function socfpga_dbg_clk_recalc_rate
_socfpga_dbg_clk_recalc_rate: ## @socfpga_dbg_clk_recalc_rate
.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
callq _to_socfpga_gate_clk
movq %rax, %rbx
movl 16(%rax), %edi
callq _readl
movq 8(%rbx), %rdi
decq %rdi
xorl %esi, %esi
callq _GENMASK
shrq $2, %r14
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _socfpga_dbg_clk_recalc_rate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function socfpga_dbg_clk_recalc_rate
_socfpga_dbg_clk_recalc_rate: ; @socfpga_dbg_clk_recalc_rate
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _to_socfpga_gate_clk
mov x20, x0
ldr w0, [x0, #16]
bl _readl
ldr x8, [x20, #8]
sub x0, x8, #1
mov w1, #0
bl _GENMASK
lsr x0, x19, #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _socfpga_dbg_clk_recalc_rate
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/socfpga/extr_clk-gate-s10.c_socfpga_dbg_clk_recalc_rate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function integer_Pow
LCPI1_0:
.space 4
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI1_1:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.section __TEXT,__text,regular,pure_instructions
.globl _integer_Pow
.p2align 4, 0x90
_integer_Pow: ## @integer_Pow
.cfi_startproc
## %bb.0:
## kill: def $esi killed $esi def $rsi
movl %esi, %eax
orl %edi, %eax
je LBB1_1
## %bb.2:
testl %esi, %esi
je LBB1_3
## %bb.4:
cmpl $2, %esi
jl LBB1_5
## %bb.6:
leal -1(%rsi), %r8d
movl $1, %r9d
movl %edi, %eax
cmpl $8, %r8d
jb LBB1_15
## %bb.7:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %r8d, %r9d
movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = <u,1,1,1>
pinsrd $0, %edi, %xmm0
andl $-8, %r9d
movd %edi, %xmm1
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
leal -8(%r9), %ecx
movl %ecx, %eax
shrl $3, %eax
incl %eax
movl %eax, %edx
andl $7, %edx
cmpl $56, %ecx
jae LBB1_9
## %bb.8:
movdqa LCPI1_1(%rip), %xmm2 ## xmm2 = [1,1,1,1]
jmp LBB1_11
LBB1_1:
movl $1, %eax
retq
LBB1_3:
xorl %eax, %eax
retq
LBB1_5:
movl %edi, %eax
retq
LBB1_9:
andl $-8, %eax
movdqa LCPI1_1(%rip), %xmm2 ## xmm2 = [1,1,1,1]
.p2align 4, 0x90
LBB1_10: ## =>This Inner Loop Header: Depth=1
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
addl $-8, %eax
jne LBB1_10
LBB1_11:
testl %edx, %edx
popq %rbp
je LBB1_13
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
pmulld %xmm1, %xmm0
pmulld %xmm1, %xmm2
decl %edx
jne LBB1_12
LBB1_13:
pmulld %xmm2, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
pmulld %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
pmulld %xmm1, %xmm0
movd %xmm0, %eax
cmpl %r9d, %r8d
je LBB1_17
## %bb.14:
orl $1, %r9d
LBB1_15:
subl %r9d, %esi
.p2align 4, 0x90
LBB1_16: ## =>This Inner Loop Header: Depth=1
imull %edi, %eax
decl %esi
jne LBB1_16
LBB1_17:
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #8
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _integer_Pow ; -- Begin function integer_Pow
.p2align 2
_integer_Pow: ; @integer_Pow
.cfi_startproc
; %bb.0:
orr w8, w1, w0
cbz w8, LBB1_5
; %bb.1:
cbz w1, LBB1_6
; %bb.2:
cmp w1, #2
b.lt LBB1_7
; %bb.3:
sub w10, w1, #1
cmp w10, #16
b.hs LBB1_8
; %bb.4:
mov w9, #1
mov x8, x0
b LBB1_11
LBB1_5:
mov w0, #1
ret
LBB1_6:
mov w0, #0
LBB1_7:
ret
LBB1_8:
and w11, w10, #0xfffffff0
orr w9, w11, #0x1
movi.4s v0, #1
mov.s v0[0], w0
movi.4s v1, #1
dup.4s v2, w0
mov x8, x11
movi.4s v3, #1
movi.4s v4, #1
LBB1_9: ; =>This Inner Loop Header: Depth=1
mul.4s v0, v0, v2
mul.4s v1, v1, v2
mul.4s v3, v3, v2
mul.4s v4, v4, v2
subs w8, w8, #16
b.ne LBB1_9
; %bb.10:
mul.4s v0, v1, v0
mul.4s v0, v3, v0
mul.4s v0, v4, v0
ext.16b v1, v0, v0, #8
mul.2s v0, v0, v1
fmov w8, s0
mov.s w12, v0[1]
mul w8, w8, w12
cmp w10, w11
b.eq LBB1_13
LBB1_11:
sub w9, w1, w9
LBB1_12: ; =>This Inner Loop Header: Depth=1
mul w8, w8, w0
subs w9, w9, #1
b.ne LBB1_12
LBB1_13:
mov x0, x8
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/54368.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function out_log_event_write
_out_log_event_write: ## @out_log_event_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _le_buff@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _assert
xorl %edi, %edi
testb $3, (%rbx)
sete %dil
callq _assert
movl (%rbx), %esi
movl 4(%rbx), %edi
callq _writeout
movl $0, (%rbx)
incq (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _le_buff,8,2 ## @le_buff
.no_dead_strip _out_log_event_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function out_log_event_write
_out_log_event_write: ; @out_log_event_write
.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, _le_buff@GOTPAGE
Lloh1:
ldr x20, [x20, _le_buff@GOTPAGEOFF]
ldr w0, [x20]
bl _assert
ldr w8, [x20]
tst w8, #0x3
cset w0, eq
bl _assert
ldp w1, w0, [x20]
bl _writeout
str wzr, [x20]
ldr x8, [x19]
add x8, x8, #1
str x8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _le_buff,8,2 ; @le_buff
.no_dead_strip _out_log_event_write
.subsections_via_symbols
| AnghaBench/kphp-kdb/cache/extr_cache-data.c_out_log_event_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_result_str ## -- Begin function get_result_str
.p2align 4, 0x90
_get_result_str: ## @get_result_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $61, %edi
je LBB0_5
## %bb.1:
cmpl $111, %edi
je LBB0_2
## %bb.3:
cmpl $120, %edi
jne LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %rax
popq %rbp
retq
LBB0_5:
leaq L_.str.2(%rip), %rax
popq %rbp
retq
LBB0_2:
leaq L_.str(%rip), %rax
popq %rbp
retq
LBB0_6:
leaq L_.str.3(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_result ## -- Begin function get_result
.p2align 4, 0x90
_get_result: ## @get_result
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rax
movslq %esi, %rcx
leaq (%rax,%rax,4), %rax
leaq (%rax,%rax,2), %rax
leaq l___const.get_result.table(%rip), %rdx
addq %rax, %rdx
movsbl (%rcx,%rdx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_index ## -- Begin function get_index
.p2align 4, 0x90
_get_index: ## @get_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq l___const.get_index.names(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB2_1
## %bb.2:
leaq l___const.get_index.names+4(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_3
## %bb.4:
leaq l___const.get_index.names+8(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_5
## %bb.6:
leaq l___const.get_index.names+12(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_7
## %bb.8:
leaq l___const.get_index.names+16(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_9
## %bb.10:
leaq l___const.get_index.names+20(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_11
## %bb.12:
leaq l___const.get_index.names+24(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_13
## %bb.14:
leaq l___const.get_index.names+28(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_15
## %bb.16:
leaq l___const.get_index.names+32(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_17
## %bb.18:
leaq l___const.get_index.names+36(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_19
## %bb.20:
leaq l___const.get_index.names+40(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_21
## %bb.22:
leaq l___const.get_index.names+44(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_23
## %bb.24:
leaq l___const.get_index.names+48(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_25
## %bb.26:
leaq l___const.get_index.names+52(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_27
## %bb.28:
leaq l___const.get_index.names+56(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
movl %eax, %ecx
xorl %eax, %eax
negl %ecx
sbbl %eax, %eax
orl $14, %eax
jmp LBB2_29
LBB2_1:
xorl %eax, %eax
jmp LBB2_29
LBB2_3:
movl $1, %eax
jmp LBB2_29
LBB2_5:
movl $2, %eax
jmp LBB2_29
LBB2_7:
movl $3, %eax
jmp LBB2_29
LBB2_9:
movl $4, %eax
jmp LBB2_29
LBB2_11:
movl $5, %eax
jmp LBB2_29
LBB2_13:
movl $6, %eax
jmp LBB2_29
LBB2_15:
movl $7, %eax
jmp LBB2_29
LBB2_17:
movl $8, %eax
jmp LBB2_29
LBB2_19:
movl $9, %eax
jmp LBB2_29
LBB2_21:
movl $10, %eax
jmp LBB2_29
LBB2_23:
movl $11, %eax
jmp LBB2_29
LBB2_25:
movl $12, %eax
jmp LBB2_29
LBB2_27:
movl $13, %eax
LBB2_29:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.4(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -44(%rbp)
jle LBB3_9
## %bb.1:
leaq -52(%rbp), %r15
leaq -48(%rbp), %r12
leaq l___const.get_result.table(%rip), %r13
xorl %r14d, %r14d
jmp LBB3_2
.p2align 4, 0x90
LBB3_7: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.3(%rip), %rdi
LBB3_8: ## in Loop: Header=BB3_2 Depth=1
callq _puts
incl %r14d
cmpl -44(%rbp), %r14d
jge LBB3_9
LBB3_2: ## =>This Inner Loop Header: Depth=1
leaq L_.str.5(%rip), %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _scanf
movq %r15, %rdi
callq _get_index
movl %eax, %ebx
movq %r12, %rdi
callq _get_index
movslq %ebx, %rcx
cltq
leaq (%rcx,%rcx,4), %rcx
leaq (%rcx,%rcx,2), %rcx
addq %r13, %rcx
movsbl (%rax,%rcx), %eax
cmpl $61, %eax
je LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str(%rip), %rdi
cmpl $111, %eax
je LBB3_8
## %bb.4: ## in Loop: Header=BB3_2 Depth=1
cmpl $120, %eax
jne LBB3_7
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.1(%rip), %rdi
jmp LBB3_8
.p2align 4, 0x90
LBB3_6: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.2(%rip), %rdi
jmp LBB3_8
LBB3_9:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FRIEND"
L_.str.1: ## @.str.1
.asciz "ENEMY"
L_.str.2: ## @.str.2
.asciz "DRAW"
L_.str.3: ## @.str.3
.space 1
.section __TEXT,__const
.p2align 4 ## @__const.get_result.table
l___const.get_result.table:
.ascii "=oooooooooooox="
.ascii "x=oooooooooooo="
.ascii "xx=ooooooooooo="
.ascii "xxx=oooooxxooo="
.ascii "xxxx=ooooxxooo="
.ascii "xxxxx=oooxxooo="
.ascii "xxxxxx=ooxxooo="
.ascii "xxxxxxx=oxxooo="
.ascii "xxxxxxxx=xxooo="
.ascii "xxxoooooo=ooooo"
.ascii "xxxoooooox=oxo="
.ascii "xxxxxxxxxxx=oo="
.ascii "xxxxxxxxxxox=oo"
.ascii "oxxxxxxxxxxxx=="
.ascii "=========x==x=="
.p2align 4 ## @__const.get_index.names
l___const.get_index.names:
.asciz "GEN"
.asciz "LTG"
.asciz "MJG"
.asciz "COL"
.asciz "LTC"
.asciz "MAJ"
.asciz "CPT"
.asciz "1LT"
.asciz "2LT"
.asciz "PLA"
.asciz "TNK"
.asciz "CAV"
.asciz "ENG"
.asciz "SPY"
.asciz "MIN"
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "%s %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_result_str ; -- Begin function get_result_str
.p2align 2
_get_result_str: ; @get_result_str
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
Lloh2:
adrp x9, l_.str.2@PAGE
Lloh3:
add x9, x9, l_.str.2@PAGEOFF
cmp w0, #120
Lloh4:
adrp x10, l_.str.3@PAGE
Lloh5:
add x10, x10, l_.str.3@PAGEOFF
Lloh6:
adrp x11, l_.str.1@PAGE
Lloh7:
add x11, x11, l_.str.1@PAGEOFF
csel x10, x10, x11, ne
cmp w0, #111
csel x8, x8, x10, eq
cmp w0, #61
csel x0, x9, x8, eq
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _get_result ; -- Begin function get_result
.p2align 2
_get_result: ; @get_result
.cfi_startproc
; %bb.0:
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
Lloh8:
adrp x9, l___const.get_result.table@PAGE
Lloh9:
add x9, x9, l___const.get_result.table@PAGEOFF
sbfiz x10, x0, #4, #32
sub x8, x10, x8
add x8, x9, x8
ldrsb w0, [x8, w1, sxtw]
ret
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _get_index ; -- Begin function get_index
.p2align 2
_get_index: ; @get_index
.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
Lloh10:
adrp x1, l___const.get_index.names@PAGE
Lloh11:
add x1, x1, l___const.get_index.names@PAGEOFF
bl _strcmp
cbz w0, LBB2_28
; %bb.1:
Lloh12:
adrp x1, l___const.get_index.names@PAGE+4
Lloh13:
add x1, x1, l___const.get_index.names@PAGEOFF+4
mov x0, x19
bl _strcmp
cbz w0, LBB2_15
; %bb.2:
Lloh14:
adrp x1, l___const.get_index.names@PAGE+8
Lloh15:
add x1, x1, l___const.get_index.names@PAGEOFF+8
mov x0, x19
bl _strcmp
cbz w0, LBB2_16
; %bb.3:
Lloh16:
adrp x1, l___const.get_index.names@PAGE+12
Lloh17:
add x1, x1, l___const.get_index.names@PAGEOFF+12
mov x0, x19
bl _strcmp
cbz w0, LBB2_17
; %bb.4:
Lloh18:
adrp x1, l___const.get_index.names@PAGE+16
Lloh19:
add x1, x1, l___const.get_index.names@PAGEOFF+16
mov x0, x19
bl _strcmp
cbz w0, LBB2_18
; %bb.5:
Lloh20:
adrp x1, l___const.get_index.names@PAGE+20
Lloh21:
add x1, x1, l___const.get_index.names@PAGEOFF+20
mov x0, x19
bl _strcmp
cbz w0, LBB2_19
; %bb.6:
Lloh22:
adrp x1, l___const.get_index.names@PAGE+24
Lloh23:
add x1, x1, l___const.get_index.names@PAGEOFF+24
mov x0, x19
bl _strcmp
cbz w0, LBB2_20
; %bb.7:
Lloh24:
adrp x1, l___const.get_index.names@PAGE+28
Lloh25:
add x1, x1, l___const.get_index.names@PAGEOFF+28
mov x0, x19
bl _strcmp
cbz w0, LBB2_21
; %bb.8:
Lloh26:
adrp x1, l___const.get_index.names@PAGE+32
Lloh27:
add x1, x1, l___const.get_index.names@PAGEOFF+32
mov x0, x19
bl _strcmp
cbz w0, LBB2_22
; %bb.9:
Lloh28:
adrp x1, l___const.get_index.names@PAGE+36
Lloh29:
add x1, x1, l___const.get_index.names@PAGEOFF+36
mov x0, x19
bl _strcmp
cbz w0, LBB2_23
; %bb.10:
Lloh30:
adrp x1, l___const.get_index.names@PAGE+40
Lloh31:
add x1, x1, l___const.get_index.names@PAGEOFF+40
mov x0, x19
bl _strcmp
cbz w0, LBB2_24
; %bb.11:
Lloh32:
adrp x1, l___const.get_index.names@PAGE+44
Lloh33:
add x1, x1, l___const.get_index.names@PAGEOFF+44
mov x0, x19
bl _strcmp
cbz w0, LBB2_25
; %bb.12:
Lloh34:
adrp x1, l___const.get_index.names@PAGE+48
Lloh35:
add x1, x1, l___const.get_index.names@PAGEOFF+48
mov x0, x19
bl _strcmp
cbz w0, LBB2_26
; %bb.13:
Lloh36:
adrp x1, l___const.get_index.names@PAGE+52
Lloh37:
add x1, x1, l___const.get_index.names@PAGEOFF+52
mov x0, x19
bl _strcmp
cbz w0, LBB2_27
; %bb.14:
Lloh38:
adrp x1, l___const.get_index.names@PAGE+56
Lloh39:
add x1, x1, l___const.get_index.names@PAGEOFF+56
mov x0, x19
bl _strcmp
cmp w0, #0
mov w8, #14
csinv w0, w8, wzr, eq
b LBB2_28
LBB2_15:
mov w0, #1
b LBB2_28
LBB2_16:
mov w0, #2
b LBB2_28
LBB2_17:
mov w0, #3
b LBB2_28
LBB2_18:
mov w0, #4
b LBB2_28
LBB2_19:
mov w0, #5
b LBB2_28
LBB2_20:
mov w0, #6
b LBB2_28
LBB2_21:
mov w0, #7
b LBB2_28
LBB2_22:
mov w0, #8
b LBB2_28
LBB2_23:
mov w0, #9
b LBB2_28
LBB2_24:
mov w0, #10
b LBB2_28
LBB2_25:
mov w0, #11
b LBB2_28
LBB2_26:
mov w0, #12
b LBB2_28
LBB2_27:
mov w0, #13
LBB2_28:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
add x8, sp, #28
str x8, [sp]
Lloh40:
adrp x0, l_.str.4@PAGE
Lloh41:
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB3_6
; %bb.1:
mov w21, #0
add x22, sp, #20
add x23, sp, #24
Lloh42:
adrp x19, l_.str.5@PAGE
Lloh43:
add x19, x19, l_.str.5@PAGEOFF
Lloh44:
adrp x24, l___const.get_result.table@PAGE
Lloh45:
add x24, x24, l___const.get_result.table@PAGEOFF
Lloh46:
adrp x25, l_.str@PAGE
Lloh47:
add x25, x25, l_.str@PAGEOFF
Lloh48:
adrp x26, l_.str.2@PAGE
Lloh49:
add x26, x26, l_.str.2@PAGEOFF
Lloh50:
adrp x27, l_.str.3@PAGE
Lloh51:
add x27, x27, l_.str.3@PAGEOFF
Lloh52:
adrp x28, l_.str.1@PAGE
Lloh53:
add x28, x28, l_.str.1@PAGEOFF
b LBB3_4
LBB3_2: ; in Loop: Header=BB3_4 Depth=1
mov x0, x26
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
bl _puts
add w21, w21, #1
ldr w8, [sp, #28]
cmp w21, w8
b.ge LBB3_6
LBB3_4: ; =>This Inner Loop Header: Depth=1
stp x23, x22, [sp]
mov x0, x19
bl _scanf
add x0, sp, #24
bl _get_index
mov x20, x0
add x0, sp, #20
bl _get_index
sxtw x8, w20
sbfiz x9, x20, #4, #32
sub x8, x9, x8
add x8, x24, x8
ldrsb w8, [x8, w0, sxtw]
cmp w8, #61
b.eq LBB3_2
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
cmp w8, #120
csel x9, x27, x28, ne
cmp w8, #111
csel x0, x25, x9, eq
b LBB3_3
LBB3_6:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "FRIEND"
l_.str.1: ; @.str.1
.asciz "ENEMY"
l_.str.2: ; @.str.2
.asciz "DRAW"
l_.str.3: ; @.str.3
.space 1
.section __TEXT,__const
l___const.get_result.table: ; @__const.get_result.table
.ascii "=oooooooooooox="
.ascii "x=oooooooooooo="
.ascii "xx=ooooooooooo="
.ascii "xxx=oooooxxooo="
.ascii "xxxx=ooooxxooo="
.ascii "xxxxx=oooxxooo="
.ascii "xxxxxx=ooxxooo="
.ascii "xxxxxxx=oxxooo="
.ascii "xxxxxxxx=xxooo="
.ascii "xxxoooooo=ooooo"
.ascii "xxxoooooox=oxo="
.ascii "xxxxxxxxxxx=oo="
.ascii "xxxxxxxxxxox=oo"
.ascii "oxxxxxxxxxxxx=="
.ascii "=========x==x=="
l___const.get_index.names: ; @__const.get_index.names
.asciz "GEN"
.asciz "LTG"
.asciz "MJG"
.asciz "COL"
.asciz "LTC"
.asciz "MAJ"
.asciz "CPT"
.asciz "1LT"
.asciz "2LT"
.asciz "PLA"
.asciz "TNK"
.asciz "CAV"
.asciz "ENG"
.asciz "SPY"
.asciz "MIN"
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "%s %s"
.subsections_via_symbols
| the_stack_data/1218605.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ia32_do_mmap ## -- Begin function ia32_do_mmap
.p2align 4, 0x90
_ia32_do_mmap: ## @ia32_do_mmap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r15d
movl %ecx, %r13d
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
movl %r9d, -48(%rbp) ## 4-byte Spill
movl %r9d, (%rsp)
leaq L_.str(%rip), %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %rbx, %rcx
movl %r13d, %r8d
movl %r15d, %r9d
xorl %eax, %eax
callq _DBG
testq %r14, %r14
je LBB0_5
## %bb.1:
movq (%r14), %rax
testq %rax, %rax
je LBB0_3
## %bb.2:
cmpl $0, (%rax)
je LBB0_3
LBB0_5:
movl %r15d, -44(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _IA32_PAGE_ALIGN
testq %rax, %rax
je LBB0_14
## %bb.6:
movq %rax, %r15
movq _IA32_PAGE_OFFSET@GOTPCREL(%rip), %rax
movq (%rax), %rax
subq %r15, %rax
jb LBB0_8
## %bb.7:
cmpq %r12, %rax
jb LBB0_8
## %bb.10:
movl -48(%rbp), %edi ## 4-byte Reload
callq _OFFSET4K
testq %rax, %rax
jne LBB0_11
## %bb.12:
movl %r13d, %edi
callq _get_prot32
movl %eax, %ebx
movq _MAP_HUGETLB@GOTPCREL(%rip), %rax
movl -44(%rbp), %r13d ## 4-byte Reload
testl %r13d, (%rax)
jne LBB0_9
## %bb.13:
movq _current@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _down_write
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %ebx, %ecx
movl %r13d, %r8d
movl -48(%rbp), %r9d ## 4-byte Reload
callq _do_mmap
movq %rax, %r12
movq _current@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _up_write
leaq L_.str.1(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _DBG
jmp LBB0_14
LBB0_3:
movq _ENODEV@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_8:
movq _MAP_FIXED@GOTPCREL(%rip), %rax
movl -44(%rbp), %ecx ## 4-byte Reload
testl %ecx, (%rax)
je LBB0_11
LBB0_9:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_11:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
xorl %r12d, %r12d
subq (%rax), %r12
LBB0_14:
movq %r12, %rax
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 "ia32_do_mmap(file=%p,addr=0x%lx,len=0x%lx,prot=%x,flags=%x,offset=0x%llx)\n"
.comm _ENODEV,8,3 ## @ENODEV
.comm _IA32_PAGE_OFFSET,8,3 ## @IA32_PAGE_OFFSET
.comm _MAP_FIXED,4,2 ## @MAP_FIXED
.comm _ENOMEM,8,3 ## @ENOMEM
.comm _EINVAL,8,3 ## @EINVAL
.comm _MAP_HUGETLB,4,2 ## @MAP_HUGETLB
.comm _current,8,3 ## @current
L_.str.1: ## @.str.1
.asciz "ia32_do_mmap: returning 0x%lx\n"
.comm _ia32_mmap_mutex,4,2 ## @ia32_mmap_mutex
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ia32_do_mmap ; -- Begin function ia32_do_mmap
.p2align 2
_ia32_do_mmap: ; @ia32_do_mmap
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x5
mov x20, x4
mov x23, x3
mov x24, x2
mov x19, x1
mov x22, x0
stp x20, x21, [sp, #32]
stp x2, x23, [sp, #16]
stp x0, x1, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DBG
cbz x22, LBB0_3
; %bb.1:
ldr x8, [x22]
cbz x8, LBB0_6
; %bb.2:
ldr w8, [x8]
cbz w8, LBB0_6
LBB0_3:
mov x0, x24
bl _IA32_PAGE_ALIGN
cbz x0, LBB0_12
; %bb.4:
mov x24, x0
Lloh2:
adrp x8, _IA32_PAGE_OFFSET@GOTPAGE
Lloh3:
ldr x8, [x8, _IA32_PAGE_OFFSET@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
subs x8, x8, x0
ccmp x8, x19, #0, hs
b.hs LBB0_7
; %bb.5:
Lloh5:
adrp x8, _MAP_FIXED@GOTPAGE
Lloh6:
ldr x8, [x8, _MAP_FIXED@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
tst w8, w20
b.ne LBB0_10
b LBB0_8
LBB0_6:
Lloh8:
adrp x8, _ENODEV@GOTPAGE
Lloh9:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
b LBB0_11
LBB0_7:
mov x0, x21
bl _OFFSET4K
cbz x0, LBB0_9
LBB0_8:
Lloh10:
adrp x8, _EINVAL@GOTPAGE
Lloh11:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_11
LBB0_9:
mov x0, x23
bl _get_prot32
Lloh12:
adrp x8, _MAP_HUGETLB@GOTPAGE
Lloh13:
ldr x8, [x8, _MAP_HUGETLB@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
tst w8, w20
b.eq LBB0_13
LBB0_10:
Lloh15:
adrp x8, _ENOMEM@GOTPAGE
Lloh16:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
ldr x8, [x8]
neg x19, x8
LBB0_12:
mov x0, x19
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_13:
mov x23, x0
Lloh17:
adrp x25, _current@GOTPAGE
Lloh18:
ldr x25, [x25, _current@GOTPAGEOFF]
ldr x8, [x25]
ldr x0, [x8]
bl _down_write
mov x0, x22
mov x1, x19
mov x2, x24
mov x3, x23
mov x4, x20
mov x5, x21
bl _do_mmap
mov x19, x0
ldr x8, [x25]
ldr x0, [x8]
bl _up_write
str x19, [sp]
Lloh19:
adrp x0, l_.str.1@PAGE
Lloh20:
add x0, x0, l_.str.1@PAGEOFF
bl _DBG
b LBB0_12
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ia32_do_mmap(file=%p,addr=0x%lx,len=0x%lx,prot=%x,flags=%x,offset=0x%llx)\n"
.comm _ENODEV,8,3 ; @ENODEV
.comm _IA32_PAGE_OFFSET,8,3 ; @IA32_PAGE_OFFSET
.comm _MAP_FIXED,4,2 ; @MAP_FIXED
.comm _ENOMEM,8,3 ; @ENOMEM
.comm _EINVAL,8,3 ; @EINVAL
.comm _MAP_HUGETLB,4,2 ; @MAP_HUGETLB
.comm _current,8,3 ; @current
l_.str.1: ; @.str.1
.asciz "ia32_do_mmap: returning 0x%lx\n"
.comm _ia32_mmap_mutex,4,2 ; @ia32_mmap_mutex
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/ia64/ia32/extr_sys_ia32.c_ia32_do_mmap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function zforce_parse_dt
_zforce_parse_dt: ## @zforce_parse_dt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rbx
testq %rbx, %rbx
je LBB0_1
## %bb.2:
movq %rdi, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $8, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r15
leaq 4(%rax), %rdx
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _of_property_read_u32
movq _EINVAL@GOTPCREL(%rip), %r12
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rsi
jmp LBB0_8
LBB0_1:
movq _ENOENT@GOTPCREL(%rip), %r12
jmp LBB0_9
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %r12
leaq L_.str(%rip), %rsi
jmp LBB0_8
LBB0_6:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq _of_property_read_u32
testq %rax, %rax
je LBB0_10
## %bb.7:
leaq L_.str.4(%rip), %rsi
LBB0_8:
movq %r14, %rdi
callq _dev_err
LBB0_9:
xorl %edi, %edi
subl (%r12), %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_10:
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOENT,4,2 ## @ENOENT
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to allocate platform data\n"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "x-size"
L_.str.2: ## @.str.2
.asciz "failed to get x-size property\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.3: ## @.str.3
.asciz "y-size"
L_.str.4: ## @.str.4
.asciz "failed to get y-size property\n"
.no_dead_strip _zforce_parse_dt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function zforce_parse_dt
_zforce_parse_dt: ; @zforce_parse_dt
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x20, [x0]
cbz x20, LBB0_4
; %bb.1:
mov x19, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #8
bl _devm_kzalloc
cbz x0, LBB0_5
; %bb.2:
mov x21, x0
add x2, x0, #4
Lloh3:
adrp x1, l_.str.1@PAGE
Lloh4:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _of_property_read_u32
cbz x0, LBB0_6
; %bb.3:
Lloh5:
adrp x20, _EINVAL@GOTPAGE
Lloh6:
ldr x20, [x20, _EINVAL@GOTPAGEOFF]
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_8
LBB0_4:
Lloh9:
adrp x20, _ENOENT@GOTPAGE
Lloh10:
ldr x20, [x20, _ENOENT@GOTPAGEOFF]
b LBB0_9
LBB0_5:
Lloh11:
adrp x20, _ENOMEM@GOTPAGE
Lloh12:
ldr x20, [x20, _ENOMEM@GOTPAGEOFF]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
b LBB0_8
LBB0_6:
Lloh15:
adrp x1, l_.str.3@PAGE
Lloh16:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
mov x2, x21
bl _of_property_read_u32
cbz x0, LBB0_10
; %bb.7:
Lloh17:
adrp x20, _EINVAL@GOTPAGE
Lloh18:
ldr x20, [x20, _EINVAL@GOTPAGEOFF]
Lloh19:
adrp x1, l_.str.4@PAGE
Lloh20:
add x1, x1, l_.str.4@PAGEOFF
LBB0_8:
mov x0, x19
bl _dev_err
LBB0_9:
ldr w8, [x20]
neg w0, w8
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 _ERR_PTR
LBB0_10:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _ENOENT,4,2 ; @ENOENT
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to allocate platform data\n"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "x-size"
l_.str.2: ; @.str.2
.asciz "failed to get x-size property\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.3: ; @.str.3
.asciz "y-size"
l_.str.4: ; @.str.4
.asciz "failed to get y-size property\n"
.no_dead_strip _zforce_parse_dt
.subsections_via_symbols
| AnghaBench/linux/drivers/input/touchscreen/extr_zforce_ts.c_zforce_parse_dt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _setupChildSignalHandlers ## -- Begin function setupChildSignalHandlers
.p2align 4, 0x90
_setupChildSignalHandlers: ## @setupChildSignalHandlers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
leaq -8(%rbp), %rdi
callq _sigemptyset
movq $0, -16(%rbp)
movq _sigKillChildHandler@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
movq _SIGUSR1@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
xorl %edx, %edx
callq _sigaction
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _sigKillChildHandler,4,2 ## @sigKillChildHandler
.comm _SIGUSR1,4,2 ## @SIGUSR1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _setupChildSignalHandlers ; -- Begin function setupChildSignalHandlers
.p2align 2
_setupChildSignalHandlers: ; @setupChildSignalHandlers
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x8, sp, #8
add x0, x8, #16
bl _sigemptyset
Lloh0:
adrp x8, _sigKillChildHandler@GOTPAGE
Lloh1:
ldr x8, [x8, _sigKillChildHandler@GOTPAGEOFF]
str xzr, [sp, #16]
Lloh2:
ldr w8, [x8]
str w8, [sp, #8]
Lloh3:
adrp x8, _SIGUSR1@GOTPAGE
Lloh4:
ldr x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
add x1, sp, #8
mov x2, #0
bl _sigaction
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _sigKillChildHandler,4,2 ; @sigKillChildHandler
.comm _SIGUSR1,4,2 ; @SIGUSR1
.subsections_via_symbols
| AnghaBench/redis/src/extr_server.c_setupChildSignalHandlers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _config_parse_exec_io_priority ## -- Begin function config_parse_exec_io_priority
.p2align 4, 0x90
_config_parse_exec_io_priority: ## @config_parse_exec_io_priority
.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 %r9, %r14
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %rbx
movq %rdi, %r15
movq 32(%rbp), %r12
movq 24(%rbp), %r13
movq %rsi, %rdi
callq _assert
movq %r14, %rdi
movq %r12, %r14
callq _assert
movq %r13, %rdi
callq _assert
movq %r12, %rdi
callq _assert
movq %r13, %rdi
callq _isempty
testq %rax, %rax
je LBB0_2
## %bb.1:
movl $0, (%r14)
movq _IOPRIO_CLASS_BE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _IOPRIO_PRIO_VALUE
movq %rax, 8(%r14)
jmp LBB0_5
LBB0_2:
movl -44(%rbp), %r12d ## 4-byte Reload
leaq -48(%rbp), %rsi
movq %r13, %rdi
callq _ioprio_parse_priority
testl %eax, %eax
js LBB0_3
## %bb.4:
movq 8(%r14), %rdi
callq _IOPRIO_PRIO_CLASS
movl -48(%rbp), %esi
movl %eax, %edi
callq _IOPRIO_PRIO_VALUE
movq %rax, 8(%r14)
movl $1, (%r14)
jmp LBB0_5
LBB0_3:
movq _LOG_ERR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %r13, (%rsp)
leaq L_.str(%rip), %r9
movq %r15, %rdi
movq %rbx, %rdx
movl %r12d, %ecx
movl %eax, %r8d
callq _log_syntax
LBB0_5:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IOPRIO_CLASS_BE,4,2 ## @IOPRIO_CLASS_BE
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to parse IO priority, ignoring: %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _config_parse_exec_io_priority ; -- Begin function config_parse_exec_io_priority
.p2align 2
_config_parse_exec_io_priority: ; @config_parse_exec_io_priority
.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, x7
mov x24, x5
mov x21, x2
mov x22, x1
mov x23, x0
ldr x19, [x29, #16]
mov x0, x1
bl _assert
mov x0, x24
bl _assert
mov x0, x20
bl _assert
mov x0, x19
bl _assert
mov x0, x20
bl _isempty
cbz x0, LBB0_2
; %bb.1:
str wzr, [x19]
Lloh0:
adrp x8, _IOPRIO_CLASS_BE@GOTPAGE
Lloh1:
ldr x8, [x8, _IOPRIO_CLASS_BE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
bl _IOPRIO_PRIO_VALUE
str x0, [x19, #8]
b LBB0_5
LBB0_2:
add x1, sp, #12
mov x0, x20
bl _ioprio_parse_priority
tbnz w0, #31, LBB0_4
; %bb.3:
ldr x0, [x19, #8]
bl _IOPRIO_PRIO_CLASS
ldr w1, [sp, #12]
bl _IOPRIO_PRIO_VALUE
str x0, [x19, #8]
mov w8, #1
str w8, [x19]
b LBB0_5
LBB0_4:
mov x4, x0
Lloh3:
adrp x8, _LOG_ERR@GOTPAGE
Lloh4:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x5, l_.str@PAGE
Lloh7:
add x5, x5, l_.str@PAGEOFF
mov x0, x23
mov x2, x22
mov x3, x21
mov x6, x20
bl _log_syntax
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IOPRIO_CLASS_BE,4,2 ; @IOPRIO_CLASS_BE
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to parse IO priority, ignoring: %s"
.subsections_via_symbols
| AnghaBench/systemd/src/core/extr_load-fragment.c_config_parse_exec_io_priority.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ASN1_INTEGER_get ## -- Begin function ASN1_INTEGER_get
.p2align 4, 0x90
_ASN1_INTEGER_get: ## @ASN1_INTEGER_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rsi
leaq -8(%rbp), %rdi
callq _ASN1_INTEGER_get_int64
testl %eax, %eax
je LBB0_3
## %bb.4:
movq -8(%rbp), %rcx
movq _LONG_MIN@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
movq _LONG_MAX@GOTPCREL(%rip), %rdx
movq $-1, %rsi
movq %rcx, %rax
cmovlq %rsi, %rax
cmpq (%rdx), %rcx
cmovgq %rsi, %rax
jmp LBB0_5
LBB0_1:
xorl %eax, %eax
jmp LBB0_5
LBB0_3:
movq $-1, %rax
LBB0_5:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LONG_MAX,8,3 ## @LONG_MAX
.comm _LONG_MIN,8,3 ## @LONG_MIN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ASN1_INTEGER_get ; -- Begin function ASN1_INTEGER_get
.p2align 2
_ASN1_INTEGER_get: ; @ASN1_INTEGER_get
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
cbz x0, LBB0_4
; %bb.1:
mov x1, x0
add x0, sp, #8
bl _ASN1_INTEGER_get_int64
cbz w0, LBB0_3
; %bb.2:
ldr x8, [sp, #8]
Lloh0:
adrp x9, _LONG_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _LONG_MAX@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _LONG_MIN@GOTPAGE
Lloh4:
ldr x10, [x10, _LONG_MIN@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp x8, x10
ccmp x8, x9, #0, ge
csinv x0, x8, xzr, le
b LBB0_4
LBB0_3:
mov x0, #-1
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LONG_MAX,8,3 ; @LONG_MAX
.comm _LONG_MIN,8,3 ; @LONG_MIN
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_a_int.c_ASN1_INTEGER_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _buffer_get_info
__buffer_get_info: ## @_buffer_get_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq __buffer_info_cache@GOTPCREL(%rip), %r12
cmpq $0, (%r12)
jne LBB0_2
## %bb.1:
xorl %r13d, %r13d
xorl %eax, %eax
callq _PyDict_New
movq %rax, (%r12)
testq %rax, %rax
je LBB0_22
LBB0_2:
movq %rbx, %rdi
callq __buffer_info_new
testq %rax, %rax
je LBB0_21
## %bb.3:
movq %rax, %r13
movq %rbx, %rdi
callq _PyLong_FromVoidPtr
movq %rax, %r14
testq %rax, %rax
je LBB0_18
## %bb.4:
movq (%r12), %rdi
movq %r14, %rsi
callq _PyDict_GetItem
testq %rax, %rax
je LBB0_9
## %bb.5:
movq %rax, %r15
movq %rax, %rdi
callq _Py_INCREF
movq %r15, %rdi
callq _PyList_GET_SIZE
testq %rax, %rax
jle LBB0_12
## %bb.6:
movq %r15, %rdi
callq _PyList_GET_SIZE
leaq -1(%rax), %rsi
movq %r15, %rdi
callq _PyList_GetItem
movq %rax, %rdi
callq _PyLong_AsVoidPtr
movq %rax, %r12
movq %r13, %rdi
movq %rax, %rsi
callq __buffer_info_cmp
testq %rax, %rax
je LBB0_16
## %bb.7:
cmpq %r12, %r13
jne LBB0_13
jmp LBB0_17
LBB0_9:
xorl %edi, %edi
callq _PyList_New
testq %rax, %rax
je LBB0_18
## %bb.10:
movq %rax, %r15
movq (%r12), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq _PyDict_SetItem
testq %rax, %rax
jne LBB0_19
LBB0_12:
xorl %r12d, %r12d
LBB0_13:
movq %r13, %rdi
callq _PyLong_FromVoidPtr
testq %rax, %rax
je LBB0_15
## %bb.14:
movq %rax, %rbx
movq %r15, %rdi
movq %rax, %rsi
callq _PyList_Append
movq %rbx, %rdi
callq _Py_DECREF
jmp LBB0_17
LBB0_18:
xorl %r15d, %r15d
LBB0_19:
movq %r13, %rdi
callq __buffer_info_free
LBB0_20:
movq %r15, %rdi
callq _Py_XDECREF
movq %r14, %rdi
callq _Py_XDECREF
LBB0_21:
xorl %r13d, %r13d
jmp LBB0_22
LBB0_15:
cmpq %r12, %r13
jne LBB0_19
jmp LBB0_20
LBB0_16:
movq %r13, %rdi
callq __buffer_info_free
movq %r12, %r13
LBB0_17:
movq %r15, %rdi
callq _Py_DECREF
movq %r14, %rdi
callq _Py_DECREF
LBB0_22:
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __buffer_info_cache,8,3 ## @_buffer_info_cache
.no_dead_strip __buffer_get_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _buffer_get_info
__buffer_get_info: ; @_buffer_get_info
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
Lloh0:
adrp x22, __buffer_info_cache@GOTPAGE
Lloh1:
ldr x22, [x22, __buffer_info_cache@GOTPAGEOFF]
ldr x8, [x22]
cbnz x8, LBB0_2
; %bb.1:
bl _PyDict_New
str x0, [x22]
cbz x0, LBB0_17
LBB0_2:
mov x0, x20
bl __buffer_info_new
mov x19, x0
cbz x0, LBB0_20
; %bb.3:
mov x0, x20
bl _PyLong_FromVoidPtr
mov x20, x0
cbz x0, LBB0_8
; %bb.4:
ldr x0, [x22]
mov x1, x20
bl _PyDict_GetItem
cbz x0, LBB0_9
; %bb.5:
mov x21, x0
bl _Py_INCREF
mov x0, x21
bl _PyList_GET_SIZE
cmp x0, #1
b.lt LBB0_11
; %bb.6:
mov x0, x21
bl _PyList_GET_SIZE
sub x1, x0, #1
mov x0, x21
bl _PyList_GetItem
bl _PyLong_AsVoidPtr
mov x22, x0
mov x0, x19
mov x1, x22
bl __buffer_info_cmp
cbz x0, LBB0_18
; %bb.7:
cmp x19, x22
b.ne LBB0_12
b LBB0_19
LBB0_8:
mov x21, #0
b LBB0_15
LBB0_9:
bl _PyList_New
mov x21, x0
cbz x0, LBB0_15
; %bb.10:
ldr x0, [x22]
mov x1, x20
mov x2, x21
bl _PyDict_SetItem
cbnz x0, LBB0_15
LBB0_11:
mov x22, #0
LBB0_12:
mov x0, x19
bl _PyLong_FromVoidPtr
cbz x0, LBB0_14
; %bb.13:
mov x23, x0
mov x0, x21
mov x1, x23
bl _PyList_Append
mov x0, x23
bl _Py_DECREF
b LBB0_19
LBB0_14:
cmp x19, x22
b.eq LBB0_16
LBB0_15:
mov x0, x19
bl __buffer_info_free
LBB0_16:
mov x0, x21
bl _Py_XDECREF
mov x0, x20
bl _Py_XDECREF
LBB0_17:
mov x19, #0
b LBB0_20
LBB0_18:
mov x0, x19
bl __buffer_info_free
mov x19, x22
LBB0_19:
mov x0, x21
bl _Py_DECREF
mov x0, x20
bl _Py_DECREF
LBB0_20:
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
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm __buffer_info_cache,8,3 ; @_buffer_info_cache
.no_dead_strip __buffer_get_info
.subsections_via_symbols
| AnghaBench/numpy/numpy/core/src/multiarray/extr_buffer.c__buffer_get_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Box_Description
_Box_Description: ## @Box_Description
.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), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The `Box` type is another wrapper around a C pointer with one additional behaviour as compared to `Ref`. When a `Box` object is deleted it will also call `del` on the object it points to. The means a `Box` is considered a pointer type that _owns_ the object it points to, and so is responsible for it's destruction. Due to this `Box`s must point to valid Cello objects and so can't be initalised with `NULL` or anything else invalid. \n\nWhile this might not seem that useful when there is Garbage Collection this can be very useful when Garbage Collection is turned off, and when used in conjunction with collections."
.no_dead_strip _Box_Description
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Box_Description
_Box_Description: ; @Box_Description
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The `Box` type is another wrapper around a C pointer with one additional behaviour as compared to `Ref`. When a `Box` object is deleted it will also call `del` on the object it points to. The means a `Box` is considered a pointer type that _owns_ the object it points to, and so is responsible for it's destruction. Due to this `Box`s must point to valid Cello objects and so can't be initalised with `NULL` or anything else invalid. \n\nWhile this might not seem that useful when there is Garbage Collection this can be very useful when Garbage Collection is turned off, and when used in conjunction with collections."
.no_dead_strip _Box_Description
.subsections_via_symbols
| AnghaBench/Cello/src/extr_Pointer.c_Box_Description.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _verrc ## -- Begin function verrc
.p2align 4, 0x90
_verrc: ## @verrc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -44(%rbp) ## 4-byte Spill
movq %rdx, %r13
movl %esi, %r14d
movl %edi, %r12d
movq _err_file@GOTPCREL(%rip), %r15
movq (%r15), %rbx
testq %rbx, %rbx
jne LBB0_2
## %bb.1:
xorl %edi, %edi
callq _err_set_file
movq (%r15), %rbx
LBB0_2:
xorl %eax, %eax
callq __getprogname
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
testq %r13, %r13
je LBB0_4
## %bb.3:
movq (%r15), %rdi
movq %r13, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
callq _vfprintf
movq (%r15), %rcx
leaq L_.str.1(%rip), %rdi
movl $2, %esi
movl $1, %edx
callq _fwrite
LBB0_4:
movq (%r15), %rbx
movl %r14d, %edi
callq _strerror
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movl %r12d, %edi
callq _err_exit
movl %r12d, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _err_file,8,3 ## @err_file
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: "
L_.str.1: ## @.str.1
.asciz ": "
L_.str.2: ## @.str.2
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _verrc ; -- Begin function verrc
.p2align 2
_verrc: ; @verrc
.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 x21, x3
mov x22, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x24, _err_file@GOTPAGE
Lloh1:
ldr x24, [x24, _err_file@GOTPAGEOFF]
ldr x23, [x24]
cbnz x23, LBB0_2
; %bb.1:
mov x0, #0
bl _err_set_file
ldr x23, [x24]
LBB0_2:
bl __getprogname
str x0, [sp]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x23
bl _fprintf
cbz x22, LBB0_4
; %bb.3:
ldr x0, [x24]
mov x1, x22
mov x2, x21
bl _vfprintf
ldr x3, [x24]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
mov w1, #2
mov w2, #1
bl _fwrite
LBB0_4:
ldr x21, [x24]
mov x0, x20
bl _strerror
str x0, [sp]
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _fprintf
mov x0, x19
bl _err_exit
mov x0, x19
bl _exit
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _err_file,8,3 ; @err_file
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: "
l_.str.1: ; @.str.1
.asciz ": "
l_.str.2: ; @.str.2
.asciz "%s\n"
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/gen/extr_err.c_verrc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _equalTupleDescs ## -- Begin function equalTupleDescs
.p2align 4, 0x90
_equalTupleDescs: ## @equalTupleDescs
.cfi_startproc
## %bb.0:
movl (%rdi), %eax
cmpl (%rsi), %eax
jne LBB0_38
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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 8(%rdi), %rcx
cmpq 8(%rsi), %rcx
jne LBB0_39
## %bb.2:
testl %eax, %eax
js LBB0_22
## %bb.3:
xorl %r15d, %r15d
movq %rdi, -48(%rbp) ## 8-byte Spill
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %r15d, %esi
callq _TupleDescAttr
movq %rax, %r12
movq %r14, %rdi
movl %r15d, %esi
callq _TupleDescAttr
movq %rax, %r13
movl 128(%r12), %edi
callq _NameStr
movl %eax, %ebx
movl 128(%r13), %edi
callq _NameStr
movl %ebx, %edi
movl %eax, %esi
callq _strcmp
testq %rax, %rax
jne LBB0_39
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq (%r12), %rax
cmpq (%r13), %rax
movl $0, %r8d
jne LBB0_40
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq 8(%r12), %rax
cmpq 8(%r13), %rax
jne LBB0_40
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq 16(%r12), %rax
cmpq 16(%r13), %rax
jne LBB0_40
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movq 24(%r12), %rax
cmpq 24(%r13), %rax
jne LBB0_40
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
movq 32(%r12), %rax
cmpq 32(%r13), %rax
jne LBB0_40
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movq 40(%r12), %rax
cmpq 40(%r13), %rax
jne LBB0_40
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movq 48(%r12), %rax
cmpq 48(%r13), %rax
jne LBB0_40
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movq 56(%r12), %rax
cmpq 56(%r13), %rax
jne LBB0_40
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
movq 64(%r12), %rax
cmpq 64(%r13), %rax
jne LBB0_40
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movq 72(%r12), %rax
cmpq 72(%r13), %rax
jne LBB0_40
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movq 80(%r12), %rax
cmpq 80(%r13), %rax
jne LBB0_40
## %bb.16: ## in Loop: Header=BB0_4 Depth=1
movq 88(%r12), %rax
cmpq 88(%r13), %rax
jne LBB0_40
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movq 96(%r12), %rax
cmpq 96(%r13), %rax
jne LBB0_40
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movq 104(%r12), %rax
cmpq 104(%r13), %rax
jne LBB0_40
## %bb.19: ## in Loop: Header=BB0_4 Depth=1
movq 112(%r12), %rax
cmpq 112(%r13), %rax
jne LBB0_40
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
movq 120(%r12), %rax
cmpq 120(%r13), %rax
jne LBB0_40
## %bb.21: ## in Loop: Header=BB0_4 Depth=1
decl %r15d
movq -48(%rbp), %rdi ## 8-byte Reload
cmpl (%rdi), %r15d
jle LBB0_4
LBB0_22:
movq 16(%rdi), %r15
movq 16(%r14), %rbx
testq %r15, %r15
je LBB0_41
## %bb.23:
testq %rbx, %rbx
je LBB0_39
## %bb.24:
movq (%r15), %rax
cmpq (%rbx), %rax
jne LBB0_39
## %bb.25:
movq 8(%r15), %rax
cmpq 8(%rbx), %rax
jne LBB0_39
## %bb.26:
movl 16(%r15), %r14d
cmpl 16(%rbx), %r14d
jne LBB0_39
## %bb.27:
testl %r14d, %r14d
jle LBB0_34
## %bb.28:
xorl %r12d, %r12d
LBB0_29: ## =>This Loop Header: Depth=1
## Child Loop BB0_30 Depth 2
movq 40(%r15), %rax
movq %r12, %rcx
shlq $4, %rcx
subq %rcx, %rax
movq 40(%rbx), %rcx
movq (%rax), %rdx
addq $8, %rcx
movl %r14d, %esi
LBB0_30: ## Parent Loop BB0_29 Depth=1
## => This Inner Loop Header: Depth=2
cmpq -8(%rcx), %rdx
je LBB0_32
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
addq $16, %rcx
xorl %r8d, %r8d
decl %esi
jne LBB0_30
jmp LBB0_40
LBB0_32: ## in Loop: Header=BB0_29 Depth=1
movq %rdi, %r13
movl 8(%rax), %edi
movl (%rcx), %esi
callq _strcmp
testq %rax, %rax
jne LBB0_39
## %bb.33: ## in Loop: Header=BB0_29 Depth=1
incq %r12
cmpq %r14, %r12
movq %r13, %rdi
jne LBB0_29
LBB0_34:
cmpq $0, 32(%r15)
movq 32(%rbx), %rax
je LBB0_53
## %bb.35:
testq %rax, %rax
je LBB0_39
## %bb.36:
movl (%rdi), %eax
testl %eax, %eax
jle LBB0_55
## %bb.37:
movl $8, %r12d
xorl %r8d, %r8d
xorl %esi, %esi
movq %rdi, -48(%rbp) ## 8-byte Spill
jmp LBB0_48
LBB0_38:
xorl %r8d, %r8d
movl %r8d, %eax
retq
LBB0_41:
movl $0, %r8d
testq %rbx, %rbx
jne LBB0_40
LBB0_42:
movl $1, %r8d
jmp LBB0_40
LBB0_47: ## in Loop: Header=BB0_48 Depth=1
incq %rsi
movslq %eax, %rcx
addq $16, %r12
cmpq %rcx, %rsi
jge LBB0_55
LBB0_48: ## =>This Inner Loop Header: Depth=1
movq 32(%r15), %r13
movq 32(%rbx), %r14
movq -8(%r13,%r12), %rcx
cmpq -8(%r14,%r12), %rcx
jne LBB0_40
## %bb.49: ## in Loop: Header=BB0_48 Depth=1
testq %rcx, %rcx
je LBB0_47
## %bb.50: ## in Loop: Header=BB0_48 Depth=1
movq %rsi, -56(%rbp) ## 8-byte Spill
## kill: def $esi killed $esi killed $rsi
callq _TupleDescAttr
movl (%r13,%r12), %edi
movl (%r14,%r12), %esi
movq 16(%rax), %rcx
movq 40(%rax), %rdx
callq _datumIsEqual
testl %eax, %eax
je LBB0_39
## %bb.51: ## in Loop: Header=BB0_48 Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movl (%rdi), %eax
xorl %r8d, %r8d
movq -56(%rbp), %rsi ## 8-byte Reload
jmp LBB0_47
LBB0_53:
testq %rax, %rax
je LBB0_55
LBB0_39:
xorl %r8d, %r8d
LBB0_40:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl %r8d, %eax
retq
LBB0_55:
movl 20(%r15), %eax
movl $0, %r8d
movq %rax, -48(%rbp) ## 8-byte Spill
cmpl 20(%rbx), %eax
jne LBB0_40
## %bb.56:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_42
## %bb.57:
movq $0, -56(%rbp) ## 8-byte Folded Spill
LBB0_58: ## =>This Loop Header: Depth=1
## Child Loop BB0_60 Depth 2
movq -56(%rbp), %rax ## 8-byte Reload
leaq (%rax,%rax,2), %r13
shlq $3, %r13
addq 24(%r15), %r13
movq 24(%rbx), %r14
addq $20, %r14
movq -48(%rbp), %rax ## 8-byte Reload
movl %eax, %r12d
jmp LBB0_60
LBB0_59: ## in Loop: Header=BB0_60 Depth=2
addq $24, %r14
xorl %r8d, %r8d
decl %r12d
je LBB0_40
LBB0_60: ## Parent Loop BB0_58 Depth=1
## => This Inner Loop Header: Depth=2
movl 20(%r13), %edi
movl (%r14), %esi
callq _strcmp
testq %rax, %rax
je LBB0_64
## %bb.61: ## in Loop: Header=BB0_60 Depth=2
movl 16(%r13), %edi
movl -4(%r14), %esi
callq _strcmp
testq %rax, %rax
jne LBB0_59
## %bb.62: ## in Loop: Header=BB0_60 Depth=2
movq (%r13), %rax
cmpq -20(%r14), %rax
jne LBB0_59
## %bb.63: ## in Loop: Header=BB0_60 Depth=2
movq 8(%r13), %rax
cmpq -12(%r14), %rax
jne LBB0_59
LBB0_64: ## in Loop: Header=BB0_58 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
cmpq -48(%rbp), %rcx ## 8-byte Folded Reload
jne LBB0_58
jmp LBB0_42
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _equalTupleDescs ; -- Begin function equalTupleDescs
.p2align 2
_equalTupleDescs: ; @equalTupleDescs
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
cmp w8, w9
b.ne LBB0_38
; %bb.1:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
ldr x9, [x0, #8]
ldr x10, [x1, #8]
cmp x9, x10
b.ne LBB0_40
; %bb.2:
tbnz w8, #31, LBB0_22
; %bb.3:
mov w20, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x24, x0
mov x1, x20
bl _TupleDescAttr
mov x21, x0
mov x0, x19
mov x1, x20
bl _TupleDescAttr
mov x22, x0
ldr w0, [x21, #128]
bl _NameStr
mov x23, x0
ldr w0, [x22, #128]
bl _NameStr
mov x1, x0
mov x0, x23
bl _strcmp
cbnz x0, LBB0_40
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_40
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #8]
ldr x9, [x22, #8]
cmp x8, x9
b.ne LBB0_40
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #16]
ldr x9, [x22, #16]
cmp x8, x9
b.ne LBB0_40
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #24]
ldr x9, [x22, #24]
cmp x8, x9
b.ne LBB0_40
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #32]
ldr x9, [x22, #32]
cmp x8, x9
b.ne LBB0_40
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #40]
ldr x9, [x22, #40]
cmp x8, x9
b.ne LBB0_40
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #48]
ldr x9, [x22, #48]
cmp x8, x9
b.ne LBB0_40
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #56]
ldr x9, [x22, #56]
cmp x8, x9
b.ne LBB0_40
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #64]
ldr x9, [x22, #64]
cmp x8, x9
b.ne LBB0_40
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #72]
ldr x9, [x22, #72]
cmp x8, x9
b.ne LBB0_40
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #80]
ldr x9, [x22, #80]
cmp x8, x9
b.ne LBB0_40
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #88]
ldr x9, [x22, #88]
cmp x8, x9
b.ne LBB0_40
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #96]
ldr x9, [x22, #96]
cmp x8, x9
b.ne LBB0_40
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #104]
ldr x9, [x22, #104]
cmp x8, x9
b.ne LBB0_40
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #112]
ldr x9, [x22, #112]
cmp x8, x9
b.ne LBB0_40
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #120]
ldr x9, [x22, #120]
cmp x8, x9
b.ne LBB0_40
; %bb.21: ; in Loop: Header=BB0_4 Depth=1
sub w20, w20, #1
mov x0, x24
ldr w8, [x24]
cmp w20, w8
b.le LBB0_4
LBB0_22:
ldr x21, [x0, #16]
ldr x20, [x19, #16]
cbz x21, LBB0_39
; %bb.23:
cbz x20, LBB0_40
; %bb.24:
ldr x8, [x21]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_40
; %bb.25:
ldr x8, [x21, #8]
ldr x9, [x20, #8]
cmp x8, x9
b.ne LBB0_40
; %bb.26:
ldr w19, [x21, #16]
ldr w8, [x20, #16]
cmp w19, w8
b.ne LBB0_40
; %bb.27:
cmp w19, #1
b.lt LBB0_34
; %bb.28:
mov x22, #0 ; =0x0
LBB0_29: ; =>This Loop Header: Depth=1
; Child Loop BB0_30 Depth 2
ldr x8, [x21, #40]
sub x9, x8, x22, lsl #4
ldr x8, [x20, #40]
ldr x11, [x9]
add x10, x8, #8
mov x12, x19
LBB0_30: ; Parent Loop BB0_29 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x10, #-8]
cmp x11, x8
b.eq LBB0_32
; %bb.31: ; in Loop: Header=BB0_30 Depth=2
mov w8, #0 ; =0x0
add x10, x10, #16
subs w12, w12, #1
b.ne LBB0_30
b LBB0_41
LBB0_32: ; in Loop: Header=BB0_29 Depth=1
mov x23, x0
ldr w0, [x9, #8]
ldr w1, [x10]
bl _strcmp
cbnz x0, LBB0_40
; %bb.33: ; in Loop: Header=BB0_29 Depth=1
add x22, x22, #1
cmp x22, x19
mov x0, x23
b.ne LBB0_29
LBB0_34:
ldr x9, [x21, #32]
ldr x8, [x20, #32]
cbz x9, LBB0_47
; %bb.35:
cbz x8, LBB0_41
; %bb.36:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_48
; %bb.37:
mov x22, #0 ; =0x0
mov x19, #0 ; =0x0
b LBB0_43
LBB0_38:
mov w0, #0 ; =0x0
ret
LBB0_39:
cbz x20, LBB0_58
LBB0_40:
mov w8, #0 ; =0x0
LBB0_41:
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
mov x0, x8
ret
LBB0_42: ; in Loop: Header=BB0_43 Depth=1
add x19, x19, #1
add x22, x22, #16
cmp x19, w8, sxtw
b.ge LBB0_48
LBB0_43: ; =>This Inner Loop Header: Depth=1
ldr x25, [x21, #32]
ldr x24, [x20, #32]
ldr x9, [x25, x22]
ldr x10, [x24, x22]
cmp x9, x10
b.ne LBB0_40
; %bb.44: ; in Loop: Header=BB0_43 Depth=1
cbz x9, LBB0_42
; %bb.45: ; in Loop: Header=BB0_43 Depth=1
mov x23, x0
mov x1, x19
bl _TupleDescAttr
add x8, x25, x22
ldr w8, [x8, #8]
add x9, x24, x22
ldr w1, [x9, #8]
ldr x2, [x0, #40]
ldr x3, [x0, #16]
mov x0, x8
bl _datumIsEqual
cbz w0, LBB0_40
; %bb.46: ; in Loop: Header=BB0_43 Depth=1
mov x0, x23
ldr w8, [x23]
b LBB0_42
LBB0_47:
cbnz x8, LBB0_40
LBB0_48:
ldr w19, [x21, #20]
ldr w8, [x20, #20]
cmp w19, w8
b.ne LBB0_40
; %bb.49:
cmp w19, #1
b.lt LBB0_58
; %bb.50:
mov x22, #0 ; =0x0
mov w23, #24 ; =0x18
LBB0_51: ; =>This Loop Header: Depth=1
; Child Loop BB0_53 Depth 2
ldr x8, [x21, #24]
madd x24, x22, x23, x8
ldr x8, [x20, #24]
add x25, x8, #16
mov x26, x19
b LBB0_53
LBB0_52: ; in Loop: Header=BB0_53 Depth=2
mov w8, #0 ; =0x0
add x25, x25, #24
subs w26, w26, #1
b.eq LBB0_41
LBB0_53: ; Parent Loop BB0_51 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x24, #20]
ldr w1, [x25, #4]
bl _strcmp
cbz x0, LBB0_57
; %bb.54: ; in Loop: Header=BB0_53 Depth=2
ldr w0, [x24, #16]
ldr w1, [x25]
bl _strcmp
cbnz x0, LBB0_52
; %bb.55: ; in Loop: Header=BB0_53 Depth=2
ldr x8, [x24]
ldur x9, [x25, #-16]
cmp x8, x9
b.ne LBB0_52
; %bb.56: ; in Loop: Header=BB0_53 Depth=2
ldr x8, [x24, #8]
ldur x9, [x25, #-8]
cmp x8, x9
b.ne LBB0_52
LBB0_57: ; in Loop: Header=BB0_51 Depth=1
add x22, x22, #1
cmp x22, x19
b.ne LBB0_51
LBB0_58:
mov w8, #1 ; =0x1
b LBB0_41
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_96232.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 $32, %rsp
leaq L_str(%rip), %rdi
callq _puts
movq l___const.main.args+16(%rip), %rax
movq %rax, 16(%rsp)
movups l___const.main.args(%rip), %xmm0
movups %xmm0, (%rsp)
callq _wolfcrypt_test
leaq L_str.2(%rip), %rdi
addq $32, %rsp
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 3 ## @__const.main.args
l___const.main.args:
.long 1 ## 0x1
.space 4
.quad 0
.long 0 ## 0x0
.space 4
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "Start wolfCrypt Test"
L_str.2: ## @str.2
.asciz "End wolfCrypt Test"
.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 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
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x8, l___const.main.args@PAGE
Lloh3:
add x8, x8, l___const.main.args@PAGEOFF
ldr q0, [x8]
str q0, [sp]
ldr x8, [x8, #16]
str x8, [sp, #16]
mov x0, sp
bl _wolfcrypt_test
Lloh4:
adrp x0, l_str.2@PAGE
Lloh5:
add x0, x0, l_str.2@PAGEOFF
bl _puts
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 3 ; @__const.main.args
l___const.main.args:
.long 1 ; 0x1
.space 4
.quad 0
.long 0 ; 0x0
.space 4
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "Start wolfCrypt Test"
l_str.2: ; @str.2
.asciz "End wolfCrypt Test"
.subsections_via_symbols
| the_stack_data/148576810.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nuv_probe
_nuv_probe: ## @nuv_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
leaq L_.str(%rip), %rsi
movl $12, %edx
callq _memcmp
testl %eax, %eax
je LBB0_2
## %bb.1:
movl (%rbx), %edi
leaq L_.str.1(%rip), %rsi
movl $12, %edx
callq _memcmp
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne LBB0_3
LBB0_2:
movq _AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NuppelVideo"
.comm _AVPROBE_SCORE_MAX,4,2 ## @AVPROBE_SCORE_MAX
L_.str.1: ## @.str.1
.asciz "MythTVVideo"
.no_dead_strip _nuv_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nuv_probe
_nuv_probe: ; @nuv_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #12
bl _memcmp
cbz w0, LBB0_2
; %bb.1:
ldr w0, [x19]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #12
bl _memcmp
Lloh4:
adrp x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh5:
ldr x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
cmp w0, #0
csel w0, w8, wzr, eq
b LBB0_3
LBB0_2:
Lloh7:
adrp x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh8:
ldr x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
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
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "NuppelVideo"
.comm _AVPROBE_SCORE_MAX,4,2 ; @AVPROBE_SCORE_MAX
l_.str.1: ; @.str.1
.asciz "MythTVVideo"
.no_dead_strip _nuv_probe
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_nuv.c_nuv_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ktrace_release_ownership
_ktrace_release_ownership: ## @ktrace_release_ownership
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ktrace_owning_unique_id@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _ktrace_owning_pid@GOTPCREL(%rip), %rax
movq $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ktrace_owning_unique_id,8,3 ## @ktrace_owning_unique_id
.comm _ktrace_owning_pid,8,3 ## @ktrace_owning_pid
.no_dead_strip _ktrace_release_ownership
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ktrace_release_ownership
_ktrace_release_ownership: ; @ktrace_release_ownership
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ktrace_owning_unique_id@GOTPAGE
Lloh1:
ldr x8, [x8, _ktrace_owning_unique_id@GOTPAGEOFF]
Lloh2:
str xzr, [x8]
Lloh3:
adrp x8, _ktrace_owning_pid@GOTPAGE
Lloh4:
ldr x8, [x8, _ktrace_owning_pid@GOTPAGEOFF]
Lloh5:
str xzr, [x8]
ret
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ktrace_owning_unique_id,8,3 ; @ktrace_owning_unique_id
.comm _ktrace_owning_pid,8,3 ; @ktrace_owning_pid
.no_dead_strip _ktrace_release_ownership
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/kern/extr_kern_ktrace.c_ktrace_release_ownership.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function compute_imstt_regvals_tvp
_compute_imstt_regvals_tvp: ## @compute_imstt_regvals_tvp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpl $831, %esi ## imm = 0x33F
jle LBB0_1
## %bb.6:
cmpl $1151, %esi ## imm = 0x47F
jg LBB0_10
## %bb.7:
cmpl $832, %esi ## imm = 0x340
je LBB0_15
## %bb.8:
cmpl $1024, %esi ## imm = 0x400
jne LBB0_19
## %bb.9:
movq _tvp_reg_init_17@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_1:
cmpl $512, %esi ## imm = 0x200
je LBB0_2
## %bb.3:
cmpl $640, %esi ## imm = 0x280
je LBB0_14
## %bb.4:
cmpl $800, %esi ## imm = 0x320
jne LBB0_19
## %bb.5:
movq _tvp_reg_init_12@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_10:
cmpl $1152, %esi ## imm = 0x480
je LBB0_16
## %bb.11:
cmpl $1280, %esi ## imm = 0x500
jne LBB0_19
## %bb.12:
cmpl $960, %edx ## imm = 0x3C0
jne LBB0_13
## %bb.17:
movq _tvp_reg_init_19@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_15:
movq _tvp_reg_init_13@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_2:
movq _tvp_reg_init_2@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_16:
movq _tvp_reg_init_18@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_14:
movq _tvp_reg_init_6@GOTPCREL(%rip), %rax
jmp LBB0_18
LBB0_13:
movq _tvp_reg_init_20@GOTPCREL(%rip), %rax
LBB0_18:
movl (%rax), %ecx
movl %ecx, (%rdi)
LBB0_19:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tvp_reg_init_2,4,2 ## @tvp_reg_init_2
.comm _tvp_reg_init_6,4,2 ## @tvp_reg_init_6
.comm _tvp_reg_init_12,4,2 ## @tvp_reg_init_12
.comm _tvp_reg_init_13,4,2 ## @tvp_reg_init_13
.comm _tvp_reg_init_17,4,2 ## @tvp_reg_init_17
.comm _tvp_reg_init_18,4,2 ## @tvp_reg_init_18
.comm _tvp_reg_init_19,4,2 ## @tvp_reg_init_19
.comm _tvp_reg_init_20,4,2 ## @tvp_reg_init_20
.no_dead_strip _compute_imstt_regvals_tvp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function compute_imstt_regvals_tvp
_compute_imstt_regvals_tvp: ; @compute_imstt_regvals_tvp
.cfi_startproc
; %bb.0:
mov x8, #0
cmp w1, #831
b.le LBB0_5
; %bb.1:
cmp w1, #1151
b.gt LBB0_9
; %bb.2:
cmp w1, #832
b.eq LBB0_12
; %bb.3:
cmp w1, #1024
b.ne LBB0_17
; %bb.4:
Lloh0:
adrp x8, _tvp_reg_init_17@GOTPAGE
Lloh1:
ldr x8, [x8, _tvp_reg_init_17@GOTPAGEOFF]
b LBB0_16
LBB0_5:
cmp w1, #512
b.eq LBB0_13
; %bb.6:
cmp w1, #640
b.eq LBB0_15
; %bb.7:
cmp w1, #800
b.ne LBB0_17
; %bb.8:
Lloh2:
adrp x8, _tvp_reg_init_12@GOTPAGE
Lloh3:
ldr x8, [x8, _tvp_reg_init_12@GOTPAGEOFF]
b LBB0_16
LBB0_9:
cmp w1, #1152
b.eq LBB0_14
; %bb.10:
cmp w1, #1280
b.ne LBB0_17
; %bb.11:
Lloh4:
adrp x8, _tvp_reg_init_20@GOTPAGE
Lloh5:
ldr x8, [x8, _tvp_reg_init_20@GOTPAGEOFF]
Lloh6:
adrp x9, _tvp_reg_init_19@GOTPAGE
Lloh7:
ldr x9, [x9, _tvp_reg_init_19@GOTPAGEOFF]
cmp w2, #960
csel x8, x9, x8, eq
b LBB0_16
LBB0_12:
Lloh8:
adrp x8, _tvp_reg_init_13@GOTPAGE
Lloh9:
ldr x8, [x8, _tvp_reg_init_13@GOTPAGEOFF]
b LBB0_16
LBB0_13:
Lloh10:
adrp x8, _tvp_reg_init_2@GOTPAGE
Lloh11:
ldr x8, [x8, _tvp_reg_init_2@GOTPAGEOFF]
b LBB0_16
LBB0_14:
Lloh12:
adrp x8, _tvp_reg_init_18@GOTPAGE
Lloh13:
ldr x8, [x8, _tvp_reg_init_18@GOTPAGEOFF]
b LBB0_16
LBB0_15:
Lloh14:
adrp x8, _tvp_reg_init_6@GOTPAGE
Lloh15:
ldr x8, [x8, _tvp_reg_init_6@GOTPAGEOFF]
LBB0_16:
ldr w9, [x8]
str w9, [x0]
LBB0_17:
mov x0, x8
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _tvp_reg_init_2,4,2 ; @tvp_reg_init_2
.comm _tvp_reg_init_6,4,2 ; @tvp_reg_init_6
.comm _tvp_reg_init_12,4,2 ; @tvp_reg_init_12
.comm _tvp_reg_init_13,4,2 ; @tvp_reg_init_13
.comm _tvp_reg_init_17,4,2 ; @tvp_reg_init_17
.comm _tvp_reg_init_18,4,2 ; @tvp_reg_init_18
.comm _tvp_reg_init_19,4,2 ; @tvp_reg_init_19
.comm _tvp_reg_init_20,4,2 ; @tvp_reg_init_20
.no_dead_strip _compute_imstt_regvals_tvp
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/extr_imsttfb.c_compute_imstt_regvals_tvp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _rtl92ee_fw_free_to_go
__rtl92ee_fw_free_to_go: ## @_rtl92ee_fw_free_to_go
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _rtl_priv
movq %rax, %r12
movq _EIO@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
xorl %edx, %edx
movq _REG_MCUFWDL@GOTPCREL(%rip), %r13
movq _FW_8192C_POLLING_TIMEOUT_COUNT@GOTPCREL(%rip), %r14
movq _FWDL_CHKSUM_RPT@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rbx
movl (%r13), %esi
movq %r12, %rdi
callq _rtl_read_dword
movq (%r14), %rcx
cmpq %rcx, %rbx
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq 1(%rbx), %rdx
testq %rax, (%r15)
je LBB0_1
LBB0_3:
incq %rbx
cmpq %rcx, %rbx
jge LBB0_4
## %bb.5:
movl (%r13), %esi
movq %r12, %rdi
callq _rtl_read_dword
movq _MCUFWDL_RDY@GOTPCREL(%rip), %rcx
orq (%rcx), %rax
movq _WINTINI_RDY@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
notq %rdx
andq %rax, %rdx
movl (%r13), %esi
movq %r12, %rdi
callq _rtl_write_dword
movq -56(%rbp), %rdi ## 8-byte Reload
callq _rtl92ee_firmware_selfreset
movq $-1, %rbx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl (%r13), %esi
movq %r12, %rdi
callq _rtl_read_dword
movq %rax, %r15
movq _WINTINI_RDY@GOTPCREL(%rip), %rax
testq %r15, (%rax)
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq _FW_8192C_POLLING_DELAY@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, %eax
leal (%rax,%rax,4), %edi
callq _udelay
incq %rbx
cmpq (%r14), %rbx
jl LBB0_6
## %bb.9:
incq %rbx
leaq L_.str.1(%rip), %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _pr_err
jmp LBB0_10
LBB0_4:
leaq L_.str(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _pr_err
LBB0_10:
movl -44(%rbp), %eax ## 4-byte Reload
jmp LBB0_11
LBB0_7:
xorl %eax, %eax
LBB0_11:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EIO,4,2 ## @EIO
.comm _REG_MCUFWDL,4,2 ## @REG_MCUFWDL
.comm _FW_8192C_POLLING_TIMEOUT_COUNT,8,3 ## @FW_8192C_POLLING_TIMEOUT_COUNT
.comm _FWDL_CHKSUM_RPT,8,3 ## @FWDL_CHKSUM_RPT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "chksum report fail! REG_MCUFWDL:0x%08x\n"
.comm _MCUFWDL_RDY,8,3 ## @MCUFWDL_RDY
.comm _WINTINI_RDY,8,3 ## @WINTINI_RDY
.comm _FW_8192C_POLLING_DELAY,4,2 ## @FW_8192C_POLLING_DELAY
L_.str.1: ## @.str.1
.asciz "Polling FW ready fail!! REG_MCUFWDL:0x%08x. count = %d\n"
.no_dead_strip __rtl92ee_fw_free_to_go
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _rtl92ee_fw_free_to_go
__rtl92ee_fw_free_to_go: ; @_rtl92ee_fw_free_to_go
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x0
bl _rtl_priv
mov x20, x0
mov x8, #0
Lloh0:
adrp x9, _EIO@GOTPAGE
Lloh1:
ldr x9, [x9, _EIO@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
neg w19, w9
Lloh3:
adrp x22, _REG_MCUFWDL@GOTPAGE
Lloh4:
ldr x22, [x22, _REG_MCUFWDL@GOTPAGEOFF]
Lloh5:
adrp x23, _FW_8192C_POLLING_TIMEOUT_COUNT@GOTPAGE
Lloh6:
ldr x23, [x23, _FW_8192C_POLLING_TIMEOUT_COUNT@GOTPAGEOFF]
Lloh7:
adrp x24, _FWDL_CHKSUM_RPT@GOTPAGE
Lloh8:
ldr x24, [x24, _FWDL_CHKSUM_RPT@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x25, x8
ldr w1, [x22]
mov x0, x20
bl _rtl_read_dword
mov x1, x0
ldr x9, [x23]
cmp x25, x9
b.ge LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x10, [x24]
add x8, x25, #1
tst x10, x1
b.eq LBB0_1
LBB0_3:
add x8, x25, #1
cmp x8, x9
b.ge LBB0_8
; %bb.4:
ldr w1, [x22]
mov x0, x20
bl _rtl_read_dword
Lloh9:
adrp x8, _MCUFWDL_RDY@GOTPAGE
Lloh10:
ldr x8, [x8, _MCUFWDL_RDY@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
orr x8, x8, x0
Lloh12:
adrp x24, _WINTINI_RDY@GOTPAGE
Lloh13:
ldr x24, [x24, _WINTINI_RDY@GOTPAGEOFF]
ldr x9, [x24]
bic x2, x8, x9
ldr w1, [x22]
mov x0, x20
bl _rtl_write_dword
mov x0, x21
bl _rtl92ee_firmware_selfreset
mov x25, #-1
Lloh14:
adrp x26, _FW_8192C_POLLING_DELAY@GOTPAGE
Lloh15:
ldr x26, [x26, _FW_8192C_POLLING_DELAY@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22]
mov x0, x20
bl _rtl_read_dword
ldr x8, [x24]
tst x8, x0
b.ne LBB0_10
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x21, x0
ldr w8, [x26]
add w8, w8, w8, lsl #2
lsl w0, w8, #1
bl _udelay
ldr x8, [x23]
add x25, x25, #1
cmp x25, x8
b.lt LBB0_5
; %bb.7:
add x8, x25, #1
str x8, [sp]
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
b LBB0_9
LBB0_8:
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
LBB0_9:
bl _pr_err
b LBB0_11
LBB0_10:
mov w19, #0
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _EIO,4,2 ; @EIO
.comm _REG_MCUFWDL,4,2 ; @REG_MCUFWDL
.comm _FW_8192C_POLLING_TIMEOUT_COUNT,8,3 ; @FW_8192C_POLLING_TIMEOUT_COUNT
.comm _FWDL_CHKSUM_RPT,8,3 ; @FWDL_CHKSUM_RPT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "chksum report fail! REG_MCUFWDL:0x%08x\n"
.comm _MCUFWDL_RDY,8,3 ; @MCUFWDL_RDY
.comm _WINTINI_RDY,8,3 ; @WINTINI_RDY
.comm _FW_8192C_POLLING_DELAY,4,2 ; @FW_8192C_POLLING_DELAY
l_.str.1: ; @.str.1
.asciz "Polling FW ready fail!! REG_MCUFWDL:0x%08x. count = %d\n"
.no_dead_strip __rtl92ee_fw_free_to_go
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_fw.c__rtl92ee_fw_free_to_go.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_strncpy ## -- Begin function my_strncpy
.p2align 4, 0x90
_my_strncpy: ## @my_strncpy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edx, %rdx
popq %rbp
jmp _strncpy ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq L_str(%rip), %rdi
callq _puts
movq $0, -56(%rbp)
movw $0, -48(%rbp)
leaq -56(%rbp), %r12
leaq L_.str.1(%rip), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rsi
movl $10, %edx
movq %r12, %rdi
callq _strncpy
movq %r12, %rdi
callq _strlen
movq %r15, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _sleep
incq %rbx
cmpq $1000000, %rbx ## imm = 0xF4240
jne LBB1_1
## %bb.2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB1_4
## %bb.3:
xorl %eax, %eax
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%lu %lu %s\n"
L_str: ## @str
.asciz "Hello world!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _my_strncpy ; -- Begin function my_strncpy
.p2align 2
_my_strncpy: ; @my_strncpy
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
sxtw x2, w2
b _strncpy
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp 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
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
mov x21, #0
str xzr, [sp, #24]
strh wzr, [sp, #32]
add x22, sp, #24
mov w23, #16960
movk w23, #15, lsl #16
Lloh5:
adrp x20, l_.str.1@PAGE
Lloh6:
add x20, x20, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x1, [x19]
add x0, sp, #24
mov w2, #10
bl _strncpy
add x0, sp, #24
bl _strlen
stp x0, x22, [sp, #8]
str x21, [sp]
mov x0, x20
bl _printf
mov w0, #1
bl _sleep
add x21, x21, #1
cmp x21, x23
b.ne LBB1_1
; %bb.2:
ldr x8, [sp, #40]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_4
; %bb.3:
mov w0, #0
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
add sp, sp, #112
ret
LBB1_4:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%lu %lu %s\n"
l_str: ; @str
.asciz "Hello world!"
.subsections_via_symbols
| the_stack_data/863267.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function append_suffix
_append_suffix: ## @append_suffix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %rbx
movq %rsi, %rax
movl %edi, %r14d
movq _abbrev@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _find_unique_abbrev
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movl %r14d, %edx
movl %eax, %ecx
popq %rbx
popq %r14
popq %rbp
jmp _strbuf_addf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-%d-g%s"
.comm _abbrev,4,2 ## @abbrev
.no_dead_strip _append_suffix
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function append_suffix
_append_suffix: ; @append_suffix
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x8, x1
mov x20, x0
Lloh0:
adrp x9, _abbrev@GOTPAGE
Lloh1:
ldr x9, [x9, _abbrev@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
mov x0, x8
bl _find_unique_abbrev
mov x3, x0
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strbuf_addf
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-%d-g%s"
.comm _abbrev,4,2 ; @abbrev
.no_dead_strip _append_suffix
.subsections_via_symbols
| AnghaBench/git/builtin/extr_describe.c_append_suffix.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function child_sighandler
_child_sighandler: ## @child_sighandler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
xorl %eax, %eax
callq _getpid
leaq L_.str(%rip), %rdi
movl %eax, %esi
movl %ebx, %edx
callq _dbg
movq _child_should_exit@GOTPCREL(%rip), %rax
movl $1, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PID: %d received sig %d"
.comm _child_should_exit,4,2 ## @child_should_exit
.no_dead_strip _child_sighandler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function child_sighandler
_child_sighandler: ; @child_sighandler
.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 _getpid
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x2, x19
bl _dbg
Lloh2:
adrp x8, _child_should_exit@GOTPAGE
Lloh3:
ldr x8, [x8, _child_should_exit@GOTPAGEOFF]
mov w9, #1
Lloh4:
str w9, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PID: %d received sig %d"
.comm _child_should_exit,4,2 ; @child_should_exit
.no_dead_strip _child_sighandler
.subsections_via_symbols
| AnghaBench/darwin-xnu/tools/tests/personas/extr_persona_spawn.c_child_sighandler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vq_getchain ## -- Begin function vq_getchain
.p2align 4, 0x90
_vq_getchain: ## @vq_getchain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r12
movl %ecx, %r13d
movq (%rdi), %r8
movq 24(%rdi), %rax
movq 8(%rax), %rcx
xorl %ebx, %ebx
subq %r8, %rcx
je LBB0_30
## %bb.1:
movq %rdi, %r14
movq 32(%rdi), %r9
movq (%r9), %rdi
movq (%rdi), %r15
movq 8(%r14), %rdi
cmpq %rdi, %rcx
jle LBB0_4
## %bb.2:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
LBB0_3:
movq %r15, %rdx
xorl %eax, %eax
callq _fprintf
jmp LBB0_29
LBB0_4:
movq (%rax), %rcx
decq %rdi
andq %r8, %rdi
movq (%rcx,%rdi,8), %rcx
movq %rcx, (%rsi)
incq (%r14)
movq _VQ_MAX_DESCRIPTORS@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_5
## %bb.6:
xorl %ebx, %ebx
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %r9, -104(%rbp) ## 8-byte Spill
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r12, -88(%rbp) ## 8-byte Spill
movl %r13d, -44(%rbp) ## 4-byte Spill
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
cmpq 8(%r14), %rcx
jge LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq 16(%r14), %rdi
leaq (%rcx,%rcx,2), %r8
leaq (%rdi,%r8,8), %rsi
movl 8(%rdi,%r8,8), %eax
movq _VRING_DESC_F_INDIRECT@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
movq %r8, -64(%rbp) ## 8-byte Spill
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
movq (%r9), %rax
movq _VIRTIO_RING_F_INDIRECT_DESC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 8(%rax)
je LBB0_12
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
leaq (%rdi,%r8,8), %rax
addq $12, %rax
movl 12(%rdi,%r8,8), %ecx
leal 15(%rcx), %edx
testl %ecx, %ecx
cmovsl %edx, %ecx
testl $15, 12(%rdi,%r8,8)
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_7 Depth=1
cmpl $30, %edx
jbe LBB0_16
## %bb.17: ## in Loop: Header=BB0_7 Depth=1
sarl $4, %ecx
movslq %ecx, %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movl 16(%rdi,%r8,8), %edi
movl (%rax), %esi
callq _paddr_guest2host
movq %rax, %r12
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
leaq (%rcx,%rcx,2), %r15
movl 8(%r12,%r15,8), %eax
movq _VRING_DESC_F_INDIRECT@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_18 Depth=2
leaq (%r12,%r15,8), %r13
movl %ebx, %edi
movq %r13, %rsi
movq -96(%rbp), %rdx ## 8-byte Reload
movl -44(%rbp), %ecx ## 4-byte Reload
movq -88(%rbp), %r8 ## 8-byte Reload
callq __vq_record
movq _VQ_MAX_DESCRIPTORS@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jge LBB0_27
## %bb.21: ## in Loop: Header=BB0_18 Depth=2
leaq (%r12,%r15,8), %rax
addq $8, %rax
movl (%rax), %ecx
movq _VRING_DESC_F_NEXT@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %ecx, %eax
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_18 Depth=2
movq (%r13), %rcx
incl %ebx
cmpq -80(%rbp), %rcx ## 8-byte Folded Reload
jl LBB0_18
jmp LBB0_23
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movl %ebx, %edi
movl %r13d, %ecx
movq %r12, %r8
callq __vq_record
movq -64(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
incl %ebx
movq _VRING_DESC_F_NEXT@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_25
LBB0_24: ## in Loop: Header=BB0_7 Depth=1
incl %ebx
movq -56(%rbp), %r15 ## 8-byte Reload
movq -88(%rbp), %r12 ## 8-byte Reload
movl -44(%rbp), %r13d ## 4-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
LBB0_25: ## in Loop: Header=BB0_7 Depth=1
leaq (%rcx,%rdx,8), %rcx
addq $8, %rcx
andl (%rcx), %eax
je LBB0_30
## %bb.26: ## in Loop: Header=BB0_7 Depth=1
movq -112(%rbp), %rax ## 8-byte Reload
movq (%rax), %rcx
movq _VQ_MAX_DESCRIPTORS@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
movq -96(%rbp), %rdx ## 8-byte Reload
movq -104(%rbp), %r9 ## 8-byte Reload
jl LBB0_7
jmp LBB0_28
LBB0_5:
xorl %ebx, %ebx
jmp LBB0_28
LBB0_19:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
LBB0_13:
xorl %eax, %eax
callq _fprintf
jmp LBB0_29
LBB0_27:
incl %ebx
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_28:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.6(%rip), %rsi
movq %r15, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq _fprintf
jmp LBB0_29
LBB0_23:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _fprintf
LBB0_29:
movl $-1, %ebx
LBB0_30:
movl %ebx, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
jmp LBB0_3
LBB0_12:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
movq %r15, %rdx
jmp LBB0_13
LBB0_16:
movq _stderr@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movslq (%rax), %rcx
leaq L_.str.3(%rip), %rsi
jmp LBB0_3
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: ndesc (%u) out of range, driver confused?\r\n"
.comm _VQ_MAX_DESCRIPTORS,4,2 ## @VQ_MAX_DESCRIPTORS
L_.str.1: ## @.str.1
.asciz "%s: descriptor index %u out of range, driver confused?\r\n"
.comm _VRING_DESC_F_INDIRECT,4,2 ## @VRING_DESC_F_INDIRECT
.comm _VIRTIO_RING_F_INDIRECT_DESC,4,2 ## @VIRTIO_RING_F_INDIRECT_DESC
L_.str.2: ## @.str.2
.asciz "%s: descriptor has forbidden INDIRECT flag, driver confused?\r\n"
L_.str.3: ## @.str.3
.asciz "%s: invalid indir len 0x%x, driver confused?\r\n"
L_.str.4: ## @.str.4
.asciz "%s: indirect desc has INDIR flag, driver confused?\r\n"
.comm _VRING_DESC_F_NEXT,4,2 ## @VRING_DESC_F_NEXT
L_.str.5: ## @.str.5
.asciz "%s: invalid next %u > %u, driver confused?\r\n"
L_.str.6: ## @.str.6
.asciz "%s: descriptor loop? count > %d - driver confused?\r\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vq_getchain ; -- Begin function vq_getchain
.p2align 2
_vq_getchain: ; @vq_getchain
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
ldr x8, [x0]
ldr x10, [x0, #24]
ldr x9, [x10, #8]
subs x9, x9, x8
b.ne LBB0_2
; %bb.1:
mov w20, #0
b LBB0_25
LBB0_2:
mov x24, x0
ldr x26, [x0, #32]
ldr x11, [x26]
ldr x19, [x11]
ldr x11, [x0, #8]
cmp x9, x11
b.le LBB0_4
; %bb.3:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
str x9, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
b LBB0_23
LBB0_4:
ldr x9, [x10]
sub x10, x11, #1
and x8, x10, x8
ldr x8, [x9, x8, lsl #3]
str x8, [x1]
ldr x9, [x24]
add x9, x9, #1
str x9, [x24]
Lloh5:
adrp x9, _VQ_MAX_DESCRIPTORS@GOTPAGE
Lloh6:
ldr x9, [x9, _VQ_MAX_DESCRIPTORS@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
cmp w9, #1
b.lt LBB0_19
; %bb.5:
mov x21, x4
mov x22, x3
mov x23, x2
mov w20, #0
mov w27, #24
Lloh8:
adrp x28, _VIRTIO_RING_F_INDIRECT_DESC@GOTPAGE
Lloh9:
ldr x28, [x28, _VIRTIO_RING_F_INDIRECT_DESC@GOTPAGEOFF]
stp x26, x19, [sp, #24] ; 16-byte Folded Spill
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr x9, [x24, #8]
cmp x8, x9
b.ge LBB0_27
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x24, #16]
madd x14, x8, x27, x9
mov x25, x14
ldr w10, [x25, #8]!
Lloh10:
adrp x11, _VRING_DESC_F_INDIRECT@GOTPAGE
Lloh11:
ldr x11, [x11, _VRING_DESC_F_INDIRECT@GOTPAGEOFF]
Lloh12:
ldr w11, [x11]
tst w11, w10
str x14, [sp, #40] ; 8-byte Folded Spill
b.eq LBB0_15
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr x10, [x26]
ldr w10, [x10, #8]
ldr w11, [x28]
tst w11, w10
b.eq LBB0_28
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
madd x10, x8, x27, x9
ldr w11, [x10, #12]!
add w12, w11, #15
cmp w11, #0
csel w11, w12, w11, lt
ldr w13, [x10]
and w13, w13, #0xf
cmp w13, #0
ccmp w12, #30, #0, eq
b.ls LBB0_29
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
sbfx x28, x11, #4, #28
madd x8, x8, x27, x9
ldr w0, [x8, #16]
ldr w1, [x10]
bl _paddr_guest2host
mov x26, x0
mov x8, #0
LBB0_11: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
madd x19, x8, x27, x26
mov x27, x19
ldr w8, [x27, #8]!
Lloh13:
adrp x9, _VRING_DESC_F_INDIRECT@GOTPAGE
Lloh14:
ldr x9, [x9, _VRING_DESC_F_INDIRECT@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_20
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
mov x0, x20
mov x1, x19
mov x2, x23
mov x3, x22
mov x4, x21
bl __vq_record
Lloh16:
adrp x8, _VQ_MAX_DESCRIPTORS@GOTPAGE
Lloh17:
ldr x8, [x8, _VQ_MAX_DESCRIPTORS@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
cmp w20, w8
b.ge LBB0_21
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
ldr w9, [x27]
Lloh19:
adrp x8, _VRING_DESC_F_NEXT@GOTPAGE
Lloh20:
ldr x8, [x8, _VRING_DESC_F_NEXT@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_16
; %bb.14: ; in Loop: Header=BB0_11 Depth=2
ldr x8, [x19]
add w20, w20, #1
cmp x8, x28
mov w27, #24
b.lt LBB0_11
b LBB0_26
LBB0_15: ; in Loop: Header=BB0_6 Depth=1
mov x0, x20
mov x1, x14
mov x2, x23
mov x3, x22
mov x4, x21
bl __vq_record
add w20, w20, #1
Lloh22:
adrp x8, _VRING_DESC_F_NEXT@GOTPAGE
Lloh23:
ldr x8, [x8, _VRING_DESC_F_NEXT@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
add w20, w20, #1
ldp x26, x19, [sp, #24] ; 16-byte Folded Reload
mov w27, #24
Lloh25:
adrp x28, _VIRTIO_RING_F_INDIRECT_DESC@GOTPAGE
Lloh26:
ldr x28, [x28, _VIRTIO_RING_F_INDIRECT_DESC@GOTPAGEOFF]
LBB0_17: ; in Loop: Header=BB0_6 Depth=1
ldr w9, [x25]
tst w8, w9
b.eq LBB0_25
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x8, [x8]
Lloh27:
adrp x9, _VQ_MAX_DESCRIPTORS@GOTPAGE
Lloh28:
ldr x9, [x9, _VQ_MAX_DESCRIPTORS@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
cmp w20, w9
b.lt LBB0_6
b LBB0_22
LBB0_19:
mov w20, #0
b LBB0_22
LBB0_20:
Lloh30:
adrp x8, _stderr@GOTPAGE
Lloh31:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
Lloh33:
adrp x1, l_.str.4@PAGE
Lloh34:
add x1, x1, l_.str.4@PAGEOFF
ldr x2, [sp, #32] ; 8-byte Folded Reload
b LBB0_24
LBB0_21:
add w20, w20, #1
ldr x19, [sp, #32] ; 8-byte Folded Reload
LBB0_22:
Lloh35:
adrp x8, _stderr@GOTPAGE
Lloh36:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
ldr w0, [x8]
str x20, [sp]
Lloh38:
adrp x1, l_.str.6@PAGE
Lloh39:
add x1, x1, l_.str.6@PAGEOFF
LBB0_23:
mov x2, x19
LBB0_24:
bl _fprintf
mov w20, #-1
LBB0_25:
mov x0, x20
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_26:
Lloh40:
adrp x9, _stderr@GOTPAGE
Lloh41:
ldr x9, [x9, _stderr@GOTPAGEOFF]
Lloh42:
ldr w0, [x9]
stp x8, x28, [sp]
Lloh43:
adrp x1, l_.str.5@PAGE
Lloh44:
add x1, x1, l_.str.5@PAGEOFF
ldr x2, [sp, #32] ; 8-byte Folded Reload
b LBB0_24
LBB0_27:
Lloh45:
adrp x9, _stderr@GOTPAGE
Lloh46:
ldr x9, [x9, _stderr@GOTPAGEOFF]
Lloh47:
ldr w0, [x9]
str x8, [sp]
Lloh48:
adrp x1, l_.str.1@PAGE
Lloh49:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_23
LBB0_28:
Lloh50:
adrp x8, _stderr@GOTPAGE
Lloh51:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh52:
ldr w0, [x8]
Lloh53:
adrp x1, l_.str.2@PAGE
Lloh54:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_23
LBB0_29:
Lloh55:
adrp x8, _stderr@GOTPAGE
Lloh56:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh57:
ldr w0, [x8]
ldrsw x8, [x10]
str x8, [sp]
Lloh58:
adrp x1, l_.str.3@PAGE
Lloh59:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_23
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: ndesc (%u) out of range, driver confused?\r\n"
.comm _VQ_MAX_DESCRIPTORS,4,2 ; @VQ_MAX_DESCRIPTORS
l_.str.1: ; @.str.1
.asciz "%s: descriptor index %u out of range, driver confused?\r\n"
.comm _VRING_DESC_F_INDIRECT,4,2 ; @VRING_DESC_F_INDIRECT
.comm _VIRTIO_RING_F_INDIRECT_DESC,4,2 ; @VIRTIO_RING_F_INDIRECT_DESC
l_.str.2: ; @.str.2
.asciz "%s: descriptor has forbidden INDIRECT flag, driver confused?\r\n"
l_.str.3: ; @.str.3
.asciz "%s: invalid indir len 0x%x, driver confused?\r\n"
l_.str.4: ; @.str.4
.asciz "%s: indirect desc has INDIR flag, driver confused?\r\n"
.comm _VRING_DESC_F_NEXT,4,2 ; @VRING_DESC_F_NEXT
l_.str.5: ; @.str.5
.asciz "%s: invalid next %u > %u, driver confused?\r\n"
l_.str.6: ; @.str.6
.asciz "%s: descriptor loop? count > %d - driver confused?\r\n"
.subsections_via_symbols
| AnghaBench/xhyve/src/extr_virtio.c_vq_getchain.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _filter_assign_type ## -- Begin function filter_assign_type
.p2align 4, 0x90
_filter_assign_type: ## @filter_assign_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
leaq L_.str(%rip), %rsi
callq _strstr
testq %rax, %rax
je LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _FILTER_DYN_STRING@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_3:
movq %rbx, %rdi
movl $91, %esi
callq _strchr
testq %rax, %rax
je LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _FILTER_STATIC_STRING@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_6:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_9
## %bb.7:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_8
LBB0_9:
movq _FILTER_PTR_STRING@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_8:
movq _FILTER_OTHER@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__data_loc"
L_.str.1: ## @.str.1
.asciz "char"
.comm _FILTER_DYN_STRING,4,2 ## @FILTER_DYN_STRING
.comm _FILTER_STATIC_STRING,4,2 ## @FILTER_STATIC_STRING
L_.str.2: ## @.str.2
.asciz "char *"
L_.str.3: ## @.str.3
.asciz "const char *"
.comm _FILTER_PTR_STRING,4,2 ## @FILTER_PTR_STRING
.comm _FILTER_OTHER,4,2 ## @FILTER_OTHER
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _filter_assign_type ; -- Begin function filter_assign_type
.p2align 2
_filter_assign_type: ; @filter_assign_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
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strstr
cbz x0, LBB0_3
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_3
; %bb.2:
Lloh4:
adrp x20, _FILTER_DYN_STRING@GOTPAGE
Lloh5:
ldr x20, [x20, _FILTER_DYN_STRING@GOTPAGEOFF]
b LBB0_8
LBB0_3:
mov x0, x19
mov w1, #91
bl _strchr
cbz x0, LBB0_6
; %bb.4:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_6
; %bb.5:
Lloh8:
adrp x20, _FILTER_STATIC_STRING@GOTPAGE
Lloh9:
ldr x20, [x20, _FILTER_STATIC_STRING@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _strcmp
Lloh12:
adrp x20, _FILTER_PTR_STRING@GOTPAGE
Lloh13:
ldr x20, [x20, _FILTER_PTR_STRING@GOTPAGEOFF]
cbz x0, LBB0_8
; %bb.7:
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _strcmp
Lloh16:
adrp x8, _FILTER_OTHER@GOTPAGE
Lloh17:
ldr x8, [x8, _FILTER_OTHER@GOTPAGEOFF]
cmp x0, #0
csel x20, x20, x8, eq
LBB0_8:
ldr w0, [x20]
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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__data_loc"
l_.str.1: ; @.str.1
.asciz "char"
.comm _FILTER_DYN_STRING,4,2 ; @FILTER_DYN_STRING
.comm _FILTER_STATIC_STRING,4,2 ; @FILTER_STATIC_STRING
l_.str.2: ; @.str.2
.asciz "char *"
l_.str.3: ; @.str.3
.asciz "const char *"
.comm _FILTER_PTR_STRING,4,2 ; @FILTER_PTR_STRING
.comm _FILTER_OTHER,4,2 ; @FILTER_OTHER
.subsections_via_symbols
| AnghaBench/linux/kernel/trace/extr_trace_events_filter.c_filter_assign_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ExecIndexEvalArrayKeys ## -- Begin function ExecIndexEvalArrayKeys
.p2align 4, 0x90
_ExecIndexEvalArrayKeys: ## @ExecIndexEvalArrayKeys
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r12
movl (%rdi), %edi
callq _MemoryContextSwitchTo
movl $1, %r15d
testl %r14d, %r14d
jle LBB0_10
## %bb.1:
movl %eax, -48(%rbp) ## 4-byte Spill
movl %r14d, %eax
shlq $3, %rax
leaq (%rax,%rax,4), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
notl %eax
andl %eax, (%r13)
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl $1, 12(%rbx,%r15)
addq $40, %r15
cmpq %r15, -72(%rbp) ## 8-byte Folded Reload
je LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 24(%rbx,%r15), %rdi
movq 32(%rbx,%r15), %r13
movq %r12, %rsi
leaq -64(%rbp), %rdx
callq _ExecEvalExpr
cmpl $0, -64(%rbp)
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edi
callq _DatumGetArrayTypeP
movq %rax, %r14
movq %rax, %rdi
callq _ARR_ELEMTYPE
movl %eax, %edi
leaq -60(%rbp), %rsi
leaq -56(%rbp), %rdx
leaq -41(%rbp), %rcx
callq _get_typlenbyvalalign
movq %r14, %rdi
callq _ARR_ELEMTYPE
movl -60(%rbp), %edx
movl -56(%rbp), %ecx
movsbl -41(%rbp), %r8d
movq %r14, %rdi
movl %eax, %esi
leaq -88(%rbp), %r9
leaq -52(%rbp), %rax
pushq %rax
leaq -80(%rbp), %rax
pushq %rax
callq _deconstruct_array
addq $16, %rsp
movl -52(%rbp), %eax
testl %eax, %eax
jle LBB0_6
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rcx
movq %rcx, 16(%rbx,%r15)
movq -80(%rbp), %rdx
movq %rdx, (%rbx,%r15)
movl %eax, 8(%rbx,%r15)
movl (%rcx), %eax
movl %eax, 4(%r13)
cmpl $0, (%rdx)
movq _SK_ISNULL@GOTPCREL(%rip), %rax
movl (%rax), %eax
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
orl %eax, (%r13)
jmp LBB0_8
LBB0_6:
xorl %r15d, %r15d
movl -48(%rbp), %eax ## 4-byte Reload
jmp LBB0_10
LBB0_9:
movl -48(%rbp), %eax ## 4-byte Reload
movl $1, %r15d
LBB0_10:
movl %eax, %edi
callq _MemoryContextSwitchTo
movl %r15d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SK_ISNULL,4,2 ## @SK_ISNULL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ExecIndexEvalArrayKeys ; -- Begin function ExecIndexEvalArrayKeys
.p2align 2
_ExecIndexEvalArrayKeys: ; @ExecIndexEvalArrayKeys
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x2
mov x21, x1
mov x20, x0
ldr w0, [x0]
bl _MemoryContextSwitchTo
mov x19, x0
cmp w22, #1
b.lt LBB0_9
; %bb.1:
mov w22, w22
add x23, x21, #16
Lloh0:
adrp x24, _SK_ISNULL@GOTPAGE
Lloh1:
ldr x24, [x24, _SK_ISNULL@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x25]
orr w8, w9, w8
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str w8, [x25]
mov w21, #1
stur w21, [x23, #-4]
add x23, x23, #40
subs x22, x22, #1
b.eq LBB0_10
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldp x0, x25, [x23, #8]
add x2, sp, #44
mov x1, x20
bl _ExecEvalExpr
ldr w8, [sp, #44]
cbnz w8, LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
bl _DatumGetArrayTypeP
mov x21, x0
bl _ARR_ELEMTYPE
add x1, sp, #40
add x2, sp, #36
add x3, sp, #35
bl _get_typlenbyvalalign
mov x0, x21
bl _ARR_ELEMTYPE
mov x1, x0
ldp w3, w2, [sp, #36]
ldrsb w4, [sp, #35]
add x5, sp, #16
add x6, sp, #8
add x7, sp, #28
mov x0, x21
bl _deconstruct_array
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldp x10, x9, [sp, #8]
str x9, [x23]
stur x10, [x23, #-16]
stur w8, [x23, #-8]
ldr w8, [x9]
str w8, [x25, #4]
ldr w9, [x10]
ldr w8, [x24]
cbnz w9, LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x25]
bic w8, w9, w8
b LBB0_3
LBB0_8:
mov w21, #0
b LBB0_10
LBB0_9:
mov w21, #1
LBB0_10:
mov x0, x19
bl _MemoryContextSwitchTo
mov x0, x21
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SK_ISNULL,4,2 ; @SK_ISNULL
.subsections_via_symbols
| AnghaBench/postgres/src/backend/executor/extr_nodeIndexscan.c_ExecIndexEvalArrayKeys.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function closest_target_match
_closest_target_match: ## @closest_target_match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _command_line@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _ENDIAN_BIG@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movq (%rbx), %rcx
movq _BFD_ENDIAN_BIG@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_8
LBB0_2:
movq _ENDIAN_LITTLE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movq (%rbx), %rax
movq _BFD_ENDIAN_LITTLE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
LBB0_4:
movq 8(%rbx), %rax
cmpq 8(%r14), %rax
jne LBB0_8
## %bb.5:
movq _winner@GOTPCREL(%rip), %r12
cmpq $0, (%r12)
je LBB0_7
## %bb.6:
movl 16(%rbx), %edi
movl 16(%r14), %esi
callq _name_compare
movq %rax, %r15
movq (%r12), %rax
movl 16(%rax), %edi
movl 16(%r14), %esi
callq _name_compare
cmpq %rax, %r15
jle LBB0_8
LBB0_7:
movq %rbx, (%r12)
LBB0_8:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _command_line,8,3 ## @command_line
.comm _ENDIAN_BIG,8,3 ## @ENDIAN_BIG
.comm _BFD_ENDIAN_BIG,8,3 ## @BFD_ENDIAN_BIG
.comm _ENDIAN_LITTLE,8,3 ## @ENDIAN_LITTLE
.comm _BFD_ENDIAN_LITTLE,8,3 ## @BFD_ENDIAN_LITTLE
.comm _winner,8,3 ## @winner
.no_dead_strip _closest_target_match
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function closest_target_match
_closest_target_match: ; @closest_target_match
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _command_line@GOTPAGE
Lloh1:
ldr x8, [x8, _command_line@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _ENDIAN_BIG@GOTPAGE
Lloh4:
ldr x9, [x9, _ENDIAN_BIG@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ldr x9, [x19]
Lloh6:
adrp x10, _BFD_ENDIAN_BIG@GOTPAGE
Lloh7:
ldr x10, [x10, _BFD_ENDIAN_BIG@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_8
LBB0_2:
Lloh9:
adrp x9, _ENDIAN_LITTLE@GOTPAGE
Lloh10:
ldr x9, [x9, _ENDIAN_LITTLE@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
ldr x8, [x19]
Lloh12:
adrp x9, _BFD_ENDIAN_LITTLE@GOTPAGE
Lloh13:
ldr x9, [x9, _BFD_ENDIAN_LITTLE@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
LBB0_4:
ldr x8, [x19, #8]
ldr x9, [x20, #8]
cmp x8, x9
b.ne LBB0_8
; %bb.5:
Lloh15:
adrp x22, _winner@GOTPAGE
Lloh16:
ldr x22, [x22, _winner@GOTPAGEOFF]
ldr x8, [x22]
cbz x8, LBB0_7
; %bb.6:
ldr w0, [x19, #16]
ldr w1, [x20, #16]
bl _name_compare
mov x21, x0
ldr x8, [x22]
ldr w0, [x8, #16]
ldr w1, [x20, #16]
bl _name_compare
cmp x21, x0
b.le LBB0_8
LBB0_7:
str x19, [x22]
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _command_line,8,3 ; @command_line
.comm _ENDIAN_BIG,8,3 ; @ENDIAN_BIG
.comm _BFD_ENDIAN_BIG,8,3 ; @BFD_ENDIAN_BIG
.comm _ENDIAN_LITTLE,8,3 ; @ENDIAN_LITTLE
.comm _BFD_ENDIAN_LITTLE,8,3 ; @BFD_ENDIAN_LITTLE
.comm _winner,8,3 ; @winner
.no_dead_strip _closest_target_match
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_closest_target_match.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function niagara2_event_map
_niagara2_event_map: ## @niagara2_event_map
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _niagara2_perfmon_event_map@GOTPCREL(%rip), %rcx
movslq %edi, %rax
shlq $2, %rax
addq (%rcx), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _niagara2_perfmon_event_map,8,3 ## @niagara2_perfmon_event_map
.no_dead_strip _niagara2_event_map
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function niagara2_event_map
_niagara2_event_map: ; @niagara2_event_map
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _niagara2_perfmon_event_map@GOTPAGE
Lloh1:
ldr x8, [x8, _niagara2_perfmon_event_map@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x0, x8, w0, sxtw #2
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _niagara2_perfmon_event_map,8,3 ; @niagara2_perfmon_event_map
.no_dead_strip _niagara2_event_map
.subsections_via_symbols
| AnghaBench/linux/arch/sparc/kernel/extr_perf_event.c_niagara2_event_map.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ltc4306_probe
_ltc4306_probe: ## @ltc4306_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 8(%rdi), %r13
leaq 4(%rdi), %r15
movq %r15, %rdi
callq _of_device_get_match_data
movq %rax, %r14
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _chips@GOTPCREL(%rip), %rax
movq %r15, %r12
movq (%rax), %r15
movq _ltc4306_id@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _i2c_match_id
movq (%rax), %rax
leaq (%r15,%rax,4), %r14
movq %r12, %r15
LBB0_2:
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _device_property_read_bool
movl (%r14), %edx
movq _I2C_MUX_LOCKED@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movq _ltc4306_select_mux@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
testl %eax, %eax
je LBB0_4
## %bb.3:
movq _ltc4306_deselect_mux@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_5
LBB0_4:
xorl %eax, %eax
LBB0_5:
movq %rax, (%rsp)
movq %r13, %rdi
movq %r15, %rsi
movl $16, %ecx
callq _i2c_mux_alloc
testq %rax, %rax
je LBB0_8
## %bb.6:
movq %rax, %r12
movq %rax, %rdi
callq _i2c_mux_priv
movq %rbx, %r13
movq %rax, %rbx
movq %r14, 8(%rax)
movq %r13, %rdi
movq %r12, %rsi
callq _i2c_set_clientdata
movq _ltc4306_regmap_config@GOTPCREL(%rip), %rsi
movq %r13, %rdi
callq _devm_regmap_init_i2c
movq %rax, (%rbx)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_12
## %bb.7:
movq (%rbx), %rdi
callq _PTR_ERR
movl %eax, %r13d
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
movl %eax, %edx
callq _dev_err
jmp LBB0_11
LBB0_8:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_9:
xorl %r13d, %r13d
LBB0_10:
subl (%rax), %r13d
LBB0_11:
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movq %r13, -64(%rbp) ## 8-byte Spill
movq %rbx, -48(%rbp) ## 8-byte Spill
movq _GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
callq _devm_gpiod_get_optional
movq %rax, %r13
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_14
## %bb.13:
movq %r13, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_14:
movq %r14, -56(%rbp) ## 8-byte Spill
testq %r13, %r13
je LBB0_16
## %bb.15:
movl $1, %edi
callq _udelay
movq %r13, %rdi
movl $1, %esi
callq _gpiod_set_value
LBB0_16:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _LTC_REG_SWITCH@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %r13d, %r13d
xorl %edx, %edx
callq _regmap_write
testq %rax, %rax
js LBB0_28
## %bb.17:
leaq L_.str.4(%rip), %rsi
movq %r15, %rdi
callq _device_property_read_bool
movl %eax, %ebx
testl %eax, %eax
je LBB0_19
## %bb.18:
movq _LTC_DOWNSTREAM_ACCL_EN@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_19:
leaq L_.str.5(%rip), %rsi
movq %r15, %rdi
callq _device_property_read_bool
testl %eax, %eax
movq -48(%rbp), %r14 ## 8-byte Reload
je LBB0_21
## %bb.20:
movq _LTC_UPSTREAM_ACCL_EN@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_21:
orl %ebx, %eax
movq (%r14), %rdi
movq _LTC_REG_CONFIG@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edx
callq _regmap_write
testq %rax, %rax
js LBB0_29
## %bb.22:
movq %r14, %rdi
callq _ltc4306_gpio_init
testl %eax, %eax
js LBB0_30
## %bb.23:
movq %r15, -48(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq -56(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax)
movl $0, %ebx
jle LBB0_27
## %bb.24:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_25: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
xorl %esi, %esi
movl %ebx, %edx
xorl %ecx, %ecx
callq _i2c_mux_add_adapter
testl %eax, %eax
jne LBB0_31
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
incl %ebx
movq -56(%rbp), %rax ## 8-byte Reload
cmpl (%rax), %ebx
jl LBB0_25
LBB0_27:
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %ecx
leaq L_.str.6(%rip), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
movl %ebx, %edx
callq _dev_info
jmp LBB0_11
LBB0_28:
leaq L_.str.3(%rip), %rsi
movq %r15, %rdi
callq _dev_warn
movq _ENODEV@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_29:
movq _ENODEV@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_30:
movl %eax, %r13d
jmp LBB0_11
LBB0_31:
movl %eax, %r15d
movq %r12, %rdi
callq _i2c_mux_del_adapters
movl %r15d, %r13d
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _chips,8,3 ## @chips
.comm _ltc4306_id,4,2 ## @ltc4306_id
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "i2c-mux-idle-disconnect"
.comm _I2C_MUX_LOCKED,4,2 ## @I2C_MUX_LOCKED
.comm _ltc4306_select_mux,4,2 ## @ltc4306_select_mux
.comm _ltc4306_deselect_mux,8,3 ## @ltc4306_deselect_mux
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ltc4306_regmap_config,4,2 ## @ltc4306_regmap_config
L_.str.1: ## @.str.1
.asciz "Failed to allocate register map: %d\n"
L_.str.2: ## @.str.2
.asciz "enable"
.comm _GPIOD_OUT_LOW,4,2 ## @GPIOD_OUT_LOW
.comm _LTC_REG_SWITCH,4,2 ## @LTC_REG_SWITCH
L_.str.3: ## @.str.3
.asciz "probe failed\n"
.comm _ENODEV,4,2 ## @ENODEV
L_.str.4: ## @.str.4
.asciz "ltc,downstream-accelerators-enable"
.comm _LTC_DOWNSTREAM_ACCL_EN,4,2 ## @LTC_DOWNSTREAM_ACCL_EN
L_.str.5: ## @.str.5
.asciz "ltc,upstream-accelerators-enable"
.comm _LTC_UPSTREAM_ACCL_EN,4,2 ## @LTC_UPSTREAM_ACCL_EN
.comm _LTC_REG_CONFIG,4,2 ## @LTC_REG_CONFIG
L_.str.6: ## @.str.6
.asciz "registered %d multiplexed busses for I2C switch %s\n"
.no_dead_strip _ltc4306_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ltc4306_probe
_ltc4306_probe: ; @ltc4306_probe
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
ldr x22, [x0, #8]
add x19, x0, #4
mov x0, x19
bl _of_device_get_match_data
mov x21, x0
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _chips@GOTPAGE
Lloh1:
ldr x8, [x8, _chips@GOTPAGEOFF]
Lloh2:
ldr x21, [x8]
Lloh3:
adrp x8, _ltc4306_id@GOTPAGE
Lloh4:
ldr x8, [x8, _ltc4306_id@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
mov x1, x20
bl _i2c_match_id
ldr x8, [x0]
add x21, x21, x8, lsl #2
LBB0_2:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _device_property_read_bool
ldr w2, [x21]
Lloh8:
adrp x8, _I2C_MUX_LOCKED@GOTPAGE
Lloh9:
ldr x8, [x8, _I2C_MUX_LOCKED@GOTPAGEOFF]
Lloh10:
ldr w4, [x8]
Lloh11:
adrp x8, _ltc4306_select_mux@GOTPAGE
Lloh12:
ldr x8, [x8, _ltc4306_select_mux@GOTPAGEOFF]
Lloh13:
ldr w5, [x8]
Lloh14:
adrp x8, _ltc4306_deselect_mux@GOTPAGE
Lloh15:
ldr x8, [x8, _ltc4306_deselect_mux@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
cmp w0, #0
csel x6, xzr, x8, eq
mov x0, x22
mov x1, x19
mov w3, #16
bl _i2c_mux_alloc
cbz x0, LBB0_5
; %bb.3:
mov x22, x0
bl _i2c_mux_priv
mov x23, x0
str x21, [x0, #8]
mov x0, x20
mov x1, x22
bl _i2c_set_clientdata
Lloh17:
adrp x1, _ltc4306_regmap_config@GOTPAGE
Lloh18:
ldr x1, [x1, _ltc4306_regmap_config@GOTPAGEOFF]
mov x0, x20
bl _devm_regmap_init_i2c
str x0, [x23]
bl _IS_ERR
cbz x0, LBB0_8
; %bb.4:
ldr x0, [x23]
bl _PTR_ERR
mov x23, x0
Lloh19:
adrp x1, l_.str.1@PAGE
Lloh20:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
mov x2, x23
bl _dev_err
b LBB0_7
LBB0_5:
Lloh21:
adrp x8, _ENOMEM@GOTPAGE
Lloh22:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
ldr w8, [x8]
neg w23, w8
LBB0_7:
mov x0, x23
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_8:
Lloh23:
adrp x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh24:
ldr x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh25:
ldr w2, [x8]
Lloh26:
adrp x1, l_.str.2@PAGE
Lloh27:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _devm_gpiod_get_optional
mov x24, x0
bl _IS_ERR
cbz x0, LBB0_10
; %bb.9:
mov x0, x24
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _PTR_ERR
LBB0_10:
cbz x24, LBB0_12
; %bb.11:
mov w0, #1
bl _udelay
mov x0, x24
mov w1, #1
bl _gpiod_set_value
LBB0_12:
ldr x0, [x23]
Lloh28:
adrp x8, _LTC_REG_SWITCH@GOTPAGE
Lloh29:
ldr x8, [x8, _LTC_REG_SWITCH@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
mov w2, #0
bl _regmap_write
tbnz x0, #63, LBB0_19
; %bb.13:
Lloh31:
adrp x1, l_.str.4@PAGE
Lloh32:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _device_property_read_bool
Lloh33:
adrp x8, _LTC_DOWNSTREAM_ACCL_EN@GOTPAGE
Lloh34:
ldr x8, [x8, _LTC_DOWNSTREAM_ACCL_EN@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
cmp w0, #0
csel w24, wzr, w8, eq
Lloh36:
adrp x1, l_.str.5@PAGE
Lloh37:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _device_property_read_bool
Lloh38:
adrp x8, _LTC_UPSTREAM_ACCL_EN@GOTPAGE
Lloh39:
ldr x8, [x8, _LTC_UPSTREAM_ACCL_EN@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
cmp w0, #0
csel w8, wzr, w8, eq
orr w2, w8, w24
ldr x0, [x23]
Lloh41:
adrp x8, _LTC_REG_CONFIG@GOTPAGE
Lloh42:
ldr x8, [x8, _LTC_REG_CONFIG@GOTPAGEOFF]
Lloh43:
ldr w1, [x8]
bl _regmap_write
tbnz x0, #63, LBB0_20
; %bb.14:
mov x0, x23
bl _ltc4306_gpio_init
tbnz w0, #31, LBB0_21
; %bb.15:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_22
; %bb.16:
mov w24, #0
LBB0_17: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov w1, #0
mov x2, x24
mov w3, #0
bl _i2c_mux_add_adapter
cbnz w0, LBB0_24
; %bb.18: ; in Loop: Header=BB0_17 Depth=1
add w24, w24, #1
ldr w8, [x21]
cmp w24, w8
b.lt LBB0_17
b LBB0_23
LBB0_19:
Lloh44:
adrp x1, l_.str.3@PAGE
Lloh45:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _dev_warn
LBB0_20:
Lloh46:
adrp x8, _ENODEV@GOTPAGE
Lloh47:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
b LBB0_6
LBB0_21:
mov x23, x0
b LBB0_7
LBB0_22:
mov w24, #0
LBB0_23:
ldr w3, [x20]
Lloh48:
adrp x1, l_.str.6@PAGE
Lloh49:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
mov x2, x24
bl _dev_info
mov w23, #0
b LBB0_7
LBB0_24:
mov x23, x0
mov x0, x22
bl _i2c_mux_del_adapters
b LBB0_7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.comm _chips,8,3 ; @chips
.comm _ltc4306_id,4,2 ; @ltc4306_id
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "i2c-mux-idle-disconnect"
.comm _I2C_MUX_LOCKED,4,2 ; @I2C_MUX_LOCKED
.comm _ltc4306_select_mux,4,2 ; @ltc4306_select_mux
.comm _ltc4306_deselect_mux,8,3 ; @ltc4306_deselect_mux
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ltc4306_regmap_config,4,2 ; @ltc4306_regmap_config
l_.str.1: ; @.str.1
.asciz "Failed to allocate register map: %d\n"
l_.str.2: ; @.str.2
.asciz "enable"
.comm _GPIOD_OUT_LOW,4,2 ; @GPIOD_OUT_LOW
.comm _LTC_REG_SWITCH,4,2 ; @LTC_REG_SWITCH
l_.str.3: ; @.str.3
.asciz "probe failed\n"
.comm _ENODEV,4,2 ; @ENODEV
l_.str.4: ; @.str.4
.asciz "ltc,downstream-accelerators-enable"
.comm _LTC_DOWNSTREAM_ACCL_EN,4,2 ; @LTC_DOWNSTREAM_ACCL_EN
l_.str.5: ; @.str.5
.asciz "ltc,upstream-accelerators-enable"
.comm _LTC_UPSTREAM_ACCL_EN,4,2 ; @LTC_UPSTREAM_ACCL_EN
.comm _LTC_REG_CONFIG,4,2 ; @LTC_REG_CONFIG
l_.str.6: ; @.str.6
.asciz "registered %d multiplexed busses for I2C switch %s\n"
.no_dead_strip _ltc4306_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-ltc4306.c_ltc4306_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfc_llc_xmit_from_hci ## -- Begin function nfc_llc_xmit_from_hci
.p2align 4, 0x90
_nfc_llc_xmit_from_hci: ## @nfc_llc_xmit_from_hci
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq (%rax), %rax
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfc_llc_xmit_from_hci ; -- Begin function nfc_llc_xmit_from_hci
.p2align 2
_nfc_llc_xmit_from_hci: ; @nfc_llc_xmit_from_hci
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x2, [x8]
br x2
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/net/nfc/hci/extr_llc.c_nfc_llc_xmit_from_hci.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IsHexDigit ## -- Begin function IsHexDigit
.p2align 4, 0x90
_IsHexDigit: ## @IsHexDigit
.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 -48(%rdi), %eax
andb $-33, %dil
addb $-65, %dil
movq _TRUE@GOTPCREL(%rip), %rcx
movq %rcx, %rdx
cmpb $6, %dil
jb LBB0_2
## %bb.1:
movq _FALSE@GOTPCREL(%rip), %rdx
LBB0_2:
cmpb $10, %al
cmovbq %rcx, %rdx
movl (%rdx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IsHexDigit ; -- Begin function IsHexDigit
.p2align 2
_IsHexDigit: ; @IsHexDigit
.cfi_startproc
; %bb.0:
and w8, w0, #0xff
sub w8, w8, #48
mov w9, #223
and w9, w0, w9
sub w9, w9, #65
cmp w9, #6
Lloh0:
adrp x9, _TRUE@GOTPAGE
Lloh1:
ldr x9, [x9, _TRUE@GOTPAGEOFF]
ccmp w8, #10, #0, hs
Lloh2:
adrp x8, _FALSE@GOTPAGE
Lloh3:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
csel x8, x9, x8, lo
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192S_Efuse.c_IsHexDigit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LzmaEncode ## -- Begin function LzmaEncode
.p2align 4, 0x90
_LzmaEncode: ## @LzmaEncode
.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 %r9, %r13
movq %r8, %r15
movq %rcx, %r14
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r12
movq 40(%rbp), %rdi
callq _LzmaEnc_Create
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %r14, -48(%rbp) ## 8-byte Spill
movq %rax, %rdi
movq %r15, %rsi
callq _LzmaEnc_SetProps
movq %rax, %r15
movq _SZ_OK@GOTPCREL(%rip), %r14
cmpq (%r14), %rax
jne LBB0_5
## %bb.3:
movq 16(%rbp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq _LzmaEnc_WriteProperties
movq %rax, %r15
cmpq (%r14), %rax
jne LBB0_5
## %bb.4:
movl 24(%rbp), %r9d
subq $8, %rsp
movq %rbx, %rdi
movq %r12, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
movq -48(%rbp), %r8 ## 8-byte Reload
pushq 48(%rbp)
pushq 40(%rbp)
pushq 32(%rbp)
callq _LzmaEnc_MemEncode
addq $32, %rsp
movq %rax, %r15
LBB0_5:
movq %rbx, %rdi
movq 40(%rbp), %rsi
movq 48(%rbp), %rdx
callq _LzmaEnc_Destroy
jmp LBB0_6
LBB0_1:
movq _SZ_ERROR_MEM@GOTPCREL(%rip), %rax
movq (%rax), %r15
LBB0_6:
movq %r15, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SZ_ERROR_MEM,8,3 ## @SZ_ERROR_MEM
.comm _SZ_OK,8,3 ## @SZ_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LzmaEncode ; -- Begin function LzmaEncode
.p2align 2
_LzmaEncode: ; @LzmaEncode
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x7
mov x27, x6
mov x28, x5
mov x20, x4
mov x23, x3
mov x24, x2
mov x25, x1
mov x26, x0
ldr x19, [x29, #24]
mov x0, x19
bl _LzmaEnc_Create
cbz x0, LBB0_5
; %bb.1:
mov x21, x0
str x23, [sp, #16] ; 8-byte Folded Spill
str w22, [sp, #28] ; 4-byte Folded Spill
ldr x22, [x29, #32]
mov x1, x20
bl _LzmaEnc_SetProps
mov x20, x0
Lloh0:
adrp x23, _SZ_OK@GOTPAGE
Lloh1:
ldr x23, [x23, _SZ_OK@GOTPAGEOFF]
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_4
; %bb.2:
mov x0, x21
mov x1, x28
mov x2, x27
bl _LzmaEnc_WriteProperties
mov x20, x0
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_4
; %bb.3:
ldr x6, [x29, #16]
str x22, [sp]
mov x0, x21
mov x1, x26
mov x2, x25
mov x3, x24
ldr x4, [sp, #16] ; 8-byte Folded Reload
ldr w5, [sp, #28] ; 4-byte Folded Reload
mov x7, x19
bl _LzmaEnc_MemEncode
mov x20, x0
LBB0_4:
mov x0, x21
mov x1, x19
mov x2, x22
bl _LzmaEnc_Destroy
b LBB0_6
LBB0_5:
Lloh2:
adrp x8, _SZ_ERROR_MEM@GOTPAGE
Lloh3:
ldr x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
Lloh4:
ldr x20, [x8]
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _SZ_ERROR_MEM,8,3 ; @SZ_ERROR_MEM
.comm _SZ_OK,8,3 ; @SZ_OK
.subsections_via_symbols
| AnghaBench/RetroArch/deps/7zip/extr_LzmaEnc.c_LzmaEncode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __tgetcwd ## -- Begin function _tgetcwd
.p2align 4, 0x90
__tgetcwd: ## @_tgetcwd
.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
movl %esi, %r14d
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _MAX_PATH@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl %ebx, %edi
movq %r12, %rsi
callq _GetCurrentDirectory
testq %rax, %rax
je LBB0_1
## %bb.2:
testq %r15, %r15
je LBB0_3
## %bb.4:
movslq %r14d, %rcx
cmpq %rcx, %rax
jge LBB0_5
## %bb.6:
movq %r15, %rdi
movq %r12, %rsi
callq __tcscpy
jmp LBB0_7
LBB0_1:
xorl %r15d, %r15d
xorl %eax, %eax
callq _GetLastError
movl %eax, %edi
callq __dosmaperr
jmp LBB0_7
LBB0_3:
movq %r12, %rdi
callq __tcsdup
movq %rax, %r15
jmp LBB0_7
LBB0_5:
movq _ERANGE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq __set_errno
xorl %r15d, %r15d
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_9
## %bb.8:
movq %r15, %rax
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_PATH,4,2 ## @MAX_PATH
.comm _ERANGE,4,2 ## @ERANGE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __tgetcwd ; -- Begin function _tgetcwd
.p2align 2
__tgetcwd: ; @_tgetcwd
.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
sub sp, sp, #16
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _MAX_PATH@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
lsl x8, x0, #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 x21, x9, x8
mov sp, x21
; kill: def $w0 killed $w0 killed $x0
mov x1, x21
bl _GetCurrentDirectory
cbz x0, LBB0_4
; %bb.1:
cbz x19, LBB0_5
; %bb.2:
cmp x0, w20, sxtw
b.ge LBB0_6
; %bb.3:
mov x0, x19
mov x1, x21
bl __tcscpy
b LBB0_8
LBB0_4:
bl _GetLastError
bl __dosmaperr
b LBB0_7
LBB0_5:
mov x0, x21
bl __tcsdup
mov x19, x0
b LBB0_8
LBB0_6:
Lloh8:
adrp x8, _ERANGE@GOTPAGE
Lloh9:
ldr x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
bl __set_errno
LBB0_7:
mov x19, #0
LBB0_8:
ldur x8, [x29, #-40]
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_10
; %bb.9:
mov x0, x19
sub sp, x29, #32
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _MAX_PATH,4,2 ; @MAX_PATH
.comm _ERANGE,4,2 ; @ERANGE
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/crt/direct/extr_getcwd.c__tgetcwd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getbinopr
_getbinopr: ## @getbinopr
.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
addl $-37, %edi
cmpl $100, %edi
ja LBB0_22
## %bb.1:
movq _OPR_ADD@GOTPCREL(%rip), %rax
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rdi,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
LBB0_4:
movq _OPR_MOD@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_8:
movq _OPR_BAND@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_22:
movq _OPR_NOBINOPR@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_3:
movq _OPR_MUL@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_2:
movq _OPR_SUB@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_6:
movq _OPR_DIV@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_16:
movq _OPR_LT@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_18:
movq _OPR_GT@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_5:
movq _OPR_POW@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_9:
movq _OPR_BOR@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_10:
movq _OPR_BXOR@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_12:
movq _OPR_SHR@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_11:
movq _OPR_SHL@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_21:
movq _OPR_OR@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_14:
movq _OPR_NE@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_17:
movq _OPR_LE@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_7:
movq _OPR_IDIV@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_19:
movq _OPR_GE@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_15:
movq _OPR_EQ@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_13:
movq _OPR_CONCAT@GOTPCREL(%rip), %rax
jmp LBB0_23
LBB0_20:
movq _OPR_AND@GOTPCREL(%rip), %rax
LBB0_23:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_8
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_3
.long L0_0_set_23
.long L0_0_set_22
.long L0_0_set_2
.long L0_0_set_22
.long L0_0_set_6
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_16
.long L0_0_set_22
.long L0_0_set_18
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_5
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_9
.long L0_0_set_22
.long L0_0_set_10
.long L0_0_set_22
.long L0_0_set_12
.long L0_0_set_11
.long L0_0_set_21
.long L0_0_set_14
.long L0_0_set_17
.long L0_0_set_7
.long L0_0_set_19
.long L0_0_set_15
.long L0_0_set_13
.long L0_0_set_20
.end_data_region
## -- End function
.comm _OPR_ADD,4,2 ## @OPR_ADD
.comm _OPR_SUB,4,2 ## @OPR_SUB
.comm _OPR_MUL,4,2 ## @OPR_MUL
.comm _OPR_MOD,4,2 ## @OPR_MOD
.comm _OPR_POW,4,2 ## @OPR_POW
.comm _OPR_DIV,4,2 ## @OPR_DIV
.comm _OPR_IDIV,4,2 ## @OPR_IDIV
.comm _OPR_BAND,4,2 ## @OPR_BAND
.comm _OPR_BOR,4,2 ## @OPR_BOR
.comm _OPR_BXOR,4,2 ## @OPR_BXOR
.comm _OPR_SHL,4,2 ## @OPR_SHL
.comm _OPR_SHR,4,2 ## @OPR_SHR
.comm _OPR_CONCAT,4,2 ## @OPR_CONCAT
.comm _OPR_NE,4,2 ## @OPR_NE
.comm _OPR_EQ,4,2 ## @OPR_EQ
.comm _OPR_LT,4,2 ## @OPR_LT
.comm _OPR_LE,4,2 ## @OPR_LE
.comm _OPR_GT,4,2 ## @OPR_GT
.comm _OPR_GE,4,2 ## @OPR_GE
.comm _OPR_AND,4,2 ## @OPR_AND
.comm _OPR_OR,4,2 ## @OPR_OR
.comm _OPR_NOBINOPR,4,2 ## @OPR_NOBINOPR
.no_dead_strip _getbinopr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getbinopr
_getbinopr: ; @getbinopr
.cfi_startproc
; %bb.0:
sub w9, w0, #37
cmp w9, #100
b.hi LBB0_4
; %bb.1:
Lloh0:
adrp x8, _OPR_ADD@GOTPAGE
Lloh1:
ldr x8, [x8, _OPR_ADD@GOTPAGEOFF]
Lloh2:
adrp x10, lJTI0_0@PAGE
Lloh3:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_2
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_2:
Lloh4:
adrp x8, _OPR_MOD@GOTPAGE
Lloh5:
ldr x8, [x8, _OPR_MOD@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
ret
LBB0_3:
Lloh7:
adrp x8, _OPR_BAND@GOTPAGE
Lloh8:
ldr x8, [x8, _OPR_BAND@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
ret
LBB0_4:
Lloh10:
adrp x8, _OPR_NOBINOPR@GOTPAGE
Lloh11:
ldr x8, [x8, _OPR_NOBINOPR@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
ret
LBB0_6:
Lloh12:
adrp x8, _OPR_MUL@GOTPAGE
Lloh13:
ldr x8, [x8, _OPR_MUL@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ret
LBB0_7:
Lloh15:
adrp x8, _OPR_SUB@GOTPAGE
Lloh16:
ldr x8, [x8, _OPR_SUB@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
ret
LBB0_8:
Lloh18:
adrp x8, _OPR_DIV@GOTPAGE
Lloh19:
ldr x8, [x8, _OPR_DIV@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
ret
LBB0_9:
Lloh21:
adrp x8, _OPR_LT@GOTPAGE
Lloh22:
ldr x8, [x8, _OPR_LT@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
ret
LBB0_10:
Lloh24:
adrp x8, _OPR_GT@GOTPAGE
Lloh25:
ldr x8, [x8, _OPR_GT@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
ret
LBB0_11:
Lloh27:
adrp x8, _OPR_POW@GOTPAGE
Lloh28:
ldr x8, [x8, _OPR_POW@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
ret
LBB0_12:
Lloh30:
adrp x8, _OPR_BOR@GOTPAGE
Lloh31:
ldr x8, [x8, _OPR_BOR@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
ret
LBB0_13:
Lloh33:
adrp x8, _OPR_BXOR@GOTPAGE
Lloh34:
ldr x8, [x8, _OPR_BXOR@GOTPAGEOFF]
Lloh35:
ldr w0, [x8]
ret
LBB0_14:
Lloh36:
adrp x8, _OPR_SHR@GOTPAGE
Lloh37:
ldr x8, [x8, _OPR_SHR@GOTPAGEOFF]
Lloh38:
ldr w0, [x8]
ret
LBB0_15:
Lloh39:
adrp x8, _OPR_SHL@GOTPAGE
Lloh40:
ldr x8, [x8, _OPR_SHL@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
ret
LBB0_16:
Lloh42:
adrp x8, _OPR_OR@GOTPAGE
Lloh43:
ldr x8, [x8, _OPR_OR@GOTPAGEOFF]
Lloh44:
ldr w0, [x8]
ret
LBB0_17:
Lloh45:
adrp x8, _OPR_NE@GOTPAGE
Lloh46:
ldr x8, [x8, _OPR_NE@GOTPAGEOFF]
Lloh47:
ldr w0, [x8]
ret
LBB0_18:
Lloh48:
adrp x8, _OPR_LE@GOTPAGE
Lloh49:
ldr x8, [x8, _OPR_LE@GOTPAGEOFF]
Lloh50:
ldr w0, [x8]
ret
LBB0_19:
Lloh51:
adrp x8, _OPR_IDIV@GOTPAGE
Lloh52:
ldr x8, [x8, _OPR_IDIV@GOTPAGEOFF]
Lloh53:
ldr w0, [x8]
ret
LBB0_20:
Lloh54:
adrp x8, _OPR_GE@GOTPAGE
Lloh55:
ldr x8, [x8, _OPR_GE@GOTPAGEOFF]
Lloh56:
ldr w0, [x8]
ret
LBB0_21:
Lloh57:
adrp x8, _OPR_EQ@GOTPAGE
Lloh58:
ldr x8, [x8, _OPR_EQ@GOTPAGEOFF]
Lloh59:
ldr w0, [x8]
ret
LBB0_22:
Lloh60:
adrp x8, _OPR_CONCAT@GOTPAGE
Lloh61:
ldr x8, [x8, _OPR_CONCAT@GOTPAGEOFF]
Lloh62:
ldr w0, [x8]
ret
LBB0_23:
Lloh63:
adrp x8, _OPR_AND@GOTPAGE
Lloh64:
ldr x8, [x8, _OPR_AND@GOTPAGEOFF]
Lloh65:
ldr w0, [x8]
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_12-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_13-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_15-LBB0_2)>>2
.byte (LBB0_16-LBB0_2)>>2
.byte (LBB0_17-LBB0_2)>>2
.byte (LBB0_18-LBB0_2)>>2
.byte (LBB0_19-LBB0_2)>>2
.byte (LBB0_20-LBB0_2)>>2
.byte (LBB0_21-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_23-LBB0_2)>>2
; -- End function
.comm _OPR_ADD,4,2 ; @OPR_ADD
.comm _OPR_SUB,4,2 ; @OPR_SUB
.comm _OPR_MUL,4,2 ; @OPR_MUL
.comm _OPR_MOD,4,2 ; @OPR_MOD
.comm _OPR_POW,4,2 ; @OPR_POW
.comm _OPR_DIV,4,2 ; @OPR_DIV
.comm _OPR_IDIV,4,2 ; @OPR_IDIV
.comm _OPR_BAND,4,2 ; @OPR_BAND
.comm _OPR_BOR,4,2 ; @OPR_BOR
.comm _OPR_BXOR,4,2 ; @OPR_BXOR
.comm _OPR_SHL,4,2 ; @OPR_SHL
.comm _OPR_SHR,4,2 ; @OPR_SHR
.comm _OPR_CONCAT,4,2 ; @OPR_CONCAT
.comm _OPR_NE,4,2 ; @OPR_NE
.comm _OPR_EQ,4,2 ; @OPR_EQ
.comm _OPR_LT,4,2 ; @OPR_LT
.comm _OPR_LE,4,2 ; @OPR_LE
.comm _OPR_GT,4,2 ; @OPR_GT
.comm _OPR_GE,4,2 ; @OPR_GE
.comm _OPR_AND,4,2 ; @OPR_AND
.comm _OPR_OR,4,2 ; @OPR_OR
.comm _OPR_NOBINOPR,4,2 ; @OPR_NOBINOPR
.no_dead_strip _getbinopr
.subsections_via_symbols
| AnghaBench/xLua/build/lua-5.3.4/src/extr_lparser.c_getbinopr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmd_wattr_get ## -- Begin function cmd_wattr_get
.p2align 4, 0x90
_cmd_wattr_get: ## @cmd_wattr_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq %rsi, %rbx
movl $1, %esi
callq _check_arg_count
cmpl $1, %eax
je LBB0_4
## %bb.1:
movq (%rbx), %rdi
leaq L_.str(%rip), %rsi
leaq -24(%rbp), %rdx
callq _sscanf
testq %rax, %rax
je LBB0_2
## %bb.3:
movl $3, %edi
callq _report_count
movq -24(%rbp), %rdi
leaq -16(%rbp), %rsi
leaq -10(%rbp), %rdx
xorl %ecx, %ecx
callq _wattr_get
movl %eax, %edi
callq _report_return
movswl -16(%rbp), %edi
callq _report_int
movswl -10(%rbp), %edi
callq _report_int
jmp LBB0_4
LBB0_2:
movl $1, %edi
callq _report_count
leaq L_.str.1(%rip), %rdi
callq _report_error
LBB0_4:
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%p"
L_.str.1: ## @.str.1
.asciz "BAD ARGUMENT"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cmd_wattr_get ; -- Begin function cmd_wattr_get
.p2align 2
_cmd_wattr_get: ; @cmd_wattr_get
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov w1, #1
bl _check_arg_count
cmp w0, #1
b.eq LBB0_4
; %bb.1:
ldr x0, [x19]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #8
bl _sscanf
cbz x0, LBB0_3
; %bb.2:
mov w0, #3
bl _report_count
ldr x0, [sp, #8]
add x1, sp, #4
add x2, sp, #2
mov x3, #0
bl _wattr_get
bl _report_return
ldrsh w0, [sp, #4]
bl _report_int
ldrsh w0, [sp, #2]
bl _report_int
b LBB0_4
LBB0_3:
mov w0, #1
bl _report_count
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _report_error
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%p"
l_.str.1: ; @.str.1
.asciz "BAD ARGUMENT"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_wattr_get.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.