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
.p2align 4, 0x90 ## -- Begin function sfxge_is_mbuf_non_tcp
_sfxge_is_mbuf_non_tcp: ## @sfxge_is_mbuf_non_tcp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CSUM_IP_TCP@GOTPCREL(%rip), %rax
movq _CSUM_IP6_TCP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
xorl %eax, %eax
testl %ecx, (%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CSUM_IP_TCP,4,2 ## @CSUM_IP_TCP
.comm _CSUM_IP6_TCP,4,2 ## @CSUM_IP6_TCP
.no_dead_strip _sfxge_is_mbuf_non_tcp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sfxge_is_mbuf_non_tcp
_sfxge_is_mbuf_non_tcp: ; @sfxge_is_mbuf_non_tcp
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, _CSUM_IP_TCP@GOTPAGE
Lloh1:
ldr x9, [x9, _CSUM_IP_TCP@GOTPAGEOFF]
Lloh2:
adrp x10, _CSUM_IP6_TCP@GOTPAGE
Lloh3:
ldr x10, [x10, _CSUM_IP6_TCP@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
ldr w10, [x10]
orr w9, w10, w9
tst w9, w8
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _CSUM_IP_TCP,4,2 ; @CSUM_IP_TCP
.comm _CSUM_IP6_TCP,4,2 ; @CSUM_IP6_TCP
.no_dead_strip _sfxge_is_mbuf_non_tcp
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_tx.c_sfxge_is_mbuf_non_tcp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ci_get_svi2_voltage_table
_ci_get_svi2_voltage_table: ## @ci_get_svi2_voltage_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rsi, %rsi
je LBB0_4
## %bb.1:
xorps %xmm0, %xmm0
movups %xmm0, 16(%rdx)
movq (%rsi), %r9
movq %r9, (%rdx)
testq %r9, %r9
je LBB0_5
## %bb.2:
movq 8(%rsi), %rsi
movq 8(%rdx), %r8
xorl %eax, %eax
cmpq $1, %r9
jne LBB0_6
## %bb.3:
xorl %edx, %edx
jmp LBB0_8
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_10:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB0_5:
xorl %eax, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB0_6:
movq %r9, %r10
andq $-2, %r10
leaq 24(%r8), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl (%rsi,%rdx,4), %edi
movl %edi, -16(%rcx)
movq $0, -24(%rcx)
movl 4(%rsi,%rdx,4), %edi
movl %edi, (%rcx)
movq $0, -8(%rcx)
addq $2, %rdx
addq $32, %rcx
cmpq %rdx, %r10
jne LBB0_7
LBB0_8:
testb $1, %r9b
je LBB0_10
## %bb.9:
movl (%rsi,%rdx,4), %ecx
shlq $4, %rdx
movl %ecx, 8(%r8,%rdx)
movq $0, (%r8,%rdx)
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _ci_get_svi2_voltage_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ci_get_svi2_voltage_table
_ci_get_svi2_voltage_table: ; @ci_get_svi2_voltage_table
.cfi_startproc
; %bb.0:
cbz x1, LBB0_4
; %bb.1:
stp xzr, xzr, [x2, #16]
ldr x8, [x1]
str x8, [x2]
cbz x8, LBB0_10
; %bb.2:
ldr x10, [x1, #8]
ldr x9, [x2, #8]
cmp x8, #4
b.hs LBB0_5
; %bb.3:
mov x11, #0
b LBB0_8
LBB0_4:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
LBB0_5:
and x11, x8, #0xfffffffffffffffc
add x12, x9, #32
add x13, x10, #8
mov x14, x11
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldp w15, w16, [x13, #-8]
ldp w17, w0, [x13], #16
stur w15, [x12, #-24]
stur w16, [x12, #-8]
str w17, [x12, #8]
str w0, [x12, #24]
stur xzr, [x12, #-32]
stur xzr, [x12, #-16]
str xzr, [x12]
str xzr, [x12, #16]
add x12, x12, #64
subs x14, x14, #4
b.ne LBB0_6
; %bb.7:
cmp x8, x11
b.eq LBB0_10
LBB0_8:
sub x8, x8, x11
add x10, x10, x11, lsl #2
add x9, x9, x11, lsl #4
add x9, x9, #8
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10], #4
str w11, [x9]
stur xzr, [x9, #-8]
add x9, x9, #16
subs x8, x8, #1
b.ne LBB0_9
LBB0_10:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _ci_get_svi2_voltage_table
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_get_svi2_voltage_table.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ChopWinding ## -- Begin function ChopWinding
.p2align 4, 0x90
_ChopWinding: ## @ChopWinding
.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 %rdi, %rbx
movq _ON_EPSILON@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -24(%rbp), %r8
leaq -16(%rbp), %r9
callq _ClipWindingEpsilon
movq %rbx, %rdi
callq _FreeWinding
movq -16(%rbp), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _FreeWinding
LBB0_2:
movq -24(%rbp), %rax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ON_EPSILON,4,2 ## @ON_EPSILON
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ChopWinding ; -- Begin function ChopWinding
.p2align 2
_ChopWinding: ; @ChopWinding
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _ON_EPSILON@GOTPAGE
Lloh1:
ldr x8, [x8, _ON_EPSILON@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
add x4, sp, #8
mov x5, sp
bl _ClipWindingEpsilon
mov x0, x19
bl _FreeWinding
ldr x0, [sp]
cbz x0, LBB0_2
; %bb.1:
bl _FreeWinding
LBB0_2:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ON_EPSILON,4,2 ; @ON_EPSILON
.subsections_via_symbols
| AnghaBench/lab/engine/code/bspc/extr_l_poly.c_ChopWinding.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.1(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "right"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "right"
.subsections_via_symbols
| the_stack_data/165768993.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bstp_pdu_rcvtype
_bstp_pdu_rcvtype: ## @bstp_pdu_rcvtype
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _BSTP_PDU_OTHER@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl (%rsi), %eax
leal -130(%rax), %ecx
cmpl $2, %ecx
jb LBB0_12
## %bb.1:
cmpl $128, %eax
je LBB0_12
## %bb.2:
cmpl $129, %eax
jne LBB0_15
## %bb.3:
leaq 4(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq _bstp_info_superior
testl %eax, %eax
je LBB0_5
LBB0_4:
movq _BSTP_PDU_SUPERIOR@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_12:
addq $4, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq _bstp_info_cmp
movq _INFO_SAME@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jg LBB0_15
## %bb.13:
movq _BSTP_PDU_INFERIORALT@GOTPCREL(%rip), %rax
LBB0_14:
movl (%rax), %r15d
LBB0_15:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %r14, %rdi
movq %r15, %rsi
callq _bstp_info_cmp
movq _INFO_SAME@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_11
## %bb.6:
movl 16(%r14), %eax
cmpl 20(%rbx), %eax
jne LBB0_4
## %bb.7:
movl 12(%r14), %eax
cmpl 16(%rbx), %eax
jne LBB0_4
## %bb.8:
movl 8(%r14), %eax
cmpl 12(%rbx), %eax
jne LBB0_4
## %bb.9:
movl 4(%r14), %eax
cmpl 8(%rbx), %eax
jne LBB0_4
## %bb.10:
movq _BSTP_PDU_REPEATED@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_11:
movq _BSTP_PDU_INFERIOR@GOTPCREL(%rip), %rax
jmp LBB0_14
.cfi_endproc
## -- End function
.comm _BSTP_PDU_OTHER,4,2 ## @BSTP_PDU_OTHER
.comm _BSTP_PDU_SUPERIOR,4,2 ## @BSTP_PDU_SUPERIOR
.comm _INFO_SAME,4,2 ## @INFO_SAME
.comm _BSTP_PDU_REPEATED,4,2 ## @BSTP_PDU_REPEATED
.comm _BSTP_PDU_INFERIOR,4,2 ## @BSTP_PDU_INFERIOR
.comm _BSTP_PDU_INFERIORALT,4,2 ## @BSTP_PDU_INFERIORALT
.no_dead_strip _bstp_pdu_rcvtype
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bstp_pdu_rcvtype
_bstp_pdu_rcvtype: ; @bstp_pdu_rcvtype
.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, _BSTP_PDU_OTHER@GOTPAGE
Lloh1:
ldr x8, [x8, _BSTP_PDU_OTHER@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
ldr w8, [x1]
sub w9, w8, #130
cmp w9, #2
b.lo LBB0_5
; %bb.1:
cmp w8, #128
b.eq LBB0_5
; %bb.2:
cmp w8, #129
b.ne LBB0_6
; %bb.3:
add x21, x20, #4
mov x0, x19
mov x1, x21
bl _bstp_info_superior
cbz w0, LBB0_7
LBB0_4:
Lloh3:
adrp x8, _BSTP_PDU_SUPERIOR@GOTPAGE
Lloh4:
ldr x8, [x8, _BSTP_PDU_SUPERIOR@GOTPAGEOFF]
Lloh5:
ldr w21, [x8]
b LBB0_6
LBB0_5:
add x1, x20, #4
mov x0, x19
bl _bstp_info_cmp
Lloh6:
adrp x8, _INFO_SAME@GOTPAGE
Lloh7:
ldr x8, [x8, _INFO_SAME@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _BSTP_PDU_INFERIORALT@GOTPAGE
Lloh10:
ldr x9, [x9, _BSTP_PDU_INFERIORALT@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
cmp w0, w8
csel w21, w21, w9, gt
LBB0_6:
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
LBB0_7:
mov x0, x19
mov x1, x21
bl _bstp_info_cmp
Lloh12:
adrp x8, _INFO_SAME@GOTPAGE
Lloh13:
ldr x8, [x8, _INFO_SAME@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_13
; %bb.8:
ldr w8, [x19, #16]
ldr w9, [x20, #20]
cmp w8, w9
b.ne LBB0_4
; %bb.9:
ldr w8, [x19, #12]
ldr w9, [x20, #16]
cmp w8, w9
b.ne LBB0_4
; %bb.10:
ldr w8, [x19, #8]
ldr w9, [x20, #12]
cmp w8, w9
b.ne LBB0_4
; %bb.11:
ldr w8, [x19, #4]
ldr w9, [x20, #8]
cmp w8, w9
b.ne LBB0_4
; %bb.12:
Lloh15:
adrp x8, _BSTP_PDU_REPEATED@GOTPAGE
Lloh16:
ldr x8, [x8, _BSTP_PDU_REPEATED@GOTPAGEOFF]
Lloh17:
ldr w21, [x8]
b LBB0_6
LBB0_13:
Lloh18:
adrp x8, _BSTP_PDU_INFERIOR@GOTPAGE
Lloh19:
ldr x8, [x8, _BSTP_PDU_INFERIOR@GOTPAGEOFF]
Lloh20:
ldr w21, [x8]
b LBB0_6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _BSTP_PDU_OTHER,4,2 ; @BSTP_PDU_OTHER
.comm _BSTP_PDU_SUPERIOR,4,2 ; @BSTP_PDU_SUPERIOR
.comm _INFO_SAME,4,2 ; @INFO_SAME
.comm _BSTP_PDU_REPEATED,4,2 ; @BSTP_PDU_REPEATED
.comm _BSTP_PDU_INFERIOR,4,2 ; @BSTP_PDU_INFERIOR
.comm _BSTP_PDU_INFERIORALT,4,2 ; @BSTP_PDU_INFERIORALT
.no_dead_strip _bstp_pdu_rcvtype
.subsections_via_symbols
| AnghaBench/freebsd/sys/net/extr_bridgestp.c_bstp_pdu_rcvtype.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function unixFetch
_unixFetch: ## @unixFetch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rcx)
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.no_dead_strip _unixFetch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function unixFetch
_unixFetch: ; @unixFetch
.cfi_startproc
; %bb.0:
str xzr, [x3]
Lloh0:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.no_dead_strip _unixFetch
.subsections_via_symbols
| AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unixFetch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function g_part_bsd_probe
_g_part_bsd_probe: ## @g_part_bsd_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rdi
movq (%rsi), %rcx
movl (%rcx), %esi
movq _ENOSPC@GOTPCREL(%rip), %rbx
cmpl $4, %esi
jb LBB0_8
## %bb.1:
movq _BBSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, 4(%rcx)
jl LBB0_8
## %bb.2:
cltd
idivl %esi
testl %edx, %edx
je LBB0_4
## %bb.3:
movq _ENOTBLK@GOTPCREL(%rip), %rbx
LBB0_8:
movl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
leaq -28(%rbp), %rbx
movl %esi, %edx
movq %rbx, %rcx
callq _g_read_data
testq %rax, %rax
je LBB0_8
## %bb.5:
movq %rax, %r14
movq %rax, %rdi
callq _le32dec
movq %rax, %r15
movq %r14, %rdi
addq $528, %rdi ## imm = 0x210
callq _le32dec
movq %rax, %rbx
movq %r14, %rdi
callq _g_free
movq _DISKMAGIC@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorq %rax, %r15
xorq %rax, %rbx
orq %r15, %rbx
jne LBB0_6
## %bb.7:
movq _G_PART_PROBE_PRI_HIGH@GOTPCREL(%rip), %rbx
jmp LBB0_8
LBB0_6:
movq _ENXIO@GOTPCREL(%rip), %rbx
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _BBSIZE,4,2 ## @BBSIZE
.comm _ENOSPC,4,2 ## @ENOSPC
.comm _ENOTBLK,4,2 ## @ENOTBLK
.comm _DISKMAGIC,8,3 ## @DISKMAGIC
.comm _G_PART_PROBE_PRI_HIGH,4,2 ## @G_PART_PROBE_PRI_HIGH
.comm _ENXIO,4,2 ## @ENXIO
.no_dead_strip _g_part_bsd_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function g_part_bsd_probe
_g_part_bsd_probe: ; @g_part_bsd_probe
.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 x8, [x1]
ldr w2, [x8]
cmp w2, #4
b.lo LBB0_2
; %bb.1:
ldr w9, [x8, #4]
Lloh0:
adrp x8, _BBSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _BBSIZE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w9, w8
b.ge LBB0_4
LBB0_2:
Lloh3:
adrp x20, _ENOSPC@GOTPAGE
Lloh4:
ldr x20, [x20, _ENOSPC@GOTPAGEOFF]
LBB0_3:
ldr w0, [x20]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_4:
sdiv w9, w8, w2
msub w8, w9, w2, w8
cbz w8, LBB0_6
; %bb.5:
Lloh5:
adrp x20, _ENOTBLK@GOTPAGE
Lloh6:
ldr x20, [x20, _ENOTBLK@GOTPAGEOFF]
b LBB0_3
LBB0_6:
add x20, sp, #12
add x3, sp, #12
mov x0, x1
mov x1, x2
bl _g_read_data
cbz x0, LBB0_3
; %bb.7:
mov x19, x0
bl _le32dec
mov x20, x0
add x0, x19, #528
bl _le32dec
mov x21, x0
mov x0, x19
bl _g_free
Lloh7:
adrp x8, _DISKMAGIC@GOTPAGE
Lloh8:
ldr x8, [x8, _DISKMAGIC@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
cmp x21, x8
ccmp x20, x8, #0, eq
Lloh10:
adrp x8, _ENXIO@GOTPAGE
Lloh11:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh12:
adrp x9, _G_PART_PROBE_PRI_HIGH@GOTPAGE
Lloh13:
ldr x9, [x9, _G_PART_PROBE_PRI_HIGH@GOTPAGEOFF]
csel x20, x9, x8, eq
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _BBSIZE,4,2 ; @BBSIZE
.comm _ENOSPC,4,2 ; @ENOSPC
.comm _ENOTBLK,4,2 ; @ENOTBLK
.comm _DISKMAGIC,8,3 ; @DISKMAGIC
.comm _G_PART_PROBE_PRI_HIGH,4,2 ; @G_PART_PROBE_PRI_HIGH
.comm _ENXIO,4,2 ; @ENXIO
.no_dead_strip _g_part_bsd_probe
.subsections_via_symbols
| AnghaBench/freebsd/sys/geom/part/extr_g_part_bsd.c_g_part_bsd_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ginStepRight ## -- Begin function ginStepRight
.p2align 4, 0x90
_ginStepRight: ## @ginStepRight
.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
movl %esi, %r12d
movl %edi, %ebx
callq _BufferGetPage
movl %eax, %r14d
movl %eax, %edi
callq _GinPageIsLeaf
movl %eax, %r15d
movl %r14d, %edi
callq _GinPageIsData
movl %eax, -44(%rbp) ## 4-byte Spill
movl %r14d, %edi
callq _GinPageGetOpaque
movl (%rax), %esi
movl %r12d, %edi
callq _ReadBuffer
movl %eax, %r12d
movl %eax, %edi
movl %r13d, %esi
callq _LockBuffer
movl %ebx, %edi
callq _UnlockReleaseBuffer
movl %r12d, %edi
callq _BufferGetPage
movl %eax, %ebx
movl %eax, %edi
callq _GinPageIsLeaf
cmpl %eax, %r15d
jne LBB0_2
## %bb.1:
movl %ebx, %edi
callq _GinPageIsData
cmpl %eax, -44(%rbp) ## 4-byte Folded Reload
je LBB0_3
LBB0_2:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _elog
LBB0_3:
movl %ebx, %edi
callq _GinPageIsDeleted
testq %rax, %rax
je LBB0_5
## %bb.4:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq _elog
LBB0_5:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
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 "right sibling of GIN page is of different type"
L_.str.1: ## @.str.1
.asciz "right sibling of GIN page was deleted"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ginStepRight ; -- Begin function ginStepRight
.p2align 2
_ginStepRight: ; @ginStepRight
.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 x21, x2
mov x19, x1
mov x22, x0
bl _BufferGetPage
mov x23, x0
bl _GinPageIsLeaf
mov x24, x0
mov x0, x23
bl _GinPageIsData
mov x20, x0
mov x0, x23
bl _GinPageGetOpaque
ldr w1, [x0]
mov x0, x19
bl _ReadBuffer
mov x19, x0
mov x1, x21
bl _LockBuffer
mov x0, x22
bl _UnlockReleaseBuffer
mov x0, x19
bl _BufferGetPage
mov x21, x0
bl _GinPageIsLeaf
Lloh0:
adrp x22, _ERROR@GOTPAGE
Lloh1:
ldr x22, [x22, _ERROR@GOTPAGEOFF]
cmp w24, w0
b.ne LBB0_2
; %bb.1:
mov x0, x21
bl _GinPageIsData
cmp w20, w0
b.eq LBB0_3
LBB0_2:
ldr w0, [x22]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _elog
LBB0_3:
mov x0, x21
bl _GinPageIsDeleted
cbz x0, LBB0_5
; %bb.4:
ldr w0, [x22]
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
bl _elog
LBB0_5:
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
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ERROR,4,2 ; @ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "right sibling of GIN page is of different type"
l_.str.1: ; @.str.1
.asciz "right sibling of GIN page was deleted"
.subsections_via_symbols
| AnghaBench/postgres/src/backend/access/gin/extr_ginbtree.c_ginStepRight.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wil_p2p_discovery_timer_fn
_wil_p2p_discovery_timer_fn: ## @wil_p2p_discovery_timer_fn
.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 _p2p@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rdi, %rsi
callq _from_timer
movq %rax, %rbx
movq %rax, %rdi
callq _vif_to_wil
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _wil_dbg_misc
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _schedule_work ## TAILCALL
.cfi_endproc
## -- End function
.comm _p2p,4,2 ## @p2p
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "p2p_discovery_timer_fn\n"
.comm _vif,8,3 ## @vif
.no_dead_strip _wil_p2p_discovery_timer_fn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wil_p2p_discovery_timer_fn
_wil_p2p_discovery_timer_fn: ; @wil_p2p_discovery_timer_fn
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _p2p@GOTPAGE
Lloh1:
ldr x8, [x8, _p2p@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x1, x0
bl _from_timer
mov x19, x0
bl _vif_to_wil
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wil_dbg_misc
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _schedule_work
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _p2p,4,2 ; @p2p
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "p2p_discovery_timer_fn\n"
.comm _vif,8,3 ; @vif
.no_dead_strip _wil_p2p_discovery_timer_fn
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_netdev.c_wil_p2p_discovery_timer_fn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -24
movq $0, -16(%rbp)
leaq L_str(%rip), %rdi
callq _puts
movl $20, %edi
callq _malloc
movq %rax, -40(%rbp)
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
LBB0_2:
movl $20, %edi
callq _malloc
movq %rax, -32(%rbp)
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
LBB0_4:
leaq -16(%rbp), %rbx
movl $20, %edi
callq _malloc
movq %rax, -24(%rbp)
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
LBB0_6:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
leaq -12(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.11(%rip), %rdi
callq _puts
movq -40(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -32(%rbp), %rsi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -24(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -16(%rbp), %esi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
movq -32(%rbp), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.7:
callq _free
movq $0, -32(%rbp)
LBB0_8:
movq -24(%rbp), %rdi
testq %rdi, %rdi
je LBB0_10
## %bb.9:
callq _free
movq $0, -24(%rbp)
LBB0_10:
leaq L_.str.10(%rip), %rdi
callq _system
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "%f"
L_.str.5: ## @.str.5
.asciz "First Name:%s\n"
L_.str.6: ## @.str.6
.asciz "Last Name:%s\n"
L_.str.7: ## @.str.7
.asciz "Email Id:%s\n"
L_.str.8: ## @.str.8
.asciz "Exp in Years:%d\n"
L_.str.9: ## @.str.9
.asciz "Avg Sal:%f\n"
L_.str.10: ## @.str.10
.asciz "PAUSE"
L_str: ## @str
.asciz "enter Profile details"
L_str.11: ## @str.11
.asciz "Linked In Profile1 Details"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
add x19, sp, #16
str xzr, [sp, #40]
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #20
bl _malloc
str x0, [sp, #16]
cbz x0, LBB0_2
; %bb.1:
str x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
LBB0_2:
add x19, x19, #24
mov w0, #20
bl _malloc
str x0, [sp, #24]
cbz x0, LBB0_4
; %bb.3:
str x0, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
LBB0_4:
mov w0, #20
bl _malloc
str x0, [sp, #32]
cbz x0, LBB0_6
; %bb.5:
str x0, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
LBB0_6:
str x19, [sp]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
add x8, sp, #16
add x8, x8, #28
str x8, [sp]
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
Lloh12:
adrp x0, l_str.11@PAGE
Lloh13:
add x0, x0, l_str.11@PAGEOFF
bl _puts
ldr x8, [sp, #16]
str x8, [sp]
Lloh14:
adrp x0, l_.str.5@PAGE
Lloh15:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x8, [sp, #24]
str x8, [sp]
Lloh16:
adrp x0, l_.str.6@PAGE
Lloh17:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x8, [sp, #32]
str x8, [sp]
Lloh18:
adrp x0, l_.str.7@PAGE
Lloh19:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldr w8, [sp, #40]
str x8, [sp]
Lloh20:
adrp x0, l_.str.8@PAGE
Lloh21:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr s0, [sp, #44]
fcvt d0, s0
str d0, [sp]
Lloh22:
adrp x0, l_.str.9@PAGE
Lloh23:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldr x0, [sp, #24]
cbz x0, LBB0_8
; %bb.7:
bl _free
str xzr, [sp, #24]
LBB0_8:
ldr x0, [sp, #32]
cbz x0, LBB0_10
; %bb.9:
bl _free
str xzr, [sp, #32]
LBB0_10:
Lloh24:
adrp x0, l_.str.10@PAGE
Lloh25:
add x0, x0, l_.str.10@PAGEOFF
bl _system
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "%f"
l_.str.5: ; @.str.5
.asciz "First Name:%s\n"
l_.str.6: ; @.str.6
.asciz "Last Name:%s\n"
l_.str.7: ; @.str.7
.asciz "Email Id:%s\n"
l_.str.8: ; @.str.8
.asciz "Exp in Years:%d\n"
l_.str.9: ; @.str.9
.asciz "Avg Sal:%f\n"
l_.str.10: ; @.str.10
.asciz "PAUSE"
l_str: ; @str
.asciz "enter Profile details"
l_str.11: ; @str.11
.asciz "Linked In Profile1 Details"
.subsections_via_symbols
| the_stack_data/220455734.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _do_text_output_multiline ## -- Begin function do_text_output_multiline
.p2align 4, 0x90
_do_text_output_multiline: ## @do_text_output_multiline
.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 $0, -48(%rbp)
cmpb $0, (%rsi)
je LBB0_6
## %bb.1:
movq %rsi, %r12
movq %rdi, %rbx
leaq -44(%rbp), %r14
leaq -48(%rbp), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _strlen
movl %eax, %esi
movslq %eax, %r13
addq %r12, %r13
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _cstring_to_text_with_len
movl %eax, %edi
callq _PointerGetDatum
movl %eax, -44(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq _do_tup_output
movl -44(%rbp), %edi
callq _DatumGetPointer
movl %eax, %edi
callq _pfree
cmpb $0, (%r13)
movq %r13, %r12
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
movl %r13d, %esi
subl %r12d, %esi
incq %r13
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _do_text_output_multiline ; -- Begin function do_text_output_multiline
.p2align 2
_do_text_output_multiline: ; @do_text_output_multiline
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str wzr, [sp, #8]
ldrb w8, [x1]
cbz w8, LBB0_6
; %bb.1:
mov x20, x1
mov x19, x0
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _strlen
mov x1, x0
add x21, x20, w0, sxtw
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x20
bl _cstring_to_text_with_len
bl _PointerGetDatum
str w0, [sp, #12]
add x1, sp, #12
add x2, sp, #8
mov x0, x19
bl _do_tup_output
ldr w0, [sp, #12]
bl _DatumGetPointer
bl _pfree
ldrb w8, [x21]
mov x20, x21
cbz w8, LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov w1, #10 ; =0xa
bl _strchr
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
sub w1, w0, w20
add x21, x0, #1
b LBB0_3
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_159987.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_cs4236_put_master_digital
_snd_cs4236_put_master_digital: ## @snd_cs4236_put_master_digital
.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
callq _snd_kcontrol_chip
movq %rax, %r14
movq (%rbx), %rax
movl (%rax), %edi
andl $127, %edi
callq _snd_cs4236_mixer_master_digital_invert_volume
movl %eax, %r12d
movq (%rbx), %rax
movl 4(%rax), %edi
andl $127, %edi
callq _snd_cs4236_mixer_master_digital_invert_volume
movl %eax, %r15d
leaq 8(%r14), %rdi
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _spin_lock_irqsave
movq (%r14), %rbx
movq _CS4236_LEFT_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CS4236_REG
movl (%rbx,%rax,4), %r13d
andl $-128, %r13d
orl %r12d, %r13d
movq (%r14), %r12
movq _CS4236_RIGHT_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CS4236_REG
movl (%r12,%rax,4), %ebx
andl $-128, %ebx
orl %r15d, %ebx
movzwl %r13w, %r15d
movq (%r14), %r13
movq _CS4236_LEFT_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CS4236_REG
movl $1, %r12d
movzwl %bx, %ebx
cmpl %r15d, (%r13,%rax,4)
jne LBB0_2
## %bb.1:
movq (%r14), %r13
movq _CS4236_RIGHT_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CS4236_REG
xorl %r12d, %r12d
cmpl %ebx, (%r13,%rax,4)
setne %r12b
LBB0_2:
movq _CS4236_LEFT_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl %r15d, %edx
callq _snd_cs4236_ext_out
movq _CS4236_RIGHT_MASTER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl %ebx, %edx
callq _snd_cs4236_ext_out
movq -48(%rbp), %rdi ## 8-byte Reload
callq _spin_unlock_irqrestore
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CS4236_LEFT_MASTER,4,2 ## @CS4236_LEFT_MASTER
.comm _CS4236_RIGHT_MASTER,4,2 ## @CS4236_RIGHT_MASTER
.no_dead_strip _snd_cs4236_put_master_digital
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_cs4236_put_master_digital
_snd_cs4236_put_master_digital: ; @snd_cs4236_put_master_digital
.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 x20, x1
bl _snd_kcontrol_chip
mov x19, x0
ldr x8, [x20]
ldr w8, [x8]
and w0, w8, #0x7f
bl _snd_cs4236_mixer_master_digital_invert_volume
mov x21, x0
ldr x8, [x20]
ldr w8, [x8, #4]
and w0, w8, #0x7f
bl _snd_cs4236_mixer_master_digital_invert_volume
mov x22, x0
add x20, x19, #8
mov x0, x20
bl _spin_lock_irqsave
ldr x24, [x19]
Lloh0:
adrp x23, _CS4236_LEFT_MASTER@GOTPAGE
Lloh1:
ldr x23, [x23, _CS4236_LEFT_MASTER@GOTPAGEOFF]
ldr w0, [x23]
bl _CS4236_REG
ldr w8, [x24, x0, lsl #2]
and w8, w8, #0xffffff80
orr w25, w8, w21
ldr x21, [x19]
Lloh2:
adrp x24, _CS4236_RIGHT_MASTER@GOTPAGE
Lloh3:
ldr x24, [x24, _CS4236_RIGHT_MASTER@GOTPAGEOFF]
ldr w0, [x24]
bl _CS4236_REG
ldr w8, [x21, x0, lsl #2]
and w8, w8, #0xffffff80
orr w22, w8, w22
ldr x21, [x19]
ldr w0, [x23]
bl _CS4236_REG
ldr w8, [x21, x0, lsl #2]
cmp w8, w25, uxth
b.ne LBB0_2
; %bb.1:
ldr x21, [x19]
ldr w0, [x24]
bl _CS4236_REG
ldr w8, [x21, x0, lsl #2]
cmp w8, w22, uxth
cset w21, ne
b LBB0_3
LBB0_2:
mov w21, #1
LBB0_3:
ldr w1, [x23]
and w2, w25, #0xffff
mov x0, x19
bl _snd_cs4236_ext_out
ldr w1, [x24]
and w2, w22, #0xffff
mov x0, x19
bl _snd_cs4236_ext_out
mov x0, x20
bl _spin_unlock_irqrestore
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _CS4236_LEFT_MASTER,4,2 ; @CS4236_LEFT_MASTER
.comm _CS4236_RIGHT_MASTER,4,2 ; @CS4236_RIGHT_MASTER
.no_dead_strip _snd_cs4236_put_master_digital
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/isa/cs423x/extr_cs4236_lib.c_snd_cs4236_put_master_digital.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -48(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -48(%rbp)
jle LBB0_6
## %bb.1:
leaq L_.str(%rip), %r14
leaq -44(%rbp), %r15
leaq L_.str.1(%rip), %r12
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
incl %r13d
cmpl -48(%rbp), %r13d
jge LBB0_6
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -44(%rbp)
jle LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl $500, %ebx ## imm = 0x1F4
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
decl %ebx
movl $500, %eax ## imm = 0x1F4
subl -44(%rbp), %eax
cmpl %eax, %ebx
jg LBB0_4
jmp LBB0_5
LBB0_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov w21, #0
add x22, sp, #8
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov w23, #500
Lloh4:
adrp x20, l_.str.1@PAGE
Lloh5:
add x20, x20, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
add w21, w21, #1
ldr w8, [sp, #12]
cmp w21, w8
b.ge LBB0_6
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
str x22, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #8]
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w24, #500
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str x24, [sp]
mov x0, x20
bl _printf
sub w24, w24, #1
ldr w8, [sp, #8]
sub w8, w23, w8
cmp w24, w8
b.gt LBB0_5
b LBB0_2
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d "
.subsections_via_symbols
| the_stack_data/139195.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _badconv ## -- Begin function badconv
.p2align 4, 0x90
_badconv: ## @badconv
.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, %rdx
leaq L_.str(%rip), %rsi
movl $1, %edi
popq %rbp
jmp _errx ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%%%s: bad conversion character"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _badconv ; -- Begin function badconv
.p2align 2
_badconv: ; @badconv
.cfi_startproc
; %bb.0:
mov x2, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
b _errx
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%%%s: bad conversion character"
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/hexdump/extr_parse.c_badconv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pxa_ata_remove
_pxa_ata_remove: ## @pxa_ata_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _platform_get_drvdata
movq %rax, %rbx
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _dma_release_channel
movq %rbx, %rdi
callq _ata_host_detach
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pxa_ata_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pxa_ata_remove
_pxa_ata_remove: ; @pxa_ata_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _platform_get_drvdata
mov x19, x0
ldr x8, [x0]
ldr x8, [x8]
ldr x8, [x8]
ldr w0, [x8]
bl _dma_release_channel
mov x0, x19
bl _ata_host_detach
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _pxa_ata_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/ata/extr_pata_pxa.c_pxa_ata_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_expected_cf ## -- Begin function get_expected_cf
.p2align 4, 0x90
_get_expected_cf: ## @get_expected_cf
.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
testl %edx, %edx
jle LBB0_3
## %bb.1:
movq %rsi, %r14
movq %rdi, %r12
movl %edx, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movss (%r12,%rbx,8), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 4(%r12,%rbx,8), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
callq _catan
cvtsd2ss %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm1
movss %xmm0, (%r14,%rbx,8)
movss %xmm1, 4(%r14,%rbx,8)
incq %rbx
cmpq %rbx, %r15
jne LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_expected_cd ## -- Begin function get_expected_cd
.p2align 4, 0x90
_get_expected_cd: ## @get_expected_cd
.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
testl %edx, %edx
jle LBB1_3
## %bb.1:
movq %rsi, %r14
movq %rdi, %r12
movl %edx, %r15d
shlq $4, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movsd (%r12,%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%r12,%rbx), %xmm1 ## xmm1 = mem[0],zero
callq _catan
movsd %xmm0, (%r14,%rbx)
movsd %xmm1, 8(%r14,%rbx)
addq $16, %rbx
cmpq %rbx, %r15
jne LBB1_2
LBB1_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_expected_cf ; -- Begin function get_expected_cf
.p2align 2
_get_expected_cf: ; @get_expected_cf
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cmp w2, #1
b.lt LBB0_3
; %bb.1:
mov w19, w2
add x20, x0, #4
add x21, x1, #4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldp s0, s1, [x20, #-4]
fcvt d0, s0
fcvt d1, s1
bl _catan
fcvt s0, d0
fcvt s1, d1
stp s0, s1, [x21, #-4]
add x20, x20, #8
add x21, x21, #8
subs x19, x19, #1
b.ne LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_expected_cd ; -- Begin function get_expected_cd
.p2align 2
_get_expected_cd: ; @get_expected_cd
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cmp w2, #1
b.lt LBB1_3
; %bb.1:
mov w19, w2
add x20, x0, #8
add x21, x1, #8
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldp d0, d1, [x20, #-8]
bl _catan
stp d0, d1, [x21, #-8]
add x20, x20, #16
add x21, x21, #16
subs x19, x19, #1
b.ne LBB1_2
LBB1_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/262408.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ccp_copy_to_from_sb
_ccp_copy_to_from_sb: ## @ccp_copy_to_from_sb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r13d
movq %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
leaq -128(%rbp), %rdi
xorl %esi, %esi
movl $80, %edx
callq _memset
movq %r12, -56(%rbp)
movq %r14, -64(%rbp)
movl $1, -128(%rbp)
testl %r13d, %r13d
je LBB0_2
## %bb.1:
movl $1, -124(%rbp)
movq _CCP_MEMTYPE_SB@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %r15, -80(%rbp)
movq _CCP_MEMTYPE_SYSTEM@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl 4(%rbx), %edx
movl %edx, -100(%rbp)
movl (%rbx), %edx
movl %edx, -104(%rbp)
jmp LBB0_3
LBB0_2:
movq _CCP_MEMTYPE_SYSTEM@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 4(%rbx), %ecx
movl %ecx, -84(%rbp)
movl (%rbx), %ecx
movl %ecx, -88(%rbp)
movq _CCP_MEMTYPE_SB@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %r15, -112(%rbp)
LBB0_3:
movq %rax, -72(%rbp)
movq %rcx, -96(%rbp)
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -120(%rbp)
movq (%r12), %rax
movq (%rax), %rax
movq (%rax), %rax
leaq -128(%rbp), %rdi
callq *(%rax)
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CCP_MEMTYPE_SB,8,3 ## @CCP_MEMTYPE_SB
.comm _CCP_MEMTYPE_SYSTEM,8,3 ## @CCP_MEMTYPE_SYSTEM
.no_dead_strip _ccp_copy_to_from_sb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ccp_copy_to_from_sb
_ccp_copy_to_from_sb: ; @ccp_copy_to_from_sb
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
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
mov x23, x5
mov x19, x4
mov x21, x3
mov x24, x2
mov x22, x1
mov x20, x0
mov x0, sp
mov w1, #0
mov w2, #80
bl _memset
stp x24, x20, [sp, #64]
mov w8, #1
str w8, [sp]
cbz w23, LBB0_2
; %bb.1:
str w8, [sp, #4]
Lloh0:
adrp x8, _CCP_MEMTYPE_SB@GOTPAGE
Lloh1:
ldr x8, [x8, _CCP_MEMTYPE_SB@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x21, [sp, #48]
Lloh3:
adrp x9, _CCP_MEMTYPE_SYSTEM@GOTPAGE
Lloh4:
ldr x9, [x9, _CCP_MEMTYPE_SYSTEM@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr d0, [x22]
str d0, [sp, #24]
b LBB0_3
LBB0_2:
Lloh6:
adrp x8, _CCP_MEMTYPE_SYSTEM@GOTPAGE
Lloh7:
ldr x8, [x8, _CCP_MEMTYPE_SYSTEM@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr d0, [x22]
str d0, [sp, #40]
Lloh9:
adrp x9, _CCP_MEMTYPE_SB@GOTPAGE
Lloh10:
ldr x9, [x9, _CCP_MEMTYPE_SB@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
str x21, [sp, #16]
LBB0_3:
str x8, [sp, #56]
str x9, [sp, #32]
str x19, [sp, #8]
ldr x8, [x20]
ldr x8, [x8]
ldr x8, [x8]
ldr x8, [x8]
mov x0, sp
blr x8
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
add sp, sp, #144
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _CCP_MEMTYPE_SB,8,3 ; @CCP_MEMTYPE_SB
.comm _CCP_MEMTYPE_SYSTEM,8,3 ; @CCP_MEMTYPE_SYSTEM
.no_dead_strip _ccp_copy_to_from_sb
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/ccp/extr_ccp-ops.c_ccp_copy_to_from_sb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _killRDBChild ## -- Begin function killRDBChild
.p2align 4, 0x90
_killRDBChild: ## @killRDBChild
.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 _server@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq _SIGUSR1@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kill
movl (%rbx), %edi
callq _rdbRemoveTempFile
xorl %eax, %eax
callq _closeChildInfoPipe
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _updateDictResizePolicy ## TAILCALL
.cfi_endproc
## -- End function
.comm _server,4,2 ## @server
.comm _SIGUSR1,4,2 ## @SIGUSR1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _killRDBChild ; -- Begin function killRDBChild
.p2align 2
_killRDBChild: ; @killRDBChild
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _server@GOTPAGE
Lloh1:
ldr x19, [x19, _server@GOTPAGEOFF]
ldr w0, [x19]
Lloh2:
adrp x8, _SIGUSR1@GOTPAGE
Lloh3:
ldr x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
bl _kill
ldr w0, [x19]
bl _rdbRemoveTempFile
bl _closeChildInfoPipe
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _updateDictResizePolicy
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _server,4,2 ; @server
.comm _SIGUSR1,4,2 ; @SIGUSR1
.subsections_via_symbols
| AnghaBench/redis/src/extr_rdb.c_killRDBChild.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function normalize_samples
_normalize_samples: ## @normalize_samples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl (%rdi), %edi
movq _AC3_WINDOW_SIZE@GOTPCREL(%rip), %r15
movl (%r15), %esi
callq *8(%r14)
movl %eax, %edi
callq _av_log2
movl %eax, %ebx
cmpl $13, %eax
jg LBB0_2
## %bb.1:
movl $14, %edx
subl %ebx, %edx
movl (%r14), %edi
movl (%r15), %esi
callq *16(%r14)
LBB0_2:
movl $20, %eax
subl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AC3_WINDOW_SIZE,4,2 ## @AC3_WINDOW_SIZE
.no_dead_strip _normalize_samples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function normalize_samples
_normalize_samples: ; @normalize_samples
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x8, [x0, #8]
ldr w0, [x0]
Lloh0:
adrp x21, _AC3_WINDOW_SIZE@GOTPAGE
Lloh1:
ldr x21, [x21, _AC3_WINDOW_SIZE@GOTPAGEOFF]
ldr w1, [x21]
blr x8
bl _av_log2
mov x20, x0
cmp w0, #13
b.gt LBB0_2
; %bb.1:
mov w8, #14
sub w2, w8, w20
ldr x8, [x19, #16]
ldr w0, [x19]
ldr w1, [x21]
blr x8
LBB0_2:
mov w8, #20
sub w0, w8, w20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _AC3_WINDOW_SIZE,4,2 ; @AC3_WINDOW_SIZE
.no_dead_strip _normalize_samples
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_ac3enc_fixed.c_normalize_samples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function buffer_filled
_buffer_filled: ## @buffer_filled
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rdi, %r15
leaq 8(%rdx), %r14
movq 16(%rdx), %r12
movl (%rdx), %edx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _au0828_isocdbg
movq (%r12), %rax
movq _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rcx
xorl %edx, %edx
cmpq (%rcx), %rax
sete %dl
movslq (%r15,%rdx,4), %rax
leal 1(%rax), %ecx
movl %ecx, (%r15,%rdx,4)
movq %rax, 32(%rbx)
movq _V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
xorl %eax, %eax
callq _ktime_get_ns
movl %eax, 8(%rbx)
movq _VB2_BUF_STATE_DONE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _vb2_buffer_done ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[%p/%d] wakeup\n"
.comm _V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
.comm _V4L2_FIELD_INTERLACED,4,2 ## @V4L2_FIELD_INTERLACED
.comm _VB2_BUF_STATE_DONE,4,2 ## @VB2_BUF_STATE_DONE
.no_dead_strip _buffer_filled
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function buffer_filled
_buffer_filled: ; @buffer_filled
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
ldr x21, [x2, #16]
ldr w2, [x2]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _au0828_isocdbg
ldr x8, [x21]
Lloh2:
adrp x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh3:
ldr x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
cset w8, eq
lsl x8, x8, #2
ldrsw x9, [x20, x8]
add w10, w9, #1
str w10, [x20, x8]
str x9, [x19, #32]
Lloh5:
adrp x8, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh6:
ldr x8, [x8, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [x19, #24]
bl _ktime_get_ns
str w0, [x19, #8]!
Lloh8:
adrp x8, _VB2_BUF_STATE_DONE@GOTPAGE
Lloh9:
ldr x8, [x8, _VB2_BUF_STATE_DONE@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _vb2_buffer_done
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[%p/%d] wakeup\n"
.comm _V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
.comm _V4L2_FIELD_INTERLACED,4,2 ; @V4L2_FIELD_INTERLACED
.comm _VB2_BUF_STATE_DONE,4,2 ; @VB2_BUF_STATE_DONE
.no_dead_strip _buffer_filled
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/au0828/extr_au0828-video.c_buffer_filled.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fetch_config_from_gitmodules ## -- Begin function fetch_config_from_gitmodules
.p2align 4, 0x90
_fetch_config_from_gitmodules: ## @fetch_config_from_gitmodules
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -8(%rbp)
movq _gitmodules_fetch_config@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _the_repository@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -16(%rbp), %rdx
callq _config_from_gitmodules
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gitmodules_fetch_config,4,2 ## @gitmodules_fetch_config
.comm _the_repository,4,2 ## @the_repository
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fetch_config_from_gitmodules ; -- Begin function fetch_config_from_gitmodules
.p2align 2
_fetch_config_from_gitmodules: ; @fetch_config_from_gitmodules
.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
stp x0, x1, [sp]
Lloh0:
adrp x8, _gitmodules_fetch_config@GOTPAGE
Lloh1:
ldr x8, [x8, _gitmodules_fetch_config@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _the_repository@GOTPAGE
Lloh4:
ldr x8, [x8, _the_repository@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x2, sp
bl _config_from_gitmodules
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 _gitmodules_fetch_config,4,2 ; @gitmodules_fetch_config
.comm _the_repository,4,2 ; @the_repository
.subsections_via_symbols
| AnghaBench/git/extr_submodule-config.c_fetch_config_from_gitmodules.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function v4l2_fwnode_endpoint_parse_parallel_bus
_v4l2_fwnode_endpoint_parse_parallel_bus: ## @v4l2_fwnode_endpoint_parse_parallel_bus
.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 %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %eax
andl $-2, %eax
xorl %ebx, %ebx
cmpl $128, %eax
jne LBB0_2
## %bb.1:
movl 8(%r15), %ebx
LBB0_2:
leaq L_.str(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_4
## %bb.3:
movq _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_4:
leaq L_.str.4(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_6
## %bb.5:
movq _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_6:
leaq L_.str.6(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_8
## %bb.7:
movq _V4L2_MBUS_FIELD_EVEN_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_FIELD_EVEN_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_8:
leaq L_.str.8(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_10
## %bb.9:
movq _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_10:
leaq L_.str.10(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_12
## %bb.11:
movq _V4L2_MBUS_DATA_ACTIVE_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_DATA_ACTIVE_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_12:
leaq L_.str.12(%rip), %rsi
movq %r12, %rdi
callq _fwnode_property_present
testq %rax, %rax
je LBB0_13
## %bb.14:
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq _V4L2_MBUS_SLAVE@GOTPCREL(%rip), %rax
movq _V4L2_MBUS_MASTER@GOTPCREL(%rip), %rcx
jmp LBB0_15
LBB0_13:
movq _V4L2_MBUS_MASTER@GOTPCREL(%rip), %rax
movq _V4L2_MBUS_SLAVE@GOTPCREL(%rip), %rcx
LBB0_15:
movl (%rcx), %ecx
notl %ecx
andl %ecx, %ebx
orl (%rax), %ebx
leaq L_.str.14(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_17
## %bb.16:
movq -40(%rbp), %rsi
movq %rsi, 16(%r15)
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_17:
leaq L_.str.16(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_19
## %bb.18:
movq -40(%rbp), %rsi
movq %rsi, 24(%r15)
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_19:
leaq L_.str.18(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
jne LBB0_21
## %bb.20:
movq _V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
LBB0_21:
leaq L_.str.20(%rip), %rsi
leaq -40(%rbp), %rdx
movq %r12, %rdi
callq _fwnode_property_read_u32
testl %eax, %eax
je LBB0_22
## %bb.23:
cmpl $128, %r14d
je LBB0_28
LBB0_24:
cmpl $129, %r14d
jne LBB0_25
## %bb.29:
movl $129, (%r15)
movq _PARALLEL_MBUS_FLAGS@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, %ebx
jmp LBB0_30
LBB0_22:
movq _V4L2_MBUS_DATA_ENABLE_HIGH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _V4L2_MBUS_DATA_ENABLE_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %edx
andl %edx, %ebx
cmpq $0, -40(%rbp)
cmovel %ecx, %eax
leaq L_.str.3(%rip), %rcx
leaq L_.str.2(%rip), %rsi
cmoveq %rcx, %rsi
orl %eax, %ebx
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
cmpl $128, %r14d
jne LBB0_24
LBB0_28:
movl $128, (%r15)
LBB0_30:
movl %ebx, 8(%r15)
jmp LBB0_31
LBB0_25:
movl %ebx, 8(%r15)
movq _PARALLEL_MBUS_FLAGS@GOTPCREL(%rip), %rax
testl %ebx, (%rax)
je LBB0_27
## %bb.26:
movl $128, (%r15)
jmp LBB0_31
LBB0_27:
movl $129, (%r15)
LBB0_31:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hsync-active"
.comm _V4L2_MBUS_HSYNC_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_HSYNC_ACTIVE_HIGH
.comm _V4L2_MBUS_HSYNC_ACTIVE_LOW,4,2 ## @V4L2_MBUS_HSYNC_ACTIVE_LOW
L_.str.1: ## @.str.1
.asciz "hsync-active %s\n"
L_.str.2: ## @.str.2
.asciz "high"
L_.str.3: ## @.str.3
.asciz "low"
L_.str.4: ## @.str.4
.asciz "vsync-active"
.comm _V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_VSYNC_ACTIVE_HIGH
.comm _V4L2_MBUS_VSYNC_ACTIVE_LOW,4,2 ## @V4L2_MBUS_VSYNC_ACTIVE_LOW
L_.str.5: ## @.str.5
.asciz "vsync-active %s\n"
L_.str.6: ## @.str.6
.asciz "field-even-active"
.comm _V4L2_MBUS_FIELD_EVEN_HIGH,4,2 ## @V4L2_MBUS_FIELD_EVEN_HIGH
.comm _V4L2_MBUS_FIELD_EVEN_LOW,4,2 ## @V4L2_MBUS_FIELD_EVEN_LOW
L_.str.7: ## @.str.7
.asciz "field-even-active %s\n"
L_.str.8: ## @.str.8
.asciz "pclk-sample"
.comm _V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_RISING
.comm _V4L2_MBUS_PCLK_SAMPLE_FALLING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_FALLING
L_.str.9: ## @.str.9
.asciz "pclk-sample %s\n"
L_.str.10: ## @.str.10
.asciz "data-active"
.comm _V4L2_MBUS_DATA_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_DATA_ACTIVE_HIGH
.comm _V4L2_MBUS_DATA_ACTIVE_LOW,4,2 ## @V4L2_MBUS_DATA_ACTIVE_LOW
L_.str.11: ## @.str.11
.asciz "data-active %s\n"
L_.str.12: ## @.str.12
.asciz "slave-mode"
L_.str.13: ## @.str.13
.asciz "slave mode\n"
.comm _V4L2_MBUS_MASTER,4,2 ## @V4L2_MBUS_MASTER
.comm _V4L2_MBUS_SLAVE,4,2 ## @V4L2_MBUS_SLAVE
L_.str.14: ## @.str.14
.asciz "bus-width"
L_.str.15: ## @.str.15
.asciz "bus-width %u\n"
L_.str.16: ## @.str.16
.asciz "data-shift"
L_.str.17: ## @.str.17
.asciz "data-shift %u\n"
L_.str.18: ## @.str.18
.asciz "sync-on-green-active"
.comm _V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH
.comm _V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW,4,2 ## @V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW
L_.str.19: ## @.str.19
.asciz "sync-on-green-active %s\n"
L_.str.20: ## @.str.20
.asciz "data-enable-active"
.comm _V4L2_MBUS_DATA_ENABLE_HIGH,4,2 ## @V4L2_MBUS_DATA_ENABLE_HIGH
.comm _V4L2_MBUS_DATA_ENABLE_LOW,4,2 ## @V4L2_MBUS_DATA_ENABLE_LOW
L_.str.21: ## @.str.21
.asciz "data-enable-active %s\n"
.comm _PARALLEL_MBUS_FLAGS,4,2 ## @PARALLEL_MBUS_FLAGS
.no_dead_strip _v4l2_fwnode_endpoint_parse_parallel_bus
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function v4l2_fwnode_endpoint_parse_parallel_bus
_v4l2_fwnode_endpoint_parse_parallel_bus: ; @v4l2_fwnode_endpoint_parse_parallel_bus
.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, x2
mov x19, x1
mov x21, x0
and w8, w2, #0xfffffffe
cmp w8, #128
b.ne LBB0_2
; %bb.1:
ldr w22, [x19, #8]
b LBB0_3
LBB0_2:
mov w22, #0
LBB0_3:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_5
; %bb.4:
Lloh2:
adrp x8, _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPAGE
Lloh3:
ldr x8, [x8, _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGE
Lloh6:
ldr x9, [x9, _V4L2_MBUS_HSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh8:
adrp x12, l_.str.2@PAGE
Lloh9:
add x12, x12, l_.str.2@PAGEOFF
Lloh10:
adrp x13, l_.str.3@PAGE
Lloh11:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_debug
LBB0_5:
Lloh14:
adrp x1, l_.str.4@PAGE
Lloh15:
add x1, x1, l_.str.4@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_7
; %bb.6:
Lloh16:
adrp x8, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGE
Lloh17:
ldr x8, [x8, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
Lloh19:
adrp x9, _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPAGE
Lloh20:
ldr x9, [x9, _V4L2_MBUS_VSYNC_ACTIVE_LOW@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh22:
adrp x12, l_.str.2@PAGE
Lloh23:
add x12, x12, l_.str.2@PAGEOFF
Lloh24:
adrp x13, l_.str.3@PAGE
Lloh25:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh26:
adrp x0, l_.str.5@PAGE
Lloh27:
add x0, x0, l_.str.5@PAGEOFF
bl _pr_debug
LBB0_7:
Lloh28:
adrp x1, l_.str.6@PAGE
Lloh29:
add x1, x1, l_.str.6@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_9
; %bb.8:
Lloh30:
adrp x8, _V4L2_MBUS_FIELD_EVEN_HIGH@GOTPAGE
Lloh31:
ldr x8, [x8, _V4L2_MBUS_FIELD_EVEN_HIGH@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
Lloh33:
adrp x9, _V4L2_MBUS_FIELD_EVEN_LOW@GOTPAGE
Lloh34:
ldr x9, [x9, _V4L2_MBUS_FIELD_EVEN_LOW@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh36:
adrp x12, l_.str.2@PAGE
Lloh37:
add x12, x12, l_.str.2@PAGEOFF
Lloh38:
adrp x13, l_.str.3@PAGE
Lloh39:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh40:
adrp x0, l_.str.7@PAGE
Lloh41:
add x0, x0, l_.str.7@PAGEOFF
bl _pr_debug
LBB0_9:
Lloh42:
adrp x1, l_.str.8@PAGE
Lloh43:
add x1, x1, l_.str.8@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_11
; %bb.10:
Lloh44:
adrp x8, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGE
Lloh45:
ldr x8, [x8, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh46:
ldr w8, [x8]
Lloh47:
adrp x9, _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPAGE
Lloh48:
ldr x9, [x9, _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPAGEOFF]
Lloh49:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh50:
adrp x12, l_.str.2@PAGE
Lloh51:
add x12, x12, l_.str.2@PAGEOFF
Lloh52:
adrp x13, l_.str.3@PAGE
Lloh53:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh54:
adrp x0, l_.str.9@PAGE
Lloh55:
add x0, x0, l_.str.9@PAGEOFF
bl _pr_debug
LBB0_11:
Lloh56:
adrp x1, l_.str.10@PAGE
Lloh57:
add x1, x1, l_.str.10@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_13
; %bb.12:
Lloh58:
adrp x8, _V4L2_MBUS_DATA_ACTIVE_HIGH@GOTPAGE
Lloh59:
ldr x8, [x8, _V4L2_MBUS_DATA_ACTIVE_HIGH@GOTPAGEOFF]
Lloh60:
ldr w8, [x8]
Lloh61:
adrp x9, _V4L2_MBUS_DATA_ACTIVE_LOW@GOTPAGE
Lloh62:
ldr x9, [x9, _V4L2_MBUS_DATA_ACTIVE_LOW@GOTPAGEOFF]
Lloh63:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh64:
adrp x12, l_.str.2@PAGE
Lloh65:
add x12, x12, l_.str.2@PAGEOFF
Lloh66:
adrp x13, l_.str.3@PAGE
Lloh67:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh68:
adrp x0, l_.str.11@PAGE
Lloh69:
add x0, x0, l_.str.11@PAGEOFF
bl _pr_debug
LBB0_13:
Lloh70:
adrp x1, l_.str.12@PAGE
Lloh71:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x21
bl _fwnode_property_present
cbz x0, LBB0_15
; %bb.14:
Lloh72:
adrp x0, l_.str.13@PAGE
Lloh73:
add x0, x0, l_.str.13@PAGEOFF
bl _pr_debug
Lloh74:
adrp x8, _V4L2_MBUS_SLAVE@GOTPAGE
Lloh75:
ldr x8, [x8, _V4L2_MBUS_SLAVE@GOTPAGEOFF]
Lloh76:
adrp x9, _V4L2_MBUS_MASTER@GOTPAGE
Lloh77:
ldr x9, [x9, _V4L2_MBUS_MASTER@GOTPAGEOFF]
b LBB0_16
LBB0_15:
Lloh78:
adrp x8, _V4L2_MBUS_MASTER@GOTPAGE
Lloh79:
ldr x8, [x8, _V4L2_MBUS_MASTER@GOTPAGEOFF]
Lloh80:
adrp x9, _V4L2_MBUS_SLAVE@GOTPAGE
Lloh81:
ldr x9, [x9, _V4L2_MBUS_SLAVE@GOTPAGEOFF]
LBB0_16:
ldr w9, [x9]
bic w22, w22, w9
ldr w23, [x8]
Lloh82:
adrp x1, l_.str.14@PAGE
Lloh83:
add x1, x1, l_.str.14@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_18
; %bb.17:
ldr x8, [sp, #8]
str x8, [x19, #16]
str x8, [sp]
Lloh84:
adrp x0, l_.str.15@PAGE
Lloh85:
add x0, x0, l_.str.15@PAGEOFF
bl _pr_debug
LBB0_18:
orr w22, w22, w23
Lloh86:
adrp x1, l_.str.16@PAGE
Lloh87:
add x1, x1, l_.str.16@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_20
; %bb.19:
ldr x8, [sp, #8]
str x8, [x19, #24]
str x8, [sp]
Lloh88:
adrp x0, l_.str.17@PAGE
Lloh89:
add x0, x0, l_.str.17@PAGEOFF
bl _pr_debug
LBB0_20:
Lloh90:
adrp x1, l_.str.18@PAGE
Lloh91:
add x1, x1, l_.str.18@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbnz w0, LBB0_22
; %bb.21:
Lloh92:
adrp x8, _V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH@GOTPAGE
Lloh93:
ldr x8, [x8, _V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH@GOTPAGEOFF]
Lloh94:
ldr w8, [x8]
Lloh95:
adrp x9, _V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW@GOTPAGE
Lloh96:
ldr x9, [x9, _V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW@GOTPAGEOFF]
Lloh97:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh98:
adrp x12, l_.str.2@PAGE
Lloh99:
add x12, x12, l_.str.2@PAGEOFF
Lloh100:
adrp x13, l_.str.3@PAGE
Lloh101:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh102:
adrp x0, l_.str.19@PAGE
Lloh103:
add x0, x0, l_.str.19@PAGEOFF
bl _pr_debug
LBB0_22:
Lloh104:
adrp x1, l_.str.20@PAGE
Lloh105:
add x1, x1, l_.str.20@PAGEOFF
add x2, sp, #8
mov x0, x21
bl _fwnode_property_read_u32
cbz w0, LBB0_26
; %bb.23:
cmp w20, #128
b.eq LBB0_27
LBB0_24:
cmp w20, #129
b.ne LBB0_28
; %bb.25:
mov w8, #129
str w8, [x19]
Lloh106:
adrp x8, _PARALLEL_MBUS_FLAGS@GOTPAGE
Lloh107:
ldr x8, [x8, _PARALLEL_MBUS_FLAGS@GOTPAGEOFF]
Lloh108:
ldr w8, [x8]
bic w8, w22, w8
str w8, [x19, #8]
b LBB0_32
LBB0_26:
Lloh109:
adrp x8, _V4L2_MBUS_DATA_ENABLE_HIGH@GOTPAGE
Lloh110:
ldr x8, [x8, _V4L2_MBUS_DATA_ENABLE_HIGH@GOTPAGEOFF]
Lloh111:
ldr w8, [x8]
Lloh112:
adrp x9, _V4L2_MBUS_DATA_ENABLE_LOW@GOTPAGE
Lloh113:
ldr x9, [x9, _V4L2_MBUS_DATA_ENABLE_LOW@GOTPAGEOFF]
Lloh114:
ldr w9, [x9]
orr w10, w9, w8
bic w10, w22, w10
ldr x11, [sp, #8]
Lloh115:
adrp x12, l_.str.2@PAGE
Lloh116:
add x12, x12, l_.str.2@PAGEOFF
Lloh117:
adrp x13, l_.str.3@PAGE
Lloh118:
add x13, x13, l_.str.3@PAGEOFF
cmp x11, #0
csel x11, x13, x12, eq
csel w8, w9, w8, eq
orr w22, w8, w10
str x11, [sp]
Lloh119:
adrp x0, l_.str.21@PAGE
Lloh120:
add x0, x0, l_.str.21@PAGEOFF
bl _pr_debug
cmp w20, #128
b.ne LBB0_24
LBB0_27:
mov w8, #128
str w8, [x19]
str w22, [x19, #8]
b LBB0_32
LBB0_28:
str w22, [x19, #8]
Lloh121:
adrp x8, _PARALLEL_MBUS_FLAGS@GOTPAGE
Lloh122:
ldr x8, [x8, _PARALLEL_MBUS_FLAGS@GOTPAGEOFF]
Lloh123:
ldr w8, [x8]
tst w8, w22
b.eq LBB0_30
; %bb.29:
mov w8, #128
b LBB0_31
LBB0_30:
mov w8, #129
LBB0_31:
str w8, [x19]
LBB0_32:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGot Lloh76, Lloh77
.loh AdrpLdrGot Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGot Lloh80, Lloh81
.loh AdrpLdrGot Lloh78, Lloh79
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.loh AdrpAdd Lloh119, Lloh120
.loh AdrpAdd Lloh117, Lloh118
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpLdrGotLdr Lloh112, Lloh113, Lloh114
.loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111
.loh AdrpLdrGotLdr Lloh121, Lloh122, Lloh123
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hsync-active"
.comm _V4L2_MBUS_HSYNC_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_HSYNC_ACTIVE_HIGH
.comm _V4L2_MBUS_HSYNC_ACTIVE_LOW,4,2 ; @V4L2_MBUS_HSYNC_ACTIVE_LOW
l_.str.1: ; @.str.1
.asciz "hsync-active %s\n"
l_.str.2: ; @.str.2
.asciz "high"
l_.str.3: ; @.str.3
.asciz "low"
l_.str.4: ; @.str.4
.asciz "vsync-active"
.comm _V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_VSYNC_ACTIVE_HIGH
.comm _V4L2_MBUS_VSYNC_ACTIVE_LOW,4,2 ; @V4L2_MBUS_VSYNC_ACTIVE_LOW
l_.str.5: ; @.str.5
.asciz "vsync-active %s\n"
l_.str.6: ; @.str.6
.asciz "field-even-active"
.comm _V4L2_MBUS_FIELD_EVEN_HIGH,4,2 ; @V4L2_MBUS_FIELD_EVEN_HIGH
.comm _V4L2_MBUS_FIELD_EVEN_LOW,4,2 ; @V4L2_MBUS_FIELD_EVEN_LOW
l_.str.7: ; @.str.7
.asciz "field-even-active %s\n"
l_.str.8: ; @.str.8
.asciz "pclk-sample"
.comm _V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_RISING
.comm _V4L2_MBUS_PCLK_SAMPLE_FALLING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_FALLING
l_.str.9: ; @.str.9
.asciz "pclk-sample %s\n"
l_.str.10: ; @.str.10
.asciz "data-active"
.comm _V4L2_MBUS_DATA_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_DATA_ACTIVE_HIGH
.comm _V4L2_MBUS_DATA_ACTIVE_LOW,4,2 ; @V4L2_MBUS_DATA_ACTIVE_LOW
l_.str.11: ; @.str.11
.asciz "data-active %s\n"
l_.str.12: ; @.str.12
.asciz "slave-mode"
l_.str.13: ; @.str.13
.asciz "slave mode\n"
.comm _V4L2_MBUS_MASTER,4,2 ; @V4L2_MBUS_MASTER
.comm _V4L2_MBUS_SLAVE,4,2 ; @V4L2_MBUS_SLAVE
l_.str.14: ; @.str.14
.asciz "bus-width"
l_.str.15: ; @.str.15
.asciz "bus-width %u\n"
l_.str.16: ; @.str.16
.asciz "data-shift"
l_.str.17: ; @.str.17
.asciz "data-shift %u\n"
l_.str.18: ; @.str.18
.asciz "sync-on-green-active"
.comm _V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_VIDEO_SOG_ACTIVE_HIGH
.comm _V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW,4,2 ; @V4L2_MBUS_VIDEO_SOG_ACTIVE_LOW
l_.str.19: ; @.str.19
.asciz "sync-on-green-active %s\n"
l_.str.20: ; @.str.20
.asciz "data-enable-active"
.comm _V4L2_MBUS_DATA_ENABLE_HIGH,4,2 ; @V4L2_MBUS_DATA_ENABLE_HIGH
.comm _V4L2_MBUS_DATA_ENABLE_LOW,4,2 ; @V4L2_MBUS_DATA_ENABLE_LOW
l_.str.21: ; @.str.21
.asciz "data-enable-active %s\n"
.comm _PARALLEL_MBUS_FLAGS,4,2 ; @PARALLEL_MBUS_FLAGS
.no_dead_strip _v4l2_fwnode_endpoint_parse_parallel_bus
.subsections_via_symbols
| AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-fwnode.c_v4l2_fwnode_endpoint_parse_parallel_bus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __context_unpin_ppgtt
___context_unpin_ppgtt: ## @__context_unpin_ppgtt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _vm_alias
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rdi
callq _i915_vm_to_ppgtt
movl %eax, %edi
popq %rbp
jmp _gen6_ppgtt_unpin ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip ___context_unpin_ppgtt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __context_unpin_ppgtt
___context_unpin_ppgtt: ; @__context_unpin_ppgtt
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _vm_alias
cbz x0, LBB0_2
; %bb.1:
bl _i915_vm_to_ppgtt
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _gen6_ppgtt_unpin
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip ___context_unpin_ppgtt
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_ringbuffer.c___context_unpin_ppgtt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function FreePageBtreeFindRightSibling
_FreePageBtreeFindRightSibling: ## @FreePageBtreeFindRightSibling
.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, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq _FreePageBtreeFirstKey
movl %eax, %r14d
movl 16(%r15), %esi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _relptr_access
testq %rax, %rax
jne LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
movl %r14d, %esi
callq _FreePageBtreeSearchInternal
xorl %edi, %edi
callq _Assert
xorl %edi, %edi
callq _FreePageBtreeFirstKey
movl %eax, %r14d
movl 16, %esi
jmp LBB0_2
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FREE_PAGE_INTERNAL_MAGIC,8,3 ## @FREE_PAGE_INTERNAL_MAGIC
.no_dead_strip _FreePageBtreeFindRightSibling
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function FreePageBtreeFindRightSibling
_FreePageBtreeFindRightSibling: ; @FreePageBtreeFindRightSibling
.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 x21, x1
mov x19, x0
mov x0, x1
bl _FreePageBtreeFirstKey
mov x20, x0
ldr w1, [x21, #16]
mov x0, x19
bl _relptr_access
cbnz x0, LBB0_3
; %bb.1:
mov w21, #16 ; =0x10
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, #0 ; =0x0
mov x1, x20
bl _FreePageBtreeSearchInternal
mov w0, #0 ; =0x0
bl _Assert
mov x0, #0 ; =0x0
bl _FreePageBtreeFirstKey
mov x20, x0
ldr w1, [x21]
mov x0, x19
bl _relptr_access
cbz x0, LBB0_2
LBB0_3:
mov x0, #0 ; =0x0
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
.comm _FREE_PAGE_INTERNAL_MAGIC,8,3 ; @FREE_PAGE_INTERNAL_MAGIC
.no_dead_strip _FreePageBtreeFindRightSibling
.subsections_via_symbols
| assembly_file_103484.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function prvUnlockQueue
_prvUnlockQueue: ## @prvUnlockQueue
.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, %r14
xorl %eax, %eax
callq _taskENTER_CRITICAL
movq (%r14), %rbx
movq _queueLOCKED_UNMODIFIED@GOTPCREL(%rip), %r15
cmpq (%r15), %rbx
jle LBB0_7
## %bb.1:
leaq 20(%r14), %r12
movq _pdFALSE@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _mtCOVERAGE_TEST_MARKER
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
decq %rbx
cmpq (%r15), %rbx
jle LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _listLIST_IS_EMPTY
cmpq (%r13), %rax
jne LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _xTaskRemoveFromEventList
cmpq (%r13), %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _vTaskMissedYield
jmp LBB0_6
LBB0_7:
movq _queueUNLOCKED@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r14)
xorl %eax, %eax
callq _taskEXIT_CRITICAL
xorl %eax, %eax
callq _taskENTER_CRITICAL
movq 8(%r14), %rbx
cmpq (%r15), %rbx
jle LBB0_14
## %bb.8:
leaq 16(%r14), %r13
movq _pdFALSE@GOTPCREL(%rip), %r12
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
xorl %eax, %eax
callq _mtCOVERAGE_TEST_MARKER
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
decq %rbx
cmpq (%r15), %rbx
jle LBB0_14
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
callq _listLIST_IS_EMPTY
cmpq (%r12), %rax
jne LBB0_14
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq %r13, %rdi
callq _xTaskRemoveFromEventList
cmpq (%r12), %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
xorl %eax, %eax
callq _vTaskMissedYield
jmp LBB0_13
LBB0_14:
movq _queueUNLOCKED@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _taskEXIT_CRITICAL ## TAILCALL
.cfi_endproc
## -- End function
.comm _queueLOCKED_UNMODIFIED,8,3 ## @queueLOCKED_UNMODIFIED
.comm _pdFALSE,8,3 ## @pdFALSE
.comm _queueUNLOCKED,8,3 ## @queueUNLOCKED
.comm _queueSEND_TO_BACK,4,2 ## @queueSEND_TO_BACK
.no_dead_strip _prvUnlockQueue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function prvUnlockQueue
_prvUnlockQueue: ; @prvUnlockQueue
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
bl _taskENTER_CRITICAL
mov x20, x19
ldr x23, [x20], #20
Lloh0:
adrp x21, _queueLOCKED_UNMODIFIED@GOTPAGE
Lloh1:
ldr x21, [x21, _queueLOCKED_UNMODIFIED@GOTPAGEOFF]
ldr x8, [x21]
Lloh2:
adrp x22, _pdFALSE@GOTPAGE
Lloh3:
ldr x22, [x22, _pdFALSE@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
bl _mtCOVERAGE_TEST_MARKER
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x23, x23, #1
ldr x8, [x21]
LBB0_3: ; =>This Inner Loop Header: Depth=1
cmp x23, x8
b.le LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _listLIST_IS_EMPTY
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _xTaskRemoveFromEventList
ldr x8, [x22]
cmp x0, x8
b.eq LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
bl _vTaskMissedYield
b LBB0_2
LBB0_7:
Lloh4:
adrp x23, _queueUNLOCKED@GOTPAGE
Lloh5:
ldr x23, [x23, _queueUNLOCKED@GOTPAGEOFF]
ldr x8, [x23]
str x8, [x19]
bl _taskEXIT_CRITICAL
bl _taskENTER_CRITICAL
ldr x24, [x19, #8]
ldr x8, [x21]
cmp x24, x8
b.le LBB0_14
; %bb.8:
add x20, x19, #16
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
bl _mtCOVERAGE_TEST_MARKER
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
sub x24, x24, #1
ldr x8, [x21]
cmp x24, x8
b.le LBB0_14
LBB0_11: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _listLIST_IS_EMPTY
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
mov x0, x20
bl _xTaskRemoveFromEventList
ldr x8, [x22]
cmp x0, x8
b.eq LBB0_9
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
bl _vTaskMissedYield
b LBB0_10
LBB0_14:
ldr x8, [x23]
str x8, [x19, #8]
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 _taskEXIT_CRITICAL
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _queueLOCKED_UNMODIFIED,8,3 ; @queueLOCKED_UNMODIFIED
.comm _pdFALSE,8,3 ; @pdFALSE
.comm _queueUNLOCKED,8,3 ; @queueUNLOCKED
.comm _queueSEND_TO_BACK,4,2 ; @queueSEND_TO_BACK
.no_dead_strip _prvUnlockQueue
.subsections_via_symbols
| AnghaBench/micropython/ports/cc3200/FreeRTOS/Source/extr_queue.c_prvUnlockQueue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hipz_h_alloc_resource_eq ## -- Begin function hipz_h_alloc_resource_eq
.p2align 4, 0x90
_hipz_h_alloc_resource_eq: ## @hipz_h_alloc_resource_eq
.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, -56(%rbp) ## 8-byte Spill
movq %r8, %r15
movl %ecx, %r12d
movl %edx, %r14d
movl %edi, %r13d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _PLPAR_HCALL9_BUFSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
cmpl $1, %r14d
movabsq $-9223372036854775805, %rax ## imm = 0x8000000000000003
movabsq $72057594037927939, %rcx ## imm = 0x100000000000003
cmoveq %rax, %rcx
movq _H_ALLOC_RESOURCE@GOTPCREL(%rip), %rax
movl (%rax), %edi
subq $8, %rsp
movq %rbx, %rsi
movl %r13d, %edx
movl %r12d, %r8d
xorl %r9d, %r9d
pushq $0
pushq $0
pushq $0
pushq $0
pushq $0
callq _ehca_plpar_hcall9
addq $48, %rsp
movq %rax, %r12
movq (%rbx), %rax
movq %rax, (%r15)
movl 24(%rbx), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl 32(%rbx), %eax
movq 16(%rbp), %rcx
movl %eax, (%rcx)
movl 40(%rbx), %eax
movq 24(%rbp), %rcx
movl %eax, (%rcx)
movq _H_NOT_ENOUGH_RESOURCES@GOTPCREL(%rip), %rax
cmpq (%rax), %r12
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movq %r12, %rsi
callq _ehca_gen_err
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_4
## %bb.3:
movq %r12, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PLPAR_HCALL9_BUFSIZE,4,2 ## @PLPAR_HCALL9_BUFSIZE
.comm _H_ALLOC_RESOURCE,4,2 ## @H_ALLOC_RESOURCE
.comm _H_NOT_ENOUGH_RESOURCES,8,3 ## @H_NOT_ENOUGH_RESOURCES
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Not enough resource - ret=%lli "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hipz_h_alloc_resource_eq ; -- Begin function hipz_h_alloc_resource_eq
.p2align 2
_hipz_h_alloc_resource_eq: ; @hipz_h_alloc_resource_eq
.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
sub sp, sp, #16
mov x20, x7
mov x21, x6
mov x22, x5
mov x23, x4
mov x4, x3
mov x8, x0
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
stur x9, [x29, #-56]
Lloh3:
adrp x9, _PLPAR_HCALL9_BUFSIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PLPAR_HCALL9_BUFSIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
lsl x12, x9, #3
mov x9, x12
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x12, #15
and x10, x10, #0xffffffff0
sub x24, x9, x10
mov sp, x24
cmp w2, #1
mov x9, #3
movk x9, #256, lsl #48
mov x10, #-9223372036854775805
csel x3, x10, x9, eq
Lloh8:
adrp x9, _H_ALLOC_RESOURCE@GOTPAGE
Lloh9:
ldr x9, [x9, _H_ALLOC_RESOURCE@GOTPAGEOFF]
Lloh10:
ldr w0, [x9]
sub sp, sp, #16
str wzr, [sp, #8]
str xzr, [sp]
mov x1, x24
mov x2, x8
mov w5, #0
mov w6, #0
mov w7, #0
bl _ehca_plpar_hcall9
add sp, sp, #16
mov x19, x0
ldr x8, [x24]
str x8, [x23]
ldp x8, x9, [x24, #24]
str w8, [x22]
str w9, [x21]
ldr x8, [x24, #40]
str w8, [x20]
Lloh11:
adrp x8, _H_NOT_ENOUGH_RESOURCES@GOTPAGE
Lloh12:
ldr x8, [x8, _H_NOT_ENOUGH_RESOURCES@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _ehca_gen_err
LBB0_2:
ldur x8, [x29, #-56]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
mov x0, x19
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _PLPAR_HCALL9_BUFSIZE,4,2 ; @PLPAR_HCALL9_BUFSIZE
.comm _H_ALLOC_RESOURCE,4,2 ; @H_ALLOC_RESOURCE
.comm _H_NOT_ENOUGH_RESOURCES,8,3 ; @H_NOT_ENOUGH_RESOURCES
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Not enough resource - ret=%lli "
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_hcp_if.c_hipz_h_alloc_resource_eq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _scsih_pcie_device_status_change_event
__scsih_pcie_device_status_change_event: ## @_scsih_pcie_device_status_change_event
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rsi), %r15
movq _MPT_DEBUG_EVENT_WORK_TASK@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %r15, %rsi
callq __scsih_pcie_device_status_change_event_debug
LBB0_2:
movq (%r15), %rax
movq _MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
je LBB0_4
## %bb.3:
movq _MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_4
## %bb.10:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
leaq 4(%rbx), %r14
movq %r14, %rdi
callq _spin_lock_irqsave
movl 8(%r15), %edi
callq _le64_to_cpu
movq %rbx, %rdi
movl %eax, %esi
callq ___mpt3sas_get_pdev_by_wwid
testq %rax, %rax
je LBB0_9
## %bb.5:
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_8
## %bb.6:
movq (%rcx), %rcx
testq %rcx, %rcx
je LBB0_8
## %bb.7:
movq (%r15), %rdx
xorl %esi, %esi
cmpq (%r12), %rdx
sete %sil
movl %esi, (%rcx)
LBB0_8:
movq %rax, %rdi
callq _pcie_device_put
LBB0_9:
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.comm _MPT_DEBUG_EVENT_WORK_TASK,4,2 ## @MPT_DEBUG_EVENT_WORK_TASK
.comm _MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET,8,3 ## @MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET
.comm _MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET,8,3 ## @MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET
.no_dead_strip __scsih_pcie_device_status_change_event
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _scsih_pcie_device_status_change_event
__scsih_pcie_device_status_change_event: ; @_scsih_pcie_device_status_change_event
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x0
ldr x19, [x1]
ldr w8, [x0]
Lloh0:
adrp x9, _MPT_DEBUG_EVENT_WORK_TASK@GOTPAGE
Lloh1:
ldr x9, [x9, _MPT_DEBUG_EVENT_WORK_TASK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x0, x21
mov x1, x19
bl __scsih_pcie_device_status_change_event_debug
LBB0_2:
ldr x8, [x19]
Lloh3:
adrp x22, _MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET@GOTPAGE
Lloh4:
ldr x22, [x22, _MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET@GOTPAGEOFF]
ldr x9, [x22]
Lloh5:
adrp x10, _MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET@GOTPAGE
Lloh6:
ldr x10, [x10, _MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET@GOTPAGEOFF]
Lloh7:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_9
; %bb.3:
add x20, x21, #4
mov x0, x20
bl _spin_lock_irqsave
ldr w0, [x19, #8]
bl _le64_to_cpu
mov x1, x0
mov x0, x21
bl ___mpt3sas_get_pdev_by_wwid
cbz x0, LBB0_8
; %bb.4:
ldr x8, [x0]
cbz x8, LBB0_7
; %bb.5:
ldr x8, [x8]
cbz x8, LBB0_7
; %bb.6:
ldr x9, [x19]
ldr x10, [x22]
cmp x9, x10
cset w9, eq
str w9, [x8]
LBB0_7:
bl _pcie_device_put
LBB0_8:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
LBB0_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MPT_DEBUG_EVENT_WORK_TASK,4,2 ; @MPT_DEBUG_EVENT_WORK_TASK
.comm _MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET,8,3 ; @MPI26_EVENT_PCIDEV_STAT_RC_INTERNAL_DEVICE_RESET
.comm _MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET,8,3 ; @MPI26_EVENT_PCIDEV_STAT_RC_CMP_INTERNAL_DEV_RESET
.no_dead_strip __scsih_pcie_device_status_change_event
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_scsih.c__scsih_pcie_device_status_change_event.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse256
_parse256: ## @parse256
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %rsi
movl $2, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
movl $2, %edx
callq _strncmp
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
leaq (%r14,%rcx,2), %r14
LBB0_2:
movzbl (%r14), %eax
testb %al, %al
movq %rbx, -56(%rbp) ## 8-byte Spill
je LBB0_3
## %bb.4:
xorl %r12d, %r12d
leaq L_.str.2(%rip), %rbx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
callq _isxdigit
testl %eax, %eax
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movzbl -1(%r14,%r12), %eax
decq %r12
testb %al, %al
jne LBB0_5
## %bb.8:
cmpl $-64, %r12d
jae LBB0_10
## %bb.9:
leaq L_.str.3(%rip), %rax
jmp LBB0_17
LBB0_3:
xorl %r12d, %r12d
jmp LBB0_11
LBB0_6:
movq %rbx, %rax
jmp LBB0_17
LBB0_10:
negq %r12
LBB0_11:
movl %r12d, %ebx
andl $1, %ebx
movb $0, -42(%rbp)
movw $0, -44(%rbp)
movl $2, %edx
subl %ebx, %edx
leaq -44(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq _memcpy
leaq -48(%rbp), %rsi
movq %r15, %rdi
movl $1, %edx
callq _parseint
testq %rax, %rax
jne LBB0_17
## %bb.12:
leal -1(%r12), %eax
movl %eax, %ecx
shrb $7, %cl
addb %al, %cl
sarb %cl
movb $31, %al
subb %cl, %al
movzbl %al, %r13d
movl -48(%rbp), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%r13,4)
cmpl $3, %r12d
jb LBB0_16
## %bb.13:
subq %rbx, %r14
addq $2, %r14
leaq -48(%rbp), %r12
movq -56(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movb $0, -42(%rbp)
movw $0, -44(%rbp)
movq %r15, %rdi
movq %r14, %rsi
movl $2, %edx
callq _memcpy
movq %r15, %rdi
movq %r12, %rsi
movl $1, %edx
callq _parseint
testq %rax, %rax
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
addq $2, %r14
movl -48(%rbp), %eax
movl %eax, 4(%rbx,%r13,4)
incq %r13
cmpl $31, %r13d
jl LBB0_14
LBB0_16:
xorl %eax, %eax
LBB0_17:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_3326 ## @g_aug_volatile_3326
.p2align 2, 0x0
_g_aug_volatile_3326:
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0x"
L_.str.1: ## @.str.1
.asciz "0X"
L_.str.2: ## @.str.2
.asciz "invalid hex digit read"
L_.str.3: ## @.str.3
.asciz "hex code too long"
.no_dead_strip _parse256
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse256
_parse256: ; @parse256
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #2 ; =0x2
bl _strncmp
cbz w0, LBB0_7
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_8
LBB0_2:
sub x22, x20, #1
mov w21, #-1 ; =0xffffffff
Lloh2:
adrp x23, l_.str.2@PAGE
Lloh3:
add x23, x23, l_.str.2@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _isxdigit
cbz w0, LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [x22], #-1
add w21, w21, #1
cbnz w8, LBB0_3
; %bb.5:
cmp w21, #63
b.ls LBB0_10
; %bb.6:
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_17
LBB0_7:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
mov w2, #2 ; =0x2
bl _strncmp
cmp w0, #0
cset w8, eq
add x20, x20, w8, uxtw #1
ldrb w8, [x20]
cbnz w8, LBB0_2
LBB0_8:
mov w22, #0 ; =0x0
b LBB0_11
LBB0_9:
mov x0, x23
b LBB0_17
LBB0_10:
add w22, w21, #1
LBB0_11:
strb wzr, [sp, #14]
strh wzr, [sp, #12]
tst w22, #0x1
mov w8, #1 ; =0x1
cinc w2, w8, eq
add x0, sp, #12
mov x1, x20
bl _memcpy
add x0, sp, #12
add x1, sp, #8
mov w2, #1 ; =0x1
bl _parseint
cbnz x0, LBB0_17
; %bb.12:
sub w8, w22, #1
and w9, w8, #0x80
add w8, w8, w9, lsr #7
sxtb w8, w8
mov w9, #31 ; =0x1f
sub w8, w9, w8, lsr #1
and x21, x8, #0xff
ldr w8, [sp, #8]
str w8, [x19, x21, lsl #2]
cmp w22, #3
b.lo LBB0_16
; %bb.13:
tst w22, #0x1
mov w8, #1 ; =0x1
cinc x8, x8, eq
add x20, x20, x8
add x19, x19, #4
LBB0_14: ; =>This Inner Loop Header: Depth=1
strb wzr, [sp, #14]
strh wzr, [sp, #12]
add x0, sp, #12
mov x1, x20
mov w2, #2 ; =0x2
bl _memcpy
add x0, sp, #12
add x1, sp, #8
mov w2, #1 ; =0x1
bl _parseint
cbnz x0, LBB0_17
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
add x20, x20, #2
ldr w8, [sp, #8]
str w8, [x19, x21, lsl #2]
add x8, x21, #1
mov x21, x8
cmp w8, #31
b.lt LBB0_14
LBB0_16:
mov x0, #0 ; =0x0
LBB0_17:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_3326 ; @g_aug_volatile_3326
.p2align 2, 0x0
_g_aug_volatile_3326:
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0x"
l_.str.1: ; @.str.1
.asciz "0X"
l_.str.2: ; @.str.2
.asciz "invalid hex digit read"
l_.str.3: ; @.str.3
.asciz "hex code too long"
.no_dead_strip _parse256
.subsections_via_symbols
| assembly_file_30775.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lima_gp_pipe_init ## -- Begin function lima_gp_pipe_init
.p2align 4, 0x90
_lima_gp_pipe_init: ## @lima_gp_pipe_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %r15
movq _lima_pipe_gp@GOTPCREL(%rip), %rax
movslq (%rax), %rbx
movq _lima_gp_task_slab@GOTPCREL(%rip), %r12
movq (%r12), %rax
testq %rax, %rax
jne LBB0_3
## %bb.1:
movq _SLAB_HWCACHE_ALIGN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq $0, (%rsp)
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
movl $8, %esi
xorl %edx, %edx
movl $4, %r8d
movl $4, %r9d
callq _kmem_cache_create_usercopy
movq %rax, (%r12)
testq %rax, %rax
je LBB0_2
LBB0_3:
movq _lima_gp_task_slab_refcnt@GOTPCREL(%rip), %rcx
incl (%rcx)
shlq $5, %rbx
movl $4, (%r15,%rbx)
movq %rax, 24(%r15,%rbx)
movq _lima_gp_task_validate@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%r15,%rbx)
movq _lima_gp_task_run@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r15,%rbx)
movq _lima_gp_task_fini@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%r15,%rbx)
movq _lima_gp_task_error@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%r15,%rbx)
movq _lima_gp_task_mmu_error@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r15,%rbx)
xorl %r14d, %r14d
LBB0_4:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r14d
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _lima_pipe_gp,4,2 ## @lima_pipe_gp
.comm _lima_gp_task_slab,8,3 ## @lima_gp_task_slab
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lima_gp_task"
.comm _SLAB_HWCACHE_ALIGN,4,2 ## @SLAB_HWCACHE_ALIGN
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _lima_gp_task_slab_refcnt,4,2 ## @lima_gp_task_slab_refcnt
.comm _lima_gp_task_validate,4,2 ## @lima_gp_task_validate
.comm _lima_gp_task_run,4,2 ## @lima_gp_task_run
.comm _lima_gp_task_fini,4,2 ## @lima_gp_task_fini
.comm _lima_gp_task_error,4,2 ## @lima_gp_task_error
.comm _lima_gp_task_mmu_error,4,2 ## @lima_gp_task_mmu_error
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lima_gp_pipe_init ; -- Begin function lima_gp_pipe_init
.p2align 2
_lima_gp_pipe_init: ; @lima_gp_pipe_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
ldr x19, [x0]
Lloh0:
adrp x8, _lima_pipe_gp@GOTPAGE
Lloh1:
ldr x8, [x8, _lima_pipe_gp@GOTPAGEOFF]
Lloh2:
ldrsw x20, [x8]
Lloh3:
adrp x21, _lima_gp_task_slab@GOTPAGE
Lloh4:
ldr x21, [x21, _lima_gp_task_slab@GOTPAGEOFF]
ldr x8, [x21]
cbnz x8, LBB0_2
; %bb.1:
Lloh5:
adrp x8, _SLAB_HWCACHE_ALIGN@GOTPAGE
Lloh6:
ldr x8, [x8, _SLAB_HWCACHE_ALIGN@GOTPAGEOFF]
Lloh7:
ldr w3, [x8]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
mov w1, #8
mov w2, #0
mov w4, #4
mov w5, #4
mov x6, #0
bl _kmem_cache_create_usercopy
mov x8, x0
str x0, [x21]
cbz x0, LBB0_4
LBB0_2:
mov w0, #0
Lloh10:
adrp x9, _lima_gp_task_slab_refcnt@GOTPAGE
Lloh11:
ldr x9, [x9, _lima_gp_task_slab_refcnt@GOTPAGEOFF]
ldr w10, [x9]
add w10, w10, #1
str w10, [x9]
add x9, x19, x20, lsl #5
mov w10, #4
str w10, [x9]
str x8, [x9, #24]
Lloh12:
adrp x8, _lima_gp_task_validate@GOTPAGE
Lloh13:
ldr x8, [x8, _lima_gp_task_validate@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [x9, #20]
Lloh15:
adrp x8, _lima_gp_task_run@GOTPAGE
Lloh16:
ldr x8, [x8, _lima_gp_task_run@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
str w8, [x9, #16]
Lloh18:
adrp x8, _lima_gp_task_fini@GOTPAGE
Lloh19:
ldr x8, [x8, _lima_gp_task_fini@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
str w8, [x9, #12]
Lloh21:
adrp x8, _lima_gp_task_error@GOTPAGE
Lloh22:
ldr x8, [x8, _lima_gp_task_error@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
str w8, [x9, #8]
Lloh24:
adrp x8, _lima_gp_task_mmu_error@GOTPAGE
Lloh25:
ldr x8, [x8, _lima_gp_task_mmu_error@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
str w8, [x9, #4]
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh27:
adrp x8, _ENOMEM@GOTPAGE
Lloh28:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
neg w0, w8
b LBB0_3
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.comm _lima_pipe_gp,4,2 ; @lima_pipe_gp
.comm _lima_gp_task_slab,8,3 ; @lima_gp_task_slab
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lima_gp_task"
.comm _SLAB_HWCACHE_ALIGN,4,2 ; @SLAB_HWCACHE_ALIGN
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _lima_gp_task_slab_refcnt,4,2 ; @lima_gp_task_slab_refcnt
.comm _lima_gp_task_validate,4,2 ; @lima_gp_task_validate
.comm _lima_gp_task_run,4,2 ; @lima_gp_task_run
.comm _lima_gp_task_fini,4,2 ; @lima_gp_task_fini
.comm _lima_gp_task_error,4,2 ; @lima_gp_task_error
.comm _lima_gp_task_mmu_error,4,2 ; @lima_gp_task_mmu_error
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gp.c_lima_gp_pipe_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function f
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cvtsi2sd %edi, %xmm0
addsd LCPI0_0(%rip), %xmm0
cvttsd2si %xmm0, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
scvtf d0, w0
fmov d1, #0.50000000
fadd d0, d0, d1
fcvtzs w0, d0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/90766194.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function AcpiNsInitOneObject
_AcpiNsInitOneObject: ## @AcpiNsInitOneObject
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r13
movl %esi, %r12d
movq %rdi, %r15
movq _NsInitOneObject@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ACPI_FUNCTION_NAME
incl 24(%r13)
movq %r15, %rdi
callq _AcpiNsGetType
movl %eax, %r14d
movq %r15, %rdi
callq _AcpiNsGetAttachedObject
testq %rax, %rax
je LBB0_11
## %bb.1:
movq %rax, %rbx
leal -128(%r14), %eax
cmpl $4, %eax
ja LBB0_11
## %bb.2:
cltq
leaq l_switch.table.AcpiNsInitOneObject(%rip), %rcx
movq (%rcx,%rax,8), %rax
incl (%r13,%rax)
movq _AOPOBJ_DATA_VALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
jne LBB0_11
## %bb.3:
xorl %eax, %eax
callq _AcpiExEnterInterpreter
cmpl $129, %r14d
je LBB0_6
## %bb.4:
cmpl $130, %r14d
jne LBB0_7
## %bb.5:
incl 4(%r13)
movq %rbx, %rdi
callq _AcpiDsGetBankFieldArguments
movl %eax, %ebx
jmp LBB0_8
LBB0_6:
incl (%r13)
movq %r15, %rdi
movl %r12d, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _AcpiNsInitOnePackage
movl %eax, %ebx
jmp LBB0_8
LBB0_7:
movq _AE_TYPE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r15, %rdi
callq _AcpiUtGetNodeName
movl %r14d, %edi
callq _AcpiUtGetTypeName
movl %eax, %edi
callq _ACPI_EXCEPTION
LBB0_8:
movl %ebx, %edi
callq _ACPI_FAILURE
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %r15, %rdi
callq _AcpiUtGetNodeName
movl %r14d, %edi
callq _AcpiUtGetTypeName
movl %eax, %edi
callq _ACPI_EXCEPTION
LBB0_10:
xorl %eax, %eax
callq _AcpiExExitInterpreter
LBB0_11:
movq _AE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AE_OK,4,2 ## @AE_OK
.comm _NsInitOneObject,4,2 ## @NsInitOneObject
.comm _AOPOBJ_DATA_VALID,4,2 ## @AOPOBJ_DATA_VALID
.comm _AE_TYPE,4,2 ## @AE_TYPE
.comm _AE_INFO,4,2 ## @AE_INFO
.no_dead_strip _AcpiNsInitOneObject
.section __TEXT,__const
.p2align 3 ## @switch.table.AcpiNsInitOneObject
l_switch.table.AcpiNsInitOneObject:
.quad 20 ## 0x14
.quad 8 ## 0x8
.quad 16 ## 0x10
.quad 16 ## 0x10
.quad 12 ## 0xc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function AcpiNsInitOneObject
_AcpiNsInitOneObject: ; @AcpiNsInitOneObject
.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 x21, x2
mov x22, x1
mov x19, x0
Lloh0:
adrp x8, _NsInitOneObject@GOTPAGE
Lloh1:
ldr x8, [x8, _NsInitOneObject@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ACPI_FUNCTION_NAME
ldr w8, [x21, #24]
add w8, w8, #1
str w8, [x21, #24]
mov x0, x19
bl _AcpiNsGetType
mov x20, x0
mov x0, x19
bl _AcpiNsGetAttachedObject
cbz x0, LBB0_11
; %bb.1:
sub w8, w20, #128
cmp w8, #4
b.hi LBB0_11
; %bb.2:
mov x23, x0
Lloh3:
adrp x9, l_switch.table.AcpiNsInitOneObject@PAGE
Lloh4:
add x9, x9, l_switch.table.AcpiNsInitOneObject@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
ldr w9, [x21, x8]
add w9, w9, #1
str w9, [x21, x8]
ldr w8, [x0]
Lloh5:
adrp x9, _AOPOBJ_DATA_VALID@GOTPAGE
Lloh6:
ldr x9, [x9, _AOPOBJ_DATA_VALID@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_11
; %bb.3:
bl _AcpiExEnterInterpreter
cmp w20, #129
b.eq LBB0_6
; %bb.4:
cmp w20, #130
b.ne LBB0_7
; %bb.5:
ldr w8, [x21, #4]
add w8, w8, #1
str w8, [x21, #4]
mov x0, x23
bl _AcpiDsGetBankFieldArguments
mov x21, x0
b LBB0_8
LBB0_6:
ldr w8, [x21]
add w8, w8, #1
str w8, [x21]
mov x0, x19
mov x1, x22
mov x2, #0
mov x3, #0
bl _AcpiNsInitOnePackage
mov x21, x0
b LBB0_8
LBB0_7:
Lloh8:
adrp x8, _AE_TYPE@GOTPAGE
Lloh9:
ldr x8, [x8, _AE_TYPE@GOTPAGEOFF]
Lloh10:
ldr w21, [x8]
mov x0, x19
bl _AcpiUtGetNodeName
mov x0, x20
bl _AcpiUtGetTypeName
bl _ACPI_EXCEPTION
LBB0_8:
mov x0, x21
bl _ACPI_FAILURE
cbz x0, LBB0_10
; %bb.9:
mov x0, x19
bl _AcpiUtGetNodeName
mov x0, x20
bl _AcpiUtGetTypeName
bl _ACPI_EXCEPTION
LBB0_10:
bl _AcpiExExitInterpreter
LBB0_11:
Lloh11:
adrp x8, _AE_OK@GOTPAGE
Lloh12:
ldr x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _AE_OK,4,2 ; @AE_OK
.comm _NsInitOneObject,4,2 ; @NsInitOneObject
.comm _AOPOBJ_DATA_VALID,4,2 ; @AOPOBJ_DATA_VALID
.comm _AE_TYPE,4,2 ; @AE_TYPE
.comm _AE_INFO,4,2 ; @AE_INFO
.no_dead_strip _AcpiNsInitOneObject
.section __TEXT,__const
.p2align 3 ; @switch.table.AcpiNsInitOneObject
l_switch.table.AcpiNsInitOneObject:
.quad 20 ; 0x14
.quad 8 ; 0x8
.quad 16 ; 0x10
.quad 16 ; 0x10
.quad 12 ; 0xc
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nsinit.c_AcpiNsInitOneObject.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
movq _info_compiler(%rip), %rax
movslq %edi, %rcx
movsbl (%rax,%rcx), %eax
movq _info_platform(%rip), %rdx
movsbl (%rdx,%rcx), %edx
addl %eax, %edx
movq _info_arch(%rip), %rax
movsbl (%rax,%rcx), %eax
addl %edx, %eax
leaq _info_version(%rip), %rdx
movsbl (%rcx,%rdx), %edx
addl %eax, %edx
movq _info_language_dialect_default(%rip), %rax
movsbl (%rax,%rcx), %eax
addl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INFO:compiler[AppleClang]"
.section __DATA,__data
.globl _info_compiler ## @info_compiler
.p2align 3
_info_compiler:
.quad L_.str
.section __TEXT,__const
.globl _info_version ## @info_version
.p2align 4
_info_version:
.asciz "INFO:compiler_version[00000014.00000000.00000003.14030022]"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "INFO:platform[Darwin]"
.section __DATA,__data
.globl _info_platform ## @info_platform
.p2align 3
_info_platform:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ## @info_arch
.p2align 3
_info_arch:
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "INFO:dialect_default[11]"
.section __DATA,__data
.globl _info_language_dialect_default ## @info_language_dialect_default
.p2align 3
_info_language_dialect_default:
.quad L_.str.3
.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:
; kill: def $w0 killed $w0 def $x0
Lloh0:
adrp x8, _info_compiler@PAGE
Lloh1:
ldr x8, [x8, _info_compiler@PAGEOFF]
sxtw x9, w0
ldrsb w8, [x8, x9]
Lloh2:
adrp x10, _info_platform@PAGE
Lloh3:
ldr x10, [x10, _info_platform@PAGEOFF]
ldrsb w10, [x10, x9]
Lloh4:
adrp x11, _info_arch@PAGE
Lloh5:
ldr x11, [x11, _info_arch@PAGEOFF]
ldrsb w11, [x11, x9]
add w8, w10, w8
add w8, w8, w11
Lloh6:
adrp x10, _info_version@PAGE
Lloh7:
add x10, x10, _info_version@PAGEOFF
ldrsb w10, [x10, x9]
Lloh8:
adrp x11, _info_language_dialect_default@PAGE
Lloh9:
ldr x11, [x11, _info_language_dialect_default@PAGEOFF]
ldrsb w9, [x11, x9]
add w8, w8, w10
add w0, w8, w9
ret
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO:compiler[AppleClang]"
.section __DATA,__data
.globl _info_compiler ; @info_compiler
.p2align 3
_info_compiler:
.quad l_.str
.section __TEXT,__const
.globl _info_version ; @info_version
_info_version:
.asciz "INFO:compiler_version[00000014.00000000.00000003.14030022]"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "INFO:platform[Darwin]"
.section __DATA,__data
.globl _info_platform ; @info_platform
.p2align 3
_info_platform:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ; @info_arch
.p2align 3
_info_arch:
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "INFO:dialect_default[11]"
.section __DATA,__data
.globl _info_language_dialect_default ; @info_language_dialect_default
.p2align 3
_info_language_dialect_default:
.quad l_.str.3
.subsections_via_symbols
| the_stack_data/281739.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _h2o_socket_ssl_async_resumption_init ## -- Begin function h2o_socket_ssl_async_resumption_init
.p2align 4, 0x90
_h2o_socket_ssl_async_resumption_init: ## @h2o_socket_ssl_async_resumption_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _resumption_get_async@GOTPCREL(%rip), %rax
movl %edi, (%rax)
movq _resumption_new@GOTPCREL(%rip), %rax
movl %esi, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _resumption_get_async,4,2 ## @resumption_get_async
.comm _resumption_new,4,2 ## @resumption_new
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _h2o_socket_ssl_async_resumption_init ; -- Begin function h2o_socket_ssl_async_resumption_init
.p2align 2
_h2o_socket_ssl_async_resumption_init: ; @h2o_socket_ssl_async_resumption_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _resumption_get_async@GOTPAGE
Lloh1:
ldr x8, [x8, _resumption_get_async@GOTPAGEOFF]
Lloh2:
str w0, [x8]
Lloh3:
adrp x8, _resumption_new@GOTPAGE
Lloh4:
ldr x8, [x8, _resumption_new@GOTPAGEOFF]
Lloh5:
str w1, [x8]
ret
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _resumption_get_async,4,2 ; @resumption_get_async
.comm _resumption_new,4,2 ; @resumption_new
.subsections_via_symbols
| AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonsocket.c_h2o_socket_ssl_async_resumption_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcache1Create
_pcache1Create: ## @pcache1Create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movl %edi, %r12d
leal -1(%r12), %eax
testl %eax, %edi
sete %al
leal -512(%r12), %ecx
cmpl $65025, %ecx ## imm = 0xFE01
setb %cl
andb %al, %cl
movzbl %cl, %edi
callq _assert
xorl %edi, %edi
cmpl $300, %r15d ## imm = 0x12C
setl %dil
callq _assert
movl $24, %edi
callq _sqlite3MallocZero
movq %rax, %rbx
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _pcache1@GOTPCREL(%rip), %r13
movq %r13, 16(%rbx)
movl %r12d, (%rbx)
movl %r15d, 4(%rbx)
xorl %eax, %eax
testl %r14d, %r14d
setne %al
movl %eax, 8(%rbx)
je LBB0_3
## %bb.2:
movl $10, 12(%rbx)
movq %r13, %rdi
callq _pcache1EnterMutex
movl 4(%r13), %eax
movl 8(%r13), %ecx
addl 12(%rbx), %eax
movl %eax, 4(%r13)
subl %eax, %ecx
addl $10, %ecx
movl %ecx, (%r13)
movq %r13, %rdi
callq _pcache1LeaveMutex
LBB0_3:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pcache1,12,2 ## @pcache1
.comm _sqlite3GlobalConfig,8,3 ## @sqlite3GlobalConfig
.no_dead_strip _pcache1Create
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcache1Create
_pcache1Create: ; @pcache1Create
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x21, x1
mov x22, x0
sub w8, w0, #1
sub w9, w0, #512
tst w0, w8
mov w8, #65025
ccmp w9, w8, #2, eq
cset w0, lo
bl _assert
cmp w21, #300
cset w0, lt
bl _assert
mov w0, #24
bl _sqlite3MallocZero
mov x20, x0
cbz x0, LBB0_3
; %bb.1:
Lloh0:
adrp x23, _pcache1@GOTPAGE
Lloh1:
ldr x23, [x23, _pcache1@GOTPAGEOFF]
str x23, [x20, #16]
stp w22, w21, [x20]
cmp w19, #0
cset w8, ne
str w8, [x20, #8]
cbz w19, LBB0_3
; %bb.2:
mov w8, #10
str w8, [x20, #12]
mov x0, x23
bl _pcache1EnterMutex
ldr w8, [x20, #12]
ldp w9, w10, [x23, #4]
add w8, w9, w8
sub w9, w10, w8
add w9, w9, #10
stp w9, w8, [x23]
mov x0, x23
bl _pcache1LeaveMutex
LBB0_3:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _pcache1,12,2 ; @pcache1
.comm _sqlite3GlobalConfig,8,3 ; @sqlite3GlobalConfig
.no_dead_strip _pcache1Create
.subsections_via_symbols
| AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pcache1Create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function create_ddw
_create_ddw: ## @create_ddw
.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
## kill: def $r8d killed $r8d def $r8
movq %r8, -64(%rbp) ## 8-byte Spill
## kill: def $ecx killed $ecx def $rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rsi, %r15
movq %rdi, -80(%rbp) ## 8-byte Spill
callq _pci_device_to_OF_node
movq %rax, %rdi
callq _PCI_DN
movq 8(%rax), %rcx
movl (%rcx), %r14d
movl (%rax), %ecx
movl 4(%rax), %r13d
shll $16, %ecx
shll $8, %r13d
orl %ecx, %r13d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl 4(%r15), %ebx
movl %r14d, %edi
callq _BUID_HI
movl %eax, %r12d
movl %r14d, %edi
callq _BUID_LO
## kill: def $eax killed $eax def $rax
subq $8, %rsp
movl %ebx, %edi
movl $5, %esi
movl $4, %edx
movq -56(%rbp), %rcx ## 8-byte Reload
movl %r13d, %r8d
movl %r12d, %r9d
pushq -64(%rbp) ## 8-byte Folded Reload
pushq -72(%rbp) ## 8-byte Folded Reload
pushq %rax
callq _rtas_call
addq $32, %rsp
movl %eax, %r12d
movl %eax, %edi
callq _rtas_busy_delay
testq %rax, %rax
jne LBB0_1
## %bb.2:
movl 4(%r15), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl %r14d, %edi
callq _BUID_HI
movl %eax, %r15d
movl %r14d, %edi
callq _BUID_LO
movq -56(%rbp), %rcx ## 8-byte Reload
movl 8(%rcx), %r10d
movl (%rcx), %ebx
movl 4(%rcx), %r11d
leaq L_.str(%rip), %rsi
movq -80(%rbp), %rdi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
movl %r13d, %ecx
movl %r15d, %r8d
movl %eax, %r9d
pushq %rbx
pushq %r11
pushq %r10
pushq %r12
pushq -64(%rbp) ## 8-byte Folded Reload
pushq -72(%rbp) ## 8-byte Folded Reload
callq _dev_info
addq $48, %rsp
movl %r12d, %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 "ibm,create-pe-dma-window(%x) %x %x %x %x %x returned %d (liobn = 0x%x starting addr = %x %x)\n"
.no_dead_strip _create_ddw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function create_ddw
_create_ddw: ; @create_ddw
.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, x4
mov x20, x3
mov x22, x2
mov x24, x1
mov x21, x0
bl _pci_device_to_OF_node
bl _PCI_DN
ldr x8, [x0, #8]
ldr w25, [x8]
ldp w8, w9, [x0]
lsl w9, w9, #8
orr w23, w9, w8, lsl #16
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w26, [x24, #4]
mov x0, x25
bl _BUID_HI
mov x27, x0
mov x0, x25
bl _BUID_LO
mov x6, x0
str w19, [sp]
mov x0, x26
mov w1, #5
mov w2, #4
mov x3, x22
mov x4, x23
mov x5, x27
mov x7, x20
bl _rtas_call
mov x26, x0
bl _rtas_busy_delay
cbnz x0, LBB0_1
; %bb.2:
ldr w24, [x24, #4]
mov x0, x25
bl _BUID_HI
mov x27, x0
mov x0, x25
bl _BUID_LO
mov x5, x0
ldp w9, w8, [x22, #4]
ldr w10, [x22]
stp w9, w10, [sp, #8]
stp w26, w8, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
mov x2, x24
mov x3, x23
mov x4, x27
mov x6, x20
mov x7, x19
bl _dev_info
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 AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ibm,create-pe-dma-window(%x) %x %x %x %x %x returned %d (liobn = 0x%x starting addr = %x %x)\n"
.no_dead_strip _create_ddw
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/pseries/extr_iommu.c_create_ddw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fan_to_reg
_fan_to_reg: ## @fan_to_reg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $65535, %eax ## imm = 0xFFFF
cmpq $83, %rdi
jb LBB0_3
## %bb.1:
movl $4, %eax
cmpq $1349999, %rdi ## imm = 0x14996F
ja LBB0_3
## %bb.2:
movq %rdi, %rax
shrq %rax
addl $1350000, %eax ## imm = 0x149970
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %edi
shll $2, %eax
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fan_to_reg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fan_to_reg
_fan_to_reg: ; @fan_to_reg
.cfi_startproc
; %bb.0:
cmp x0, #83
b.hs LBB0_2
; %bb.1:
mov w0, #65535
ret
LBB0_2:
mov w8, #39279
movk w8, #20, lsl #16
cmp x0, x8
b.ls LBB0_4
; %bb.3:
mov w0, #4
ret
LBB0_4:
lsr x8, x0, #1
add w8, w8, #329, lsl #12 ; =1347584
add w8, w8, #2416
udiv w8, w8, w0
lsl w0, w8, #2
ret
.cfi_endproc
; -- End function
.no_dead_strip _fan_to_reg
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hwmon/extr_pc87427.c_fan_to_reg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function voice_alloc
_voice_alloc: ## @voice_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 %rbx
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $esi killed $esi def $rsi
movq $0, (%rcx)
movq _NUM_G@GOTPCREL(%rip), %r10
movl (%r10), %r11d
testl %r11d, %r11d
jle LBB0_13
## %bb.1:
movl %edx, %r8d
movl (%rdi), %r9d
xorl %r14d, %r14d
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
movl %r9d, %eax
cltd
idivl %r11d
movl %edx, %r9d
cmpl $2, %r8d
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %r9d, %eax
andl $1, %eax
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
incl %r9d
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
addl %r8d, %r9d
addl %r8d, %r14d
cmpl %r11d, %r14d
jl LBB0_2
jmp LBB0_13
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
testl %r8d, %r8d
jle LBB0_10
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rdi), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal (%r9,%rbx), %eax
cltd
idivl %r11d
movslq %edx, %rax
leaq (%rax,%rax,4), %rax
cmpl $0, (%r15,%rax,4)
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_8 Depth=2
incl %ebx
cmpl %ebx, %r8d
jne LBB0_8
## %bb.12:
leal (%r9,%r8), %eax
cltd
idivl %r11d
movl %edx, (%rdi)
cmpl %edx, %r9d
jne LBB0_14
LBB0_13:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_24
LBB0_14:
movq 8(%rdi), %rbx
addl $-128, %esi
leaq LJTI0_0(%rip), %r11
movl %r9d, %edi
jmp LBB0_15
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_15 Depth=1
leaq (%rbx,%rax,4), %rax
addq $16, %rax
LBB0_21: ## in Loop: Header=BB0_15 Depth=1
movl $1, (%rax)
LBB0_22: ## in Loop: Header=BB0_15 Depth=1
incl %edi
decl %r8d
je LBB0_23
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl %edi, %eax
cltd
idivl (%r10)
movslq %edx, %rax
leaq (%rax,%rax,4), %rax
movl $1, (%rbx,%rax,4)
cmpl $3, %esi
ja LBB0_22
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movslq (%r11,%rsi,4), %rdx
addq %r11, %rdx
jmpq *%rdx
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
leaq (%rbx,%rax,4), %rax
addq $8, %rax
jmp LBB0_21
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=1
leaq (%rbx,%rax,4), %rax
addq $4, %rax
jmp LBB0_21
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_15 Depth=1
leaq (%rbx,%rax,4), %rax
addq $12, %rax
jmp LBB0_21
LBB0_10:
addl %r9d, %r8d
movl %r8d, %eax
cltd
idivl %r11d
movl %edx, (%rdi)
cmpl %edx, %r9d
je LBB0_13
## %bb.11:
movq 8(%rdi), %rbx
LBB0_23:
movslq %r9d, %rax
leaq (%rax,%rax,4), %rax
leaq (%rbx,%rax,4), %rax
movq %rax, (%rcx)
xorl %eax, %eax
LBB0_24:
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
.long L0_0_set_18
.long L0_0_set_17
.long L0_0_set_19
.long L0_0_set_20
.end_data_region
## -- End function
.comm _NUM_G,4,2 ## @NUM_G
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _voice_alloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function voice_alloc
_voice_alloc: ; @voice_alloc
.cfi_startproc
; %bb.0:
str xzr, [x3]
Lloh0:
adrp x8, _NUM_G@GOTPAGE
Lloh1:
ldr x8, [x8, _NUM_G@GOTPAGEOFF]
ldr w10, [x8]
cmp w10, #1
b.lt LBB0_11
; %bb.1:
mov w11, #0
ldr w9, [x0]
mov w12, #20
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
sdiv w13, w9, w10
msub w9, w13, w10, w9
cmp w2, #2
b.ne LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
tbz w9, #0, LBB0_6
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add w9, w9, #1
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
add w9, w9, w2
add w11, w11, w2
cmp w11, w10
b.lt LBB0_2
b LBB0_11
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
cmp w2, #1
b.lt LBB0_21
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov w13, #0
ldr x14, [x0, #8]
LBB0_8: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
add w15, w9, w13
sdiv w16, w15, w10
msub w15, w16, w10, w15
smull x15, w15, w12
ldr w15, [x14, x15]
cbnz w15, LBB0_5
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add w13, w13, #1
cmp w2, w13
b.ne LBB0_8
; %bb.10:
add w11, w9, w2
sdiv w12, w11, w10
msub w10, w12, w10, w11
str w10, [x0]
cmp w9, w10
b.ne LBB0_12
LBB0_11:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
ret
LBB0_12:
ldr x10, [x0, #8]
mov w11, #20
mov w12, #1
sub w13, w1, #128
mov x14, x9
Lloh5:
adrp x15, lJTI0_0@PAGE
Lloh6:
add x15, x15, lJTI0_0@PAGEOFF
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_16 Depth=1
madd x16, x16, x11, x10
add x16, x16, #16
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
str w12, [x16]
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add w14, w14, #1
subs w2, w2, #1
b.eq LBB0_23
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr w16, [x8]
sdiv w17, w14, w16
msub w16, w17, w16, w14
smull x17, w16, w11
str w12, [x10, x17]
cmp w13, #3
b.hi LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
sxtw x16, w16
adr x17, LBB0_13
ldrb w0, [x15, x13]
add x17, x17, x0, lsl #2
br x17
LBB0_18: ; in Loop: Header=BB0_16 Depth=1
madd x16, x16, x11, x10
add x16, x16, #8
b LBB0_14
LBB0_19: ; in Loop: Header=BB0_16 Depth=1
madd x16, x16, x11, x10
add x16, x16, #4
b LBB0_14
LBB0_20: ; in Loop: Header=BB0_16 Depth=1
madd x16, x16, x11, x10
add x16, x16, #12
b LBB0_14
LBB0_21:
add w8, w9, w2
sdiv w11, w8, w10
msub w8, w11, w10, w8
str w8, [x0]
cmp w9, w8
b.eq LBB0_11
; %bb.22:
ldr x10, [x0, #8]
LBB0_23:
mov w0, #0
mov w8, #20
smaddl x8, w9, w8, x10
str x8, [x3]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_18-LBB0_13)>>2
.byte (LBB0_19-LBB0_13)>>2
.byte (LBB0_20-LBB0_13)>>2
.byte (LBB0_13-LBB0_13)>>2
; -- End function
.comm _NUM_G,4,2 ; @NUM_G
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _voice_alloc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_voice.c_voice_alloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isp_mbox_release ## -- Begin function isp_mbox_release
.p2align 4, 0x90
_isp_mbox_release: ## @isp_mbox_release
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rdi)
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 _isp_mbox_release ; -- Begin function isp_mbox_release
.p2align 2
_isp_mbox_release: ; @isp_mbox_release
.cfi_startproc
; %bb.0:
str xzr, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/isp/extr_isp_freebsd.c_isp_mbox_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scic_sds_port_default_remove_phy_handler ## -- Begin function scic_sds_port_default_remove_phy_handler
.p2align 4, 0x90
_scic_sds_port_default_remove_phy_handler: ## @scic_sds_port_default_remove_phy_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _sci_base_object_get_logger
movq %rbx, %rdi
callq _scic_sds_port_get_base_state_machine
movl %eax, %edi
callq _sci_base_state_machine_get_state
movl %eax, %edi
callq _SCIC_LOG_WARNING
movq _SCI_FAILURE_INVALID_STATE@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SCIC_LOG_OBJECT_PORT,4,2 ## @SCIC_LOG_OBJECT_PORT
.comm _SCI_FAILURE_INVALID_STATE,4,2 ## @SCI_FAILURE_INVALID_STATE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scic_sds_port_default_remove_phy_handler ; -- Begin function scic_sds_port_default_remove_phy_handler
.p2align 2
_scic_sds_port_default_remove_phy_handler: ; @scic_sds_port_default_remove_phy_handler
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _sci_base_object_get_logger
mov x0, x19
bl _scic_sds_port_get_base_state_machine
bl _sci_base_state_machine_get_state
bl _SCIC_LOG_WARNING
Lloh0:
adrp x8, _SCI_FAILURE_INVALID_STATE@GOTPAGE
Lloh1:
ldr x8, [x8, _SCI_FAILURE_INVALID_STATE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SCIC_LOG_OBJECT_PORT,4,2 ; @SCIC_LOG_OBJECT_PORT
.comm _SCI_FAILURE_INVALID_STATE,4,2 ; @SCI_FAILURE_INVALID_STATE
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_port.c_scic_sds_port_default_remove_phy_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __kernfs_iattrs
___kernfs_iattrs: ## @__kernfs_iattrs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
leaq ___kernfs_iattrs.iattr_mutex(%rip), %rdi
callq _mutex_lock
movq (%r14), %rbx
testl %r15d, %r15d
je LBB0_5
## %bb.1:
testq %rbx, %rbx
jne LBB0_5
## %bb.2:
movq _kernfs_iattrs_cache@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kmem_cache_zalloc
movq %rax, (%r14)
testq %rax, %rax
je LBB0_3
## %bb.4:
movq _GLOBAL_ROOT_UID@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 20(%rax)
movq _GLOBAL_ROOT_GID@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rax)
addq $4, %rax
movq %rax, %rdi
callq _ktime_get_real_ts64
movq (%r14), %rdi
movl 4(%rdi), %eax
movl %eax, 12(%rdi)
movl %eax, 8(%rdi)
callq _simple_xattrs_init
movq (%r14), %rbx
jmp LBB0_5
LBB0_3:
xorl %ebx, %ebx
LBB0_5:
leaq ___kernfs_iattrs.iattr_mutex(%rip), %rdi
callq _mutex_unlock
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,___kernfs_iattrs.iattr_mutex,4,2 ## @__kernfs_iattrs.iattr_mutex
.comm _kernfs_iattrs_cache,4,2 ## @kernfs_iattrs_cache
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _GLOBAL_ROOT_UID,4,2 ## @GLOBAL_ROOT_UID
.comm _GLOBAL_ROOT_GID,4,2 ## @GLOBAL_ROOT_GID
.no_dead_strip ___kernfs_iattrs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __kernfs_iattrs
___kernfs_iattrs: ; @__kernfs_iattrs
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
Lloh0:
adrp x0, ___kernfs_iattrs.iattr_mutex@PAGE
Lloh1:
add x0, x0, ___kernfs_iattrs.iattr_mutex@PAGEOFF
bl _mutex_lock
ldr x20, [x19]
cbz w21, LBB0_5
; %bb.1:
cbnz x20, LBB0_5
; %bb.2:
Lloh2:
adrp x8, _kernfs_iattrs_cache@GOTPAGE
Lloh3:
ldr x8, [x8, _kernfs_iattrs_cache@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
Lloh5:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh6:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
bl _kmem_cache_zalloc
str x0, [x19]
cbz x0, LBB0_4
; %bb.3:
Lloh8:
adrp x8, _GLOBAL_ROOT_UID@GOTPAGE
Lloh9:
ldr x8, [x8, _GLOBAL_ROOT_UID@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _GLOBAL_ROOT_GID@GOTPAGE
Lloh12:
ldr x9, [x9, _GLOBAL_ROOT_GID@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
stp w9, w8, [x0, #16]
add x0, x0, #4
bl _ktime_get_real_ts64
ldr x0, [x19]
ldr w8, [x0, #4]
stp w8, w8, [x0, #8]
bl _simple_xattrs_init
ldr x20, [x19]
b LBB0_5
LBB0_4:
mov x20, #0
LBB0_5:
Lloh14:
adrp x0, ___kernfs_iattrs.iattr_mutex@PAGE
Lloh15:
add x0, x0, ___kernfs_iattrs.iattr_mutex@PAGEOFF
bl _mutex_unlock
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,___kernfs_iattrs.iattr_mutex,4,2 ; @__kernfs_iattrs.iattr_mutex
.comm _kernfs_iattrs_cache,4,2 ; @kernfs_iattrs_cache
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _GLOBAL_ROOT_UID,4,2 ; @GLOBAL_ROOT_UID
.comm _GLOBAL_ROOT_GID,4,2 ; @GLOBAL_ROOT_GID
.no_dead_strip ___kernfs_iattrs
.subsections_via_symbols
| AnghaBench/linux/fs/kernfs/extr_inode.c___kernfs_iattrs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function archinfo
_archinfo: ## @archinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _R_ANAL_ARCHINFO_MAX_OP_SIZE@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpl %esi, (%rax)
movq _R_ANAL_ARCHINFO_ALIGN@GOTPCREL(%rip), %rax
sete %cl
cmpl %esi, (%rax)
leal 2(%rcx,%rcx), %ecx
movl $2, %eax
cmovnel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _R_ANAL_ARCHINFO_ALIGN,4,2 ## @R_ANAL_ARCHINFO_ALIGN
.comm _R_ANAL_ARCHINFO_MAX_OP_SIZE,4,2 ## @R_ANAL_ARCHINFO_MAX_OP_SIZE
.comm _R_ANAL_ARCHINFO_MIN_OP_SIZE,4,2 ## @R_ANAL_ARCHINFO_MIN_OP_SIZE
.no_dead_strip _archinfo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function archinfo
_archinfo: ; @archinfo
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _R_ANAL_ARCHINFO_ALIGN@GOTPAGE
Lloh1:
ldr x8, [x8, _R_ANAL_ARCHINFO_ALIGN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _R_ANAL_ARCHINFO_MAX_OP_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _R_ANAL_ARCHINFO_MAX_OP_SIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
mov w10, #2
mov w11, #4
cmp w9, w1
csel w9, w11, w10, eq
cmp w8, w1
csel w0, w10, w9, eq
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _R_ANAL_ARCHINFO_ALIGN,4,2 ; @R_ANAL_ARCHINFO_ALIGN
.comm _R_ANAL_ARCHINFO_MAX_OP_SIZE,4,2 ; @R_ANAL_ARCHINFO_MAX_OP_SIZE
.comm _R_ANAL_ARCHINFO_MIN_OP_SIZE,4,2 ; @R_ANAL_ARCHINFO_MIN_OP_SIZE
.no_dead_strip _archinfo
.subsections_via_symbols
| AnghaBench/radare2/libr/anal/p/extr_anal_avr.c_archinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ql4xxx_sem_lock ## -- Begin function ql4xxx_sem_lock
.p2align 4, 0x90
_ql4xxx_sem_lock: ## @ql4xxx_sem_lock
.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, %r15d
movl %esi, %r12d
movq %rdi, %r14
leaq 4(%rdi), %r13
movq %r13, %rdi
callq _spin_lock_irqsave
movl %r15d, %ebx
orl %r12d, %ebx
movq %r14, %rdi
callq _isp_semaphore
movl %ebx, %edi
movl %eax, %esi
callq _writel
movq %r14, %rdi
callq _isp_semaphore
movl %eax, %edi
callq _readw
movl %eax, %ebx
movq %r13, %rdi
callq _spin_unlock_irqrestore
movl %r12d, %ecx
sarl $16, %ecx
andl %ebx, %ecx
xorl %eax, %eax
cmpl %r15d, %ecx
jne LBB0_2
## %bb.1:
movl (%r14), %esi
leaq L_.str(%rip), %rdi
movl %r12d, %edx
movl %r15d, %ecx
movl %ebx, %r8d
callq _printk
movl %eax, %edi
callq _DEBUG2
movl $1, %eax
LBB0_2:
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 "scsi%ld : Got SEM LOCK - mask= 0x%x, code = 0x%x, sema code=0x%x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ql4xxx_sem_lock ; -- Begin function ql4xxx_sem_lock
.p2align 2
_ql4xxx_sem_lock: ; @ql4xxx_sem_lock
.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
add x23, x0, #4
mov x0, x23
bl _spin_lock_irqsave
orr w22, w19, w20
mov x0, x21
bl _isp_semaphore
mov x1, x0
mov x0, x22
bl _writel
mov x0, x21
bl _isp_semaphore
bl _readw
mov x22, x0
mov x0, x23
bl _spin_unlock_irqrestore
and w8, w22, w20, asr #16
cmp w8, w19
b.ne LBB0_2
; %bb.1:
ldr w1, [x21]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x2, x20
mov x3, x19
mov x4, x22
bl _printk
bl _DEBUG2
mov w0, #1
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "scsi%ld : Got SEM LOCK - mask= 0x%x, code = 0x%x, sema code=0x%x\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_nvram.c_ql4xxx_sem_lock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlxsw_sp_acl_fini ## -- Begin function mlxsw_sp_acl_fini
.p2align 4, 0x90
_mlxsw_sp_acl_fini: ## @mlxsw_sp_acl_fini
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq (%rdi), %rbx
leaq 20(%rbx), %rdi
callq _cancel_delayed_work_sync
leaq 16(%rbx), %rsi
movq %r14, %rdi
callq _mlxsw_sp_acl_tcam_fini
leaq 12(%rbx), %rdi
callq _list_empty
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _WARN_ON
movl 8(%rbx), %edi
callq _mlxsw_sp_fid_put
leaq 4(%rbx), %rdi
callq _rhashtable_destroy
movl (%rbx), %edi
callq _mlxsw_afk_destroy
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlxsw_sp_acl_fini ; -- Begin function mlxsw_sp_acl_fini
.p2align 2
_mlxsw_sp_acl_fini: ; @mlxsw_sp_acl_fini
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x20, [x0]
add x0, x20, #20
bl _cancel_delayed_work_sync
add x1, x20, #16
mov x0, x19
bl _mlxsw_sp_acl_tcam_fini
add x0, x20, #12
bl _list_empty
cmp w0, #0
cset w0, eq
bl _WARN_ON
ldr w0, [x20, #8]
bl _mlxsw_sp_fid_put
add x0, x20, #4
bl _rhashtable_destroy
ldr w0, [x20]
bl _mlxsw_afk_destroy
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_fini.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function startup
_startup: ## @startup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
leaq -24(%rbp), %rdi
leaq -12(%rbp), %rsi
callq _firstprinter
movl %eax, %ebx
cmpl $0, -12(%rbp)
jne LBB0_10
LBB0_1:
testl %ebx, %ebx
je LBB0_13
## %bb.2:
leaq -24(%rbp), %rdi
callq _ckqueue
testq %rax, %rax
jle LBB0_9
## %bb.3:
movq _lflag@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_5
## %bb.4:
movq _LOG_INFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rdx
leaq L_.str(%rip), %rsi
callq _syslog
LBB0_5:
xorl %eax, %eax
callq _fork
movl %eax, %ebx
testl %eax, %eax
js LBB0_6
## %bb.7:
testl %ebx, %ebx
jne LBB0_9
jmp LBB0_8
LBB0_6:
movq _LOG_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rdx
leaq L_.str.1(%rip), %rsi
callq _syslog
xorl %edi, %edi
callq _mcleanup
testl %ebx, %ebx
jne LBB0_9
LBB0_8:
xorl %eax, %eax
callq _lastprinter
leaq -24(%rbp), %rdi
callq _printjob
jmp LBB0_9
LBB0_13:
addq $24, %rsp
popq %rbx
popq %rbp
retq
LBB0_9:
leaq -24(%rbp), %rdi
leaq -12(%rbp), %rsi
callq _nextprinter
movl %eax, %ebx
xorl %eax, %eax
cmpl $0, -12(%rbp)
je LBB0_11
LBB0_10:
movq _LOG_WARNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -24(%rbp), %rax
testq %rax, %rax
leaq L_.str.3(%rip), %rdx
cmovneq %rax, %rdx
leaq L_.str.2(%rip), %rsi
callq _syslog
movl -12(%rbp), %eax
LBB0_11:
testl %ebx, %ebx
je LBB0_1
## %bb.12:
testl %eax, %eax
jne LBB0_9
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _lflag,8,3 ## @lflag
.comm _LOG_INFO,4,2 ## @LOG_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lpd startup: work for %s"
.comm _LOG_WARNING,4,2 ## @LOG_WARNING
L_.str.1: ## @.str.1
.asciz "lpd startup: cannot fork for %s"
L_.str.2: ## @.str.2
.asciz "lpd startup: printcap entry for %s has errors, skipping"
L_.str.3: ## @.str.3
.asciz "<noname?>"
.no_dead_strip _startup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function startup
_startup: ; @startup
.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 x0, sp
add x1, sp, #12
bl _firstprinter
mov x19, x0
ldr w8, [sp, #12]
Lloh0:
adrp x20, _LOG_WARNING@GOTPAGE
Lloh1:
ldr x20, [x20, _LOG_WARNING@GOTPAGEOFF]
cbnz w8, LBB0_11
LBB0_1:
cbz w19, LBB0_9
; %bb.2:
mov x0, sp
bl _ckqueue
cmp x0, #1
b.lt LBB0_10
; %bb.3:
Lloh2:
adrp x8, _lflag@GOTPAGE
Lloh3:
ldr x8, [x8, _lflag@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cbz x8, LBB0_5
; %bb.4:
Lloh5:
adrp x8, _LOG_INFO@GOTPAGE
Lloh6:
ldr x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr x2, [sp]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _syslog
LBB0_5:
bl _fork
mov x19, x0
tbnz w0, #31, LBB0_7
; %bb.6:
cbnz w19, LBB0_10
b LBB0_8
LBB0_7:
ldr w0, [x20]
ldr x2, [sp]
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
bl _syslog
mov w0, #0
bl _mcleanup
cbnz w19, LBB0_10
LBB0_8:
bl _lastprinter
mov x0, sp
bl _printjob
b LBB0_10
LBB0_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_10:
mov x0, sp
add x1, sp, #12
bl _nextprinter
mov x19, x0
mov w8, #0
ldr w9, [sp, #12]
cbz w9, LBB0_12
LBB0_11:
ldr w0, [x20]
ldr x8, [sp]
Lloh12:
adrp x9, l_.str.3@PAGE
Lloh13:
add x9, x9, l_.str.3@PAGEOFF
cmp x8, #0
csel x2, x9, x8, eq
Lloh14:
adrp x1, l_.str.2@PAGE
Lloh15:
add x1, x1, l_.str.2@PAGEOFF
bl _syslog
ldr w8, [sp, #12]
LBB0_12:
cbz w19, LBB0_1
; %bb.13:
cbnz w8, LBB0_10
b LBB0_1
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _lflag,8,3 ; @lflag
.comm _LOG_INFO,4,2 ; @LOG_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lpd startup: work for %s"
.comm _LOG_WARNING,4,2 ; @LOG_WARNING
l_.str.1: ; @.str.1
.asciz "lpd startup: cannot fork for %s"
l_.str.2: ; @.str.2
.asciz "lpd startup: printcap entry for %s has errors, skipping"
l_.str.3: ; @.str.3
.asciz "<noname?>"
.no_dead_strip _startup
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/lpr/lpd/extr_lpd.c_startup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ext4_readdir
_ext4_readdir: ## @ext4_readdir
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, %r15
callq _file_inode
movq %rax, %r14
movq 16(%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %edi, %edi
xorl %esi, %esi
callq _FSTR_INIT
movl %eax, -144(%rbp)
movq %rdx, -136(%rbp)
movq %r14, %rdi
callq _IS_ENCRYPTED
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r14, %rdi
callq _fscrypt_get_encryption_info
movl %eax, %ebx
movq _ENOKEY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %ebx, %eax
jne LBB0_56
LBB0_2:
movq %r14, %rdi
callq _is_dx_dir
testq %rax, %rax
je LBB0_5
## %bb.3:
movq %r15, %rdi
movq %r13, %rsi
callq _ext4_dx_readdir
movl %eax, %ebx
movq _ERR_BAD_DX_DIR@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jne LBB0_56
## %bb.4:
movq %r15, %rdi
callq _file_inode
movq _EXT4_INODE_INDEX@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _ext4_clear_inode_flag
LBB0_5:
movq %r14, %rdi
callq _ext4_has_inline_data
testq %rax, %rax
je LBB0_8
## %bb.6:
movl $1, -112(%rbp)
leaq -112(%rbp), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq _ext4_read_inline_dir
cmpl $0, -112(%rbp)
jne LBB0_55
LBB0_8:
movq %r14, %rdi
callq _IS_ENCRYPTED
testq %rax, %rax
je LBB0_10
## %bb.9:
movq _EXT4_NAME_LEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -144(%rbp), %rdx
movq %r14, %rdi
callq _fscrypt_fname_alloc_buffer
testl %eax, %eax
jle LBB0_55
LBB0_10:
movl (%r13), %eax
cmpl (%r14), %eax
jge LBB0_52
## %bb.11:
leaq 4(%r15), %rax
movq %rax, -168(%rbp) ## 8-byte Spill
movq %r15, -88(%rbp) ## 8-byte Spill
movq %r14, -56(%rbp) ## 8-byte Spill
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r13, -80(%rbp) ## 8-byte Spill
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_14 Depth=1
movl -152(%rbp), %eax
cmpl $1, %eax
adcl $0, %eax
imull (%r15), %eax
addl %eax, (%r13)
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
movl (%r13), %eax
cmpl (%r14), %eax
jge LBB0_52
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_30 Depth 2
## Child Loop BB0_39 Depth 2
movq _current@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _fatal_signal_pending
testq %rax, %rax
jne LBB0_57
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
xorl %eax, %eax
callq _cond_resched
movl (%r13), %ebx
movl (%r15), %eax
decl %eax
andl %ebx, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq %r15, %rdi
callq _EXT4_BLOCK_SIZE_BITS
movl %eax, %ecx
sarl %cl, %ebx
movl %ebx, -156(%rbp)
movl $1, -152(%rbp)
xorl %edi, %edi
movq %r14, %rsi
leaq -156(%rbp), %rdx
xorl %ecx, %ecx
callq _ext4_map_blocks
testl %eax, %eax
je LBB0_12
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
jle LBB0_20
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
movl -148(%rbp), %ebx
movq _PAGE_SHIFT@GOTPCREL(%rip), %r15
movl (%r15), %ecx
subl 4(%r14), %ecx
## kill: def $cl killed $cl killed $ecx
sarl %cl, %ebx
movq -168(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
movl %ebx, %esi
callq _ra_has_index
testl %eax, %eax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_14 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq (%rax), %rax
movl (%rax), %edi
movq %r12, %rsi
movq -88(%rbp), %rdx ## 8-byte Reload
movl %ebx, %ecx
movl $1, %r8d
callq _page_cache_sync_readahead
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
movzbl (%r15), %ecx
shll %cl, %ebx
movl %ebx, (%r12)
movl -156(%rbp), %edx
xorl %edi, %edi
movq %r14, %rsi
xorl %ecx, %ecx
callq _ext4_bread
movq %rax, %r12
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_21
jmp LBB0_59
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_14 Depth=1
xorl %r12d, %r12d
LBB0_21: ## in Loop: Header=BB0_14 Depth=1
testq %r12, %r12
movq -64(%rbp), %r15 ## 8-byte Reload
je LBB0_26
## %bb.22: ## in Loop: Header=BB0_14 Depth=1
movq %r12, %rdi
callq _buffer_verified
testl %eax, %eax
jne LBB0_24
## %bb.23: ## in Loop: Header=BB0_14 Depth=1
movq %r14, %rdi
movq %r12, %rsi
callq _ext4_dirblock_csum_verify
testl %eax, %eax
je LBB0_33
LBB0_24: ## in Loop: Header=BB0_14 Depth=1
movq %r12, %rdi
callq _set_buffer_verified
movq -88(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
movq %r14, %rdi
callq _inode_eq_iversion
testl %eax, %eax
je LBB0_28
## %bb.25: ## in Loop: Header=BB0_14 Depth=1
movl -48(%rbp), %edx ## 4-byte Reload
jmp LBB0_37
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_14 Depth=1
movl (%r13), %eax
movl 8(%r14), %ecx
shll $9, %ecx
cmpl %ecx, %eax
jg LBB0_13
## %bb.27: ## in Loop: Header=BB0_14 Depth=1
subl -48(%rbp), %eax ## 4-byte Folded Reload
addl (%r15), %eax
movl %eax, (%r13)
jmp LBB0_13
LBB0_28: ## in Loop: Header=BB0_14 Depth=1
movl (%r15), %esi
testl %esi, %esi
setg %al
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
setne %cl
andb %al, %cl
xorl %r14d, %r14d
cmpb $1, %cl
jne LBB0_36
## %bb.29: ## in Loop: Header=BB0_14 Depth=1
xorl %r14d, %r14d
movq %r12, -128(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r12), %r15
movslq %r14d, %r13
movl 4(%r15,%r13), %edi
callq _ext4_rec_len_from_disk
movq %rax, %rbx
movl $1, %edi
callq _EXT4_DIR_REC_LEN
movq -64(%rbp), %r12 ## 8-byte Reload
movl (%r12), %esi
cmpq %rax, %rbx
jl LBB0_35
## %bb.31: ## in Loop: Header=BB0_30 Depth=2
movl 4(%r15,%r13), %edi
callq _ext4_rec_len_from_disk
movl %r13d, %r14d
addl %eax, %r14d
movl (%r12), %esi
cmpl %esi, %r14d
jge LBB0_35
## %bb.32: ## in Loop: Header=BB0_30 Depth=2
cmpl -48(%rbp), %r14d ## 4-byte Folded Reload
movq -128(%rbp), %r12 ## 8-byte Reload
jb LBB0_30
jmp LBB0_36
LBB0_33: ## in Loop: Header=BB0_14 Depth=1
movslq (%r13), %rcx
movq -88(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
leaq L_.str(%rip), %rdx
callq _EXT4_ERROR_FILE
movl (%r15), %eax
subl -48(%rbp), %eax ## 4-byte Folded Reload
addl %eax, (%r13)
movq %r12, %rdi
callq _brelse
jmp LBB0_13
LBB0_35: ## in Loop: Header=BB0_14 Depth=1
movq -128(%rbp), %r12 ## 8-byte Reload
LBB0_36: ## in Loop: Header=BB0_14 Depth=1
negl %esi
movq -80(%rbp), %r13 ## 8-byte Reload
andl (%r13), %esi
orl %r14d, %esi
movl %esi, (%r13)
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _inode_query_iversion
movq -88(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl %r14d, %edx
movq %rbx, %r14
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_37: ## in Loop: Header=BB0_14 Depth=1
movl (%r13), %eax
movl (%r14), %ecx
cmpl %ecx, %eax
jge LBB0_48
## %bb.38: ## in Loop: Header=BB0_14 Depth=1
cmpl (%r15), %edx
jae LBB0_48
LBB0_39: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r12), %r8
movl %edx, %r14d
addq %r8, %r14
movl (%r12), %r9d
movl %edx, %r13d
movl %edx, (%rsp)
movq -56(%rbp), %rdi ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
movq %r12, %rcx
callq _ext4_check_dir_entry
testq %rax, %rax
jne LBB0_51
## %bb.40: ## in Loop: Header=BB0_39 Depth=2
movl 4(%r14), %edi
movl (%r15), %esi
callq _ext4_rec_len_from_disk
movq %rax, %rbx
movl 12(%r14), %edi
callq _le32_to_cpu
testq %rax, %rax
je LBB0_46
## %bb.41: ## in Loop: Header=BB0_39 Depth=2
movq %rbx, -48(%rbp) ## 8-byte Spill
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _IS_ENCRYPTED
testq %rax, %rax
je LBB0_44
## %bb.42: ## in Loop: Header=BB0_39 Depth=2
movl -144(%rbp), %r15d
movq 16(%r14), %rdi
movl (%r14), %esi
callq _FSTR_INIT
movl %eax, -112(%rbp)
movq %rdx, -104(%rbp)
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq -112(%rbp), %rcx
leaq -144(%rbp), %r8
callq _fscrypt_fname_disk_to_usr
movups -144(%rbp), %xmm0
movaps %xmm0, -112(%rbp)
movl %r15d, -144(%rbp)
testl %eax, %eax
jne LBB0_60
## %bb.43: ## in Loop: Header=BB0_39 Depth=2
movq -104(%rbp), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movl -112(%rbp), %eax
jmp LBB0_45
LBB0_44: ## in Loop: Header=BB0_39 Depth=2
movq 16(%r14), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movl (%r14), %eax
LBB0_45: ## in Loop: Header=BB0_39 Depth=2
movl %eax, -68(%rbp) ## 4-byte Spill
movl 12(%r14), %edi
callq _le32_to_cpu
movq %rax, %rbx
movl 8(%r14), %esi
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _get_dtype
movq -80(%rbp), %rdi ## 8-byte Reload
movq -120(%rbp), %rsi ## 8-byte Reload
movl -68(%rbp), %edx ## 4-byte Reload
movq %rbx, %rcx
movl %eax, %r8d
callq _dir_emit
testl %eax, %eax
movq -48(%rbp), %rbx ## 8-byte Reload
je LBB0_58
LBB0_46: ## in Loop: Header=BB0_39 Depth=2
movl 4(%r14), %edi
movl (%r15), %esi
callq _ext4_rec_len_from_disk
movq -80(%rbp), %rcx ## 8-byte Reload
addl (%rcx), %eax
movl %eax, (%rcx)
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %ecx
cmpl %ecx, %eax
jge LBB0_48
## %bb.47: ## in Loop: Header=BB0_39 Depth=2
movl %r13d, %edx
addl %ebx, %edx
cmpl (%r15), %edx
jb LBB0_39
LBB0_48: ## in Loop: Header=BB0_14 Depth=1
cmpl %ecx, %eax
jge LBB0_50
LBB0_49: ## in Loop: Header=BB0_14 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _dir_relax_shared
testl %eax, %eax
je LBB0_58
LBB0_50: ## in Loop: Header=BB0_14 Depth=1
movq %r12, %rdi
callq _brelse
movq -56(%rbp), %r14 ## 8-byte Reload
movq -80(%rbp), %r13 ## 8-byte Reload
jmp LBB0_13
LBB0_51: ## in Loop: Header=BB0_14 Depth=1
movl (%r15), %eax
decl %eax
movq -80(%rbp), %rcx ## 8-byte Reload
orl (%rcx), %eax
incl %eax
movl %eax, (%rcx)
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %ecx
cmpl %ecx, %eax
jl LBB0_49
jmp LBB0_50
LBB0_55:
movl %eax, %ebx
jmp LBB0_56
LBB0_52:
xorl %ebx, %ebx
LBB0_53:
xorl %r12d, %r12d
LBB0_54:
leaq -144(%rbp), %rdi
callq _fscrypt_fname_free_buffer
movq %r12, %rdi
callq _brelse
LBB0_56:
movl %ebx, %eax
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_57:
movq _ERESTARTSYS@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_54
LBB0_58:
xorl %ebx, %ebx
jmp LBB0_54
LBB0_59:
movq %r12, %rdi
callq _PTR_ERR
movl %eax, %ebx
jmp LBB0_53
LBB0_60:
movl %eax, %ebx
jmp LBB0_54
.cfi_endproc
## -- End function
.comm _ENOKEY,4,2 ## @ENOKEY
.comm _ERR_BAD_DX_DIR,4,2 ## @ERR_BAD_DX_DIR
.comm _EXT4_INODE_INDEX,4,2 ## @EXT4_INODE_INDEX
.comm _EXT4_NAME_LEN,4,2 ## @EXT4_NAME_LEN
.comm _current,4,2 ## @current
.comm _ERESTARTSYS,4,2 ## @ERESTARTSYS
.comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "directory fails checksum at offset %llu"
.no_dead_strip _ext4_readdir
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ext4_readdir
_ext4_readdir: ; @ext4_readdir
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x28, x0
bl _file_inode
mov x21, x0
ldr x22, [x0, #16]
mov x0, #0 ; =0x0
mov w1, #0 ; =0x0
bl _FSTR_INIT
stp x0, x1, [sp, #48]
mov x0, x21
bl _IS_ENCRYPTED
cbz x0, LBB0_2
; %bb.1:
mov x0, x21
bl _fscrypt_get_encryption_info
Lloh0:
adrp x8, _ENOKEY@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOKEY@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
orr w8, w0, w8
cbnz w8, LBB0_51
LBB0_2:
mov x0, x21
bl _is_dx_dir
cbz x0, LBB0_5
; %bb.3:
mov x0, x28
mov x1, x19
bl _ext4_dx_readdir
Lloh3:
adrp x8, _ERR_BAD_DX_DIR@GOTPAGE
Lloh4:
ldr x8, [x8, _ERR_BAD_DX_DIR@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_51
; %bb.4:
mov x0, x28
bl _file_inode
Lloh6:
adrp x8, _EXT4_INODE_INDEX@GOTPAGE
Lloh7:
ldr x8, [x8, _EXT4_INODE_INDEX@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _ext4_clear_inode_flag
LBB0_5:
mov x0, x21
bl _ext4_has_inline_data
cbz x0, LBB0_7
; %bb.6:
mov w8, #1 ; =0x1
str w8, [sp, #16]
add x2, sp, #16
mov x0, x28
mov x1, x19
bl _ext4_read_inline_dir
ldr w8, [sp, #16]
cbnz w8, LBB0_51
LBB0_7:
mov x0, x21
bl _IS_ENCRYPTED
cbz x0, LBB0_9
; %bb.8:
Lloh9:
adrp x8, _EXT4_NAME_LEN@GOTPAGE
Lloh10:
ldr x8, [x8, _EXT4_NAME_LEN@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
add x2, sp, #48
mov x0, x21
bl _fscrypt_fname_alloc_buffer
cmp w0, #1
b.lt LBB0_51
LBB0_9:
ldr w8, [x19]
ldr w9, [x21]
cmp w8, w9
b.ge LBB0_48
; %bb.10:
Lloh12:
adrp x26, _current@GOTPAGE
Lloh13:
ldr x26, [x26, _current@GOTPAGEOFF]
Lloh14:
adrp x27, _PAGE_SHIFT@GOTPAGE
Lloh15:
ldr x27, [x27, _PAGE_SHIFT@GOTPAGEOFF]
str x28, [sp, #8] ; 8-byte Folded Spill
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
mov x0, x24
bl _brelse
Lloh16:
adrp x26, _current@GOTPAGE
Lloh17:
ldr x26, [x26, _current@GOTPAGEOFF]
Lloh18:
adrp x27, _PAGE_SHIFT@GOTPAGE
Lloh19:
ldr x27, [x27, _PAGE_SHIFT@GOTPAGEOFF]
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x19]
ldr w9, [x21]
cmp w8, w9
b.ge LBB0_48
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_28 Depth 2
; Child Loop BB0_33 Depth 2
ldr w0, [x26]
bl _fatal_signal_pending
cbnz x0, LBB0_52
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
bl _cond_resched
ldr w20, [x19]
ldr w23, [x22]
mov x0, x22
bl _EXT4_BLOCK_SIZE_BITS
asr w9, w20, w0
mov w8, #1 ; =0x1
stp w9, w8, [sp, #36]
add x2, sp, #36
mov x0, #0 ; =0x0
mov x1, x21
mov w3, #0 ; =0x0
bl _ext4_map_blocks
cbz w0, LBB0_19
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
cmp w0, #1
b.lt LBB0_20
; %bb.16: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #44]
ldr w9, [x27]
ldr w10, [x21, #4]
sub w9, w9, w10
asr w24, w8, w9
add x0, x28, #4
mov x1, x24
bl _ra_has_index
cbnz w0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [x22, #8]
ldr x8, [x8]
ldr w0, [x8]
add x1, x28, #4
mov x2, x28
mov x3, x24
mov w4, #1 ; =0x1
bl _page_cache_sync_readahead
LBB0_18: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x27]
lsl w8, w24, w8
stur w8, [x28, #4]
ldr w2, [sp, #36]
mov x0, #0 ; =0x0
mov x1, x21
mov w3, #0 ; =0x0
bl _ext4_bread
mov x24, x0
bl _IS_ERR
cbz x0, LBB0_21
b LBB0_54
LBB0_19: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #40]
cmp w8, #1
csinc w8, w8, wzr, hi
ldr w9, [x22]
ldr w10, [x19]
madd w8, w9, w8, w10
b LBB0_45
LBB0_20: ; in Loop: Header=BB0_13 Depth=1
mov x24, #0 ; =0x0
LBB0_21: ; in Loop: Header=BB0_13 Depth=1
sub w8, w23, #1
and w25, w8, w20
cbz x24, LBB0_43
; %bb.22: ; in Loop: Header=BB0_13 Depth=1
mov x0, x24
bl _buffer_verified
cbnz w0, LBB0_24
; %bb.23: ; in Loop: Header=BB0_13 Depth=1
mov x0, x21
mov x1, x24
bl _ext4_dirblock_csum_verify
cbz w0, LBB0_46
LBB0_24: ; in Loop: Header=BB0_13 Depth=1
mov x0, x24
bl _set_buffer_verified
ldr w1, [x28]
mov x0, x21
bl _inode_eq_iversion
cbnz w0, LBB0_31
; %bb.25: ; in Loop: Header=BB0_13 Depth=1
mov w20, #0 ; =0x0
ldr w1, [x22]
cmp w1, #1
b.lt LBB0_30
; %bb.26: ; in Loop: Header=BB0_13 Depth=1
cbz w25, LBB0_30
; %bb.27: ; in Loop: Header=BB0_13 Depth=1
mov w20, #0 ; =0x0
LBB0_28: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24, #8]
add x23, x8, w20, sxtw
ldr w0, [x23, #4]
bl _ext4_rec_len_from_disk
mov x26, x0
mov w0, #1 ; =0x1
bl _EXT4_DIR_REC_LEN
ldr w1, [x22]
cmp x26, x0
b.lt LBB0_30
; %bb.29: ; in Loop: Header=BB0_28 Depth=2
ldr w0, [x23, #4]
bl _ext4_rec_len_from_disk
ldr w1, [x22]
add w20, w20, w0
cmp w20, w1
ccmp w20, w25, #2, lt
b.lo LBB0_28
LBB0_30: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x19]
neg w9, w1
and w8, w8, w9
orr w8, w8, w20
str w8, [x19]
mov x0, x21
bl _inode_query_iversion
str w0, [x28]
mov x25, x20
LBB0_31: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x19]
ldr w9, [x21]
cmp w8, w9
b.ge LBB0_41
; %bb.32: ; in Loop: Header=BB0_13 Depth=1
ldr w10, [x22]
cmp w25, w10
b.hs LBB0_41
LBB0_33: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr x4, [x24, #8]
add x26, x4, w25, uxtw
ldr w5, [x24]
mov x0, x21
mov x1, x28
mov x2, x26
mov x3, x24
mov x6, x25
bl _ext4_check_dir_entry
cbnz x0, LBB0_47
; %bb.34: ; in Loop: Header=BB0_33 Depth=2
ldr w0, [x26, #4]
ldr w1, [x22]
bl _ext4_rec_len_from_disk
mov x27, x0
ldr w0, [x26, #12]
bl _le32_to_cpu
cbz x0, LBB0_39
; %bb.35: ; in Loop: Header=BB0_33 Depth=2
mov x0, x21
bl _IS_ENCRYPTED
cbz x0, LBB0_38
; %bb.36: ; in Loop: Header=BB0_33 Depth=2
ldr w20, [sp, #48]
ldr x0, [x26, #16]
ldr w1, [x26]
bl _FSTR_INIT
stp x0, x1, [sp, #16]
add x3, sp, #16
add x4, sp, #48
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _fscrypt_fname_disk_to_usr
ldr q0, [sp, #48]
str q0, [sp, #16]
str w20, [sp, #48]
cbnz w0, LBB0_55
; %bb.37: ; in Loop: Header=BB0_33 Depth=2
ldr x23, [sp, #24]
ldr w28, [sp, #16]
ldr w0, [x26, #12]
bl _le32_to_cpu
mov x20, x0
ldr w1, [x26, #8]
mov x0, x22
bl _get_dtype
mov x4, x0
mov x0, x19
mov x1, x23
mov x2, x28
ldr x28, [sp, #8] ; 8-byte Folded Reload
mov x3, x20
bl _dir_emit
cbnz w0, LBB0_39
b LBB0_53
LBB0_38: ; in Loop: Header=BB0_33 Depth=2
ldr x28, [x26, #16]
ldr w20, [x26]
ldr w0, [x26, #12]
bl _le32_to_cpu
mov x23, x0
ldr w1, [x26, #8]
mov x0, x22
bl _get_dtype
mov x4, x0
mov x0, x19
mov x1, x28
ldr x28, [sp, #8] ; 8-byte Folded Reload
mov x2, x20
mov x3, x23
bl _dir_emit
cbz w0, LBB0_53
LBB0_39: ; in Loop: Header=BB0_33 Depth=2
ldr w0, [x26, #4]
ldr w1, [x22]
bl _ext4_rec_len_from_disk
ldr w8, [x19]
add w8, w8, w0
str w8, [x19]
ldr w9, [x21]
cmp w8, w9
b.ge LBB0_41
; %bb.40: ; in Loop: Header=BB0_33 Depth=2
ldr w10, [x22]
add w25, w25, w27
cmp w25, w10
b.lo LBB0_33
LBB0_41: ; in Loop: Header=BB0_13 Depth=1
cmp w8, w9
b.ge LBB0_11
LBB0_42: ; in Loop: Header=BB0_13 Depth=1
mov x0, x21
bl _dir_relax_shared
cbnz w0, LBB0_11
b LBB0_53
LBB0_43: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x19]
ldr w9, [x21, #8]
cmp w8, w9, lsl #9
b.gt LBB0_12
; %bb.44: ; in Loop: Header=BB0_13 Depth=1
ldr w9, [x22]
sub w8, w8, w25
add w8, w8, w9
LBB0_45: ; in Loop: Header=BB0_13 Depth=1
str w8, [x19]
b LBB0_12
LBB0_46: ; in Loop: Header=BB0_13 Depth=1
ldrsw x3, [x19]
mov x0, x28
mov w1, #0 ; =0x0
Lloh20:
adrp x2, l_.str@PAGE
Lloh21:
add x2, x2, l_.str@PAGEOFF
bl _EXT4_ERROR_FILE
ldr w8, [x22]
ldr w9, [x19]
sub w8, w8, w25
add w8, w8, w9
str w8, [x19]
mov x0, x24
bl _brelse
b LBB0_12
LBB0_47: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [x19]
ldr w9, [x22]
sub w9, w9, #1
orr w8, w9, w8
add w8, w8, #1
str w8, [x19]
ldr w9, [x21]
cmp w8, w9
b.lt LBB0_42
b LBB0_11
LBB0_48:
mov w19, #0 ; =0x0
LBB0_49:
mov x24, #0 ; =0x0
LBB0_50:
add x0, sp, #48
bl _fscrypt_fname_free_buffer
mov x0, x24
bl _brelse
mov x0, x19
LBB0_51:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_52:
mov x24, #0 ; =0x0
Lloh22:
adrp x8, _ERESTARTSYS@GOTPAGE
Lloh23:
ldr x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
neg w19, w8
b LBB0_50
LBB0_53:
mov w19, #0 ; =0x0
b LBB0_50
LBB0_54:
mov x0, x24
bl _PTR_ERR
mov x19, x0
b LBB0_49
LBB0_55:
mov x19, x0
b LBB0_50
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _ENOKEY,4,2 ; @ENOKEY
.comm _ERR_BAD_DX_DIR,4,2 ; @ERR_BAD_DX_DIR
.comm _EXT4_INODE_INDEX,4,2 ; @EXT4_INODE_INDEX
.comm _EXT4_NAME_LEN,4,2 ; @EXT4_NAME_LEN
.comm _current,4,2 ; @current
.comm _ERESTARTSYS,4,2 ; @ERESTARTSYS
.comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "directory fails checksum at offset %llu"
.no_dead_strip _ext4_readdir
.subsections_via_symbols
| assembly_file_24838.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ss_config_setup
_ss_config_setup: ## @ss_config_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %eax
addl $-91, %eax
cmpl $1, %eax
ja LBB0_1
## %bb.2:
movq _func_ss@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%rdi), %rax
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _func_ss,8,3 ## @func_ss
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.no_dead_strip _ss_config_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ss_config_setup
_ss_config_setup: ; @ss_config_setup
.cfi_startproc
; %bb.0:
ldr w8, [x1]
sub w8, w8, #91
cmp w8, #1
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, _func_ss@GOTPAGE
Lloh1:
ldr x8, [x8, _func_ss@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldr x2, [x0]
br x2
LBB0_2:
Lloh3:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _func_ss,8,3 ; @func_ss
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.no_dead_strip _ss_config_setup
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/legacy/extr_zero.c_ss_config_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $712, %rsp ## imm = 0x2C8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq $0, -720(%rbp)
movq $256, -736(%rbp) ## imm = 0x100
cmpl $2, %edi
jl LBB0_2
## %bb.1:
movq 8(%rsi), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rdx
LBB0_2:
testq %rdx, %rdx
je LBB0_128
## %bb.3:
leaq -720(%rbp), %rdi
leaq -736(%rbp), %rsi
movq %rdx, -728(%rbp) ## 8-byte Spill
callq _getline
movq %rax, %r14
movl $0, -700(%rbp) ## 4-byte Folded Spill
movl $0, %eax
movq %rax, -712(%rbp) ## 8-byte Spill
testq %r14, %r14
jle LBB0_124
## %bb.4:
xorl %eax, %eax
movq %rax, -712(%rbp) ## 8-byte Spill
movq __DefaultRuneLocale@GOTPCREL(%rip), %r13
movl $16384, %r15d ## imm = 0x4000
movl $0, -700(%rbp) ## 4-byte Folded Spill
xorl %r12d, %r12d
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_7 Depth=1
movb $0, -560(%rbp)
xorl %r12d, %r12d
LBB0_6: ## in Loop: Header=BB0_7 Depth=1
leaq -720(%rbp), %rdi
leaq -736(%rbp), %rsi
movq -728(%rbp), %rdx ## 8-byte Reload
callq _getline
movq %rax, %r14
testq %rax, %rax
jle LBB0_124
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_35 Depth 2
## Child Loop BB0_37 Depth 3
## Child Loop BB0_47 Depth 3
## Child Loop BB0_82 Depth 3
## Child Loop BB0_77 Depth 3
## Child Loop BB0_72 Depth 3
## Child Loop BB0_67 Depth 3
## Child Loop BB0_62 Depth 3
## Child Loop BB0_57 Depth 3
## Child Loop BB0_52 Depth 3
## Child Loop BB0_90 Depth 3
movq -720(%rbp), %rbx
decq %rbx
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_10 Depth=2
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
incq %rbx
testl %eax, %eax
je LBB0_12
LBB0_10: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movsbl 1(%rbx), %edi
testl %edi, %edi
js LBB0_8
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movl %edi, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
jmp LBB0_9
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, (%rbx)
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
movq %r12, %rax
addq %r14, %r12
cmpq $513, %r12 ## imm = 0x201
jae LBB0_127
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
leaq (%rax,%rbp), %rdi
addq $-560, %rdi ## imm = 0xFDD0
movq %rbx, %rsi
movq %r14, %rdx
callq _strncpy
jmp LBB0_6
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
movb $0, -688(%rbp)
movb $0, -672(%rbp)
movb $0, -656(%rbp)
movb $0, -640(%rbp)
movb $0, -624(%rbp)
movb $0, -608(%rbp)
movb $0, -592(%rbp)
movb $0, -576(%rbp)
leaq -561(%rbp), %r14
jmp LBB0_18
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_18 Depth=2
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB0_17: ## in Loop: Header=BB0_18 Depth=2
incq %r14
testl %eax, %eax
je LBB0_20
LBB0_18: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movsbl 1(%r14), %edi
testl %edi, %edi
js LBB0_16
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movl %edi, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
jmp LBB0_17
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_7 Depth=1
leaq (%r12,%rbp), %rax
addq $-560, %rax ## imm = 0xFDD0
movq %rax, -744(%rbp) ## 8-byte Spill
cmpq %rax, %r14
jb LBB0_35
LBB0_21: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -688(%rbp)
je LBB0_5
## %bb.22: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -672(%rbp)
je LBB0_5
## %bb.23: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -656(%rbp)
je LBB0_5
## %bb.24: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -640(%rbp)
je LBB0_5
## %bb.25: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -624(%rbp)
je LBB0_5
## %bb.26: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -608(%rbp)
je LBB0_5
## %bb.27: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -592(%rbp)
je LBB0_5
## %bb.28: ## in Loop: Header=BB0_7 Depth=1
incl -700(%rbp) ## 4-byte Folded Spill
movq $0, -696(%rbp)
leaq -688(%rbp), %rdi
callq _atoi
movl %eax, %r12d
leaq -672(%rbp), %rdi
callq _atoi
movl %eax, %r14d
leaq -656(%rbp), %rdi
callq _atoi
movl %eax, %ebx
leaq -640(%rbp), %rdi
leaq -696(%rbp), %rsi
movl $10, %edx
callq _strtol
addl $-2003, %r12d ## imm = 0xF82D
cmpl $-83, %r12d
jb LBB0_5
## %bb.29: ## in Loop: Header=BB0_7 Depth=1
addl $-2021, %r14d ## imm = 0xF81B
cmpl $-11, %r14d
jb LBB0_5
## %bb.30: ## in Loop: Header=BB0_7 Depth=1
addl $-2031, %ebx ## imm = 0xF811
cmpl $-11, %ebx
jb LBB0_5
## %bb.31: ## in Loop: Header=BB0_7 Depth=1
movq %rax, %r14
movq -696(%rbp), %rbx
movl $2, %edx
movq %rbx, %rdi
leaq L_.str.12(%rip), %rsi
callq _strncmp
testl %eax, %eax
je LBB0_92
## %bb.32: ## in Loop: Header=BB0_7 Depth=1
movl $2, %edx
movq %rbx, %rdi
leaq L_.str.13(%rip), %rsi
callq _strncmp
testl %eax, %eax
jne LBB0_5
## %bb.33: ## in Loop: Header=BB0_7 Depth=1
addl $-77, %r14d
cmpl $-18, %r14d
jae LBB0_93
jmp LBB0_5
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_35 Depth=2
cmpq -744(%rbp), %r14 ## 8-byte Folded Reload
jae LBB0_21
LBB0_35: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_37 Depth 3
## Child Loop BB0_47 Depth 3
## Child Loop BB0_82 Depth 3
## Child Loop BB0_77 Depth 3
## Child Loop BB0_72 Depth 3
## Child Loop BB0_67 Depth 3
## Child Loop BB0_62 Depth 3
## Child Loop BB0_57 Depth 3
## Child Loop BB0_52 Depth 3
## Child Loop BB0_90 Depth 3
movb (%r14), %al
cmpb $58, %al
je LBB0_38
## %bb.36: ## in Loop: Header=BB0_35 Depth=2
leaq -696(%rbp), %rcx
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movb %al, (%rcx)
incq %rcx
movzbl 1(%r14), %eax
incq %r14
cmpb $58, %al
jne LBB0_37
LBB0_38: ## in Loop: Header=BB0_35 Depth=2
incq %r14
movzwl -696(%rbp), %eax
xorl $31074, %eax ## imm = 0x7962
movzbl -694(%rbp), %ecx
xorl $114, %ecx
orw %ax, %cx
je LBB0_51
## %bb.39: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $31081, %eax ## imm = 0x7969
movzbl -694(%rbp), %ecx
xorl $114, %ecx
orw %ax, %cx
je LBB0_56
## %bb.40: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $31077, %eax ## imm = 0x7965
movzbl -694(%rbp), %ecx
xorl $114, %ecx
orw %ax, %cx
je LBB0_61
## %bb.41: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $26472, %eax ## imm = 0x6768
movzbl -694(%rbp), %ecx
xorl $116, %ecx
orw %ax, %cx
je LBB0_66
## %bb.42: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $25448, %eax ## imm = 0x6368
movzbl -694(%rbp), %ecx
xorl $108, %ecx
orw %ax, %cx
je LBB0_71
## %bb.43: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $25445, %eax ## imm = 0x6365
movzbl -694(%rbp), %ecx
xorl $108, %ecx
orw %ax, %cx
je LBB0_76
## %bb.44: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $26992, %eax ## imm = 0x6970
movzbl -694(%rbp), %ecx
xorl $100, %ecx
orw %ax, %cx
je LBB0_81
## %bb.45: ## in Loop: Header=BB0_35 Depth=2
movzwl -696(%rbp), %eax
xorl $26979, %eax ## imm = 0x6963
movzbl -694(%rbp), %ecx
xorl $100, %ecx
orw %ax, %cx
jne LBB0_87
## %bb.46: ## in Loop: Header=BB0_35 Depth=2
leaq -576(%rbp), %r12
jmp LBB0_47
.p2align 4, 0x90
LBB0_51: ## in Loop: Header=BB0_35 Depth=2
leaq -688(%rbp), %r12
jmp LBB0_52
.p2align 4, 0x90
LBB0_54: ## in Loop: Header=BB0_52 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_55: ## in Loop: Header=BB0_52 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_52: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_54
## %bb.53: ## in Loop: Header=BB0_52 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_55
jmp LBB0_86
.p2align 4, 0x90
LBB0_56: ## in Loop: Header=BB0_35 Depth=2
leaq -672(%rbp), %r12
jmp LBB0_57
.p2align 4, 0x90
LBB0_59: ## in Loop: Header=BB0_57 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_60: ## in Loop: Header=BB0_57 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_57: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_59
## %bb.58: ## in Loop: Header=BB0_57 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_60
jmp LBB0_86
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_47 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_50: ## in Loop: Header=BB0_47 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_47: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_49
## %bb.48: ## in Loop: Header=BB0_47 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_50
jmp LBB0_86
LBB0_61: ## in Loop: Header=BB0_35 Depth=2
leaq -656(%rbp), %r12
jmp LBB0_62
.p2align 4, 0x90
LBB0_64: ## in Loop: Header=BB0_62 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_65: ## in Loop: Header=BB0_62 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_62: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_64
## %bb.63: ## in Loop: Header=BB0_62 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_65
jmp LBB0_86
LBB0_66: ## in Loop: Header=BB0_35 Depth=2
leaq -640(%rbp), %r12
jmp LBB0_67
.p2align 4, 0x90
LBB0_69: ## in Loop: Header=BB0_67 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_70: ## in Loop: Header=BB0_67 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_67: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_69
## %bb.68: ## in Loop: Header=BB0_67 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_70
jmp LBB0_86
LBB0_71: ## in Loop: Header=BB0_35 Depth=2
leaq -624(%rbp), %r12
jmp LBB0_72
.p2align 4, 0x90
LBB0_74: ## in Loop: Header=BB0_72 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_75: ## in Loop: Header=BB0_72 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_72: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_74
## %bb.73: ## in Loop: Header=BB0_72 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_75
jmp LBB0_86
LBB0_76: ## in Loop: Header=BB0_35 Depth=2
leaq -608(%rbp), %r12
jmp LBB0_77
.p2align 4, 0x90
LBB0_79: ## in Loop: Header=BB0_77 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_80: ## in Loop: Header=BB0_77 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_77: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_79
## %bb.78: ## in Loop: Header=BB0_77 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_80
jmp LBB0_86
LBB0_81: ## in Loop: Header=BB0_35 Depth=2
leaq -592(%rbp), %r12
jmp LBB0_82
.p2align 4, 0x90
LBB0_84: ## in Loop: Header=BB0_82 Depth=3
movl $16384, %esi ## imm = 0x4000
movl %ebx, %edi
callq ___maskrune
testl %eax, %eax
jne LBB0_86
LBB0_85: ## in Loop: Header=BB0_82 Depth=3
movb %bl, (%r12)
incq %r14
incq %r12
LBB0_82: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl (%r14), %ebx
testl %ebx, %ebx
js LBB0_84
## %bb.83: ## in Loop: Header=BB0_82 Depth=3
movl %ebx, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
testl %eax, %eax
je LBB0_85
.p2align 4, 0x90
LBB0_86: ## in Loop: Header=BB0_35 Depth=2
movb $0, (%r12)
LBB0_87: ## in Loop: Header=BB0_35 Depth=2
decq %r14
jmp LBB0_90
.p2align 4, 0x90
LBB0_88: ## in Loop: Header=BB0_90 Depth=3
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB0_89: ## in Loop: Header=BB0_90 Depth=3
incq %r14
testl %eax, %eax
je LBB0_34
LBB0_90: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movsbl 1(%r14), %edi
testl %edi, %edi
js LBB0_88
## %bb.91: ## in Loop: Header=BB0_90 Depth=3
movl %edi, %eax
movl 60(%r13,%rax,4), %eax
andl %r15d, %eax
jmp LBB0_89
LBB0_92: ## in Loop: Header=BB0_7 Depth=1
addl $-194, %r14d
cmpl $-44, %r14d
jb LBB0_5
LBB0_93: ## in Loop: Header=BB0_7 Depth=1
cmpb $35, -624(%rbp)
jne LBB0_5
## %bb.94: ## in Loop: Header=BB0_7 Depth=1
movb -623(%rbp), %al
leal -103(%rax), %ecx
cmpb $-7, %cl
ja LBB0_96
## %bb.95: ## in Loop: Header=BB0_7 Depth=1
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
LBB0_96: ## in Loop: Header=BB0_7 Depth=1
movb -622(%rbp), %al
leal -103(%rax), %ecx
cmpb $-7, %cl
ja LBB0_98
## %bb.97: ## in Loop: Header=BB0_7 Depth=1
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
LBB0_98: ## in Loop: Header=BB0_7 Depth=1
movb -621(%rbp), %al
leal -103(%rax), %ecx
cmpb $-7, %cl
ja LBB0_100
## %bb.99: ## in Loop: Header=BB0_7 Depth=1
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
LBB0_100: ## in Loop: Header=BB0_7 Depth=1
movb -620(%rbp), %al
leal -103(%rax), %ecx
cmpb $-7, %cl
ja LBB0_102
## %bb.101: ## in Loop: Header=BB0_7 Depth=1
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
LBB0_102: ## in Loop: Header=BB0_7 Depth=1
movb -619(%rbp), %al
leal -103(%rax), %ecx
cmpb $-7, %cl
ja LBB0_104
## %bb.103: ## in Loop: Header=BB0_7 Depth=1
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
LBB0_104: ## in Loop: Header=BB0_7 Depth=1
movb -618(%rbp), %al
leal -103(%rax), %ecx
cmpb $-7, %cl
ja LBB0_106
## %bb.105: ## in Loop: Header=BB0_7 Depth=1
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
LBB0_106: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $28001, %ecx ## imm = 0x6D61
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $98, %ecx
orw %ax, %cx
je LBB0_113
## %bb.107: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $27746, %ecx ## imm = 0x6C62
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $117, %ecx
orw %ax, %cx
je LBB0_113
## %bb.108: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $29282, %ecx ## imm = 0x7262
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $110, %ecx
orw %ax, %cx
je LBB0_113
## %bb.109: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $29287, %ecx ## imm = 0x7267
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $121, %ecx
orw %ax, %cx
je LBB0_113
## %bb.110: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $29287, %ecx ## imm = 0x7267
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $110, %ecx
orw %ax, %cx
je LBB0_113
## %bb.111: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $31336, %ecx ## imm = 0x7A68
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $108, %ecx
orw %ax, %cx
je LBB0_113
## %bb.112: ## in Loop: Header=BB0_7 Depth=1
movl -608(%rbp), %eax
movl $29807, %ecx ## imm = 0x746F
xorl %ecx, %eax
movzbl -606(%rbp), %ecx
xorl $104, %ecx
orw %ax, %cx
jne LBB0_5
LBB0_113: ## in Loop: Header=BB0_7 Depth=1
movb -592(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.114: ## in Loop: Header=BB0_7 Depth=1
movb -591(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.115: ## in Loop: Header=BB0_7 Depth=1
movb -590(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.116: ## in Loop: Header=BB0_7 Depth=1
movb -589(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.117: ## in Loop: Header=BB0_7 Depth=1
movb -588(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.118: ## in Loop: Header=BB0_7 Depth=1
movb -587(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.119: ## in Loop: Header=BB0_7 Depth=1
movb -586(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.120: ## in Loop: Header=BB0_7 Depth=1
movb -585(%rbp), %al
addb $-58, %al
cmpb $-10, %al
jb LBB0_5
## %bb.121: ## in Loop: Header=BB0_7 Depth=1
movb -584(%rbp), %al
addb $-48, %al
cmpb $9, %al
ja LBB0_5
## %bb.122: ## in Loop: Header=BB0_7 Depth=1
cmpb $0, -583(%rbp)
jne LBB0_5
## %bb.123: ## in Loop: Header=BB0_7 Depth=1
movq -712(%rbp), %rax ## 8-byte Reload
incl %eax
movq %rax, -712(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_124:
movq -720(%rbp), %rdi
callq _free
leaq L_.str.3(%rip), %rdi
movl -700(%rbp), %esi ## 4-byte Reload
movq -712(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq -728(%rbp), %rdi ## 8-byte Reload
cmpq (%rax), %rdi
je LBB0_126
## %bb.125:
callq _fclose
LBB0_126:
xorl %eax, %eax
jmp LBB0_130
LBB0_127:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.2(%rip), %rdi
movl $16, %esi
movl $1, %edx
callq _fwrite
jmp LBB0_129
LBB0_128:
leaq L_.str.1(%rip), %rdi
callq _perror
LBB0_129:
movl $-1, %eax
LBB0_130:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_132
## %bb.131:
addq $712, %rsp ## imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_132:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "failure opening input file"
L_.str.2: ## @.str.2
.asciz "buffer exceeded\n"
L_.str.3: ## @.str.3
.asciz "%d\n%d\n"
L_.str.4: ## @.str.4
.asciz "byr"
L_.str.5: ## @.str.5
.asciz "iyr"
L_.str.6: ## @.str.6
.asciz "eyr"
L_.str.7: ## @.str.7
.asciz "hgt"
L_.str.8: ## @.str.8
.asciz "hcl"
L_.str.9: ## @.str.9
.asciz "ecl"
L_.str.10: ## @.str.10
.asciz "pid"
L_.str.11: ## @.str.11
.asciz "cid"
L_.str.12: ## @.str.12
.asciz "cm"
L_.str.13: ## @.str.13
.asciz "in"
L_.str.14: ## @.str.14
.asciz "amb"
L_.str.15: ## @.str.15
.asciz "blu"
L_.str.16: ## @.str.16
.asciz "brn"
L_.str.17: ## @.str.17
.asciz "gry"
L_.str.18: ## @.str.18
.asciz "grn"
L_.str.19: ## @.str.19
.asciz "hzl"
L_.str.20: ## @.str.20
.asciz "oth"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #784
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, ___stdinp@GOTPAGE
Lloh4:
ldr x9, [x9, ___stdinp@GOTPAGEOFF]
stur x8, [x29, #-96]
Lloh5:
ldr x2, [x9]
mov w8, #256
stp x8, xzr, [sp, #104]
cmp w0, #2
b.lt LBB0_2
; %bb.1:
ldr x0, [x1, #8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x2, x0
LBB0_2:
cbz x2, LBB0_118
; %bb.3:
add x0, sp, #112
add x1, sp, #104
str x2, [sp, #96] ; 8-byte Folded Spill
bl _getline
cmp x0, #1
b.lt LBB0_113
; %bb.4:
mov x25, x0
mov x27, #0
add x8, sp, #128
add x20, x8, #16
add x9, x8, #32
str x9, [sp, #88] ; 8-byte Folded Spill
add x9, x8, #48
stp xzr, x9, [sp, #72] ; 16-byte Folded Spill
add x10, x8, #64
add x9, x8, #80
stp x9, x10, [sp, #48] ; 16-byte Folded Spill
add x9, x8, #96
stp xzr, x9, [sp, #32] ; 16-byte Folded Spill
add x8, x8, #112
str x8, [sp, #24] ; 8-byte Folded Spill
add x8, sp, #256
sub x8, x8, #1
str x8, [sp, #64] ; 8-byte Folded Spill
Lloh8:
adrp x23, __DefaultRuneLocale@GOTPAGE
Lloh9:
ldr x23, [x23, __DefaultRuneLocale@GOTPAGEOFF]
mov w24, #31074
mov w22, #114
mov w21, #31081
mov w19, #108
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov x27, #0
strb wzr, [sp, #256]
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x0, sp, #112
add x1, sp, #104
ldr x2, [sp, #96] ; 8-byte Folded Reload
bl _getline
mov x25, x0
cmp x0, #0
b.le LBB0_114
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
; Child Loop BB0_16 Depth 2
; Child Loop BB0_19 Depth 2
; Child Loop BB0_22 Depth 3
; Child Loop BB0_66 Depth 3
ldr x8, [sp, #112]
sub x26, x8, #1
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
mov w1, #16384
bl ___maskrune
add x26, x26, #1
cbz w0, LBB0_11
LBB0_9: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x26, #1]
tbnz w0, #31, LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
add x8, x23, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x26, x26, #1
cbnz w0, LBB0_9
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [x26]
cbz w8, LBB0_14
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
add x28, x25, x27
cmp x28, #513
b.hs LBB0_117
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
add x8, sp, #256
add x0, x8, x27
mov x1, x26
mov x2, x25
bl _strncpy
mov x27, x28
b LBB0_6
LBB0_14: ; in Loop: Header=BB0_7 Depth=1
strb wzr, [sp, #128]
strb wzr, [sp, #144]
strb wzr, [sp, #160]
strb wzr, [sp, #176]
strb wzr, [sp, #192]
strb wzr, [sp, #208]
strb wzr, [sp, #224]
ldr x25, [sp, #64] ; 8-byte Folded Reload
strb wzr, [sp, #240]
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=2
mov w1, #16384
bl ___maskrune
add x25, x25, #1
cbz w0, LBB0_18
LBB0_16: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x25, #1]
tbnz w0, #31, LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
add x8, x23, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x25, x25, #1
cbnz w0, LBB0_16
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
add x8, sp, #256
add x26, x8, x27
LBB0_19: ; Parent Loop BB0_7 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_22 Depth 3
; Child Loop BB0_66 Depth 3
cmp x25, x26
b.hs LBB0_68
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
ldrb w8, [x25]
cmp w8, #58
b.eq LBB0_23
; %bb.21: ; in Loop: Header=BB0_19 Depth=2
add x9, sp, #120
LBB0_22: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_19 Depth=2
; => This Inner Loop Header: Depth=3
strb w8, [x9], #1
ldrb w8, [x25, #1]!
cmp w8, #58
b.ne LBB0_22
LBB0_23: ; in Loop: Header=BB0_19 Depth=2
add x27, x25, #1
ldrh w8, [sp, #120]
eor w8, w8, w24
ldrb w9, [sp, #122]
eor w9, w9, w22
orr w8, w8, w9
cbz w8, LBB0_35
; %bb.24: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
eor w8, w8, w21
ldrb w9, [sp, #122]
eor w9, w9, w22
orr w8, w8, w9
mov w11, #108
cbz w8, LBB0_39
; %bb.25: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
mov w9, #31077
eor w8, w8, w9
ldrb w9, [sp, #122]
eor w9, w9, w22
orr w8, w8, w9
cbz w8, LBB0_43
; %bb.26: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
mov w9, #26472
eor w8, w8, w9
ldrb w9, [sp, #122]
mov w10, #116
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_47
; %bb.27: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
mov w9, #25448
eor w8, w8, w9
ldrb w9, [sp, #122]
eor w9, w9, w11
orr w8, w8, w9
cbz w8, LBB0_51
; %bb.28: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
mov w9, #25445
eor w8, w8, w9
ldrb w9, [sp, #122]
eor w9, w9, w11
orr w8, w8, w9
cbz w8, LBB0_55
; %bb.29: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
mov w9, #26992
eor w8, w8, w9
ldrb w9, [sp, #122]
mov w10, #100
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_59
; %bb.30: ; in Loop: Header=BB0_19 Depth=2
ldrh w8, [sp, #120]
mov w9, #26979
eor w8, w8, w9
ldrb w9, [sp, #122]
eor w9, w9, w10
mov w19, #108
orr w8, w8, w9
cbnz w8, LBB0_64
; %bb.31: ; in Loop: Header=BB0_19 Depth=2
ldr x28, [sp, #24] ; 8-byte Folded Reload
ldrsb w25, [x27]
tbz w25, #31, LBB0_34
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_34
LBB0_33: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_32
b LBB0_63
LBB0_34: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_32
b LBB0_63
LBB0_35: ; in Loop: Header=BB0_19 Depth=2
add x28, sp, #128
ldrsb w25, [x27]
tbz w25, #31, LBB0_38
b LBB0_37
LBB0_36: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_38
LBB0_37: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_36
b LBB0_63
LBB0_38: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_36
b LBB0_63
LBB0_39: ; in Loop: Header=BB0_19 Depth=2
mov w19, #108
mov x28, x20
ldrsb w25, [x27]
tbz w25, #31, LBB0_42
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_42
LBB0_41: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_40
b LBB0_63
LBB0_42: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_40
b LBB0_63
LBB0_43: ; in Loop: Header=BB0_19 Depth=2
mov w19, #108
ldr x28, [sp, #88] ; 8-byte Folded Reload
ldrsb w25, [x27]
tbz w25, #31, LBB0_46
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_46
LBB0_45: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_44
b LBB0_63
LBB0_46: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_44
b LBB0_63
LBB0_47: ; in Loop: Header=BB0_19 Depth=2
mov w19, #108
ldr x28, [sp, #80] ; 8-byte Folded Reload
ldrsb w25, [x27]
tbz w25, #31, LBB0_50
b LBB0_49
LBB0_48: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_50
LBB0_49: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_48
b LBB0_63
LBB0_50: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_48
b LBB0_63
LBB0_51: ; in Loop: Header=BB0_19 Depth=2
mov w19, #108
ldr x28, [sp, #56] ; 8-byte Folded Reload
ldrsb w25, [x27]
tbz w25, #31, LBB0_54
b LBB0_53
LBB0_52: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_54
LBB0_53: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_52
b LBB0_63
LBB0_54: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_52
b LBB0_63
LBB0_55: ; in Loop: Header=BB0_19 Depth=2
mov w19, #108
ldr x28, [sp, #48] ; 8-byte Folded Reload
ldrsb w25, [x27]
tbz w25, #31, LBB0_58
b LBB0_57
LBB0_56: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_58
LBB0_57: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_56
b LBB0_63
LBB0_58: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_56
b LBB0_63
LBB0_59: ; in Loop: Header=BB0_19 Depth=2
mov w19, #108
ldr x28, [sp, #40] ; 8-byte Folded Reload
ldrsb w25, [x27]
tbz w25, #31, LBB0_62
b LBB0_61
LBB0_60: ; in Loop: Header=BB0_19 Depth=2
strb w25, [x28], #1
add x27, x27, #1
ldrsb w25, [x27]
tbz w25, #31, LBB0_62
LBB0_61: ; in Loop: Header=BB0_19 Depth=2
mov x0, x25
mov w1, #16384
bl ___maskrune
cbz w0, LBB0_60
b LBB0_63
LBB0_62: ; in Loop: Header=BB0_19 Depth=2
add x8, x23, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
cbz w0, LBB0_60
LBB0_63: ; in Loop: Header=BB0_19 Depth=2
strb wzr, [x28]
LBB0_64: ; in Loop: Header=BB0_19 Depth=2
sub x25, x27, #1
b LBB0_66
LBB0_65: ; in Loop: Header=BB0_66 Depth=3
mov w1, #16384
bl ___maskrune
add x25, x25, #1
cbz w0, LBB0_19
LBB0_66: ; Parent Loop BB0_7 Depth=1
; Parent Loop BB0_19 Depth=2
; => This Inner Loop Header: Depth=3
ldrsb w0, [x25, #1]
tbnz w0, #31, LBB0_65
; %bb.67: ; in Loop: Header=BB0_66 Depth=3
add x8, x23, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x25, x25, #1
cbnz w0, LBB0_66
b LBB0_19
LBB0_68: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #128]
cbz w8, LBB0_5
; %bb.69: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #144]
cbz w8, LBB0_5
; %bb.70: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #160]
cbz w8, LBB0_5
; %bb.71: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #176]
cbz w8, LBB0_5
; %bb.72: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #192]
cbz w8, LBB0_5
; %bb.73: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #208]
cbz w8, LBB0_5
; %bb.74: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #224]
cbz w8, LBB0_5
; %bb.75: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
add w8, w8, #1
str x8, [sp, #72] ; 8-byte Folded Spill
str xzr, [sp, #120]
add x0, sp, #128
bl _atoi
mov x28, x0
mov x0, x20
bl _atoi
mov x26, x0
ldr x0, [sp, #88] ; 8-byte Folded Reload
bl _atoi
mov x27, x0
add x1, sp, #120
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w2, #10
bl _strtol
sub w8, w28, #2003
cmn w8, #83
b.lo LBB0_5
; %bb.76: ; in Loop: Header=BB0_7 Depth=1
sub w8, w26, #2021
cmn w8, #11
b.lo LBB0_5
; %bb.77: ; in Loop: Header=BB0_7 Depth=1
sub w8, w27, #2031
cmn w8, #11
b.lo LBB0_5
; %bb.78: ; in Loop: Header=BB0_7 Depth=1
mov x25, x0
ldr x26, [sp, #120]
mov x0, x26
Lloh10:
adrp x1, l_.str.12@PAGE
Lloh11:
add x1, x1, l_.str.12@PAGEOFF
mov w2, #2
bl _strncmp
cbz w0, LBB0_81
; %bb.79: ; in Loop: Header=BB0_7 Depth=1
mov x0, x26
Lloh12:
adrp x1, l_.str.13@PAGE
Lloh13:
add x1, x1, l_.str.13@PAGEOFF
mov w2, #2
bl _strncmp
cbnz w0, LBB0_5
; %bb.80: ; in Loop: Header=BB0_7 Depth=1
sub w8, w25, #77
cmn w8, #18
b.hs LBB0_82
b LBB0_5
LBB0_81: ; in Loop: Header=BB0_7 Depth=1
sub w8, w25, #194
cmn w8, #44
b.lo LBB0_5
LBB0_82: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #192]
cmp w8, #35
b.ne LBB0_5
; %bb.83: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #193]
sub w9, w8, #103
cmn w9, #7
b.hi LBB0_85
; %bb.84: ; in Loop: Header=BB0_7 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
LBB0_85: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #194]
sub w9, w8, #103
cmn w9, #7
b.hi LBB0_87
; %bb.86: ; in Loop: Header=BB0_7 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
LBB0_87: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #195]
sub w9, w8, #103
cmn w9, #7
b.hi LBB0_89
; %bb.88: ; in Loop: Header=BB0_7 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
LBB0_89: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #196]
sub w9, w8, #103
cmn w9, #7
b.hi LBB0_91
; %bb.90: ; in Loop: Header=BB0_7 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
LBB0_91: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #197]
sub w9, w8, #103
cmn w9, #7
b.hi LBB0_93
; %bb.92: ; in Loop: Header=BB0_7 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
LBB0_93: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #198]
sub w9, w8, #103
cmn w9, #7
b.hi LBB0_95
; %bb.94: ; in Loop: Header=BB0_7 Depth=1
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
LBB0_95: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #28001
eor w8, w8, w9
ldrb w9, [sp, #210]
mov w10, #98
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_102
; %bb.96: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #27746
eor w8, w8, w9
ldrb w9, [sp, #210]
mov w10, #117
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_102
; %bb.97: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #29282
eor w8, w8, w9
ldrb w9, [sp, #210]
mov w10, #110
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_102
; %bb.98: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #29287
eor w8, w8, w9
ldrb w9, [sp, #210]
mov w10, #121
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_102
; %bb.99: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #29287
eor w8, w8, w9
ldrb w9, [sp, #210]
mov w10, #110
eor w9, w9, w10
orr w8, w8, w9
cbz w8, LBB0_102
; %bb.100: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #31336
eor w8, w8, w9
ldrb w9, [sp, #210]
eor w9, w9, w19
orr w8, w8, w9
cbz w8, LBB0_102
; %bb.101: ; in Loop: Header=BB0_7 Depth=1
ldrh w8, [sp, #208]
mov w9, #29807
eor w8, w8, w9
ldrb w9, [sp, #210]
mov w10, #104
eor w9, w9, w10
orr w8, w8, w9
cbnz w8, LBB0_5
LBB0_102: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #224]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.103: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #225]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.104: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #226]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.105: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #227]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.106: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #228]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.107: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #229]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.108: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #230]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.109: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #231]
sub w8, w8, #58
cmn w8, #10
b.lo LBB0_5
; %bb.110: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #232]
sub w8, w8, #48
cmp w8, #9
b.hi LBB0_5
; %bb.111: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [sp, #233]
cbnz w8, LBB0_5
; %bb.112: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
add w8, w8, #1
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB0_5
LBB0_113:
str xzr, [sp, #72] ; 8-byte Folded Spill
str xzr, [sp, #32] ; 8-byte Folded Spill
LBB0_114:
ldr x0, [sp, #112]
bl _free
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr x8, [sp, #72] ; 8-byte Folded Reload
stp x8, x9, [sp]
Lloh14:
adrp x0, l_.str.3@PAGE
Lloh15:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
Lloh16:
adrp x8, ___stdinp@GOTPAGE
Lloh17:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
ldr x0, [sp, #96] ; 8-byte Folded Reload
cmp x0, x8
b.eq LBB0_116
; %bb.115:
bl _fclose
LBB0_116:
mov w0, #0
b LBB0_120
LBB0_117:
Lloh19:
adrp x8, ___stderrp@GOTPAGE
Lloh20:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh21:
ldr x3, [x8]
Lloh22:
adrp x0, l_.str.2@PAGE
Lloh23:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #16
mov w2, #1
bl _fwrite
b LBB0_119
LBB0_118:
Lloh24:
adrp x0, l_.str.1@PAGE
Lloh25:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
LBB0_119:
mov w0, #-1
LBB0_120:
ldur x8, [x29, #-96]
Lloh26:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh27:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_122
; %bb.121:
add sp, sp, #784
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_122:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l_.str.1: ; @.str.1
.asciz "failure opening input file"
l_.str.2: ; @.str.2
.asciz "buffer exceeded\n"
l_.str.3: ; @.str.3
.asciz "%d\n%d\n"
l_.str.4: ; @.str.4
.asciz "byr"
l_.str.5: ; @.str.5
.asciz "iyr"
l_.str.6: ; @.str.6
.asciz "eyr"
l_.str.7: ; @.str.7
.asciz "hgt"
l_.str.8: ; @.str.8
.asciz "hcl"
l_.str.9: ; @.str.9
.asciz "ecl"
l_.str.10: ; @.str.10
.asciz "pid"
l_.str.11: ; @.str.11
.asciz "cid"
l_.str.12: ; @.str.12
.asciz "cm"
l_.str.13: ; @.str.13
.asciz "in"
l_.str.14: ; @.str.14
.asciz "amb"
l_.str.15: ; @.str.15
.asciz "blu"
l_.str.16: ; @.str.16
.asciz "brn"
l_.str.17: ; @.str.17
.asciz "gry"
l_.str.18: ; @.str.18
.asciz "grn"
l_.str.19: ; @.str.19
.asciz "hzl"
l_.str.20: ; @.str.20
.asciz "oth"
.subsections_via_symbols
| the_stack_data/9512353.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _renamefrom ## -- Begin function renamefrom
.p2align 4, 0x90
_renamefrom: ## @renamefrom
.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 _guest@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_3
## %bb.1:
movq _noguestmod@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_3
## %bb.2:
leaq L_.str(%rip), %rsi
movl $550, %edi ## imm = 0x226
callq _reply
jmp LBB0_6
LBB0_3:
leaq -16(%rbp), %rsi
movq %rbx, %rdi
callq _lstat
testq %rax, %rax
js LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rsi
movl $350, %edi ## imm = 0x15E
callq _reply
jmp LBB0_7
LBB0_5:
movl $550, %edi ## imm = 0x226
movq %rbx, %rsi
callq _perror_reply
LBB0_6:
xorl %ebx, %ebx
LBB0_7:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _guest,8,3 ## @guest
.comm _noguestmod,8,3 ## @noguestmod
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Operation not permitted."
L_.str.1: ## @.str.1
.asciz "File exists, ready for destination name."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _renamefrom ; -- Begin function renamefrom
.p2align 2
_renamefrom: ; @renamefrom
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _guest@GOTPAGE
Lloh1:
ldr x8, [x8, _guest@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _noguestmod@GOTPAGE
Lloh4:
ldr x9, [x9, _noguestmod@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, #0
ccmp x9, #0, #4, ne
b.ne LBB0_3
; %bb.1:
mov x19, x0
add x1, sp, #8
bl _lstat
tbnz x0, #63, LBB0_4
; %bb.2:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #350
bl _reply
b LBB0_6
LBB0_3:
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov w0, #550
bl _reply
b LBB0_5
LBB0_4:
mov w0, #550
mov x1, x19
bl _perror_reply
LBB0_5:
mov x19, #0
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _guest,8,3 ; @guest
.comm _noguestmod,8,3 ; @noguestmod
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Operation not permitted."
l_.str.1: ; @.str.1
.asciz "File exists, ready for destination name."
.subsections_via_symbols
| AnghaBench/freebsd/libexec/ftpd/extr_ftpd.c_renamefrom.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isdigit ## -- Begin function ft_isdigit
.p2align 4, 0x90
_ft_isdigit: ## @ft_isdigit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-48, %edi
xorl %eax, %eax
cmpl $10, %edi
setb %al
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_isdigit ; -- Begin function ft_isdigit
.p2align 2
_ft_isdigit: ; @ft_isdigit
.cfi_startproc
; %bb.0:
sub w8, w0, #48
cmp w8, #10
cset w0, lo
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/234517169.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function graph_cmd
_graph_cmd: ## @graph_cmd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r13
movq %rsi, %r14
movl (%rdi), %edi
leaq L_.str.1(%rip), %rsi
callq _r_config_get
movq %rax, %r15
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
callq _r_file_path
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %r12, %rdi
callq _free
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
callq _r_file_path
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_9
LBB0_2:
testq %r13, %r13
je LBB0_5
## %bb.3:
cmpb $0, (%r13)
je LBB0_5
## %bb.4:
leaq L_.str.4(%rip), %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movq %r13, %r8
xorl %eax, %eax
callq _r_str_newf
movq %rax, %rbx
jmp LBB0_8
LBB0_5:
xorl %eax, %eax
callq _getViewerPath
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %rax, %r13
movq %r15, (%rsp)
leaq L_.str.5(%rip), %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movq %r15, %r8
movq %rax, %r9
xorl %eax, %eax
callq _r_str_newf
movq %rax, %rbx
movq %r13, %rdi
callq _free
jmp LBB0_8
LBB0_7:
leaq L_.str.6(%rip), %rdi
callq _eprintf
xorl %ebx, %ebx
LBB0_8:
movq %r12, %rdi
callq _free
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq %r12, %rdi
callq _free
leaq L_.str.3(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _r_str_new ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dot"
L_.str.1: ## @.str.1
.asciz "graph.gv.format"
L_.str.2: ## @.str.2
.asciz "xdot"
L_.str.3: ## @.str.3
.asciz "agf"
L_.str.4: ## @.str.4
.asciz "%s > a.dot;!%s -T%s -o%s a.dot;"
L_.str.5: ## @.str.5
.asciz "%s > a.dot;!%s -T%s -oa.%s a.dot;!%s a.%s"
L_.str.6: ## @.str.6
.asciz "Cannot find a valid picture viewer\n"
.no_dead_strip _graph_cmd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function graph_cmd
_graph_cmd: ; @graph_cmd
.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 x22, x2
mov x20, x1
ldr w0, [x0]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _r_config_get
mov x21, x0
Lloh2:
adrp x23, l_.str@PAGE
Lloh3:
add x23, x23, l_.str@PAGEOFF
mov x0, x23
bl _r_file_path
mov x19, x0
mov x1, x23
bl _strcmp
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
bl _free
Lloh4:
adrp x23, l_.str.2@PAGE
Lloh5:
add x23, x23, l_.str.2@PAGEOFF
mov x0, x23
bl _r_file_path
mov x19, x0
mov x1, x23
bl _strcmp
cbz w0, LBB0_9
LBB0_2:
cbz x22, LBB0_5
; %bb.3:
ldrb w8, [x22]
cbz w8, LBB0_5
; %bb.4:
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
mov x1, x20
mov x2, x23
mov x3, x21
mov x4, x22
bl _r_str_newf
mov x20, x0
b LBB0_8
LBB0_5:
bl _getViewerPath
cbz x0, LBB0_7
; %bb.6:
mov x22, x0
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
stp x22, x21, [sp]
mov x1, x20
mov x2, x23
mov x3, x21
mov x4, x21
bl _r_str_newf
mov x20, x0
mov x0, x22
bl _free
b LBB0_8
LBB0_7:
Lloh10:
adrp x0, l_.str.6@PAGE
Lloh11:
add x0, x0, l_.str.6@PAGEOFF
bl _eprintf
mov x20, #0
LBB0_8:
mov x0, x19
bl _free
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
add sp, sp, #80
ret
LBB0_9:
mov x0, x19
bl _free
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _r_str_new
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dot"
l_.str.1: ; @.str.1
.asciz "graph.gv.format"
l_.str.2: ; @.str.2
.asciz "xdot"
l_.str.3: ; @.str.3
.asciz "agf"
l_.str.4: ; @.str.4
.asciz "%s > a.dot;!%s -T%s -o%s a.dot;"
l_.str.5: ; @.str.5
.asciz "%s > a.dot;!%s -T%s -oa.%s a.dot;!%s a.%s"
l_.str.6: ; @.str.6
.asciz "Cannot find a valid picture viewer\n"
.no_dead_strip _graph_cmd
.subsections_via_symbols
| AnghaBench/radare2/libr/core/extr_cmd_anal.c_graph_cmd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_md5_out ## -- Begin function br_md5_out
.p2align 4, 0x90
_br_md5_out: ## @br_md5_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movslq (%rdi), %r15
orq $63, %r15
movl 8(%rdi), %esi
leaq -96(%rbp), %rdi
movl %r15d, %edx
callq _memcpy
movl 4(%r14), %esi
leaq -100(%rbp), %rdi
movl $4, %edx
callq _memcpy
movb $-128, -96(%rbp,%r15)
movq %r15, %rax
incq %rax
je LBB0_2
## %bb.1:
leaq (%rax,%rbp), %rdi
addq $-96, %rdi
movl $63, %edx
subl %r15d, %edx
xorl %esi, %esi
callq _memset
leaq -96(%rbp), %rdi
leaq -100(%rbp), %rsi
callq _br_md5_round
LBB0_2:
leaq -96(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $56, %edx
callq _memset
leaq -40(%rbp), %rdi
movl (%r14), %esi
shll $3, %esi
callq _br_enc64le
leaq -100(%rbp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq _br_md5_round
movq %rbx, %rdi
movq %r14, %rsi
movl $4, %edx
callq _br_range_enc32le
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_4
## %bb.3:
addq $88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _br_md5_out ; -- Begin function br_md5_out
.p2align 2
_br_md5_out: ; @br_md5_out
.cfi_startproc
; %bb.0:
sub sp, sp, #128
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
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
ldrsw x8, [x0]
orr x21, x8, #0x3f
ldr w1, [x0, #8]
add x22, sp, #8
add x0, sp, #8
mov x2, x21
bl _memcpy
ldr w1, [x20, #4]
add x0, sp, #4
mov w2, #4 ; =0x4
bl _memcpy
mov w8, #128 ; =0x80
strb w8, [x22, x21]
adds x8, x21, #1
b.hs LBB0_2
; %bb.1:
mov w9, #63 ; =0x3f
sub w2, w9, w21
add x0, x22, x8
mov w1, #0 ; =0x0
bl _memset
add x0, sp, #8
add x1, sp, #4
bl _br_md5_round
LBB0_2:
add x0, sp, #8
mov w1, #0 ; =0x0
mov w2, #56 ; =0x38
bl _memset
ldr w8, [x20]
lsl w1, w8, #3
add x0, x22, #56
bl _br_enc64le
add x0, sp, #8
add x1, sp, #4
bl _br_md5_round
add x1, sp, #4
mov x0, x19
mov w2, #4 ; =0x4
bl _br_range_enc32le
ldur x8, [x29, #-40]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
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
add sp, sp, #128
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_26529.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fat_write_begin
_fat_write_begin: ## @fat_write_begin
.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, %rbx
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %ecx, %r14d
movl %edx, %r13d
movq %rsi, %r12
movq %rdi, %r15
movq $0, (%r9)
movq _fat_get_block@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl (%rsi), %edi
callq _MSDOS_I
subq $8, %rsp
movq %r15, %rdi
movq %r12, %rsi
movl %r13d, %edx
movl %r14d, %ecx
movl -44(%rbp), %r8d ## 4-byte Reload
movq %rbx, %r9
pushq %rax
pushq -56(%rbp) ## 8-byte Folded Reload
pushq 16(%rbp)
callq _cont_write_begin
addq $32, %rsp
movl %eax, %ebx
testl %eax, %eax
jns LBB0_2
## %bb.1:
addl %r13d, %r14d
movq %r12, %rdi
movl %r14d, %esi
callq _fat_write_failed
LBB0_2:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _fat_get_block,4,2 ## @fat_get_block
.no_dead_strip _fat_write_begin
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fat_write_begin
_fat_write_begin: ; @fat_write_begin
.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 x22, x6
mov x23, x5
mov x24, x4
mov x20, x3
mov x21, x2
mov x19, x1
mov x25, x0
str xzr, [x5]
Lloh0:
adrp x8, _fat_get_block@GOTPAGE
Lloh1:
ldr x8, [x8, _fat_get_block@GOTPAGEOFF]
Lloh2:
ldr w26, [x8]
ldr w0, [x1]
bl _MSDOS_I
str x0, [sp]
mov x0, x25
mov x1, x19
mov x2, x21
mov x3, x20
mov x4, x24
mov x5, x23
mov x6, x22
mov x7, x26
bl _cont_write_begin
mov x22, x0
tbz w0, #31, LBB0_2
; %bb.1:
add w1, w20, w21
mov x0, x19
bl _fat_write_failed
LBB0_2:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _fat_get_block,4,2 ; @fat_get_block
.no_dead_strip _fat_write_begin
.subsections_via_symbols
| AnghaBench/linux/fs/fat/extr_inode.c_fat_write_begin.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _add_remote_objects ## -- Begin function add_remote_objects
.p2align 4, 0x90
_add_remote_objects: ## @add_remote_objects
.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
movq %rdi, -56(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movq _NUM_SLAVES@GOTPCREL(%rip), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movq 16(%rbx), %rdi
callq _triple_buffer_init
movq 16(%rbx), %r15
movl 8(%rbx), %edi
callq _LOCAL_OBJECT_SIZE
cltq
shlq $2, %rax
subq %rax, %r15
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _triple_buffer_init
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
incl %r12d
cmpl -44(%rbp), %r12d ## 4-byte Folded Reload
ja LBB0_12
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_6 Depth 2
movl %r12d, %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rax,8), %rbx
movq _remote_objects@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _num_remote_objects@GOTPCREL(%rip), %rsi
movslq (%rsi), %rcx
leal 1(%rcx), %edx
movl %edx, (%rsi)
movq %rbx, (%rax,%rcx,8)
movq (%rbx), %rax
movq _MASTER_TO_ALL_SLAVES@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq 16(%rbx), %r15
movq _MASTER_TO_SINGLE_SLAVE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, (%r13)
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
callq _triple_buffer_init
movl 8(%rbx), %edi
callq _LOCAL_OBJECT_SIZE
cltq
leaq (%r15,%rax,4), %r15
incl %r14d
cmpl (%r13), %r14d
jb LBB0_6
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _triple_buffer_init
movl 8(%rbx), %edi
callq _LOCAL_OBJECT_SIZE
cmpl $0, (%r13)
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
cltq
leaq (%r15,%rax,4), %r15
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
callq _triple_buffer_init
movl 8(%rbx), %edi
callq _REMOTE_OBJECT_SIZE
cltq
leaq (%r15,%rax,4), %r15
incl %r14d
cmpl (%r13), %r14d
jb LBB0_10
jmp LBB0_11
LBB0_12:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _remote_objects,8,3 ## @remote_objects
.comm _num_remote_objects,4,2 ## @num_remote_objects
.comm _MASTER_TO_ALL_SLAVES,8,3 ## @MASTER_TO_ALL_SLAVES
.comm _MASTER_TO_SINGLE_SLAVE,8,3 ## @MASTER_TO_SINGLE_SLAVE
.comm _NUM_SLAVES,4,2 ## @NUM_SLAVES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _add_remote_objects ; -- Begin function add_remote_objects
.p2align 2
_add_remote_objects: ; @add_remote_objects
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
mov w22, #0 ; =0x0
Lloh0:
adrp x23, _remote_objects@GOTPAGE
Lloh1:
ldr x23, [x23, _remote_objects@GOTPAGEOFF]
Lloh2:
adrp x24, _num_remote_objects@GOTPAGE
Lloh3:
ldr x24, [x24, _num_remote_objects@GOTPAGEOFF]
Lloh4:
adrp x25, _MASTER_TO_ALL_SLAVES@GOTPAGE
Lloh5:
ldr x25, [x25, _MASTER_TO_ALL_SLAVES@GOTPAGEOFF]
Lloh6:
adrp x27, _NUM_SLAVES@GOTPAGE
Lloh7:
ldr x27, [x27, _NUM_SLAVES@GOTPAGEOFF]
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x28, #16]
bl _triple_buffer_init
ldr x21, [x28, #16]
ldr w0, [x28, #8]
bl _LOCAL_OBJECT_SIZE
sub x21, x21, w0, sxtw #2
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _triple_buffer_init
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #1
cmp w22, w19
b.hi LBB0_12
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
; Child Loop BB0_8 Depth 2
ldr x28, [x20, w22, uxtw #3]
ldr x8, [x23]
ldrsw x9, [x24]
add w10, w9, #1
str w10, [x24]
str x28, [x8, x9, lsl #3]
ldr x8, [x28]
ldr x9, [x25]
cmp x8, x9
b.eq LBB0_1
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
Lloh8:
adrp x9, _MASTER_TO_SINGLE_SLAVE@GOTPAGE
Lloh9:
ldr x9, [x9, _MASTER_TO_SINGLE_SLAVE@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
ldr x21, [x28, #16]
cmp x8, x9
b.ne LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x27]
cbz w8, LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov w26, #0 ; =0x0
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
bl _triple_buffer_init
ldr w0, [x28, #8]
bl _LOCAL_OBJECT_SIZE
add x21, x21, w0, sxtw #2
add w26, w26, #1
ldr w8, [x27]
cmp w26, w8
b.lo LBB0_8
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _triple_buffer_init
ldr w0, [x28, #8]
bl _LOCAL_OBJECT_SIZE
ldr w8, [x27]
cbz w8, LBB0_3
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov w26, #0 ; =0x0
add x21, x21, w0, sxtw #2
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
bl _triple_buffer_init
ldr w0, [x28, #8]
bl _REMOTE_OBJECT_SIZE
add x21, x21, w0, sxtw #2
add w26, w26, #1
ldr w8, [x27]
cmp w26, w8
b.lo LBB0_11
b LBB0_3
LBB0_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _remote_objects,8,3 ; @remote_objects
.comm _num_remote_objects,4,2 ; @num_remote_objects
.comm _MASTER_TO_ALL_SLAVES,8,3 ; @MASTER_TO_ALL_SLAVES
.comm _MASTER_TO_SINGLE_SLAVE,8,3 ; @MASTER_TO_SINGLE_SLAVE
.comm _NUM_SLAVES,4,2 ; @NUM_SLAVES
.subsections_via_symbols
| assembly_file_171874.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __ceph_monc_get_version
___ceph_monc_get_version: ## @__ceph_monc_get_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r15
movq %rdi, %r14
movq _GFP_NOIO@GOTPCREL(%rip), %r13
movl (%r13), %esi
callq _alloc_generic_request
movq %rax, %rbx
testq %rax, %rax
je LBB0_4
## %bb.1:
movq _CEPH_MSG_MON_GET_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %r12d
movq %r15, %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal 8(%rax), %esi
movl (%r13), %edx
movl %r12d, %edi
movl $1, %ecx
callq _ceph_msg_new
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_4
## %bb.2:
movq _CEPH_MSG_MON_GET_VERSION_REPLY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r13), %edx
movl $32, %esi
movl $1, %ecx
callq _ceph_msg_new
movq %rax, 24(%rbx)
testq %rax, %rax
je LBB0_4
## %bb.3:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, 20(%rbx)
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, 16(%rbx)
movq %r14, %rdi
callq _mutex_lock
movq %rbx, %rdi
callq _register_generic_request
movq 8(%rbx), %rax
movq 8(%rax), %rcx
movq %rcx, -56(%rbp)
movslq (%rax), %r12
addq %rcx, %r12
movl (%rbx), %esi
leaq -56(%rbp), %r13
movq %r13, %rdi
callq _ceph_encode_64
movq %r15, %rdi
callq _strlen
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %eax, %ecx
callq _ceph_encode_string
xorl %edi, %edi
cmpq %r12, -56(%rbp)
setne %dil
callq _WARN_ON
movq %r14, %rdi
movq %rbx, %rsi
callq _send_generic_request
movq %r14, %rdi
callq _mutex_unlock
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq %rbx, %rdi
callq _put_generic_request
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
.cfi_endproc
## -- End function
.comm _GFP_NOIO,4,2 ## @GFP_NOIO
.comm _CEPH_MSG_MON_GET_VERSION,4,2 ## @CEPH_MSG_MON_GET_VERSION
.comm _CEPH_MSG_MON_GET_VERSION_REPLY,4,2 ## @CEPH_MSG_MON_GET_VERSION_REPLY
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip ___ceph_monc_get_version
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __ceph_monc_get_version
___ceph_monc_get_version: ; @__ceph_monc_get_version
.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 x22, x3
mov x23, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x25, _GFP_NOIO@GOTPAGE
Lloh1:
ldr x25, [x25, _GFP_NOIO@GOTPAGEOFF]
ldr w1, [x25]
bl _alloc_generic_request
mov x20, x0
cbz x0, LBB0_4
; %bb.1:
Lloh2:
adrp x8, _CEPH_MSG_MON_GET_VERSION@GOTPAGE
Lloh3:
ldr x8, [x8, _CEPH_MSG_MON_GET_VERSION@GOTPAGEOFF]
Lloh4:
ldr w24, [x8]
mov x0, x21
bl _strlen
add w1, w0, #8
ldr w2, [x25]
mov x0, x24
mov w3, #1
bl _ceph_msg_new
str x0, [x20, #8]
cbz x0, LBB0_4
; %bb.2:
Lloh5:
adrp x8, _CEPH_MSG_MON_GET_VERSION_REPLY@GOTPAGE
Lloh6:
ldr x8, [x8, _CEPH_MSG_MON_GET_VERSION_REPLY@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr w2, [x25]
mov w1, #32
mov w3, #1
bl _ceph_msg_new
str x0, [x20, #24]
cbz x0, LBB0_4
; %bb.3:
stp w22, w23, [x20, #16]
mov x0, x19
bl _mutex_lock
mov x0, x20
bl _register_generic_request
ldr x8, [x20, #8]
ldr x9, [x8, #8]
str x9, [sp, #8]
ldrsw x8, [x8]
add x22, x9, x8
ldr w1, [x20]
add x0, sp, #8
bl _ceph_encode_64
mov x0, x21
bl _strlen
mov x3, x0
add x0, sp, #8
mov x1, x22
mov x2, x21
bl _ceph_encode_string
ldr x8, [sp, #8]
cmp x8, x22
cset w0, ne
bl _WARN_ON
mov x0, x19
mov x1, x20
bl _send_generic_request
mov x0, x19
bl _mutex_unlock
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_4:
mov x0, x20
bl _put_generic_request
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _ERR_PTR
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _GFP_NOIO,4,2 ; @GFP_NOIO
.comm _CEPH_MSG_MON_GET_VERSION,4,2 ; @CEPH_MSG_MON_GET_VERSION
.comm _CEPH_MSG_MON_GET_VERSION_REPLY,4,2 ; @CEPH_MSG_MON_GET_VERSION_REPLY
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip ___ceph_monc_get_version
.subsections_via_symbols
| AnghaBench/linux/net/ceph/extr_mon_client.c___ceph_monc_get_version.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function LzmaEnc_Alloc
_LzmaEnc_Alloc: ## @LzmaEnc_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 %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movl %edx, %r12d
movl %esi, %r15d
movq %rdi, %rbx
movq _kNumOpts@GOTPCREL(%rip), %rax
movl (%rax), %r13d
addq $128, %rdi
movl %edx, %esi
callq _RangeEnc_Alloc
movq _SZ_ERROR_MEM@GOTPCREL(%rip), %rcx
testl %eax, %eax
je LBB0_18
## %bb.1:
xorl %eax, %eax
cmpq $0, 120(%rbx)
movl %r14d, -44(%rbp) ## 4-byte Spill
movq %r13, -56(%rbp) ## 8-byte Spill
je LBB0_4
## %bb.2:
cmpl $0, 112(%rbx)
jne LBB0_4
## %bb.3:
xorl %eax, %eax
cmpq $0, 32(%rbx)
setne %al
LBB0_4:
movl %eax, (%rbx)
movl 8(%rbx), %r13d
addl 4(%rbx), %r13d
cmpq $0, 104(%rbx)
je LBB0_7
## %bb.5:
cmpq $0, 96(%rbx)
je LBB0_7
## %bb.6:
cmpl %r13d, 12(%rbx)
je LBB0_10
LBB0_7:
movq %rbx, %rdi
movl %r12d, %esi
callq _LzmaEnc_FreeLits
movl $3072, %r14d ## imm = 0xC00
movl %r13d, %ecx
shll %cl, %r14d
movl %r12d, %edi
movl %r14d, %esi
callq _ISzAlloc_Alloc
movq %rax, 104(%rbx)
movl %r12d, %edi
movl %r14d, %esi
callq _ISzAlloc_Alloc
movq %rax, 96(%rbx)
cmpq $0, 104(%rbx)
je LBB0_19
## %bb.8:
testq %rax, %rax
je LBB0_19
## %bb.9:
movl %r13d, 12(%rbx)
movl (%rbx), %eax
LBB0_10:
movq 16(%rbx), %rsi
movq _kBigHashDicLimit@GOTPCREL(%rip), %r14
xorl %ecx, %ecx
cmpq (%r14), %rsi
setg %cl
movq %rcx, 48(%rbx)
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rdi, %rcx
addq %rsi, %rcx
movl %r15d, %edx
subl %esi, %r15d
cmpq %rdx, %rcx
cmovgel %edi, %r15d
testl %eax, %eax
je LBB0_15
## %bb.11:
leaq 72(%rbx), %r12
movl 64(%rbx), %ecx
movq _LZMA_MATCH_LEN_MAX@GOTPCREL(%rip), %rax
movq (%rax), %r8
incq %r8
movq %r12, %rdi
## kill: def $esi killed $esi killed $rsi
movl %r15d, %edx
movl -44(%rbp), %r9d ## 4-byte Reload
callq _MatchFinderMt_Create
movl %eax, %edi
callq _RINOK
movq %r12, 56(%rbx)
movq 16(%rbx), %rax
cmpq (%r14), %rax
jle LBB0_12
## %bb.13:
xorl %eax, %eax
cmpl $16777215, 40(%rbx) ## imm = 0xFFFFFF
setge %al
jmp LBB0_14
LBB0_19:
movq %rbx, %rdi
movl %r12d, %esi
callq _LzmaEnc_FreeLits
movq _SZ_ERROR_MEM@GOTPCREL(%rip), %rcx
jmp LBB0_18
LBB0_15:
leaq 32(%rbx), %r12
movl 64(%rbx), %ecx
movq _LZMA_MATCH_LEN_MAX@GOTPCREL(%rip), %rax
movq (%rax), %r8
movq %r12, %rdi
movl %r15d, %edx
movl -44(%rbp), %r9d ## 4-byte Reload
callq _MatchFinder_Create
testl %eax, %eax
movq _SZ_ERROR_MEM@GOTPCREL(%rip), %rcx
je LBB0_18
## %bb.16:
movq %r12, 56(%rbx)
addq $24, %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq _MatchFinder_CreateVTable
jmp LBB0_17
LBB0_12:
xorl %eax, %eax
LBB0_14:
movq %rax, 48(%rbx)
addq $24, %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq _MatchFinderMt_CreateVTable
LBB0_17:
movq _SZ_OK@GOTPCREL(%rip), %rcx
LBB0_18:
movl (%rcx), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _kNumOpts,4,2 ## @kNumOpts
.comm _SZ_ERROR_MEM,4,2 ## @SZ_ERROR_MEM
.comm _kBigHashDicLimit,8,3 ## @kBigHashDicLimit
.comm _LZMA_MATCH_LEN_MAX,8,3 ## @LZMA_MATCH_LEN_MAX
.comm _SZ_OK,4,2 ## @SZ_OK
.no_dead_strip _LzmaEnc_Alloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function LzmaEnc_Alloc
_LzmaEnc_Alloc: ; @LzmaEnc_Alloc
.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 x20, x3
mov x22, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, _kNumOpts@GOTPAGE
Lloh1:
ldr x8, [x8, _kNumOpts@GOTPAGEOFF]
Lloh2:
ldr w24, [x8]
add x0, x0, #128
mov x1, x2
bl _RangeEnc_Alloc
cbz w0, LBB0_15
; %bb.1:
ldr x8, [x19, #120]
cbz x8, LBB0_5
; %bb.2:
ldr w8, [x19, #112]
cbz w8, LBB0_4
; %bb.3:
mov w8, #0
b LBB0_5
LBB0_4:
ldr x8, [x19, #32]
cmp x8, #0
cset w8, ne
LBB0_5:
str w8, [x19]
ldp w9, w10, [x19, #4]
add w25, w10, w9
ldr x9, [x19, #104]
cbz x9, LBB0_8
; %bb.6:
ldr x9, [x19, #96]
cbz x9, LBB0_8
; %bb.7:
ldr w9, [x19, #12]
cmp w9, w25
b.eq LBB0_11
LBB0_8:
mov x0, x19
mov x1, x22
bl _LzmaEnc_FreeLits
mov w8, #3072
lsl w23, w8, w25
mov x0, x22
mov x1, x23
bl _ISzAlloc_Alloc
str x0, [x19, #104]
mov x0, x22
mov x1, x23
bl _ISzAlloc_Alloc
str x0, [x19, #96]
ldr x8, [x19, #104]
cbz x8, LBB0_14
; %bb.9:
cbz x0, LBB0_14
; %bb.10:
str w25, [x19, #12]
ldr w8, [x19]
LBB0_11:
ldr x1, [x19, #16]
Lloh3:
adrp x22, _kBigHashDicLimit@GOTPAGE
Lloh4:
ldr x22, [x22, _kBigHashDicLimit@GOTPAGEOFF]
ldr x9, [x22]
cmp x1, x9
cset w9, gt
str x9, [x19, #48]
add x9, x1, x24
sub w10, w21, w1
cmp x9, w21, uxtw
csel w2, w10, w24, lt
cbz w8, LBB0_16
; %bb.12:
add x21, x19, #72
ldr w3, [x19, #64]
Lloh5:
adrp x8, _LZMA_MATCH_LEN_MAX@GOTPAGE
Lloh6:
ldr x8, [x8, _LZMA_MATCH_LEN_MAX@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
add x4, x8, #1
mov x0, x21
; kill: def $w1 killed $w1 killed $x1
mov x5, x20
bl _MatchFinderMt_Create
bl _RINOK
str x21, [x19, #56]
ldr x8, [x19, #16]
ldr x9, [x22]
cmp x8, x9
b.le LBB0_18
; %bb.13:
ldr w8, [x19, #40]
mov w9, #16777214
cmp w8, w9
cset w8, gt
b LBB0_19
LBB0_14:
mov x0, x19
mov x1, x22
bl _LzmaEnc_FreeLits
LBB0_15:
Lloh8:
adrp x8, _SZ_ERROR_MEM@GOTPAGE
Lloh9:
ldr x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
b LBB0_21
LBB0_16:
add x21, x19, #32
ldr w3, [x19, #64]
Lloh10:
adrp x8, _LZMA_MATCH_LEN_MAX@GOTPAGE
Lloh11:
ldr x8, [x8, _LZMA_MATCH_LEN_MAX@GOTPAGEOFF]
Lloh12:
ldr x4, [x8]
mov x0, x21
mov x5, x20
bl _MatchFinder_Create
cbz w0, LBB0_15
; %bb.17:
str x21, [x19, #56]
add x1, x19, #24
mov x0, x21
bl _MatchFinder_CreateVTable
b LBB0_20
LBB0_18:
mov x8, #0
LBB0_19:
str x8, [x19, #48]
add x1, x19, #24
mov x0, x21
bl _MatchFinderMt_CreateVTable
LBB0_20:
Lloh13:
adrp x8, _SZ_OK@GOTPAGE
Lloh14:
ldr x8, [x8, _SZ_OK@GOTPAGEOFF]
LBB0_21:
ldr w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _kNumOpts,4,2 ; @kNumOpts
.comm _SZ_ERROR_MEM,4,2 ; @SZ_ERROR_MEM
.comm _kBigHashDicLimit,8,3 ; @kBigHashDicLimit
.comm _LZMA_MATCH_LEN_MAX,8,3 ; @LZMA_MATCH_LEN_MAX
.comm _SZ_OK,4,2 ; @SZ_OK
.no_dead_strip _LzmaEnc_Alloc
.subsections_via_symbols
| AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzmaEnc.c_LzmaEnc_Alloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qxl_device_fini ## -- Begin function qxl_device_fini
.p2align 4, 0x90
_qxl_device_fini: ## @qxl_device_fini
.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 40(%rdi), %rdi
callq _qxl_bo_unref
movq 40(%rbx), %rdi
addq $4, %rdi
callq _qxl_bo_unref
leaq 36(%rbx), %rdi
callq _flush_work
movl 32(%rbx), %edi
callq _qxl_ring_free
movl 28(%rbx), %edi
callq _qxl_ring_free
movl 24(%rbx), %edi
callq _qxl_ring_free
movq %rbx, %rdi
callq _qxl_gem_fini
movq %rbx, %rdi
callq _qxl_bo_fini
movl 20(%rbx), %edi
callq _io_mapping_free
movl 16(%rbx), %edi
callq _io_mapping_free
movq 8(%rbx), %rdi
callq _iounmap
movq (%rbx), %rdi
callq _iounmap
movq $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qxl_device_fini ; -- Begin function qxl_device_fini
.p2align 2
_qxl_device_fini: ; @qxl_device_fini
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #40]
bl _qxl_bo_unref
ldr x8, [x19, #40]
add x0, x8, #4
bl _qxl_bo_unref
add x0, x19, #36
bl _flush_work
ldr w0, [x19, #32]
bl _qxl_ring_free
ldr w0, [x19, #28]
bl _qxl_ring_free
ldr w0, [x19, #24]
bl _qxl_ring_free
mov x0, x19
bl _qxl_gem_fini
mov x0, x19
bl _qxl_bo_fini
ldr w0, [x19, #20]
bl _io_mapping_free
ldr w0, [x19, #16]
bl _io_mapping_free
ldr x0, [x19, #8]
bl _iounmap
ldr x0, [x19]
bl _iounmap
str xzr, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/qxl/extr_qxl_kms.c_qxl_device_fini.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LzmaEnc_PrepareForLzma2 ## -- Begin function LzmaEnc_PrepareForLzma2
.p2align 4, 0x90
_LzmaEnc_PrepareForLzma2: ## @LzmaEnc_PrepareForLzma2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, 8(%rdi)
movl $1, (%rdi)
movl %edx, %esi
movq %rcx, %rdx
movq %r8, %rcx
popq %rbp
jmp _LzmaEnc_AllocAndInit ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LzmaEnc_PrepareForLzma2 ; -- Begin function LzmaEnc_PrepareForLzma2
.p2align 2
_LzmaEnc_PrepareForLzma2: ; @LzmaEnc_PrepareForLzma2
.cfi_startproc
; %bb.0:
str x1, [x0, #8]
mov w8, #1
str w8, [x0]
mov x1, x2
mov x2, x3
mov x3, x4
b _LzmaEnc_AllocAndInit
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/poco/SevenZip/src/extr_LzmaEnc.c_LzmaEnc_PrepareForLzma2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libvlc_video_set_format ## -- Begin function libvlc_video_set_format
.p2align 4, 0x90
_libvlc_video_set_format: ## @libvlc_video_set_format
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r14d
movl %ecx, %r15d
movl %edx, %r12d
movq %rsi, %rdx
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _var_SetString
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movl %r12d, %edx
callq _var_SetInteger
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
movl %r15d, %edx
callq _var_SetInteger
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
movl %r14d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _var_SetInteger ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "vmem-chroma"
L_.str.1: ## @.str.1
.asciz "vmem-width"
L_.str.2: ## @.str.2
.asciz "vmem-height"
L_.str.3: ## @.str.3
.asciz "vmem-pitch"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libvlc_video_set_format ; -- Begin function libvlc_video_set_format
.p2align 2
_libvlc_video_set_format: ; @libvlc_video_set_format
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x4
mov x20, x3
mov x21, x2
mov x2, x1
mov x22, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _var_SetString
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x22
mov x2, x21
bl _var_SetInteger
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x22
mov x2, x20
bl _var_SetInteger
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x22
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _var_SetInteger
.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 "vmem-chroma"
l_.str.1: ; @.str.1
.asciz "vmem-width"
l_.str.2: ; @.str.2
.asciz "vmem-height"
l_.str.3: ; @.str.3
.asciz "vmem-pitch"
.subsections_via_symbols
| AnghaBench/vlc/lib/extr_media_player.c_libvlc_video_set_format.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpihelp_add_n ## -- Begin function mpihelp_add_n
.p2align 4, 0x90
_mpihelp_add_n: ## @mpihelp_add_n
.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
.cfi_offset %rbx, -24
## kill: def $ecx killed $ecx def $rcx
movl %ecx, %eax
negl %eax
movslq %eax, %r8
cmpl $1, %ecx
jne LBB0_2
## %bb.1:
xorl %eax, %eax
movq %r8, %r9
testb $1, %cl
jne LBB0_6
jmp LBB0_7
LBB0_2:
movl %ecx, %r10d
andl $-2, %r10d
xorl %r9d, %r9d
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%r9,8), %r11
addq %r11, %rax
shrq $63, %r11
movq (%rsi,%r9,8), %rbx
addq %rax, %rbx
shrq $63, %rax
addq %r11, %rax
movq %rbx, (%rdi,%r9,8)
movq 8(%rdx,%r9,8), %rbx
addq %rbx, %rax
shrq $63, %rbx
movq 8(%rsi,%r9,8), %r11
addq %rax, %r11
shrq $63, %rax
addq %rbx, %rax
movq %r11, 8(%rdi,%r9,8)
addq $2, %r9
cmpl %r9d, %r10d
jne LBB0_3
## %bb.4:
addq %r8, %r9
testb $1, %cl
je LBB0_7
LBB0_6:
shlq $3, %r8
subq %r8, %rsi
subq %r8, %rdx
subq %r8, %rdi
movq (%rdx,%r9,8), %rcx
addq %rcx, %rax
shrq $63, %rcx
movq (%rsi,%r9,8), %rdx
addq %rax, %rdx
shrq $63, %rax
addq %rcx, %rax
movq %rdx, (%rdi,%r9,8)
LBB0_7:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpihelp_add_n ; -- Begin function mpihelp_add_n
.p2align 2
_mpihelp_add_n: ; @mpihelp_add_n
.cfi_startproc
; %bb.0:
mov x8, #0
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x9, [x2], #8
ldr x10, [x1], #8
add x8, x9, x8
add x10, x8, x10
lsr x8, x8, #63
add x8, x8, x9, lsr #63
str x10, [x0], #8
subs w3, w3, #1
b.ne LBB0_1
; %bb.2:
mov x0, x8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/crypto/mpi/extr_generic_mpih-add1.c_mpihelp_add_n.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ad_wait_init
_ad_wait_init: ## @ad_wait_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $esi killed $esi def $rsi
testl %esi, %esi
movq %rsi, -48(%rbp) ## 8-byte Spill
jle LBB0_1
## %bb.2:
movq %rdi, %r15
leal 1(%rsi), %ebx
movq _MSS_INDEX@GOTPCREL(%rip), %r13
movq _MSS_IDXBUSY@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r13), %esi
movq %r15, %rdi
callq _io_rd
movl %eax, %r12d
testl %eax, (%r14)
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl $10, %edi
callq _DELAY
decl %ebx
cmpl $1, %ebx
jg LBB0_3
jmp LBB0_5
LBB0_1:
xorl %r12d, %r12d
LBB0_5:
leaq L_.str(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
movl %r12d, %edx
callq _printf
LBB0_6:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSS_INDEX,4,2 ## @MSS_INDEX
.comm _MSS_IDXBUSY,4,2 ## @MSS_IDXBUSY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "AD_WAIT_INIT FAILED %d 0x%02x\n"
.no_dead_strip _ad_wait_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ad_wait_init
_ad_wait_init: ; @ad_wait_init
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
cmp w1, #1
b.lt LBB0_4
; %bb.1:
mov x20, x0
add w22, w19, #1
Lloh0:
adrp x23, _MSS_INDEX@GOTPAGE
Lloh1:
ldr x23, [x23, _MSS_INDEX@GOTPAGEOFF]
Lloh2:
adrp x24, _MSS_IDXBUSY@GOTPAGE
Lloh3:
ldr x24, [x24, _MSS_IDXBUSY@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w1, [x23]
mov x0, x20
bl _io_rd
mov x21, x0
ldr w8, [x24]
tst w8, w0
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w0, #10
bl _DELAY
sub w22, w22, #1
cmp w22, #1
b.gt LBB0_2
b LBB0_5
LBB0_4:
mov w21, #0
LBB0_5:
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x2, x21
bl _printf
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MSS_INDEX,4,2 ; @MSS_INDEX
.comm _MSS_IDXBUSY,4,2 ; @MSS_IDXBUSY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "AD_WAIT_INIT FAILED %d 0x%02x\n"
.no_dead_strip _ad_wait_init
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/isa/extr_mss.c_ad_wait_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cvid_v4_32
_cvid_v4_32: ## @cvid_v4_32
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %eax
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movaps 16(%rbp), %xmm0
movq ___stack_chk_guard@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %rdx, -48(%rbp)
movq %r8, -80(%rbp)
movq %r9, -72(%rbp)
movaps %xmm0, -64(%rbp)
xorl %edx, %edx
testl %ecx, %ecx
setne %dl
leal -4(,%rdx,8), %ecx
cltd
idivl %ecx
cltq
shlq $3, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq -112(%rbp), %rbx ## 8-byte Folded Reload
jb LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r13, -88(%rbp) ## 8-byte Spill
movq -88(%rbp), %r13 ## 8-byte Reload
## kill: def $r13d killed $r13d killed $r13 def $r13
andl $2147483646, %r13d ## imm = 0x7FFFFFFE
movq %r12, -96(%rbp) ## 8-byte Spill
movq -96(%rbp), %r12 ## 8-byte Reload
## kill: def $r12d killed $r12d killed $r12 def $r12
andl $2, %r12d
movq -80(%rbp,%r13,8), %r15
movq 16(%r15), %rax
movl (%rax,%r12,4), %edi
movq (%r15), %rax
movq 8(%r15), %rcx
movl (%rcx,%r12,4), %esi
movl (%rax,%r12,4), %edx
callq _MAKECOLOUR32
cltq
movq %rax, (%rbx)
movq 16(%r15), %rax
movl %r12d, %r14d
orl $1, %r14d
movl (%rax,%r14,4), %edi
movq (%r15), %rax
movq 8(%r15), %rcx
movl (%rcx,%r14,4), %esi
movl (%rax,%r14,4), %edx
callq _MAKECOLOUR32
cltq
movq %rax, 8(%rbx)
orl $1, %r13d
movq %rbx, %r15
movq -80(%rbp,%r13,8), %rbx
movq -88(%rbp), %r13 ## 8-byte Reload
movq 16(%rbx), %rax
movl (%rax,%r12,4), %edi
movq (%rbx), %rax
movq 8(%rbx), %rcx
movl (%rcx,%r12,4), %esi
movl (%rax,%r12,4), %edx
movq -96(%rbp), %r12 ## 8-byte Reload
callq _MAKECOLOUR32
cltq
movq %rax, 16(%r15)
movq 16(%rbx), %rax
movl (%rax,%r14,4), %edi
movq (%rbx), %rax
movq 8(%rbx), %rcx
movq %r15, %rbx
movl (%rcx,%r14,4), %esi
movl (%rax,%r14,4), %edx
callq _MAKECOLOUR32
cltq
movq %rax, 24(%r15)
incq %r13
addq -104(%rbp), %rbx ## 8-byte Folded Reload
addl $2, %r12d
cmpq $4, %r13
jne LBB0_1
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_5
## %bb.4:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.no_dead_strip _cvid_v4_32
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cvid_v4_32
_cvid_v4_32: ; @cvid_v4_32
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
mov w21, #0
mov x22, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
stp x4, x5, [sp, #8]
stp x6, x7, [sp, #24]
cmp w3, #0
mov w8, #-4
cneg w8, w8, ne
sdiv w8, w2, w8
sbfiz x23, x8, #3, #32
add x24, sp, #8
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp x20, x19
b.lo LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
and w25, w22, #0x7ffffffe
and w26, w21, #0x2
ldr x27, [x24, w25, uxtw #3]
ldr x8, [x27, #16]
lsl x28, x26, #2
ldr w0, [x8, x28]
ldp x9, x8, [x27]
ldr w1, [x8, x28]
ldr w2, [x9, x28]
bl _MAKECOLOUR32
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
str x8, [x20]
ldr x8, [x27, #16]
orr w9, w26, #0x1
lsl x26, x9, #2
ldr w0, [x8, x26]
ldp x9, x8, [x27]
ldr w1, [x8, x26]
ldr w2, [x9, x26]
bl _MAKECOLOUR32
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
str x8, [x20, #8]
orr w8, w25, #0x1
ldr x25, [x24, w8, uxtw #3]
ldr x8, [x25, #16]
ldr w0, [x8, x28]
ldp x9, x8, [x25]
ldr w1, [x8, x28]
ldr w2, [x9, x28]
bl _MAKECOLOUR32
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
str x8, [x20, #16]
ldr x8, [x25, #16]
ldr w0, [x8, x26]
ldp x9, x8, [x25]
ldr w1, [x8, x26]
ldr w2, [x9, x26]
bl _MAKECOLOUR32
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
str x8, [x20, #24]
add x22, x22, #1
add w21, w21, #2
add x20, x20, x23
cmp x22, #4
b.ne LBB0_1
LBB0_3:
ldr x8, [sp, #40]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
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_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.no_dead_strip _cvid_v4_32
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/iccvid/extr_iccvid.c_cvid_v4_32.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_2
## %bb.1:
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq ___VERIFIER_error
.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 $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r12d, %r12d
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movl %eax, %r14d
movb %al, -42(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -41(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -40(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -39(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -38(%rbp)
xorl %edi, %edi
testb %al, %al
sete %dil
callq ___VERIFIER_assume
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movl %eax, %r15d
movb %al, -37(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -36(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -35(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -34(%rbp)
xorl %eax, %eax
callq ___VERIFIER_nondet_char
movb %al, -33(%rbp)
xorl %edi, %edi
testb %al, %al
sete %dil
callq ___VERIFIER_assume
movl $0, %ebx
testb %r14b, %r14b
je LBB1_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
cmpb $0, -41(%rbp,%rbx)
leaq 1(%rbx), %rbx
jne LBB1_2
LBB1_3:
testb %r15b, %r15b
je LBB1_6
## %bb.4:
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
cmpb $0, -36(%rbp,%r12)
leaq 1(%r12), %r12
jne LBB1_5
LBB1_6:
xorl %edi, %edi
cmpl %ebx, %r12d
setae %dil
callq ___VERIFIER_assume
xorl %ecx, %ecx
testl %ebx, %ebx
je LBB1_7
## %bb.8:
movl $0, %eax
testl %r12d, %r12d
je LBB1_17
## %bb.9:
xorl %eax, %eax
cmpb %r15b, %r14b
sete %al
movl $1, %ecx
cmpl $2, %ebx
jl LBB1_17
## %bb.10:
cmpl %eax, %r12d
jle LBB1_17
## %bb.11:
movl $1, %ecx
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rdx
movzbl -42(%rbp,%rdx), %edx
movslq %eax, %rsi
cmpb -37(%rbp,%rsi), %dl
je LBB1_13
## %bb.14: ## in Loop: Header=BB1_12 Depth=1
movl %eax, %edx
xorl %eax, %eax
jmp LBB1_15
.p2align 4, 0x90
LBB1_13: ## in Loop: Header=BB1_12 Depth=1
incl %eax
xorl %edx, %edx
LBB1_15: ## in Loop: Header=BB1_12 Depth=1
negl %edx
addl %edx, %ecx
incl %ecx
cmpl %ebx, %ecx
jge LBB1_17
## %bb.16: ## in Loop: Header=BB1_12 Depth=1
cmpl %r12d, %eax
jl LBB1_12
jmp LBB1_17
LBB1_7:
xorl %eax, %eax
LBB1_17:
xorl %edx, %edx
cmpl %r12d, %eax
setge %dl
## kill: def $cl killed $cl killed $rcx
shll %cl, %edx
cmpl $2, %edx
jae LBB1_19
## %bb.18:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_19:
xorl %eax, %eax
callq ___VERIFIER_error
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
bl ___VERIFIER_nondet_char
mov x19, x0
strb w0, [sp, #11]
bl ___VERIFIER_nondet_char
strb w0, [sp, #12]
bl ___VERIFIER_nondet_char
strb w0, [sp, #13]
bl ___VERIFIER_nondet_char
strb w0, [sp, #14]
bl ___VERIFIER_nondet_char
strb w0, [sp, #15]
cmp w0, #0
cset w0, eq
bl ___VERIFIER_assume
bl ___VERIFIER_nondet_char
mov x20, x0
strb w0, [sp, #6]
bl ___VERIFIER_nondet_char
strb w0, [sp, #7]
bl ___VERIFIER_nondet_char
strb w0, [sp, #8]
bl ___VERIFIER_nondet_char
strb w0, [sp, #9]
bl ___VERIFIER_nondet_char
strb w0, [sp, #10]
cmp w0, #0
cset w0, eq
bl ___VERIFIER_assume
cbz w19, LBB1_6
; %bb.1:
mov x21, #0
add x8, sp, #11
add x8, x8, #1
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, x21]
add x21, x21, #1
cbnz w9, LBB1_2
; %bb.3:
cbz w20, LBB1_7
LBB1_4:
mov x22, #0
add x8, sp, #6
add x8, x8, #1
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, x22]
add x22, x22, #1
cbnz w9, LBB1_5
b LBB1_8
LBB1_6:
mov w21, #0
cbnz w20, LBB1_4
LBB1_7:
mov w22, #0
LBB1_8:
cmp w22, w21
cset w0, hs
bl ___VERIFIER_assume
mov w8, #0
mov w9, #0
cbz w21, LBB1_14
; %bb.9:
cbz w22, LBB1_14
; %bb.10:
cmp w19, w20
cset w9, eq
mov w8, #1
cmp w21, #2
b.lt LBB1_14
; %bb.11:
cmp w22, w9
b.le LBB1_14
; %bb.12:
mov w8, #1
add x10, sp, #11
add x11, sp, #6
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x10, w8, sxtw]
ldrb w13, [x11, w9, sxtw]
cmp w12, w13
csel w12, wzr, w9, eq
csinc w9, wzr, w9, ne
sub w8, w8, w12
add w8, w8, #1
cmp w8, w21
ccmp w9, w22, #0, lt
b.lt LBB1_13
LBB1_14:
cmp w9, w22
cset w9, ge
lsl w8, w9, w8
cmp w8, #2
b.hs LBB1_16
; %bb.15:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB1_16:
bl ___VERIFIER_error
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/176706122.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pxrc_disconnect
_pxrc_disconnect: ## @pxrc_disconnect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _pxrc_disconnect
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pxrc_disconnect
_pxrc_disconnect: ; @pxrc_disconnect
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _pxrc_disconnect
.subsections_via_symbols
| AnghaBench/linux/drivers/input/joystick/extr_pxrc.c_pxrc_disconnect.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function e1000_valid_led_default_i210
_e1000_valid_led_default_i210: ## @e1000_valid_led_default_i210
.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
leaq L_.str(%rip), %rdi
callq _DEBUGFUNC
movq _NVM_ID_LED_SETTINGS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $1, %edx
movq %r14, %rcx
callq *8(%rbx)
movq %rax, %r15
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _DEBUGOUT
jmp LBB0_8
LBB0_2:
movq (%r14), %rax
movq _ID_LED_RESERVED_0000@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_4
## %bb.3:
movq _ID_LED_RESERVED_FFFF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
LBB0_4:
cmpl $128, (%rbx)
jne LBB0_6
## %bb.5:
movq _ID_LED_DEFAULT_I210_SERDES@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _ID_LED_DEFAULT_I210@GOTPCREL(%rip), %rax
LBB0_7:
movq (%rax), %rax
movq %rax, (%r14)
LBB0_8:
movq %r15, %rax
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 "e1000_valid_led_default_i210"
.comm _NVM_ID_LED_SETTINGS,4,2 ## @NVM_ID_LED_SETTINGS
L_.str.1: ## @.str.1
.asciz "NVM Read Error\n"
.comm _ID_LED_RESERVED_0000,8,3 ## @ID_LED_RESERVED_0000
.comm _ID_LED_RESERVED_FFFF,8,3 ## @ID_LED_RESERVED_FFFF
.comm _ID_LED_DEFAULT_I210_SERDES,8,3 ## @ID_LED_DEFAULT_I210_SERDES
.comm _ID_LED_DEFAULT_I210,8,3 ## @ID_LED_DEFAULT_I210
.no_dead_strip _e1000_valid_led_default_i210
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function e1000_valid_led_default_i210
_e1000_valid_led_default_i210: ; @e1000_valid_led_default_i210
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DEBUGFUNC
ldr x8, [x21, #8]
Lloh2:
adrp x9, _NVM_ID_LED_SETTINGS@GOTPAGE
Lloh3:
ldr x9, [x9, _NVM_ID_LED_SETTINGS@GOTPAGEOFF]
Lloh4:
ldr w1, [x9]
mov x0, x21
mov w2, #1
mov x3, x19
blr x8
mov x20, x0
cbz x0, LBB0_2
; %bb.1:
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _DEBUGOUT
b LBB0_7
LBB0_2:
ldr x8, [x19]
Lloh7:
adrp x9, _ID_LED_RESERVED_0000@GOTPAGE
Lloh8:
ldr x9, [x9, _ID_LED_RESERVED_0000@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
Lloh10:
adrp x10, _ID_LED_RESERVED_FFFF@GOTPAGE
Lloh11:
ldr x10, [x10, _ID_LED_RESERVED_FFFF@GOTPAGEOFF]
Lloh12:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_7
; %bb.3:
ldr w8, [x21]
cmp w8, #128
b.ne LBB0_5
; %bb.4:
Lloh13:
adrp x8, _ID_LED_DEFAULT_I210_SERDES@GOTPAGE
Lloh14:
ldr x8, [x8, _ID_LED_DEFAULT_I210_SERDES@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh15:
adrp x8, _ID_LED_DEFAULT_I210@GOTPAGE
Lloh16:
ldr x8, [x8, _ID_LED_DEFAULT_I210@GOTPAGEOFF]
LBB0_6:
ldr x8, [x8]
str x8, [x19]
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
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "e1000_valid_led_default_i210"
.comm _NVM_ID_LED_SETTINGS,4,2 ; @NVM_ID_LED_SETTINGS
l_.str.1: ; @.str.1
.asciz "NVM Read Error\n"
.comm _ID_LED_RESERVED_0000,8,3 ; @ID_LED_RESERVED_0000
.comm _ID_LED_RESERVED_FFFF,8,3 ; @ID_LED_RESERVED_FFFF
.comm _ID_LED_DEFAULT_I210_SERDES,8,3 ; @ID_LED_DEFAULT_I210_SERDES
.comm _ID_LED_DEFAULT_I210,8,3 ; @ID_LED_DEFAULT_I210
.no_dead_strip _e1000_valid_led_default_i210
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/e1000/extr_e1000_i210.c_e1000_valid_led_default_i210.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _connect_to_this ## -- Begin function connect_to_this
.p2align 4, 0x90
_connect_to_this: ## @connect_to_this
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -72(%rbp) ## 8-byte Spill
movl %esi, %ebx
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _strlen
## kill: def $eax killed $eax def $rax
incl %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r14, %rdi
movq %r15, -80(%rbp) ## 8-byte Spill
movq %r15, %rsi
callq _strcpy
leaq L_.str(%rip), %rdx
leaq -59(%rbp), %r12
movq %r12, %rdi
movl $10, %esi
movl %ebx, %ecx
callq _snprintfz
movq _IPPROTO_TCP@GOTPCREL(%rip), %rbx
movl (%rbx), %r15d
movq _SOCK_STREAM@GOTPCREL(%rip), %r13
movl (%r13), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
movl $4, %edx
callq _strncmp
testq %rax, %rax
je LBB0_1
## %bb.8:
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
movl $4, %edx
callq _strncmp
testq %rax, %rax
je LBB0_9
## %bb.10:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
movl $5, %edx
callq _strncmp
testq %rax, %rax
movq %rbx, %rdx
jne LBB0_3
## %bb.11:
addq $5, %r14
movq %r14, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
callq _connect_to_unix
jmp LBB0_26
LBB0_1:
addq $4, %r14
movl (%rbx), %r15d
movl (%r13), %eax
jmp LBB0_2
LBB0_9:
addq $4, %r14
movq _IPPROTO_UDP@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _SOCK_DGRAM@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_2:
movl %eax, -64(%rbp) ## 4-byte Spill
movq %rbx, %rdx
LBB0_3:
movzbl (%r14), %eax
leaq 1(%r14), %rbx
testb %al, %al
je LBB0_16
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl %al, %ecx
cmpl $37, %ecx
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl $58, %ecx
je LBB0_16
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB0_5
LBB0_16:
movq %rbx, %rcx
decq %rcx
leaq L_.str.1(%rip), %rbx
LBB0_17:
cmpb $58, %al
jne LBB0_19
## %bb.18:
movb $0, (%rcx)
incq %rcx
movq %rcx, %r12
LBB0_19:
movq _D_CONNECT_TO@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rdx), %eax
movq _IPPROTO_UDP@GOTPCREL(%rip), %rcx
movl (%rcx), %r10d
leaq L_.str.5(%rip), %rsi
movq %r14, %rdx
movq %r12, %rcx
movq %rbx, %r8
movl %r15d, %r9d
pushq %r10
pushq %rax
callq _debug
addq $16, %rsp
cmpb $0, (%r14)
je LBB0_20
## %bb.21:
cmpb $0, (%rbx)
je LBB0_24
## %bb.22:
movq %rbx, %rdi
callq _if_nametoindex
movq %rax, %rcx
testq %rax, %rax
jne LBB0_25
## %bb.23:
leaq L_.str.7(%rip), %rdi
movq %rbx, %rsi
callq _error
LBB0_24:
xorl %ecx, %ecx
LBB0_25:
cmpb $0, (%r12)
leaq -59(%rbp), %r8
cmovneq %r12, %r8
movl %r15d, %edi
movl -64(%rbp), %esi ## 4-byte Reload
movq %r14, %rdx
movq -72(%rbp), %r9 ## 8-byte Reload
callq _connect_to_this_ip46
jmp LBB0_26
LBB0_20:
leaq L_.str.6(%rip), %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
callq _error
movl $-1, %eax
LBB0_26:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_28
## %bb.27:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movb $0, -1(%rbx)
movq %rbx, %rcx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx), %eax
testl %eax, %eax
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
cmpl $58, %eax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
incq %rcx
jmp LBB0_13
LBB0_28:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.space 1
.comm _IPPROTO_TCP,4,2 ## @IPPROTO_TCP
.comm _SOCK_STREAM,4,2 ## @SOCK_STREAM
L_.str.2: ## @.str.2
.asciz "tcp:"
L_.str.3: ## @.str.3
.asciz "udp:"
.comm _IPPROTO_UDP,4,2 ## @IPPROTO_UDP
.comm _SOCK_DGRAM,4,2 ## @SOCK_DGRAM
L_.str.4: ## @.str.4
.asciz "unix:"
.comm _D_CONNECT_TO,4,2 ## @D_CONNECT_TO
L_.str.5: ## @.str.5
.asciz "Attempting connection to host = '%s', service = '%s', interface = '%s', protocol = %d (tcp = %d, udp = %d)"
L_.str.6: ## @.str.6
.asciz "Definition '%s' does not specify a host."
L_.str.7: ## @.str.7
.asciz "Cannot find a network interface named '%s'. Continuing with limiting the network interface"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _connect_to_this ; -- Begin function connect_to_this
.p2align 2
_connect_to_this: ; @connect_to_this
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
sub sp, sp, #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
.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, x2
mov x22, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
bl _strlen
add w8, w0, #1
mov x9, x8
Lloh3:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh4:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x20, x9, x8
mov sp, x20
mov x0, x20
mov x1, x21
bl _strcpy
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
sub x0, x29, #99
mov w1, #10 ; =0xa
mov x3, x22
bl _snprintfz
Lloh7:
adrp x26, _IPPROTO_TCP@GOTPAGE
Lloh8:
ldr x26, [x26, _IPPROTO_TCP@GOTPAGEOFF]
ldr w22, [x26]
Lloh9:
adrp x24, _SOCK_STREAM@GOTPAGE
Lloh10:
ldr x24, [x24, _SOCK_STREAM@GOTPAGEOFF]
ldr w23, [x24]
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
mov w2, #4 ; =0x4
bl _strncmp
Lloh13:
adrp x27, _IPPROTO_UDP@GOTPAGE
Lloh14:
ldr x27, [x27, _IPPROTO_UDP@GOTPAGEOFF]
cbz x0, LBB0_4
; %bb.1:
Lloh15:
adrp x1, l_.str.3@PAGE
Lloh16:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
mov w2, #4 ; =0x4
bl _strncmp
cbz x0, LBB0_5
; %bb.2:
Lloh17:
adrp x1, l_.str.4@PAGE
Lloh18:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
mov w2, #5 ; =0x5
bl _strncmp
cbnz x0, LBB0_6
; %bb.3:
add x0, x20, #5
mov x1, x19
bl _connect_to_unix
b LBB0_21
LBB0_4:
add x20, x20, #4
ldr w22, [x26]
ldr w23, [x24]
b LBB0_6
LBB0_5:
add x20, x20, #4
ldr w22, [x27]
Lloh19:
adrp x8, _SOCK_DGRAM@GOTPAGE
Lloh20:
ldr x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh21:
ldr w23, [x8]
LBB0_6:
mov x24, x20
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x24], #1
cbz w8, LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #37
b.eq LBB0_23
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #58
b.ne LBB0_7
LBB0_10:
sub x25, x24, #1
Lloh22:
adrp x24, l_.str.1@PAGE
Lloh23:
add x24, x24, l_.str.1@PAGEOFF
LBB0_11:
cmp w8, #58
b.ne LBB0_13
; %bb.12:
strb wzr, [x25], #1
b LBB0_14
LBB0_13:
sub x25, x29, #99
LBB0_14:
Lloh24:
adrp x8, _D_CONNECT_TO@GOTPAGE
Lloh25:
ldr x8, [x8, _D_CONNECT_TO@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
ldr w6, [x26]
ldr w7, [x27]
Lloh27:
adrp x1, l_.str.5@PAGE
Lloh28:
add x1, x1, l_.str.5@PAGEOFF
mov x2, x20
mov x3, x25
mov x4, x24
mov x5, x22
bl _debug
ldrb w8, [x20]
cbz w8, LBB0_20
; %bb.15:
ldrb w8, [x24]
cbz w8, LBB0_18
; %bb.16:
mov x0, x24
bl _if_nametoindex
mov x3, x0
cbnz x0, LBB0_19
; %bb.17:
Lloh29:
adrp x0, l_.str.7@PAGE
Lloh30:
add x0, x0, l_.str.7@PAGEOFF
mov x1, x24
bl _error
LBB0_18:
mov x3, #0 ; =0x0
LBB0_19:
ldrb w8, [x25]
cmp w8, #0
sub x8, x29, #99
csel x4, x8, x25, eq
mov x0, x22
mov x1, x23
mov x2, x20
mov x5, x19
bl _connect_to_this_ip46
b LBB0_21
LBB0_20:
Lloh31:
adrp x0, l_.str.6@PAGE
Lloh32:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x21
bl _error
mov w0, #-1 ; =0xffffffff
LBB0_21:
ldur x8, [x29, #-88]
Lloh33:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh34:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_26
; %bb.22:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_23:
sturb wzr, [x24, #-1]
mov x25, x24
ldrb w8, [x25]
cbz w8, LBB0_11
LBB0_24: ; =>This Inner Loop Header: Depth=1
cmp w8, #58
b.eq LBB0_11
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
add x25, x25, #1
ldrb w8, [x25]
cbnz w8, LBB0_24
b LBB0_11
LBB0_26:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.space 1
.comm _IPPROTO_TCP,4,2 ; @IPPROTO_TCP
.comm _SOCK_STREAM,4,2 ; @SOCK_STREAM
l_.str.2: ; @.str.2
.asciz "tcp:"
l_.str.3: ; @.str.3
.asciz "udp:"
.comm _IPPROTO_UDP,4,2 ; @IPPROTO_UDP
.comm _SOCK_DGRAM,4,2 ; @SOCK_DGRAM
l_.str.4: ; @.str.4
.asciz "unix:"
.comm _D_CONNECT_TO,4,2 ; @D_CONNECT_TO
l_.str.5: ; @.str.5
.asciz "Attempting connection to host = '%s', service = '%s', interface = '%s', protocol = %d (tcp = %d, udp = %d)"
l_.str.6: ; @.str.6
.asciz "Definition '%s' does not specify a host."
l_.str.7: ; @.str.7
.asciz "Cannot find a network interface named '%s'. Continuing with limiting the network interface"
.subsections_via_symbols
| assembly_file_134027.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ngx_http_tfs_create_batch_block_info_message
_ngx_http_tfs_create_batch_block_info_message: ## @ngx_http_tfs_create_batch_block_info_message
.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 8(%rdi), %r14
subq 16(%rdi), %r14
movq _NGX_HTTP_TFS_MAX_BATCH_COUNT@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %r14
cmovgeq %rax, %r14
movq _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPCREL(%rip), %r12
movl (%r12), %eax
testl %eax, 24(%rdi)
je LBB0_3
## %bb.1:
testq %r14, %r14
jle LBB0_3
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
jmp LBB0_2
LBB0_3:
leaq (,%r14,8), %r15
movl $56, %esi
subq %r15, %rsi
movq %rdi, %r13
movl (%rdi), %edi
callq _ngx_create_temp_buf
testq %rax, %rax
je LBB0_4
## %bb.12:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq 8, %rbx
movq _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rbx)
movl $52, %eax
subq %r15, %rax
movq %rax, 8(%rbx)
movq _NGX_HTTP_TFS_PACKET_FLAG@GOTPCREL(%rip), %r15
movl (%r15), %eax
movl %eax, 28(%rbx)
movq _NGX_HTTP_TFS_PACKET_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
xorl %eax, %eax
callq _ngx_http_tfs_generate_packet_id
movl %eax, 20(%rbx)
movl 24(%r13), %eax
movl %eax, (%rbx)
movq %r14, 48(%rbx)
testq %r14, %r14
jle LBB0_11
## %bb.5:
movq 16(%r13), %rdx
movq 32(%r13), %rsi
movl (%r12), %ecx
shlq $4, %rdx
addq %rsi, %rdx
addq $8, %rdx
xorl %esi, %esi
movq _NGX_HTTP_TFS_NO_BLOCK_CACHE@GOTPCREL(%rip), %rdi
xorl %r8d, %r8d
jmp LBB0_6
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movq 40(%rbx), %r9
movq $0, (%r9,%r8,8)
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
incq %r8
addq $16, %rdx
cmpq %r8, %r14
je LBB0_11
LBB0_6: ## =>This Inner Loop Header: Depth=1
testl %eax, %ecx
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -8(%rdx), %r9
cmpq (%rdi), %r9
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq (%rdx), %r9
movq 40(%rbx), %r10
movq %r9, (%r10,%rsi,8)
incq %rsi
jmp LBB0_10
LBB0_11:
movl (%r15), %edi
movq 8(%rbx), %rdx
addq $40, %rbx
movq %rbx, %rsi
callq _ngx_http_tfs_crc
ud2
.cfi_endproc
## -- End function
.comm _NGX_HTTP_TFS_MAX_BATCH_COUNT,8,3 ## @NGX_HTTP_TFS_MAX_BATCH_COUNT
.comm _NGX_HTTP_TFS_OPEN_MODE_READ,4,2 ## @NGX_HTTP_TFS_OPEN_MODE_READ
.comm _NGX_HTTP_TFS_NO_BLOCK_CACHE,8,3 ## @NGX_HTTP_TFS_NO_BLOCK_CACHE
.comm _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE,4,2 ## @NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE
.comm _NGX_HTTP_TFS_PACKET_FLAG,4,2 ## @NGX_HTTP_TFS_PACKET_FLAG
.comm _NGX_HTTP_TFS_PACKET_VERSION,4,2 ## @NGX_HTTP_TFS_PACKET_VERSION
.no_dead_strip _ngx_http_tfs_create_batch_block_info_message
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ngx_http_tfs_create_batch_block_info_message
_ngx_http_tfs_create_batch_block_info_message: ; @ngx_http_tfs_create_batch_block_info_message
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, _NGX_HTTP_TFS_MAX_BATCH_COUNT@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_HTTP_TFS_MAX_BATCH_COUNT@GOTPAGEOFF]
ldp x9, x10, [x0, #8]
Lloh2:
ldr x8, [x8]
sub x9, x9, x10
cmp x9, x8
csel x19, x9, x8, lt
ldr w8, [x0, #24]
Lloh3:
adrp x20, _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPAGE
Lloh4:
ldr x20, [x20, _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPAGEOFF]
ldr w9, [x20]
and w8, w9, w8
cmp w8, #0
ccmp x19, #1, #8, ne
b.ge LBB0_3
; %bb.1:
lsl x22, x19, #3
mov w8, #56 ; =0x38
sub x1, x8, x22
mov x21, x0
ldr w0, [x0]
bl _ngx_create_temp_buf
cbz x0, LBB0_4
; %bb.2:
mov x0, #0 ; =0x0
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_3: ; =>This Inner Loop Header: Depth=1
b LBB0_3
LBB0_4:
mov w8, #8 ; =0x8
ldr x23, [x8]
Lloh5:
adrp x8, _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE@GOTPAGE
Lloh6:
ldr x8, [x8, _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [x23, #32]
mov w8, #52 ; =0x34
sub x8, x8, x22
str x8, [x23, #8]
Lloh8:
adrp x22, _NGX_HTTP_TFS_PACKET_FLAG@GOTPAGE
Lloh9:
ldr x22, [x22, _NGX_HTTP_TFS_PACKET_FLAG@GOTPAGEOFF]
ldr w8, [x22]
Lloh10:
adrp x9, _NGX_HTTP_TFS_PACKET_VERSION@GOTPAGE
Lloh11:
ldr x9, [x9, _NGX_HTTP_TFS_PACKET_VERSION@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
stp w9, w8, [x23, #24]
bl _ngx_http_tfs_generate_packet_id
mov x8, x23
str w0, [x23, #20]
ldr w11, [x21, #24]
str w11, [x23]
str x19, [x23, #48]
cmp x19, #1
b.lt LBB0_11
; %bb.5:
mov x9, #0 ; =0x0
mov x10, #0 ; =0x0
ldr x12, [x21, #32]
ldr x13, [x21, #16]
ldr w14, [x20]
and w11, w14, w11
add x12, x12, x13, lsl #4
add x12, x12, #8
Lloh13:
adrp x13, _NGX_HTTP_TFS_NO_BLOCK_CACHE@GOTPAGE
Lloh14:
ldr x13, [x13, _NGX_HTTP_TFS_NO_BLOCK_CACHE@GOTPAGEOFF]
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
ldr x14, [x8, #40]
str xzr, [x14, x10, lsl #3]
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x10, x10, #1
add x12, x12, #16
cmp x19, x10
b.eq LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
cbz w11, LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldur x14, [x12, #-8]
ldr x15, [x13]
cmp x14, x15
b.ne LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
ldr x14, [x12]
ldr x15, [x8, #40]
str x14, [x15, x9, lsl #3]
add x9, x9, #1
b LBB0_7
LBB0_11:
ldr w0, [x22]
ldr x2, [x8, #8]
add x1, x8, #40
bl _ngx_http_tfs_crc
brk #0x1
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _NGX_HTTP_TFS_MAX_BATCH_COUNT,8,3 ; @NGX_HTTP_TFS_MAX_BATCH_COUNT
.comm _NGX_HTTP_TFS_OPEN_MODE_READ,4,2 ; @NGX_HTTP_TFS_OPEN_MODE_READ
.comm _NGX_HTTP_TFS_NO_BLOCK_CACHE,8,3 ; @NGX_HTTP_TFS_NO_BLOCK_CACHE
.comm _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE,4,2 ; @NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE
.comm _NGX_HTTP_TFS_PACKET_FLAG,4,2 ; @NGX_HTTP_TFS_PACKET_FLAG
.comm _NGX_HTTP_TFS_PACKET_VERSION,4,2 ; @NGX_HTTP_TFS_PACKET_VERSION
.no_dead_strip _ngx_http_tfs_create_batch_block_info_message
.subsections_via_symbols
| assembly_file_38058.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_flags
_get_flags: ## @get_flags
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $0, -20(%rbp)
movq _ipfname@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _opendevice
xorl %ebx, %ebx
cmpl $-2, %eax
je LBB0_4
## %bb.1:
movq _fd@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq _SIOCGETFF@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -20(%rbp), %rdx
callq _ioctl
cmpl $-1, %eax
je LBB0_3
## %bb.2:
movl -20(%rbp), %ebx
jmp LBB0_4
LBB0_3:
movl (%r14), %edi
leaq L_.str(%rip), %rsi
callq _ipferror
LBB0_4:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ipfname,4,2 ## @ipfname
.comm _fd,4,2 ## @fd
.comm _SIOCGETFF,4,2 ## @SIOCGETFF
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SIOCGETFF"
.no_dead_strip _get_flags
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_flags
_get_flags: ; @get_flags
.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
str wzr, [sp, #12]
Lloh0:
adrp x8, _ipfname@GOTPAGE
Lloh1:
ldr x8, [x8, _ipfname@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #1
bl _opendevice
mov x8, x0
mov w0, #0
cmn w8, #2
b.eq LBB0_4
; %bb.1:
Lloh3:
adrp x19, _fd@GOTPAGE
Lloh4:
ldr x19, [x19, _fd@GOTPAGEOFF]
ldr w0, [x19]
Lloh5:
adrp x8, _SIOCGETFF@GOTPAGE
Lloh6:
ldr x8, [x8, _SIOCGETFF@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
add x2, sp, #12
bl _ioctl
cmn w0, #1
b.eq LBB0_3
; %bb.2:
ldr w0, [sp, #12]
b LBB0_4
LBB0_3:
ldr w0, [x19]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _ipferror
mov w0, #0
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 Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _ipfname,4,2 ; @ipfname
.comm _fd,4,2 ; @fd
.comm _SIOCGETFF,4,2 ; @SIOCGETFF
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SIOCGETFF"
.no_dead_strip _get_flags
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ipfilter/tools/extr_ipf.c_get_flags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sci_remote_node_table_get_group_value
_sci_remote_node_table_get_group_value: ## @sci_remote_node_table_get_group_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movq _SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rsi, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_1
## %bb.2:
xorl %edx, %edx
divq %rcx
movq %rdx, %rcx
jmp LBB0_3
LBB0_1:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
movl %edx, %ecx
## kill: def $eax killed $eax def $rax
LBB0_3:
movq _SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
shll $2, %ecx
shlq %cl, %rdx
movq (%rdi), %rsi
andq (%rsi,%rax,8), %rdx
## kill: def $cl killed $cl killed $rcx
shrq %cl, %rdx
movl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD,8,3 ## @SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD
.comm _SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE,8,3 ## @SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE
.no_dead_strip _sci_remote_node_table_get_group_value
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sci_remote_node_table_get_group_value
_sci_remote_node_table_get_group_value: ; @sci_remote_node_table_get_group_value
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD@GOTPAGE
Lloh1:
ldr x8, [x8, _SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
udiv x9, x1, x8
msub x8, x9, x8, x1
ldr x10, [x0]
ldr x9, [x10, x9, lsl #3]
Lloh3:
adrp x10, _SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE@GOTPAGE
Lloh4:
ldr x10, [x10, _SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
lsl x8, x8, #2
lsl x10, x10, x8
and x9, x10, x9
lsr x0, x9, x8
; kill: def $w0 killed $w0 killed $x0
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD,8,3 ; @SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD
.comm _SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE,8,3 ; @SCIC_SDS_REMOTE_NODE_TABLE_FULL_SLOT_VALUE
.no_dead_strip _sci_remote_node_table_get_group_value
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/isci/extr_remote_node_table.c_sci_remote_node_table_get_group_value.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function drm_dp_encode_sideband_msg_hdr
_drm_dp_encode_sideband_msg_hdr: ## @drm_dp_encode_sideband_msg_hdr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movl (%rdi), %eax
shll $4, %eax
movzbl 4(%rdi), %ecx
orl %eax, %ecx
orl $240, %ecx
movl %ecx, (%rsi)
movl $1, %eax
cmpl $2, (%rdi)
jl LBB0_4
## %bb.1:
movq 8(%rdi), %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rcx,%rax,4), %edx
movl %edx, 4(%r14,%rax,4)
incq %rax
movl (%rdi), %edx
movl %edx, %esi
shrl $31, %esi
addl %edx, %esi
sarl %esi
movslq %esi, %rdx
cmpq %rdx, %rax
jl LBB0_2
## %bb.3:
incl %eax
LBB0_4:
movl 16(%rdi), %ecx
movl 20(%rdi), %edx
shll $7, %ecx
shll $6, %edx
orl %ecx, %edx
movl 24(%rdi), %ecx
andl $63, %ecx
orl %edx, %ecx
movl %eax, %r15d
movl %ecx, (%r14,%r15,4)
movl 28(%rdi), %ecx
movl 32(%rdi), %edx
shll $7, %ecx
shll $6, %edx
orl %ecx, %edx
movl 36(%rdi), %ecx
shll $4, %ecx
orl %edx, %ecx
movl %ecx, 4(%r14,%r15,4)
movl %eax, %r12d
addl $2, %r12d
leal 3(,%rax,2), %esi
movq %r14, %rdi
callq _drm_dp_msg_header_crc4
andl $15, %eax
orl %eax, 4(%r14,%r15,4)
movl %r12d, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _drm_dp_encode_sideband_msg_hdr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function drm_dp_encode_sideband_msg_hdr
_drm_dp_encode_sideband_msg_hdr: ; @drm_dp_encode_sideband_msg_hdr
.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, x2
mov x8, x1
ldp w9, w10, [x0]
bfi w10, w9, #4, #28
orr w9, w10, #0xf0
str w9, [x1]
ldr w9, [x0]
cmp w9, #2
b.lt LBB0_4
; %bb.1:
mov x9, #0 ; =0x0
ldr x10, [x0, #8]
add x11, x8, #4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, x9, lsl #2]
str w12, [x11, x9, lsl #2]
add x9, x9, #1
ldr w12, [x0]
add w12, w12, w12, lsr #31
asr w12, w12, #1
cmp x9, w12, sxtw
b.lt LBB0_2
; %bb.3:
add w9, w9, #1
b LBB0_5
LBB0_4:
mov w9, #1 ; =0x1
LBB0_5:
ldp w10, w11, [x0, #16]
lsl w11, w11, #6
orr w10, w11, w10, lsl #7
ldr w11, [x0, #24]
bfxil w10, w11, #0, #6
add x20, x8, w9, uxtw #2
str w10, [x20]
ldp w10, w11, [x0, #28]
lsl w11, w11, #6
orr w10, w11, w10, lsl #7
ldr w11, [x0, #36]
orr w10, w10, w11, lsl #4
add w21, w9, #2
str w10, [x20, #4]
lsl w9, w21, #1
sub w1, w9, #1
mov x0, x8
bl _drm_dp_msg_header_crc4
and w8, w0, #0xf
ldr w9, [x20, #4]
orr w8, w9, w8
str w8, [x20, #4]
str w21, [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
.cfi_endproc
; -- End function
.no_dead_strip _drm_dp_encode_sideband_msg_hdr
.subsections_via_symbols
| assembly_file_104648.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nvec_ps2_notifier
_nvec_ps2_notifier: ## @nvec_ps2_notifier
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
cmpq $129, %rsi
je LBB0_7
## %bb.1:
cmpq $128, %rsi
jne LBB0_2
## %bb.3:
leaq 2(%rbx), %r14
xorl %r15d, %r15d
movq _ps2_dev@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl (%r12), %edi
movzbl 2(%rbx,%r15), %esi
xorl %edx, %edx
callq _serio_interrupt
decq %r15
movzbl 1(%rbx), %eax
cmpq %rax, %r15
jle LBB0_4
## %bb.5:
movzbl %al, %edx
leaq L_.str(%rip), %rdi
jmp LBB0_6
LBB0_7:
cmpb $1, 2(%rbx)
jne LBB0_13
## %bb.8:
leaq 4(%rbx), %r14
movzbl 1(%rbx), %eax
cmpl $3, %eax
jb LBB0_9
## %bb.10:
xorl %r15d, %r15d
movq _ps2_dev@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl (%r12), %edi
movzbl 4(%rbx,%r15), %esi
xorl %edx, %edx
callq _serio_interrupt
incq %r15
movzbl 1(%rbx), %eax
addq $-2, %rax
cmpq %rax, %r15
jl LBB0_11
jmp LBB0_12
LBB0_2:
movq _NOTIFY_DONE@GOTPCREL(%rip), %r14
jmp LBB0_15
LBB0_13:
movzbl 1(%rbx), %eax
movq _NOTIFY_STOP@GOTPCREL(%rip), %r14
cmpb $2, %al
je LBB0_15
## %bb.14:
addb $2, %al
movzbl %al, %edx
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
callq _NVEC_PHD
jmp LBB0_15
LBB0_9:
addl $-2, %eax
LBB0_12:
movzbl %al, %edx
leaq L_.str.1(%rip), %rdi
LBB0_6:
movq %r14, %rsi
callq _NVEC_PHD
movq _NOTIFY_STOP@GOTPCREL(%rip), %r14
LBB0_15:
movl (%r14), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ps2_dev,4,2 ## @ps2_dev
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ps/2 mouse event: "
.comm _NOTIFY_STOP,4,2 ## @NOTIFY_STOP
L_.str.1: ## @.str.1
.asciz "ps/2 mouse reply: "
L_.str.2: ## @.str.2
.asciz "unhandled mouse event: "
.comm _NOTIFY_DONE,4,2 ## @NOTIFY_DONE
.no_dead_strip _nvec_ps2_notifier
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nvec_ps2_notifier
_nvec_ps2_notifier: ; @nvec_ps2_notifier
.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, x2
cmp x1, #129
b.eq LBB0_5
; %bb.1:
cmp x1, #128
b.ne LBB0_9
; %bb.2:
mov x21, #0 ; =0x0
add x20, x19, #2
Lloh0:
adrp x22, _ps2_dev@GOTPAGE
Lloh1:
ldr x22, [x22, _ps2_dev@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22]
ldrb w1, [x20, x21]
mov w2, #0 ; =0x0
bl _serio_interrupt
sub x21, x21, #1
ldrb w2, [x19, #1]
cmp x21, x2
b.le LBB0_3
; %bb.4:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
; kill: def $w2 killed $w2 killed $x2
b LBB0_14
LBB0_5:
ldrb w8, [x19, #2]
cmp w8, #1
b.ne LBB0_10
; %bb.6:
add x20, x19, #4
ldrb w8, [x19, #1]
cmp w8, #3
b.lo LBB0_12
; %bb.7:
mov x21, #0 ; =0x0
Lloh4:
adrp x22, _ps2_dev@GOTPAGE
Lloh5:
ldr x22, [x22, _ps2_dev@GOTPAGEOFF]
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22]
ldrb w1, [x20, x21]
mov w2, #0 ; =0x0
bl _serio_interrupt
add x21, x21, #1
ldrb w8, [x19, #1]
sub x8, x8, #2
cmp x21, x8
b.lt LBB0_8
b LBB0_13
LBB0_9:
Lloh6:
adrp x8, _NOTIFY_DONE@GOTPAGE
Lloh7:
ldr x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
b LBB0_16
LBB0_10:
ldrb w8, [x19, #1]
cmp w8, #2
b.eq LBB0_15
; %bb.11:
add w8, w8, #2
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
and w2, w8, #0xff
mov x1, x19
b LBB0_14
LBB0_12:
sub w8, w8, #2
LBB0_13:
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
and w2, w8, #0xff
mov x1, x20
LBB0_14:
bl _NVEC_PHD
LBB0_15:
Lloh12:
adrp x8, _NOTIFY_STOP@GOTPAGE
Lloh13:
ldr x8, [x8, _NOTIFY_STOP@GOTPAGEOFF]
LBB0_16:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _ps2_dev,4,2 ; @ps2_dev
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ps/2 mouse event: "
.comm _NOTIFY_STOP,4,2 ; @NOTIFY_STOP
l_.str.1: ; @.str.1
.asciz "ps/2 mouse reply: "
l_.str.2: ; @.str.2
.asciz "unhandled mouse event: "
.comm _NOTIFY_DONE,4,2 ; @NOTIFY_DONE
.no_dead_strip _nvec_ps2_notifier
.subsections_via_symbols
| assembly_file_6338.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function port_mdb_del
_port_mdb_del: ## @port_mdb_del
.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, %r15
movq %rdi, %r14
callq _netdev_priv
movq %rax, %r12
movl (%r15), %edx
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq _port_lookup_address
testl %eax, %eax
je LBB0_1
## %bb.2:
movl (%r15), %esi
movq %r12, %rdi
callq _ethsw_port_fdb_del_mc
movl %eax, %ebx
testl %eax, %eax
jne LBB0_6
## %bb.3:
movl (%r15), %esi
movq %r14, %rdi
callq _dev_mc_del
testl %eax, %eax
je LBB0_4
## %bb.5:
movl %eax, %ebx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
movl %eax, %edx
callq _netdev_err
jmp LBB0_6
LBB0_1:
movq _ENOENT@GOTPCREL(%rip), %rax
subl (%rax), %ebx
jmp LBB0_6
LBB0_4:
xorl %ebx, %ebx
LBB0_6:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOENT,4,2 ## @ENOENT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dev_mc_del err %d\n"
.no_dead_strip _port_mdb_del
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function port_mdb_del
_port_mdb_del: ; @port_mdb_del
.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
bl _netdev_priv
mov x21, x0
ldr w2, [x20]
mov x0, x19
mov w1, #0
bl _port_lookup_address
cbz w0, LBB0_4
; %bb.1:
ldr w1, [x20]
mov x0, x21
bl _ethsw_port_fdb_del_mc
mov x21, x0
cbnz w0, LBB0_5
; %bb.2:
ldr w1, [x20]
mov x0, x19
bl _dev_mc_del
mov x21, x0
cbz w0, LBB0_5
; %bb.3:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, x21
bl _netdev_err
b LBB0_5
LBB0_4:
Lloh2:
adrp x8, _ENOENT@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w21, w8
LBB0_5:
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 AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ENOENT,4,2 ; @ENOENT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dev_mc_del err %d\n"
.no_dead_strip _port_mdb_del
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/fsl-dpaa2/ethsw/extr_ethsw.c_port_mdb_del.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avio_read_to_bprint ## -- Begin function avio_read_to_bprint
.p2align 4, 0x90
_avio_read_to_bprint: ## @avio_read_to_bprint
.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 $1032, %rsp ## imm = 0x408
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %r14d, %r14d
testq %rdx, %rdx
je LBB0_9
## %bb.1:
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq -1072(%rbp), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl $1024, %esi ## imm = 0x400
callq _FFMIN
movq %r12, %rdi
movq %r13, %rsi
movl %eax, %edx
callq _avio_read
movl %eax, %r14d
movq _AVERROR_EOF@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
testl %r14d, %r14d
jle LBB0_9
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
movq %r13, %rsi
movl %r14d, %edx
callq _av_bprint_append_data
movq %r15, %rdi
callq _av_bprint_is_complete
testl %eax, %eax
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %eax
subq %rax, %rbx
jne LBB0_2
LBB0_7:
xorl %r14d, %r14d
jmp LBB0_9
LBB0_8:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _AVERROR
movl %eax, %r14d
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_11
## %bb.10:
movl %r14d, %eax
addq $1032, %rsp ## imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _AVERROR_EOF,4,2 ## @AVERROR_EOF
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _avio_read_to_bprint ; -- Begin function avio_read_to_bprint
.p2align 2
_avio_read_to_bprint: ; @avio_read_to_bprint
.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
sub sp, sp, #1040
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
cbz x2, LBB0_6
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
Lloh3:
adrp x23, _AVERROR_EOF@GOTPAGE
Lloh4:
ldr x23, [x23, _AVERROR_EOF@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #1024
bl _FFMIN
mov x2, x0
add x1, sp, #8
mov x0, x21
bl _avio_read
ldr w8, [x23]
cmp w0, w8
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x22, x0
cmp w0, #1
b.lt LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x1, sp, #8
mov x0, x20
mov x2, x22
bl _av_bprint_append_data
mov x0, x20
bl _av_bprint_is_complete
cbz w0, LBB0_9
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
subs x19, x19, w22, uxtw
b.ne LBB0_2
LBB0_6:
mov w22, #0
LBB0_7:
ldur x8, [x29, #-56]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.8:
mov x0, x22
add sp, sp, #1040
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_9:
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
bl _AVERROR
mov x22, x0
b LBB0_7
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _AVERROR_EOF,4,2 ; @AVERROR_EOF
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_read_to_bprint.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LoadFile ## -- Begin function LoadFile
.p2align 4, 0x90
_LoadFile: ## @LoadFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r13d
movl %edx, %r12d
movq %rsi, %r14
callq _SafeOpenRead
movq %rax, %r15
movq _SEEK_SET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
movl %r12d, %esi
callq _fseek
testl %r13d, %r13d
jne LBB0_2
## %bb.1:
movq %r15, %rdi
callq _Q_filelength
movl %eax, %r13d
LBB0_2:
leal 1(%r13), %edi
callq _GetMemory
movq %rax, %rbx
movslq %r13d, %r12
movb $0, (%rax,%r12)
movq %r15, %rdi
movq %rax, %rsi
movl %r12d, %edx
callq _SafeRead
movq %r15, %rdi
callq _fclose
movq %rbx, (%r14)
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SEEK_SET,4,2 ## @SEEK_SET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LoadFile ; -- Begin function LoadFile
.p2align 2
_LoadFile: ; @LoadFile
.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, x3
mov x22, x2
mov x19, x1
bl _SafeOpenRead
mov x21, x0
Lloh0:
adrp x8, _SEEK_SET@GOTPAGE
Lloh1:
ldr x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x1, x22
bl _fseek
cbnz w20, LBB0_2
; %bb.1:
mov x0, x21
bl _Q_filelength
mov x20, x0
LBB0_2:
add w0, w20, #1
bl _GetMemory
mov x22, x0
strb wzr, [x0, w20, sxtw]
mov x0, x21
mov x1, x22
mov x2, x20
bl _SafeRead
mov x0, x21
bl _fclose
str x22, [x19]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SEEK_SET,4,2 ; @SEEK_SET
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/bspc/extr_l_cmd.c_LoadFile.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adav80x_resume
_adav80x_resume: ## @adav80x_resume
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _snd_soc_component_get_drvdata
movl (%rax), %edi
callq _regcache_sync
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _adav80x_resume
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adav80x_resume
_adav80x_resume: ; @adav80x_resume
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _snd_soc_component_get_drvdata
ldr w0, [x0]
bl _regcache_sync
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _adav80x_resume
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_adav80x.c_adav80x_resume.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SVC_Info ## -- Begin function SVC_Info
.p2align 4, 0x90
_SVC_Info: ## @SVC_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
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_INFO_STRING@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
leaq L_.str(%rip), %rdi
callq _Cvar_VariableValue
movq _GT_SINGLE_PLAYER@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_21
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _Cvar_VariableValue
testq %rax, %rax
je LBB0_2
LBB0_21:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_23
## %bb.22:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movl %ebx, %edi
movl $10, %esi
movl $1000, %edx ## imm = 0x3E8
callq _SVC_RateLimitAddress
testq %rax, %rax
je LBB0_5
## %bb.3:
movl %ebx, %edi
callq _NET_AdrToString
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_23
## %bb.4:
leaq L_.str.2(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _Com_DPrintf ## TAILCALL
LBB0_5:
movq _outboundLeakyBucket@GOTPCREL(%rip), %rdi
movl $10, %esi
movl $100, %edx
callq _SVC_RateLimit
testq %rax, %rax
je LBB0_8
## %bb.6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_23
## %bb.7:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _Com_DPrintf ## TAILCALL
LBB0_8:
movl $1, %edi
callq _Cmd_Argv
movq %rax, %rdi
callq _strlen
cmpl $128, %eax
jg LBB0_21
## %bb.9:
movq _sv_privateClients@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq (%rax), %rdi
movq _sv_maxclients@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %eax
xorl %r15d, %r15d
movl $0, %r12d
cmpl %eax, %edi
jle LBB0_10
LBB0_14:
movb $0, (%r14)
movl $1, %edi
callq _Cmd_Argv
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
movq _com_gamename@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq L_.str.5(%rip), %rsi
movq %r14, %rdi
callq _Info_SetValueForKey
movq _com_protocol@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
leaq L_.str.7(%rip), %r13
movq %r13, %rdi
callq _va
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
movq _sv_hostname@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq L_.str.8(%rip), %rsi
movq %r14, %rdi
callq _Info_SetValueForKey
movq _sv_mapname@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq L_.str.9(%rip), %rsi
movq %r14, %rdi
callq _Info_SetValueForKey
movq %r13, %rdi
movl %r12d, %esi
callq _va
leaq L_.str.10(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
movq %r13, %rdi
movl %r15d, %esi
callq _va
leaq L_.str.11(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
movq _sv_maxclients@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
movq _sv_privateClients@GOTPCREL(%rip), %rax
movq (%rax), %rax
subl (%rax), %esi
movq %r13, %rdi
callq _va
leaq L_.str.12(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
movq _sv_gametype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _va
leaq L_.str.13(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
movq _sv_pure@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _va
leaq L_.str.14(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
leaq L_.str.15(%rip), %r15
movq %r15, %rdi
callq _Cvar_VariableIntegerValue
leaq L_.str.16(%rip), %rdi
movl %eax, %esi
callq _va
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq _Info_SetValueForKey
movq _sv_minPing@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
testl %esi, %esi
je LBB0_16
## %bb.15:
leaq L_.str.7(%rip), %rdi
callq _va
leaq L_.str.17(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
LBB0_16:
movq _sv_maxPing@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %esi
testl %esi, %esi
je LBB0_18
## %bb.17:
leaq L_.str.7(%rip), %rdi
callq _va
leaq L_.str.18(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
LBB0_18:
leaq L_.str.19(%rip), %rdi
callq _Cvar_VariableString
cmpb $0, (%rax)
je LBB0_20
## %bb.19:
leaq L_.str.20(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq _Info_SetValueForKey
LBB0_20:
movq _NS_SERVER@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.21(%rip), %rdx
movl %ebx, %esi
movq %r14, %rcx
callq _NET_OutOfBandPrint
jmp LBB0_21
LBB0_10:
movq _svs@GOTPCREL(%rip), %rcx
movq (%rcx), %r8
movq _CS_CONNECTED@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _NA_BOT@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leal -1(%rdi), %esi
shlq $4, %rdi
addq %r8, %rdi
addq $8, %rdi
xorl %r12d, %r12d
xorl %r15d, %r15d
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=1
addq $-16, %rdi
cmpl %eax, %esi
jg LBB0_14
LBB0_11: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, -8(%rdi)
jl LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
incl %r12d
xorl %r8d, %r8d
cmpq %rdx, (%rdi)
setne %r8b
addl %r8d, %r15d
jmp LBB0_13
LBB0_23:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_INFO_STRING,4,2 ## @MAX_INFO_STRING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "g_gametype"
.comm _GT_SINGLE_PLAYER,8,3 ## @GT_SINGLE_PLAYER
L_.str.1: ## @.str.1
.asciz "ui_singlePlayerActive"
L_.str.2: ## @.str.2
.asciz "SVC_Info: rate limit from %s exceeded, dropping request\n"
.comm _outboundLeakyBucket,4,2 ## @outboundLeakyBucket
L_.str.3: ## @.str.3
.asciz "SVC_Info: rate limit exceeded, dropping request\n"
.comm _sv_privateClients,8,3 ## @sv_privateClients
.comm _sv_maxclients,8,3 ## @sv_maxclients
.comm _svs,8,3 ## @svs
.comm _CS_CONNECTED,8,3 ## @CS_CONNECTED
.comm _NA_BOT,8,3 ## @NA_BOT
L_.str.4: ## @.str.4
.asciz "challenge"
L_.str.5: ## @.str.5
.asciz "gamename"
.comm _com_gamename,8,3 ## @com_gamename
L_.str.6: ## @.str.6
.asciz "protocol"
L_.str.7: ## @.str.7
.asciz "%i"
.comm _com_protocol,8,3 ## @com_protocol
L_.str.8: ## @.str.8
.asciz "hostname"
.comm _sv_hostname,8,3 ## @sv_hostname
L_.str.9: ## @.str.9
.asciz "mapname"
.comm _sv_mapname,8,3 ## @sv_mapname
L_.str.10: ## @.str.10
.asciz "clients"
L_.str.11: ## @.str.11
.asciz "g_humanplayers"
L_.str.12: ## @.str.12
.asciz "sv_maxclients"
L_.str.13: ## @.str.13
.asciz "gametype"
.comm _sv_gametype,8,3 ## @sv_gametype
L_.str.14: ## @.str.14
.asciz "pure"
.comm _sv_pure,8,3 ## @sv_pure
L_.str.15: ## @.str.15
.asciz "g_needpass"
L_.str.16: ## @.str.16
.asciz "%d"
.comm _sv_minPing,8,3 ## @sv_minPing
L_.str.17: ## @.str.17
.asciz "minPing"
.comm _sv_maxPing,8,3 ## @sv_maxPing
L_.str.18: ## @.str.18
.asciz "maxPing"
L_.str.19: ## @.str.19
.asciz "fs_game"
L_.str.20: ## @.str.20
.asciz "game"
.comm _NS_SERVER,4,2 ## @NS_SERVER
L_.str.21: ## @.str.21
.asciz "infoResponse\n%s"
.comm _com_legacyprotocol,8,3 ## @com_legacyprotocol
.comm _sv_voipProtocol,8,3 ## @sv_voipProtocol
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _SVC_Info ; -- Begin function SVC_Info
.p2align 2
_SVC_Info: ; @SVC_Info
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _MAX_INFO_STRING@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
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, #0x1fffffff0
sub x20, x9, x8
mov sp, x20
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _Cvar_VariableValue
Lloh10:
adrp x8, _GT_SINGLE_PLAYER@GOTPAGE
Lloh11:
ldr x8, [x8, _GT_SINGLE_PLAYER@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_4
; %bb.1:
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _Cvar_VariableValue
cbnz x0, LBB0_4
; %bb.2:
mov x0, x19
mov w1, #10 ; =0xa
mov w2, #1000 ; =0x3e8
bl _SVC_RateLimitAddress
cbz x0, LBB0_6
; %bb.3:
mov x0, x19
bl _NET_AdrToString
; kill: def $w0 killed $w0 def $x0
str x0, [sp, #-16]!
Lloh15:
adrp x0, l_.str.2@PAGE
Lloh16:
add x0, x0, l_.str.2@PAGEOFF
bl _Com_DPrintf
add sp, sp, #16
LBB0_4:
ldur x8, [x29, #-72]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_23
; %bb.5:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh20:
adrp x0, _outboundLeakyBucket@GOTPAGE
Lloh21:
ldr x0, [x0, _outboundLeakyBucket@GOTPAGEOFF]
mov w1, #10 ; =0xa
mov w2, #100 ; =0x64
bl _SVC_RateLimit
cbz x0, LBB0_9
; %bb.7:
ldur x8, [x29, #-72]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_23
; %bb.8:
Lloh25:
adrp x0, l_.str.3@PAGE
Lloh26:
add x0, x0, l_.str.3@PAGEOFF
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _Com_DPrintf
LBB0_9:
mov w0, #1 ; =0x1
bl _Cmd_Argv
bl _strlen
cmp w0, #128
b.gt LBB0_4
; %bb.10:
Lloh27:
adrp x24, _sv_privateClients@GOTPAGE
Lloh28:
ldr x24, [x24, _sv_privateClients@GOTPAGEOFF]
ldr x8, [x24]
ldrsw x12, [x8]
Lloh29:
adrp x25, _sv_maxclients@GOTPAGE
Lloh30:
ldr x25, [x25, _sv_maxclients@GOTPAGEOFF]
ldr x8, [x25]
ldr w8, [x8]
cmp w12, w8
b.le LBB0_19
; %bb.11:
mov w21, #0 ; =0x0
mov w22, #0 ; =0x0
LBB0_12:
strb wzr, [x20]
mov w0, #1 ; =0x1
bl _Cmd_Argv
mov x2, x0
Lloh31:
adrp x1, l_.str.4@PAGE
Lloh32:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh33:
adrp x8, _com_gamename@GOTPAGE
Lloh34:
ldr x8, [x8, _com_gamename@GOTPAGEOFF]
Lloh35:
ldr x8, [x8]
ldr x2, [x8]
Lloh36:
adrp x1, l_.str.5@PAGE
Lloh37:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh38:
adrp x8, _com_protocol@GOTPAGE
Lloh39:
ldr x8, [x8, _com_protocol@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
ldr w1, [x8]
Lloh41:
adrp x23, l_.str.7@PAGE
Lloh42:
add x23, x23, l_.str.7@PAGEOFF
mov x0, x23
bl _va
mov x2, x0
Lloh43:
adrp x1, l_.str.6@PAGE
Lloh44:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh45:
adrp x8, _sv_hostname@GOTPAGE
Lloh46:
ldr x8, [x8, _sv_hostname@GOTPAGEOFF]
Lloh47:
ldr x8, [x8]
ldr x2, [x8]
Lloh48:
adrp x1, l_.str.8@PAGE
Lloh49:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh50:
adrp x8, _sv_mapname@GOTPAGE
Lloh51:
ldr x8, [x8, _sv_mapname@GOTPAGEOFF]
Lloh52:
ldr x8, [x8]
ldr x2, [x8]
Lloh53:
adrp x1, l_.str.9@PAGE
Lloh54:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
mov x0, x23
mov x1, x22
bl _va
mov x2, x0
Lloh55:
adrp x1, l_.str.10@PAGE
Lloh56:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
mov x0, x23
mov x1, x21
bl _va
mov x2, x0
Lloh57:
adrp x1, l_.str.11@PAGE
Lloh58:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
ldr x8, [x25]
ldr w8, [x8]
ldr x9, [x24]
ldr w9, [x9]
sub w1, w8, w9
mov x0, x23
bl _va
mov x2, x0
Lloh59:
adrp x1, l_.str.12@PAGE
Lloh60:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh61:
adrp x8, _sv_gametype@GOTPAGE
Lloh62:
ldr x8, [x8, _sv_gametype@GOTPAGEOFF]
Lloh63:
ldr x8, [x8]
ldr w1, [x8]
mov x0, x23
bl _va
mov x2, x0
Lloh64:
adrp x1, l_.str.13@PAGE
Lloh65:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh66:
adrp x8, _sv_pure@GOTPAGE
Lloh67:
ldr x8, [x8, _sv_pure@GOTPAGEOFF]
Lloh68:
ldr x8, [x8]
ldr w1, [x8]
mov x0, x23
bl _va
mov x2, x0
Lloh69:
adrp x1, l_.str.14@PAGE
Lloh70:
add x1, x1, l_.str.14@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
Lloh71:
adrp x21, l_.str.15@PAGE
Lloh72:
add x21, x21, l_.str.15@PAGEOFF
mov x0, x21
bl _Cvar_VariableIntegerValue
mov x1, x0
Lloh73:
adrp x0, l_.str.16@PAGE
Lloh74:
add x0, x0, l_.str.16@PAGEOFF
bl _va
mov x2, x0
mov x0, x20
mov x1, x21
bl _Info_SetValueForKey
Lloh75:
adrp x8, _sv_minPing@GOTPAGE
Lloh76:
ldr x8, [x8, _sv_minPing@GOTPAGEOFF]
Lloh77:
ldr x8, [x8]
ldr w1, [x8]
cbz w1, LBB0_14
; %bb.13:
Lloh78:
adrp x0, l_.str.7@PAGE
Lloh79:
add x0, x0, l_.str.7@PAGEOFF
bl _va
mov x2, x0
Lloh80:
adrp x1, l_.str.17@PAGE
Lloh81:
add x1, x1, l_.str.17@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
LBB0_14:
Lloh82:
adrp x8, _sv_maxPing@GOTPAGE
Lloh83:
ldr x8, [x8, _sv_maxPing@GOTPAGEOFF]
Lloh84:
ldr x8, [x8]
ldr w1, [x8]
cbz w1, LBB0_16
; %bb.15:
Lloh85:
adrp x0, l_.str.7@PAGE
Lloh86:
add x0, x0, l_.str.7@PAGEOFF
bl _va
mov x2, x0
Lloh87:
adrp x1, l_.str.18@PAGE
Lloh88:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
LBB0_16:
Lloh89:
adrp x0, l_.str.19@PAGE
Lloh90:
add x0, x0, l_.str.19@PAGEOFF
bl _Cvar_VariableString
ldrb w8, [x0]
cbz w8, LBB0_18
; %bb.17:
mov x2, x0
Lloh91:
adrp x1, l_.str.20@PAGE
Lloh92:
add x1, x1, l_.str.20@PAGEOFF
mov x0, x20
bl _Info_SetValueForKey
LBB0_18:
Lloh93:
adrp x8, _NS_SERVER@GOTPAGE
Lloh94:
ldr x8, [x8, _NS_SERVER@GOTPAGEOFF]
Lloh95:
ldr w0, [x8]
Lloh96:
adrp x2, l_.str.21@PAGE
Lloh97:
add x2, x2, l_.str.21@PAGEOFF
mov x1, x19
mov x3, x20
bl _NET_OutOfBandPrint
b LBB0_4
LBB0_19:
mov w22, #0 ; =0x0
mov w21, #0 ; =0x0
Lloh98:
adrp x9, _svs@GOTPAGE
Lloh99:
ldr x9, [x9, _svs@GOTPAGEOFF]
Lloh100:
ldr x13, [x9]
Lloh101:
adrp x9, _CS_CONNECTED@GOTPAGE
Lloh102:
ldr x9, [x9, _CS_CONNECTED@GOTPAGEOFF]
Lloh103:
ldr x9, [x9]
Lloh104:
adrp x10, _NA_BOT@GOTPAGE
Lloh105:
ldr x10, [x10, _NA_BOT@GOTPAGEOFF]
Lloh106:
ldr x10, [x10]
sub w11, w12, #1
add x12, x13, x12, lsl #4
add x12, x12, #8
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
sub x12, x12, #16
cmp w11, w8
b.gt LBB0_12
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldur x13, [x12, #-8]
cmp x13, x9
b.lt LBB0_20
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
add w22, w22, #1
ldr x13, [x12]
cmp x13, x10
cinc w21, w21, ne
b LBB0_20
LBB0_23:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh104, Lloh105, Lloh106
.loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_INFO_STRING,4,2 ; @MAX_INFO_STRING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "g_gametype"
.comm _GT_SINGLE_PLAYER,8,3 ; @GT_SINGLE_PLAYER
l_.str.1: ; @.str.1
.asciz "ui_singlePlayerActive"
l_.str.2: ; @.str.2
.asciz "SVC_Info: rate limit from %s exceeded, dropping request\n"
.comm _outboundLeakyBucket,4,2 ; @outboundLeakyBucket
l_.str.3: ; @.str.3
.asciz "SVC_Info: rate limit exceeded, dropping request\n"
.comm _sv_privateClients,8,3 ; @sv_privateClients
.comm _sv_maxclients,8,3 ; @sv_maxclients
.comm _svs,8,3 ; @svs
.comm _CS_CONNECTED,8,3 ; @CS_CONNECTED
.comm _NA_BOT,8,3 ; @NA_BOT
l_.str.4: ; @.str.4
.asciz "challenge"
l_.str.5: ; @.str.5
.asciz "gamename"
.comm _com_gamename,8,3 ; @com_gamename
l_.str.6: ; @.str.6
.asciz "protocol"
l_.str.7: ; @.str.7
.asciz "%i"
.comm _com_protocol,8,3 ; @com_protocol
l_.str.8: ; @.str.8
.asciz "hostname"
.comm _sv_hostname,8,3 ; @sv_hostname
l_.str.9: ; @.str.9
.asciz "mapname"
.comm _sv_mapname,8,3 ; @sv_mapname
l_.str.10: ; @.str.10
.asciz "clients"
l_.str.11: ; @.str.11
.asciz "g_humanplayers"
l_.str.12: ; @.str.12
.asciz "sv_maxclients"
l_.str.13: ; @.str.13
.asciz "gametype"
.comm _sv_gametype,8,3 ; @sv_gametype
l_.str.14: ; @.str.14
.asciz "pure"
.comm _sv_pure,8,3 ; @sv_pure
l_.str.15: ; @.str.15
.asciz "g_needpass"
l_.str.16: ; @.str.16
.asciz "%d"
.comm _sv_minPing,8,3 ; @sv_minPing
l_.str.17: ; @.str.17
.asciz "minPing"
.comm _sv_maxPing,8,3 ; @sv_maxPing
l_.str.18: ; @.str.18
.asciz "maxPing"
l_.str.19: ; @.str.19
.asciz "fs_game"
l_.str.20: ; @.str.20
.asciz "game"
.comm _NS_SERVER,4,2 ; @NS_SERVER
l_.str.21: ; @.str.21
.asciz "infoResponse\n%s"
.comm _com_legacyprotocol,8,3 ; @com_legacyprotocol
.comm _sv_voipProtocol,8,3 ; @sv_voipProtocol
.subsections_via_symbols
| assembly_file_158089.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_buffer_line
_set_buffer_line: ## @set_buffer_line
.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 %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r12
movl %edx, %edi
callq _StringValuePtr
testq %rbx, %rbx
jle LBB0_6
## %bb.1:
cmpq %rbx, (%r12)
jl LBB0_6
## %bb.2:
movq %rax, %r15
testq %rax, %rax
je LBB0_6
## %bb.3:
leaq -36(%rbp), %rdi
movq %r12, %rsi
callq _aucmd_prepbuf
movq %rbx, %rdi
callq _u_savesub
movq _OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.4:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _ml_replace
xorl %eax, %eax
callq _changed
LBB0_5:
leaq -36(%rbp), %rdi
callq _aucmd_restbuf
movq _NOT_VALID@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _update_curbuf
jmp LBB0_7
LBB0_6:
movq _rb_eIndexError@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movq %rbx, %rdx
callq _rb_raise
LBB0_7:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OK,8,3 ## @OK
.comm _TRUE,4,2 ## @TRUE
.comm _NOT_VALID,4,2 ## @NOT_VALID
.comm _rb_eIndexError,4,2 ## @rb_eIndexError
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "line number %ld out of range"
.no_dead_strip _set_buffer_line
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_buffer_line
_set_buffer_line: ; @set_buffer_line
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x22, x0
mov x0, x2
bl _StringValuePtr
cmp x20, #1
b.lt LBB0_2
; %bb.1:
mov x21, x0
ldr x8, [x22]
cmp x8, x20
ccmp x0, #0, #4, ge
b.ne LBB0_3
LBB0_2:
Lloh0:
adrp x8, _rb_eIndexError@GOTPAGE
Lloh1:
ldr x8, [x8, _rb_eIndexError@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x2, x20
bl _rb_raise
b LBB0_6
LBB0_3:
add x0, sp, #12
mov x1, x22
bl _aucmd_prepbuf
mov x0, x20
bl _u_savesub
Lloh5:
adrp x8, _OK@GOTPAGE
Lloh6:
ldr x8, [x8, _OK@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_5
; %bb.4:
Lloh8:
adrp x8, _TRUE@GOTPAGE
Lloh9:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov x0, x20
mov x1, x21
bl _ml_replace
bl _changed
LBB0_5:
add x0, sp, #12
bl _aucmd_restbuf
Lloh11:
adrp x8, _NOT_VALID@GOTPAGE
Lloh12:
ldr x8, [x8, _NOT_VALID@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
bl _update_curbuf
LBB0_6:
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
add sp, sp, #64
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _OK,8,3 ; @OK
.comm _TRUE,4,2 ; @TRUE
.comm _NOT_VALID,4,2 ; @NOT_VALID
.comm _rb_eIndexError,4,2 ; @rb_eIndexError
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "line number %ld out of range"
.no_dead_strip _set_buffer_line
.subsections_via_symbols
| AnghaBench/vim.js/src/extr_if_ruby.c_set_buffer_line.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getNumbersFromLine ## -- Begin function getNumbersFromLine
.p2align 4, 0x90
_getNumbersFromLine: ## @getNumbersFromLine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, %r12
leaq 1(%rsi), %rdi
callq _malloc
movq %rax, %r13
testq %rbx, %rbx
jle LBB0_9
## %bb.1:
xorl %r14d, %r14d
xorl %eax, %eax
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
testl %eax, %eax
jg LBB0_5
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
cmpb $10, %r15b
je LBB0_9
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
incq %r14
cmpq %r14, %rbx
je LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%r12,%r14), %r15d
cmpb $32, %r15b
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpb $10, %r15b
je LBB0_4
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movslq %eax, %rcx
movb %r15b, (%r13,%rcx)
incl %eax
jmp LBB0_8
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %eax
movb $0, (%r13,%rax)
movq %r13, %rdi
callq _atoi
movq -56(%rbp), %rdx ## 8-byte Reload
movslq (%rdx), %rcx
movq -48(%rbp), %rsi ## 8-byte Reload
movl %eax, (%rsi,%rcx,4)
incl (%rdx)
xorl %eax, %eax
jmp LBB0_6
LBB0_9:
movq %r13, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _getMatrixFromFile ## -- Begin function getMatrixFromFile
.p2align 4, 0x90
_getMatrixFromFile: ## @getMatrixFromFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB1_28
## %bb.1:
movq %rax, %r15
movq $0, -48(%rbp)
movq $0, -56(%rbp)
leaq -48(%rbp), %rdi
leaq -56(%rbp), %rsi
movq %rax, %rdx
callq _getline
movq -48(%rbp), %rdi
testq %rax, %rax
jle LBB1_25
## %bb.2:
xorl %r8d, %r8d
xorl %r14d, %r14d
xorl %edx, %edx
xorl %esi, %esi
jmp LBB1_5
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_5 Depth=1
xorl %ebx, %ebx
testl %esi, %esi
setg %bl
cmovnsl %r8d, %esi
addl %ebx, %r14d
cmpb $10, %cl
je LBB1_8
LBB1_4: ## in Loop: Header=BB1_5 Depth=1
incq %rdx
cmpq %rdx, %rax
je LBB1_8
LBB1_5: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%rdx), %ecx
cmpb $32, %cl
je LBB1_3
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
cmpb $10, %cl
je LBB1_3
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
incl %esi
jmp LBB1_4
LBB1_8:
callq _free
cmpl $2, %r14d
jne LBB1_26
## %bb.9:
xorl %r13d, %r13d
xorl %edi, %edi
callq _malloc
movq %rax, -64(%rbp) ## 8-byte Spill
movq $0, -48(%rbp)
movq $0, -56(%rbp)
leaq -48(%rbp), %rdi
leaq -56(%rbp), %rsi
movq %r15, %rdx
callq _getline
cmpq $-1, %rax
je LBB1_23
## %bb.10:
movq %rax, %r14
movq %r15, -72(%rbp) ## 8-byte Spill
jmp LBB1_13
.p2align 4, 0x90
LBB1_11: ## in Loop: Header=BB1_13 Depth=1
movq %r13, %rdi
callq _free
movq -80(%rbp), %r13 ## 8-byte Reload
incl %r13d
movq -72(%rbp), %r15 ## 8-byte Reload
LBB1_12: ## in Loop: Header=BB1_13 Depth=1
leaq -48(%rbp), %rdi
leaq -56(%rbp), %rsi
movq %r15, %rdx
callq _getline
movq %rax, %r14
cmpq $-1, %rax
je LBB1_23
LBB1_13: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rbx
movzbl (%rbx), %r12d
cmpb $10, %r12b
je LBB1_12
## %bb.14: ## in Loop: Header=BB1_13 Depth=1
xorl %edi, %edi
callq _malloc
movq %r13, -80(%rbp) ## 8-byte Spill
movslq %r13d, %rdx
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rax, -96(%rbp) ## 8-byte Spill
movq %rax, (%rcx,%rdx,8)
leaq 1(%r14), %rdi
callq _malloc
movq %rax, %r13
testq %r14, %r14
jle LBB1_11
## %bb.15: ## in Loop: Header=BB1_13 Depth=1
xorl %edx, %edx
movl $1, %r15d
xorl %eax, %eax
movq %rbx, -88(%rbp) ## 8-byte Spill
cmpb $32, %r12b
je LBB1_17
.p2align 4, 0x90
LBB1_16: ## in Loop: Header=BB1_13 Depth=1
cmpb $10, %r12b
je LBB1_17
## %bb.20: ## in Loop: Header=BB1_13 Depth=1
movslq %eax, %rcx
movb %r12b, (%r13,%rcx)
incl %eax
cmpq %r15, %r14
jne LBB1_21
jmp LBB1_11
.p2align 4, 0x90
LBB1_22: ## in Loop: Header=BB1_13 Depth=1
movl %eax, %eax
movb $0, (%r13,%rax)
movq %r13, %rdi
movq %r14, %rbx
movq %rdx, %r14
callq _atoi
movq %r14, %rdx
movq %rbx, %r14
movq -88(%rbp), %rbx ## 8-byte Reload
movslq %edx, %rdx
movq -96(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx,%rdx,4)
incl %edx
xorl %eax, %eax
cmpb $10, %r12b
jne LBB1_19
jmp LBB1_11
.p2align 4, 0x90
LBB1_17: ## in Loop: Header=BB1_13 Depth=1
testl %eax, %eax
jg LBB1_22
## %bb.18: ## in Loop: Header=BB1_13 Depth=1
cmpb $10, %r12b
je LBB1_11
LBB1_19: ## in Loop: Header=BB1_13 Depth=1
cmpq %r15, %r14
je LBB1_11
LBB1_21: ## in Loop: Header=BB1_13 Depth=1
movzbl (%rbx,%r15), %r12d
incq %r15
cmpb $32, %r12b
jne LBB1_16
jmp LBB1_17
LBB1_23:
movq -48(%rbp), %rdi
callq _free
movq %r15, %rdi
callq _fclose
movq -64(%rbp), %rax ## 8-byte Reload
LBB1_24:
xorl %edx, %edx
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_25:
callq _free
LBB1_26:
callq _getMatrixFromFile.cold.2
LBB1_27:
xorl %eax, %eax
jmp LBB1_24
LBB1_28:
callq _getMatrixFromFile.cold.1
jmp LBB1_27
.cfi_endproc
## -- End function
.globl _freeMatrix ## -- Begin function freeMatrix
.p2align 4, 0x90
_freeMatrix: ## @freeMatrix
.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
cmpl $0, 12(%rdi)
jle LBB2_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq (%rax,%rbx,8), %rdi
callq _free
incq %rbx
movslq 12(%r14), %rax
cmpq %rax, %rbx
jl LBB2_2
LBB2_3:
movq (%r14), %rdi
popq %rbx
popq %r14
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _printMatrix ## -- Begin function printMatrix
.p2align 4, 0x90
_printMatrix: ## @printMatrix
.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
cmpl $0, 12(%rdi)
jle LBB3_6
## %bb.1:
movq %rdi, %r12
leaq L_.str.4(%rip), %r14
xorl %r15d, %r15d
jmp LBB3_2
.p2align 4, 0x90
LBB3_5: ## in Loop: Header=BB3_2 Depth=1
movl $10, %edi
callq _putchar
incq %r15
movslq 12(%r12), %rax
cmpq %rax, %r15
jge LBB3_6
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
cmpl $0, 8(%r12)
jle LBB3_5
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB3_4: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12), %rax
movq (%rax,%r15,8), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movslq 8(%r12), %rax
cmpq %rax, %rbx
jl LBB3_4
jmp LBB3_5
LBB3_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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.6(%rip), %rdi
callq _getMatrixFromFile
movq %rax, %r13
movq %rdx, %rax
shrq $32, %rax
testl %eax, %eax
jle LBB4_8
## %bb.1:
movslq %edx, %rbx
movq %rdx, %rax
sarq $32, %rax
cmpq $2, %rax
movl $1, %r12d
cmovgeq %rax, %r12
leaq L_.str.4(%rip), %r15
xorl %r14d, %r14d
movq %r12, -56(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
jmp LBB4_2
.p2align 4, 0x90
LBB4_5: ## in Loop: Header=BB4_2 Depth=1
movl $10, %edi
callq _putchar
incq %r14
movq -56(%rbp), %r12 ## 8-byte Reload
cmpq %r12, %r14
movq -48(%rbp), %rdx ## 8-byte Reload
je LBB4_6
LBB4_2: ## =>This Loop Header: Depth=1
## Child Loop BB4_4 Depth 2
testl %edx, %edx
jle LBB4_5
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
xorl %r12d, %r12d
.p2align 4, 0x90
LBB4_4: ## Parent Loop BB4_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r13,%r14,8), %rax
movl (%rax,%r12,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
incq %r12
cmpq %r12, %rbx
jne LBB4_4
jmp LBB4_5
LBB4_6:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_7: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rbx,8), %rdi
callq _free
incq %rbx
cmpq %rbx, %r12
jne LBB4_7
LBB4_8:
movq %r13, %rdi
callq _free
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function getMatrixFromFile.cold.1
_getMatrixFromFile.cold.1: ## @getMatrixFromFile.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.getMatrixFromFile(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.2(%rip), %rcx
pushq $125
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function getMatrixFromFile.cold.2
_getMatrixFromFile.cold.2: ## @getMatrixFromFile.cold.2
.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___func__.getMatrixFromFile(%rip), %rdi
leaq L_.str.1(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $135, %edx
callq ___assert_rtn
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L___func__.getMatrixFromFile: ## @__func__.getMatrixFromFile
.asciz "getMatrixFromFile"
L_.str.1: ## @.str.1
.asciz "1044836.c"
L_.str.2: ## @.str.2
.asciz "file != NULL"
L_.str.3: ## @.str.3
.asciz "numberOfNumbers == 2"
L_.str.4: ## @.str.4
.asciz "%d "
L_.str.6: ## @.str.6
.asciz "testmatrix"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getNumbersFromLine ; -- Begin function getNumbersFromLine
.p2align 2
_getNumbersFromLine: ; @getNumbersFromLine
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
add x0, x1, #1
bl _malloc
mov x23, x0
cmp x21, #1
b.lt LBB0_8
; %bb.1:
mov w8, #0
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
cmp w24, #10
b.eq LBB0_8
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x22, x22, #1
subs x21, x21, #1
b.eq LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w24, [x22]
cmp w24, #32
ccmp w24, #10, #4, ne
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #1
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x23, w8, uxtw]
mov x0, x23
bl _atoi
mov w8, #0
ldrsw x9, [x19]
str w0, [x20, x9, lsl #2]
ldr w9, [x19]
add w9, w9, #1
str w9, [x19]
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
strb w24, [x23, w8, sxtw]
add w8, w8, #1
b LBB0_3
LBB0_8:
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
b _free
.cfi_endproc
; -- End function
.globl _getMatrixFromFile ; -- Begin function getMatrixFromFile
.p2align 2
_getMatrixFromFile: ; @getMatrixFromFile
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fopen
cbz x0, LBB1_23
; %bb.1:
mov x19, x0
stp xzr, xzr, [sp]
add x0, sp, #8
mov x1, sp
mov x2, x19
bl _getline
mov x8, x0
ldr x0, [sp, #8]
cmp x8, #1
b.lt LBB1_24
; %bb.2:
mov w20, #0
mov x9, #0
mov w10, #0
b LBB1_5
LBB1_3: ; in Loop: Header=BB1_5 Depth=1
add w10, w10, #1
LBB1_4: ; in Loop: Header=BB1_5 Depth=1
add x9, x9, #1
cmp x8, x9
b.eq LBB1_7
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x0, x9]
cmp w11, #32
ccmp w11, #10, #4, ne
b.ne LBB1_3
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
cmp w10, #0
csel w10, w10, wzr, lt
cinc w20, w20, gt
cmp w11, #10
b.ne LBB1_4
LBB1_7:
bl _free
cmp w20, #2
b.ne LBB1_25
; %bb.8:
mov x0, #0
bl _malloc
mov x20, x0
stp xzr, xzr, [sp]
add x0, sp, #8
mov x1, sp
mov x2, x19
bl _getline
cmn x0, #1
b.eq LBB1_22
; %bb.9:
mov x23, x0
mov w24, #0
b LBB1_12
LBB1_10: ; in Loop: Header=BB1_12 Depth=1
mov x0, x22
bl _free
add w24, w24, #1
LBB1_11: ; in Loop: Header=BB1_12 Depth=1
add x0, sp, #8
mov x1, sp
mov x2, x19
bl _getline
mov x23, x0
cmn x0, #1
b.eq LBB1_22
LBB1_12: ; =>This Inner Loop Header: Depth=1
ldr x27, [sp, #8]
ldrb w25, [x27]
cmp w25, #10
b.eq LBB1_11
; %bb.13: ; in Loop: Header=BB1_12 Depth=1
mov x0, #0
bl _malloc
mov x21, x0
str x0, [x20, w24, sxtw #3]
add x0, x23, #1
bl _malloc
mov x22, x0
subs x23, x23, #1
b.lt LBB1_10
; %bb.14: ; in Loop: Header=BB1_12 Depth=1
mov w26, #0
mov w8, #0
add x27, x27, #1
cmp w25, #32
b.eq LBB1_16
LBB1_15: ; in Loop: Header=BB1_12 Depth=1
cmp w25, #10
b.ne LBB1_19
LBB1_16: ; in Loop: Header=BB1_12 Depth=1
cmp w8, #1
b.ge LBB1_21
; %bb.17: ; in Loop: Header=BB1_12 Depth=1
cmp w25, #10
b.eq LBB1_10
LBB1_18: ; in Loop: Header=BB1_12 Depth=1
cbnz x23, LBB1_20
b LBB1_10
LBB1_19: ; in Loop: Header=BB1_12 Depth=1
strb w25, [x22, w8, sxtw]
add w8, w8, #1
cbz x23, LBB1_10
LBB1_20: ; in Loop: Header=BB1_12 Depth=1
ldrb w25, [x27], #1
sub x23, x23, #1
cmp w25, #32
b.ne LBB1_15
b LBB1_16
LBB1_21: ; in Loop: Header=BB1_12 Depth=1
strb wzr, [x22, w8, uxtw]
mov x0, x22
bl _atoi
mov w8, #0
str w0, [x21, w26, sxtw #2]
add w26, w26, #1
cmp w25, #10
b.ne LBB1_18
b LBB1_10
LBB1_22:
ldr x0, [sp, #8]
bl _free
mov x0, x19
bl _fclose
mov x0, x20
mov x1, #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
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB1_23:
bl _getMatrixFromFile.cold.1
LBB1_24:
bl _free
LBB1_25:
bl _getMatrixFromFile.cold.2
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _freeMatrix ; -- Begin function freeMatrix
.p2align 2
_freeMatrix: ; @freeMatrix
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0, #12]
cmp w8, #1
b.lt LBB2_3
; %bb.1:
mov x20, #0
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr x0, [x8, x20, lsl #3]
bl _free
add x20, x20, #1
ldrsw x8, [x19, #12]
cmp x20, x8
b.lt LBB2_2
LBB2_3:
ldr x0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.globl _printMatrix ; -- Begin function printMatrix
.p2align 2
_printMatrix: ; @printMatrix
.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, [x0, #12]
cmp w8, #1
b.lt LBB3_6
; %bb.1:
mov x19, x0
mov x21, #0
Lloh2:
adrp x20, l_.str.4@PAGE
Lloh3:
add x20, x20, l_.str.4@PAGEOFF
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
mov w0, #10
bl _putchar
add x21, x21, #1
ldrsw x8, [x19, #12]
cmp x21, x8
b.ge LBB3_6
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
ldr w8, [x19, #8]
cmp w8, #1
b.lt LBB3_2
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
mov x22, #0
LBB3_5: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19]
ldr x8, [x8, x21, lsl #3]
ldr w8, [x8, x22, lsl #2]
str x8, [sp]
mov x0, x20
bl _printf
add x22, x22, #1
ldrsw x8, [x19, #8]
cmp x22, x8
b.lt LBB3_5
b LBB3_2
LBB3_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh4:
adrp x0, l_.str.6@PAGE
Lloh5:
add x0, x0, l_.str.6@PAGEOFF
bl _getMatrixFromFile
mov x19, x0
lsr x8, x1, #32
cmp w8, #1
b.lt LBB4_8
; %bb.1:
mov x20, x1
mov x23, #0
sxtw x24, w1
asr x8, x1, #32
cmp x8, #1
csinc x22, x8, xzr, gt
Lloh6:
adrp x21, l_.str.4@PAGE
Lloh7:
add x21, x21, l_.str.4@PAGEOFF
b LBB4_3
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
mov w0, #10
bl _putchar
add x23, x23, #1
cmp x23, x22
b.eq LBB4_6
LBB4_3: ; =>This Loop Header: Depth=1
; Child Loop BB4_5 Depth 2
cmp w20, #1
b.lt LBB4_2
; %bb.4: ; in Loop: Header=BB4_3 Depth=1
mov x25, #0
LBB4_5: ; Parent Loop BB4_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, x23, lsl #3]
ldr w8, [x8, x25, lsl #2]
str x8, [sp]
mov x0, x21
bl _printf
add x25, x25, #1
cmp x24, x25
b.ne LBB4_5
b LBB4_2
LBB4_6:
mov x20, x19
LBB4_7: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20], #8
bl _free
subs x22, x22, #1
b.ne LBB4_7
LBB4_8:
mov x0, x19
bl _free
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function getMatrixFromFile.cold.1
_getMatrixFromFile.cold.1: ; @getMatrixFromFile.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh8:
adrp x0, l___func__.getMatrixFromFile@PAGE
Lloh9:
add x0, x0, l___func__.getMatrixFromFile@PAGEOFF
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
Lloh12:
adrp x3, l_.str.2@PAGE
Lloh13:
add x3, x3, l_.str.2@PAGEOFF
mov w2, #125
bl ___assert_rtn
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function getMatrixFromFile.cold.2
_getMatrixFromFile.cold.2: ; @getMatrixFromFile.cold.2
.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
Lloh14:
adrp x0, l___func__.getMatrixFromFile@PAGE
Lloh15:
add x0, x0, l___func__.getMatrixFromFile@PAGEOFF
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
Lloh18:
adrp x3, l_.str.3@PAGE
Lloh19:
add x3, x3, l_.str.3@PAGEOFF
mov w2, #135
bl ___assert_rtn
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l___func__.getMatrixFromFile: ; @__func__.getMatrixFromFile
.asciz "getMatrixFromFile"
l_.str.1: ; @.str.1
.asciz "1044836.c"
l_.str.2: ; @.str.2
.asciz "file != NULL"
l_.str.3: ; @.str.3
.asciz "numberOfNumbers == 2"
l_.str.4: ; @.str.4
.asciz "%d "
l_.str.6: ; @.str.6
.asciz "testmatrix"
.subsections_via_symbols
| the_stack_data/1044836.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_chunk
_get_chunk: ## @get_chunk
.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 _GET_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl $-1, (%rcx)
movl $-1, (%rdx)
movl (%rsi), %r14d
cmpl %edi, %r14d
jle LBB0_15
## %bb.1:
movq 8(%rsi), %r11
movq _ISO_PKT_SIZE@GOTPCREL(%rip), %rbx
movq (%rbx), %r9
movslq %edi, %r10
movq %r10, %rdi
shlq $4, %rdi
leaq (%r11,%rdi), %r15
addq $8, %r15
movq _EOVERFLOW@GOTPCREL(%rip), %r11
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movl (%r8), %r12d
leal 1(%r12), %ebx
movl %ebx, (%r8)
movslq (%rsi), %r14
imulq $1431655766, %r14, %rbx ## imm = 0x55555556
movq %rbx, %rdi
shrq $63, %rdi
shrq $32, %rbx
addl %edi, %ebx
cmpl %ebx, %r12d
jge LBB0_4
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
incq %r10
movslq %r14d, %rdi
addq $16, %r15
cmpq %rdi, %r10
jge LBB0_14
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15), %ebx
movl (%r11), %edi
addl %ebx, %edi
je LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
testl %ebx, %ebx
je LBB0_6
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
cmpl $-1, (%rdx)
je LBB0_13
jmp LBB0_21
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq -8(%r15), %rbx
testq %rbx, %rbx
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cmpq %r9, %rbx
jg LBB0_8
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
jne LBB0_17
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
cmpl $-1, (%rdx)
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movl %r10d, (%rdx)
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movl %r10d, (%rcx)
movl (%rsi), %r14d
jmp LBB0_13
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
jge LBB0_13
## %bb.18:
cmpl $-1, (%rdx)
jne LBB0_21
## %bb.19:
movl %r10d, (%rdx)
movl %r10d, (%rcx)
movq _GET_TRAILER@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_14:
cmpl $-1, (%rdx)
jne LBB0_21
LBB0_15:
cmpl $-1, (%rcx)
jne LBB0_21
## %bb.16:
movq _GET_NONE@GOTPCREL(%rip), %rax
jmp LBB0_20
LBB0_4:
movq _GET_TOO_MUCH_BUBBLE@GOTPCREL(%rip), %rax
LBB0_20:
movl (%rax), %eax
LBB0_21:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GET_SUCCESS,4,2 ## @GET_SUCCESS
.comm _EOVERFLOW,4,2 ## @EOVERFLOW
.comm _GET_TOO_MUCH_BUBBLE,4,2 ## @GET_TOO_MUCH_BUBBLE
.comm _ISO_PKT_SIZE,8,3 ## @ISO_PKT_SIZE
.comm _GET_TRAILER,4,2 ## @GET_TRAILER
.comm _GET_NONE,4,2 ## @GET_NONE
.no_dead_strip _get_chunk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_chunk
_get_chunk: ; @get_chunk
.cfi_startproc
; %bb.0:
mov x8, x0
mov w9, #-1
Lloh0:
adrp x10, _GET_SUCCESS@GOTPAGE
Lloh1:
ldr x10, [x10, _GET_SUCCESS@GOTPAGEOFF]
Lloh2:
ldr w0, [x10]
str w9, [x3]
str w9, [x2]
ldr w11, [x1]
cmp w11, w8
b.le LBB0_17
; %bb.1:
ldr x12, [x1, #8]
Lloh3:
adrp x9, _ISO_PKT_SIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _ISO_PKT_SIZE@GOTPAGEOFF]
Lloh5:
ldr x10, [x9]
sxtw x9, w8
add x8, x12, w8, sxtw #4
add x8, x8, #8
Lloh6:
adrp x12, _EOVERFLOW@GOTPAGE
Lloh7:
ldr x12, [x12, _EOVERFLOW@GOTPAGEOFF]
mov w13, #21846
movk w13, #21845, lsl #16
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w14, [x4]
add w11, w14, #1
str w11, [x4]
ldrsw x11, [x1]
mul x15, x11, x13
lsr x16, x15, #63
lsr x15, x15, #32
add w15, w15, w16
cmp w14, w15
b.ge LBB0_18
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x9, x9, #1
add x8, x8, #16
cmp x9, w11, sxtw
b.ge LBB0_15
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w15, [x12]
ldr w14, [x8]
cmn w14, w15
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbnz w14, LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldur x14, [x8, #-8]
cmp x14, #1
ccmp x14, x10, #0, ge
b.le LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w14, [x2]
cmn w14, #1
b.eq LBB0_3
b LBB0_16
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
cmp x14, x10
b.ne LBB0_12
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr w11, [x2]
cmn w11, #1
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
str w9, [x2]
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
str w9, [x3]
ldr w11, [x1]
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
b.ge LBB0_3
; %bb.13:
ldr w8, [x2]
cmn w8, #1
b.ne LBB0_16
; %bb.14:
str w9, [x2]
str w9, [x3]
Lloh8:
adrp x8, _GET_TRAILER@GOTPAGE
Lloh9:
ldr x8, [x8, _GET_TRAILER@GOTPAGEOFF]
b LBB0_19
LBB0_15:
ldr w8, [x2]
cmn w8, #1
b.eq LBB0_17
LBB0_16:
ret
LBB0_17:
ldr w8, [x3]
Lloh10:
adrp x9, _GET_NONE@GOTPAGE
Lloh11:
ldr x9, [x9, _GET_NONE@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
cmn w8, #1
csel w0, w9, w0, eq
ret
LBB0_18:
Lloh13:
adrp x8, _GET_TOO_MUCH_BUBBLE@GOTPAGE
Lloh14:
ldr x8, [x8, _GET_TOO_MUCH_BUBBLE@GOTPAGEOFF]
LBB0_19:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _GET_SUCCESS,4,2 ; @GET_SUCCESS
.comm _EOVERFLOW,4,2 ; @EOVERFLOW
.comm _GET_TOO_MUCH_BUBBLE,4,2 ; @GET_TOO_MUCH_BUBBLE
.comm _ISO_PKT_SIZE,8,3 ; @ISO_PKT_SIZE
.comm _GET_TRAILER,4,2 ; @GET_TRAILER
.comm _GET_NONE,4,2 ; @GET_NONE
.no_dead_strip _get_chunk
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/tlg2300/extr_pd-video.c_get_chunk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_unsized_type_rec
_write_unsized_type_rec: ## @write_unsized_type_rec
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _target_requires_swap@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
movl 8(%rbx), %edi
callq _SWAP_32
movl 4(%rbx), %edi
callq _SWAP_16
movl (%rbx), %edi
callq _SWAP_16
LBB0_2:
movq %r14, %rdi
movq %rbx, %rsi
movl $12, %edx
popq %rbx
popq %r14
popq %rbp
jmp _ctf_buf_write ## TAILCALL
.cfi_endproc
## -- End function
.comm _target_requires_swap,8,3 ## @target_requires_swap
.no_dead_strip _write_unsized_type_rec
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_unsized_type_rec
_write_unsized_type_rec: ; @write_unsized_type_rec
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _target_requires_swap@GOTPAGE
Lloh1:
ldr x8, [x8, _target_requires_swap@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x19, #8]
bl _SWAP_32
ldr w0, [x19, #4]
bl _SWAP_16
ldr w0, [x19]
bl _SWAP_16
LBB0_2:
mov x0, x20
mov x1, x19
mov w2, #12
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ctf_buf_write
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _target_requires_swap,8,3 ; @target_requires_swap
.no_dead_strip _write_unsized_type_rec
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_ctf.c_write_unsized_type_rec.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aq_get_rxpages
_aq_get_rxpages: ## @aq_get_rxpages
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movq 8(%rsi), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.1:
callq _page_ref_count
cmpl $2, %eax
jl LBB0_5
## %bb.2:
movq _AQ_CFG_RX_FRAME_MAX@GOTPCREL(%rip), %rax
movl (%rbx), %edx
addl (%rax), %edx
movl %edx, (%rbx)
addl (%rax), %edx
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %r14d, %ecx
shll %cl, %eax
cmpl %eax, %edx
jle LBB0_3
## %bb.4:
movl (%r15), %edi
callq _aq_nic_get_dev
movq %rbx, %rdi
movl %eax, %esi
callq _aq_free_rxpage
leaq 8(%r15), %rax
jmp LBB0_6
LBB0_5:
movl $0, (%rbx)
leaq 4(%r15), %rax
jmp LBB0_6
LBB0_3:
leaq 12(%r15), %rax
LBB0_6:
incl (%rax)
cmpq $0, 8(%rbx)
je LBB0_8
## %bb.7:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movl (%r15), %edi
callq _aq_nic_get_dev
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _aq_get_rxpage ## TAILCALL
.cfi_endproc
## -- End function
.comm _AQ_CFG_RX_FRAME_MAX,4,2 ## @AQ_CFG_RX_FRAME_MAX
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.no_dead_strip _aq_get_rxpages
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aq_get_rxpages
_aq_get_rxpages: ; @aq_get_rxpages
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
ldr x0, [x1, #8]
cbz x0, LBB0_8
; %bb.1:
bl _page_ref_count
cmp w0, #2
b.lt LBB0_4
; %bb.2:
Lloh0:
adrp x8, _AQ_CFG_RX_FRAME_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _AQ_CFG_RX_FRAME_MAX@GOTPAGEOFF]
ldr w9, [x8]
ldr w10, [x20]
add w9, w10, w9
str w9, [x20]
ldr w8, [x8]
add w8, w8, w9
Lloh2:
adrp x9, _PAGE_SIZE@GOTPAGE
Lloh3:
ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
lsl w9, w9, w19
cmp w8, w9
b.le LBB0_5
; %bb.3:
mov x22, x21
ldr w0, [x22], #8
bl _aq_nic_get_dev
mov x1, x0
mov x0, x20
bl _aq_free_rxpage
b LBB0_6
LBB0_4:
str wzr, [x20]
add x22, x21, #4
b LBB0_6
LBB0_5:
add x22, x21, #12
LBB0_6:
ldr w8, [x22]
add w8, w8, #1
str w8, [x22]
ldr x8, [x20, #8]
cbz x8, LBB0_8
; %bb.7:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_8:
ldr w0, [x21]
bl _aq_nic_get_dev
mov x2, x0
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _aq_get_rxpage
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _AQ_CFG_RX_FRAME_MAX,4,2 ; @AQ_CFG_RX_FRAME_MAX
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.no_dead_strip _aq_get_rxpages
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_ring.c_aq_get_rxpages.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mcdi_fec_caps_to_ethtool
_mcdi_fec_caps_to_ethtool: ## @mcdi_fec_caps_to_ethtool
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MC_CMD_PHY_CAP_RS_FEC_LBN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl $1, %edx
shll %cl, %edx
movl $1, %r8d
andl %edi, %edx
testl %esi, %esi
jne LBB0_1
## %bb.2:
movq _MC_CMD_PHY_CAP_BASER_FEC_LBN@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _MC_CMD_PHY_CAP_25G_BASER_FEC_LBN@GOTPCREL(%rip), %rax
LBB0_3:
movb (%rax), %cl
shll %cl, %r8d
andl %edi, %r8d
movl %r8d, %eax
orl %edx, %eax
je LBB0_4
## %bb.5:
movq _MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl $1, %r9d
shll %cl, %r9d
movl $1, %r10d
andl %edi, %r9d
testl %esi, %esi
jne LBB0_6
## %bb.7:
movq _MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_4:
movq _ETHTOOL_FEC_OFF@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
LBB0_6:
movq _MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN@GOTPCREL(%rip), %rax
LBB0_8:
movb (%rax), %cl
shll %cl, %r10d
andl %edi, %r10d
movl %r9d, %ecx
testl %r9d, %r9d
je LBB0_10
## %bb.9:
movq _ETHTOOL_FEC_RS@GOTPCREL(%rip), %rax
movl (%rax), %ecx
LBB0_10:
movl %r10d, %eax
testl %r10d, %r10d
je LBB0_12
## %bb.11:
movq _ETHTOOL_FEC_BASER@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_12:
orl %ecx, %eax
xorl %r10d, %r8d
xorl %r9d, %edx
xorl %ecx, %ecx
orl %r8d, %edx
je LBB0_14
## %bb.13:
movq _ETHTOOL_FEC_AUTO@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_14:
orl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MC_CMD_PHY_CAP_RS_FEC_LBN,4,2 ## @MC_CMD_PHY_CAP_RS_FEC_LBN
.comm _MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN,4,2 ## @MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN
.comm _MC_CMD_PHY_CAP_25G_BASER_FEC_LBN,4,2 ## @MC_CMD_PHY_CAP_25G_BASER_FEC_LBN
.comm _MC_CMD_PHY_CAP_BASER_FEC_LBN,4,2 ## @MC_CMD_PHY_CAP_BASER_FEC_LBN
.comm _MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN,4,2 ## @MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN
.comm _MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN,4,2 ## @MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN
.comm _ETHTOOL_FEC_OFF,4,2 ## @ETHTOOL_FEC_OFF
.comm _ETHTOOL_FEC_RS,4,2 ## @ETHTOOL_FEC_RS
.comm _ETHTOOL_FEC_BASER,4,2 ## @ETHTOOL_FEC_BASER
.comm _ETHTOOL_FEC_AUTO,4,2 ## @ETHTOOL_FEC_AUTO
.no_dead_strip _mcdi_fec_caps_to_ethtool
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mcdi_fec_caps_to_ethtool
_mcdi_fec_caps_to_ethtool: ; @mcdi_fec_caps_to_ethtool
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MC_CMD_PHY_CAP_RS_FEC_LBN@GOTPAGE
Lloh1:
ldr x8, [x8, _MC_CMD_PHY_CAP_RS_FEC_LBN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mov w10, #1
lsl w8, w10, w8
and w8, w8, w0
Lloh3:
adrp x9, _MC_CMD_PHY_CAP_BASER_FEC_LBN@GOTPAGE
Lloh4:
ldr x9, [x9, _MC_CMD_PHY_CAP_BASER_FEC_LBN@GOTPAGEOFF]
Lloh5:
adrp x11, _MC_CMD_PHY_CAP_25G_BASER_FEC_LBN@GOTPAGE
Lloh6:
ldr x11, [x11, _MC_CMD_PHY_CAP_25G_BASER_FEC_LBN@GOTPAGEOFF]
cmp w1, #0
csel x9, x9, x11, eq
ldr w9, [x9]
lsl w9, w10, w9
and w9, w9, w0
orr w11, w9, w8
cbz w11, LBB0_2
; %bb.1:
Lloh7:
adrp x11, _MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN@GOTPAGE
Lloh8:
ldr x11, [x11, _MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN@GOTPAGEOFF]
Lloh9:
ldr w11, [x11]
lsl w11, w10, w11
Lloh10:
adrp x12, _MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN@GOTPAGE
Lloh11:
ldr x12, [x12, _MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN@GOTPAGEOFF]
Lloh12:
adrp x13, _MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN@GOTPAGE
Lloh13:
ldr x13, [x13, _MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN@GOTPAGEOFF]
cmp w1, #0
csel x12, x12, x13, eq
ldr w12, [x12]
lsl w10, w10, w12
Lloh14:
adrp x12, _ETHTOOL_FEC_RS@GOTPAGE
Lloh15:
ldr x12, [x12, _ETHTOOL_FEC_RS@GOTPAGEOFF]
Lloh16:
ldr w12, [x12]
ands w11, w11, w0
Lloh17:
adrp x13, _ETHTOOL_FEC_BASER@GOTPAGE
Lloh18:
ldr x13, [x13, _ETHTOOL_FEC_BASER@GOTPAGEOFF]
csel w12, wzr, w12, eq
Lloh19:
ldr w13, [x13]
ands w10, w10, w0
csel w13, wzr, w13, eq
orr w12, w13, w12
cmp w8, w11
ccmp w9, w10, #0, eq
Lloh20:
adrp x8, _ETHTOOL_FEC_AUTO@GOTPAGE
Lloh21:
ldr x8, [x8, _ETHTOOL_FEC_AUTO@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
csel w8, wzr, w8, eq
orr w0, w12, w8
ret
LBB0_2:
Lloh23:
adrp x8, _ETHTOOL_FEC_OFF@GOTPAGE
Lloh24:
ldr x8, [x8, _ETHTOOL_FEC_OFF@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _MC_CMD_PHY_CAP_RS_FEC_LBN,4,2 ; @MC_CMD_PHY_CAP_RS_FEC_LBN
.comm _MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN,4,2 ; @MC_CMD_PHY_CAP_RS_FEC_REQUESTED_LBN
.comm _MC_CMD_PHY_CAP_25G_BASER_FEC_LBN,4,2 ; @MC_CMD_PHY_CAP_25G_BASER_FEC_LBN
.comm _MC_CMD_PHY_CAP_BASER_FEC_LBN,4,2 ; @MC_CMD_PHY_CAP_BASER_FEC_LBN
.comm _MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN,4,2 ; @MC_CMD_PHY_CAP_25G_BASER_FEC_REQUESTED_LBN
.comm _MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN,4,2 ; @MC_CMD_PHY_CAP_BASER_FEC_REQUESTED_LBN
.comm _ETHTOOL_FEC_OFF,4,2 ; @ETHTOOL_FEC_OFF
.comm _ETHTOOL_FEC_RS,4,2 ; @ETHTOOL_FEC_RS
.comm _ETHTOOL_FEC_BASER,4,2 ; @ETHTOOL_FEC_BASER
.comm _ETHTOOL_FEC_AUTO,4,2 ; @ETHTOOL_FEC_AUTO
.no_dead_strip _mcdi_fec_caps_to_ethtool
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/sfc/extr_mcdi_port.c_mcdi_fec_caps_to_ethtool.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usb_set_intfdata ## -- Begin function usb_set_intfdata
.p2align 4, 0x90
_usb_set_intfdata: ## @usb_set_intfdata
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usb_set_intfdata ; -- Begin function usb_set_intfdata
.p2align 2
_usb_set_intfdata: ; @usb_set_intfdata
.cfi_startproc
; %bb.0:
str x1, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_usb.c_usb_set_intfdata.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spufs_calls_put
_spufs_calls_put: ## @spufs_calls_put
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _spufs_calls_put
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spufs_calls_put
_spufs_calls_put: ; @spufs_calls_put
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _spufs_calls_put
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_spu_syscalls.c_spufs_calls_put.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function alloc_rbsp_buffer
_alloc_rbsp_buffer: ## @alloc_rbsp_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r12d
movq %rdi, %r13
movq _INT_MAX@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq _AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %r15
movl (%r15), %ebx
movl %esi, %eax
subl %ebx, %eax
cmpl %r12d, %eax
jae LBB0_1
LBB0_11:
movl $0, (%r13)
cmpq $0, 16(%r13)
je LBB0_15
## %bb.12:
leaq 16(%r13), %rdi
callq _av_buffer_unref
movq $0, 8(%r13)
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
addl %r12d, %ebx
cmpl %ebx, (%r13)
jb LBB0_5
## %bb.2:
movl %edx, -44(%rbp) ## 4-byte Spill
movq 16(%r13), %rdi
testq %rdi, %rdi
je LBB0_14
## %bb.3:
callq _av_buffer_is_writable
testq %rax, %rax
je LBB0_4
LBB0_14:
movq 8(%r13), %rdi
callq _av_assert0
movslq %r12d, %rdi
shlq $2, %rdi
addq 8(%r13), %rdi
movl (%r15), %edx
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _memset ## TAILCALL
LBB0_15:
addq $8, %r13
movq %r13, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _av_freep ## TAILCALL
LBB0_4:
movl (%r14), %esi
movl -44(%rbp), %edx ## 4-byte Reload
LBB0_5:
movl %edx, %r14d
movl %ebx, %eax
shrl $4, %eax
leal (%rbx,%rax), %edi
addl $32, %edi
callq _FFMIN
movl %eax, %r12d
leaq 16(%r13), %r15
cmpq $0, 16(%r13)
je LBB0_7
## %bb.6:
movq %r15, %rdi
callq _av_buffer_unref
jmp LBB0_8
LBB0_7:
movq 8(%r13), %rdi
callq _av_free
LBB0_8:
movl %r12d, %edi
callq _av_mallocz
movq %rax, 8(%r13)
testq %rax, %rax
je LBB0_11
## %bb.9:
movl %r12d, (%r13)
testl %r14d, %r14d
je LBB0_13
## %bb.10:
movq %rax, %rdi
movl %r12d, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _av_buffer_create
movq %rax, (%r15)
testq %rax, %rax
jne LBB0_13
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _INT_MAX,4,2 ## @INT_MAX
.comm _AV_INPUT_BUFFER_PADDING_SIZE,4,2 ## @AV_INPUT_BUFFER_PADDING_SIZE
.no_dead_strip _alloc_rbsp_buffer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function alloc_rbsp_buffer
_alloc_rbsp_buffer: ; @alloc_rbsp_buffer
.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 x21, x1
mov x19, x0
Lloh0:
adrp x23, _INT_MAX@GOTPAGE
Lloh1:
ldr x23, [x23, _INT_MAX@GOTPAGEOFF]
ldr w1, [x23]
Lloh2:
adrp x22, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE
Lloh3:
ldr x22, [x22, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF]
ldr w8, [x22]
sub w9, w1, w8
cmp w9, w21
b.hs LBB0_4
LBB0_1:
str wzr, [x19]
mov x0, x19
ldr x8, [x0, #16]!
cbz x8, LBB0_8
; %bb.2:
bl _av_buffer_unref
str xzr, [x19, #8]
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
mov x20, x2
ldr w9, [x19]
add w24, w8, w21
cmp w9, w24
b.lo LBB0_10
; %bb.5:
ldr x0, [x19, #16]
cbz x0, LBB0_7
; %bb.6:
bl _av_buffer_is_writable
cbz x0, LBB0_9
LBB0_7:
ldr x0, [x19, #8]
bl _av_assert0
ldr x8, [x19, #8]
add x0, x8, w21, sxtw #2
ldr w2, [x22]
mov w1, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _memset
LBB0_8:
add x0, x19, #8
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 _av_freep
LBB0_9:
ldr w1, [x23]
LBB0_10:
add w8, w24, w24, lsr #4
add w0, w8, #32
bl _FFMIN
mov x22, x0
mov x21, x19
ldr x8, [x21, #16]!
cbz x8, LBB0_12
; %bb.11:
mov x0, x21
bl _av_buffer_unref
b LBB0_13
LBB0_12:
ldr x0, [x19, #8]
bl _av_free
LBB0_13:
mov x0, x22
bl _av_mallocz
str x0, [x19, #8]
cbz x0, LBB0_1
; %bb.14:
str w22, [x19]
cbz w20, LBB0_3
; %bb.15:
mov x1, x22
mov x2, #0
mov x3, #0
mov w4, #0
bl _av_buffer_create
str x0, [x21]
cbnz x0, LBB0_3
b LBB0_1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _INT_MAX,4,2 ; @INT_MAX
.comm _AV_INPUT_BUFFER_PADDING_SIZE,4,2 ; @AV_INPUT_BUFFER_PADDING_SIZE
.no_dead_strip _alloc_rbsp_buffer
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_h2645_parse.c_alloc_rbsp_buffer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -44(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -48(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -48(%rbp), %r14d
leaq (,%r14,8), %rdi
callq _malloc
movq %rax, %r13
testl %r14d, %r14d
jle LBB0_29
## %bb.1:
movl -44(%rbp), %r15d
shlq $2, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _malloc
movq %rax, (%r13,%rbx,8)
incq %rbx
cmpq %rbx, %r14
jne LBB0_2
## %bb.3:
movq %r13, -56(%rbp) ## 8-byte Spill
movl -44(%rbp), %eax
leaq L_.str.3(%rip), %r12
xorl %r13d, %r13d
movq -56(%rbp), %r15 ## 8-byte Reload
jmp LBB0_4
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
incq %r13
movslq %r14d, %rcx
cmpq %rcx, %r13
jge LBB0_9
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
testl %eax, %eax
jle LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
xorl %r14d, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
movl %r13d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
movq (%r15,%r13,8), %rsi
addq %r14, %rsi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -44(%rbp), %rax
addq $4, %r14
cmpq %rax, %rbx
jl LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movl -48(%rbp), %r14d
jmp LBB0_8
LBB0_9:
testl %r14d, %r14d
movq -56(%rbp), %r13 ## 8-byte Reload
jle LBB0_29
## %bb.10:
movl -44(%rbp), %eax
movl %r14d, %r8d
xorl %r9d, %r9d
jmp LBB0_11
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_11 Depth=1
incq %r9
cmpq %r8, %r9
je LBB0_20
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_16 Depth 3
testl %eax, %eax
jle LBB0_19
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movl $1, %r11d
xorl %r10d, %r10d
jmp LBB0_14
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_14 Depth=2
incq %r11
cmpq %rax, %r10
je LBB0_19
LBB0_14: ## Parent Loop BB0_11 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_16 Depth 3
movq %r10, %rdi
incq %r10
cmpq %rax, %r10
jae LBB0_13
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movq (%r13,%r9,8), %rcx
movl (%rcx,%rdi,4), %ebx
movq %r11, %rsi
jmp LBB0_16
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_16 Depth=3
incq %rsi
cmpq %rsi, %rax
je LBB0_13
LBB0_16: ## Parent Loop BB0_11 Depth=1
## Parent Loop BB0_14 Depth=2
## => This Inner Loop Header: Depth=3
movl (%rcx,%rsi,4), %edx
cmpl %edx, %ebx
jle LBB0_18
## %bb.17: ## in Loop: Header=BB0_16 Depth=3
movl %ebx, (%rcx,%rsi,4)
movl %edx, (%rcx,%rdi,4)
movl %edx, %ebx
jmp LBB0_18
LBB0_20:
cmpl $0, -48(%rbp)
jle LBB0_29
## %bb.21:
leaq L_.str.4(%rip), %r14
xorl %r15d, %r15d
jmp LBB0_22
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_22 Depth=1
movl $10, %edi
callq _putchar
incq %r15
movslq -48(%rbp), %rax
cmpq %rax, %r15
jge LBB0_26
LBB0_22: ## =>This Loop Header: Depth=1
## Child Loop BB0_24 Depth 2
cmpl $0, -44(%rbp)
jle LBB0_25
## %bb.23: ## in Loop: Header=BB0_22 Depth=1
movq (%r13,%r15,8), %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_22 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r12,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movslq -44(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_24
jmp LBB0_25
LBB0_26:
testl %eax, %eax
jle LBB0_29
## %bb.27:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rbx,8), %rdi
callq _free
incq %rbx
movslq -48(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_28
LBB0_29:
movq %r13, %rdi
callq _free
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ordenaLinhaALinha ## -- Begin function ordenaLinhaALinha
.p2align 4, 0x90
_ordenaLinhaALinha: ## @ordenaLinhaALinha
.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
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testl %esi, %esi
jle LBB1_11
## %bb.1:
movl %edx, %r15d
movl %esi, %r8d
xorl %r9d, %r9d
jmp LBB1_2
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_2 Depth=1
incq %r9
cmpq %r8, %r9
je LBB1_11
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
## Child Loop BB1_7 Depth 3
testl %edx, %edx
jle LBB1_10
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movl $1, %r11d
xorl %r10d, %r10d
jmp LBB1_5
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_5 Depth=2
incq %r11
cmpq %r15, %r10
je LBB1_10
LBB1_5: ## Parent Loop BB1_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_7 Depth 3
movq %r10, %r14
incq %r10
cmpq %r15, %r10
jae LBB1_4
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
movq (%rdi,%r9,8), %rcx
movl (%rcx,%r14,4), %eax
movq %r11, %rsi
jmp LBB1_7
.p2align 4, 0x90
LBB1_9: ## in Loop: Header=BB1_7 Depth=3
incq %rsi
cmpq %rsi, %r15
je LBB1_4
LBB1_7: ## Parent Loop BB1_2 Depth=1
## Parent Loop BB1_5 Depth=2
## => This Inner Loop Header: Depth=3
movl (%rcx,%rsi,4), %ebx
cmpl %ebx, %eax
jle LBB1_9
## %bb.8: ## in Loop: Header=BB1_7 Depth=3
movl %eax, (%rcx,%rsi,4)
movl %ebx, (%rcx,%r14,4)
movl %ebx, %eax
jmp LBB1_9
LBB1_11:
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ordemCrescente ## -- Begin function ordemCrescente
.p2align 4, 0x90
_ordemCrescente: ## @ordemCrescente
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testl %edx, %edx
jle LBB2_8
## %bb.1:
movslq %esi, %r8
movl %edx, %r9d
xorl %r10d, %r10d
movq %r9, %rdx
jmp LBB2_3
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_3 Depth=1
decq %rdx
cmpq %r9, %r10
je LBB2_8
LBB2_3: ## =>This Loop Header: Depth=1
## Child Loop BB2_5 Depth 2
movq %r10, %r14
incq %r10
cmpq %r9, %r10
jae LBB2_2
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movq (%rdi,%r8,8), %r11
leaq (%r11,%r14,4), %rax
movl (%r11,%r14,4), %esi
movl $1, %ecx
jmp LBB2_5
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_5 Depth=2
incq %rcx
cmpq %rcx, %rdx
je LBB2_2
LBB2_5: ## Parent Loop BB2_3 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rax,%rcx,4), %ebx
cmpl %ebx, %esi
jle LBB2_7
## %bb.6: ## in Loop: Header=BB2_5 Depth=2
movl %esi, (%rax,%rcx,4)
movl %ebx, (%r11,%r14,4)
movl %ebx, %esi
jmp LBB2_7
LBB2_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite quantas colunas: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Digite quantas linhas: "
L_.str.3: ## @.str.3
.asciz "Digite o valor para a posicao [%d][%d]: "
L_.str.4: ## @.str.4
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #28
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
mov x0, x19
bl _scanf
ldr w22, [sp, #24]
lsl x0, x22, #3
bl _malloc
mov x19, x0
cmp w22, #1
b.lt LBB0_29
; %bb.1:
ldr w8, [sp, #28]
lsl x20, x8, #2
mov x21, x22
mov x23, x19
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _malloc
str x0, [x23], #8
subs x21, x21, #1
b.ne LBB0_2
; %bb.3:
mov x23, #0
ldr w8, [sp, #28]
Lloh6:
adrp x20, l_.str.3@PAGE
Lloh7:
add x20, x20, l_.str.3@PAGEOFF
Lloh8:
adrp x21, l_.str.1@PAGE
Lloh9:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x23, x23, #1
cmp x23, w22, sxtw
b.ge LBB0_9
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
cmp w8, #1
b.lt LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x22, #0
mov x24, #0
mov x25, x23
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
stp x25, x24, [sp]
mov x0, x20
bl _printf
ldr x8, [x19, x23, lsl #3]
add x8, x8, x22
str x8, [sp]
mov x0, x21
bl _scanf
add x24, x24, #1
ldrsw x8, [sp, #28]
add x22, x22, #4
cmp x24, x8
b.lt LBB0_7
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr w22, [sp, #24]
b LBB0_4
LBB0_9:
cmp w22, #1
b.lt LBB0_29
; %bb.10:
mov x8, #0
ldr w9, [sp, #28]
mov w10, w22
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add x8, x8, #1
cmp x8, x10
b.eq LBB0_20
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
; Child Loop BB0_18 Depth 3
cmp w9, #1
b.lt LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
mov x12, #0
mov w11, #1
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
add x11, x11, #1
mov x12, x13
cmp x13, x9
b.eq LBB0_11
LBB0_15: ; Parent Loop BB0_12 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_18 Depth 3
add x13, x12, #1
cmp x13, x9
b.hs LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
ldr x14, [x19, x8, lsl #3]
ldr w16, [x14, x12, lsl #2]
add x15, x14, x11, lsl #2
mov x17, x9
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=3
sub x17, x17, #1
add x15, x15, #4
cmp x11, x17
b.eq LBB0_14
LBB0_18: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_15 Depth=2
; => This Inner Loop Header: Depth=3
ldr w0, [x15]
cmp w16, w0
b.le LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=3
str w16, [x15]
str w0, [x14, x12, lsl #2]
mov x16, x0
b LBB0_17
LBB0_20:
ldr w8, [sp, #24]
cmp w8, #1
b.lt LBB0_29
; %bb.21:
mov x21, #0
Lloh10:
adrp x20, l_.str.4@PAGE
Lloh11:
add x20, x20, l_.str.4@PAGEOFF
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_23 Depth=1
mov w0, #10
bl _putchar
add x21, x21, #1
ldrsw x8, [sp, #24]
cmp x21, x8
b.ge LBB0_26
LBB0_23: ; =>This Loop Header: Depth=1
; Child Loop BB0_25 Depth 2
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB0_22
; %bb.24: ; in Loop: Header=BB0_23 Depth=1
mov x22, #0
ldr x23, [x19, x21, lsl #3]
LBB0_25: ; Parent Loop BB0_23 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x23, x22, lsl #2]
str x8, [sp]
mov x0, x20
bl _printf
add x22, x22, #1
ldrsw x8, [sp, #28]
cmp x22, x8
b.lt LBB0_25
b LBB0_22
LBB0_26:
cmp w8, #1
b.lt LBB0_29
; %bb.27:
mov x20, #0
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, x20, lsl #3]
bl _free
add x20, x20, #1
ldrsw x8, [sp, #24]
cmp x20, x8
b.lt LBB0_28
LBB0_29:
mov x0, x19
bl _free
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
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _ordenaLinhaALinha ; -- Begin function ordenaLinhaALinha
.p2align 2
_ordenaLinhaALinha: ; @ordenaLinhaALinha
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB1_11
; %bb.1:
mov x8, #0
mov w9, w2
mov w10, w1
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add x8, x8, #1
cmp x8, x10
b.eq LBB1_11
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
; Child Loop BB1_9 Depth 3
cmp w2, #1
b.lt LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
mov x12, #0
mov w11, #1
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=2
add x11, x11, #1
mov x12, x13
cmp x13, x9
b.eq LBB1_2
LBB1_6: ; Parent Loop BB1_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_9 Depth 3
add x13, x12, #1
cmp x13, x9
b.hs LBB1_5
; %bb.7: ; in Loop: Header=BB1_6 Depth=2
ldr x14, [x0, x8, lsl #3]
ldr w16, [x14, x12, lsl #2]
add x15, x14, x11, lsl #2
mov x17, x9
b LBB1_9
LBB1_8: ; in Loop: Header=BB1_9 Depth=3
sub x17, x17, #1
add x15, x15, #4
cmp x11, x17
b.eq LBB1_5
LBB1_9: ; Parent Loop BB1_3 Depth=1
; Parent Loop BB1_6 Depth=2
; => This Inner Loop Header: Depth=3
ldr w1, [x15]
cmp w16, w1
b.le LBB1_8
; %bb.10: ; in Loop: Header=BB1_9 Depth=3
str w16, [x15]
str w1, [x14, x12, lsl #2]
mov x16, x1
b LBB1_8
LBB1_11:
ret
.cfi_endproc
; -- End function
.globl _ordemCrescente ; -- Begin function ordemCrescente
.p2align 2
_ordemCrescente: ; @ordemCrescente
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
cmp w2, #1
b.lt LBB2_8
; %bb.1:
mov x9, #0
sxtw x8, w1
mov w10, #1
mov w11, w2
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
add x10, x10, #1
mov x9, x12
cmp x12, x11
b.eq LBB2_8
LBB2_3: ; =>This Loop Header: Depth=1
; Child Loop BB2_6 Depth 2
add x12, x9, #1
cmp x12, x11
b.hs LBB2_2
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
ldr x13, [x0, x8, lsl #3]
ldr w15, [x13, x9, lsl #2]
add x14, x13, x10, lsl #2
mov x16, x11
b LBB2_6
LBB2_5: ; in Loop: Header=BB2_6 Depth=2
add x14, x14, #4
sub x16, x16, #1
cmp x10, x16
b.eq LBB2_2
LBB2_6: ; Parent Loop BB2_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x14]
cmp w15, w17
b.le LBB2_5
; %bb.7: ; in Loop: Header=BB2_6 Depth=2
str w15, [x14]
str w17, [x13, x9, lsl #2]
mov x15, x17
b LBB2_5
LBB2_8:
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite quantas colunas: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Digite quantas linhas: "
l_.str.3: ; @.str.3
.asciz "Digite o valor para a posicao [%d][%d]: "
l_.str.4: ; @.str.4
.asciz "%d "
.subsections_via_symbols
| the_stack_data/225142980.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qed_fill_link
_qed_fill_link: ## @qed_fill_link
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rdi
xorl %esi, %esi
movl $80, %edx
callq _memset
leaq -112(%rbp), %rsi
leaq -200(%rbp), %rdx
leaq -136(%rbp), %rcx
movq %r15, %rdi
callq _qed_get_link_data
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%r15), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
callq _dev_warn
jmp LBB0_50
LBB0_2:
cmpq $0, -144(%rbp)
je LBB0_4
## %bb.3:
movl $1, (%rbx)
LBB0_4:
cmpq $0, -120(%rbp)
je LBB0_6
## %bb.5:
movq _QED_LM_Autoneg_BIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 68(%rbx)
LBB0_6:
movq -80(%rbp), %rax
movq -72(%rbp), %rdx
testq %rdx, %rdx
je LBB0_8
## %bb.7:
movq -88(%rbp), %rcx
jmp LBB0_10
LBB0_8:
movq -88(%rbp), %rcx
testq %rax, %rax
je LBB0_11
## %bb.9:
testq %rcx, %rcx
je LBB0_11
LBB0_10:
movq _QED_LM_Asym_Pause_BIT@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
orl %esi, 68(%rbx)
LBB0_11:
testq %rdx, %rdx
jne LBB0_15
## %bb.12:
testq %rax, %rax
jne LBB0_15
## %bb.13:
testq %rcx, %rcx
jne LBB0_15
## %bb.14:
movl 68(%rbx), %eax
jmp LBB0_16
LBB0_15:
movq _QED_LM_Pause_BIT@GOTPCREL(%rip), %rcx
movl 68(%rbx), %eax
orl (%rcx), %eax
movl %eax, 68(%rbx)
LBB0_16:
leaq 68(%rbx), %r12
leaq 72(%rbx), %rcx
movq _QED_LM_Autoneg_BIT@GOTPCREL(%rip), %r13
movl (%r13), %edx
movl %edx, %esi
notl %esi
andl %eax, %esi
orl %eax, %edx
cmpq $0, -64(%rbp)
cmovel %esi, %edx
movl %edx, 72(%rbx)
movl -56(%rbp), %edx
movq %r15, %rdi
movq %r14, %rsi
callq _qed_fill_link_capability
movl -124(%rbp), %edx
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rcx
callq _qed_fill_link_capability
cmpq $0, -144(%rbp)
je LBB0_18
## %bb.17:
movl -152(%rbp), %eax
movl %eax, 64(%rbx)
LBB0_18:
movq _DUPLEX_FULL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 60(%rbx)
leaq -44(%rbp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq _qed_mcp_get_media_type
movl -44(%rbp), %edi
callq _qed_get_port_type
movl %eax, 56(%rbx)
movq -64(%rbp), %rax
movq %rax, 48(%rbx)
cmpq $0, -72(%rbp)
je LBB0_20
## %bb.19:
movq _QED_LINK_PAUSE_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 44(%rbx)
LBB0_20:
cmpq $0, -80(%rbp)
je LBB0_22
## %bb.21:
movq _QED_LINK_PAUSE_RX_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 44(%rbx)
LBB0_22:
cmpq $0, -88(%rbp)
je LBB0_24
## %bb.23:
movq _QED_LINK_PAUSE_TX_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 44(%rbx)
LBB0_24:
movl -200(%rbp), %eax
movq _QED_LINK_PARTNER_SPEED_1G_FD@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_26
## %bb.25:
movq _QED_LM_1000baseT_Full_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_26:
movq _QED_LINK_PARTNER_SPEED_10G@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_28
## %bb.27:
movq _QED_LM_10000baseKR_Full_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_28:
movq _QED_LINK_PARTNER_SPEED_20G@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_30
## %bb.29:
movq _QED_LM_20000baseKR2_Full_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_30:
movq _QED_LINK_PARTNER_SPEED_25G@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_32
## %bb.31:
movq _QED_LM_25000baseKR_Full_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_32:
movq _QED_LINK_PARTNER_SPEED_40G@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_34
## %bb.33:
movq _QED_LM_40000baseLR4_Full_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_34:
movq _QED_LINK_PARTNER_SPEED_50G@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_36
## %bb.35:
movq _QED_LM_50000baseKR2_Full_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_36:
movq _QED_LINK_PARTNER_SPEED_100G@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_38
## %bb.37:
movq _QED_LM_100000baseKR4_Full_BIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 40(%rbx)
LBB0_38:
cmpq $0, -160(%rbp)
je LBB0_40
## %bb.39:
movl (%r13), %eax
orl %eax, 40(%rbx)
LBB0_40:
movq -192(%rbp), %rax
testq %rax, %rax
je LBB0_42
## %bb.41:
movq _QED_LM_Pause_BIT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %ecx, 40(%rbx)
LBB0_42:
movq _QED_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_44
## %bb.43:
movq _QED_LINK_PARTNER_BOTH_PAUSE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_45
LBB0_44:
movq _QED_LM_Asym_Pause_BIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 40(%rbx)
LBB0_45:
movq -136(%rbp), %rax
movq _QED_MCP_EEE_UNSUPPORTED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_47
## %bb.46:
movl $0, 4(%rbx)
jmp LBB0_50
LBB0_47:
movl $1, 4(%rbx)
movl -168(%rbp), %eax
movl %eax, 36(%rbx)
movl -128(%rbp), %eax
movl %eax, 32(%rbx)
movq -176(%rbp), %rax
testq %rax, %rax
jne LBB0_49
## %bb.48:
movq -96(%rbp), %rax
LBB0_49:
movq %rax, 24(%rbx)
movl -184(%rbp), %eax
movl %eax, 20(%rbx)
movl -104(%rbp), %eax
movl %eax, 16(%rbx)
movl -108(%rbp), %eax
movl %eax, 12(%rbx)
movl -112(%rbp), %eax
movl %eax, 8(%rbx)
LBB0_50:
addq $168, %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 link data available\n"
.comm _QED_LM_Autoneg_BIT,4,2 ## @QED_LM_Autoneg_BIT
.comm _QED_LM_Asym_Pause_BIT,4,2 ## @QED_LM_Asym_Pause_BIT
.comm _QED_LM_Pause_BIT,4,2 ## @QED_LM_Pause_BIT
.comm _DUPLEX_FULL,4,2 ## @DUPLEX_FULL
.comm _QED_LINK_PAUSE_AUTONEG_ENABLE,4,2 ## @QED_LINK_PAUSE_AUTONEG_ENABLE
.comm _QED_LINK_PAUSE_RX_ENABLE,4,2 ## @QED_LINK_PAUSE_RX_ENABLE
.comm _QED_LINK_PAUSE_TX_ENABLE,4,2 ## @QED_LINK_PAUSE_TX_ENABLE
.comm _QED_LINK_PARTNER_SPEED_1G_FD,4,2 ## @QED_LINK_PARTNER_SPEED_1G_FD
.comm _QED_LM_1000baseT_Full_BIT,4,2 ## @QED_LM_1000baseT_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_10G,4,2 ## @QED_LINK_PARTNER_SPEED_10G
.comm _QED_LM_10000baseKR_Full_BIT,4,2 ## @QED_LM_10000baseKR_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_20G,4,2 ## @QED_LINK_PARTNER_SPEED_20G
.comm _QED_LM_20000baseKR2_Full_BIT,4,2 ## @QED_LM_20000baseKR2_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_25G,4,2 ## @QED_LINK_PARTNER_SPEED_25G
.comm _QED_LM_25000baseKR_Full_BIT,4,2 ## @QED_LM_25000baseKR_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_40G,4,2 ## @QED_LINK_PARTNER_SPEED_40G
.comm _QED_LM_40000baseLR4_Full_BIT,4,2 ## @QED_LM_40000baseLR4_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_50G,4,2 ## @QED_LINK_PARTNER_SPEED_50G
.comm _QED_LM_50000baseKR2_Full_BIT,4,2 ## @QED_LM_50000baseKR2_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_100G,4,2 ## @QED_LINK_PARTNER_SPEED_100G
.comm _QED_LM_100000baseKR4_Full_BIT,4,2 ## @QED_LM_100000baseKR4_Full_BIT
.comm _QED_LINK_PARTNER_ASYMMETRIC_PAUSE,8,3 ## @QED_LINK_PARTNER_ASYMMETRIC_PAUSE
.comm _QED_LINK_PARTNER_BOTH_PAUSE,8,3 ## @QED_LINK_PARTNER_BOTH_PAUSE
.comm _QED_MCP_EEE_UNSUPPORTED,8,3 ## @QED_MCP_EEE_UNSUPPORTED
.no_dead_strip _qed_fill_link
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qed_fill_link
_qed_fill_link: ; @qed_fill_link
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
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
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, x2
mov w1, #0
mov w2, #80
bl _memset
add x1, sp, #72
add x2, sp, #8
sub x3, x29, #88
mov x0, x21
bl _qed_get_link_data
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x21]
ldr x0, [x8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_warn
b LBB0_48
LBB0_2:
sub x23, x29, #88
ldr x8, [sp, #64]
cbz x8, LBB0_4
; %bb.3:
mov w8, #1
str w8, [x19]
LBB0_4:
ldr x8, [x23, #16]
Lloh2:
adrp x25, _QED_LM_Autoneg_BIT@GOTPAGE
Lloh3:
ldr x25, [x25, _QED_LM_Autoneg_BIT@GOTPAGEOFF]
cbz x8, LBB0_6
; %bb.5:
ldr w8, [x25]
ldr w9, [x19, #68]
orr w8, w9, w8
str w8, [x19, #68]
LBB0_6:
ldp x8, x9, [sp, #104]
Lloh4:
adrp x24, _QED_LM_Asym_Pause_BIT@GOTPAGE
Lloh5:
ldr x24, [x24, _QED_LM_Asym_Pause_BIT@GOTPAGEOFF]
cbz x9, LBB0_8
; %bb.7:
ldr x10, [sp, #96]
b LBB0_10
LBB0_8:
ldr x10, [sp, #96]
cbz x8, LBB0_11
; %bb.9:
cbz x10, LBB0_11
LBB0_10:
ldr w11, [x24]
ldr w12, [x19, #68]
orr w11, w12, w11
str w11, [x19, #68]
LBB0_11:
Lloh6:
adrp x26, _QED_LM_Pause_BIT@GOTPAGE
Lloh7:
ldr x26, [x26, _QED_LM_Pause_BIT@GOTPAGEOFF]
cbnz x9, LBB0_15
; %bb.12:
cbnz x8, LBB0_15
; %bb.13:
cbnz x10, LBB0_15
; %bb.14:
ldr w8, [x19, #68]
b LBB0_16
LBB0_15:
ldr w8, [x26]
ldr w9, [x19, #68]
orr w8, w9, w8
str w8, [x19, #68]
LBB0_16:
ldr x9, [sp, #120]
ldr w10, [x25]
bic w11, w8, w10
orr w8, w10, w8
cmp x9, #0
csel w8, w11, w8, eq
mov x3, x19
str w8, [x3, #72]!
sub x22, x3, #4
ldr w2, [sp, #128]
mov x0, x21
mov x1, x20
bl _qed_fill_link_capability
ldur w2, [x29, #-76]
mov x0, x21
mov x1, x20
mov x3, x22
bl _qed_fill_link_capability
ldr x8, [sp, #64]
cbz x8, LBB0_18
; %bb.17:
ldr w8, [sp, #56]
str w8, [x19, #64]
LBB0_18:
Lloh8:
adrp x8, _DUPLEX_FULL@GOTPAGE
Lloh9:
ldr x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
str w8, [x19, #60]
add x2, sp, #4
mov x0, x21
mov x1, x20
bl _qed_mcp_get_media_type
ldr w0, [sp, #4]
bl _qed_get_port_type
str w0, [x19, #56]
ldp x9, x8, [sp, #112]
str x8, [x19, #48]
cbz x9, LBB0_20
; %bb.19:
Lloh11:
adrp x8, _QED_LINK_PAUSE_AUTONEG_ENABLE@GOTPAGE
Lloh12:
ldr x8, [x8, _QED_LINK_PAUSE_AUTONEG_ENABLE@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
ldr w9, [x19, #44]
orr w8, w9, w8
str w8, [x19, #44]
LBB0_20:
ldr x8, [sp, #104]
cbz x8, LBB0_22
; %bb.21:
Lloh14:
adrp x8, _QED_LINK_PAUSE_RX_ENABLE@GOTPAGE
Lloh15:
ldr x8, [x8, _QED_LINK_PAUSE_RX_ENABLE@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
ldr w9, [x19, #44]
orr w8, w9, w8
str w8, [x19, #44]
LBB0_22:
ldr x8, [sp, #96]
cbz x8, LBB0_24
; %bb.23:
Lloh17:
adrp x8, _QED_LINK_PAUSE_TX_ENABLE@GOTPAGE
Lloh18:
ldr x8, [x8, _QED_LINK_PAUSE_TX_ENABLE@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
ldr w9, [x19, #44]
orr w8, w9, w8
str w8, [x19, #44]
LBB0_24:
ldr w8, [sp, #8]
Lloh20:
adrp x9, _QED_LINK_PARTNER_SPEED_1G_FD@GOTPAGE
Lloh21:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_1G_FD@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_26
; %bb.25:
Lloh23:
adrp x9, _QED_LM_1000baseT_Full_BIT@GOTPAGE
Lloh24:
ldr x9, [x9, _QED_LM_1000baseT_Full_BIT@GOTPAGEOFF]
Lloh25:
ldr w9, [x9]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_26:
Lloh26:
adrp x9, _QED_LINK_PARTNER_SPEED_10G@GOTPAGE
Lloh27:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_10G@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_28
; %bb.27:
Lloh29:
adrp x9, _QED_LM_10000baseKR_Full_BIT@GOTPAGE
Lloh30:
ldr x9, [x9, _QED_LM_10000baseKR_Full_BIT@GOTPAGEOFF]
Lloh31:
ldr w9, [x9]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_28:
Lloh32:
adrp x9, _QED_LINK_PARTNER_SPEED_20G@GOTPAGE
Lloh33:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_20G@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_30
; %bb.29:
Lloh35:
adrp x9, _QED_LM_20000baseKR2_Full_BIT@GOTPAGE
Lloh36:
ldr x9, [x9, _QED_LM_20000baseKR2_Full_BIT@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_30:
Lloh38:
adrp x9, _QED_LINK_PARTNER_SPEED_25G@GOTPAGE
Lloh39:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_25G@GOTPAGEOFF]
Lloh40:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_32
; %bb.31:
Lloh41:
adrp x9, _QED_LM_25000baseKR_Full_BIT@GOTPAGE
Lloh42:
ldr x9, [x9, _QED_LM_25000baseKR_Full_BIT@GOTPAGEOFF]
Lloh43:
ldr w9, [x9]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_32:
Lloh44:
adrp x9, _QED_LINK_PARTNER_SPEED_40G@GOTPAGE
Lloh45:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_40G@GOTPAGEOFF]
Lloh46:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_34
; %bb.33:
Lloh47:
adrp x9, _QED_LM_40000baseLR4_Full_BIT@GOTPAGE
Lloh48:
ldr x9, [x9, _QED_LM_40000baseLR4_Full_BIT@GOTPAGEOFF]
Lloh49:
ldr w9, [x9]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_34:
Lloh50:
adrp x9, _QED_LINK_PARTNER_SPEED_50G@GOTPAGE
Lloh51:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_50G@GOTPAGEOFF]
Lloh52:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_36
; %bb.35:
Lloh53:
adrp x9, _QED_LM_50000baseKR2_Full_BIT@GOTPAGE
Lloh54:
ldr x9, [x9, _QED_LM_50000baseKR2_Full_BIT@GOTPAGEOFF]
Lloh55:
ldr w9, [x9]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_36:
Lloh56:
adrp x9, _QED_LINK_PARTNER_SPEED_100G@GOTPAGE
Lloh57:
ldr x9, [x9, _QED_LINK_PARTNER_SPEED_100G@GOTPAGEOFF]
Lloh58:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_38
; %bb.37:
Lloh59:
adrp x8, _QED_LM_100000baseKR4_Full_BIT@GOTPAGE
Lloh60:
ldr x8, [x8, _QED_LM_100000baseKR4_Full_BIT@GOTPAGEOFF]
Lloh61:
ldr w8, [x8]
ldr w9, [x19, #40]
orr w8, w9, w8
str w8, [x19, #40]
LBB0_38:
ldr x8, [sp, #48]
cbz x8, LBB0_40
; %bb.39:
ldr w8, [x25]
ldr w9, [x19, #40]
orr w8, w9, w8
str w8, [x19, #40]
LBB0_40:
ldr x8, [sp, #16]
cbz x8, LBB0_42
; %bb.41:
ldr w9, [x26]
ldr w10, [x19, #40]
orr w9, w10, w9
str w9, [x19, #40]
LBB0_42:
Lloh62:
adrp x9, _QED_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGE
Lloh63:
ldr x9, [x9, _QED_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh64:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_44
; %bb.43:
Lloh65:
adrp x9, _QED_LINK_PARTNER_BOTH_PAUSE@GOTPAGE
Lloh66:
ldr x9, [x9, _QED_LINK_PARTNER_BOTH_PAUSE@GOTPAGEOFF]
Lloh67:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_45
LBB0_44:
ldr w8, [x24]
ldr w9, [x19, #40]
orr w8, w9, w8
str w8, [x19, #40]
LBB0_45:
ldr x8, [x23]
Lloh68:
adrp x9, _QED_MCP_EEE_UNSUPPORTED@GOTPAGE
Lloh69:
ldr x9, [x9, _QED_MCP_EEE_UNSUPPORTED@GOTPAGEOFF]
Lloh70:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_47
; %bb.46:
str wzr, [x19, #4]
b LBB0_48
LBB0_47:
mov w8, #1
str w8, [x19, #4]
ldr w8, [sp, #40]
ldur w9, [x29, #-80]
stp w9, w8, [x19, #32]
ldr x8, [sp, #32]
ldr x9, [sp, #88]
cmp x8, #0
csel x8, x9, x8, eq
str x8, [x19, #24]
ldr w8, [sp, #24]
ldr w9, [sp, #80]
stp w9, w8, [x19, #16]
ldr d0, [sp, #72]
str d0, [x19, #8]
LBB0_48:
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
add sp, sp, #240
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "no link data available\n"
.comm _QED_LM_Autoneg_BIT,4,2 ; @QED_LM_Autoneg_BIT
.comm _QED_LM_Asym_Pause_BIT,4,2 ; @QED_LM_Asym_Pause_BIT
.comm _QED_LM_Pause_BIT,4,2 ; @QED_LM_Pause_BIT
.comm _DUPLEX_FULL,4,2 ; @DUPLEX_FULL
.comm _QED_LINK_PAUSE_AUTONEG_ENABLE,4,2 ; @QED_LINK_PAUSE_AUTONEG_ENABLE
.comm _QED_LINK_PAUSE_RX_ENABLE,4,2 ; @QED_LINK_PAUSE_RX_ENABLE
.comm _QED_LINK_PAUSE_TX_ENABLE,4,2 ; @QED_LINK_PAUSE_TX_ENABLE
.comm _QED_LINK_PARTNER_SPEED_1G_FD,4,2 ; @QED_LINK_PARTNER_SPEED_1G_FD
.comm _QED_LM_1000baseT_Full_BIT,4,2 ; @QED_LM_1000baseT_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_10G,4,2 ; @QED_LINK_PARTNER_SPEED_10G
.comm _QED_LM_10000baseKR_Full_BIT,4,2 ; @QED_LM_10000baseKR_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_20G,4,2 ; @QED_LINK_PARTNER_SPEED_20G
.comm _QED_LM_20000baseKR2_Full_BIT,4,2 ; @QED_LM_20000baseKR2_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_25G,4,2 ; @QED_LINK_PARTNER_SPEED_25G
.comm _QED_LM_25000baseKR_Full_BIT,4,2 ; @QED_LM_25000baseKR_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_40G,4,2 ; @QED_LINK_PARTNER_SPEED_40G
.comm _QED_LM_40000baseLR4_Full_BIT,4,2 ; @QED_LM_40000baseLR4_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_50G,4,2 ; @QED_LINK_PARTNER_SPEED_50G
.comm _QED_LM_50000baseKR2_Full_BIT,4,2 ; @QED_LM_50000baseKR2_Full_BIT
.comm _QED_LINK_PARTNER_SPEED_100G,4,2 ; @QED_LINK_PARTNER_SPEED_100G
.comm _QED_LM_100000baseKR4_Full_BIT,4,2 ; @QED_LM_100000baseKR4_Full_BIT
.comm _QED_LINK_PARTNER_ASYMMETRIC_PAUSE,8,3 ; @QED_LINK_PARTNER_ASYMMETRIC_PAUSE
.comm _QED_LINK_PARTNER_BOTH_PAUSE,8,3 ; @QED_LINK_PARTNER_BOTH_PAUSE
.comm _QED_MCP_EEE_UNSUPPORTED,8,3 ; @QED_MCP_EEE_UNSUPPORTED
.no_dead_strip _qed_fill_link
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_main.c_qed_fill_link.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, -44(%rbp) ## 4-byte Spill
movq %rsi, %rdi
callq _obsolete
movl $10, %r15d
leaq L_.str(%rip), %r12
movq _optarg@GOTPCREL(%rip), %r14
leaq -64(%rbp), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq (%r14), %rdx
movl $1, %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _err
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movq %rbx, %rsi
movq %r12, %rdx
callq _getopt
cmpl $110, %eax
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq (%r14), %rdi
movq %r13, %rsi
movl $10, %edx
callq _strtol
movq %rax, %r15
movq -64(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
testl %r15d, %r15d
jg LBB0_1
jmp LBB0_6
LBB0_2:
cmpl $-1, %eax
jne LBB0_3
## %bb.7:
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq (%rbx,%rax,8), %rdi
testq %rdi, %rdi
jne LBB0_8
## %bb.23:
testl %r15d, %r15d
jne LBB0_24
LBB0_31:
movq _eval@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _exit
LBB0_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.9(%rip), %rdi
movl $34, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
LBB0_8:
leaq (%rbx,%rax,8), %r14
subl %eax, -44(%rbp) ## 4-byte Folded Spill
movl $1, -48(%rbp) ## 4-byte Folded Spill
leaq L_.str.7(%rip), %r13
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_9 Depth=1
movq %r12, %rdi
callq _fclose
movq -56(%rbp), %r15 ## 8-byte Reload
LBB0_22: ## in Loop: Header=BB0_9 Depth=1
movq 8(%r14), %rdi
addq $8, %r14
testq %rdi, %rdi
je LBB0_31
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
## Child Loop BB0_16 Depth 3
leaq L_.str.2(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq %rax, %r12
cmpl $2, -44(%rbp) ## 4-byte Folded Reload
jl LBB0_13
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rax
cmoveq %rax, %rsi
movq (%r14), %rdx
movl $0, -48(%rbp) ## 4-byte Folded Spill
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_13: ## in Loop: Header=BB0_9 Depth=1
testl %r15d, %r15d
je LBB0_21
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl %eax, %r15d
jmp LBB0_15
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_15 Depth=2
testl %r15d, %r15d
je LBB0_21
LBB0_15: ## Parent Loop BB0_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_16 Depth 3
decl %r15d
jmp LBB0_16
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_16 Depth=3
cmpl $10, %ebx
je LBB0_20
LBB0_16: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_15 Depth=2
## => This Inner Loop Header: Depth=3
movq %r12, %rdi
callq _getc
cmpl $-1, %eax
je LBB0_20
## %bb.17: ## in Loop: Header=BB0_16 Depth=3
movl %eax, %ebx
movl %eax, %edi
callq _putchar
cmpl $-1, %eax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_16 Depth=3
callq ___error
movl (%rax), %edi
callq _strerror
movl $1, %edi
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _err
jmp LBB0_19
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_9 Depth=1
movq (%r14), %rbx
callq ___error
movl (%rax), %edi
callq _strerror
xorl %edi, %edi
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _err
jmp LBB0_22
LBB0_24:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %r12
leaq L_.str.7(%rip), %r14
jmp LBB0_25
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
testl %r15d, %r15d
je LBB0_31
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
decl %r15d
jmp LBB0_26
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_26 Depth=2
cmpl $10, %ebx
je LBB0_30
LBB0_26: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
callq _getc
cmpl $-1, %eax
je LBB0_30
## %bb.27: ## in Loop: Header=BB0_26 Depth=2
movl %eax, %ebx
movl %eax, %edi
callq _putchar
cmpl $-1, %eax
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_26 Depth=2
callq ___error
movl (%rax), %edi
callq _strerror
movl $1, %edi
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _err
jmp LBB0_29
.cfi_endproc
## -- End function
.globl _obsolete ## -- Begin function obsolete
.p2align 4, 0x90
_obsolete: ## @obsolete
.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 8(%rdi), %rbx
testq %rbx, %rbx
je LBB1_8
## %bb.1:
movq %rdi, %r15
addq $8, %r15
leaq L_.str.8(%rip), %r14
jmp LBB1_2
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_2 Depth=1
movw $28205, (%r12) ## imm = 0x6E2D
movq %r12, %rdi
addq $2, %rdi
incq %rbx
movq %rbx, %rsi
callq _strcpy
movq %r12, (%r15)
movq 8(%r15), %rbx
addq $8, %r15
testq %rbx, %rbx
je LBB1_8
LBB1_2: ## =>This Inner Loop Header: Depth=1
cmpb $45, (%rbx)
jne LBB1_8
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movsbl 1(%rbx), %eax
cmpl $45, %eax
je LBB1_8
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
addl $-48, %eax
cmpl $9, %eax
ja LBB1_8
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
movq %rbx, %rdi
callq _strlen
leaq 2(%rax), %rdi
callq _malloc
movq %rax, %r12
testq %rax, %rax
jne LBB1_7
## %bb.6: ## in Loop: Header=BB1_2 Depth=1
callq ___error
movl (%rax), %edi
callq _strerror
movl $1, %edi
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _err
movq (%r15), %rbx
jmp LBB1_7
LBB1_8:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _err ## -- Begin function err
.p2align 4, 0x90
_err: ## @err
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $216, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movl %edi, %r14d
movq %rdx, -224(%rbp)
movq %rcx, -216(%rbp)
movq %r8, -208(%rbp)
movq %r9, -200(%rbp)
testb %al, %al
je LBB2_6
## %bb.5:
movaps %xmm0, -192(%rbp)
movaps %xmm1, -176(%rbp)
movaps %xmm2, -160(%rbp)
movaps %xmm3, -144(%rbp)
movaps %xmm4, -128(%rbp)
movaps %xmm5, -112(%rbp)
movaps %xmm6, -96(%rbp)
movaps %xmm7, -80(%rbp)
LBB2_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq -240(%rbp), %rax
movq %rax, -48(%rbp)
leaq 16(%rbp), %rax
movq %rax, -56(%rbp)
movabsq $206158430224, %rax ## imm = 0x3000000010
movq %rax, -64(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str.10(%rip), %rdi
movl $6, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rdi
leaq -64(%rbp), %rdx
movq %r15, %rsi
callq _vfprintf
movq (%rbx), %rsi
movl $10, %edi
callq _fputc
testl %r14d, %r14d
jne LBB2_3
## %bb.1:
movq _eval@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB2_4
## %bb.2:
addq $216, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_3:
movl $1, %edi
callq _exit
LBB2_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.9(%rip), %rdi
movl $34, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _head ## -- Begin function head
.p2align 4, 0x90
_head: ## @head
.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
testl %esi, %esi
je LBB4_8
## %bb.1:
movl %esi, %r14d
movq %rdi, %r12
leaq L_.str.7(%rip), %r15
jmp LBB4_2
.p2align 4, 0x90
LBB4_7: ## in Loop: Header=BB4_2 Depth=1
testl %r14d, %r14d
je LBB4_8
LBB4_2: ## =>This Loop Header: Depth=1
## Child Loop BB4_3 Depth 2
decl %r14d
jmp LBB4_3
.p2align 4, 0x90
LBB4_6: ## in Loop: Header=BB4_3 Depth=2
cmpl $10, %ebx
je LBB4_7
LBB4_3: ## Parent Loop BB4_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
callq _getc
cmpl $-1, %eax
je LBB4_7
## %bb.4: ## in Loop: Header=BB4_3 Depth=2
movl %eax, %ebx
movl %eax, %edi
callq _putchar
cmpl $-1, %eax
jne LBB4_6
## %bb.5: ## in Loop: Header=BB4_3 Depth=2
callq ___error
movl (%rax), %edi
callq _strerror
movl $1, %edi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _err
jmp LBB4_6
LBB4_8:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n:"
L_.str.1: ## @.str.1
.asciz "illegal line count -- %s"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "%s: %s"
L_.str.4: ## @.str.4
.asciz "%s==> %s <==\n"
L_.str.5: ## @.str.5
.space 1
L_.str.6: ## @.str.6
.asciz "\n"
.comm _eval,4,2 ## @eval
L_.str.7: ## @.str.7
.asciz "stdout: %s"
L_.str.8: ## @.str.8
.asciz "%s"
L_.str.9: ## @.str.9
.asciz "usage: head [-n lines] [file ...]\n"
L_.str.10: ## @.str.10
.asciz "head: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x1
mov x20, x0
mov x0, x1
bl _obsolete
mov w19, #10
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
Lloh2:
adrp x24, _optarg@GOTPAGE
Lloh3:
ldr x24, [x24, _optarg@GOTPAGEOFF]
Lloh4:
adrp x23, l_.str.1@PAGE
Lloh5:
add x23, x23, l_.str.1@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x21
mov x2, x22
bl _getopt
cmp w0, #110
b.ne LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [x24]
add x1, sp, #24
mov w2, #10
bl _strtol
mov x19, x0
ldr x8, [sp, #24]
ldrb w8, [x8]
cmp w8, #0
ccmp w19, #0, #4, eq
b.gt LBB0_1
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x24]
str x8, [sp]
mov w0, #1
mov x1, x23
bl _err
b LBB0_1
LBB0_4:
cmn w0, #1
b.ne LBB0_8
; %bb.5:
Lloh6:
adrp x8, _optind@GOTPAGE
Lloh7:
ldr x8, [x8, _optind@GOTPAGEOFF]
Lloh8:
ldrsw x8, [x8]
add x26, x21, x8, lsl #3
ldr x0, [x26]
cbnz x0, LBB0_9
; %bb.6:
cbnz w19, LBB0_24
LBB0_7:
Lloh9:
adrp x8, _eval@GOTPAGE
Lloh10:
ldr x8, [x8, _eval@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _exit
LBB0_8:
Lloh12:
adrp x8, ___stderrp@GOTPAGE
Lloh13:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh14:
ldr x3, [x8]
Lloh15:
adrp x0, l_.str.9@PAGE
Lloh16:
add x0, x0, l_.str.9@PAGEOFF
mov w1, #34
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
LBB0_9:
sub w27, w20, w8
mov w28, #1
Lloh17:
adrp x20, l_.str.2@PAGE
Lloh18:
add x20, x20, l_.str.2@PAGEOFF
Lloh19:
adrp x21, l_.str.3@PAGE
Lloh20:
add x21, x21, l_.str.3@PAGEOFF
Lloh21:
adrp x23, l_.str.7@PAGE
Lloh22:
add x23, x23, l_.str.7@PAGEOFF
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
mov x0, x24
bl _fclose
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
ldr x0, [x26, #8]!
cbz x0, LBB0_7
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
; Child Loop BB0_20 Depth 3
mov x1, x20
bl _fopen
cbz x0, LBB0_23
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
mov x24, x0
cmp w27, #2
b.lt LBB0_15
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
cmp w28, #0
Lloh23:
adrp x8, l_.str.5@PAGE
Lloh24:
add x8, x8, l_.str.5@PAGEOFF
Lloh25:
adrp x9, l_.str.6@PAGE
Lloh26:
add x9, x9, l_.str.6@PAGEOFF
csel x8, x9, x8, eq
ldr x9, [x26]
stp x8, x9, [sp]
Lloh27:
adrp x0, l_.str.4@PAGE
Lloh28:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w28, #0
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
cbz w19, LBB0_10
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
mov x22, x19
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=2
cbz w22, LBB0_10
LBB0_18: ; Parent Loop BB0_12 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_20 Depth 3
sub w22, w22, #1
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=3
cmp w25, #10
b.eq LBB0_17
LBB0_20: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_18 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x24
bl _getc
cmn w0, #1
b.eq LBB0_17
; %bb.21: ; in Loop: Header=BB0_20 Depth=3
mov x25, x0
bl _putchar
cmn w0, #1
b.ne LBB0_19
; %bb.22: ; in Loop: Header=BB0_20 Depth=3
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
mov w0, #1
mov x1, x23
bl _err
b LBB0_19
LBB0_23: ; in Loop: Header=BB0_12 Depth=1
ldr x22, [x26]
bl ___error
ldr w0, [x0]
bl _strerror
stp x22, x0, [sp]
mov w0, #0
mov x1, x21
bl _err
b LBB0_11
LBB0_24:
Lloh29:
adrp x8, ___stdinp@GOTPAGE
Lloh30:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh31:
ldr x20, [x8]
Lloh32:
adrp x21, l_.str.7@PAGE
Lloh33:
add x21, x21, l_.str.7@PAGEOFF
b LBB0_26
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
cbz w19, LBB0_7
LBB0_26: ; =>This Loop Header: Depth=1
; Child Loop BB0_28 Depth 2
sub w19, w19, #1
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=2
cmp w22, #10
b.eq LBB0_25
LBB0_28: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
bl _getc
cmn w0, #1
b.eq LBB0_25
; %bb.29: ; in Loop: Header=BB0_28 Depth=2
mov x22, x0
bl _putchar
cmn w0, #1
b.ne LBB0_27
; %bb.30: ; in Loop: Header=BB0_28 Depth=2
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
mov w0, #1
mov x1, x21
bl _err
b LBB0_27
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _obsolete ; -- Begin function obsolete
.p2align 2
_obsolete: ; @obsolete
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x21, [x19, #8]!
cbz x21, LBB1_7
; %bb.1:
Lloh34:
adrp x20, l_.str.8@PAGE
Lloh35:
add x20, x20, l_.str.8@PAGEOFF
mov w23, #28205
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
strh w23, [x22]
add x0, x22, #2
add x1, x21, #1
bl _strcpy
str x22, [x19]
ldr x21, [x19, #8]!
cbz x21, LBB1_7
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x21]
cmp w8, #45
b.ne LBB1_7
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
ldrsb w8, [x21, #1]
sub w9, w8, #48
cmp w8, #45
ccmp w9, #9, #2, ne
b.hi LBB1_7
; %bb.5: ; in Loop: Header=BB1_3 Depth=1
mov x0, x21
bl _strlen
add x0, x0, #2
bl _malloc
mov x22, x0
cbnz x0, LBB1_2
; %bb.6: ; in Loop: Header=BB1_3 Depth=1
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
mov w0, #1
mov x1, x20
bl _err
ldr x21, [x19]
b LBB1_2
LBB1_7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _err ; -- Begin function err
.p2align 2
_err: ; @err
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
add x8, x29, #16
str x8, [sp, #8]
Lloh36:
adrp x22, ___stderrp@GOTPAGE
Lloh37:
ldr x22, [x22, ___stderrp@GOTPAGEOFF]
ldr x3, [x22]
Lloh38:
adrp x0, l_.str.10@PAGE
Lloh39:
add x0, x0, l_.str.10@PAGEOFF
mov w21, #1
mov w1, #6
mov w2, #1
bl _fwrite
ldr x0, [x22]
ldr x2, [sp, #8]
mov x1, x19
bl _vfprintf
ldr x1, [x22]
mov w0, #10
bl _fputc
cbnz w20, LBB2_2
; %bb.1:
Lloh40:
adrp x8, _eval@GOTPAGE
Lloh41:
ldr x8, [x8, _eval@GOTPAGEOFF]
Lloh42:
str w21, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB2_2:
mov w0, #1
bl _exit
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42
.cfi_endproc
; -- End function
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.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
Lloh43:
adrp x8, ___stderrp@GOTPAGE
Lloh44:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh45:
ldr x3, [x8]
Lloh46:
adrp x0, l_.str.9@PAGE
Lloh47:
add x0, x0, l_.str.9@PAGEOFF
mov w1, #34
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.globl _head ; -- Begin function head
.p2align 2
_head: ; @head
.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
cbz w1, LBB4_8
; %bb.1:
mov x19, x1
mov x20, x0
Lloh48:
adrp x21, l_.str.7@PAGE
Lloh49:
add x21, x21, l_.str.7@PAGEOFF
b LBB4_3
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
cbz w19, LBB4_8
LBB4_3: ; =>This Loop Header: Depth=1
; Child Loop BB4_5 Depth 2
sub w19, w19, #1
b LBB4_5
LBB4_4: ; in Loop: Header=BB4_5 Depth=2
cmp w22, #10
b.eq LBB4_2
LBB4_5: ; Parent Loop BB4_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
bl _getc
cmn w0, #1
b.eq LBB4_2
; %bb.6: ; in Loop: Header=BB4_5 Depth=2
mov x22, x0
bl _putchar
cmn w0, #1
b.ne LBB4_4
; %bb.7: ; in Loop: Header=BB4_5 Depth=2
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
mov w0, #1
mov x1, x21
bl _err
b LBB4_4
LBB4_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "n:"
l_.str.1: ; @.str.1
.asciz "illegal line count -- %s"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "%s: %s"
l_.str.4: ; @.str.4
.asciz "%s==> %s <==\n"
l_.str.5: ; @.str.5
.space 1
l_.str.6: ; @.str.6
.asciz "\n"
.comm _eval,4,2 ; @eval
l_.str.7: ; @.str.7
.asciz "stdout: %s"
l_.str.8: ; @.str.8
.asciz "%s"
l_.str.9: ; @.str.9
.asciz "usage: head [-n lines] [file ...]\n"
l_.str.10: ; @.str.10
.asciz "head: "
.subsections_via_symbols
| the_stack_data/23382.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tbfc_entry_free
_tbfc_entry_free: ## @tbfc_entry_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 8(%rdi), %edi
callq _pango_font_metrics_unref
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _pango_font_description_free
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _tbfc_entry_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tbfc_entry_free
_tbfc_entry_free: ; @tbfc_entry_free
.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, #8]
bl _pango_font_metrics_unref
ldr x0, [x19]
cbz x0, LBB0_2
; %bb.1:
bl _pango_font_description_free
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
.cfi_endproc
; -- End function
.no_dead_strip _tbfc_entry_free
.subsections_via_symbols
| AnghaBench/rofi/source/widgets/extr_textbox.c_tbfc_entry_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function queue_peek_tail
_queue_peek_tail: ## @queue_peek_tail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
ud2
.cfi_endproc
## -- End function
.no_dead_strip _queue_peek_tail
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function queue_peek_tail
_queue_peek_tail: ; @queue_peek_tail
.cfi_startproc
; %bb.0:
brk #0x1
.cfi_endproc
; -- End function
.no_dead_strip _queue_peek_tail
.subsections_via_symbols
| assembly_file_91228.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tg3_tso_bug
_tg3_tso_bug: ## @tg3_tso_bug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq %rcx, %rdi
callq _skb_shinfo
movslq (%rax), %rax
leaq (%rax,%rax,2), %rbx
movq %r12, %rdi
callq _tg3_tx_avail
xorl %edi, %edi
cmpq %rbx, %rax
setle %dil
callq _unlikely
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %r15, %rdi
callq _netif_tx_stop_queue
xorl %eax, %eax
callq _smp_mb
movq %r12, %rdi
callq _tg3_tx_avail
cmpq %rbx, %rax
jle LBB0_2
## %bb.3:
movq %r15, %rdi
callq _netif_tx_wake_queue
LBB0_4:
movq _NETIF_F_TSO@GOTPCREL(%rip), %rax
movq _NETIF_F_TSO6@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
movq (%r13), %rax
notl %esi
andl (%rax), %esi
movq %r14, %rdi
callq _skb_gso_segment
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rbx, %rbx
je LBB0_7
## %bb.5:
testq %rax, %rax
jne LBB0_7
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %r15
movq $0, (%rbx)
movq (%r13), %rsi
movq %rbx, %rdi
callq _tg3_start_xmit
movq %r15, %rbx
testq %r15, %r15
jne LBB0_6
LBB0_7:
movq %r14, %rdi
callq _dev_consume_skb_any
movq _NETDEV_TX_OK@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_2:
movq _NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NETDEV_TX_BUSY,4,2 ## @NETDEV_TX_BUSY
.comm _NETIF_F_TSO,4,2 ## @NETIF_F_TSO
.comm _NETIF_F_TSO6,4,2 ## @NETIF_F_TSO6
.comm _NETDEV_TX_OK,4,2 ## @NETDEV_TX_OK
.no_dead_strip _tg3_tso_bug
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tg3_tso_bug
_tg3_tso_bug: ; @tg3_tso_bug
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x21, x2
mov x22, x1
mov x20, x0
mov x0, x3
bl _skb_shinfo
ldrsw x8, [x0]
add x23, x8, x8, lsl #1
mov x0, x22
bl _tg3_tx_avail
cmp x0, x23
cset w0, le
bl _unlikely
cbz x0, LBB0_3
; %bb.1:
mov x0, x21
bl _netif_tx_stop_queue
bl _smp_mb
mov x0, x22
bl _tg3_tx_avail
cmp x0, x23
b.le LBB0_6
; %bb.2:
mov x0, x21
bl _netif_tx_wake_queue
LBB0_3:
ldr x8, [x20]
ldr w8, [x8]
Lloh0:
adrp x9, _NETIF_F_TSO@GOTPAGE
Lloh1:
ldr x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _NETIF_F_TSO6@GOTPAGE
Lloh4:
ldr x10, [x10, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
orr w9, w10, w9
bic w1, w8, w9
mov x0, x19
bl _skb_gso_segment
mov x21, x0
bl _IS_ERR
cmp x21, #0
ccmp x0, #0, #0, ne
b.ne LBB0_5
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x22, [x21]
str xzr, [x21]
ldr x1, [x20]
mov x0, x21
bl _tg3_start_xmit
mov x21, x22
cbnz x22, LBB0_4
LBB0_5:
mov x0, x19
bl _dev_consume_skb_any
Lloh6:
adrp x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
ldr x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh8:
adrp x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh9:
ldr x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _NETDEV_TX_BUSY,4,2 ; @NETDEV_TX_BUSY
.comm _NETIF_F_TSO,4,2 ; @NETIF_F_TSO
.comm _NETIF_F_TSO6,4,2 ; @NETIF_F_TSO6
.comm _NETDEV_TX_OK,4,2 ; @NETDEV_TX_OK
.no_dead_strip _tg3_tso_bug
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/broadcom/extr_tg3.c_tg3_tso_bug.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function change_dir_prop
_change_dir_prop: ## @change_dir_prop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 16(%rdi), %rdi
cmpq %rbx, (%rdi)
je LBB0_2
## %bb.1:
movq %rcx, %rsi
callq _dump_pending_dir
movl %eax, %edi
callq _SVN_ERR
LBB0_2:
movq %r15, %rdi
callq _svn_property_kind2
movq _svn_prop_regular_kind@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.3:
testq %r14, %r14
je LBB0_5
## %bb.4:
movl 4(%rbx), %edi
movl 12(%rbx), %r12d
movq %r15, %rsi
callq _apr_pstrdup
movl %eax, %r15d
movl 4(%rbx), %esi
movq %r14, %rdi
callq _svn_string_dup
movl %r12d, %edi
movl %r15d, %esi
movq %rax, %rdx
jmp LBB0_6
LBB0_5:
movl 4(%rbx), %edi
movl 8(%rbx), %r14d
movq %r15, %rsi
callq _apr_pstrdup
leaq L_.str(%rip), %rdx
movl %r14d, %edi
movl %eax, %esi
LBB0_6:
callq _svn_hash_sets
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
LBB0_7:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _svn_prop_regular_kind,8,3 ## @svn_prop_regular_kind
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _change_dir_prop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function change_dir_prop
_change_dir_prop: ; @change_dir_prop
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
ldr x0, [x0, #16]
ldr x8, [x0]
cmp x8, x19
b.eq LBB0_2
; %bb.1:
mov x1, x3
bl _dump_pending_dir
bl _SVN_ERR
LBB0_2:
mov x0, x21
bl _svn_property_kind2
Lloh0:
adrp x8, _svn_prop_regular_kind@GOTPAGE
Lloh1:
ldr x8, [x8, _svn_prop_regular_kind@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_7
; %bb.3:
cbz x20, LBB0_5
; %bb.4:
ldr w22, [x19, #12]
ldr w0, [x19, #4]
mov x1, x21
bl _apr_pstrdup
mov x21, x0
ldr w1, [x19, #4]
mov x0, x20
bl _svn_string_dup
mov x2, x0
mov x0, x22
mov x1, x21
b LBB0_6
LBB0_5:
ldp w0, w20, [x19, #4]
mov x1, x21
bl _apr_pstrdup
mov x1, x0
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
LBB0_6:
bl _svn_hash_sets
Lloh5:
adrp x8, _TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [x19]
LBB0_7:
Lloh8:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh10:
ldr x0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _svn_prop_regular_kind,8,3 ; @svn_prop_regular_kind
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _change_dir_prop
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_dump_editor.c_change_dir_prop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tegra_wm8753_driver_remove
_tegra_wm8753_driver_remove: ## @tegra_wm8753_driver_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
callq _platform_get_drvdata
movq %rax, %rbx
movq %rax, %rdi
callq _snd_soc_card_get_drvdata
movq %rax, %r14
movq %rbx, %rdi
callq _snd_soc_unregister_card
movq %r14, %rdi
callq _tegra_asoc_utils_fini
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _tegra_wm8753_driver_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tegra_wm8753_driver_remove
_tegra_wm8753_driver_remove: ; @tegra_wm8753_driver_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _platform_get_drvdata
mov x19, x0
bl _snd_soc_card_get_drvdata
mov x20, x0
mov x0, x19
bl _snd_soc_unregister_card
mov x0, x20
bl _tegra_asoc_utils_fini
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _tegra_wm8753_driver_remove
.subsections_via_symbols
| AnghaBench/linux/sound/soc/tegra/extr_tegra_wm8753.c_tegra_wm8753_driver_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function check_loglevel
_check_loglevel: ## @check_loglevel
.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, %r14
callq _luaL_checkstring
movq %rax, %r15
movq _MSGL_MAX@GOTPCREL(%rip), %r12
movl (%r12), %eax
testl %eax, %eax
jle LBB0_6
## %bb.1:
xorl %ebx, %ebx
movq _mp_log_levels@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl (%r12), %eax
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq %eax, %rcx
cmpq %rcx, %rbx
jge LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rcx
movq (%rcx,%rbx,8), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rsi
callq _strcasecmp
testq %rax, %rax
jne LBB0_4
## %bb.7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq _luaL_error
xorl %eax, %eax
callq _abort
.cfi_endproc
## -- End function
.comm _MSGL_MAX,4,2 ## @MSGL_MAX
.comm _mp_log_levels,8,3 ## @mp_log_levels
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid log level '%s'"
.no_dead_strip _check_loglevel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function check_loglevel
_check_loglevel: ; @check_loglevel
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
bl _luaL_checkstring
mov x20, x0
Lloh0:
adrp x22, _MSGL_MAX@GOTPAGE
Lloh1:
ldr x22, [x22, _MSGL_MAX@GOTPAGEOFF]
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_7
; %bb.1:
mov x21, #0
Lloh2:
adrp x23, _mp_log_levels@GOTPAGE
Lloh3:
ldr x23, [x23, _mp_log_levels@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x22]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x21, x21, #1
cmp x21, w8, sxtw
b.ge LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x23]
ldr x0, [x9, x21, lsl #3]
cbz x0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x1, x20
bl _strcasecmp
cbnz x0, LBB0_2
; %bb.6:
mov x0, x21
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_7:
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, x20
bl _luaL_error
bl _abort
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MSGL_MAX,4,2 ; @MSGL_MAX
.comm _mp_log_levels,8,3 ; @mp_log_levels
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid log level '%s'"
.no_dead_strip _check_loglevel
.subsections_via_symbols
| AnghaBench/mpv/player/extr_lua.c_check_loglevel.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _linkedListTraversal ## -- Begin function linkedListTraversal
.p2align 4, 0x90
_linkedListTraversal: ## @linkedListTraversal
.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
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq %rdi, %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_2
LBB0_3:
popq %rbx
popq %r14
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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $16, %edi
callq _malloc
movq %rax, %r14
movl $16, %edi
callq _malloc
movq %rax, %rbx
movl $16, %edi
callq _malloc
movl $7, (%r14)
movq %rbx, 8(%r14)
movl $17, (%rbx)
movq %rax, 8(%rbx)
movl $30, (%rax)
movq $0, 8(%rax)
leaq L_.str(%rip), %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movq 8(%r14), %rbx
testq %rbx, %rbx
je LBB1_3
## %bb.1:
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB1_2
LBB1_3:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Element :- %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _linkedListTraversal ; -- Begin function linkedListTraversal
.p2align 2
_linkedListTraversal: ; @linkedListTraversal
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19]
str x8, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #8]
cbnz x19, LBB0_2
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
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w0, #16
bl _malloc
mov x19, x0
mov w0, #16
bl _malloc
mov x20, x0
mov w0, #16
bl _malloc
mov w8, #7
str w8, [x19]
str x20, [x19, #8]
mov w9, #17
str w9, [x20]
str x0, [x20, #8]
mov w9, #30
str w9, [x0]
str xzr, [x0, #8]
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x20, [x19, #8]
cbz x20, LBB1_3
; %bb.1:
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
str x8, [sp]
mov x0, x19
bl _printf
ldr x20, [x20, #8]
cbnz x20, LBB1_2
LBB1_3:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Element :- %d"
.subsections_via_symbols
| the_stack_data/706982.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function init_hwif_ns87415
_init_hwif_ns87415: ## @init_hwif_ns87415
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 56(%rdi), %edi
callq _to_pci_dev
movq %rax, %r14
leaq -20(%rbp), %rdx
movq %rax, %rdi
movl $64, %esi
callq _pci_read_config_dword
leaq -24(%rbp), %rdx
movq %r14, %rdi
movl $9, %esi
callq _pci_read_config_byte
movq 48(%rbx), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%rax), %rax
movq %rax, 8(%rbx)
jmp LBB0_3
LBB0_2:
movq _ns87415_control@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _ns87415_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rdx
leal 1(%rdx), %esi
movl %esi, (%rcx)
leaq (%rax,%rdx,4), %rcx
movq %rcx, 8(%rbx)
movl $-833, %ecx ## imm = 0xFCBF
andl -20(%rbp), %ecx
orl $768, %ecx ## imm = 0x300
movl %ecx, -20(%rbp)
movl %ecx, (%rax,%rdx,4)
movl -20(%rbp), %edx
movq %r14, %rdi
movl $64, %esi
callq _pci_write_config_dword
movq %r14, %rdi
movl $85, %esi
movl $238, %edx
callq _pci_write_config_byte
LBB0_3:
movq 16(%rbx), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.4:
movq _ATA_DMA_STATUS@GOTPCREL(%rip), %rax
addq (%rax), %rsi
movl $96, %edi
callq _outb
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ns87415_control,8,3 ## @ns87415_control
.comm _ns87415_count,4,2 ## @ns87415_count
.comm _ATA_DMA_STATUS,8,3 ## @ATA_DMA_STATUS
.comm _ATA_BUSY,4,2 ## @ATA_BUSY
.no_dead_strip _init_hwif_ns87415
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function init_hwif_ns87415
_init_hwif_ns87415: ; @init_hwif_ns87415
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #56]
bl _to_pci_dev
mov x20, x0
add x2, sp, #12
mov w1, #64 ; =0x40
bl _pci_read_config_dword
add x2, sp, #8
mov x0, x20
mov w1, #9 ; =0x9
bl _pci_read_config_byte
ldr x8, [x19, #48]
cbz x8, LBB0_4
; %bb.1:
ldr x8, [x8]
str x8, [x19, #8]
ldr x8, [x19, #16]
cbz x8, LBB0_3
LBB0_2:
Lloh0:
adrp x9, _ATA_DMA_STATUS@GOTPAGE
Lloh1:
ldr x9, [x9, _ATA_DMA_STATUS@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x1, x9, x8
mov w0, #96 ; =0x60
bl _outb
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_4:
Lloh3:
adrp x8, _ns87415_control@GOTPAGE
Lloh4:
ldr x8, [x8, _ns87415_control@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
Lloh6:
adrp x9, _ns87415_count@GOTPAGE
Lloh7:
ldr x9, [x9, _ns87415_count@GOTPAGEOFF]
ldrsw x10, [x9]
add w11, w10, #1
str w11, [x9]
add x9, x8, x10, lsl #2
str x9, [x19, #8]
ldr w9, [sp, #12]
and w9, w9, #0xffffffbf
orr w9, w9, #0x300
str w9, [sp, #12]
str w9, [x8, x10, lsl #2]
ldr w2, [sp, #12]
mov x0, x20
mov w1, #64 ; =0x40
bl _pci_write_config_dword
mov x0, x20
mov w1, #85 ; =0x55
mov w2, #238 ; =0xee
bl _pci_write_config_byte
ldr x8, [x19, #16]
cbnz x8, LBB0_2
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ns87415_control,8,3 ; @ns87415_control
.comm _ns87415_count,4,2 ; @ns87415_count
.comm _ATA_DMA_STATUS,8,3 ; @ATA_DMA_STATUS
.comm _ATA_BUSY,4,2 ; @ATA_BUSY
.no_dead_strip _init_hwif_ns87415
.subsections_via_symbols
| assembly_file_133950.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prepare_words_hashlist ## -- Begin function prepare_words_hashlist
.p2align 4, 0x90
_prepare_words_hashlist: ## @prepare_words_hashlist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edx, %ebx
movl %esi, %r12d
movq %rdi, %r13
testl %esi, %esi
je LBB0_1
## %bb.2:
testq %r13, %r13
jne LBB0_3
jmp LBB0_29
LBB0_1:
movq _Hc@GOTPCREL(%rip), %rax
movl $0, (%rax)
testq %r13, %r13
je LBB0_29
LBB0_3:
cmpb $0, (%r13)
je LBB0_29
## %bb.4:
movq _Hc@GOTPCREL(%rip), %r15
jmp LBB0_5
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_5 Depth=1
movl %r14d, %eax
addq %rax, %r13
LBB0_28: ## in Loop: Header=BB0_5 Depth=1
cmpb $0, (%r13)
je LBB0_29
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_13 Depth 2
movq %r13, %rdi
callq _get_notword
## kill: def $eax killed $eax def $rax
testl %eax, %eax
js LBB0_29
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
je LBB0_14
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
leal -1(%rax), %edx
testb $3, %al
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movl %eax, %edi
andl $3, %edi
xorl %esi, %esi
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $9, (%r13,%rsi)
sete %cl
sarl %cl, %ebx
incq %rsi
cmpl %esi, %edi
jne LBB0_9
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
subl %esi, %eax
addq %rsi, %r13
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
cmpl $3, %edx
jb LBB0_14
## %bb.12: ## in Loop: Header=BB0_5 Depth=1
decl %eax
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $9, (%r13)
sete %cl
sarl %cl, %ebx
cmpb $9, 1(%r13)
sete %cl
sarl %cl, %ebx
cmpb $9, 2(%r13)
sete %cl
sarl %cl, %ebx
cmpb $9, 3(%r13)
sete %cl
sarl %cl, %ebx
addq $4, %r13
addl $-4, %eax
cmpl $-2, %eax
jb LBB0_13
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
callq _get_word
testl %eax, %eax
js LBB0_29
## %bb.15: ## in Loop: Header=BB0_5 Depth=1
movl %eax, %r14d
movl (%r15), %eax
movq _MAX_WORD_HASHES@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_29
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
testl %r14d, %r14d
je LBB0_28
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
movq _MAX_WORD_LEN@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jge LBB0_27
## %bb.18: ## in Loop: Header=BB0_5 Depth=1
movl %ebx, %eax
andl $1, %eax
je LBB0_27
## %bb.19: ## in Loop: Header=BB0_5 Depth=1
movq _Word@GOTPCREL(%rip), %rax
movq (%rax), %rdi
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rsi
movl %r14d, %edx
callq _lc_str
movl %r14d, %esi
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rsi
movl %r14d, %edx
callq _my_lc_str
movl %eax, %esi
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
movq _Word@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _word_crc64
addl -44(%rbp), %eax ## 4-byte Folded Reload
movslq (%r15), %rcx
leal 1(%rcx), %edx
movq _HL@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movl %edx, (%r15)
movl %eax, (%rsi,%rcx,4)
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_27
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
movl (%r15), %eax
movq _MAX_WORD_HASHES@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_27
## %bb.24: ## in Loop: Header=BB0_5 Depth=1
movq _Word@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq _prepare_words_hashlist.trans_buff(%rip), %rdi
movl $250, %esi
movl %r14d, %ecx
callq _translit_str
movq _Word@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq _prepare_words_hashlist.trans_buff(%rip), %rdi
callq _strcmp
testq %rax, %rax
je LBB0_27
## %bb.25: ## in Loop: Header=BB0_5 Depth=1
leaq _prepare_words_hashlist.trans_buff(%rip), %rdi
movl $-1, %esi
callq _word_crc64
addl -44(%rbp), %eax ## 4-byte Folded Reload
movq _HL@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq (%r15), %rdx
leal 1(%rdx), %esi
movl %esi, (%r15)
movl %eax, (%rcx,%rdx,4)
movq _verbosity@GOTPCREL(%rip), %rax
cmpl $5, (%rax)
jl LBB0_27
## %bb.26: ## in Loop: Header=BB0_5 Depth=1
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _Word@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
leaq _prepare_words_hashlist.trans_buff(%rip), %rcx
callq _fprintf
jmp LBB0_27
LBB0_29:
movq _Hc@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %r12d, %r12d
jg LBB0_37
## %bb.30:
testl %eax, %eax
jle LBB0_37
## %bb.31:
decl %eax
xorl %edi, %edi
movl %eax, %esi
callq _hsort
movl (%r14), %ecx
movl $1, %eax
cmpl $2, %ecx
jl LBB0_36
## %bb.32:
movq _HL@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl (%rdx), %ebx
movl $1, %eax
movl $1, %esi
jmp LBB0_33
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_33 Depth=1
incq %rsi
movslq %ecx, %rdi
cmpq %rdi, %rsi
jge LBB0_36
LBB0_33: ## =>This Inner Loop Header: Depth=1
movl (%rdx,%rsi,4), %edi
cmpl %ebx, %edi
je LBB0_35
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movslq %eax, %rcx
incl %eax
movl %edi, (%rdx,%rcx,4)
movl (%r14), %ecx
movl %edi, %ebx
jmp LBB0_35
LBB0_36:
movl %eax, (%r14)
LBB0_37:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_prepare_words_hashlist.trans_buff,256,4 ## @prepare_words_hashlist.trans_buff
.comm _Hc,4,2 ## @Hc
.comm _MAX_WORD_HASHES,4,2 ## @MAX_WORD_HASHES
.comm _MAX_WORD_LEN,4,2 ## @MAX_WORD_LEN
.comm _Word,8,3 ## @Word
.comm _HL,8,3 ## @HL
.comm _verbosity,4,2 ## @verbosity
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "translit: '%s' -> '%s'\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _prepare_words_hashlist ; -- Begin function prepare_words_hashlist
.p2align 2
_prepare_words_hashlist: ; @prepare_words_hashlist
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x4
mov x21, x3
mov x22, x2
mov x19, x1
mov x23, x0
Lloh0:
adrp x27, _Hc@GOTPAGE
Lloh1:
ldr x27, [x27, _Hc@GOTPAGEOFF]
cbz w1, LBB0_2
; %bb.1:
cbnz x23, LBB0_3
b LBB0_23
LBB0_2:
str wzr, [x27]
cbz x23, LBB0_23
LBB0_3:
ldrb w8, [x23]
cbz w8, LBB0_23
; %bb.4:
Lloh2:
adrp x28, _MAX_WORD_HASHES@GOTPAGE
Lloh3:
ldr x28, [x28, _MAX_WORD_HASHES@GOTPAGEOFF]
Lloh4:
adrp x25, _MAX_WORD_LEN@GOTPAGE
Lloh5:
ldr x25, [x25, _MAX_WORD_LEN@GOTPAGEOFF]
Lloh6:
adrp x24, _Word@GOTPAGE
Lloh7:
ldr x24, [x24, _Word@GOTPAGEOFF]
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
add x23, x23, w26, uxtw
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
ldrb w8, [x23]
cbz w8, LBB0_23
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
mov x0, x23
bl _get_notword
tbnz w0, #31, LBB0_23
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
cbz w0, LBB0_11
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
add w8, w0, #1
LBB0_10: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x23], #1
cmp w9, #9
cset w9, eq
asr w22, w22, w9
sub w8, w8, #1
cmp w8, #1
b.hi LBB0_10
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
mov x0, x23
bl _get_word
tbnz w0, #31, LBB0_23
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x27]
ldr w9, [x28]
cmp w8, w9
b.ge LBB0_23
; %bb.13: ; in Loop: Header=BB0_7 Depth=1
mov x26, x0
cbz w0, LBB0_6
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x25]
and w9, w22, #0x1
cmp w26, w8
ccmp w9, #0, #4, lt
b.eq LBB0_5
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x24]
mov x1, x23
mov x2, x26
cbz w21, LBB0_17
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
bl _lc_str
mov x1, x26
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_7 Depth=1
bl _my_lc_str
mov x1, x0
LBB0_18: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x24]
bl _word_crc64
add w8, w0, w20
Lloh8:
adrp x9, _HL@GOTPAGE
Lloh9:
ldr x9, [x9, _HL@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
ldrsw x10, [x27]
add w11, w10, #1
str w11, [x27]
str w8, [x9, x10, lsl #2]
cbz w21, LBB0_5
; %bb.19: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x27]
ldr w9, [x28]
cmp w8, w9
b.ge LBB0_5
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
ldr x2, [x24]
str w19, [sp, #12] ; 4-byte Folded Spill
mov x19, x21
mov x21, x28
mov x28, x20
mov x20, x25
Lloh11:
adrp x25, _prepare_words_hashlist.trans_buff@PAGE
Lloh12:
add x25, x25, _prepare_words_hashlist.trans_buff@PAGEOFF
mov x0, x25
mov w1, #250
mov x3, x26
bl _translit_str
ldr x1, [x24]
mov x0, x25
mov x25, x20
mov x20, x28
mov x28, x21
mov x21, x19
ldr w19, [sp, #12] ; 4-byte Folded Reload
bl _strcmp
cbz x0, LBB0_5
; %bb.21: ; in Loop: Header=BB0_7 Depth=1
Lloh13:
adrp x0, _prepare_words_hashlist.trans_buff@PAGE
Lloh14:
add x0, x0, _prepare_words_hashlist.trans_buff@PAGEOFF
mov w1, #-1
bl _word_crc64
add w8, w0, w20
Lloh15:
adrp x9, _HL@GOTPAGE
Lloh16:
ldr x9, [x9, _HL@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
ldrsw x10, [x27]
add w11, w10, #1
str w11, [x27]
str w8, [x9, x10, lsl #2]
Lloh18:
adrp x8, _verbosity@GOTPAGE
Lloh19:
ldr x8, [x8, _verbosity@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
cmp w8, #5
b.lt LBB0_5
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
Lloh21:
adrp x8, _stderr@GOTPAGE
Lloh22:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
ldr x2, [x24]
Lloh24:
adrp x1, l_.str@PAGE
Lloh25:
add x1, x1, l_.str@PAGEOFF
Lloh26:
adrp x3, _prepare_words_hashlist.trans_buff@PAGE
Lloh27:
add x3, x3, _prepare_words_hashlist.trans_buff@PAGEOFF
bl _fprintf
b LBB0_5
LBB0_23:
ldr w0, [x27]
cmp w19, #0
b.gt LBB0_32
; %bb.24:
subs w1, w0, #1
b.lt LBB0_32
; %bb.25:
mov w0, #0
bl _hsort
ldr w9, [x27]
cmp w9, #2
b.lt LBB0_30
; %bb.26:
Lloh28:
adrp x8, _HL@GOTPAGE
Lloh29:
ldr x8, [x8, _HL@GOTPAGEOFF]
Lloh30:
ldr x8, [x8]
ldr w11, [x8]
mov w10, #1
mov w0, #1
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=1
add x10, x10, #1
cmp x10, w9, sxtw
b.ge LBB0_31
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr w12, [x8, x10, lsl #2]
cmp w12, w11
b.eq LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
str w12, [x8, w0, sxtw #2]
add w0, w0, #1
ldr w9, [x27]
mov x11, x12
b LBB0_27
LBB0_30:
mov w0, #1
LBB0_31:
str w0, [x27]
LBB0_32:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_prepare_words_hashlist.trans_buff,256,0 ; @prepare_words_hashlist.trans_buff
.comm _Hc,4,2 ; @Hc
.comm _MAX_WORD_HASHES,4,2 ; @MAX_WORD_HASHES
.comm _MAX_WORD_LEN,4,2 ; @MAX_WORD_LEN
.comm _Word,8,3 ; @Word
.comm _HL,8,3 ; @HL
.comm _verbosity,4,2 ; @verbosity
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "translit: '%s' -> '%s'\n"
.subsections_via_symbols
| AnghaBench/kphp-kdb/targ/extr_targ-data.c_prepare_words_hashlist.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_safety_mode ## -- Begin function set_safety_mode
.p2align 4, 0x90
_set_safety_mode: ## @set_safety_mode
.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 _safety_set_mode
cmpl $-1, %eax
je LBB0_11
## %bb.1:
cmpl $129, %ebx
je LBB0_4
## %bb.2:
cmpl $128, %ebx
jne LBB0_6
## %bb.3:
xorl %edi, %edi
callq _set_intercept_relay
xorl %eax, %eax
callq _board_has_obd
movq _ALL_CAN_SILENT@GOTPCREL(%rip), %rbx
testl %eax, %eax
jne LBB0_8
jmp LBB0_10
LBB0_11:
leaq L_.str(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _puts ## TAILCALL
LBB0_4:
xorl %edi, %edi
callq _set_intercept_relay
movq _heartbeat_counter@GOTPCREL(%rip), %rax
movl $0, (%rax)
xorl %eax, %eax
callq _board_has_obd
movq _ALL_CAN_LIVE@GOTPCREL(%rip), %rbx
testl %eax, %eax
je LBB0_10
## %bb.5:
movq _CAN_MODE_OBD_CAN2@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_6:
movl $1, %edi
callq _set_intercept_relay
movq _heartbeat_counter@GOTPCREL(%rip), %rax
movl $0, (%rax)
xorl %eax, %eax
callq _board_has_obd
movq _ALL_CAN_LIVE@GOTPCREL(%rip), %rbx
testl %eax, %eax
je LBB0_10
LBB0_8:
movq _CAN_MODE_NORMAL@GOTPCREL(%rip), %rax
LBB0_9:
movq _current_board@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax), %edi
callq *(%rcx)
LBB0_10:
movl (%rbx), %eax
movq _can_silent@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _can_init_all ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error: safety set mode failed\n"
.comm _current_board,8,3 ## @current_board
.comm _CAN_MODE_NORMAL,4,2 ## @CAN_MODE_NORMAL
.comm _ALL_CAN_SILENT,4,2 ## @ALL_CAN_SILENT
.comm _can_silent,4,2 ## @can_silent
.comm _heartbeat_counter,4,2 ## @heartbeat_counter
.comm _CAN_MODE_OBD_CAN2,4,2 ## @CAN_MODE_OBD_CAN2
.comm _ALL_CAN_LIVE,4,2 ## @ALL_CAN_LIVE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_safety_mode ; -- Begin function set_safety_mode
.p2align 2
_set_safety_mode: ; @set_safety_mode
.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 _safety_set_mode
cmn w0, #1
b.eq LBB0_4
; %bb.1:
cmp w19, #129
b.eq LBB0_5
; %bb.2:
cmp w19, #128
b.ne LBB0_7
; %bb.3:
mov w0, #0
bl _set_intercept_relay
bl _board_has_obd
Lloh0:
adrp x19, _ALL_CAN_SILENT@GOTPAGE
Lloh1:
ldr x19, [x19, _ALL_CAN_SILENT@GOTPAGEOFF]
cbnz w0, LBB0_8
b LBB0_10
LBB0_4:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _puts
LBB0_5:
mov w0, #0
bl _set_intercept_relay
Lloh4:
adrp x8, _heartbeat_counter@GOTPAGE
Lloh5:
ldr x8, [x8, _heartbeat_counter@GOTPAGEOFF]
Lloh6:
str wzr, [x8]
bl _board_has_obd
Lloh7:
adrp x19, _ALL_CAN_LIVE@GOTPAGE
Lloh8:
ldr x19, [x19, _ALL_CAN_LIVE@GOTPAGEOFF]
cbz w0, LBB0_10
; %bb.6:
Lloh9:
adrp x8, _CAN_MODE_OBD_CAN2@GOTPAGE
Lloh10:
ldr x8, [x8, _CAN_MODE_OBD_CAN2@GOTPAGEOFF]
b LBB0_9
LBB0_7:
mov w0, #1
bl _set_intercept_relay
Lloh11:
adrp x8, _heartbeat_counter@GOTPAGE
Lloh12:
ldr x8, [x8, _heartbeat_counter@GOTPAGEOFF]
Lloh13:
str wzr, [x8]
bl _board_has_obd
Lloh14:
adrp x19, _ALL_CAN_LIVE@GOTPAGE
Lloh15:
ldr x19, [x19, _ALL_CAN_LIVE@GOTPAGEOFF]
cbz w0, LBB0_10
LBB0_8:
Lloh16:
adrp x8, _CAN_MODE_NORMAL@GOTPAGE
Lloh17:
ldr x8, [x8, _CAN_MODE_NORMAL@GOTPAGEOFF]
LBB0_9:
Lloh18:
adrp x9, _current_board@GOTPAGE
Lloh19:
ldr x9, [x9, _current_board@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
ldr x9, [x9]
ldr w0, [x8]
blr x9
LBB0_10:
ldr w8, [x19]
Lloh21:
adrp x9, _can_silent@GOTPAGE
Lloh22:
ldr x9, [x9, _can_silent@GOTPAGEOFF]
Lloh23:
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _can_init_all
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotStr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error: safety set mode failed\n"
.comm _current_board,8,3 ; @current_board
.comm _CAN_MODE_NORMAL,4,2 ; @CAN_MODE_NORMAL
.comm _ALL_CAN_SILENT,4,2 ; @ALL_CAN_SILENT
.comm _can_silent,4,2 ; @can_silent
.comm _heartbeat_counter,4,2 ; @heartbeat_counter
.comm _CAN_MODE_OBD_CAN2,4,2 ; @CAN_MODE_OBD_CAN2
.comm _ALL_CAN_LIVE,4,2 ; @ALL_CAN_LIVE
.subsections_via_symbols
| AnghaBench/openpilot/panda/board/extr_main.c_set_safety_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SdbpGetLongPathName ## -- Begin function SdbpGetLongPathName
.p2align 4, 0x90
_SdbpGetLongPathName: ## @SdbpGetLongPathName
.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
movl %edi, %r15d
movl (%rsi), %eax
movl 8(%rsi), %esi
movl %eax, %ebx
shrl $31, %ebx
addl %eax, %ebx
sarl %ebx
movl %ebx, %edx
callq _GetLongPathNameW
testl %eax, %eax
je LBB0_6
## %bb.1:
cmpl %ebx, %eax
jl LBB0_3
## %bb.2:
movq %r14, %rdi
movl %eax, %esi
callq _SdbpResizeTempStr
movl (%r14), %eax
movl 8(%r14), %esi
movl %eax, %ebx
shrl $31, %ebx
addl %eax, %ebx
sarl %ebx
movl %r15d, %edi
movl %ebx, %edx
callq _GetLongPathNameW
LBB0_3:
testl %eax, %eax
je LBB0_6
## %bb.4:
cmpl %ebx, %eax
jge LBB0_6
## %bb.5:
addl %eax, %eax
movl %eax, 4(%r14)
movq _TRUE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
xorl %eax, %eax
callq _GetLastError
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _SHIM_ERR
movq _FALSE@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to convert short path to long path error 0x%lx\n"
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SdbpGetLongPathName ; -- Begin function SdbpGetLongPathName
.p2align 2
_SdbpGetLongPathName: ; @SdbpGetLongPathName
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
ldr w8, [x1]
cmp w8, #0
cinc w8, w8, lt
asr w20, w8, #1
ldr w1, [x1, #8]
mov x2, x20
bl _GetLongPathNameW
cbz w0, LBB0_4
; %bb.1:
mov x1, x0
cmp w0, w20
b.lt LBB0_3
; %bb.2:
mov x0, x19
bl _SdbpResizeTempStr
ldr w8, [x19]
cmp w8, #0
cinc w8, w8, lt
asr w20, w8, #1
ldr w1, [x19, #8]
mov x0, x21
mov x2, x20
bl _GetLongPathNameW
mov x1, x0
LBB0_3:
cmp w1, #0
ccmp w1, w20, #0, ne
b.lt LBB0_5
LBB0_4:
bl _GetLastError
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _SHIM_ERR
Lloh2:
adrp x8, _FALSE@GOTPAGE
Lloh3:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_6
LBB0_5:
lsl w8, w1, #1
str w8, [x19, #4]
Lloh4:
adrp x8, _TRUE@GOTPAGE
Lloh5:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to convert short path to long path error 0x%lx\n"
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/reactos/dll/appcompat/apphelp/extr_layer.c_SdbpGetLongPathName.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_support_sw_smu ## -- Begin function is_support_sw_smu
.p2align 4, 0x90
_is_support_sw_smu: ## @is_support_sw_smu
.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 _amdgpu_dpm@GOTPCREL(%rip), %rcx
xorl %edx, %edx
cmpl $2, (%rcx)
sete %dl
movq _CHIP_ARCTURUS@GOTPCREL(%rip), %rcx
xorl %esi, %esi
cmpq (%rcx), %rax
movq _CHIP_VEGA20@GOTPCREL(%rip), %rcx
setge %sil
cmpq (%rcx), %rax
cmovnel %esi, %edx
movzbl %dl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CHIP_VEGA20,8,3 ## @CHIP_VEGA20
.comm _amdgpu_dpm,4,2 ## @amdgpu_dpm
.comm _CHIP_ARCTURUS,8,3 ## @CHIP_ARCTURUS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_support_sw_smu ; -- Begin function is_support_sw_smu
.p2align 2
_is_support_sw_smu: ; @is_support_sw_smu
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _CHIP_VEGA20@GOTPAGE
Lloh1:
ldr x9, [x9, _CHIP_VEGA20@GOTPAGEOFF]
Lloh2:
adrp x10, _amdgpu_dpm@GOTPAGE
Lloh3:
ldr x10, [x10, _amdgpu_dpm@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
Lloh5:
ldr w10, [x10]
cmp w10, #2
cset w10, eq
Lloh6:
adrp x11, _CHIP_ARCTURUS@GOTPAGE
Lloh7:
ldr x11, [x11, _CHIP_ARCTURUS@GOTPAGEOFF]
Lloh8:
ldr x11, [x11]
cmp x8, x11
cset w11, ge
cmp x8, x9
csel w0, w10, w11, eq
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _CHIP_VEGA20,8,3 ; @CHIP_VEGA20
.comm _amdgpu_dpm,4,2 ; @amdgpu_dpm
.comm _CHIP_ARCTURUS,8,3 ; @CHIP_ARCTURUS
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_amdgpu_smu.c_is_support_sw_smu.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bcm63xx_pcmcia_sock_init
_bcm63xx_pcmcia_sock_init: ## @bcm63xx_pcmcia_sock_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bcm63xx_pcmcia_sock_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bcm63xx_pcmcia_sock_init
_bcm63xx_pcmcia_sock_init: ; @bcm63xx_pcmcia_sock_init
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _bcm63xx_pcmcia_sock_init
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_bcm63xx_pcmcia.c_bcm63xx_pcmcia_sock_init.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.