x86 stringlengths 122 134M | arm stringlengths 122 134M | file stringlengths 18 200 | source stringclasses 2 values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
pcmpeqd %xmm0, %xmm0
movdqa %xmm0, -80(%rbp)
movdqa %xmm0, -96(%rbp)
movq $-1, -64(%rbp)
leaq L_str(%rip), %r14
leaq L_.str.1(%rip), %rbx
leaq -100(%rbp), %r15
leaq L_str.8(%rip), %r12
leaq L_str.6(%rip), %r13
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
callq _getchar
movl -100(%rbp), %eax
cmpq $10, %rax
jb LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
jmp LBB0_6
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, -96(%rbp,%rax,4)
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %rdi
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
callq _puts
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movdqu -72(%rbp), %xmm0
movdqu -88(%rbp), %xmm1
pcmpeqd %xmm2, %xmm2
pcmpeqd %xmm2, %xmm0
pcmpeqd %xmm2, %xmm1
packssdw %xmm0, %xmm1
pmovmskb %xmm1, %eax
testl %eax, %eax
jne LBB0_1
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, -92(%rbp)
je LBB0_1
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, -96(%rbp)
je LBB0_1
jmp LBB0_10
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.7(%rip), %rdi
callq _puts
movslq -100(%rbp), %rax
leaq -96(,%rax,4), %rsi
addq %rbp, %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
callq _getchar
jmp LBB0_7
LBB0_10:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%i"
L_.str.5: ## @.str.5
.asciz "Todos os vetores foram preenchidos"
L_str: ## @str
.asciz "Em qual posicao voce deseja inserir um elemento (0 - 9)?"
L_str.6: ## @str.6
.asciz "Essa posicao nao esta mais disponi'vel"
L_str.7: ## @str.7
.asciz "Por favor digite o valor ao qual voce deseja preencher"
L_str.8: ## @str.8
.asciz "Posicao inva'lida"
.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, #144
.cfi_def_cfa_offset 144
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
mov x8, #-1
Lloh0:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
str x9, [sp, #56]
Lloh3:
adrp x19, l_str@PAGE
Lloh4:
add x19, x19, l_str@PAGEOFF
Lloh5:
adrp x20, l_.str.1@PAGE
Lloh6:
add x20, x20, l_.str.1@PAGEOFF
str x8, [sp, #48]
movi.2d v0, #0xffffffffffffffff
stp q0, q0, [sp, #16]
Lloh7:
adrp x21, l_str.8@PAGE
Lloh8:
add x21, x21, l_str.8@PAGEOFF
add x24, sp, #12
add x25, sp, #16
Lloh9:
adrp x22, l_str.7@PAGE
Lloh10:
add x22, x22, l_str.7@PAGEOFF
Lloh11:
adrp x23, l_str.6@PAGE
Lloh12:
add x23, x23, l_str.6@PAGEOFF
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
bl _puts
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldur q0, [sp, #40]
ldur q1, [sp, #24]
movi.2d v2, #0xffffffffffffffff
cmeq.4s v0, v0, v2
cmeq.4s v1, v1, v2
uzp1.8h v0, v1, v0
xtn.8b v0, v0
umov.b w8, v0[1]
and w8, w8, #0x1
umov.b w9, v0[0]
and w9, w9, #0x1
bfi w9, w8, #1, #1
umov.b w8, v0[2]
and w8, w8, #0x1
umov.b w10, v0[3]
bfi w9, w8, #2, #1
and w8, w10, #0x1
bfi w9, w8, #3, #1
umov.b w8, v0[4]
and w8, w8, #0x1
bfi w9, w8, #4, #1
umov.b w8, v0[5]
and w8, w8, #0x1
umov.b w10, v0[6]
bfi w9, w8, #5, #1
and w8, w10, #0x1
orr w8, w9, w8, lsl #6
umov.b w9, v0[7]
ldp w10, w11, [sp, #16]
orr w8, w8, w9, lsl #7
and w8, w8, #0xff
cmp w8, #0
ccmn w11, #1, #4, eq
ccmn w10, #1, #4, ne
b.ne LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
str x24, [sp]
mov x0, x20
bl _scanf
bl _getchar
ldr w8, [sp, #12]
cmp w8, #10
b.hs LBB0_1
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25, x8, lsl #2]
cmn w8, #1
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x23
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x22
bl _puts
ldrsw x8, [sp, #12]
add x8, x25, x8, lsl #2
str x8, [sp]
mov x0, x20
bl _scanf
bl _getchar
b LBB0_3
LBB0_8:
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x8, [sp, #56]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.9:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%i"
l_.str.5: ; @.str.5
.asciz "Todos os vetores foram preenchidos"
l_str: ; @str
.asciz "Em qual posicao voce deseja inserir um elemento (0 - 9)?"
l_str.6: ; @str.6
.asciz "Essa posicao nao esta mais disponi'vel"
l_str.7: ; @str.7
.asciz "Por favor digite o valor ao qual voce deseja preencher"
l_str.8: ; @str.8
.asciz "Posicao inva'lida"
.subsections_via_symbols
| the_stack_data/93130.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function msm_init_clock
_msm_init_clock: ## @msm_init_clock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _UART_TO_MSM
movq %rax, %rbx
movl 4(%rax), %edi
callq _clk_prepare_enable
movl (%rbx), %edi
callq _clk_prepare_enable
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _msm_serial_set_mnd_regs ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _msm_init_clock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function msm_init_clock
_msm_init_clock: ; @msm_init_clock
.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 _UART_TO_MSM
mov x20, x0
ldr w0, [x0, #4]
bl _clk_prepare_enable
ldr w0, [x20]
bl _clk_prepare_enable
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _msm_serial_set_mnd_regs
.cfi_endproc
; -- End function
.no_dead_strip _msm_init_clock
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/serial/extr_msm_serial.c_msm_init_clock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function intel_pmu_ack_status
_intel_pmu_ack_status: ## @intel_pmu_ack_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %esi
movq _MSR_CORE_PERF_GLOBAL_OVF_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _wrmsrl ## TAILCALL
.cfi_endproc
## -- End function
.comm _MSR_CORE_PERF_GLOBAL_OVF_CTRL,4,2 ## @MSR_CORE_PERF_GLOBAL_OVF_CTRL
.no_dead_strip _intel_pmu_ack_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function intel_pmu_ack_status
_intel_pmu_ack_status: ; @intel_pmu_ack_status
.cfi_startproc
; %bb.0:
mov x1, x0
Lloh0:
adrp x8, _MSR_CORE_PERF_GLOBAL_OVF_CTRL@GOTPAGE
Lloh1:
ldr x8, [x8, _MSR_CORE_PERF_GLOBAL_OVF_CTRL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _wrmsrl
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSR_CORE_PERF_GLOBAL_OVF_CTRL,4,2 ; @MSR_CORE_PERF_GLOBAL_OVF_CTRL
.no_dead_strip _intel_pmu_ack_status
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel.c_intel_pmu_ack_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ilcs_thread_current ## -- Begin function ilcs_thread_current
.p2align 4, 0x90
_ilcs_thread_current: ## @ilcs_thread_current
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _vcos_thread_current
xorl %ecx, %ecx
cmpq %rbx, %rax
sete %cl
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ilcs_thread_current ; -- Begin function ilcs_thread_current
.p2align 2
_ilcs_thread_current: ; @ilcs_thread_current
.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 _vcos_thread_current
cmp x0, x19
cset w0, eq
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/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vcilcs.c_ilcs_thread_current.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AcpiDsResolveOperands ## -- Begin function AcpiDsResolveOperands
.p2align 4, 0x90
_AcpiDsResolveOperands: ## @AcpiDsResolveOperands
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _AE_OK@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _DsResolveOperands@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _ACPI_FUNCTION_TRACE_PTR
cmpq $0, (%r14)
je LBB0_4
## %bb.1:
xorl %r12d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rdi
addq %r12, %rdi
movq %r14, %rsi
callq _AcpiExResolveToValue
movl %eax, %r15d
movl %eax, %edi
callq _ACPI_FAILURE
testq %rax, %rax
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
addq $4, %r12
cmpq (%r14), %rbx
jb LBB0_3
LBB0_4:
movl %r15d, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _return_ACPI_STATUS ## TAILCALL
.cfi_endproc
## -- End function
.comm _AE_OK,4,2 ## @AE_OK
.comm _DsResolveOperands,4,2 ## @DsResolveOperands
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AcpiDsResolveOperands ; -- Begin function AcpiDsResolveOperands
.p2align 2
_AcpiDsResolveOperands: ; @AcpiDsResolveOperands
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _AE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _DsResolveOperands@GOTPAGE
Lloh4:
ldr x8, [x8, _DsResolveOperands@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
mov x1, x19
bl _ACPI_FUNCTION_TRACE_PTR
ldr x8, [x19]
cbz x8, LBB0_4
; %bb.1:
mov x21, #0
mov x22, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x0, x8, x21
mov x1, x19
bl _AcpiExResolveToValue
mov x20, x0
bl _ACPI_FAILURE
cbnz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
ldr x8, [x19]
add x21, x21, #4
cmp x22, x8
b.lo LBB0_2
LBB0_4:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _return_ACPI_STATUS
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AE_OK,4,2 ; @AE_OK
.comm _DsResolveOperands,4,2 ; @DsResolveOperands
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/dev/acpica/components/dispatcher/extr_dsutils.c_AcpiDsResolveOperands.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dir_version_from_repo_version ## -- Begin function dir_version_from_repo_version
.p2align 4, 0x90
_dir_version_from_repo_version: ## @dir_version_from_repo_version
.cfi_startproc
## %bb.0:
movl %edi, %eax
testl %edi, %edi
je LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CURRENT_DIR_OBJ_VERSION@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.comm _CURRENT_DIR_OBJ_VERSION,4,2 ## @CURRENT_DIR_OBJ_VERSION
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dir_version_from_repo_version ; -- Begin function dir_version_from_repo_version
.p2align 2
_dir_version_from_repo_version: ; @dir_version_from_repo_version
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CURRENT_DIR_OBJ_VERSION@GOTPAGE
Lloh1:
ldr x8, [x8, _CURRENT_DIR_OBJ_VERSION@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, #0
csel w0, wzr, w8, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CURRENT_DIR_OBJ_VERSION,4,2 ; @CURRENT_DIR_OBJ_VERSION
.subsections_via_symbols
| AnghaBench/seafile/common/extr_fs-mgr.c_dir_version_from_repo_version.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ext2_extattr_delete_value
_ext2_extattr_delete_value: ## @ext2_extattr_delete_value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
subl %r12d, %r13d
movq %rsi, %rdi
callq _EXT2_IS_LAST_ENTRY
testl %eax, %eax
jne LBB0_3
## %bb.1:
movq %r15, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %eax
testl %eax, %eax
movl %r13d, %ecx
cmovgl %eax, %ecx
cmpl %eax, %r13d
cmovgl %ecx, %r13d
movq %rbx, %rdi
callq _EXT2_EXTATTR_NEXT
movq %rax, %rbx
movq %rax, %rdi
callq _EXT2_IS_LAST_ENTRY
testl %eax, %eax
je LBB0_2
LBB0_3:
movq 8(%r14), %rdi
testq %rdi, %rdi
je LBB0_11
## %bb.4:
movslq %r13d, %rbx
addq %rbx, %r12
callq _EXT2_EXTATTR_SIZE
movslq %eax, %rdi
addq %r12, %rdi
movl (%r14), %edx
subl %ebx, %edx
movq %r12, %rsi
callq _memmove
movq %r15, %rdi
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq %r15, %rdi
callq _EXT2_EXTATTR_NEXT
movq %rax, %r15
movq %rax, %rdi
LBB0_5: ## =>This Inner Loop Header: Depth=1
callq _EXT2_IS_LAST_ENTRY
testl %eax, %eax
jne LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl (%r15), %eax
testl %eax, %eax
jle LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpl (%r14), %eax
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r14), %rdi
callq _EXT2_EXTATTR_SIZE
addl %eax, (%r15)
jmp LBB0_9
LBB0_10:
movq 8(%r14), %rdi
callq _EXT2_EXTATTR_SIZE
addl %eax, %r13d
LBB0_11:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ext2_extattr_delete_value
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ext2_extattr_delete_value
_ext2_extattr_delete_value: ; @ext2_extattr_delete_value
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x22, x0
sub w19, w3, w22
mov x0, x1
bl _EXT2_IS_LAST_ENTRY
cbnz w0, LBB0_3
; %bb.1:
mov x23, x21
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
cmp w8, #0
ccmp w19, w8, #4, gt
csel w19, w8, w19, gt
mov x0, x23
bl _EXT2_EXTATTR_NEXT
mov x23, x0
bl _EXT2_IS_LAST_ENTRY
cbz w0, LBB0_2
LBB0_3:
ldr x0, [x20, #8]
cbz x0, LBB0_11
; %bb.4:
add x22, x22, w19, sxtw
bl _EXT2_EXTATTR_SIZE
add x0, x22, w0, sxtw
ldr w8, [x20]
sub w2, w8, w19
mov x1, x22
bl _memmove
mov x0, x21
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _EXT2_EXTATTR_NEXT
mov x21, x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
bl _EXT2_IS_LAST_ENTRY
cbnz w0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr w9, [x20]
cmp w8, w9
b.ge LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x20, #8]
bl _EXT2_EXTATTR_SIZE
ldr w8, [x21]
add w8, w8, w0
str w8, [x21]
b LBB0_5
LBB0_10:
ldr x0, [x20, #8]
bl _EXT2_EXTATTR_SIZE
add w19, w0, w19
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _ext2_extattr_delete_value
.subsections_via_symbols
| AnghaBench/freebsd/sys/fs/ext2fs/extr_ext2_extattr.c_ext2_extattr_delete_value.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hal_btcoex_IsBTCoexCtrlAMPDUSize ## -- Begin function hal_btcoex_IsBTCoexCtrlAMPDUSize
.p2align 4, 0x90
_hal_btcoex_IsBTCoexCtrlAMPDUSize: ## @hal_btcoex_IsBTCoexCtrlAMPDUSize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _GLBtCoexist@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GLBtCoexist,4,2 ## @GLBtCoexist
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hal_btcoex_IsBTCoexCtrlAMPDUSize ; -- Begin function hal_btcoex_IsBTCoexCtrlAMPDUSize
.p2align 2
_hal_btcoex_IsBTCoexCtrlAMPDUSize: ; @hal_btcoex_IsBTCoexCtrlAMPDUSize
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _GLBtCoexist@GOTPAGE
Lloh1:
ldr x8, [x8, _GLBtCoexist@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GLBtCoexist,4,2 ; @GLBtCoexist
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_hal_btcoex_IsBTCoexCtrlAMPDUSize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _fork
movl %eax, %ebx
callq _getpid
movl %eax, %r15d
testl %ebx, %ebx
jne LBB0_1
## %bb.2:
leaq L_.str.3(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %r14
movq %r14, %rdi
movl %r15d, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $3, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $4, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $5, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $6, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $7, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $8, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $9, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
movl $10, %edx
jmp LBB0_3
LBB0_1:
leaq L_.str(%rip), %rdi
movl %r15d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
leaq -28(%rbp), %rdi
callq _wait
movl -28(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movl %r15d, %esi
LBB0_3:
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pid: %d -- I just forked a child with id %d\n"
L_.str.1: ## @.str.1
.asciz "pid: %d -- I am waiting for process %d to finish\n"
L_.str.2: ## @.str.2
.asciz "pid: %d -- my child has completed with status: %d\n"
L_.str.3: ## @.str.3
.asciz "pid: %d -- I am the child and I am going to count to 10\n"
L_.str.4: ## @.str.4
.asciz "pid: %d -- %d\n"
L_.str.5: ## @.str.5
.asciz "pid: %d -- I am exiting\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _fork
mov x20, x0
bl _getpid
mov x19, x0
cbnz w20, LBB0_2
; %bb.1:
mov x21, x19
str x21, [sp]
Lloh0:
adrp x0, l_.str.3@PAGE
Lloh1:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
stp x21, x8, [sp]
Lloh2:
adrp x20, l_.str.4@PAGE
Lloh3:
add x20, x20, l_.str.4@PAGEOFF
mov x0, x20
bl _printf
mov w8, #2
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #3
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #4
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #5
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #6
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #7
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #8
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #9
stp x21, x8, [sp]
mov x0, x20
bl _printf
mov w8, #10
stp x21, x8, [sp]
mov x0, x20
b LBB0_3
LBB0_2:
stp x19, x20, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
stp x19, x20, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x0, sp, #28
bl _wait
ldr w8, [sp, #28]
stp x19, x8, [sp]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
LBB0_3:
bl _printf
; kill: def $w19 killed $w19 killed $x19 def $x19
str x19, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pid: %d -- I just forked a child with id %d\n"
l_.str.1: ; @.str.1
.asciz "pid: %d -- I am waiting for process %d to finish\n"
l_.str.2: ; @.str.2
.asciz "pid: %d -- my child has completed with status: %d\n"
l_.str.3: ; @.str.3
.asciz "pid: %d -- I am the child and I am going to count to 10\n"
l_.str.4: ; @.str.4
.asciz "pid: %d -- %d\n"
l_.str.5: ; @.str.5
.asciz "pid: %d -- I am exiting\n"
.subsections_via_symbols
| the_stack_data/193894385.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HPDF_NameDict_GetNameTree ## -- Begin function HPDF_NameDict_GetNameTree
.p2align 4, 0x90
_HPDF_NameDict_GetNameTree: ## @HPDF_NameDict_GetNameTree
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _HPDF_NAMEDICT_KEYS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax,%rsi,4), %esi
movq _HPDF_OCLASS_DICT@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _HPDF_Dict_GetItem ## TAILCALL
LBB0_1:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.comm _HPDF_NAMEDICT_KEYS,8,3 ## @HPDF_NAMEDICT_KEYS
.comm _HPDF_OCLASS_DICT,4,2 ## @HPDF_OCLASS_DICT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HPDF_NameDict_GetNameTree ; -- Begin function HPDF_NameDict_GetNameTree
.p2align 2
_HPDF_NameDict_GetNameTree: ; @HPDF_NameDict_GetNameTree
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _HPDF_NAMEDICT_KEYS@GOTPAGE
Lloh1:
ldr x8, [x8, _HPDF_NAMEDICT_KEYS@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w1, [x8, x1, lsl #2]
Lloh3:
adrp x8, _HPDF_OCLASS_DICT@GOTPAGE
Lloh4:
ldr x8, [x8, _HPDF_OCLASS_DICT@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
b _HPDF_Dict_GetItem
LBB0_2:
mov x0, #0
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HPDF_NAMEDICT_KEYS,8,3 ; @HPDF_NAMEDICT_KEYS
.comm _HPDF_OCLASS_DICT,4,2 ; @HPDF_OCLASS_DICT
.subsections_via_symbols
| AnghaBench/poco/PDF/src/extr_hpdf_namedict.c_HPDF_NameDict_GetNameTree.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function azx_pcm_mmap
_azx_pcm_mmap: ## @azx_pcm_mmap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _snd_pcm_substream_chip
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %r14, %rsi
callq *%rax
LBB0_2:
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _snd_pcm_lib_default_mmap ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _azx_pcm_mmap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function azx_pcm_mmap
_azx_pcm_mmap: ; @azx_pcm_mmap
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _snd_pcm_substream_chip
ldr x8, [x0]
ldr x8, [x8]
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
blr x8
LBB0_2:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _snd_pcm_lib_default_mmap
.cfi_endproc
; -- End function
.no_dead_strip _azx_pcm_mmap
.subsections_via_symbols
| AnghaBench/linux/sound/pci/hda/extr_hda_controller.c_azx_pcm_mmap.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 $2024, %rsp ## imm = 0x7E8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -2064(%rbp), %rbx
movl $1, %r15d
xorl %r12d, %r12d
leaq -1056(%rbp), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $-1, %eax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
cmpl $10, %eax
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=2
movb %al, -1056(%rbp,%r13)
incq %r13
cmpl $999, %r13d ## imm = 0x3E7
jne LBB0_2
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
leaq -1056(,%r13), %rcx
addq %rbp, %rcx
movl $999, %r13d ## imm = 0x3E7
cmpl $10, %eax
je LBB0_9
jmp LBB0_10
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movb $0, -1056(%rbp,%r13)
testl %r13d, %r13d
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
cmpq $5000, %r12 ## imm = 0x1388
jne LBB0_12
jmp LBB0_16
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq -1056(,%r13), %rcx
addq %rbp, %rcx
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movb $10, (%rcx)
incq %rcx
incl %r13d
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movb $0, (%rcx)
cmpq $5000, %r12 ## imm = 0x1388
je LBB0_16
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
leal -1(%r13), %eax
movb $0, -1056(%rbp,%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq _strcpy
movq _lineptr@GOTPCREL(%rip), %rax
movq %rbx, (%rax,%r12,8)
incq %r12
movslq %r13d, %rax
addq %rax, %rbx
incl %r15d
jmp LBB0_1
LBB0_13:
testl %r12d, %r12d
js LBB0_16
## %bb.14:
leal -1(%r12), %edx
movq _lineptr@GOTPCREL(%rip), %rbx
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %esi, %esi
callq _qsort
cmpl $1, %r12d
jb LBB0_17
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
addq $8, %rbx
callq _puts
decl %r15d
cmpl $1, %r15d
ja LBB0_15
jmp LBB0_17
LBB0_16:
leaq L_str(%rip), %rdi
callq _puts
movl $1, %r14d
LBB0_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_19
## %bb.18:
movl %r14d, %eax
addq $2024, %rsp ## imm = 0x7E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _readlines ## -- Begin function readlines
.p2align 4, 0x90
_readlines: ## @readlines
.cfi_startproc
## %bb.0:
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 $1016, %rsp ## imm = 0x3F8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %esi, %r15d
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %r14d, %r14d
testl %esi, %esi
cmovlel %r14d, %r15d
.p2align 4, 0x90
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
xorl %r13d, %r13d
.p2align 4, 0x90
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $-1, %eax
je LBB1_7
## %bb.3: ## in Loop: Header=BB1_2 Depth=2
cmpl $10, %eax
je LBB1_8
## %bb.4: ## in Loop: Header=BB1_2 Depth=2
movb %al, -1056(%rbp,%r13)
incq %r13
cmpl $999, %r13d ## imm = 0x3E7
jne LBB1_2
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
leaq -1056(,%r13), %rcx
addq %rbp, %rcx
movl $999, %r13d ## imm = 0x3E7
cmpl $10, %eax
je LBB1_9
jmp LBB1_10
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movb $0, -1056(%rbp,%r13)
testl %r13d, %r13d
je LBB1_14
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
cmpq %r15, %r14
jne LBB1_12
jmp LBB1_13
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
leaq -1056(,%r13), %rcx
addq %rbp, %rcx
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movb $10, (%rcx)
incq %rcx
incl %r13d
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movb $0, (%rcx)
cmpq %r15, %r14
je LBB1_13
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
leal -1(%r13), %eax
movb $0, -1056(%rbp,%rax)
movq %rbx, %rdi
leaq -1056(%rbp), %rsi
callq _strcpy
movq %rbx, (%r12,%r14,8)
incq %r14
movslq %r13d, %rax
addq %rax, %rbx
jmp LBB1_1
LBB1_13:
movl $-1, %r14d
LBB1_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_16
## %bb.15:
movl %r14d, %eax
addq $1016, %rsp ## imm = 0x3F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _qsort ## -- Begin function qsort
.p2align 4, 0x90
_qsort: ## @qsort
.cfi_startproc
## %bb.0:
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 $esi killed $esi def $rsi
cmpl %edx, %esi
jge LBB2_9
## %bb.1:
movl %edx, %r14d
movq %rdi, %r12
movslq %edx, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r14, -56(%rbp) ## 8-byte Spill
jmp LBB2_2
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_2 Depth=1
movq -48(%rbp), %rbx ## 8-byte Reload
movslq %ebx, %rax
movq -56(%rbp), %r14 ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
LBB2_8: ## in Loop: Header=BB2_2 Depth=1
movq (%r12,%rdi,8), %rcx
movq (%r12,%rax,8), %rdx
movq %rdx, (%r12,%rdi,8)
movq %rcx, (%r12,%rax,8)
leal -1(%rbx), %edx
movq %r12, %rdi
## kill: def $esi killed $esi killed $rsi
callq _qsort
incl %ebx
movl %ebx, %esi
cmpl %r14d, %ebx
jge LBB2_9
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_4 Depth 2
leal (%rsi,%r14), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
movslq %esi, %rdi
movq (%r12,%rdi,8), %rax
movslq %ecx, %rcx
movq (%r12,%rcx,8), %rdx
movq %rdx, (%r12,%rdi,8)
movq %rax, (%r12,%rcx,8)
movq %rdi, %rax
movl %esi, %ebx
cmpl %r14d, %edi
jge LBB2_8
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movq %rdi, %r14
movq %rsi, -64(%rbp) ## 8-byte Spill
## kill: def $esi killed $esi killed $rsi def $rsi
movq %rsi, -48(%rbp) ## 8-byte Spill
jmp LBB2_4
.p2align 4, 0x90
LBB2_6: ## in Loop: Header=BB2_4 Depth=2
movq %r15, %rdi
movq %r13, %r14
cmpq %r13, -72(%rbp) ## 8-byte Folded Reload
je LBB2_7
LBB2_4: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq 1(%r14), %r13
movq 8(%r12,%r14,8), %rbx
movq %rdi, %r15
movq (%r12,%rdi,8), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
jns LBB2_6
## %bb.5: ## in Loop: Header=BB2_4 Depth=2
movq -48(%rbp), %rcx ## 8-byte Reload
movslq %ecx, %rax
incl %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
movq 8(%r12,%rax,8), %rcx
movq %rbx, 8(%r12,%rax,8)
movq %rcx, 8(%r12,%r14,8)
jmp LBB2_6
LBB2_9:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _writelines ## -- Begin function writelines
.p2align 4, 0x90
_writelines: ## @writelines
.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 %esi, %esi
jle LBB3_3
## %bb.1:
movl %esi, %r14d
movq %rdi, %rbx
incl %r14d
.p2align 4, 0x90
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
addq $8, %rbx
callq _puts
decl %r14d
cmpl $1, %r14d
ja LBB3_2
LBB3_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_line ## -- Begin function get_line
.p2align 4, 0x90
_get_line: ## @get_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
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
xorl %ecx, %ecx
cmpl $2, %esi
jl LBB4_8
## %bb.1:
movl %esi, %r14d
decl %r14d
movl %r14d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
callq _getchar
cmpl $-1, %eax
je LBB4_6
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
cmpl $10, %eax
je LBB4_6
## %bb.4: ## in Loop: Header=BB4_2 Depth=1
movb %al, (%r15,%rbx)
incq %rbx
cmpl %ebx, %r12d
jne LBB4_2
## %bb.5:
addq %rbx, %r15
jmp LBB4_7
LBB4_6:
addq %rbx, %r15
movl %ebx, %r14d
LBB4_7:
movl %r14d, %ecx
cmpl $10, %eax
jne LBB4_9
LBB4_8:
movb $10, (%r15)
incq %r15
incl %ecx
movl %ecx, %r14d
LBB4_9:
movb $0, (%r15)
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rax
movq (%rdi,%rax,8), %rcx
movslq %edx, %rdx
movq (%rdi,%rdx,8), %rsi
movq %rsi, (%rdi,%rax,8)
movq %rcx, (%rdi,%rdx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _lineptr,40000,4 ## @lineptr
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "error: input too big to sort"
.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, #2016
mov x21, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
add x19, sp, #8
mov w20, #1
add x22, sp, #1008
mov w23, #5000
Lloh3:
adrp x24, _lineptr@GOTPAGE
Lloh4:
ldr x24, [x24, _lineptr@GOTPAGEOFF]
mov w25, #10
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
mov x26, #0
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
cmn w0, #1
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=2
cmp w0, #10
b.eq LBB0_8
; %bb.4: ; in Loop: Header=BB0_2 Depth=2
strb w0, [x22, x26]
add x26, x26, #1
cmp w26, #999
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
add x8, x22, x26
mov w26, #999
cmp w0, #10
b.eq LBB0_9
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
strb wzr, [x22, x26]
cbz w26, LBB0_12
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
cmp x21, x23
b.ne LBB0_11
b LBB0_17
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
add x8, x22, x26
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
strb w25, [x8], #1
add w26, w26, #1
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
strb wzr, [x8]
cmp x21, x23
b.eq LBB0_17
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
sub w8, w26, #1
strb wzr, [x22, w8, uxtw]
add x1, sp, #1008
mov x0, x19
bl _strcpy
str x19, [x24, x21, lsl #3]
add x21, x21, #1
add x19, x19, w26, sxtw
add w20, w20, #1
b LBB0_1
LBB0_12:
tbnz w21, #31, LBB0_17
; %bb.13:
sub w2, w21, #1
Lloh5:
adrp x0, _lineptr@GOTPAGE
Lloh6:
ldr x0, [x0, _lineptr@GOTPAGEOFF]
mov w1, #0
bl _qsort
cbz w21, LBB0_16
; %bb.14:
Lloh7:
adrp x19, _lineptr@GOTPAGE
Lloh8:
ldr x19, [x19, _lineptr@GOTPAGEOFF]
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19], #8
bl _puts
sub w20, w20, #1
cmp w20, #1
b.hi LBB0_15
LBB0_16:
mov w0, #0
b LBB0_18
LBB0_17:
Lloh9:
adrp x0, l_str@PAGE
Lloh10:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #1
LBB0_18:
ldur x8, [x29, #-88]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_20
; %bb.19:
add sp, sp, #2016
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_20:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _readlines ; -- Begin function readlines
.p2align 2
_readlines: ; @readlines
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
sub sp, sp, #1008
mov x20, x2
mov x21, x0
mov x19, #0
Lloh14:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
stur x8, [x29, #-72]
cmp w1, #0
csel w22, w1, wzr, gt
mov x23, sp
mov w24, #10
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
mov x25, #0
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _getchar
cmn w0, #1
b.eq LBB1_6
; %bb.3: ; in Loop: Header=BB1_2 Depth=2
cmp w0, #10
b.eq LBB1_8
; %bb.4: ; in Loop: Header=BB1_2 Depth=2
strb w0, [x23, x25]
add x25, x25, #1
cmp w25, #999
b.ne LBB1_2
; %bb.5: ; in Loop: Header=BB1_1 Depth=1
add x8, x23, x25
mov w25, #999
cmp w0, #10
b.eq LBB1_9
b LBB1_10
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
strb wzr, [x23, x25]
cbz w25, LBB1_13
; %bb.7: ; in Loop: Header=BB1_1 Depth=1
cmp x19, x22
b.ne LBB1_11
b LBB1_12
LBB1_8: ; in Loop: Header=BB1_1 Depth=1
add x8, x23, x25
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
strb w24, [x8], #1
add w25, w25, #1
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
strb wzr, [x8]
cmp x19, x22
b.eq LBB1_12
LBB1_11: ; in Loop: Header=BB1_1 Depth=1
sub w8, w25, #1
strb wzr, [x23, w8, uxtw]
mov x1, sp
mov x0, x20
bl _strcpy
str x20, [x21, x19, lsl #3]
add x19, x19, #1
add x20, x20, w25, sxtw
b LBB1_1
LBB1_12:
mov w19, #-1
LBB1_13:
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 LBB1_15
; %bb.14:
mov x0, x19
add sp, sp, #1008
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
LBB1_15:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.globl _qsort ; -- Begin function qsort
.p2align 2
_qsort: ; @qsort
.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
cmp w1, w2
b.ge LBB2_10
; %bb.1:
mov x19, x2
mov x21, x1
mov x20, x0
sxtw x23, w19
add x24, x0, #8
b LBB2_4
LBB2_2: ; in Loop: Header=BB2_4 Depth=1
mov x8, x26
sxtw x8, w8
LBB2_3: ; in Loop: Header=BB2_4 Depth=1
lsl x9, x25, #3
ldr x10, [x20, x9]
lsl x8, x8, #3
ldr x11, [x20, x8]
str x11, [x20, x9]
str x10, [x20, x8]
sub w2, w26, #1
mov x0, x20
mov x1, x21
bl _qsort
add w21, w26, #1
cmp w21, w19
b.ge LBB2_10
LBB2_4: ; =>This Loop Header: Depth=1
; Child Loop BB2_7 Depth 2
add w8, w21, w19
cmp w8, #0
cinc w8, w8, lt
asr w8, w8, #1
sbfiz x9, x21, #3, #32
ldr x10, [x20, x9]
sbfiz x8, x8, #3, #32
ldr x11, [x20, x8]
sxtw x25, w21
str x11, [x20, x9]
str x10, [x20, x8]
cmp w21, w19
b.ge LBB2_9
; %bb.5: ; in Loop: Header=BB2_4 Depth=1
sub x27, x23, x25
add x28, x24, x25, lsl #3
mov x26, x21
b LBB2_7
LBB2_6: ; in Loop: Header=BB2_7 Depth=2
add x28, x28, #8
subs x27, x27, #1
b.eq LBB2_2
LBB2_7: ; Parent Loop BB2_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x22, [x28]
ldr x1, [x20, x25, lsl #3]
mov x0, x22
bl _strcmp
tbz w0, #31, LBB2_6
; %bb.8: ; in Loop: Header=BB2_7 Depth=2
add w26, w26, #1
sbfiz x8, x26, #3, #32
ldr x9, [x20, x8]
str x22, [x20, x8]
str x9, [x28]
b LBB2_6
LBB2_9: ; in Loop: Header=BB2_4 Depth=1
mov x8, x25
mov x26, x21
b LBB2_3
LBB2_10:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _writelines ; -- Begin function writelines
.p2align 2
_writelines: ; @writelines
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w1, #1
b.lt LBB3_3
; %bb.1:
mov x19, x0
add w20, w1, #1
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19], #8
bl _puts
sub w20, w20, #1
cmp w20, #1
b.hi LBB3_2
LBB3_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_line ; -- Begin function get_line
.p2align 2
_get_line: ; @get_line
.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
cmp w1, #2
b.lt LBB4_6
; %bb.1:
mov x21, #0
sub w20, w1, #1
LBB4_2: ; =>This Inner Loop Header: Depth=1
bl _getchar
cmn w0, #1
b.eq LBB4_7
; %bb.3: ; in Loop: Header=BB4_2 Depth=1
cmp w0, #10
b.eq LBB4_7
; %bb.4: ; in Loop: Header=BB4_2 Depth=1
strb w0, [x19, x21]
add x21, x21, #1
cmp w20, w21
b.ne LBB4_2
; %bb.5:
add x19, x19, x21
cmp w0, #10
b.eq LBB4_8
b LBB4_9
LBB4_6:
mov w20, #0
b LBB4_8
LBB4_7:
add x19, x19, x21
mov x20, x21
cmp w0, #10
b.ne LBB4_9
LBB4_8:
mov w8, #10
strb w8, [x19], #1
add w20, w20, #1
LBB4_9:
strb wzr, [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
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
; kill: def $w1 killed $w1 def $x1
sbfiz x8, x1, #3, #32
ldr x9, [x0, x8]
sbfiz x10, x2, #3, #32
ldr x11, [x0, x10]
str x11, [x0, x8]
str x9, [x0, x10]
ret
.cfi_endproc
; -- End function
.comm _lineptr,40000,3 ; @lineptr
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "error: input too big to sort"
.subsections_via_symbols
| the_stack_data/87637449.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _complete_none ## -- Begin function complete_none
.p2align 4, 0x90
_complete_none: ## @complete_none
.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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _complete_none ; -- Begin function complete_none
.p2align 2
_complete_none: ; @complete_none
.cfi_startproc
; %bb.0:
mov x0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/tg/extr_interface.c_complete_none.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function free_mbuf_chain
_free_mbuf_chain: ## @free_mbuf_chain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%rdi), %rbx
callq _free
movq %rbx, %rdi
testq %rbx, %rbx
jne LBB0_1
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _free_mbuf_chain
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function free_mbuf_chain
_free_mbuf_chain: ; @free_mbuf_chain
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x19, [x0]
bl _free
mov x0, x19
cbnz x19, LBB0_1
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _free_mbuf_chain
.subsections_via_symbols
| AnghaBench/freebsd/contrib/netbsd-tests/net/in_cksum/extr_in_cksum.c_free_mbuf_chain.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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/165768145.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sxgbe_prepare_tx_desc
_sxgbe_prepare_tx_desc: ## @sxgbe_prepare_tx_desc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, 12(%rdi)
movl %edx, (%rdi)
movl %ecx, 8(%rdi)
testl %r8d, %r8d
je LBB0_2
## %bb.1:
movq _cic_full@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rdi)
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cic_full,4,2 ## @cic_full
.no_dead_strip _sxgbe_prepare_tx_desc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sxgbe_prepare_tx_desc
_sxgbe_prepare_tx_desc: ; @sxgbe_prepare_tx_desc
.cfi_startproc
; %bb.0:
str w2, [x0]
stp w3, w1, [x0, #8]
cbz w4, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _cic_full@GOTPAGE
Lloh1:
ldr x8, [x8, _cic_full@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #4]
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cic_full,4,2 ; @cic_full
.no_dead_strip _sxgbe_prepare_tx_desc
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/samsung/sxgbe/extr_sxgbe_desc.c_sxgbe_prepare_tx_desc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function musb_configure_ep0
_musb_configure_ep0: ## @musb_configure_ep0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MUSB_EP0_FIFOSIZE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %rcx
movq %rax, 16(%rcx)
movq %rax, 8(%rcx)
movl $1, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MUSB_EP0_FIFOSIZE,8,3 ## @MUSB_EP0_FIFOSIZE
.no_dead_strip _musb_configure_ep0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function musb_configure_ep0
_musb_configure_ep0: ; @musb_configure_ep0
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MUSB_EP0_FIFOSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _MUSB_EP0_FIFOSIZE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x0]
stp x8, x8, [x9, #8]
mov w8, #1
str w8, [x9]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MUSB_EP0_FIFOSIZE,8,3 ; @MUSB_EP0_FIFOSIZE
.no_dead_strip _musb_configure_ep0
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/musb/extr_musb_core.h_musb_configure_ep0.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sslLockAcquire
_sslLockAcquire: ## @sslLockAcquire
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _pthread_mutex_lock ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sslLockAcquire
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sslLockAcquire
_sslLockAcquire: ; @sslLockAcquire
.cfi_startproc
; %bb.0:
b _pthread_mutex_lock
.cfi_endproc
; -- End function
.no_dead_strip _sslLockAcquire
.subsections_via_symbols
| AnghaBench/redis/deps/hiredis/extr_ssl.c_sslLockAcquire.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mpt_interrupt
_mpt_interrupt: ## @mpt_interrupt
.cfi_startproc
## %bb.0:
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 (%rsi), %rdi
callq _CHIPREG_READ32_dmasync
cmpl $-1, %eax
je LBB0_1
## %bb.2:
movq _MPI_ADDRESS_REPLY_A_BIT@GOTPCREL(%rip), %r15
movq _IRQ_HANDLED@GOTPCREL(%rip), %r14
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
movl %eax, %esi
callq _mpt_turbo_reply
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq (%rbx), %rdi
callq _CHIPREG_READ32_dmasync
cmpl $-1, %eax
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
testl %eax, (%r15)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
movl %eax, %esi
callq _mpt_reply
jmp LBB0_6
LBB0_1:
movq _IRQ_NONE@GOTPCREL(%rip), %r14
LBB0_7:
movl (%r14), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_NONE,4,2 ## @IRQ_NONE
.comm _MPI_ADDRESS_REPLY_A_BIT,4,2 ## @MPI_ADDRESS_REPLY_A_BIT
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _mpt_interrupt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mpt_interrupt
_mpt_interrupt: ; @mpt_interrupt
.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
ldr x0, [x1]
bl _CHIPREG_READ32_dmasync
cmn w0, #1
b.eq LBB0_6
; %bb.1:
mov x1, x0
Lloh0:
adrp x21, _MPI_ADDRESS_REPLY_A_BIT@GOTPAGE
Lloh1:
ldr x21, [x21, _MPI_ADDRESS_REPLY_A_BIT@GOTPAGEOFF]
Lloh2:
adrp x20, _IRQ_HANDLED@GOTPAGE
Lloh3:
ldr x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
bl _mpt_turbo_reply
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x19]
bl _CHIPREG_READ32_dmasync
mov x1, x0
cmn w0, #1
b.eq LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
mov x0, x19
tst w8, w1
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
bl _mpt_reply
b LBB0_3
LBB0_6:
Lloh4:
adrp x20, _IRQ_NONE@GOTPAGE
Lloh5:
ldr x20, [x20, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
ldr w0, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IRQ_NONE,4,2 ; @IRQ_NONE
.comm _MPI_ADDRESS_REPLY_A_BIT,4,2 ; @MPI_ADDRESS_REPLY_A_BIT
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _mpt_interrupt
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/message/fusion/extr_mptbase.c_mpt_interrupt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CRYPTO_THREAD_lock_free ## -- Begin function CRYPTO_THREAD_lock_free
.p2align 4, 0x90
_CRYPTO_THREAD_lock_free: ## @CRYPTO_THREAD_lock_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _pthread_mutex_destroy
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _OPENSSL_free ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CRYPTO_THREAD_lock_free ; -- Begin function CRYPTO_THREAD_lock_free
.p2align 2
_CRYPTO_THREAD_lock_free: ; @CRYPTO_THREAD_lock_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _pthread_mutex_destroy
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _OPENSSL_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/extr_threads_pthread.c_CRYPTO_THREAD_lock_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bus_data_generation_update ## -- Begin function bus_data_generation_update
.p2align 4, 0x90
_bus_data_generation_update: ## @bus_data_generation_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _bus_data_generation@GOTPCREL(%rip), %rax
incl (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _bus_data_generation,4,2 ## @bus_data_generation
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bus_data_generation_update ; -- Begin function bus_data_generation_update
.p2align 2
_bus_data_generation_update: ; @bus_data_generation_update
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _bus_data_generation@GOTPAGE
Lloh1:
ldr x8, [x8, _bus_data_generation@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _bus_data_generation,4,2 ; @bus_data_generation
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_subr_bus.c_bus_data_generation_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FLASH_OB_Unlock ## -- Begin function FLASH_OB_Unlock
.p2align 4, 0x90
_FLASH_OB_Unlock: ## @FLASH_OB_Unlock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _FLASH@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _FLASH_OPTCR_OPTLOCK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl (%rax), %ecx
movq _RESET@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ecx
je LBB0_2
## %bb.1:
movq _FLASH_OPT_KEY2@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FLASH,8,3 ## @FLASH
.comm _FLASH_OPTCR_OPTLOCK,4,2 ## @FLASH_OPTCR_OPTLOCK
.comm _RESET,4,2 ## @RESET
.comm _FLASH_OPT_KEY1,4,2 ## @FLASH_OPT_KEY1
.comm _FLASH_OPT_KEY2,4,2 ## @FLASH_OPT_KEY2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FLASH_OB_Unlock ; -- Begin function FLASH_OB_Unlock
.p2align 2
_FLASH_OB_Unlock: ; @FLASH_OB_Unlock
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _FLASH@GOTPAGE
Lloh1:
ldr x8, [x8, _FLASH@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w9, [x8]
Lloh3:
adrp x10, _FLASH_OPTCR_OPTLOCK@GOTPAGE
Lloh4:
ldr x10, [x10, _FLASH_OPTCR_OPTLOCK@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
and w9, w10, w9
Lloh6:
adrp x10, _RESET@GOTPAGE
Lloh7:
ldr x10, [x10, _RESET@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
cmp w9, w10
b.eq LBB0_2
; %bb.1:
Lloh9:
adrp x9, _FLASH_OPT_KEY2@GOTPAGE
Lloh10:
ldr x9, [x9, _FLASH_OPT_KEY2@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
str w9, [x8, #4]
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _FLASH,8,3 ; @FLASH
.comm _FLASH_OPTCR_OPTLOCK,4,2 ; @FLASH_OPTCR_OPTLOCK
.comm _RESET,4,2 ; @RESET
.comm _FLASH_OPT_KEY1,4,2 ; @FLASH_OPT_KEY1
.comm _FLASH_OPT_KEY2,4,2 ; @FLASH_OPT_KEY2
.subsections_via_symbols
| AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_flash.c_FLASH_OB_Unlock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mISDN_sock_create
_mISDN_sock_create: ## @mISDN_sock_create
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
leal -128(%rdx), %eax
cmpl $12, %eax
jae LBB0_1
## %bb.3:
## kill: def $edx killed $edx killed $rdx
jmp _data_sock_create ## TAILCALL
LBB0_1:
cmpl $140, %edx
jne LBB0_4
## %bb.2:
movl $140, %edx
jmp _base_sock_create ## TAILCALL
LBB0_4:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EPROTONOSUPPORT,4,2 ## @EPROTONOSUPPORT
.no_dead_strip _mISDN_sock_create
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mISDN_sock_create
_mISDN_sock_create: ; @mISDN_sock_create
.cfi_startproc
; %bb.0:
sub w8, w2, #128
cmp w8, #12
b.hs LBB0_2
; %bb.1:
b _data_sock_create
LBB0_2:
cmp w2, #140
b.ne LBB0_4
; %bb.3:
b _base_sock_create
LBB0_4:
Lloh0:
adrp x8, _EPROTONOSUPPORT@GOTPAGE
Lloh1:
ldr x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EPROTONOSUPPORT,4,2 ; @EPROTONOSUPPORT
.no_dead_strip _mISDN_sock_create
.subsections_via_symbols
| AnghaBench/linux/drivers/isdn/mISDN/extr_socket.c_mISDN_sock_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function netwinder_ds1620_reset
_netwinder_ds1620_reset: ## @netwinder_ds1620_reset
.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 _CPLD_DS_ENABLE@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
xorl %esi, %esi
callq _nw_cpld_modify
movl (%rbx), %edi
movl %edi, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _nw_cpld_modify ## TAILCALL
.cfi_endproc
## -- End function
.comm _CPLD_DS_ENABLE,4,2 ## @CPLD_DS_ENABLE
.no_dead_strip _netwinder_ds1620_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function netwinder_ds1620_reset
_netwinder_ds1620_reset: ; @netwinder_ds1620_reset
.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, _CPLD_DS_ENABLE@GOTPAGE
Lloh1:
ldr x19, [x19, _CPLD_DS_ENABLE@GOTPAGEOFF]
ldr w0, [x19]
mov w1, #0
bl _nw_cpld_modify
ldr w0, [x19]
mov x1, x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _nw_cpld_modify
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _CPLD_DS_ENABLE,4,2 ; @CPLD_DS_ENABLE
.no_dead_strip _netwinder_ds1620_reset
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/extr_ds1620.c_netwinder_ds1620_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sd_setexposure
_sd_setexposure: ## @sd_setexposure
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %eax
movl %esi, (%rdi)
cmpq $0, 8(%rdi)
je LBB0_2
## %bb.1:
movq %rdi, %rbx
callq _setexposure
movl (%rbx), %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sd_setexposure
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sd_setexposure
_sd_setexposure: ; @sd_setexposure
.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
str w1, [x0]
ldr x8, [x0, #8]
cbz x8, LBB0_2
; %bb.1:
mov x19, x0
bl _setexposure
ldr w1, [x19]
LBB0_2:
mov x0, x1
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 _sd_setexposure
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_setexposure.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function throttle_init_throttle_period
_throttle_init_throttle_period: ## @throttle_init_throttle_period
.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 _TRUE@GOTPCREL(%rip), %rax
cmpq %rsi, (%rax)
jne LBB0_3
## %bb.1:
cmpq $0, (%rbx)
je LBB0_2
LBB0_3:
movq _throttle_io_period_msecs@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_2:
movq _throttle_io_period_ssd_msecs@GOTPCREL(%rip), %rax
LBB0_4:
movq (%rax), %rax
movq %rax, 8(%rbx)
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _PE_get_default
testq %rax, %rax
je LBB0_6
## %bb.5:
movl -12(%rbp), %eax
movq 8(%rbx), %rcx
movq _THROTTLE_LEVEL_TIER1@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
LBB0_6:
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _PE_get_default
testq %rax, %rax
je LBB0_8
## %bb.7:
movl -12(%rbp), %eax
movq 8(%rbx), %rcx
movq _THROTTLE_LEVEL_TIER2@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
LBB0_8:
leaq L_.str.2(%rip), %rdi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _PE_get_default
testq %rax, %rax
je LBB0_10
## %bb.9:
movl -12(%rbp), %eax
movq 8(%rbx), %rcx
movq _THROTTLE_LEVEL_TIER3@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
LBB0_10:
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _PE_parse_boot_argn
testq %rax, %rax
je LBB0_12
## %bb.11:
movl -12(%rbp), %eax
movq 8(%rbx), %rcx
movq _THROTTLE_LEVEL_TIER1@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
LBB0_12:
leaq L_.str.4(%rip), %rdi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _PE_parse_boot_argn
testq %rax, %rax
je LBB0_14
## %bb.13:
movl -12(%rbp), %eax
movq 8(%rbx), %rcx
movq _THROTTLE_LEVEL_TIER2@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
LBB0_14:
leaq L_.str.5(%rip), %rdi
leaq -12(%rbp), %rsi
movl $4, %edx
callq _PE_parse_boot_argn
testq %rax, %rax
je LBB0_16
## %bb.15:
movl -12(%rbp), %eax
movq 8(%rbx), %rcx
movq _THROTTLE_LEVEL_TIER3@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
LBB0_16:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,8,3 ## @TRUE
.comm _throttle_io_period_ssd_msecs,8,3 ## @throttle_io_period_ssd_msecs
.comm _throttle_io_period_msecs,8,3 ## @throttle_io_period_msecs
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "kern.io_throttle_period_tier1"
.comm _THROTTLE_LEVEL_TIER1,8,3 ## @THROTTLE_LEVEL_TIER1
L_.str.1: ## @.str.1
.asciz "kern.io_throttle_period_tier2"
.comm _THROTTLE_LEVEL_TIER2,8,3 ## @THROTTLE_LEVEL_TIER2
L_.str.2: ## @.str.2
.asciz "kern.io_throttle_period_tier3"
.comm _THROTTLE_LEVEL_TIER3,8,3 ## @THROTTLE_LEVEL_TIER3
L_.str.3: ## @.str.3
.asciz "io_throttle_period_tier1"
L_.str.4: ## @.str.4
.asciz "io_throttle_period_tier2"
L_.str.5: ## @.str.5
.asciz "io_throttle_period_tier3"
.no_dead_strip _throttle_init_throttle_period
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function throttle_init_throttle_period
_throttle_init_throttle_period: ; @throttle_init_throttle_period
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x1
b.ne LBB0_2
; %bb.1:
ldr x8, [x19]
cbz x8, LBB0_3
LBB0_2:
Lloh3:
adrp x8, _throttle_io_period_msecs@GOTPAGE
Lloh4:
ldr x8, [x8, _throttle_io_period_msecs@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh5:
adrp x8, _throttle_io_period_ssd_msecs@GOTPAGE
Lloh6:
ldr x8, [x8, _throttle_io_period_ssd_msecs@GOTPAGEOFF]
LBB0_4:
ldr x8, [x8]
str x8, [x19, #8]
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
add x1, sp, #12
mov w2, #4
bl _PE_get_default
Lloh9:
adrp x20, _THROTTLE_LEVEL_TIER1@GOTPAGE
Lloh10:
ldr x20, [x20, _THROTTLE_LEVEL_TIER1@GOTPAGEOFF]
cbz x0, LBB0_6
; %bb.5:
ldr w8, [sp, #12]
ldr x9, [x19, #8]
ldr x10, [x20]
str w8, [x9, x10, lsl #2]
LBB0_6:
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
add x1, sp, #12
mov w2, #4
bl _PE_get_default
Lloh13:
adrp x21, _THROTTLE_LEVEL_TIER2@GOTPAGE
Lloh14:
ldr x21, [x21, _THROTTLE_LEVEL_TIER2@GOTPAGEOFF]
cbz x0, LBB0_8
; %bb.7:
ldr w8, [sp, #12]
ldr x9, [x19, #8]
ldr x10, [x21]
str w8, [x9, x10, lsl #2]
LBB0_8:
Lloh15:
adrp x0, l_.str.2@PAGE
Lloh16:
add x0, x0, l_.str.2@PAGEOFF
add x1, sp, #12
mov w2, #4
bl _PE_get_default
Lloh17:
adrp x22, _THROTTLE_LEVEL_TIER3@GOTPAGE
Lloh18:
ldr x22, [x22, _THROTTLE_LEVEL_TIER3@GOTPAGEOFF]
cbz x0, LBB0_10
; %bb.9:
ldr w8, [sp, #12]
ldr x9, [x19, #8]
ldr x10, [x22]
str w8, [x9, x10, lsl #2]
LBB0_10:
Lloh19:
adrp x0, l_.str.3@PAGE
Lloh20:
add x0, x0, l_.str.3@PAGEOFF
add x1, sp, #12
mov w2, #4
bl _PE_parse_boot_argn
cbz x0, LBB0_12
; %bb.11:
ldr w8, [sp, #12]
ldr x9, [x19, #8]
ldr x10, [x20]
str w8, [x9, x10, lsl #2]
LBB0_12:
Lloh21:
adrp x0, l_.str.4@PAGE
Lloh22:
add x0, x0, l_.str.4@PAGEOFF
add x1, sp, #12
mov w2, #4
bl _PE_parse_boot_argn
cbz x0, LBB0_14
; %bb.13:
ldr w8, [sp, #12]
ldr x9, [x19, #8]
ldr x10, [x21]
str w8, [x9, x10, lsl #2]
LBB0_14:
Lloh23:
adrp x0, l_.str.5@PAGE
Lloh24:
add x0, x0, l_.str.5@PAGEOFF
add x1, sp, #12
mov w2, #4
bl _PE_parse_boot_argn
cbz x0, LBB0_16
; %bb.15:
ldr w8, [sp, #12]
ldr x9, [x19, #8]
ldr x10, [x22]
str w8, [x9, x10, lsl #2]
LBB0_16:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _TRUE,8,3 ; @TRUE
.comm _throttle_io_period_ssd_msecs,8,3 ; @throttle_io_period_ssd_msecs
.comm _throttle_io_period_msecs,8,3 ; @throttle_io_period_msecs
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "kern.io_throttle_period_tier1"
.comm _THROTTLE_LEVEL_TIER1,8,3 ; @THROTTLE_LEVEL_TIER1
l_.str.1: ; @.str.1
.asciz "kern.io_throttle_period_tier2"
.comm _THROTTLE_LEVEL_TIER2,8,3 ; @THROTTLE_LEVEL_TIER2
l_.str.2: ; @.str.2
.asciz "kern.io_throttle_period_tier3"
.comm _THROTTLE_LEVEL_TIER3,8,3 ; @THROTTLE_LEVEL_TIER3
l_.str.3: ; @.str.3
.asciz "io_throttle_period_tier1"
l_.str.4: ; @.str.4
.asciz "io_throttle_period_tier2"
l_.str.5: ; @.str.5
.asciz "io_throttle_period_tier3"
.no_dead_strip _throttle_init_throttle_period
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/miscfs/specfs/extr_spec_vnops.c_throttle_init_throttle_period.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $5, %esi
movl $10, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $10, %esi
movl $5, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _interchange ## -- Begin function interchange
.p2align 4, 0x90
_interchange: ## @interchange
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl (%rsi), %ecx
movl %ecx, (%rdi)
movl %eax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Originally x = %d and y = %d.\n"
L_.str.1: ## @.str.1
.asciz "Now x = %d and y = %d.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w19, #10
mov w20, #5
stp x20, x19, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
stp x19, x20, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _interchange ; -- Begin function interchange
.p2align 2
_interchange: ; @interchange
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
str w9, [x0]
str w8, [x1]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Originally x = %d and y = %d.\n"
l_.str.1: ; @.str.1
.asciz "Now x = %d and y = %d.\n"
.subsections_via_symbols
| the_stack_data/67324623.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlxsw_sp_fid_dummy_get ## -- Begin function mlxsw_sp_fid_dummy_get
.p2align 4, 0x90
_mlxsw_sp_fid_dummy_get: ## @mlxsw_sp_fid_dummy_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MLXSW_SP_FID_TYPE_DUMMY@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
popq %rbp
jmp _mlxsw_sp_fid_get ## TAILCALL
.cfi_endproc
## -- End function
.comm _MLXSW_SP_FID_TYPE_DUMMY,4,2 ## @MLXSW_SP_FID_TYPE_DUMMY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlxsw_sp_fid_dummy_get ; -- Begin function mlxsw_sp_fid_dummy_get
.p2align 2
_mlxsw_sp_fid_dummy_get: ; @mlxsw_sp_fid_dummy_get
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MLXSW_SP_FID_TYPE_DUMMY@GOTPAGE
Lloh1:
ldr x8, [x8, _MLXSW_SP_FID_TYPE_DUMMY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x2, #0
b _mlxsw_sp_fid_get
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MLXSW_SP_FID_TYPE_DUMMY,4,2 ; @MLXSW_SP_FID_TYPE_DUMMY
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_fid.c_mlxsw_sp_fid_dummy_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_uwp_actual_window ## -- Begin function get_uwp_actual_window
.p2align 4, 0x90
_get_uwp_actual_window: ## @get_uwp_actual_window
.cfi_startproc
## %bb.0:
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 $0, -48(%rbp)
leaq -48(%rbp), %rsi
callq _GetWindowThreadProcessId
xorl %r14d, %r14d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _FindWindowEx
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %rbx
leaq -40(%rbp), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq $0, -40(%rbp)
movq %rbx, %rdi
movq %r12, %rsi
callq _GetWindowThreadProcessId
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _FindWindowEx
movq %rax, %rbx
testq %rax, %rax
jne LBB0_2
jmp LBB0_5
LBB0_3:
movq %rbx, %r14
LBB0_5:
movq %r14, %rax
addq $16, %rsp
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_uwp_actual_window ; -- Begin function get_uwp_actual_window
.p2align 2
_get_uwp_actual_window: ; @get_uwp_actual_window
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
str xzr, [sp, #8]
add x1, sp, #8
bl _GetWindowThreadProcessId
mov x0, x19
mov x1, #0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x2, #0
mov x3, #0
bl _FindWindowEx
mov x20, x0
cbz x0, LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
str xzr, [sp]
mov x1, sp
mov x0, x20
bl _GetWindowThreadProcessId
ldp x8, x9, [sp]
cmp x8, x9
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
mov x0, x19
mov x1, x20
b LBB0_1
LBB0_4:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/obs-studio/plugins/win-capture/extr_window-helpers.c_get_uwp_actual_window.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function scoop_remove
_scoop_remove: ## @scoop_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _platform_get_drvdata
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
cmpl $-1, 4(%rax)
je LBB0_4
## %bb.3:
movq %rbx, %rdi
addq $4, %rdi
callq _gpiochip_remove
LBB0_4:
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
callq _platform_set_drvdata
movl (%rbx), %edi
callq _iounmap
movq %rbx, %rdi
callq _kfree
jmp LBB0_5
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
LBB0_5:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _scoop_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function scoop_remove
_scoop_remove: ; @scoop_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
mov x20, x0
bl _platform_get_drvdata
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
ldr w8, [x0, #4]!
cmn w8, #1
b.eq LBB0_3
; %bb.2:
bl _gpiochip_remove
LBB0_3:
mov x0, x20
mov x1, #0
bl _platform_set_drvdata
ldr w0, [x19]
bl _iounmap
mov x0, x19
bl _kfree
mov w0, #0
b LBB0_5
LBB0_4:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_5:
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 _EINVAL,4,2 ; @EINVAL
.no_dead_strip _scoop_remove
.subsections_via_symbols
| AnghaBench/linux/arch/arm/common/extr_scoop.c_scoop_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function prio_is_valid
_prio_is_valid: ## @prio_is_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _V4L2_PRIORITY_BACKGROUND@GOTPCREL(%rip), %rax
cmpl %edi, (%rax)
sete %al
movq _V4L2_PRIORITY_INTERACTIVE@GOTPCREL(%rip), %rcx
cmpl %edi, (%rcx)
sete %cl
orb %al, %cl
movq _V4L2_PRIORITY_RECORD@GOTPCREL(%rip), %rax
cmpl %edi, (%rax)
sete %al
orb %cl, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _V4L2_PRIORITY_BACKGROUND,4,2 ## @V4L2_PRIORITY_BACKGROUND
.comm _V4L2_PRIORITY_INTERACTIVE,4,2 ## @V4L2_PRIORITY_INTERACTIVE
.comm _V4L2_PRIORITY_RECORD,4,2 ## @V4L2_PRIORITY_RECORD
.no_dead_strip _prio_is_valid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function prio_is_valid
_prio_is_valid: ; @prio_is_valid
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _V4L2_PRIORITY_BACKGROUND@GOTPAGE
Lloh1:
ldr x8, [x8, _V4L2_PRIORITY_BACKGROUND@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w0
Lloh3:
adrp x8, _V4L2_PRIORITY_INTERACTIVE@GOTPAGE
Lloh4:
ldr x8, [x8, _V4L2_PRIORITY_INTERACTIVE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ccmp w8, w0, #4, ne
Lloh6:
adrp x8, _V4L2_PRIORITY_RECORD@GOTPAGE
Lloh7:
ldr x8, [x8, _V4L2_PRIORITY_RECORD@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
ccmp w8, w0, #4, ne
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _V4L2_PRIORITY_BACKGROUND,4,2 ; @V4L2_PRIORITY_BACKGROUND
.comm _V4L2_PRIORITY_INTERACTIVE,4,2 ; @V4L2_PRIORITY_INTERACTIVE
.comm _V4L2_PRIORITY_RECORD,4,2 ; @V4L2_PRIORITY_RECORD
.no_dead_strip _prio_is_valid
.subsections_via_symbols
| AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-dev.c_prio_is_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ccdc_enable
_ccdc_enable: ## @ccdc_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %ebx
movq _SYNCEN@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _regr
movq _CCDC_SYNCEN_VDHDEN_MASK@GOTPCREL(%rip), %rcx
xorl %eax, %ebx
andl (%rcx), %ebx
xorl %eax, %ebx
movl (%r14), %esi
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp _regw ## TAILCALL
.cfi_endproc
## -- End function
.comm _SYNCEN,4,2 ## @SYNCEN
.comm _CCDC_SYNCEN_VDHDEN_MASK,4,2 ## @CCDC_SYNCEN_VDHDEN_MASK
.no_dead_strip _ccdc_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ccdc_enable
_ccdc_enable: ; @ccdc_enable
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _SYNCEN@GOTPAGE
Lloh1:
ldr x20, [x20, _SYNCEN@GOTPAGEOFF]
ldr w0, [x20]
bl _regr
Lloh2:
adrp x8, _CCDC_SYNCEN_VDHDEN_MASK@GOTPAGE
Lloh3:
ldr x8, [x8, _CCDC_SYNCEN_VDHDEN_MASK@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
bic w9, w0, w8
and w8, w8, w19
orr w0, w9, w8
ldr w1, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _regw
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SYNCEN,4,2 ; @SYNCEN
.comm _CCDC_SYNCEN_VDHDEN_MASK,4,2 ; @CCDC_SYNCEN_VDHDEN_MASK
.no_dead_strip _ccdc_enable
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iconv_open_into ## -- Begin function iconv_open_into
.p2align 4, 0x90
_iconv_open_into: ## @iconv_open_into
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp ___bsd_iconv_open_into ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _iconv_open_into ; -- Begin function iconv_open_into
.p2align 2
_iconv_open_into: ; @iconv_open_into
.cfi_startproc
; %bb.0:
b ___bsd_iconv_open_into
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/iconv/extr_iconv_open_into.c_iconv_open_into.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ssb_sdio_scan_read32
_ssb_sdio_scan_read32: ## @ssb_sdio_scan_read32
.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 _ssb_sdio_scan_read32
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ssb_sdio_scan_read32
_ssb_sdio_scan_read32: ; @ssb_sdio_scan_read32
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _ssb_sdio_scan_read32
.subsections_via_symbols
| AnghaBench/linux/drivers/ssb/extr_ssb_private.h_ssb_sdio_scan_read32.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lastcold
_lastcold: ## @lastcold
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 16(%rsi), %rax
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq (%rdi), %rax
LBB0_2:
movl (%rsi), %edi
testl %edi, %edi
jle LBB0_15
## %bb.3:
movq 8(%rsi), %rcx
movq _NOPROGRESS@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testb $1, %dil
jne LBB0_5
## %bb.4:
movl %edi, %esi
cmpl $1, %edi
je LBB0_15
jmp LBB0_9
LBB0_5:
testl %edx, (%rcx)
je LBB0_7
## %bb.6:
movq 8(%rcx), %rsi
cmpq %rsi, %rax
cmovbq %rsi, %rax
LBB0_7:
addq $16, %rcx
leal -1(%rdi), %esi
cmpl $1, %edi
jne LBB0_9
LBB0_15:
popq %rbp
retq
LBB0_9:
addl $2, %esi
jmp LBB0_10
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_10 Depth=1
addl $-2, %esi
addq $32, %rcx
cmpl $2, %esi
jle LBB0_15
LBB0_10: ## =>This Inner Loop Header: Depth=1
testl %edx, (%rcx)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq 8(%rcx), %rdi
cmpq %rdi, %rax
cmovbq %rdi, %rax
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
testl %edx, 16(%rcx)
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
movq 24(%rcx), %rdi
cmpq %rdi, %rax
cmovbq %rdi, %rax
jmp LBB0_14
.cfi_endproc
## -- End function
.comm _NOPROGRESS,4,2 ## @NOPROGRESS
.no_dead_strip _lastcold
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lastcold
_lastcold: ; @lastcold
.cfi_startproc
; %bb.0:
mov x8, x0
ldr x0, [x1, #16]
cbnz x0, LBB0_2
; %bb.1:
ldr x0, [x8]
LBB0_2:
ldr w9, [x1]
cmp w9, #1
b.lt LBB0_7
; %bb.3:
ldr x10, [x1, #8]
Lloh0:
adrp x8, _NOPROGRESS@GOTPAGE
Lloh1:
ldr x8, [x8, _NOPROGRESS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
add w9, w9, #1
add x10, x10, #8
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub w9, w9, #1
add x10, x10, #16
cmp w9, #1
b.le LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w11, [x10, #-8]
tst w8, w11
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x11, [x10]
cmp x0, x11
csel x0, x11, x0, lo
b LBB0_4
LBB0_7:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NOPROGRESS,4,2 ; @NOPROGRESS
.no_dead_strip _lastcold
.subsections_via_symbols
| AnghaBench/postgres/src/backend/regex/extr_rege_dfa.c_lastcold.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function altera_jtaguart_get_mctrl
_altera_jtaguart_get_mctrl: ## @altera_jtaguart_get_mctrl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TIOCM_CAR@GOTPCREL(%rip), %rcx
movq _TIOCM_DSR@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
movq _TIOCM_CTS@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TIOCM_CAR,4,2 ## @TIOCM_CAR
.comm _TIOCM_DSR,4,2 ## @TIOCM_DSR
.comm _TIOCM_CTS,4,2 ## @TIOCM_CTS
.no_dead_strip _altera_jtaguart_get_mctrl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function altera_jtaguart_get_mctrl
_altera_jtaguart_get_mctrl: ; @altera_jtaguart_get_mctrl
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _TIOCM_CAR@GOTPAGE
Lloh1:
ldr x8, [x8, _TIOCM_CAR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _TIOCM_DSR@GOTPAGE
Lloh4:
ldr x9, [x9, _TIOCM_DSR@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w8, w9, w8
Lloh6:
adrp x9, _TIOCM_CTS@GOTPAGE
Lloh7:
ldr x9, [x9, _TIOCM_CTS@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TIOCM_CAR,4,2 ; @TIOCM_CAR
.comm _TIOCM_DSR,4,2 ; @TIOCM_DSR
.comm _TIOCM_CTS,4,2 ; @TIOCM_CTS
.no_dead_strip _altera_jtaguart_get_mctrl
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/serial/extr_altera_jtaguart.c_altera_jtaguart_get_mctrl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memac_modify_mac_address ## -- Begin function memac_modify_mac_address
.p2align 4, 0x90
_memac_modify_mac_address: ## @memac_modify_mac_address
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movl 4(%rdi), %edi
callq _is_init_done
testl %eax, %eax
je LBB0_1
## %bb.2:
movl (%rbx), %edi
movq (%r14), %rsi
xorl %ebx, %ebx
xorl %edx, %edx
callq _add_addr_in_paddr
jmp LBB0_3
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_3:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memac_modify_mac_address ; -- Begin function memac_modify_mac_address
.p2align 2
_memac_modify_mac_address: ; @memac_modify_mac_address
.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
ldr w0, [x0, #4]
bl _is_init_done
cbz w0, LBB0_2
; %bb.1:
ldr w0, [x20]
ldr x1, [x19]
mov w2, #0
bl _add_addr_in_paddr
mov w0, #0
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/freescale/fman/extr_fman_memac.c_memac_modify_mac_address.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_neon_rshift_sat_narrow_u
_do_neon_rshift_sat_narrow_u: ## @do_neon_rshift_sat_narrow_u
.cfi_startproc
## %bb.0:
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 _N_EQK@GOTPCREL(%rip), %rax
movq _N_HLF@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq _N_UNS@GOTPCREL(%rip), %rax
orl (%rax), %edx
movq _N_S16@GOTPCREL(%rip), %rax
movq _N_S32@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _NS_DQI@GOTPCREL(%rip), %rax
movq _N_S64@GOTPCREL(%rip), %rsi
orl (%rsi), %ecx
movl (%rax), %esi
movq _N_KEY@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl $2, %edi
callq _neon_check_type
movq _inst@GOTPCREL(%rip), %rdx
movq 8(%rdx), %rsi
movl 32(%rsi), %ecx
testl %ecx, %ecx
je LBB0_1
## %bb.2:
movl %eax, %ebx
shrl $31, %ebx
addl %eax, %ebx
sarl %ebx
testl %ecx, %ecx
setle %al
movl %ebx, %r14d
subl %ecx, %r14d
setb %cl
orb %al, %cl
movzbl %cl, %r15d
leaq L_.str(%rip), %rdi
callq __
movl %r15d, %edi
movl %eax, %esi
callq _constraint
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
xorl %edx, %edx
movl %ebx, %ecx
movl %r14d, %r8d
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _neon_imm_shift ## TAILCALL
LBB0_1:
movq $0, 40(%rsi)
movq _N_MNEM_vqmovun@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _do_neon_qmovun ## TAILCALL
.cfi_endproc
## -- End function
.comm _NS_DQI,4,2 ## @NS_DQI
.comm _N_EQK,4,2 ## @N_EQK
.comm _N_HLF,4,2 ## @N_HLF
.comm _N_UNS,4,2 ## @N_UNS
.comm _N_S16,4,2 ## @N_S16
.comm _N_S32,4,2 ## @N_S32
.comm _N_S64,4,2 ## @N_S64
.comm _N_KEY,4,2 ## @N_KEY
.comm _inst,16,3 ## @inst
.comm _N_MNEM_vqmovun,4,2 ## @N_MNEM_vqmovun
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "immediate out of range"
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _do_neon_rshift_sat_narrow_u
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_neon_rshift_sat_narrow_u
_do_neon_rshift_sat_narrow_u: ; @do_neon_rshift_sat_narrow_u
.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
Lloh0:
adrp x8, _NS_DQI@GOTPAGE
Lloh1:
ldr x8, [x8, _NS_DQI@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _N_EQK@GOTPAGE
Lloh4:
ldr x8, [x8, _N_EQK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _N_HLF@GOTPAGE
Lloh7:
ldr x9, [x9, _N_HLF@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _N_UNS@GOTPAGE
Lloh10:
ldr x10, [x10, _N_UNS@GOTPAGEOFF]
orr w8, w9, w8
Lloh11:
ldr w9, [x10]
orr w2, w8, w9
Lloh12:
adrp x8, _N_S16@GOTPAGE
Lloh13:
ldr x8, [x8, _N_S16@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _N_S32@GOTPAGE
Lloh16:
ldr x9, [x9, _N_S32@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
orr w8, w9, w8
Lloh18:
adrp x9, _N_S64@GOTPAGE
Lloh19:
ldr x9, [x9, _N_S64@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
orr w8, w8, w9
Lloh21:
adrp x9, _N_KEY@GOTPAGE
Lloh22:
ldr x9, [x9, _N_KEY@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
orr w3, w8, w9
mov w0, #2
bl _neon_check_type
Lloh24:
adrp x8, _inst@GOTPAGE
Lloh25:
ldr x8, [x8, _inst@GOTPAGEOFF]
ldr x9, [x8, #8]
ldr w21, [x9, #32]
cbz w21, LBB0_2
; %bb.1:
cmp w0, #0
cinc w8, w0, lt
asr w19, w8, #1
cmp w21, #1
ccmp w19, w21, #0, ge
cset w20, lo
Lloh26:
adrp x0, l_.str@PAGE
Lloh27:
add x0, x0, l_.str@PAGEOFF
bl __
mov x1, x0
mov x0, x20
bl _constraint
Lloh28:
adrp x8, _TRUE@GOTPAGE
Lloh29:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
sub w4, w19, w21
mov w1, #1
mov w2, #0
mov x3, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _neon_imm_shift
LBB0_2:
str xzr, [x9, #40]
Lloh31:
adrp x9, _N_MNEM_vqmovun@GOTPAGE
Lloh32:
ldr x9, [x9, _N_MNEM_vqmovun@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
str w9, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _do_neon_qmovun
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _NS_DQI,4,2 ; @NS_DQI
.comm _N_EQK,4,2 ; @N_EQK
.comm _N_HLF,4,2 ; @N_HLF
.comm _N_UNS,4,2 ; @N_UNS
.comm _N_S16,4,2 ; @N_S16
.comm _N_S32,4,2 ; @N_S32
.comm _N_S64,4,2 ; @N_S64
.comm _N_KEY,4,2 ; @N_KEY
.comm _inst,16,3 ; @inst
.comm _N_MNEM_vqmovun,4,2 ; @N_MNEM_vqmovun
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "immediate out of range"
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _do_neon_rshift_sat_narrow_u
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_neon_rshift_sat_narrow_u.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
movl $163, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
movl $163, %esi
xorl %eax, %eax
callq _printf
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -12(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
jne LBB0_1
jnp LBB0_4
LBB0_1:
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
jbe LBB0_3
## %bb.2:
leaq L_.str.3(%rip), %rdi
jmp LBB0_5
LBB0_4:
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
leaq L_.str.5(%rip), %rdi
jmp LBB0_5
LBB0_3:
leaq L_.str.4(%rip), %rdi
LBB0_5:
movb $2, %al
callq _printf
callq _getchar
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nIngrese el primer n%cmero entero: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "\nIngrese el segundo n%cmero entero: "
L_.str.3: ## @.str.3
.asciz " %.2f > %.2f "
L_.str.4: ## @.str.4
.asciz " %.2f < %.2f "
L_.str.5: ## @.str.5
.asciz " %.2f = %.2f "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w20, #163
str x20, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #20
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
str x20, [sp]
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
ldur s0, [x29, #-20]
ldr s1, [sp, #24]
fcmp s0, s1
b.eq LBB0_3
; %bb.1:
fcvt d0, s0
fcvt d1, s1
b.le LBB0_4
; %bb.2:
stp d0, d1, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_5
LBB0_3:
fcvt d0, s0
fcvt d1, s1
stp d0, d1, [sp]
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_5
LBB0_4:
stp d0, d1, [sp]
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
LBB0_5:
bl _printf
bl _getchar
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nIngrese el primer n%cmero entero: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "\nIngrese el segundo n%cmero entero: "
l_.str.3: ; @.str.3
.asciz " %.2f > %.2f "
l_.str.4: ; @.str.4
.asciz " %.2f < %.2f "
l_.str.5: ; @.str.5
.asciz " %.2f = %.2f "
.subsections_via_symbols
| the_stack_data/68888293.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bitfield_replace
_bitfield_replace: ## @bitfield_replace
.cfi_startproc
## %bb.0:
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 %ecx, %ebx
movl %esi, %r14d
movl %edi, %r15d
movl %esi, %edi
movl %edx, %esi
callq _bitfield_mask
notl %eax
andl %r15d, %eax
movl %r14d, %ecx
shll %cl, %ebx
orl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bitfield_replace
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bitfield_replace
_bitfield_replace: ; @bitfield_replace
.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, x3
mov x20, x1
mov x21, x0
mov x0, x1
mov x1, x2
bl _bitfield_mask
bic w8, w21, w0
lsl w9, w19, w20
orr w0, w8, w9
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 _bitfield_replace
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/bcm/extr_clk-kona.c_bitfield_replace.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bm_shutdown_pool ## -- Begin function bm_shutdown_pool
.p2align 4, 0x90
_bm_shutdown_pool: ## @bm_shutdown_pool
.cfi_startproc
## %bb.0:
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, %r14d
xorl %eax, %eax
callq _get_affine_portal
movq %rax, %rbx
movq _BM_MCC_VERB_CMD_ACQUIRE@GOTPCREL(%rip), %r12
leaq -48(%rbp), %r15
movq _BM_MCR_VERB_ACQUIRE_BUFCOUNT@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _bm_mc_start
movl %r14d, (%rax)
movl (%r12), %esi
orl $1, %esi
movq %rbx, %rdi
callq _bm_mc_commit
movq %rbx, %rdi
movq %r15, %rsi
callq _bm_mc_result_timeout
testl %eax, %eax
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rax
movl (%r13), %ecx
testl %ecx, (%rax)
jne LBB0_1
jmp LBB0_4
LBB0_2:
leaq L_.str(%rip), %rdi
callq _pr_crit
LBB0_4:
xorl %eax, %eax
callq _put_affine_portal
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BM_MCC_VERB_CMD_ACQUIRE,4,2 ## @BM_MCC_VERB_CMD_ACQUIRE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "BMan Acquire Command timedout\n"
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.comm _BM_MCR_VERB_ACQUIRE_BUFCOUNT,4,2 ## @BM_MCR_VERB_ACQUIRE_BUFCOUNT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bm_shutdown_pool ; -- Begin function bm_shutdown_pool
.p2align 2
_bm_shutdown_pool: ; @bm_shutdown_pool
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _get_affine_portal
mov x20, x0
Lloh0:
adrp x21, _BM_MCC_VERB_CMD_ACQUIRE@GOTPAGE
Lloh1:
ldr x21, [x21, _BM_MCC_VERB_CMD_ACQUIRE@GOTPAGEOFF]
Lloh2:
adrp x22, _BM_MCR_VERB_ACQUIRE_BUFCOUNT@GOTPAGE
Lloh3:
ldr x22, [x22, _BM_MCR_VERB_ACQUIRE_BUFCOUNT@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _bm_mc_start
str w19, [x0]
ldr w8, [x21]
orr w1, w8, #0x1
mov x0, x20
bl _bm_mc_commit
add x1, sp, #8
mov x0, x20
bl _bm_mc_result_timeout
cbz w0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr w8, [x8]
ldr w9, [x22]
tst w9, w8
b.ne LBB0_1
b LBB0_4
LBB0_3:
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _pr_crit
LBB0_4:
bl _put_affine_portal
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _BM_MCC_VERB_CMD_ACQUIRE,4,2 ; @BM_MCC_VERB_CMD_ACQUIRE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "BMan Acquire Command timedout\n"
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.comm _BM_MCR_VERB_ACQUIRE_BUFCOUNT,4,2 ; @BM_MCR_VERB_ACQUIRE_BUFCOUNT
.subsections_via_symbols
| AnghaBench/linux/drivers/soc/fsl/qbman/extr_bman.c_bm_shutdown_pool.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wdrtas_unregister_devs
_wdrtas_unregister_devs: ## @wdrtas_unregister_devs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _wdrtas_miscdev@GOTPCREL(%rip), %rdi
callq _misc_deregister
movq _wdrtas_token_get_sensor_state@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _RTAS_UNKNOWN_SERVICE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
movq _wdrtas_tempdev@GOTPCREL(%rip), %rdi
popq %rbp
jmp _misc_deregister ## TAILCALL
.cfi_endproc
## -- End function
.comm _wdrtas_miscdev,4,2 ## @wdrtas_miscdev
.comm _wdrtas_token_get_sensor_state,8,3 ## @wdrtas_token_get_sensor_state
.comm _RTAS_UNKNOWN_SERVICE,8,3 ## @RTAS_UNKNOWN_SERVICE
.comm _wdrtas_tempdev,4,2 ## @wdrtas_tempdev
.no_dead_strip _wdrtas_unregister_devs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wdrtas_unregister_devs
_wdrtas_unregister_devs: ; @wdrtas_unregister_devs
.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, _wdrtas_miscdev@GOTPAGE
Lloh1:
ldr x0, [x0, _wdrtas_miscdev@GOTPAGEOFF]
bl _misc_deregister
Lloh2:
adrp x8, _wdrtas_token_get_sensor_state@GOTPAGE
Lloh3:
ldr x8, [x8, _wdrtas_token_get_sensor_state@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
Lloh5:
adrp x9, _RTAS_UNKNOWN_SERVICE@GOTPAGE
Lloh6:
ldr x9, [x9, _RTAS_UNKNOWN_SERVICE@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh8:
adrp x0, _wdrtas_tempdev@GOTPAGE
Lloh9:
ldr x0, [x0, _wdrtas_tempdev@GOTPAGEOFF]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _misc_deregister
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _wdrtas_miscdev,4,2 ; @wdrtas_miscdev
.comm _wdrtas_token_get_sensor_state,8,3 ; @wdrtas_token_get_sensor_state
.comm _RTAS_UNKNOWN_SERVICE,8,3 ; @RTAS_UNKNOWN_SERVICE
.comm _wdrtas_tempdev,4,2 ; @wdrtas_tempdev
.no_dead_strip _wdrtas_unregister_devs
.subsections_via_symbols
| AnghaBench/linux/drivers/watchdog/extr_wdrtas.c_wdrtas_unregister_devs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function DIALOG_BrowseSymbols
_DIALOG_BrowseSymbols: ## @DIALOG_BrowseSymbols
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movl %edi, %r12d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_STRING_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
leal (%rax,%rax,4), %eax
addl $100, %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq %r13, -56(%rbp)
movq _IDS_SYMBOL_FILES@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq l_.str(%rip), %rdx
leaq -56(%rbp), %rbx
movq %rbx, %rdi
callq _DIALOG_AddFilterItem
movq _IDS_PROGRAMS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq l_.str.1(%rip), %rdx
movq %rbx, %rdi
callq _DIALOG_AddFilterItem
movq _IDS_LIBRARIES_DLL@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq l_.str.2(%rip), %rdx
movq %rbx, %rdi
callq _DIALOG_AddFilterItem
movq _IDS_SYMBOLS_ICO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq l_.str.3(%rip), %rdx
movq %rbx, %rdi
callq _DIALOG_AddFilterItem
movq _IDS_ALL_FILES@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq l_.str.4(%rip), %rdx
movq %rbx, %rdi
callq _DIALOG_AddFilterItem
movl %r12d, %edi
movq %r13, %rsi
movq %r15, %rdx
movl %r14d, %ecx
callq _DIALOG_Browse
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_2
## %bb.1:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_STRING_LEN,4,2 ## @MAX_STRING_LEN
.comm _IDS_SYMBOL_FILES,4,2 ## @IDS_SYMBOL_FILES
.section __TEXT,__const
.p2align 2 ## @.str
l_.str:
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 105 ## 0x69
.long 99 ## 0x63
.long 111 ## 0x6f
.long 59 ## 0x3b
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 101 ## 0x65
.long 120 ## 0x78
.long 101 ## 0x65
.long 59 ## 0x3b
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 100 ## 0x64
.long 108 ## 0x6c
.long 108 ## 0x6c
.long 0 ## 0x0
.comm _IDS_PROGRAMS,4,2 ## @IDS_PROGRAMS
.p2align 2 ## @.str.1
l_.str.1:
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 101 ## 0x65
.long 120 ## 0x78
.long 101 ## 0x65
.long 0 ## 0x0
.comm _IDS_LIBRARIES_DLL,4,2 ## @IDS_LIBRARIES_DLL
.p2align 2 ## @.str.2
l_.str.2:
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 100 ## 0x64
.long 108 ## 0x6c
.long 108 ## 0x6c
.long 0 ## 0x0
.comm _IDS_SYMBOLS_ICO,4,2 ## @IDS_SYMBOLS_ICO
.p2align 2 ## @.str.3
l_.str.3:
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 105 ## 0x69
.long 99 ## 0x63
.long 111 ## 0x6f
.long 0 ## 0x0
.comm _IDS_ALL_FILES,4,2 ## @IDS_ALL_FILES
.p2align 2 ## @.str.4
l_.str.4:
.long 42 ## 0x2a
.long 46 ## 0x2e
.long 42 ## 0x2a
.long 0 ## 0x0
.no_dead_strip _DIALOG_BrowseSymbols
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function DIALOG_BrowseSymbols
_DIALOG_BrowseSymbols: ; @DIALOG_BrowseSymbols
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
sub sp, sp, #16
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _MAX_STRING_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_STRING_LEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add w8, w8, w8, lsl #2
add w8, w8, #100
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x22, x9, x8
mov sp, x22
stur x22, [x29, #-48]
Lloh8:
adrp x8, _IDS_SYMBOL_FILES@GOTPAGE
Lloh9:
ldr x8, [x8, _IDS_SYMBOL_FILES@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
Lloh11:
adrp x2, l_.str@PAGE
Lloh12:
add x2, x2, l_.str@PAGEOFF
sub x0, x29, #48
bl _DIALOG_AddFilterItem
Lloh13:
adrp x8, _IDS_PROGRAMS@GOTPAGE
Lloh14:
ldr x8, [x8, _IDS_PROGRAMS@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
Lloh16:
adrp x2, l_.str.1@PAGE
Lloh17:
add x2, x2, l_.str.1@PAGEOFF
sub x0, x29, #48
bl _DIALOG_AddFilterItem
Lloh18:
adrp x8, _IDS_LIBRARIES_DLL@GOTPAGE
Lloh19:
ldr x8, [x8, _IDS_LIBRARIES_DLL@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
Lloh21:
adrp x2, l_.str.2@PAGE
Lloh22:
add x2, x2, l_.str.2@PAGEOFF
sub x0, x29, #48
bl _DIALOG_AddFilterItem
Lloh23:
adrp x8, _IDS_SYMBOLS_ICO@GOTPAGE
Lloh24:
ldr x8, [x8, _IDS_SYMBOLS_ICO@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
Lloh26:
adrp x2, l_.str.3@PAGE
Lloh27:
add x2, x2, l_.str.3@PAGEOFF
sub x0, x29, #48
bl _DIALOG_AddFilterItem
Lloh28:
adrp x8, _IDS_ALL_FILES@GOTPAGE
Lloh29:
ldr x8, [x8, _IDS_ALL_FILES@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
Lloh31:
adrp x2, l_.str.4@PAGE
Lloh32:
add x2, x2, l_.str.4@PAGEOFF
sub x0, x29, #48
bl _DIALOG_AddFilterItem
mov x0, x21
mov x1, x22
mov x2, x20
mov x3, x19
bl _DIALOG_Browse
ldur x8, [x29, #-40]
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_2
; %bb.1:
sub sp, x29, #32
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MAX_STRING_LEN,4,2 ; @MAX_STRING_LEN
.comm _IDS_SYMBOL_FILES,4,2 ; @IDS_SYMBOL_FILES
.section __TEXT,__const
.p2align 2 ; @.str
l_.str:
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 105 ; 0x69
.long 99 ; 0x63
.long 111 ; 0x6f
.long 59 ; 0x3b
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 101 ; 0x65
.long 120 ; 0x78
.long 101 ; 0x65
.long 59 ; 0x3b
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 100 ; 0x64
.long 108 ; 0x6c
.long 108 ; 0x6c
.long 0 ; 0x0
.comm _IDS_PROGRAMS,4,2 ; @IDS_PROGRAMS
.p2align 2 ; @.str.1
l_.str.1:
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 101 ; 0x65
.long 120 ; 0x78
.long 101 ; 0x65
.long 0 ; 0x0
.comm _IDS_LIBRARIES_DLL,4,2 ; @IDS_LIBRARIES_DLL
.p2align 2 ; @.str.2
l_.str.2:
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 100 ; 0x64
.long 108 ; 0x6c
.long 108 ; 0x6c
.long 0 ; 0x0
.comm _IDS_SYMBOLS_ICO,4,2 ; @IDS_SYMBOLS_ICO
.p2align 2 ; @.str.3
l_.str.3:
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 105 ; 0x69
.long 99 ; 0x63
.long 111 ; 0x6f
.long 0 ; 0x0
.comm _IDS_ALL_FILES,4,2 ; @IDS_ALL_FILES
.p2align 2 ; @.str.4
l_.str.4:
.long 42 ; 0x2a
.long 46 ; 0x2e
.long 42 ; 0x2a
.long 0 ; 0x0
.no_dead_strip _DIALOG_BrowseSymbols
.subsections_via_symbols
| AnghaBench/reactos/base/shell/progman/extr_dialog.c_DIALOG_BrowseSymbols.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
testb $3, -4(%rbp)
leaq L_.str.2(%rip), %rax
leaq L_.str.3(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " Enter the Year: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\n It is a Leap Year"
L_.str.3: ## @.str.3
.asciz "It is Not a Leap Year"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
Lloh4:
adrp x9, l_.str.3@PAGE
Lloh5:
add x9, x9, l_.str.3@PAGEOFF
Lloh6:
adrp x10, l_.str.2@PAGE
Lloh7:
add x10, x10, l_.str.2@PAGEOFF
tst w8, #0x3
csel x0, x10, x9, eq
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " Enter the Year: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\n It is a Leap Year"
l_.str.3: ; @.str.3
.asciz "It is Not a Leap Year"
.subsections_via_symbols
| the_stack_data/168892050.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfs_close ## -- Begin function nfs_close
.p2align 4, 0x90
_nfs_close: ## @nfs_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _free
movq $0, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _debug,8,3 ## @debug
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfs_close ; -- Begin function nfs_close
.p2align 2
_nfs_close: ; @nfs_close
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _free
str xzr, [x19]
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
.comm _debug,8,3 ; @debug
.subsections_via_symbols
| AnghaBench/freebsd/stand/libsa/extr_nfs.c_nfs_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function search_nonuse_irq
_search_nonuse_irq: ## @search_nonuse_irq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _vrc4171_irq_mask@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
testb $1, %dl
jne LBB0_1
## %bb.4:
testb $2, %dl
jne LBB0_5
## %bb.6:
testb $4, %dl
jne LBB0_7
## %bb.8:
testb $8, %dl
jne LBB0_9
## %bb.10:
testb $16, %dl
jne LBB0_11
## %bb.12:
testb $32, %dl
jne LBB0_13
## %bb.14:
testb $64, %dl
jne LBB0_15
## %bb.16:
testb $-128, %dl
jne LBB0_17
## %bb.18:
testl $256, %edx ## imm = 0x100
jne LBB0_19
## %bb.20:
testl $512, %edx ## imm = 0x200
jne LBB0_21
## %bb.22:
testl $1024, %edx ## imm = 0x400
jne LBB0_23
## %bb.24:
testl $2048, %edx ## imm = 0x800
jne LBB0_25
## %bb.26:
testl $4096, %edx ## imm = 0x1000
jne LBB0_27
## %bb.28:
testl $8192, %edx ## imm = 0x2000
jne LBB0_29
## %bb.30:
testl $16384, %edx ## imm = 0x4000
jne LBB0_31
## %bb.32:
movl $-1, %eax
testl $32768, %edx ## imm = 0x8000
je LBB0_3
## %bb.33:
movl $-32769, %esi ## imm = 0xFFFF7FFF
movl $15, %eax
jmp LBB0_2
LBB0_1:
movl $-2, %esi
xorl %eax, %eax
jmp LBB0_2
LBB0_5:
movl $-3, %esi
movl $1, %eax
jmp LBB0_2
LBB0_7:
movl $-5, %esi
movl $2, %eax
jmp LBB0_2
LBB0_9:
movl $-9, %esi
movl $3, %eax
jmp LBB0_2
LBB0_11:
movl $-17, %esi
movl $4, %eax
jmp LBB0_2
LBB0_13:
movl $-33, %esi
movl $5, %eax
jmp LBB0_2
LBB0_15:
movl $-65, %esi
movl $6, %eax
jmp LBB0_2
LBB0_17:
movl $-129, %esi
movl $7, %eax
jmp LBB0_2
LBB0_19:
movl $-257, %esi ## imm = 0xFEFF
movl $8, %eax
jmp LBB0_2
LBB0_21:
movl $-513, %esi ## imm = 0xFDFF
movl $9, %eax
jmp LBB0_2
LBB0_23:
movl $-1025, %esi ## imm = 0xFBFF
movl $10, %eax
jmp LBB0_2
LBB0_25:
movl $-2049, %esi ## imm = 0xF7FF
movl $11, %eax
jmp LBB0_2
LBB0_27:
movl $-4097, %esi ## imm = 0xEFFF
movl $12, %eax
jmp LBB0_2
LBB0_29:
movl $-8193, %esi ## imm = 0xDFFF
movl $13, %eax
jmp LBB0_2
LBB0_31:
movl $-16385, %esi ## imm = 0xBFFF
movl $14, %eax
LBB0_2:
andl %esi, %edx
movl %edx, (%rcx)
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _vrc4171_irq_mask,4,2 ## @vrc4171_irq_mask
.no_dead_strip _search_nonuse_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function search_nonuse_irq
_search_nonuse_irq: ; @search_nonuse_irq
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _vrc4171_irq_mask@GOTPAGE
Lloh1:
ldr x8, [x8, _vrc4171_irq_mask@GOTPAGEOFF]
ldr w9, [x8]
tbnz w9, #0, LBB0_17
; %bb.1:
tbnz w9, #1, LBB0_18
; %bb.2:
tbnz w9, #2, LBB0_19
; %bb.3:
tbnz w9, #3, LBB0_20
; %bb.4:
tbnz w9, #4, LBB0_21
; %bb.5:
tbnz w9, #5, LBB0_22
; %bb.6:
tbnz w9, #6, LBB0_23
; %bb.7:
tbnz w9, #7, LBB0_24
; %bb.8:
tbnz w9, #8, LBB0_25
; %bb.9:
tbnz w9, #9, LBB0_26
; %bb.10:
tbnz w9, #10, LBB0_27
; %bb.11:
tbnz w9, #11, LBB0_28
; %bb.12:
tbnz w9, #12, LBB0_29
; %bb.13:
tbnz w9, #13, LBB0_30
; %bb.14:
tbnz w9, #14, LBB0_31
; %bb.15:
tbnz w9, #15, LBB0_32
; %bb.16:
mov w0, #-1
ret
LBB0_17:
mov w0, #0
mov w10, #-2
b LBB0_33
LBB0_18:
mov w10, #-3
mov w0, #1
b LBB0_33
LBB0_19:
mov w10, #-5
mov w0, #2
b LBB0_33
LBB0_20:
mov w10, #-9
mov w0, #3
b LBB0_33
LBB0_21:
mov w10, #-17
mov w0, #4
b LBB0_33
LBB0_22:
mov w10, #-33
mov w0, #5
b LBB0_33
LBB0_23:
mov w10, #-65
mov w0, #6
b LBB0_33
LBB0_24:
mov w10, #-129
mov w0, #7
b LBB0_33
LBB0_25:
mov w10, #-257
mov w0, #8
b LBB0_33
LBB0_26:
mov w10, #-513
mov w0, #9
b LBB0_33
LBB0_27:
mov w10, #-1025
mov w0, #10
b LBB0_33
LBB0_28:
mov w10, #-2049
mov w0, #11
b LBB0_33
LBB0_29:
mov w10, #-4097
mov w0, #12
b LBB0_33
LBB0_30:
mov w10, #-8193
mov w0, #13
b LBB0_33
LBB0_31:
mov w10, #-16385
mov w0, #14
b LBB0_33
LBB0_32:
mov w10, #-32769
mov w0, #15
LBB0_33:
and w9, w9, w10
str w9, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _vrc4171_irq_mask,4,2 ; @vrc4171_irq_mask
.no_dead_strip _search_nonuse_irq
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/pcmcia/extr_vrc4171_card.c_search_nonuse_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _codet ## -- Begin function codet
.p2align 4, 0x90
_codet: ## @codet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $1, %r15d
subq %rdi, %r15
movq _need@GOTPCREL(%rip), %r12
movq _turn@GOTPCREL(%rip), %r13
xorl %r14d, %r14d
jmp LBB0_1
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
incq _val(%rip)
imull $-858993459, %r14d, %eax ## imm = 0xCCCCCCCD
rorl %eax
cmpl $429496729, %eax ## imm = 0x19999999
jbe LBB0_7
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl %r15d, (%r13)
movl $0, (%r12,%rbx,4)
incl %r14d
cmpl $200, %r14d
je LBB0_9
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_5 Depth 2
movl $1, (%r12,%rbx,4)
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
mfence
cmpl $0, (%r12,%r15,4)
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
mfence
movslq (%r13), %rax
cmpq %rbx, %rax
je LBB0_2
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl $0, (%r12,%rbx,4)
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _sched_yield
movslq (%r13), %rax
cmpq %rbx, %rax
jne LBB0_5
jmp LBB0_1
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq _val(%rip), %rdx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_8
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
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 %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
leaq _codet(%rip), %rbx
leaq -32(%rbp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
xorl %ecx, %ecx
callq _pthread_create
leaq -24(%rbp), %rdi
movl $1, %ecx
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
movq -32(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movq -24(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movq _val(%rip), %rsi
leaq L_.str.1(%rip), %rdi
movl $400, %edx ## imm = 0x190
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _val ## @val
.zerofill __DATA,__common,_val,8,3
.comm _need,8,2 ## @need
.comm _turn,4,2 ## @turn
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ID: %zu -- VAL: %ld\n"
L_.str.1: ## @.str.1
.asciz "%ld %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _codet ; -- Begin function codet
.p2align 2
_codet: ; @codet
.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, x0
mov w21, #0
mov w22, #1
sub x23, x22, x0
Lloh0:
adrp x24, _need@GOTPAGE
Lloh1:
ldr x24, [x24, _need@GOTPAGEOFF]
adrp x25, _val@PAGE
mov w26, #52429
movk w26, #52428, lsl #16
mov w27, #39321
movk w27, #6553, lsl #16
Lloh2:
adrp x28, _turn@GOTPAGE
Lloh3:
ldr x28, [x28, _turn@GOTPAGEOFF]
Lloh4:
adrp x20, l_.str@PAGE
Lloh5:
add x20, x20, l_.str@PAGEOFF
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25, _val@PAGEOFF]
add x8, x8, #1
str x8, [x25, _val@PAGEOFF]
mul w8, w21, w26
ror w8, w8, #1
cmp w8, w27
b.ls LBB0_8
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
str w23, [x28]
str wzr, [x24, x19, lsl #2]
add w21, w21, #1
cmp w21, #200
b.eq LBB0_9
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_7 Depth 2
str w22, [x24, x19, lsl #2]
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
dmb ish
ldr w8, [x24, x23, lsl #2]
cbz w8, LBB0_1
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
dmb ish
ldrsw x8, [x28]
cmp x8, x19
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
str wzr, [x24, x19, lsl #2]
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
bl _sched_yield
ldrsw x8, [x28]
cmp x8, x19
b.ne LBB0_7
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25, _val@PAGEOFF]
stp x19, x8, [sp]
mov x0, x20
bl _printf
b LBB0_2
LBB0_9:
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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.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
Lloh6:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
stur x8, [x29, #-24]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
Lloh9:
adrp x19, _codet@PAGE
Lloh10:
add x19, x19, _codet@PAGEOFF
add x20, sp, #24
add x0, sp, #24
mov x1, #0
mov x2, x19
mov x3, #0
bl _pthread_create
add x0, x20, #8
mov x1, #0
mov x2, x19
mov w3, #1
bl _pthread_create
ldr x0, [sp, #24]
mov x1, #0
bl _pthread_join
ldr x0, [sp, #32]
mov x1, #0
bl _pthread_join
Lloh11:
adrp x8, _val@PAGE
Lloh12:
ldr x8, [x8, _val@PAGEOFF]
mov w9, #400
stp x8, x9, [sp]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x8, [x29, #-24]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_2
; %bb.1:
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
LBB1_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdr Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.globl _val ; @val
.zerofill __DATA,__common,_val,8,3
.comm _need,8,2 ; @need
.comm _turn,4,2 ; @turn
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ID: %zu -- VAL: %ld\n"
l_.str.1: ; @.str.1
.asciz "%ld %d\n"
.subsections_via_symbols
| the_stack_data/145617.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _executeChildProcess ## -- Begin function executeChildProcess
.p2align 4, 0x90
_executeChildProcess: ## @executeChildProcess
.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 _getppid
movl %eax, -12(%rbp)
leaq -12(%rbp), %rsi
movl $4, %edx
movl %ebx, %edi
callq _write
cmpl $4, %eax
jne LBB0_1
## %bb.3:
movl %ebx, %edi
callq _close
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
callq _executeChildProcess.cold.1
jmp LBB0_2
.cfi_endproc
## -- End function
.globl _executeParentProcess ## -- Begin function executeParentProcess
.p2align 4, 0x90
_executeParentProcess: ## @executeParentProcess
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movl %edi, %r15d
movl $-1, -28(%rbp)
movl $-1, -32(%rbp)
leaq -28(%rbp), %rsi
movl $4, %edx
movl %r14d, %edi
callq _read
cmpl $4, %eax
jne LBB1_1
## %bb.2:
movl %r14d, %edi
callq _close
leaq -32(%rbp), %r14
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl %r15d, %edi
movq %r14, %rsi
xorl %edx, %edx
callq _waitpid
movl %eax, %ebx
testl %eax, %eax
jns LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
callq ___error
cmpl $4, (%rax)
je LBB1_3
LBB1_5:
cmpl %r15d, %ebx
jne LBB1_6
## %bb.7:
cmpl $0, -32(%rbp)
jne LBB1_8
## %bb.9:
callq _getpid
movl -28(%rbp), %edx
leaq L_.str.5(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
callq _getpid
cmpl -28(%rbp), %eax
jne LBB1_10
LBB1_11:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB1_1:
callq _executeParentProcess.cold.4
jmp LBB1_11
LBB1_6:
callq _executeParentProcess.cold.3
jmp LBB1_11
LBB1_8:
callq _executeParentProcess.cold.2
jmp LBB1_11
LBB1_10:
callq _executeParentProcess.cold.1
jmp LBB1_11
.cfi_endproc
## -- End function
.globl _testFork ## -- Begin function testFork
.p2align 4, 0x90
_testFork: ## @testFork
.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 $64, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq -32(%rbp), %rdi
callq _pipe
testl %eax, %eax
jne LBB2_1
## %bb.4:
callq _fork
testl %eax, %eax
js LBB2_5
## %bb.6:
je LBB2_7
## %bb.10:
movl %eax, %ebx
movl -28(%rbp), %edi
callq _close
movl -32(%rbp), %esi
movl %ebx, %edi
callq _executeParentProcess
LBB2_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB2_11
## %bb.3:
addq $64, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB2_7:
testl %r14d, %r14d
je LBB2_9
## %bb.8:
leaq -48(%rbp), %rdi
leaq -80(%rbp), %rsi
leaq -32(%rbp), %rcx
movq %rcx, %rdx
callq _testFork.cold.2
jmp LBB2_2
LBB2_1:
callq _testFork.cold.3
jmp LBB2_2
LBB2_5:
callq _testFork.cold.1
jmp LBB2_2
LBB2_11:
callq ___stack_chk_fail
LBB2_9:
movl -32(%rbp), %edi
callq _close
movl -28(%rbp), %edi
callq _executeChildProcess
xorl %edi, %edi
callq __exit
.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 %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq (%rsi), %rax
movq %rax, _myExe(%rip)
cmpl $2, %edi
jne LBB3_8
## %bb.1:
movq %rsi, %rbx
callq ___error
movl $0, (%rax)
movq 8(%rbx), %rdi
leaq -24(%rbp), %rsi
movl $10, %edx
callq _strtol
movq %rax, %rbx
movq -24(%rbp), %rax
cmpb $0, (%rax)
jne LBB3_4
## %bb.2:
testl %ebx, %ebx
js LBB3_4
## %bb.3:
callq ___error
cmpl $0, (%rax)
jne LBB3_4
## %bb.5:
callq _getppid
movl %eax, -12(%rbp)
leaq -12(%rbp), %rsi
movl $4, %edx
movl %ebx, %edi
callq _write
cmpl $4, %eax
jne LBB3_6
## %bb.7:
movl %ebx, %edi
callq _close
jmp LBB3_9
LBB3_8:
xorl %edi, %edi
callq _testFork
movl $1, %edi
callq _testFork
LBB3_9:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
LBB3_4:
callq _main.cold.2
jmp LBB3_9
LBB3_6:
callq _main.cold.1
jmp LBB3_9
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function executeChildProcess.cold.1
_executeChildProcess.cold.1: ## @executeChildProcess.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__.executeChildProcess(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $47
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function executeParentProcess.cold.1
_executeParentProcess.cold.1: ## @executeParentProcess.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__.executeParentProcess(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.6(%rip), %rcx
pushq $62
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function executeParentProcess.cold.2
_executeParentProcess.cold.2: ## @executeParentProcess.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__.executeParentProcess(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
pushq $60
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function executeParentProcess.cold.3
_executeParentProcess.cold.3: ## @executeParentProcess.cold.3
.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__.executeParentProcess(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
pushq $59
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function executeParentProcess.cold.4
_executeParentProcess.cold.4: ## @executeParentProcess.cold.4
.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__.executeParentProcess(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
pushq $56
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function testFork.cold.1
_testFork.cold.1: ## @testFork.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__.testFork(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.8(%rip), %rcx
pushq $71
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function testFork.cold.2
_testFork.cold.2: ## @testFork.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
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %r14
movq %rsi, %rbx
movq _myExe(%rip), %rax
movq %rax, (%rsi)
movq %rdi, 8(%rsi)
andq $0, 16(%rsi)
movl 4(%rdx), %ecx
leaq L_.str.9(%rip), %rdx
pushq $16
popq %rsi
xorl %eax, %eax
callq _snprintf
movl (%r14), %edi
callq _close
movq _myExe(%rip), %rdi
movq %rbx, %rsi
callq _execv
leaq L___func__.testFork(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.10(%rip), %rcx
pushq $81
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function testFork.cold.3
_testFork.cold.3: ## @testFork.cold.3
.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__.testFork(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.7(%rip), %rcx
pushq $69
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.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__.executeChildProcess(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $47
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.2
_main.cold.2: ## @main.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__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.11(%rip), %rcx
pushq $105
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.globl _myExe ## @myExe
.zerofill __DATA,__common,_myExe,8,3
.section __TEXT,__cstring,cstring_literals
L___func__.executeChildProcess: ## @__func__.executeChildProcess
.asciz "executeChildProcess"
L_.str: ## @.str
.asciz "187643132.c"
L_.str.1: ## @.str.1
.asciz "res == sizeof(my_ppid)"
L___func__.executeParentProcess: ## @__func__.executeParentProcess
.asciz "executeParentProcess"
L_.str.2: ## @.str.2
.asciz "res == sizeof(reported_pid)"
L_.str.3: ## @.str.3
.asciz "res == child"
L_.str.4: ## @.str.4
.asciz "status == 0"
L_.str.5: ## @.str.5
.asciz "my pid %d, ppid reported from child: %d\n"
L_.str.6: ## @.str.6
.asciz "(int)getpid() == reported_pid"
L___func__.testFork: ## @__func__.testFork
.asciz "testFork"
L_.str.7: ## @.str.7
.asciz "res == 0"
L_.str.8: ## @.str.8
.asciz "child >= 0"
L_.str.9: ## @.str.9
.asciz "%d"
L_.str.10: ## @.str.10
.asciz "0"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.11: ## @.str.11
.asciz "*endptr == 0 && pip >= 0 && 0 == errno"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _executeChildProcess ; -- Begin function executeChildProcess
.p2align 2
_executeChildProcess: ; @executeChildProcess
.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
bl _getppid
str w0, [sp, #12]
add x1, sp, #12
mov x0, x19
mov w2, #4
bl _write
cmp w0, #4
b.ne LBB0_2
; %bb.1:
mov x0, x19
bl _close
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_2:
bl _executeChildProcess.cold.1
.cfi_endproc
; -- End function
.globl _executeParentProcess ; -- Begin function executeParentProcess
.p2align 2
_executeParentProcess: ; @executeParentProcess
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
mov w8, #-1
stur w8, [x29, #-20]
str w8, [sp, #24]
sub x1, x29, #20
mov x0, x20
mov w2, #4
bl _read
cmp w0, #4
b.ne LBB1_8
; %bb.1:
mov x0, x20
bl _close
LBB1_2: ; =>This Inner Loop Header: Depth=1
add x1, sp, #24
mov x0, x19
mov w2, #0
bl _waitpid
mov x20, x0
tbz w0, #31, LBB1_4
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
bl ___error
ldr w8, [x0]
cmp w8, #4
b.eq LBB1_2
LBB1_4:
cmp w20, w19
b.ne LBB1_9
; %bb.5:
ldr w8, [sp, #24]
cbnz w8, LBB1_10
; %bb.6:
bl _getpid
; kill: def $w0 killed $w0 def $x0
ldur w8, [x29, #-20]
stp x0, x8, [sp]
Lloh0:
adrp x0, l_.str.5@PAGE
Lloh1:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
bl _getpid
ldur w8, [x29, #-20]
cmp w0, w8
b.ne LBB1_11
; %bb.7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB1_8:
bl _executeParentProcess.cold.4
LBB1_9:
bl _executeParentProcess.cold.3
LBB1_10:
bl _executeParentProcess.cold.2
LBB1_11:
bl _executeParentProcess.cold.1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _testFork ; -- Begin function testFork
.p2align 2
_testFork: ; @testFork
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
mov x19, x0
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-24]
sub x0, x29, #32
bl _pipe
cbnz w0, LBB2_5
; %bb.1:
bl _fork
tbnz w0, #31, LBB2_6
; %bb.2:
mov x20, x0
cbz w0, LBB2_7
; %bb.3:
ldur w0, [x29, #-28]
bl _close
ldur w1, [x29, #-32]
mov x0, x20
bl _executeParentProcess
ldur x8, [x29, #-24]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_9
; %bb.4:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB2_5:
bl _testFork.cold.3
LBB2_6:
bl _testFork.cold.1
LBB2_7:
cbnz w19, LBB2_10
; %bb.8:
ldur w0, [x29, #-32]
bl _close
ldur w0, [x29, #-28]
bl _executeChildProcess
mov w0, #0
bl __exit
LBB2_9:
bl ___stack_chk_fail
LBB2_10:
add x0, sp, #32
add x1, sp, #8
sub x2, x29, #32
sub x3, x29, #32
bl _testFork.cold.2
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.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
ldr x8, [x1]
adrp x9, _myExe@PAGE
str x8, [x9, _myExe@PAGEOFF]
cmp w0, #2
b.ne LBB3_6
; %bb.1:
mov x19, x1
bl ___error
str wzr, [x0]
ldr x0, [x19, #8]
mov x1, sp
mov w2, #10
bl _strtol
ldr x8, [sp]
ldrb w8, [x8]
cbnz w8, LBB3_8
; %bb.2:
mov x19, x0
tbnz w19, #31, LBB3_8
; %bb.3:
bl ___error
ldr w8, [x0]
cbnz w8, LBB3_8
; %bb.4:
bl _getppid
str w0, [sp, #12]
add x1, sp, #12
mov x0, x19
mov w2, #4
bl _write
cmp w0, #4
b.ne LBB3_9
; %bb.5:
mov x0, x19
bl _close
b LBB3_7
LBB3_6:
mov w0, #0
bl _testFork
mov w0, #1
bl _testFork
LBB3_7:
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
LBB3_8:
bl _main.cold.2
LBB3_9:
bl _main.cold.1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function executeChildProcess.cold.1
_executeChildProcess.cold.1: ; @executeChildProcess.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__.executeChildProcess@PAGE
Lloh9:
add x0, x0, l___func__.executeChildProcess@PAGEOFF
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
Lloh12:
adrp x3, l_.str.1@PAGE
Lloh13:
add x3, x3, l_.str.1@PAGEOFF
mov w2, #47
bl ___assert_rtn
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function executeParentProcess.cold.1
_executeParentProcess.cold.1: ; @executeParentProcess.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
Lloh14:
adrp x0, l___func__.executeParentProcess@PAGE
Lloh15:
add x0, x0, l___func__.executeParentProcess@PAGEOFF
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
Lloh18:
adrp x3, l_.str.6@PAGE
Lloh19:
add x3, x3, l_.str.6@PAGEOFF
mov w2, #62
bl ___assert_rtn
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function executeParentProcess.cold.2
_executeParentProcess.cold.2: ; @executeParentProcess.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
Lloh20:
adrp x0, l___func__.executeParentProcess@PAGE
Lloh21:
add x0, x0, l___func__.executeParentProcess@PAGEOFF
Lloh22:
adrp x1, l_.str@PAGE
Lloh23:
add x1, x1, l_.str@PAGEOFF
Lloh24:
adrp x3, l_.str.4@PAGE
Lloh25:
add x3, x3, l_.str.4@PAGEOFF
mov w2, #60
bl ___assert_rtn
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function executeParentProcess.cold.3
_executeParentProcess.cold.3: ; @executeParentProcess.cold.3
.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
Lloh26:
adrp x0, l___func__.executeParentProcess@PAGE
Lloh27:
add x0, x0, l___func__.executeParentProcess@PAGEOFF
Lloh28:
adrp x1, l_.str@PAGE
Lloh29:
add x1, x1, l_.str@PAGEOFF
Lloh30:
adrp x3, l_.str.3@PAGE
Lloh31:
add x3, x3, l_.str.3@PAGEOFF
mov w2, #59
bl ___assert_rtn
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function executeParentProcess.cold.4
_executeParentProcess.cold.4: ; @executeParentProcess.cold.4
.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
Lloh32:
adrp x0, l___func__.executeParentProcess@PAGE
Lloh33:
add x0, x0, l___func__.executeParentProcess@PAGEOFF
Lloh34:
adrp x1, l_.str@PAGE
Lloh35:
add x1, x1, l_.str@PAGEOFF
Lloh36:
adrp x3, l_.str.2@PAGE
Lloh37:
add x3, x3, l_.str.2@PAGEOFF
mov w2, #56
bl ___assert_rtn
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function testFork.cold.1
_testFork.cold.1: ; @testFork.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
Lloh38:
adrp x0, l___func__.testFork@PAGE
Lloh39:
add x0, x0, l___func__.testFork@PAGEOFF
Lloh40:
adrp x1, l_.str@PAGE
Lloh41:
add x1, x1, l_.str@PAGEOFF
Lloh42:
adrp x3, l_.str.8@PAGE
Lloh43:
add x3, x3, l_.str.8@PAGEOFF
mov w2, #71
bl ___assert_rtn
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function testFork.cold.2
_testFork.cold.2: ; @testFork.cold.2
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x1
adrp x21, _myExe@PAGE
ldr x8, [x21, _myExe@PAGEOFF]
stp x8, x0, [x1]
str xzr, [x1, #16]
ldr w8, [x2, #4]
str x8, [sp]
Lloh44:
adrp x2, l_.str.9@PAGE
Lloh45:
add x2, x2, l_.str.9@PAGEOFF
mov w1, #16
bl _snprintf
ldr w0, [x19]
bl _close
ldr x0, [x21, _myExe@PAGEOFF]
mov x1, x20
bl _execv
Lloh46:
adrp x0, l___func__.testFork@PAGE
Lloh47:
add x0, x0, l___func__.testFork@PAGEOFF
Lloh48:
adrp x1, l_.str@PAGE
Lloh49:
add x1, x1, l_.str@PAGEOFF
Lloh50:
adrp x3, l_.str.10@PAGE
Lloh51:
add x3, x3, l_.str.10@PAGEOFF
mov w2, #81
bl ___assert_rtn
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function testFork.cold.3
_testFork.cold.3: ; @testFork.cold.3
.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
Lloh52:
adrp x0, l___func__.testFork@PAGE
Lloh53:
add x0, x0, l___func__.testFork@PAGEOFF
Lloh54:
adrp x1, l_.str@PAGE
Lloh55:
add x1, x1, l_.str@PAGEOFF
Lloh56:
adrp x3, l_.str.7@PAGE
Lloh57:
add x3, x3, l_.str.7@PAGEOFF
mov w2, #69
bl ___assert_rtn
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.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
Lloh58:
adrp x0, l___func__.executeChildProcess@PAGE
Lloh59:
add x0, x0, l___func__.executeChildProcess@PAGEOFF
Lloh60:
adrp x1, l_.str@PAGE
Lloh61:
add x1, x1, l_.str@PAGEOFF
Lloh62:
adrp x3, l_.str.1@PAGE
Lloh63:
add x3, x3, l_.str.1@PAGEOFF
mov w2, #47
bl ___assert_rtn
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh58, Lloh59
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.2
_main.cold.2: ; @main.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
Lloh64:
adrp x0, l___func__.main@PAGE
Lloh65:
add x0, x0, l___func__.main@PAGEOFF
Lloh66:
adrp x1, l_.str@PAGE
Lloh67:
add x1, x1, l_.str@PAGEOFF
Lloh68:
adrp x3, l_.str.11@PAGE
Lloh69:
add x3, x3, l_.str.11@PAGEOFF
mov w2, #105
bl ___assert_rtn
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.cfi_endproc
; -- End function
.globl _myExe ; @myExe
.zerofill __DATA,__common,_myExe,8,3
.section __TEXT,__cstring,cstring_literals
l___func__.executeChildProcess: ; @__func__.executeChildProcess
.asciz "executeChildProcess"
l_.str: ; @.str
.asciz "187643132.c"
l_.str.1: ; @.str.1
.asciz "res == sizeof(my_ppid)"
l___func__.executeParentProcess: ; @__func__.executeParentProcess
.asciz "executeParentProcess"
l_.str.2: ; @.str.2
.asciz "res == sizeof(reported_pid)"
l_.str.3: ; @.str.3
.asciz "res == child"
l_.str.4: ; @.str.4
.asciz "status == 0"
l_.str.5: ; @.str.5
.asciz "my pid %d, ppid reported from child: %d\n"
l_.str.6: ; @.str.6
.asciz "(int)getpid() == reported_pid"
l___func__.testFork: ; @__func__.testFork
.asciz "testFork"
l_.str.7: ; @.str.7
.asciz "res == 0"
l_.str.8: ; @.str.8
.asciz "child >= 0"
l_.str.9: ; @.str.9
.asciz "%d"
l_.str.10: ; @.str.10
.asciz "0"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.11: ; @.str.11
.asciz "*endptr == 0 && pip >= 0 && 0 == errno"
.subsections_via_symbols
| the_stack_data/187643132.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rsi_disconnect
_rsi_disconnect: ## @rsi_disconnect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _sdio_get_drvdata
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r14
movq 8(%rax), %r15
leaq 4(%r15), %rdi
callq _rsi_kill_thread
movq %rbx, %rdi
callq _sdio_claim_host
movq %rbx, %rdi
callq _sdio_release_irq
movq %rbx, %rdi
callq _sdio_release_host
movl $10, %edi
callq _mdelay
movq %r14, %rdi
callq _rsi_mac80211_detach
movl $10, %edi
callq _mdelay
movq _CONFIG_RSI_COEX@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _IS_ENABLED
testq %rax, %rax
je LBB0_5
## %bb.2:
movq (%r14), %rax
cmpl $2, (%rax)
jl LBB0_5
## %bb.3:
movq 8(%rax), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.4:
movq _rsi_bt_ops@GOTPCREL(%rip), %rax
callq *(%rax)
movq (%r14), %rax
movq $0, 8(%rax)
LBB0_5:
movq %r14, %rdi
callq _rsi_reset_chip
movq %rbx, %rdi
callq _sdio_claim_host
movq %rbx, %rdi
callq _rsi_reset_card
movq %rbx, %rdi
callq _sdio_disable_func
movq %rbx, %rdi
callq _sdio_release_host
movl $2, (%r15)
movq %r14, %rdi
callq _rsi_91x_deinit
movq _ERR_ZONE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _rsi_dbg ## TAILCALL
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CONFIG_RSI_COEX,4,2 ## @CONFIG_RSI_COEX
.comm _rsi_bt_ops,8,3 ## @rsi_bt_ops
.comm _ERR_ZONE,4,2 ## @ERR_ZONE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "##### RSI SDIO device disconnected #####\n"
.no_dead_strip _rsi_disconnect
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rsi_disconnect
_rsi_disconnect: ; @rsi_disconnect
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
bl _sdio_get_drvdata
cbz x0, LBB0_6
; %bb.1:
mov x19, x0
ldr x21, [x0, #8]
add x0, x21, #4
bl _rsi_kill_thread
mov x0, x20
bl _sdio_claim_host
mov x0, x20
bl _sdio_release_irq
mov x0, x20
bl _sdio_release_host
mov w0, #10
bl _mdelay
mov x0, x19
bl _rsi_mac80211_detach
mov w0, #10
bl _mdelay
Lloh0:
adrp x8, _CONFIG_RSI_COEX@GOTPAGE
Lloh1:
ldr x8, [x8, _CONFIG_RSI_COEX@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _IS_ENABLED
cbz x0, LBB0_5
; %bb.2:
ldr x8, [x19]
ldr w9, [x8]
cmp w9, #2
b.lt LBB0_5
; %bb.3:
ldr x0, [x8, #8]
cbz x0, LBB0_5
; %bb.4:
Lloh3:
adrp x8, _rsi_bt_ops@GOTPAGE
Lloh4:
ldr x8, [x8, _rsi_bt_ops@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
blr x8
ldr x8, [x19]
str xzr, [x8, #8]
LBB0_5:
mov x0, x19
bl _rsi_reset_chip
mov x0, x20
bl _sdio_claim_host
mov x0, x20
bl _rsi_reset_card
mov x0, x20
bl _sdio_disable_func
mov x0, x20
bl _sdio_release_host
mov w8, #2
str w8, [x21]
mov x0, x19
bl _rsi_91x_deinit
Lloh6:
adrp x8, _ERR_ZONE@GOTPAGE
Lloh7:
ldr x8, [x8, _ERR_ZONE@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
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 _rsi_dbg
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _CONFIG_RSI_COEX,4,2 ; @CONFIG_RSI_COEX
.comm _rsi_bt_ops,8,3 ; @rsi_bt_ops
.comm _ERR_ZONE,4,2 ; @ERR_ZONE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "##### RSI SDIO device disconnected #####\n"
.no_dead_strip _rsi_disconnect
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/rsi/extr_rsi_91x_sdio.c_rsi_disconnect.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ts_bgw_policy_reorder_insert ## -- Begin function ts_bgw_policy_reorder_insert
.p2align 4, 0x90
_ts_bgw_policy_reorder_insert: ## @ts_bgw_policy_reorder_insert
.cfi_startproc
## %bb.0:
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
xorl %eax, %eax
callq _ts_catalog_get
movq _BGW_POLICY_REORDER@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _catalog_get_table_id
movq _RowExclusiveLock@GOTPCREL(%rip), %r15
movl (%r15), %esi
movl %eax, %edi
callq _heap_open
movl %eax, %ebx
movl %eax, %edi
movq %r14, %rsi
callq _ts_bgw_policy_reorder_insert_with_relation
movl (%r15), %esi
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _heap_close ## TAILCALL
.cfi_endproc
## -- End function
.comm _BGW_POLICY_REORDER,4,2 ## @BGW_POLICY_REORDER
.comm _RowExclusiveLock,4,2 ## @RowExclusiveLock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ts_bgw_policy_reorder_insert ; -- Begin function ts_bgw_policy_reorder_insert
.p2align 2
_ts_bgw_policy_reorder_insert: ; @ts_bgw_policy_reorder_insert
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _ts_catalog_get
Lloh0:
adrp x8, _BGW_POLICY_REORDER@GOTPAGE
Lloh1:
ldr x8, [x8, _BGW_POLICY_REORDER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _catalog_get_table_id
Lloh3:
adrp x21, _RowExclusiveLock@GOTPAGE
Lloh4:
ldr x21, [x21, _RowExclusiveLock@GOTPAGEOFF]
ldr w1, [x21]
bl _heap_open
mov x20, x0
mov x1, x19
bl _ts_bgw_policy_reorder_insert_with_relation
ldr w1, [x21]
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 _heap_close
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BGW_POLICY_REORDER,4,2 ; @BGW_POLICY_REORDER
.comm _RowExclusiveLock,4,2 ; @RowExclusiveLock
.subsections_via_symbols
| AnghaBench/timescaledb/src/bgw_policy/extr_reorder.c_ts_bgw_policy_reorder_insert.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "digite um numero inteiro positivo"
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, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
brk #0x1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "digite um numero inteiro positivo"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/150142612.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uniphier_regulator_remove
_uniphier_regulator_remove: ## @uniphier_regulator_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, %r14
movq 8(%rax), %rax
cmpl $0, (%rax)
jle LBB0_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%r14), %rax
movl (%rax,%rbx,4), %edi
callq _reset_control_assert
incq %rbx
movq 8(%r14), %rax
movslq (%rax), %rcx
cmpq %rcx, %rbx
jl LBB0_2
LBB0_3:
movl 4(%rax), %edi
movl (%r14), %esi
callq _clk_bulk_disable_unprepare
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _uniphier_regulator_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uniphier_regulator_remove
_uniphier_regulator_remove: ; @uniphier_regulator_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, #8]
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_3
; %bb.1:
mov x20, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr w0, [x8, x20, lsl #2]
bl _reset_control_assert
add x20, x20, #1
ldr x8, [x19, #8]
ldrsw x9, [x8]
cmp x20, x9
b.lt LBB0_2
LBB0_3:
ldr w0, [x8, #4]
ldr w1, [x19]
bl _clk_bulk_disable_unprepare
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 _uniphier_regulator_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/regulator/extr_uniphier-regulator.c_uniphier_regulator_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mkv_read_element_encoding
_mkv_read_element_encoding: ## @mkv_read_element_encoding
.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), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rbx
callq _mkv_read_elements
incl (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mkv_read_element_encoding
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mkv_read_element_encoding
_mkv_read_element_encoding: ; @mkv_read_element_encoding
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
ldr x8, [x8]
ldr x8, [x8]
ldr x8, [x8]
ldr x19, [x8]
bl _mkv_read_elements
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _mkv_read_element_encoding
.subsections_via_symbols
| AnghaBench/RetroArch/gfx/include/userland/containers/mkv/extr_matroska_reader.c_mkv_read_element_encoding.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function e1000_io_error_detected
_e1000_io_error_detected: ## @e1000_io_error_detected
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r14
callq _pci_get_drvdata
movq %rax, %rbx
movq %rax, %rdi
callq _netdev_priv
movq %rax, %r15
movq %rbx, %rdi
callq _netif_device_detach
movq _pci_channel_io_perm_failure@GOTPCREL(%rip), %rax
cmpq %r12, (%rax)
jne LBB0_2
## %bb.1:
movq _PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %rbx
jmp LBB0_6
LBB0_2:
movq %rbx, %rdi
callq _netif_running
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %r15, %rdi
callq _e1000_down
LBB0_4:
movq ___E1000_DISABLED@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _test_and_set_bit
movq _PCI_ERS_RESULT_NEED_RESET@GOTPCREL(%rip), %rbx
testl %eax, %eax
jne LBB0_6
## %bb.5:
movq %r14, %rdi
callq _pci_disable_device
LBB0_6:
movl (%rbx), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pci_channel_io_perm_failure,8,3 ## @pci_channel_io_perm_failure
.comm _PCI_ERS_RESULT_DISCONNECT,4,2 ## @PCI_ERS_RESULT_DISCONNECT
.comm ___E1000_DISABLED,4,2 ## @__E1000_DISABLED
.comm _PCI_ERS_RESULT_NEED_RESET,4,2 ## @PCI_ERS_RESULT_NEED_RESET
.no_dead_strip _e1000_io_error_detected
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function e1000_io_error_detected
_e1000_io_error_detected: ; @e1000_io_error_detected
.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 x22, x1
mov x19, x0
bl _pci_get_drvdata
mov x21, x0
bl _netdev_priv
mov x20, x0
mov x0, x21
bl _netif_device_detach
Lloh0:
adrp x8, _pci_channel_io_perm_failure@GOTPAGE
Lloh1:
ldr x8, [x8, _pci_channel_io_perm_failure@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x22
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh4:
ldr x8, [x8, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
b LBB0_7
LBB0_2:
mov x0, x21
bl _netif_running
cbz x0, LBB0_4
; %bb.3:
mov x0, x20
bl _e1000_down
LBB0_4:
Lloh5:
adrp x8, ___E1000_DISABLED@GOTPAGE
Lloh6:
ldr x8, [x8, ___E1000_DISABLED@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
mov x1, x20
bl _test_and_set_bit
cbnz w0, LBB0_6
; %bb.5:
mov x0, x19
bl _pci_disable_device
LBB0_6:
Lloh8:
adrp x8, _PCI_ERS_RESULT_NEED_RESET@GOTPAGE
Lloh9:
ldr x8, [x8, _PCI_ERS_RESULT_NEED_RESET@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _pci_channel_io_perm_failure,8,3 ; @pci_channel_io_perm_failure
.comm _PCI_ERS_RESULT_DISCONNECT,4,2 ; @PCI_ERS_RESULT_DISCONNECT
.comm ___E1000_DISABLED,4,2 ; @__E1000_DISABLED
.comm _PCI_ERS_RESULT_NEED_RESET,4,2 ; @PCI_ERS_RESULT_NEED_RESET
.no_dead_strip _e1000_io_error_detected
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_main.c_e1000_io_error_detected.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_file_cb
_add_file_cb: ## @add_file_cb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
callq _svn_editor_add_file
movl %eax, %edi
callq _SVN_ERR
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _add_file_cb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_file_cb
_add_file_cb: ; @add_file_cb
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w0, [x0]
bl _svn_editor_add_file
bl _SVN_ERR
Lloh0:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _add_file_cb
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_commit.c_add_file_cb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcp_send_ecn_flags_on_syn
_tcp_send_ecn_flags_on_syn: ## @tcp_send_ecn_flags_on_syn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TE_SETUPSENT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
testl %ecx, (%rdi)
je LBB0_1
LBB0_3:
popq %rbp
retq
LBB0_1:
movq _SOF_MP_SUBFLOW@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rsi)
jne LBB0_3
## %bb.2:
movq _TF_FASTOPEN@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
testl %ecx, 4(%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TE_SETUPSENT,4,2 ## @TE_SETUPSENT
.comm _SOF_MP_SUBFLOW,4,2 ## @SOF_MP_SUBFLOW
.comm _TF_FASTOPEN,4,2 ## @TF_FASTOPEN
.no_dead_strip _tcp_send_ecn_flags_on_syn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcp_send_ecn_flags_on_syn
_tcp_send_ecn_flags_on_syn: ; @tcp_send_ecn_flags_on_syn
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, _TE_SETUPSENT@GOTPAGE
Lloh1:
ldr x9, [x9, _TE_SETUPSENT@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
ldr w8, [x1]
Lloh3:
adrp x9, _SOF_MP_SUBFLOW@GOTPAGE
Lloh4:
ldr x9, [x9, _SOF_MP_SUBFLOW@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.3:
mov w0, #0
ret
LBB0_4:
ldr w8, [x0, #4]
Lloh6:
adrp x9, _TF_FASTOPEN@GOTPAGE
Lloh7:
ldr x9, [x9, _TF_FASTOPEN@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _TE_SETUPSENT,4,2 ; @TE_SETUPSENT
.comm _SOF_MP_SUBFLOW,4,2 ; @SOF_MP_SUBFLOW
.comm _TF_FASTOPEN,4,2 ; @TF_FASTOPEN
.no_dead_strip _tcp_send_ecn_flags_on_syn
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_output.c_tcp_send_ecn_flags_on_syn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function envctrl_init_fanstat
_envctrl_init_fanstat: ## @envctrl_init_fanstat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %r9d
testl %r9d, %r9d
jle LBB0_8
## %bb.1:
movq _chnls_mask@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rdi), %r10
movl 24(%rdi), %ecx
leaq -1(%r9), %rdx
movl %r9d, %r8d
andl $3, %r8d
cmpq $3, %rdx
jae LBB0_3
## %bb.2:
xorl %edx, %edx
jmp LBB0_5
LBB0_3:
andl $-4, %r9d
xorl %edx, %edx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r10,%rdx,8), %rsi
orl (%rax,%rsi,4), %ecx
movl %ecx, 24(%rdi)
movq 8(%r10,%rdx,8), %rsi
orl (%rax,%rsi,4), %ecx
movl %ecx, 24(%rdi)
movq 16(%r10,%rdx,8), %rsi
orl (%rax,%rsi,4), %ecx
movl %ecx, 24(%rdi)
movq 24(%r10,%rdx,8), %rsi
orl (%rax,%rsi,4), %ecx
movl %ecx, 24(%rdi)
addq $4, %rdx
cmpq %rdx, %r9
jne LBB0_4
LBB0_5:
testq %r8, %r8
je LBB0_8
## %bb.6:
leaq (%r10,%rdx,8), %r9
xorl %esi, %esi
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%r9,%rsi,8), %rdx
orl (%rax,%rdx,4), %ecx
movl %ecx, 24(%rdi)
incq %rsi
cmpq %rsi, %r8
jne LBB0_7
LBB0_8:
movq _ENVCTRL_FANSTAT_MON@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 8(%rdi), %rcx
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _chnls_mask,8,3 ## @chnls_mask
.comm _ENVCTRL_FANSTAT_MON,4,2 ## @ENVCTRL_FANSTAT_MON
.no_dead_strip _envctrl_init_fanstat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function envctrl_init_fanstat
_envctrl_init_fanstat: ; @envctrl_init_fanstat
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
Lloh0:
adrp x9, _chnls_mask@GOTPAGE
Lloh1:
ldr x9, [x9, _chnls_mask@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr x10, [x0, #16]
ldr w11, [x0, #24]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10], #8
ldr w12, [x9, x12, lsl #2]
orr w11, w11, w12
str w11, [x0, #24]
subs x8, x8, #1
b.ne LBB0_2
LBB0_3:
Lloh3:
adrp x8, _ENVCTRL_FANSTAT_MON@GOTPAGE
Lloh4:
ldr x8, [x8, _ENVCTRL_FANSTAT_MON@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr x9, [x0, #8]
str w8, [x9]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _chnls_mask,8,3 ; @chnls_mask
.comm _ENVCTRL_FANSTAT_MON,4,2 ; @ENVCTRL_FANSTAT_MON
.no_dead_strip _envctrl_init_fanstat
.subsections_via_symbols
| AnghaBench/linux/drivers/sbus/char/extr_envctrl.c_envctrl_init_fanstat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function safte_get_enc_status
_safte_get_enc_status: ## @safte_get_enc_status
.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 _safte_get_enc_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function safte_get_enc_status
_safte_get_enc_status: ; @safte_get_enc_status
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _safte_get_enc_status
.subsections_via_symbols
| AnghaBench/freebsd/sys/cam/scsi/extr_scsi_enc_safte.c_safte_get_enc_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signals_unblock ## -- Begin function signals_unblock
.p2align 4, 0x90
_signals_unblock: ## @signals_unblock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signals_unblock ; -- Begin function signals_unblock
.p2align 2
_signals_unblock: ; @signals_unblock
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/netdata/collectors/slabinfo.plugin/extr_slabinfo.c_signals_unblock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _calculate_scm_rights_space ## -- Begin function calculate_scm_rights_space
.p2align 4, 0x90
_calculate_scm_rights_space: ## @calculate_scm_rights_space
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _Z_TYPE_P
movq _IS_ARRAY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.3:
movq %rbx, %rdi
callq _Z_ARRVAL_P
movl %eax, %edi
callq _zend_hash_num_elements
testl %eax, %eax
je LBB0_4
## %bb.5:
movq %rbx, %rdi
callq _Z_ARRVAL_P
movl %eax, %edi
callq _zend_hash_num_elements
cltq
shlq $2, %rax
jmp LBB0_6
LBB0_1:
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
jmp LBB0_2
LBB0_4:
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rdx
LBB0_2:
movq %r14, %rdi
callq _do_from_zval_err
movq $-1, %rax
LBB0_6:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IS_ARRAY,8,3 ## @IS_ARRAY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "expected an array here"
L_.str.2: ## @.str.2
.asciz "expected at least one element in this array"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _calculate_scm_rights_space ; -- Begin function calculate_scm_rights_space
.p2align 2
_calculate_scm_rights_space: ; @calculate_scm_rights_space
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _Z_TYPE_P
Lloh0:
adrp x8, _IS_ARRAY@GOTPAGE
Lloh1:
ldr x8, [x8, _IS_ARRAY@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_3
; %bb.1:
mov x0, x20
bl _Z_ARRVAL_P
bl _zend_hash_num_elements
cbz w0, LBB0_4
; %bb.2:
mov x0, x20
bl _Z_ARRVAL_P
bl _zend_hash_num_elements
; kill: def $w0 killed $w0 def $x0
sbfiz x0, x0, #2, #32
b LBB0_6
LBB0_3:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
Lloh5:
adrp x2, l_.str.1@PAGE
Lloh6:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4:
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
Lloh9:
adrp x2, l_.str.2@PAGE
Lloh10:
add x2, x2, l_.str.2@PAGEOFF
LBB0_5:
mov x0, x19
bl _do_from_zval_err
mov x0, #-1
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _IS_ARRAY,8,3 ; @IS_ARRAY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "expected an array here"
l_.str.2: ; @.str.2
.asciz "expected at least one element in this array"
.subsections_via_symbols
| AnghaBench/php-src/ext/sockets/extr_conversions.c_calculate_scm_rights_space.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fintek_8250_exit_key
_fintek_8250_exit_key: ## @fintek_8250_exit_key
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _EXIT_KEY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ADDR_PORT@GOTPCREL(%rip), %r14
movq (%r14), %rsi
addq %rbx, %rsi
callq _outb
addq (%r14), %rbx
movq %rbx, %rdi
movl $2, %esi
popq %rbx
popq %r14
popq %rbp
jmp _release_region ## TAILCALL
.cfi_endproc
## -- End function
.comm _EXIT_KEY,4,2 ## @EXIT_KEY
.comm _ADDR_PORT,8,3 ## @ADDR_PORT
.no_dead_strip _fintek_8250_exit_key
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fintek_8250_exit_key
_fintek_8250_exit_key: ; @fintek_8250_exit_key
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _EXIT_KEY@GOTPAGE
Lloh1:
ldr x8, [x8, _EXIT_KEY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x20, _ADDR_PORT@GOTPAGE
Lloh4:
ldr x20, [x20, _ADDR_PORT@GOTPAGEOFF]
ldr x8, [x20]
add x1, x8, x19
bl _outb
ldr x8, [x20]
add x0, x8, x19
mov w1, #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _release_region
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EXIT_KEY,4,2 ; @EXIT_KEY
.comm _ADDR_PORT,8,3 ; @ADDR_PORT
.no_dead_strip _fintek_8250_exit_key
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/serial/8250/extr_8250_fintek.c_fintek_8250_exit_key.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handle_irq_event_percpu ## -- Begin function handle_irq_event_percpu
.p2align 4, 0x90
_handle_irq_event_percpu: ## @handle_irq_event_percpu
.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 $0, -20(%rbp)
leaq -20(%rbp), %rsi
callq ___handle_irq_event_percpu
movl %eax, %r14d
movl (%rbx), %edi
movl -20(%rbp), %esi
callq _add_interrupt_randomness
movq _noirqdebug@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
movl %r14d, %esi
callq _note_interrupt
LBB0_2:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _noirqdebug,4,2 ## @noirqdebug
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handle_irq_event_percpu ; -- Begin function handle_irq_event_percpu
.p2align 2
_handle_irq_event_percpu: ; @handle_irq_event_percpu
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
str wzr, [sp, #12]
add x1, sp, #12
bl ___handle_irq_event_percpu
mov x20, x0
ldr w0, [x19]
ldr w1, [sp, #12]
bl _add_interrupt_randomness
Lloh0:
adrp x8, _noirqdebug@GOTPAGE
Lloh1:
ldr x8, [x8, _noirqdebug@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbnz w8, LBB0_2
; %bb.1:
mov x0, x19
mov x1, x20
bl _note_interrupt
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _noirqdebug,4,2 ; @noirqdebug
.subsections_via_symbols
| AnghaBench/linux/kernel/irq/extr_handle.c_handle_irq_event_percpu.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lpfc_sli4_port_sta_fn_reset
_lpfc_sli4_port_sta_fn_reset: ## @lpfc_sli4_port_sta_fn_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _lpfc_sli4_pdev_status_reg_wait
testl %eax, %eax
jne LBB0_5
## %bb.1:
movq _KERN_ERR@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _LOG_INIT@GOTPCREL(%rip), %r12
movl (%r12), %edx
leaq L_.str(%rip), %rcx
movq %rbx, %rdi
callq _lpfc_printf_log
movq %rbx, %rdi
movl %r14d, %esi
callq _lpfc_offline_prep
movq %rbx, %rdi
callq _lpfc_offline
movq %rbx, %rdi
callq _lpfc_sli4_disable_intr
movq %rbx, %rdi
callq _lpfc_sli_brdrestart
movl (%rbx), %esi
movq %rbx, %rdi
callq _lpfc_sli4_enable_intr
movq _LPFC_INTR_ERROR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_3
## %bb.2:
movl (%r15), %esi
movl (%r12), %edx
leaq L_.str.1(%rip), %rcx
movq %rbx, %rdi
callq _lpfc_printf_log
movq _EIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_5
LBB0_3:
movl %eax, (%rbx)
movq %rbx, %rdi
callq _lpfc_online
testl %eax, %eax
jne LBB0_5
## %bb.4:
movq %rbx, %rdi
callq _lpfc_unblock_mgmt_io
xorl %eax, %eax
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KERN_ERR,4,2 ## @KERN_ERR
.comm _LOG_INIT,4,2 ## @LOG_INIT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "2887 Reset Needed: Attempting Port Recovery...\n"
.comm _LPFC_INTR_ERROR,4,2 ## @LPFC_INTR_ERROR
L_.str.1: ## @.str.1
.asciz "3175 Failed to enable interrupt\n"
.comm _EIO,4,2 ## @EIO
.no_dead_strip _lpfc_sli4_port_sta_fn_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lpfc_sli4_port_sta_fn_reset
_lpfc_sli4_port_sta_fn_reset: ; @lpfc_sli4_port_sta_fn_reset
.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 _lpfc_sli4_pdev_status_reg_wait
cbnz w0, LBB0_5
; %bb.1:
Lloh0:
adrp x21, _KERN_ERR@GOTPAGE
Lloh1:
ldr x21, [x21, _KERN_ERR@GOTPAGEOFF]
ldr w1, [x21]
Lloh2:
adrp x22, _LOG_INIT@GOTPAGE
Lloh3:
ldr x22, [x22, _LOG_INIT@GOTPAGEOFF]
ldr w2, [x22]
Lloh4:
adrp x3, l_.str@PAGE
Lloh5:
add x3, x3, l_.str@PAGEOFF
mov x0, x19
bl _lpfc_printf_log
mov x0, x19
mov x1, x20
bl _lpfc_offline_prep
mov x0, x19
bl _lpfc_offline
mov x0, x19
bl _lpfc_sli4_disable_intr
mov x0, x19
bl _lpfc_sli_brdrestart
ldr w1, [x19]
mov x0, x19
bl _lpfc_sli4_enable_intr
Lloh6:
adrp x8, _LPFC_INTR_ERROR@GOTPAGE
Lloh7:
ldr x8, [x8, _LPFC_INTR_ERROR@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_3
; %bb.2:
ldr w1, [x21]
ldr w2, [x22]
Lloh9:
adrp x3, l_.str.1@PAGE
Lloh10:
add x3, x3, l_.str.1@PAGEOFF
mov x0, x19
bl _lpfc_printf_log
Lloh11:
adrp x8, _EIO@GOTPAGE
Lloh12:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
neg w0, w8
b LBB0_5
LBB0_3:
str w0, [x19]
mov x0, x19
bl _lpfc_online
cbnz w0, LBB0_5
; %bb.4:
mov x0, x19
bl _lpfc_unblock_mgmt_io
mov w0, #0
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _KERN_ERR,4,2 ; @KERN_ERR
.comm _LOG_INIT,4,2 ; @LOG_INIT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "2887 Reset Needed: Attempting Port Recovery...\n"
.comm _LPFC_INTR_ERROR,4,2 ; @LPFC_INTR_ERROR
l_.str.1: ; @.str.1
.asciz "3175 Failed to enable interrupt\n"
.comm _EIO,4,2 ; @EIO
.no_dead_strip _lpfc_sli4_port_sta_fn_reset
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_sli4_port_sta_fn_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_arch ## -- Begin function get_arch
.p2align 4, 0x90
_get_arch: ## @get_arch
.cfi_startproc
## %bb.0:
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 _NUM_ARCHES@GOTPCREL(%rip), %r15
movl $-1, %r14d
cmpl $0, (%r15)
jle LBB0_5
## %bb.1:
movq %rdi, %r12
xorl %ebx, %ebx
movq _arch_names@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movl (%rax,%rbx,4), %edi
movq %r12, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_2
jmp LBB0_5
LBB0_4:
movl %ebx, %r14d
LBB0_5:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NUM_ARCHES,4,2 ## @NUM_ARCHES
.comm _arch_names,8,3 ## @arch_names
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_arch ; -- Begin function get_arch
.p2align 2
_get_arch: ; @get_arch
.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
Lloh0:
adrp x21, _NUM_ARCHES@GOTPAGE
Lloh1:
ldr x21, [x21, _NUM_ARCHES@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov x20, x0
mov x19, #0
Lloh2:
adrp x22, _arch_names@GOTPAGE
Lloh3:
ldr x22, [x22, _arch_names@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr w0, [x8, x19, lsl #2]
mov x1, x20
bl _strcmp
cbz x0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x19, x19, #1
ldrsw x8, [x21]
cmp x19, x8
b.lt LBB0_2
LBB0_4:
mov w19, #-1
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _NUM_ARCHES,4,2 ; @NUM_ARCHES
.comm _arch_names,8,3 ; @arch_names
.subsections_via_symbols
| AnghaBench/bitwise/ion/extr_targets.c_get_arch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dmi_matched
_dmi_matched: ## @dmi_matched
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movq _quirks@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _quirks,4,2 ## @quirks
.no_dead_strip _dmi_matched
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dmi_matched
_dmi_matched: ; @dmi_matched
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x9, _quirks@GOTPAGE
Lloh1:
ldr x9, [x9, _quirks@GOTPAGEOFF]
Lloh2:
str w8, [x9]
mov w0, #0
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _quirks,4,2 ; @quirks
.no_dead_strip _dmi_matched
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_acer-wmi.c_dmi_matched.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PC_UnreadToken ## -- Begin function PC_UnreadToken
.p2align 4, 0x90
_PC_UnreadToken: ## @PC_UnreadToken
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _PC_UnreadSourceToken ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PC_UnreadToken ; -- Begin function PC_UnreadToken
.p2align 2
_PC_UnreadToken: ; @PC_UnreadToken
.cfi_startproc
; %bb.0:
b _PC_UnreadSourceToken
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/botlib/extr_l_precomp.c_PC_UnreadToken.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
leaq -56(%rbp), %rsi
leaq -48(%rbp), %rdx
leaq -64(%rbp), %rcx
xorl %eax, %eax
callq _scanf
cmpl $-1, %eax
je LBB0_14
## %bb.1:
leaq L_str.4(%rip), %r14
leaq -56(%rbp), %r15
leaq -48(%rbp), %r12
leaq -64(%rbp), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
leaq L_str.3(%rip), %rdi
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
callq _puts
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _scanf
cmpl $-1, %eax
je LBB0_14
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq -48(%rbp), %rsi
cmpq %rsi, -56(%rbp)
jg LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _puts
movq -48(%rbp), %rsi
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rbx
movq %r14, %rdi
cmpq %rbx, %rsi
jg LBB0_13
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq -56(%rbp), %rcx
leaq (%rbx,%rsi), %rdi
incq %rbx
subq %rsi, %rcx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %rax
orq %rdi, %rax
shrq $32, %rax
je LBB0_7
## %bb.10: ## in Loop: Header=BB0_6 Depth=2
movq %rcx, %rax
cqto
idivq %rdi
cmpq %rsi, %rdx
jg LBB0_8
jmp LBB0_12
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_6 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %edi
## kill: def $edx killed $edx def $rdx
cmpq %rsi, %rdx
jle LBB0_12
LBB0_8: ## in Loop: Header=BB0_6 Depth=2
decq %rbx
decq %rcx
cmpq %rbx, %rsi
jne LBB0_6
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
jmp LBB0_13
LBB0_14:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lld %lld %lld"
L_str.3: ## @str.3
.asciz "WIN"
L_str.4: ## @str.4
.asciz "LOSE"
.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 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
add x21, sp, #24
add x22, sp, #32
add x23, sp, #40
stp x22, x21, [sp, #8]
str x23, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
cmn w0, #1
b.eq LBB0_11
; %bb.1:
Lloh2:
adrp x19, l_str.4@PAGE
Lloh3:
add x19, x19, l_str.4@PAGEOFF
Lloh4:
adrp x20, l_.str@PAGE
Lloh5:
add x20, x20, l_.str@PAGEOFF
Lloh6:
adrp x24, l_str.3@PAGE
Lloh7:
add x24, x24, l_str.3@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x24
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
bl _puts
stp x22, x21, [sp, #8]
str x23, [sp]
mov x0, x20
bl _scanf
cmn w0, #1
b.eq LBB0_11
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldp x8, x9, [sp, #32]
cmp x9, x8
b.gt LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _puts
ldr x8, [sp, #32]
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [sp, #24]
mov x0, x19
cmp x8, x10
b.gt LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x11, [sp, #40]
add x9, x10, x8
add x10, x10, #1
sub x11, x11, x8
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
sdiv x12, x11, x9
msub x12, x12, x9, x11
cmp x12, x8
b.le LBB0_2
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
sub x10, x10, #1
sub x11, x11, #1
cmp x8, x10
b.ne LBB0_8
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
b LBB0_3
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lld %lld %lld"
l_str.3: ; @str.3
.asciz "WIN"
l_str.4: ; @str.4
.asciz "LOSE"
.subsections_via_symbols
| the_stack_data/37637063.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function insn_offset_vex_prefix
_insn_offset_vex_prefix: ## @insn_offset_vex_prefix
.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 _insn_offset_rex_prefix
addl (%rbx), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _insn_offset_vex_prefix
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function insn_offset_vex_prefix
_insn_offset_vex_prefix: ; @insn_offset_vex_prefix
.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 _insn_offset_rex_prefix
ldr w8, [x19]
add w0, w8, w0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _insn_offset_vex_prefix
.subsections_via_symbols
| AnghaBench/linux/tools/perf/arch/x86/tests/extr_........archx86includeasminsn.h_insn_offset_vex_prefix.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mei_start ## -- Begin function mei_start
.p2align 4, 0x90
_mei_start: ## @mei_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq 8(%rdi), %r14
movq %r14, %rdi
callq _mutex_lock
movq %rbx, %rdi
callq _mei_clear_interrupts
movq %rbx, %rdi
callq _mei_hw_config
movl 12(%rbx), %edi
leaq L_.str(%rip), %rsi
callq _dev_dbg
movq $0, 16(%rbx)
movq _MEI_DEV_INITIALIZING@GOTPCREL(%rip), %r15
movq _ENODEV@GOTPCREL(%rip), %r12
movq _MEI_DEV_DISABLED@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rsi
movq %rbx, %rdi
callq _mei_set_devstate
movq %rbx, %rdi
callq _mei_reset
movl (%r12), %ecx
addl %eax, %ecx
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rcx
cmpq (%r13), %rcx
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
testl %eax, %eax
jne LBB0_1
## %bb.5:
movq %rbx, %rdi
callq _mei_hbm_start_wait
testq %rax, %rax
je LBB0_8
## %bb.6:
movl 12(%rbx), %edi
leaq L_.str.2(%rip), %rsi
LBB0_7:
xorl %eax, %eax
callq _dev_err
jmp LBB0_14
LBB0_3:
movl 12(%rbx), %edi
leaq L_.str.1(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _dev_err
LBB0_14:
movl 12(%rbx), %edi
leaq L_.str.7(%rip), %rsi
xorl %r15d, %r15d
xorl %eax, %eax
callq _dev_err
movq (%r13), %rsi
movq %rbx, %rdi
callq _mei_set_devstate
movq %r14, %rdi
callq _mutex_unlock
subl (%r12), %r15d
LBB0_15:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq %rbx, %rdi
callq _mei_host_is_ready
testl %eax, %eax
je LBB0_9
## %bb.10:
movq %rbx, %rdi
callq _mei_hw_is_ready
testl %eax, %eax
je LBB0_11
## %bb.12:
movq %rbx, %rdi
callq _mei_hbm_version_is_supported
movl 12(%rbx), %edi
testl %eax, %eax
je LBB0_13
## %bb.16:
leaq L_.str.6(%rip), %rsi
callq _dev_dbg
movq %r14, %rdi
callq _mutex_unlock
xorl %r15d, %r15d
jmp LBB0_15
LBB0_9:
movl 12(%rbx), %edi
leaq L_.str.3(%rip), %rsi
jmp LBB0_7
LBB0_11:
movl 12(%rbx), %edi
leaq L_.str.4(%rip), %rsi
jmp LBB0_7
LBB0_13:
leaq L_.str.5(%rip), %rsi
callq _dev_dbg
jmp LBB0_14
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "reset in start the mei device.\n"
.comm _MEI_DEV_INITIALIZING,8,3 ## @MEI_DEV_INITIALIZING
.comm _ENODEV,4,2 ## @ENODEV
.comm _MEI_DEV_DISABLED,8,3 ## @MEI_DEV_DISABLED
L_.str.1: ## @.str.1
.asciz "reset failed ret = %d"
L_.str.2: ## @.str.2
.asciz "HBM haven't started"
L_.str.3: ## @.str.3
.asciz "host is not ready.\n"
L_.str.4: ## @.str.4
.asciz "ME is not ready.\n"
L_.str.5: ## @.str.5
.asciz "MEI start failed.\n"
L_.str.6: ## @.str.6
.asciz "link layer has been established.\n"
L_.str.7: ## @.str.7
.asciz "link layer initialization failed.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mei_start ; -- Begin function mei_start
.p2align 2
_mei_start: ; @mei_start
.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, x0
add x19, x0, #8
mov x0, x19
bl _mutex_lock
mov x0, x20
bl _mei_clear_interrupts
mov x0, x20
bl _mei_hw_config
ldr w0, [x20, #12]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
str xzr, [x20, #16]
Lloh2:
adrp x23, _MEI_DEV_INITIALIZING@GOTPAGE
Lloh3:
ldr x23, [x23, _MEI_DEV_INITIALIZING@GOTPAGEOFF]
Lloh4:
adrp x21, _ENODEV@GOTPAGE
Lloh5:
ldr x21, [x21, _ENODEV@GOTPAGEOFF]
Lloh6:
adrp x22, _MEI_DEV_DISABLED@GOTPAGE
Lloh7:
ldr x22, [x22, _MEI_DEV_DISABLED@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x1, [x23]
mov x0, x20
bl _mei_set_devstate
mov x0, x20
bl _mei_reset
; kill: def $w0 killed $w0 def $x0
ldr w8, [x21]
cmn w0, w8
b.eq LBB0_6
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20]
ldr x9, [x22]
cmp x8, x9
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
cbnz w0, LBB0_1
; %bb.4:
mov x0, x20
bl _mei_hbm_start_wait
cbz x0, LBB0_10
; %bb.5:
ldr w0, [x20, #12]
Lloh8:
adrp x1, l_.str.2@PAGE
Lloh9:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_7
LBB0_6:
ldr w8, [x20, #12]
str x0, [sp]
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x8
LBB0_7:
bl _dev_err
LBB0_8:
ldr w0, [x20, #12]
Lloh12:
adrp x1, l_.str.7@PAGE
Lloh13:
add x1, x1, l_.str.7@PAGEOFF
bl _dev_err
ldr x1, [x22]
mov x0, x20
bl _mei_set_devstate
mov x0, x19
bl _mutex_unlock
ldr w8, [x21]
neg w0, w8
LBB0_9:
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_10:
mov x0, x20
bl _mei_host_is_ready
cbz w0, LBB0_14
; %bb.11:
mov x0, x20
bl _mei_hw_is_ready
cbz w0, LBB0_15
; %bb.12:
mov x0, x20
bl _mei_hbm_version_is_supported
mov x8, x0
ldr w0, [x20, #12]
cbz w8, LBB0_16
; %bb.13:
Lloh14:
adrp x1, l_.str.6@PAGE
Lloh15:
add x1, x1, l_.str.6@PAGEOFF
bl _dev_dbg
mov x0, x19
bl _mutex_unlock
mov w0, #0
b LBB0_9
LBB0_14:
ldr w0, [x20, #12]
Lloh16:
adrp x1, l_.str.3@PAGE
Lloh17:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_7
LBB0_15:
ldr w0, [x20, #12]
Lloh18:
adrp x1, l_.str.4@PAGE
Lloh19:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_7
LBB0_16:
Lloh20:
adrp x1, l_.str.5@PAGE
Lloh21:
add x1, x1, l_.str.5@PAGEOFF
bl _dev_dbg
b LBB0_8
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reset in start the mei device.\n"
.comm _MEI_DEV_INITIALIZING,8,3 ; @MEI_DEV_INITIALIZING
.comm _ENODEV,4,2 ; @ENODEV
.comm _MEI_DEV_DISABLED,8,3 ; @MEI_DEV_DISABLED
l_.str.1: ; @.str.1
.asciz "reset failed ret = %d"
l_.str.2: ; @.str.2
.asciz "HBM haven't started"
l_.str.3: ; @.str.3
.asciz "host is not ready.\n"
l_.str.4: ; @.str.4
.asciz "ME is not ready.\n"
l_.str.5: ; @.str.5
.asciz "MEI start failed.\n"
l_.str.6: ; @.str.6
.asciz "link layer has been established.\n"
l_.str.7: ; @.str.7
.asciz "link layer initialization failed.\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/misc/mei/extr_init.c_mei_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mixer_is_synced
_mixer_is_synced: ## @mixer_is_synced
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %rax
movq _MXR_VER_16_0_33_0@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
movq _MXR_VER_128_0_0_184@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
## %bb.3:
movq _MXR_BIT_VP_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 8(%rbx), %rsi
callq _test_bit
testq %rax, %rax
je LBB0_6
## %bb.4:
movq _VP_SHADOW_UPDATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _vp_reg_read
testq %rax, %rax
je LBB0_6
## %bb.5:
xorl %r15d, %r15d
jmp LBB0_10
LBB0_2:
movq _MXR_CFG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _mixer_reg_read
movq _MXR_CFG_LAYER_UPDATE_COUNT_MASK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
LBB0_9:
sete %r15b
LBB0_10:
movzbl %r15b, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq _MXR_CFG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _mixer_reg_read
movl %eax, %r14d
movq _MXR_CFG_S@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _mixer_reg_read
xorl %r15d, %r15d
cmpl %eax, %r14d
jne LBB0_10
## %bb.7:
xorl %edi, %edi
callq _MXR_GRAPHIC_BASE
movq %rbx, %rdi
movl %eax, %esi
callq _mixer_reg_read
movl %eax, %r14d
xorl %edi, %edi
callq _MXR_GRAPHIC_BASE_S
movq %rbx, %rdi
movl %eax, %esi
callq _mixer_reg_read
cmpl %eax, %r14d
jne LBB0_10
## %bb.8:
movl $1, %edi
callq _MXR_GRAPHIC_BASE
movq %rbx, %rdi
movl %eax, %esi
callq _mixer_reg_read
movl %eax, %r14d
movl $1, %edi
callq _MXR_GRAPHIC_BASE_S
movq %rbx, %rdi
movl %eax, %esi
callq _mixer_reg_read
cmpl %eax, %r14d
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _MXR_VER_16_0_33_0,8,3 ## @MXR_VER_16_0_33_0
.comm _MXR_VER_128_0_0_184,8,3 ## @MXR_VER_128_0_0_184
.comm _MXR_CFG,4,2 ## @MXR_CFG
.comm _MXR_CFG_LAYER_UPDATE_COUNT_MASK,4,2 ## @MXR_CFG_LAYER_UPDATE_COUNT_MASK
.comm _MXR_BIT_VP_ENABLED,4,2 ## @MXR_BIT_VP_ENABLED
.comm _VP_SHADOW_UPDATE,4,2 ## @VP_SHADOW_UPDATE
.comm _MXR_CFG_S,4,2 ## @MXR_CFG_S
.no_dead_strip _mixer_is_synced
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mixer_is_synced
_mixer_is_synced: ; @mixer_is_synced
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
Lloh0:
adrp x9, _MXR_VER_16_0_33_0@GOTPAGE
Lloh1:
ldr x9, [x9, _MXR_VER_16_0_33_0@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _MXR_VER_128_0_0_184@GOTPAGE
Lloh4:
ldr x10, [x10, _MXR_VER_128_0_0_184@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_3
; %bb.1:
Lloh6:
adrp x8, _MXR_CFG@GOTPAGE
Lloh7:
ldr x8, [x8, _MXR_CFG@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _mixer_reg_read
Lloh9:
adrp x8, _MXR_CFG_LAYER_UPDATE_COUNT_MASK@GOTPAGE
Lloh10:
ldr x8, [x8, _MXR_CFG_LAYER_UPDATE_COUNT_MASK@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
tst w8, w0
LBB0_2:
cset w0, eq
b LBB0_9
LBB0_3:
Lloh12:
adrp x8, _MXR_BIT_VP_ENABLED@GOTPAGE
Lloh13:
ldr x8, [x8, _MXR_BIT_VP_ENABLED@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
add x1, x19, #8
bl _test_bit
cbz x0, LBB0_5
; %bb.4:
Lloh15:
adrp x8, _VP_SHADOW_UPDATE@GOTPAGE
Lloh16:
ldr x8, [x8, _VP_SHADOW_UPDATE@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x19
bl _vp_reg_read
cbnz x0, LBB0_8
LBB0_5:
Lloh18:
adrp x8, _MXR_CFG@GOTPAGE
Lloh19:
ldr x8, [x8, _MXR_CFG@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x19
bl _mixer_reg_read
mov x20, x0
Lloh21:
adrp x8, _MXR_CFG_S@GOTPAGE
Lloh22:
ldr x8, [x8, _MXR_CFG_S@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
mov x0, x19
bl _mixer_reg_read
cmp w20, w0
b.ne LBB0_8
; %bb.6:
mov w0, #0
bl _MXR_GRAPHIC_BASE
mov x1, x0
mov x0, x19
bl _mixer_reg_read
mov x20, x0
mov w0, #0
bl _MXR_GRAPHIC_BASE_S
mov x1, x0
mov x0, x19
bl _mixer_reg_read
mov x8, x0
mov w0, #0
cmp w20, w8
b.ne LBB0_9
; %bb.7:
mov w0, #1
bl _MXR_GRAPHIC_BASE
mov x1, x0
mov x0, x19
bl _mixer_reg_read
mov x20, x0
mov w0, #1
bl _MXR_GRAPHIC_BASE_S
mov x1, x0
mov x0, x19
bl _mixer_reg_read
cmp w20, w0
b LBB0_2
LBB0_8:
mov w0, #0
LBB0_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _MXR_VER_16_0_33_0,8,3 ; @MXR_VER_16_0_33_0
.comm _MXR_VER_128_0_0_184,8,3 ; @MXR_VER_128_0_0_184
.comm _MXR_CFG,4,2 ; @MXR_CFG
.comm _MXR_CFG_LAYER_UPDATE_COUNT_MASK,4,2 ; @MXR_CFG_LAYER_UPDATE_COUNT_MASK
.comm _MXR_BIT_VP_ENABLED,4,2 ; @MXR_BIT_VP_ENABLED
.comm _VP_SHADOW_UPDATE,4,2 ; @VP_SHADOW_UPDATE
.comm _MXR_CFG_S,4,2 ; @MXR_CFG_S
.no_dead_strip _mixer_is_synced
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_mixer.c_mixer_is_synced.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getdir
_getdir: ## @getdir
.cfi_startproc
## %bb.0:
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 _STRBUF_INIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -32(%rbp)
leaq L_.str(%rip), %rdi
callq _getenv
movq %rax, %rbx
leaq L_.str.1(%rip), %rdi
callq _getenv
movq %rax, %r14
leaq L_.str.2(%rip), %rdi
callq _getenv
testq %r14, %r14
je LBB0_8
## %bb.1:
cmpb $0, (%r14)
je LBB0_8
## %bb.2:
testq %rbx, %rbx
je LBB0_4
## %bb.3:
cmpb $0, (%rbx)
jne LBB0_5
LBB0_4:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _die
LBB0_5:
movq %rbx, %rdi
callq _daemon_avoid_alias
testq %rax, %rax
je LBB0_7
## %bb.6:
leaq L_.str.4(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _die
LBB0_7:
leaq -32(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq _end_url_with_slash
xorl %eax, %eax
cmpb $47, (%rbx)
sete %al
addq %rax, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq _strbuf_addstr
movq %r15, %rdi
xorl %esi, %esi
callq _strbuf_detach
movq %rax, %rbx
jmp LBB0_11
LBB0_8:
testq %rax, %rax
je LBB0_10
## %bb.9:
cmpb $0, (%rax)
je LBB0_10
## %bb.12:
movq %rax, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _xstrdup ## TAILCALL
LBB0_10:
leaq L_.str.5(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _die
LBB0_11:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STRBUF_INIT,4,2 ## @STRBUF_INIT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "PATH_INFO"
L_.str.1: ## @.str.1
.asciz "GIT_PROJECT_ROOT"
L_.str.2: ## @.str.2
.asciz "PATH_TRANSLATED"
L_.str.3: ## @.str.3
.asciz "GIT_PROJECT_ROOT is set but PATH_INFO is not"
L_.str.4: ## @.str.4
.asciz "'%s': aliased"
L_.str.5: ## @.str.5
.asciz "No GIT_PROJECT_ROOT or PATH_TRANSLATED from server"
.no_dead_strip _getdir
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getdir
_getdir: ; @getdir
.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, _STRBUF_INIT@GOTPAGE
Lloh1:
ldr x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _getenv
mov x19, x0
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _getenv
mov x20, x0
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _getenv
cbz x20, LBB0_8
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_8
; %bb.2:
cbz x19, LBB0_4
; %bb.3:
ldrb w8, [x19]
cbnz w8, LBB0_5
LBB0_4:
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
bl _die
LBB0_5:
mov x0, x19
bl _daemon_avoid_alias
cbz x0, LBB0_7
; %bb.6:
str x19, [sp]
Lloh11:
adrp x0, l_.str.4@PAGE
Lloh12:
add x0, x0, l_.str.4@PAGEOFF
bl _die
LBB0_7:
add x0, sp, #8
mov x1, x20
bl _end_url_with_slash
mov x8, x19
ldrb w9, [x8], #1
cmp w9, #47
csel x1, x19, x8, ne
add x0, sp, #8
bl _strbuf_addstr
add x0, sp, #8
mov x1, #0
bl _strbuf_detach
b LBB0_12
LBB0_8:
cbz x0, LBB0_11
; %bb.9:
ldrb w8, [x0]
cbz w8, LBB0_11
; %bb.10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _xstrdup
LBB0_11:
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
bl _die
mov x0, #0
LBB0_12:
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 Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _STRBUF_INIT,4,2 ; @STRBUF_INIT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "PATH_INFO"
l_.str.1: ; @.str.1
.asciz "GIT_PROJECT_ROOT"
l_.str.2: ; @.str.2
.asciz "PATH_TRANSLATED"
l_.str.3: ; @.str.3
.asciz "GIT_PROJECT_ROOT is set but PATH_INFO is not"
l_.str.4: ; @.str.4
.asciz "'%s': aliased"
l_.str.5: ; @.str.5
.asciz "No GIT_PROJECT_ROOT or PATH_TRANSLATED from server"
.no_dead_strip _getdir
.subsections_via_symbols
| AnghaBench/git/extr_http-backend.c_getdir.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sldns_bget_token ## -- Begin function sldns_bget_token
.p2align 4, 0x90
_sldns_bget_token: ## @sldns_bget_token
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %r8d, %r8d
xorl %r9d, %r9d
popq %rbp
jmp _sldns_bget_token_par ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sldns_bget_token ; -- Begin function sldns_bget_token
.p2align 2
_sldns_bget_token: ; @sldns_bget_token
.cfi_startproc
; %bb.0:
mov x4, #0
mov x5, #0
b _sldns_bget_token_par
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/sldns/extr_parse.c_sldns_bget_token.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hash_insert ## -- Begin function hash_insert
.p2align 4, 0x90
_hash_insert: ## @hash_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rdi, %r14
movl (%rdx), %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
cltd
idivl %esi
movl %edx, %ebx
movl $16, %edi
callq _malloc
movq %r15, (%rax)
movq (%r14,%rbx,8), %rcx
movq %rcx, 8(%rax)
movq %rax, (%r14,%rbx,8)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hash_search ## -- Begin function hash_search
.p2align 4, 0x90
_hash_search: ## @hash_search
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
cltd
idivl %esi
## kill: def $edx killed $edx def $rdx
movq (%rdi,%rdx,8), %rdx
testq %rdx, %rdx
je LBB1_4
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq (%rdx), %rax
cmpl %ecx, (%rax)
je LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq 8(%rdx), %rdx
testq %rdx, %rdx
jne LBB1_1
LBB1_4:
xorl %eax, %eax
LBB1_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hash_destroy ## -- Begin function hash_destroy
.p2align 4, 0x90
_hash_destroy: ## @hash_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testl %esi, %esi
jle LBB2_5
## %bb.1:
movq %rdi, %r15
movl %esi, %r14d
xorl %ebx, %ebx
jmp LBB2_3
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_3 Depth=1
movq 8(%rdi), %rax
movq %rax, (%r15,%rbx,8)
callq _free
LBB2_3: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdi
testq %rdi, %rdi
jne LBB2_2
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
incq %rbx
cmpq %r14, %rbx
jne LBB2_3
LBB2_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _twoSum ## -- Begin function twoSum
.p2align 4, 0x90
_twoSum: ## @twoSum
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r13d
movl %esi, %r14d
movq %rdi, %r15
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
movl %r14d, %ebx
shrl $31, %ebx
addl %r14d, %ebx
sarl %ebx
callq _rand
cltd
idivl %r14d
movl %edx, %r12d
addl %ebx, %r12d
movslq %r12d, %rbx
leaq (,%rbx,8), %rdi
callq _malloc
movq %rax, %r14
testl %ebx, %ebx
jle LBB3_2
## %bb.1:
leal -1(%r12), %eax
leaq 8(,%rax,8), %rsi
movq %r14, %rdi
callq ___bzero
LBB3_2:
movl $8, %edi
callq _malloc
movq %rax, -48(%rbp) ## 8-byte Spill
testq %r15, %r15
je LBB3_9
## %bb.3:
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB3_4
.p2align 4, 0x90
LBB3_16: ## in Loop: Header=BB3_4 Depth=1
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
cltd
idivl %r12d
movl %r13d, %ebx
movl %edx, %r13d
movl $16, %edi
callq _malloc
movq %r15, (%rax)
movq (%r14,%r13,8), %rcx
movq %rcx, 8(%rax)
movq %rax, (%r14,%r13,8)
movl %ebx, %r13d
addq $4, %r15
LBB3_4: ## =>This Loop Header: Depth=1
## Child Loop BB3_7 Depth 2
movl (%r15), %ecx
movl %r13d, %esi
subl %ecx, %esi
movl %esi, %eax
negl %eax
cmovsl %esi, %eax
cltd
idivl %r12d
## kill: def $edx killed $edx def $rdx
movq (%r14,%rdx,8), %rdx
testq %rdx, %rdx
je LBB3_16
.p2align 4, 0x90
LBB3_7: ## Parent Loop BB3_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdx), %rax
cmpl %esi, (%rax)
je LBB3_8
## %bb.5: ## in Loop: Header=BB3_7 Depth=2
movq 8(%rdx), %rdx
testq %rdx, %rdx
jne LBB3_7
jmp LBB3_16
LBB3_8:
movq -56(%rbp), %rbx ## 8-byte Reload
subq %rbx, %rax
shrq $2, %rax
incl %eax
subq %rbx, %r15
shrq $2, %r15
incl %r15d
cmpl %r15d, %eax
movl %r15d, %ecx
cmovll %eax, %ecx
cmovgl %eax, %r15d
movq -48(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
movl %r15d, 4(%rax)
LBB3_9:
testl %r12d, %r12d
jle LBB3_15
## %bb.10:
movl %r12d, %r15d
xorl %r12d, %r12d
jmp LBB3_11
.p2align 4, 0x90
LBB3_14: ## in Loop: Header=BB3_11 Depth=1
incq %r12
cmpq %r15, %r12
je LBB3_15
LBB3_11: ## =>This Loop Header: Depth=1
## Child Loop BB3_12 Depth 2
movq (%r14,%r12,8), %rdi
testq %rdi, %rdi
je LBB3_14
.p2align 4, 0x90
LBB3_12: ## Parent Loop BB3_11 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rdi), %rbx
callq _free
movq %rbx, %rdi
testq %rbx, %rbx
jne LBB3_12
## %bb.13: ## in Loop: Header=BB3_11 Depth=1
movq $0, (%r14,%r12,8)
jmp LBB3_14
LBB3_15:
movq %r14, %rdi
callq _free
movq -48(%rbp), %rax ## 8-byte Reload
addq $24, %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, 13, 0 sdk_version 13, 3
.globl _hash_insert ; -- Begin function hash_insert
.p2align 2
_hash_insert: ; @hash_insert
.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 w8, [x2]
cmp w8, #0
cneg w8, w8, mi
sdiv w9, w8, w1
msub w21, w9, w1, w8
mov w0, #16
bl _malloc
lsl x8, x21, #3
ldr x9, [x20, x8]
stp x19, x9, [x0]
str x0, [x20, 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
.cfi_endproc
; -- End function
.globl _hash_search ; -- Begin function hash_search
.p2align 2
_hash_search: ; @hash_search
.cfi_startproc
; %bb.0:
cmp w2, #0
cneg w8, w2, mi
sdiv w9, w8, w1
msub w8, w9, w1, w8
ldr x8, [x0, w8, uxtw #3]
cbz x8, LBB1_3
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [x8]
ldr w9, [x0]
cmp w9, w2
b.eq LBB1_4
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [x8, #8]
cbnz x8, LBB1_1
LBB1_3:
mov x0, #0
LBB1_4:
ret
.cfi_endproc
; -- End function
.globl _hash_destroy ; -- Begin function hash_destroy
.p2align 2
_hash_destroy: ; @hash_destroy
.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 w1, #1
b.lt LBB2_5
; %bb.1:
mov x19, x0
mov x20, #0
mov w21, w1
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
add x20, x20, #1
cmp x20, x21
b.eq LBB2_5
LBB2_3: ; =>This Loop Header: Depth=1
; Child Loop BB2_4 Depth 2
ldr x0, [x19, x20, lsl #3]
cbz x0, LBB2_2
LBB2_4: ; Parent Loop BB2_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x0, #8]
lsl x22, x20, #3
str x8, [x19, x22]
bl _free
ldr x0, [x19, x22]
cbnz x0, LBB2_4
b LBB2_2
LBB2_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _twoSum ; -- Begin function twoSum
.p2align 2
_twoSum: ; @twoSum
.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 x22, x2
mov x19, x1
mov x21, x0
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
cmp w19, #0
cinc w20, w19, lt
bl _rand
sdiv w8, w0, w19
msub w8, w8, w19, w0
add w23, w8, w20, asr #1
mov x8, x23
sbfiz x0, x8, #3, #32
bl _malloc
mov x19, x0
subs w8, w23, #1
b.lt LBB3_2
; %bb.1:
lsl x8, x8, #3
add x1, x8, #8
mov x0, x19
bl _bzero
LBB3_2:
mov w0, #8
bl _malloc
mov x20, x0
cbz x21, LBB3_9
; %bb.3:
mov x24, x21
b LBB3_5
LBB3_4: ; in Loop: Header=BB3_5 Depth=1
cmp w8, #0
cneg w8, w8, mi
sdiv w9, w8, w23
msub w25, w9, w23, w8
mov w0, #16
bl _malloc
lsl x8, x25, #3
ldr x9, [x19, x8]
stp x24, x9, [x0]
str x0, [x19, x8]
add x24, x24, #4
LBB3_5: ; =>This Loop Header: Depth=1
; Child Loop BB3_6 Depth 2
ldr w8, [x24]
subs w9, w22, w8
cneg w10, w9, mi
sdiv w11, w10, w23
msub w10, w11, w23, w10
ldr x10, [x19, w10, uxtw #3]
cbz x10, LBB3_4
LBB3_6: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x11, [x10]
ldr w12, [x11]
cmp w12, w9
b.eq LBB3_8
; %bb.7: ; in Loop: Header=BB3_6 Depth=2
ldr x10, [x10, #8]
cbnz x10, LBB3_6
b LBB3_4
LBB3_8:
sub x8, x11, x21
lsr x8, x8, #2
add w8, w8, #1
sub x9, x24, x21
lsr x9, x9, #2
add w10, w9, #1
cmp w8, w10
csinc w10, w8, w9, lt
csinc w8, w8, w9, gt
stp w10, w8, [x20]
LBB3_9:
cmp w23, #1
b.lt LBB3_15
; %bb.10:
mov x21, #0
b LBB3_12
LBB3_11: ; in Loop: Header=BB3_12 Depth=1
add x21, x21, #1
cmp x21, x23
b.eq LBB3_15
LBB3_12: ; =>This Loop Header: Depth=1
; Child Loop BB3_13 Depth 2
ldr x0, [x19, x21, lsl #3]
cbz x0, LBB3_11
LBB3_13: ; Parent Loop BB3_12 Depth=1
; => This Inner Loop Header: Depth=2
ldr x22, [x0, #8]
bl _free
mov x0, x22
cbnz x22, LBB3_13
; %bb.14: ; in Loop: Header=BB3_12 Depth=1
str xzr, [x19, x21, lsl #3]
b LBB3_11
LBB3_15:
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
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/90762842.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_print_top ## -- Begin function ft_print_top
.p2align 4, 0x90
_ft_print_top: ## @ft_print_top
.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
movl $47, %edi
callq _ft_putchar
cmpl $3, %ebx
jl LBB0_3
## %bb.1:
incl %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl $42, %edi
callq _ft_putchar
decl %ebx
cmpl $3, %ebx
ja LBB0_2
jmp LBB0_4
LBB0_3:
cmpl $2, %ebx
jne LBB0_5
LBB0_4:
movl $92, %edi
callq _ft_putchar
LBB0_5:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ft_putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _ft_print_middle ## -- Begin function ft_print_middle
.p2align 4, 0x90
_ft_print_middle: ## @ft_print_middle
.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
movl $42, %edi
callq _ft_putchar
cmpl $3, %ebx
jl LBB1_3
## %bb.1:
incl %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl $32, %edi
callq _ft_putchar
decl %ebx
cmpl $3, %ebx
ja LBB1_2
jmp LBB1_4
LBB1_3:
cmpl $2, %ebx
jne LBB1_5
LBB1_4:
movl $42, %edi
callq _ft_putchar
LBB1_5:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ft_putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _ft_print_bottom ## -- Begin function ft_print_bottom
.p2align 4, 0x90
_ft_print_bottom: ## @ft_print_bottom
.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
movl $92, %edi
callq _ft_putchar
cmpl $3, %ebx
jl LBB2_3
## %bb.1:
incl %ebx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl $42, %edi
callq _ft_putchar
decl %ebx
cmpl $3, %ebx
ja LBB2_2
jmp LBB2_4
LBB2_3:
cmpl $2, %ebx
jne LBB2_5
LBB2_4:
movl $47, %edi
callq _ft_putchar
LBB2_5:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ft_putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _rush ## -- Begin function rush
.p2align 4, 0x90
_rush: ## @rush
.cfi_startproc
## %bb.0:
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 %edi, %edi
jle LBB3_22
## %bb.1:
movl %esi, %r14d
testl %esi, %esi
jle LBB3_22
## %bb.2:
movl %edi, %r12d
movl $47, %edi
callq _ft_putchar
cmpl $3, %r12d
jb LBB3_5
## %bb.3:
leal 1(%r12), %ebx
.p2align 4, 0x90
LBB3_4: ## =>This Inner Loop Header: Depth=1
movl $42, %edi
callq _ft_putchar
decl %ebx
cmpl $3, %ebx
ja LBB3_4
jmp LBB3_6
LBB3_5:
cmpl $2, %r12d
jne LBB3_7
LBB3_6:
movl $92, %edi
callq _ft_putchar
LBB3_7:
movl $10, %edi
callq _ft_putchar
cmpl $3, %r14d
jl LBB3_15
## %bb.8:
leal 1(%r12), %r15d
jmp LBB3_9
.p2align 4, 0x90
LBB3_13: ## in Loop: Header=BB3_9 Depth=1
movl $42, %edi
callq _ft_putchar
LBB3_14: ## in Loop: Header=BB3_9 Depth=1
movl $10, %edi
callq _ft_putchar
leal -1(%r14), %eax
cmpl $3, %r14d
movl %eax, %r14d
jle LBB3_16
LBB3_9: ## =>This Loop Header: Depth=1
## Child Loop BB3_11 Depth 2
movl $42, %edi
callq _ft_putchar
cmpl $3, %r12d
jb LBB3_12
## %bb.10: ## in Loop: Header=BB3_9 Depth=1
movl %r15d, %ebx
.p2align 4, 0x90
LBB3_11: ## Parent Loop BB3_9 Depth=1
## => This Inner Loop Header: Depth=2
movl $32, %edi
callq _ft_putchar
decl %ebx
cmpl $3, %ebx
ja LBB3_11
jmp LBB3_13
.p2align 4, 0x90
LBB3_12: ## in Loop: Header=BB3_9 Depth=1
cmpl $2, %r12d
je LBB3_13
jmp LBB3_14
LBB3_15:
cmpl $2, %r14d
jne LBB3_22
LBB3_16:
movl $92, %edi
callq _ft_putchar
cmpl $3, %r12d
jb LBB3_19
## %bb.17:
incl %r12d
.p2align 4, 0x90
LBB3_18: ## =>This Inner Loop Header: Depth=1
movl $42, %edi
callq _ft_putchar
decl %r12d
cmpl $3, %r12d
ja LBB3_18
jmp LBB3_20
LBB3_22:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB3_19:
cmpl $2, %r12d
jne LBB3_21
LBB3_20:
movl $47, %edi
callq _ft_putchar
LBB3_21:
movl $10, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ft_putchar ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_print_top ; -- Begin function ft_print_top
.p2align 2
_ft_print_top: ; @ft_print_top
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #47
bl _ft_putchar
cmp w19, #3
b.lt LBB0_3
; %bb.1:
add w19, w19, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov w0, #42
bl _ft_putchar
sub w19, w19, #1
cmp w19, #3
b.hi LBB0_2
b LBB0_4
LBB0_3:
cmp w19, #2
b.ne LBB0_5
LBB0_4:
mov w0, #92
bl _ft_putchar
LBB0_5:
mov w0, #10
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ft_putchar
.cfi_endproc
; -- End function
.globl _ft_print_middle ; -- Begin function ft_print_middle
.p2align 2
_ft_print_middle: ; @ft_print_middle
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #42
bl _ft_putchar
cmp w19, #3
b.lt LBB1_3
; %bb.1:
add w19, w19, #1
LBB1_2: ; =>This Inner Loop Header: Depth=1
mov w0, #32
bl _ft_putchar
sub w19, w19, #1
cmp w19, #3
b.hi LBB1_2
b LBB1_4
LBB1_3:
cmp w19, #2
b.ne LBB1_5
LBB1_4:
mov w0, #42
bl _ft_putchar
LBB1_5:
mov w0, #10
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ft_putchar
.cfi_endproc
; -- End function
.globl _ft_print_bottom ; -- Begin function ft_print_bottom
.p2align 2
_ft_print_bottom: ; @ft_print_bottom
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #92
bl _ft_putchar
cmp w19, #3
b.lt LBB2_3
; %bb.1:
add w19, w19, #1
LBB2_2: ; =>This Inner Loop Header: Depth=1
mov w0, #42
bl _ft_putchar
sub w19, w19, #1
cmp w19, #3
b.hi LBB2_2
b LBB2_4
LBB2_3:
cmp w19, #2
b.ne LBB2_5
LBB2_4:
mov w0, #47
bl _ft_putchar
LBB2_5:
mov w0, #10
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ft_putchar
.cfi_endproc
; -- End function
.globl _rush ; -- Begin function rush
.p2align 2
_rush: ; @rush
.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 w0, #1
b.lt LBB3_19
; %bb.1:
mov x20, x1
cmp w1, #1
b.lt LBB3_19
; %bb.2:
mov x19, x0
mov w0, #47
bl _ft_putchar
cmp w19, #3
b.lo LBB3_5
; %bb.3:
add w21, w19, #1
LBB3_4: ; =>This Inner Loop Header: Depth=1
mov w0, #42
bl _ft_putchar
sub w21, w21, #1
cmp w21, #3
b.hi LBB3_4
b LBB3_6
LBB3_5:
cmp w19, #2
b.ne LBB3_7
LBB3_6:
mov w0, #92
bl _ft_putchar
LBB3_7:
mov w0, #10
bl _ft_putchar
cmp w20, #3
b.lt LBB3_15
; %bb.8:
add w21, w19, #1
b LBB3_11
LBB3_9: ; in Loop: Header=BB3_11 Depth=1
mov w0, #42
bl _ft_putchar
LBB3_10: ; in Loop: Header=BB3_11 Depth=1
mov w0, #10
bl _ft_putchar
sub w8, w20, #1
cmp w20, #3
mov x20, x8
b.le LBB3_16
LBB3_11: ; =>This Loop Header: Depth=1
; Child Loop BB3_13 Depth 2
mov w0, #42
bl _ft_putchar
cmp w19, #3
b.lo LBB3_14
; %bb.12: ; in Loop: Header=BB3_11 Depth=1
mov x22, x21
LBB3_13: ; Parent Loop BB3_11 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #32
bl _ft_putchar
sub w22, w22, #1
cmp w22, #3
b.hi LBB3_13
b LBB3_9
LBB3_14: ; in Loop: Header=BB3_11 Depth=1
cmp w19, #2
b.eq LBB3_9
b LBB3_10
LBB3_15:
cmp w20, #2
b.ne LBB3_19
LBB3_16:
mov w0, #92
bl _ft_putchar
cmp w19, #3
b.lo LBB3_20
; %bb.17:
add w19, w19, #1
LBB3_18: ; =>This Inner Loop Header: Depth=1
mov w0, #42
bl _ft_putchar
sub w19, w19, #1
cmp w19, #3
b.hi LBB3_18
b LBB3_21
LBB3_19:
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
LBB3_20:
cmp w19, #2
b.ne LBB3_22
LBB3_21:
mov w0, #47
bl _ft_putchar
LBB3_22:
mov w0, #10
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 _ft_putchar
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/37637902.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___fsneq ## -- Begin function __fsneq
.p2align 4, 0x90
___fsneq: ## @__fsneq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -16(%rbp)
movss %xmm1, -8(%rbp)
movq -16(%rbp), %rax
cmpq -8(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
orl %eax, %ecx
shlq $33, %rcx
setne %al
LBB0_3:
movzbl %al, %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 ___fsneq ; -- Begin function __fsneq
.p2align 2
___fsneq: ; @__fsneq
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #8]
str s1, [sp]
ldr x8, [sp, #8]
ldr x9, [sp]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov w0, #0
add sp, sp, #16
ret
LBB0_2:
ldr x8, [sp, #8]
ldr x9, [sp], #16
orr w8, w9, w8
tst x8, #0x7fffffff
cset w0, ne
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/1032129.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i40e_aq_get_switch_resource_alloc ## -- Begin function i40e_aq_get_switch_resource_alloc
.p2align 4, 0x90
_i40e_aq_get_switch_resource_alloc: ## @i40e_aq_get_switch_resource_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
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r14
movl %ecx, %ebx
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r13
shll $2, %ebx
movq _i40e_aqc_opc_get_switch_resource_alloc@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdi
callq _i40e_fill_default_direct_cmd_desc
movq _I40E_AQ_FLAG_BUF@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CPU_TO_LE16
orl %eax, -48(%rbp)
movq _I40E_AQ_LARGE_BUF@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jle LBB0_2
## %bb.1:
movq _I40E_AQ_FLAG_LB@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _CPU_TO_LE16
orl %eax, -48(%rbp)
LBB0_2:
leaq -48(%rbp), %rsi
movq %r13, %rdi
movq %r12, %rdx
movl %ebx, %ecx
movq %r14, %r8
callq _i40e_asq_send_command
testq %r15, %r15
je LBB0_5
## %bb.3:
testl %eax, %eax
jne LBB0_5
## %bb.4:
movl -44(%rbp), %ecx
movl %ecx, (%r15)
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _i40e_aqc_opc_get_switch_resource_alloc,4,2 ## @i40e_aqc_opc_get_switch_resource_alloc
.comm _I40E_AQ_FLAG_BUF,8,3 ## @I40E_AQ_FLAG_BUF
.comm _I40E_AQ_LARGE_BUF,4,2 ## @I40E_AQ_LARGE_BUF
.comm _I40E_AQ_FLAG_LB,8,3 ## @I40E_AQ_FLAG_LB
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i40e_aq_get_switch_resource_alloc ; -- Begin function i40e_aq_get_switch_resource_alloc
.p2align 2
_i40e_aq_get_switch_resource_alloc: ; @i40e_aq_get_switch_resource_alloc
.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, x4
mov x21, x2
mov x19, x1
mov x23, x0
lsl w22, w3, #2
Lloh0:
adrp x8, _i40e_aqc_opc_get_switch_resource_alloc@GOTPAGE
Lloh1:
ldr x8, [x8, _i40e_aqc_opc_get_switch_resource_alloc@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x0, sp, #8
bl _i40e_fill_default_direct_cmd_desc
Lloh3:
adrp x8, _I40E_AQ_FLAG_BUF@GOTPAGE
Lloh4:
ldr x8, [x8, _I40E_AQ_FLAG_BUF@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _CPU_TO_LE16
ldr w8, [sp, #8]
orr w8, w8, w0
str w8, [sp, #8]
Lloh6:
adrp x8, _I40E_AQ_LARGE_BUF@GOTPAGE
Lloh7:
ldr x8, [x8, _I40E_AQ_LARGE_BUF@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w22, w8
b.le LBB0_2
; %bb.1:
Lloh9:
adrp x8, _I40E_AQ_FLAG_LB@GOTPAGE
Lloh10:
ldr x8, [x8, _I40E_AQ_FLAG_LB@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _CPU_TO_LE16
ldr w8, [sp, #8]
orr w8, w8, w0
str w8, [sp, #8]
LBB0_2:
add x1, sp, #8
mov x0, x23
mov x2, x21
mov x3, x22
mov x4, x20
bl _i40e_asq_send_command
cbz x19, LBB0_5
; %bb.3:
cbnz w0, LBB0_5
; %bb.4:
ldr w8, [sp, #12]
str w8, [x19]
LBB0_5:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _i40e_aqc_opc_get_switch_resource_alloc,4,2 ; @i40e_aqc_opc_get_switch_resource_alloc
.comm _I40E_AQ_FLAG_BUF,8,3 ; @I40E_AQ_FLAG_BUF
.comm _I40E_AQ_LARGE_BUF,4,2 ; @I40E_AQ_LARGE_BUF
.comm _I40E_AQ_FLAG_LB,8,3 ; @I40E_AQ_FLAG_LB
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_aq_get_switch_resource_alloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cx231xx_dump_HH_reg ## -- Begin function cx231xx_dump_HH_reg
.p2align 4, 0x90
_cx231xx_dump_HH_reg: ## @cx231xx_dump_HH_reg
.cfi_startproc
## %bb.0:
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
movl $1157649296, -36(%rbp) ## imm = 0x45005390
movl $260, %esi ## imm = 0x104
movl $1157649296, %edx ## imm = 0x45005390
callq _vid_blk_write_word
movl $252, %ebx
leaq -36(%rbp), %r14
leaq L_.str(%rip), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
addl $4, %ebx
movq %r15, %rdi
movl %ebx, %esi
movq %r14, %rdx
callq _vid_blk_read_word
movl (%r15), %edi
movl -36(%rbp), %ecx
movq %r12, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq _dev_dbg
cmpl $316, %ebx ## imm = 0x13C
jb LBB0_1
## %bb.2:
movl $764, %ebx ## imm = 0x2FC
leaq -36(%rbp), %r14
leaq L_.str(%rip), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
addl $4, %ebx
movq %r15, %rdi
movl %ebx, %esi
movq %r14, %rdx
callq _vid_blk_read_word
movl (%r15), %edi
movl -36(%rbp), %ecx
movq %r12, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq _dev_dbg
cmpl $1020, %ebx ## imm = 0x3FC
jb LBB0_3
## %bb.4:
movl $1020, %ebx ## imm = 0x3FC
leaq -36(%rbp), %r14
leaq L_.str(%rip), %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
addl $4, %ebx
movq %r15, %rdi
movl %ebx, %esi
movq %r14, %rdx
callq _vid_blk_read_word
movl (%r15), %edi
movl -36(%rbp), %ecx
movq %r12, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq _dev_dbg
cmpl $1084, %ebx ## imm = 0x43C
jb LBB0_5
## %bb.6:
movq _AFE_CTRL_C2HH_SRC_CTRL@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq -36(%rbp), %r14
movq %r15, %rdi
movq %r14, %rdx
callq _vid_blk_read_word
movl (%r15), %edi
movl -36(%rbp), %edx
leaq L_.str.1(%rip), %r12
movq %r12, %rsi
xorl %eax, %eax
callq _dev_dbg
movl (%rbx), %esi
movq %r15, %rdi
movl $1149621136, %edx ## imm = 0x4485D390
callq _vid_blk_write_word
movl (%rbx), %esi
movq %r15, %rdi
movq %r14, %rdx
callq _vid_blk_read_word
movl (%r15), %edi
movl -36(%rbp), %edx
movq %r12, %rsi
xorl %eax, %eax
callq _dev_dbg
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 "reg0x%x=0x%x\n"
.comm _AFE_CTRL_C2HH_SRC_CTRL,4,2 ## @AFE_CTRL_C2HH_SRC_CTRL
L_.str.1: ## @.str.1
.asciz "AFE_CTRL_C2HH_SRC_CTRL=0x%x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cx231xx_dump_HH_reg ; -- Begin function cx231xx_dump_HH_reg
.p2align 2
_cx231xx_dump_HH_reg: ; @cx231xx_dump_HH_reg
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w22, #21392
movk w22, #17664, lsl #16
str w22, [sp, #12]
mov w1, #260
mov w2, #21392
movk w2, #17664, lsl #16
bl _vid_blk_write_word
mov w20, #252
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
add w20, w20, #4
add x2, sp, #12
mov x0, x19
mov x1, x20
bl _vid_blk_read_word
ldr w0, [x19]
ldr w8, [sp, #12]
str x8, [sp]
mov x1, x21
mov x2, x20
bl _dev_dbg
cmp w20, #316
b.lo LBB0_1
; %bb.2:
mov w20, #764
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
add w20, w20, #4
add x2, sp, #12
mov x0, x19
mov x1, x20
bl _vid_blk_read_word
ldr w0, [x19]
ldr w8, [sp, #12]
str x8, [sp]
mov x1, x21
mov x2, x20
bl _dev_dbg
cmp w20, #1020
b.lo LBB0_3
; %bb.4:
mov w20, #1020
Lloh4:
adrp x21, l_.str@PAGE
Lloh5:
add x21, x21, l_.str@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
add w20, w20, #4
add x2, sp, #12
mov x0, x19
mov x1, x20
bl _vid_blk_read_word
ldr w0, [x19]
ldr w8, [sp, #12]
str x8, [sp]
mov x1, x21
mov x2, x20
bl _dev_dbg
cmp w20, #1084
b.lo LBB0_5
; %bb.6:
Lloh6:
adrp x21, _AFE_CTRL_C2HH_SRC_CTRL@GOTPAGE
Lloh7:
ldr x21, [x21, _AFE_CTRL_C2HH_SRC_CTRL@GOTPAGEOFF]
ldr w1, [x21]
add x2, sp, #12
mov x0, x19
bl _vid_blk_read_word
ldr w0, [x19]
ldr w2, [sp, #12]
Lloh8:
adrp x20, l_.str.1@PAGE
Lloh9:
add x20, x20, l_.str.1@PAGEOFF
mov x1, x20
bl _dev_dbg
ldr w1, [x21]
sub w2, w22, #1960, lsl #12 ; =8028160
mov x0, x19
bl _vid_blk_write_word
ldr w1, [x21]
add x2, sp, #12
mov x0, x19
bl _vid_blk_read_word
ldr w0, [x19]
ldr w2, [sp, #12]
mov x1, x20
bl _dev_dbg
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reg0x%x=0x%x\n"
.comm _AFE_CTRL_C2HH_SRC_CTRL,4,2 ; @AFE_CTRL_C2HH_SRC_CTRL
l_.str.1: ; @.str.1
.asciz "AFE_CTRL_C2HH_SRC_CTRL=0x%x\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_cx231xx_dump_HH_reg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Prompt ## -- Begin function Prompt
.p2align 4, 0x90
_Prompt: ## @Prompt
.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 %edx, %r14d
movq %rsi, %rbx
movq %rdi, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rbx, %rdi
movl %r14d, %esi
callq _fgets
movq %rbx, %rdi
callq _strlen
movb $0, -1(%rax,%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _IsValid ## -- Begin function IsValid
.p2align 4, 0x90
_IsValid: ## @IsValid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
leaq L_.str.1(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB1_2
## %bb.1:
xorl %eax, %eax
jmp LBB1_3
LBB1_2:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
sete %al
LBB1_3:
## kill: def $al killed $al killed $eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %r14
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
leaq -64(%rbp), %r15
movq %r15, %rdi
movl $32, %esi
callq _fgets
movq %r15, %rdi
callq _strlen
movb $0, -1(%rax,%r15)
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq (%rbx), %rdx
leaq -96(%rbp), %rbx
movq %rbx, %rdi
movl $32, %esi
callq _fgets
movq %rbx, %rdi
callq _strlen
movb $0, -1(%rax,%rbx)
movl $1634498884, %eax ## imm = 0x616C7944
xorl -64(%rbp), %eax
movzwl -60(%rbp), %ecx
xorl $110, %ecx
movabsq $29380550123153507, %rdx ## imm = 0x68617465656863
cmpq %rdx, -96(%rbp)
leaq L_.str.5(%rip), %rdi
leaq L_.str.6(%rip), %rdx
cmovneq %rdx, %rdi
orl %eax, %ecx
cmovneq %rdx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB2_2
## %bb.1:
xorl %eax, %eax
addq $72, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s "
L_.str.1: ## @.str.1
.asciz "Dylan"
L_.str.2: ## @.str.2
.asciz "cheetah"
L_.str.3: ## @.str.3
.asciz "Name:"
L_.str.4: ## @.str.4
.asciz "Pswd:"
L_.str.5: ## @.str.5
.asciz "Hello %s!\n"
L_.str.6: ## @.str.6
.asciz "You're not allowed here %s!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Prompt ; -- Begin function Prompt
.p2align 2
_Prompt: ; @Prompt
.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, x2
mov x20, x1
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x8, ___stdinp@GOTPAGE
Lloh3:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh4:
ldr x2, [x8]
mov x0, x20
mov x1, x19
bl _fgets
mov x0, x20
bl _strlen
add x8, x0, x20
sturb wzr, [x8, #-1]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _IsValid ; -- Begin function IsValid
.p2align 2
_IsValid: ; @IsValid
.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
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz w0, LBB1_2
; %bb.1:
mov w0, #0
b LBB1_3
LBB1_2:
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _strcmp
cmp w0, #0
cset w0, eq
LBB1_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp 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
Lloh9:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh12:
adrp x8, l_.str.3@PAGE
Lloh13:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
Lloh14:
adrp x19, l_.str@PAGE
Lloh15:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
Lloh16:
adrp x20, ___stdinp@GOTPAGE
Lloh17:
ldr x20, [x20, ___stdinp@GOTPAGEOFF]
ldr x2, [x20]
add x21, sp, #40
add x0, sp, #40
mov w1, #32
bl _fgets
add x0, sp, #40
bl _strlen
add x8, x0, x21
sturb wzr, [x8, #-1]
Lloh18:
adrp x8, l_.str.4@PAGE
Lloh19:
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp]
mov x0, x19
bl _printf
ldr x2, [x20]
add x19, sp, #8
add x0, sp, #8
mov w1, #32
bl _fgets
add x0, sp, #8
bl _strlen
add x8, x0, x19
sturb wzr, [x8, #-1]
ldr w8, [sp, #40]
mov w9, #31044
movk w9, #24940, lsl #16
eor w8, w8, w9
ldrh w9, [sp, #44]
mov w10, #110
eor w9, w9, w10
orr w8, w8, w9
cbnz w8, LBB2_2
; %bb.1:
ldr x8, [sp, #8]
mov x9, #26723
movk x9, #25957, lsl #16
movk x9, #24948, lsl #32
movk x9, #104, lsl #48
cmp x8, x9
b.eq LBB2_5
LBB2_2:
Lloh20:
adrp x0, l_.str.6@PAGE
Lloh21:
add x0, x0, l_.str.6@PAGEOFF
LBB2_3:
add x8, sp, #40
str x8, [sp]
bl _printf
ldur x8, [x29, #-40]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_6
; %bb.4:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB2_5:
Lloh25:
adrp x0, l_.str.5@PAGE
Lloh26:
add x0, x0, l_.str.5@PAGEOFF
b LBB2_3
LBB2_6:
bl ___stack_chk_fail
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s "
l_.str.1: ; @.str.1
.asciz "Dylan"
l_.str.2: ; @.str.2
.asciz "cheetah"
l_.str.3: ; @.str.3
.asciz "Name:"
l_.str.4: ; @.str.4
.asciz "Pswd:"
l_.str.5: ; @.str.5
.asciz "Hello %s!\n"
l_.str.6: ; @.str.6
.asciz "You're not allowed here %s!\n"
.subsections_via_symbols
| the_stack_data/161081102.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function socket_reset
_socket_reset: ## @socket_reset
.cfi_startproc
## %bb.0:
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, %r12
leaq L_.str(%rip), %rsi
callq _dev_dbg
movq _SS_OUTPUT_ENA@GOTPCREL(%rip), %rax
movq _SS_RESET@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
orl (%rax), %ecx
leaq 16(%r12), %r14
orl %ecx, 16(%r12)
movq 8(%r12), %rax
movq %r12, %rdi
movq %r14, %rsi
callq *8(%rax)
movq _reset_time@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _udelay
movl (%rbx), %eax
notl %eax
andl %eax, 16(%r12)
movq 8(%r12), %rax
movq %r12, %rdi
movq %r14, %rsi
callq *8(%rax)
movq _unreset_delay@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, %eax
leal (%rax,%rax,4), %edi
callq _msleep
movq _unreset_limit@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_7
## %bb.1:
xorl %ebx, %ebx
leaq -44(%rbp), %r14
movq _SS_DETECT@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
movq %r12, %rdi
movq %r14, %rsi
callq *(%rax)
movl -44(%rbp), %eax
testl %eax, (%r13)
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _SS_READY@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq _unreset_check@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %eax, %eax
leal (%rax,%rax,4), %edi
callq _msleep
incl %ebx
cmpl (%r15), %ebx
jl LBB0_2
LBB0_7:
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
callq _dev_err
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
jmp LBB0_8
LBB0_3:
movq _ENODEV@GOTPCREL(%rip), %rcx
LBB0_8:
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_9
LBB0_5:
xorl %eax, %eax
LBB0_9:
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 "reset\n"
.comm _SS_OUTPUT_ENA,4,2 ## @SS_OUTPUT_ENA
.comm _SS_RESET,4,2 ## @SS_RESET
.comm _reset_time,8,3 ## @reset_time
.comm _unreset_delay,4,2 ## @unreset_delay
.comm _unreset_limit,4,2 ## @unreset_limit
.comm _SS_DETECT,4,2 ## @SS_DETECT
.comm _ENODEV,4,2 ## @ENODEV
.comm _SS_READY,4,2 ## @SS_READY
.comm _unreset_check,4,2 ## @unreset_check
L_.str.1: ## @.str.1
.asciz "time out after reset\n"
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.no_dead_strip _socket_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function socket_reset
_socket_reset: ; @socket_reset
.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
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
Lloh2:
adrp x8, _SS_OUTPUT_ENA@GOTPAGE
Lloh3:
ldr x8, [x8, _SS_OUTPUT_ENA@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x21, _SS_RESET@GOTPAGE
Lloh6:
ldr x21, [x21, _SS_RESET@GOTPAGEOFF]
ldr w9, [x21]
orr w8, w9, w8
mov x20, x19
ldr w9, [x20, #16]!
orr w8, w8, w9
str w8, [x20]
ldr x8, [x19, #8]
ldr x8, [x8, #8]
mov x0, x19
mov x1, x20
blr x8
Lloh7:
adrp x8, _reset_time@GOTPAGE
Lloh8:
ldr x8, [x8, _reset_time@GOTPAGEOFF]
Lloh9:
ldr x0, [x8]
bl _udelay
ldr w8, [x21]
ldr w9, [x20]
bic w8, w9, w8
str w8, [x20]
ldr x8, [x19, #8]
ldr x8, [x8, #8]
mov x0, x19
mov x1, x20
blr x8
Lloh10:
adrp x8, _unreset_delay@GOTPAGE
Lloh11:
ldr x8, [x8, _unreset_delay@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
add w8, w8, w8, lsl #2
lsl w0, w8, #1
bl _msleep
Lloh13:
adrp x20, _unreset_limit@GOTPAGE
Lloh14:
ldr x20, [x20, _unreset_limit@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_5
; %bb.1:
mov w21, #0
Lloh15:
adrp x22, _SS_DETECT@GOTPAGE
Lloh16:
ldr x22, [x22, _SS_DETECT@GOTPAGEOFF]
Lloh17:
adrp x23, _SS_READY@GOTPAGE
Lloh18:
ldr x23, [x23, _SS_READY@GOTPAGEOFF]
Lloh19:
adrp x24, _unreset_check@GOTPAGE
Lloh20:
ldr x24, [x24, _unreset_check@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr x8, [x8]
add x1, sp, #12
mov x0, x19
blr x8
ldr w8, [sp, #12]
ldr w9, [x22]
tst w9, w8
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w9, [x23]
tst w9, w8
b.ne LBB0_8
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x24]
add w8, w8, w8, lsl #2
lsl w0, w8, #1
bl _msleep
add w21, w21, #1
ldr w8, [x20]
cmp w21, w8
b.lt LBB0_2
LBB0_5:
Lloh21:
adrp x1, l_.str.1@PAGE
Lloh22:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_err
Lloh23:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh24:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh25:
adrp x8, _ENODEV@GOTPAGE
Lloh26:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_7:
ldr w8, [x8]
neg w0, w8
b LBB0_9
LBB0_8:
mov w0, #0
LBB0_9:
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 AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh25, Lloh26
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reset\n"
.comm _SS_OUTPUT_ENA,4,2 ; @SS_OUTPUT_ENA
.comm _SS_RESET,4,2 ; @SS_RESET
.comm _reset_time,8,3 ; @reset_time
.comm _unreset_delay,4,2 ; @unreset_delay
.comm _unreset_limit,4,2 ; @unreset_limit
.comm _SS_DETECT,4,2 ; @SS_DETECT
.comm _ENODEV,4,2 ; @ENODEV
.comm _SS_READY,4,2 ; @SS_READY
.comm _unreset_check,4,2 ; @unreset_check
l_.str.1: ; @.str.1
.asciz "time out after reset\n"
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.no_dead_strip _socket_reset
.subsections_via_symbols
| AnghaBench/linux/drivers/pcmcia/extr_cs.c_socket_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _e1000_mng_write_dhcp_info ## -- Begin function e1000_mng_write_dhcp_info
.p2align 4, 0x90
_e1000_mng_write_dhcp_info: ## @e1000_mng_write_dhcp_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _e1000_mng_write_dhcp_info_generic ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _e1000_mng_write_dhcp_info ; -- Begin function e1000_mng_write_dhcp_info
.p2align 2
_e1000_mng_write_dhcp_info: ; @e1000_mng_write_dhcp_info
.cfi_startproc
; %bb.0:
b _e1000_mng_write_dhcp_info_generic
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/e1000/extr_e1000_api.c_e1000_mng_write_dhcp_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function t4_next_cqe
_t4_next_cqe: ## @t4_next_cqe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, 24(%rdi)
je LBB0_2
## %bb.1:
movq _ENODATA@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
LBB0_2:
cmpq $0, 16(%rdi)
je LBB0_5
## %bb.3:
movq (%rdi), %rax
shlq $2, %rax
addq 8(%rdi), %rax
movq %rax, (%rsi)
xorl %eax, %eax
popq %rbp
retq
LBB0_5:
popq %rbp
jmp _t4_next_hw_cqe ## TAILCALL
.cfi_endproc
## -- End function
.comm _ENODATA,4,2 ## @ENODATA
.no_dead_strip _t4_next_cqe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function t4_next_cqe
_t4_next_cqe: ; @t4_next_cqe
.cfi_startproc
; %bb.0:
ldr x9, [x0, #24]
cbz x9, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _ENODATA@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
LBB0_2:
mov x8, x0
ldr x9, [x0, #16]
cbz x9, LBB0_4
; %bb.3:
mov w0, #0
ldp x8, x9, [x8]
add x8, x9, x8, lsl #2
str x8, [x1]
ret
LBB0_4:
mov x0, x8
b _t4_next_hw_cqe
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENODATA,4,2 ; @ENODATA
.no_dead_strip _t4_next_cqe
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_t4.h_t4_next_cqe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cmp_peer_addr
_cmp_peer_addr: ## @cmp_peer_addr
.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, %rdx
movl %edi, %esi
movq _getpeername@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %ecx
popq %rbp
jmp _cmp_sock_addr ## TAILCALL
.cfi_endproc
## -- End function
.comm _getpeername,4,2 ## @getpeername
.no_dead_strip _cmp_peer_addr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cmp_peer_addr
_cmp_peer_addr: ; @cmp_peer_addr
.cfi_startproc
; %bb.0:
mov x2, x1
mov x1, x0
Lloh0:
adrp x8, _getpeername@GOTPAGE
Lloh1:
ldr x8, [x8, _getpeername@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w3, #1
b _cmp_sock_addr
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _getpeername,4,2 ; @getpeername
.no_dead_strip _cmp_peer_addr
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/bpf/extr_test_sock_addr.c_cmp_peer_addr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dump ## -- Begin function dump
.p2align 4, 0x90
_dump: ## @dump
.cfi_startproc
## %bb.0:
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
cmpq $0, 2048(%rdi)
je LBB0_3
## %bb.1:
movq %rdi, %r15
leaq L_.str(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsbl (%r15,%rbx,2), %ecx
movsbl 1(%r15,%rbx,2), %edx
movq %r14, %rdi
movl %ecx, %esi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq 2048(%r15), %rbx
jb LBB0_2
LBB0_3:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $4194360, %eax ## imm = 0x400038
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq -2097200(%rbp), %rbx
movl $2097176, %esi ## imm = 0x200018
movq %rbx, %rdi
callq ___bzero
leaq L_.str.5(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
testl %eax, %eax
jle LBB1_3
## %bb.1:
leaq -2096176(%rbp), %rbx
leaq L_.str.5(%rip), %r14
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
incq -48(%rbp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
addq $1024, %rbx ## imm = 0x400
testl %eax, %eax
jg LBB1_2
LBB1_3:
movq -48(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -4194376(%rbp), %r14
leaq -2097200(%rbp), %r15
movl $2097176, %edx ## imm = 0x200018
movq %r14, %rdi
movq %r15, %rsi
callq _memcpy
cmpq $0, -48(%rbp)
je LBB1_8
## %bb.4:
xorl %ebx, %ebx
jmp LBB1_5
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_5 Depth=1
incq %rbx
addq $1024, %r15 ## imm = 0x400
cmpq -48(%rbp), %rbx
jae LBB1_8
LBB1_5: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
xorl %esi, %esi
callq _isTLS_
testb %al, %al
je LBB1_7
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
incq -40(%rbp)
jmp LBB1_7
LBB1_8:
movq -40(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpq $0, -2097224(%rbp)
je LBB1_13
## %bb.9:
xorl %ebx, %ebx
jmp LBB1_10
.p2align 4, 0x90
LBB1_12: ## in Loop: Header=BB1_10 Depth=1
incq %rbx
addq $1024, %r14 ## imm = 0x400
cmpq -2097224(%rbp), %rbx
jae LBB1_13
LBB1_10: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _isSSL
testb %al, %al
je LBB1_12
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
incq -2097208(%rbp)
jmp LBB1_12
LBB1_13:
movq -2097208(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $4194360, %rsp ## imm = 0x400038
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse ## -- Begin function parse
.p2align 4, 0x90
_parse: ## @parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq L_.str.5(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
testl %eax, %eax
jle LBB2_3
## %bb.1:
leaq 1024(%r14), %rbx
leaq L_.str.5(%rip), %r15
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
incq 2097152(%r14)
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
addq $1024, %rbx ## imm = 0x400
testl %eax, %eax
jg LBB2_2
LBB2_3:
movq 2097152(%r14), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _countTLS ## -- Begin function countTLS
.p2align 4, 0x90
_countTLS: ## @countTLS
.cfi_startproc
## %bb.0:
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
cmpq $0, 2097152(%rdi)
je LBB3_5
## %bb.1:
xorl %r15d, %r15d
movq %r14, %rbx
jmp LBB3_2
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_2 Depth=1
incq %r15
addq $1024, %rbx ## imm = 0x400
cmpq 2097152(%r14), %r15
jae LBB3_5
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
xorl %esi, %esi
callq _isTLS_
testb %al, %al
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
incq 2097160(%r14)
jmp LBB3_4
LBB3_5:
movq 2097160(%r14), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _countSSL ## -- Begin function countSSL
.p2align 4, 0x90
_countSSL: ## @countSSL
.cfi_startproc
## %bb.0:
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
cmpq $0, 2097152(%rdi)
je LBB4_5
## %bb.1:
xorl %r15d, %r15d
movq %r14, %rbx
jmp LBB4_2
.p2align 4, 0x90
LBB4_4: ## in Loop: Header=BB4_2 Depth=1
incq %r15
addq $1024, %rbx ## imm = 0x400
cmpq 2097152(%r14), %r15
jae LBB4_5
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _isSSL
testb %al, %al
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
incq 2097168(%r14)
jmp LBB4_4
LBB4_5:
movq 2097168(%r14), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isTLS ## -- Begin function isTLS
.p2align 4, 0x90
_isTLS: ## @isTLS
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %esi, %esi
popq %rbp
jmp _isTLS_ ## TAILCALL
.cfi_endproc
## -- End function
.globl _isTLS_ ## -- Begin function isTLS_
.p2align 4, 0x90
_isTLS_: ## @isTLS_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rdi), %dl
testb %dl, %dl
jne LBB6_4
## %bb.1:
movl %esi, %eax
LBB6_25:
## kill: def $al killed $al killed $eax
popq %rbp
retq
.p2align 4, 0x90
LBB6_2: ## in Loop: Header=BB6_4 Depth=1
xorl %eax, %eax
LBB6_3: ## in Loop: Header=BB6_4 Depth=1
movb (%rdi), %dl
movl %eax, %esi
testb %dl, %dl
je LBB6_25
LBB6_4: ## =>This Loop Header: Depth=1
## Child Loop BB6_5 Depth 2
## Child Loop BB6_12 Depth 2
## Child Loop BB6_20 Depth 2
movq %rdi, %r8
incq %rdi
testb %dl, %dl
je LBB6_8
.p2align 4, 0x90
LBB6_5: ## Parent Loop BB6_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $91, %dl
je LBB6_8
## %bb.6: ## in Loop: Header=BB6_5 Depth=2
cmpb $93, %dl
je LBB6_8
## %bb.7: ## in Loop: Header=BB6_5 Depth=2
movzbl (%rdi), %edx
incq %rdi
testb %dl, %dl
jne LBB6_5
LBB6_8: ## in Loop: Header=BB6_4 Depth=1
movb $0, -1(%rdi)
cmpb $93, %dl
jne LBB6_16
## %bb.9: ## in Loop: Header=BB6_4 Depth=1
movb (%r8), %al
testb %al, %al
je LBB6_16
## %bb.10: ## in Loop: Header=BB6_4 Depth=1
xorl %edx, %edx
jmp LBB6_12
.p2align 4, 0x90
LBB6_11: ## in Loop: Header=BB6_12 Depth=2
movzbl 1(%r8,%rdx), %eax
incq %rdx
testb %al, %al
je LBB6_16
LBB6_12: ## Parent Loop BB6_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $3, %rdx
jb LBB6_11
## %bb.13: ## in Loop: Header=BB6_12 Depth=2
movzbl -1(%r8,%rdx), %ecx
cmpb %cl, %al
je LBB6_11
## %bb.14: ## in Loop: Header=BB6_12 Depth=2
cmpb -3(%r8,%rdx), %al
jne LBB6_11
## %bb.15: ## in Loop: Header=BB6_12 Depth=2
cmpb %cl, -2(%r8,%rdx)
jne LBB6_11
jmp LBB6_24
.p2align 4, 0x90
LBB6_16: ## in Loop: Header=BB6_4 Depth=1
movb $1, %al
testb $1, %sil
jne LBB6_3
## %bb.17: ## in Loop: Header=BB6_4 Depth=1
movb (%r8), %cl
testb %cl, %cl
je LBB6_2
## %bb.18: ## in Loop: Header=BB6_4 Depth=1
xorl %edx, %edx
jmp LBB6_20
.p2align 4, 0x90
LBB6_19: ## in Loop: Header=BB6_20 Depth=2
movzbl 1(%r8,%rdx), %ecx
incq %rdx
testb %cl, %cl
je LBB6_2
LBB6_20: ## Parent Loop BB6_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $3, %rdx
jb LBB6_19
## %bb.21: ## in Loop: Header=BB6_20 Depth=2
movzbl -1(%r8,%rdx), %esi
cmpb %sil, %cl
je LBB6_19
## %bb.22: ## in Loop: Header=BB6_20 Depth=2
cmpb -3(%r8,%rdx), %cl
jne LBB6_19
## %bb.23: ## in Loop: Header=BB6_20 Depth=2
cmpb %sil, -2(%r8,%rdx)
jne LBB6_19
jmp LBB6_3
LBB6_24:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hasABBA ## -- Begin function hasABBA
.p2align 4, 0x90
_hasABBA: ## @hasABBA
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rdi), %cl
testb %cl, %cl
je LBB7_9
## %bb.1:
xorl %eax, %eax
jmp LBB7_3
.p2align 4, 0x90
LBB7_2: ## in Loop: Header=BB7_3 Depth=1
movzbl 1(%rdi,%rax), %ecx
incq %rax
testb %cl, %cl
je LBB7_9
LBB7_3: ## =>This Inner Loop Header: Depth=1
cmpq $3, %rax
jb LBB7_2
## %bb.4: ## in Loop: Header=BB7_3 Depth=1
movzbl -1(%rdi,%rax), %edx
cmpb %dl, %cl
je LBB7_2
## %bb.5: ## in Loop: Header=BB7_3 Depth=1
cmpb -3(%rdi,%rax), %cl
jne LBB7_2
## %bb.6: ## in Loop: Header=BB7_3 Depth=1
cmpb %dl, -2(%rdi,%rax)
jne LBB7_2
## %bb.7:
movb $1, %al
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB7_9:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isSSL ## -- Begin function isSSL
.p2align 4, 0x90
_isSSL: ## @isSSL
.cfi_startproc
## %bb.0:
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
movl $4112, %eax ## imm = 0x1010
callq ____chkstk_darwin
subq %rax, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
leaq -4144(%rbp), %r14
movl $2056, %esi ## imm = 0x808
movq %r14, %rdi
callq ___bzero
leaq -2088(%rbp), %r15
movl $2056, %esi ## imm = 0x808
movq %r15, %rdi
callq ___bzero
movb (%r12), %bl
testb %bl, %bl
jne LBB8_2
## %bb.1:
xorl %eax, %eax
jmp LBB8_24
.p2align 4, 0x90
LBB8_14: ## in Loop: Header=BB8_2 Depth=1
movb (%r12), %bl
testb %bl, %bl
je LBB8_15
LBB8_2: ## =>This Loop Header: Depth=1
## Child Loop BB8_4 Depth 2
## Child Loop BB8_12 Depth 2
movq %r12, %rsi
leaq 1(%r12), %rax
movq $-3, %rcx
movq %rax, %r12
movl %ebx, %edx
testb %dl, %dl
je LBB8_7
.p2align 4, 0x90
LBB8_4: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $91, %dl
je LBB8_7
## %bb.5: ## in Loop: Header=BB8_4 Depth=2
cmpb $93, %dl
je LBB8_7
## %bb.6: ## in Loop: Header=BB8_4 Depth=2
movzbl (%r12), %edx
incq %r12
incq %rcx
testb %dl, %dl
jne LBB8_4
LBB8_7: ## in Loop: Header=BB8_2 Depth=1
cmpb $93, %dl
movq %r14, %r8
cmoveq %r15, %r8
leaq -3(%r12), %rdi
cmpq %rsi, %rdi
jbe LBB8_14
## %bb.8: ## in Loop: Header=BB8_2 Depth=1
cmpb $93, %dl
movq 2048(%r8), %rdi
movq %r14, %rdx
cmoveq %r15, %rdx
leaq (%rdx,%rdi,2), %rsi
cmpb 1(%rax), %bl
jne LBB8_12
.p2align 4, 0x90
LBB8_10: ## in Loop: Header=BB8_2 Depth=1
cmpb (%rax), %bl
je LBB8_12
## %bb.11: ## in Loop: Header=BB8_2 Depth=1
movb %bl, (%rsi)
movb (%rax), %dl
movb %dl, 1(%rsi)
addq $2, %rsi
incq %rdi
movq %rdi, 2048(%r8)
LBB8_12: ## Parent Loop BB8_2 Depth=1
## => This Inner Loop Header: Depth=2
testq %rcx, %rcx
je LBB8_14
## %bb.13: ## in Loop: Header=BB8_12 Depth=2
movzbl (%rax), %ebx
incq %rax
decq %rcx
cmpb 1(%rax), %bl
je LBB8_10
jmp LBB8_12
LBB8_15:
movq -2096(%rbp), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je LBB8_24
## %bb.16:
movq -40(%rbp), %rdx
testq %rdx, %rdx
je LBB8_24
## %bb.17:
xorl %esi, %esi
jmp LBB8_18
.p2align 4, 0x90
LBB8_23: ## in Loop: Header=BB8_18 Depth=1
incq %rsi
xorl %eax, %eax
cmpq %rcx, %rsi
je LBB8_24
LBB8_18: ## =>This Loop Header: Depth=1
## Child Loop BB8_19 Depth 2
movb -4144(%rbp,%rsi,2), %al
xorl %edi, %edi
jmp LBB8_19
.p2align 4, 0x90
LBB8_22: ## in Loop: Header=BB8_19 Depth=2
incq %rdi
cmpq %rdi, %rdx
je LBB8_23
LBB8_19: ## Parent Loop BB8_18 Depth=1
## => This Inner Loop Header: Depth=2
cmpb -2087(%rbp,%rdi,2), %al
jne LBB8_22
## %bb.20: ## in Loop: Header=BB8_19 Depth=2
movzbl -4143(%rbp,%rsi,2), %ebx
cmpb -2088(%rbp,%rdi,2), %bl
jne LBB8_22
## %bb.21:
movb $1, %al
LBB8_24:
## kill: def $al killed $al killed $eax
addq $4112, %rsp ## imm = 0x1010
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _collectABA ## -- Begin function collectABA
.p2align 4, 0x90
_collectABA: ## @collectABA
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 2048(%rdi), %rax
leaq -2(%rdx), %r8
cmpq %rsi, %r8
jbe LBB9_16
## %bb.1:
leaq (%rdi,%rax,2), %r9
movl %r8d, %ecx
subl %esi, %ecx
addq $-3, %rdx
testb $1, %cl
jne LBB9_3
## %bb.2:
movq %rsi, %rcx
cmpq %rsi, %rdx
je LBB9_16
jmp LBB9_8
LBB9_3:
movb (%rsi), %cl
cmpb 2(%rsi), %cl
jne LBB9_6
## %bb.4:
cmpb 1(%rsi), %cl
je LBB9_6
## %bb.5:
movb %cl, (%rdi,%rax,2)
movb 1(%rsi), %cl
movb %cl, 1(%rdi,%rax,2)
addq $2, %r9
incq %rax
movq %rax, 2048(%rdi)
LBB9_6:
leaq 1(%rsi), %rcx
cmpq %rsi, %rdx
jne LBB9_8
LBB9_16:
popq %rbp
retq
LBB9_8:
addq $2, %rcx
jmp LBB9_9
.p2align 4, 0x90
LBB9_15: ## in Loop: Header=BB9_9 Depth=1
addq $2, %rcx
addq $2, %rsi
cmpq %r8, %rsi
je LBB9_16
LBB9_9: ## =>This Inner Loop Header: Depth=1
leaq -2(%rcx), %rsi
movzbl -2(%rcx), %edx
cmpb (%rcx), %dl
jne LBB9_12
## %bb.10: ## in Loop: Header=BB9_9 Depth=1
cmpb -1(%rcx), %dl
je LBB9_12
## %bb.11: ## in Loop: Header=BB9_9 Depth=1
movb %dl, (%r9)
movzbl -1(%rcx), %edx
movb %dl, 1(%r9)
addq $2, %r9
incq %rax
movq %rax, 2048(%rdi)
LBB9_12: ## in Loop: Header=BB9_9 Depth=1
movzbl 1(%rsi), %edx
cmpb 3(%rsi), %dl
jne LBB9_15
## %bb.13: ## in Loop: Header=BB9_9 Depth=1
cmpb (%rcx), %dl
je LBB9_15
## %bb.14: ## in Loop: Header=BB9_9 Depth=1
movb %dl, (%r9)
movzbl (%rcx), %edx
movb %dl, 1(%r9)
addq $2, %r9
incq %rax
movq %rax, 2048(%rdi)
jmp LBB9_15
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\t%c%c%c"
L_.str.2: ## @.str.2
.asciz "total:\t%ld\n"
L_.str.3: ## @.str.3
.asciz "tls:\t%ld\n"
L_.str.4: ## @.str.4
.asciz "ssl:\t%ld\n"
L_.str.5: ## @.str.5
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dump ; -- Begin function dump
.p2align 2
_dump: ; @dump
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0, #2048]
cbz x8, LBB0_3
; %bb.1:
mov x19, x0
mov x21, #0
add x22, x0, #1
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldursb x8, [x22, #-1]
ldrsb x9, [x22]
stp x9, x8, [sp, #8]
str x8, [sp]
mov x0, x20
bl _printf
add x21, x21, #1
ldr x8, [x19, #2048]
add x22, x22, #2
cmp x21, x8
b.lo LBB0_2
LBB0_3:
mov w0, #10
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
b _putchar
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -56
.cfi_offset w28, -64
mov w9, #4194368
Lloh2:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh3:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1024, lsl #12 ; =4194304
sub sp, sp, #64
add x19, sp, #512, lsl #12 ; =2097152
add x19, x19, #40
add x20, x19, #512, lsl #12 ; =2097152
add x21, sp, #16
add x0, sp, #512, lsl #12 ; =2097152
add x0, x0, #40
mov w1, #24
movk w1, #32, lsl #16
bl _bzero
str x19, [sp]
Lloh4:
adrp x0, l_.str.5@PAGE
Lloh5:
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
cmp w0, #1
b.lt LBB1_3
; %bb.1:
add x22, x19, #1024
Lloh6:
adrp x19, l_.str.5@PAGE
Lloh7:
add x19, x19, l_.str.5@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
add x8, x8, #1
str x8, [x20]
str x22, [sp]
mov x0, x19
bl _scanf
add x22, x22, #1024
cmp w0, #0
b.gt LBB1_2
LBB1_3:
add x21, x21, #512, lsl #12 ; =2097152
ldr x8, [x20]
str x8, [sp]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x0, sp, #16
add x1, sp, #512, lsl #12 ; =2097152
add x1, x1, #40
mov w2, #24
movk w2, #32, lsl #16
bl _memcpy
ldr x8, [x20]
cbz x8, LBB1_8
; %bb.4:
mov x22, #0
add x19, sp, #512, lsl #12 ; =2097152
add x19, x19, #40
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
add x22, x22, #1
ldr x8, [x20]
add x19, x19, #1024
cmp x22, x8
b.hs LBB1_8
LBB1_6: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #0
bl _isTLS_
cbz w0, LBB1_5
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
ldr x8, [x20, #8]
add x8, x8, #1
str x8, [x20, #8]
b LBB1_5
LBB1_8:
ldr x8, [x20, #8]
str x8, [sp]
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x8, [x21]
cbz x8, LBB1_13
; %bb.9:
mov x20, #0
add x19, sp, #16
b LBB1_11
LBB1_10: ; in Loop: Header=BB1_11 Depth=1
add x20, x20, #1
ldr x8, [x21]
add x19, x19, #1024
cmp x20, x8
b.hs LBB1_13
LBB1_11: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _isSSL
cbz w0, LBB1_10
; %bb.12: ; in Loop: Header=BB1_11 Depth=1
ldr x8, [x21, #16]
add x8, x8, #1
str x8, [x21, #16]
b LBB1_10
LBB1_13:
ldr x8, [x21, #16]
str x8, [sp]
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
add sp, sp, #1024, lsl #12 ; =4194304
add sp, sp, #64
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 x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _parse ; -- Begin function parse
.p2align 2
_parse: ; @parse
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
str x0, [sp]
Lloh14:
adrp x0, l_.str.5@PAGE
Lloh15:
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
cmp w0, #1
b.lt LBB2_3
; %bb.1:
add x21, x19, #512, lsl #12 ; =2097152
add x22, x19, #1024
Lloh16:
adrp x20, l_.str.5@PAGE
Lloh17:
add x20, x20, l_.str.5@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
add x8, x8, #1
str x8, [x21]
str x22, [sp]
mov x0, x20
bl _scanf
add x22, x22, #1024
cmp w0, #0
b.gt LBB2_2
LBB2_3:
mov w8, #2097152
ldr x0, [x19, 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
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _countTLS ; -- Begin function countTLS
.p2align 2
_countTLS: ; @countTLS
.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
add x20, x0, #512, lsl #12 ; =2097152
ldr x8, [x20]
cbz x8, LBB3_5
; %bb.1:
mov x19, x0
mov x21, #0
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
add x21, x21, #1
ldr x8, [x20]
add x19, x19, #1024
cmp x21, x8
b.hs LBB3_5
LBB3_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #0
bl _isTLS_
cbz w0, LBB3_2
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [x20, #8]
add x8, x8, #1
str x8, [x20, #8]
b LBB3_2
LBB3_5:
ldr x0, [x20, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _countSSL ; -- Begin function countSSL
.p2align 2
_countSSL: ; @countSSL
.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
add x20, x0, #512, lsl #12 ; =2097152
ldr x8, [x20]
cbz x8, LBB4_5
; %bb.1:
mov x19, x0
mov x21, #0
b LBB4_3
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
add x21, x21, #1
ldr x8, [x20]
add x19, x19, #1024
cmp x21, x8
b.hs LBB4_5
LBB4_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _isSSL
cbz w0, LBB4_2
; %bb.4: ; in Loop: Header=BB4_3 Depth=1
ldr x8, [x20, #16]
add x8, x8, #1
str x8, [x20, #16]
b LBB4_2
LBB4_5:
ldr x0, [x20, #16]
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 _isTLS ; -- Begin function isTLS
.p2align 2
_isTLS: ; @isTLS
.cfi_startproc
; %bb.0:
mov w1, #0
b _isTLS_
.cfi_endproc
; -- End function
.globl _isTLS_ ; -- Begin function isTLS_
.p2align 2
_isTLS_: ; @isTLS_
.cfi_startproc
; %bb.0:
b LBB6_2
LBB6_1: ; in Loop: Header=BB6_2 Depth=1
mov w1, #1
LBB6_2: ; =>This Loop Header: Depth=1
; Child Loop BB6_4 Depth 2
; Child Loop BB6_11 Depth 2
; Child Loop BB6_19 Depth 2
ldrb w9, [x0]
cbz w9, LBB6_25
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
mov x8, x0
add x0, x0, #1
cbz w9, LBB6_7
LBB6_4: ; Parent Loop BB6_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp w9, #91
b.eq LBB6_7
; %bb.5: ; in Loop: Header=BB6_4 Depth=2
cmp w9, #93
b.eq LBB6_7
; %bb.6: ; in Loop: Header=BB6_4 Depth=2
ldrb w9, [x0], #1
cbnz w9, LBB6_4
LBB6_7: ; in Loop: Header=BB6_2 Depth=1
sturb wzr, [x0, #-1]
cmp w9, #93
b.ne LBB6_15
; %bb.8: ; in Loop: Header=BB6_2 Depth=1
ldrb w10, [x8]
cbz w10, LBB6_15
; %bb.9: ; in Loop: Header=BB6_2 Depth=1
mov x9, #0
b LBB6_11
LBB6_10: ; in Loop: Header=BB6_11 Depth=2
add x10, x8, x9
add x9, x9, #1
ldrb w10, [x10, #1]
cbz w10, LBB6_15
LBB6_11: ; Parent Loop BB6_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp x9, #3
b.lo LBB6_10
; %bb.12: ; in Loop: Header=BB6_11 Depth=2
add x12, x8, x9
ldurb w11, [x12, #-1]
cmp w10, w11
b.eq LBB6_10
; %bb.13: ; in Loop: Header=BB6_11 Depth=2
ldurb w12, [x12, #-3]
cmp w10, w12
b.ne LBB6_10
; %bb.14: ; in Loop: Header=BB6_11 Depth=2
add x10, x8, x9
ldurb w10, [x10, #-2]
cmp w10, w11
b.ne LBB6_10
b LBB6_26
LBB6_15: ; in Loop: Header=BB6_2 Depth=1
tbnz w1, #0, LBB6_1
; %bb.16: ; in Loop: Header=BB6_2 Depth=1
ldrb w10, [x8]
cbz w10, LBB6_24
; %bb.17: ; in Loop: Header=BB6_2 Depth=1
mov x9, #0
b LBB6_19
LBB6_18: ; in Loop: Header=BB6_19 Depth=2
add x10, x8, x9
add x9, x9, #1
ldrb w10, [x10, #1]
cbz w10, LBB6_24
LBB6_19: ; Parent Loop BB6_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp x9, #3
b.lo LBB6_18
; %bb.20: ; in Loop: Header=BB6_19 Depth=2
add x12, x8, x9
ldurb w11, [x12, #-1]
cmp w10, w11
b.eq LBB6_18
; %bb.21: ; in Loop: Header=BB6_19 Depth=2
ldurb w12, [x12, #-3]
cmp w10, w12
b.ne LBB6_18
; %bb.22: ; in Loop: Header=BB6_19 Depth=2
add x10, x8, x9
ldurb w10, [x10, #-2]
cmp w10, w11
b.ne LBB6_18
; %bb.23: ; in Loop: Header=BB6_2 Depth=1
mov w1, #1
b LBB6_2
LBB6_24: ; in Loop: Header=BB6_2 Depth=1
mov w1, #0
b LBB6_2
LBB6_25:
mov x0, x1
ret
LBB6_26:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _hasABBA ; -- Begin function hasABBA
.p2align 2
_hasABBA: ; @hasABBA
.cfi_startproc
; %bb.0:
ldrb w9, [x0]
cbz w9, LBB7_8
; %bb.1:
mov x8, #0
b LBB7_3
LBB7_2: ; in Loop: Header=BB7_3 Depth=1
add x9, x0, x8
add x8, x8, #1
ldrb w9, [x9, #1]
cbz w9, LBB7_8
LBB7_3: ; =>This Inner Loop Header: Depth=1
cmp x8, #3
b.lo LBB7_2
; %bb.4: ; in Loop: Header=BB7_3 Depth=1
add x11, x0, x8
ldurb w10, [x11, #-1]
cmp w9, w10
b.eq LBB7_2
; %bb.5: ; in Loop: Header=BB7_3 Depth=1
ldurb w11, [x11, #-3]
cmp w9, w11
b.ne LBB7_2
; %bb.6: ; in Loop: Header=BB7_3 Depth=1
add x9, x0, x8
ldurb w9, [x9, #-2]
cmp w9, w10
b.ne LBB7_2
; %bb.7:
mov w0, #1
ret
LBB7_8:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _isSSL ; -- Begin function isSSL
.p2align 2
_isSSL: ; @isSSL
.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 w9, #4112
Lloh18:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh19:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #16
mov x19, x0
add x20, sp, #2056
add x0, sp, #2056
mov w1, #2056
bl _bzero
mov x21, sp
mov x0, sp
mov w1, #2056
bl _bzero
ldrb w10, [x19]
cbnz w10, LBB8_3
; %bb.1:
mov w0, #0
b LBB8_23
LBB8_2: ; in Loop: Header=BB8_3 Depth=1
ldrb w10, [x19]
cbz w10, LBB8_14
LBB8_3: ; =>This Loop Header: Depth=1
; Child Loop BB8_4 Depth 2
; Child Loop BB8_9 Depth 2
mov x12, x19
add x8, x19, #1
mov x9, #-3
mov x19, x8
mov x13, x10
cbz w13, LBB8_7
LBB8_4: ; Parent Loop BB8_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w13, #91
b.eq LBB8_7
; %bb.5: ; in Loop: Header=BB8_4 Depth=2
cmp w13, #93
b.eq LBB8_7
; %bb.6: ; in Loop: Header=BB8_4 Depth=2
ldrb w13, [x19], #1
add x9, x9, #1
cbnz w13, LBB8_4
LBB8_7: ; in Loop: Header=BB8_3 Depth=1
cmp w13, #93
csel x11, x21, x20, eq
sub x14, x19, #3
cmp x14, x12
b.ls LBB8_2
; %bb.8: ; in Loop: Header=BB8_3 Depth=1
ldr x12, [x11, #2048]
cmp w13, #93
csel x13, x21, x20, eq
add x13, x13, x12, lsl #1
LBB8_9: ; Parent Loop BB8_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w14, [x8, #1]
cmp w10, w14
b.ne LBB8_12
; %bb.10: ; in Loop: Header=BB8_9 Depth=2
ldrb w14, [x8]
cmp w10, w14
b.eq LBB8_12
; %bb.11: ; in Loop: Header=BB8_9 Depth=2
strb w10, [x13]
ldrb w10, [x8]
strb w10, [x13, #1]
add x13, x13, #2
add x12, x12, #1
str x12, [x11, #2048]
LBB8_12: ; in Loop: Header=BB8_9 Depth=2
cbz x9, LBB8_2
; %bb.13: ; in Loop: Header=BB8_9 Depth=2
ldrb w10, [x8], #1
sub x9, x9, #1
b LBB8_9
LBB8_14:
mov w0, #0
ldr x8, [sp, #4104]
cbz x8, LBB8_23
; %bb.15:
ldr x9, [sp, #2048]
cbz x9, LBB8_23
; %bb.16:
mov x10, #0
mov x11, sp
orr x11, x11, #0x1
add x12, sp, #2056
b LBB8_18
LBB8_17: ; in Loop: Header=BB8_18 Depth=1
mov w0, #0
add x10, x10, #1
cmp x10, x8
b.eq LBB8_23
LBB8_18: ; =>This Loop Header: Depth=1
; Child Loop BB8_20 Depth 2
add x14, x12, x10, lsl #1
ldrb w13, [x14]
orr x14, x14, #0x1
mov x15, x11
mov x16, x9
b LBB8_20
LBB8_19: ; in Loop: Header=BB8_20 Depth=2
add x15, x15, #2
subs x16, x16, #1
b.eq LBB8_17
LBB8_20: ; Parent Loop BB8_18 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w17, [x15]
cmp w13, w17
b.ne LBB8_19
; %bb.21: ; in Loop: Header=BB8_20 Depth=2
ldrb w17, [x14]
ldurb w0, [x15, #-1]
cmp w17, w0
b.ne LBB8_19
; %bb.22:
mov w0, #1
LBB8_23:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #16
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 Lloh18, Lloh19
.cfi_endproc
; -- End function
.globl _collectABA ; -- Begin function collectABA
.p2align 2
_collectABA: ; @collectABA
.cfi_startproc
; %bb.0:
mov x8, x0
ldr x0, [x0, #2048]
sub x9, x2, #2
cmp x9, x1
b.ls LBB9_6
; %bb.1:
add x10, x8, x0, lsl #1
add x11, x1, #1
b LBB9_3
LBB9_2: ; in Loop: Header=BB9_3 Depth=1
add x11, x11, #1
add x12, x12, #1
cmp x12, x9
b.eq LBB9_6
LBB9_3: ; =>This Inner Loop Header: Depth=1
mov x12, x11
ldrb w13, [x12, #-1]!
ldrb w14, [x12, #2]
cmp w13, w14
b.ne LBB9_2
; %bb.4: ; in Loop: Header=BB9_3 Depth=1
ldrb w14, [x11]
cmp w13, w14
b.eq LBB9_2
; %bb.5: ; in Loop: Header=BB9_3 Depth=1
strb w13, [x10]
ldrb w13, [x11]
strb w13, [x10, #1]
add x10, x10, #2
add x0, x0, #1
str x0, [x8, #2048]
b LBB9_2
LBB9_6:
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\t%c%c%c"
l_.str.2: ; @.str.2
.asciz "total:\t%ld\n"
l_.str.3: ; @.str.3
.asciz "tls:\t%ld\n"
l_.str.4: ; @.str.4
.asciz "ssl:\t%ld\n"
l_.str.5: ; @.str.5
.asciz "%s"
.subsections_via_symbols
| the_stack_data/32949632.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function CheckAPI
_CheckAPI: ## @CheckAPI
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq _EGL_CLIENT_APIS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _eglQueryString
movq %rax, %rdi
movq %rbx, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _vlc_gl_StrHasToken ## TAILCALL
.cfi_endproc
## -- End function
.comm _EGL_CLIENT_APIS,4,2 ## @EGL_CLIENT_APIS
.no_dead_strip _CheckAPI
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function CheckAPI
_CheckAPI: ; @CheckAPI
.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
Lloh0:
adrp x8, _EGL_CLIENT_APIS@GOTPAGE
Lloh1:
ldr x8, [x8, _EGL_CLIENT_APIS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _eglQueryString
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _vlc_gl_StrHasToken
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EGL_CLIENT_APIS,4,2 ; @EGL_CLIENT_APIS
.no_dead_strip _CheckAPI
.subsections_via_symbols
| AnghaBench/vlc/modules/video_output/opengl/extr_egl.c_CheckAPI.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function neigh_ifindex_filtered
_neigh_ifindex_filtered: ## @neigh_ifindex_filtered
.cfi_startproc
## %bb.0:
testl %esi, %esi
je LBB0_3
## %bb.1:
movl $1, %eax
testq %rdi, %rdi
je LBB0_4
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl %esi, (%rdi)
popq %rbp
jne LBB0_4
LBB0_3:
xorl %eax, %eax
LBB0_4:
retq
.cfi_endproc
## -- End function
.no_dead_strip _neigh_ifindex_filtered
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function neigh_ifindex_filtered
_neigh_ifindex_filtered: ; @neigh_ifindex_filtered
.cfi_startproc
; %bb.0:
cbz w1, LBB0_3
; %bb.1:
cbz x0, LBB0_4
; %bb.2:
ldr w8, [x0]
cmp w8, w1
b.ne LBB0_4
LBB0_3:
mov w0, #0
ret
LBB0_4:
mov w0, #1
ret
.cfi_endproc
; -- End function
.no_dead_strip _neigh_ifindex_filtered
.subsections_via_symbols
| AnghaBench/linux/net/core/extr_neighbour.c_neigh_ifindex_filtered.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _amdgpu_uvd_free_handles ## -- Begin function amdgpu_uvd_free_handles
.p2align 4, 0x90
_amdgpu_uvd_free_handles: ## @amdgpu_uvd_free_handles
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, (%rdi)
jle LBB0_8
## %bb.1:
movq %rsi, %r14
movq %rdi, %rbx
movq 24(%rdi), %r15
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB0_2
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _DRM_ERROR
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
incq %r12
movslq (%rbx), %rax
addq $4, %r13
cmpq %rax, %r12
jge LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rdi
addq %r13, %rdi
callq _atomic_read
testq %rax, %rax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rbx), %rcx
cmpq %r14, (%rcx,%r13,2)
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
leaq -48(%rbp), %rcx
callq _amdgpu_uvd_get_destroy_msg
testl %eax, %eax
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq -48(%rbp), %rdi
xorl %esi, %esi
callq _dma_fence_wait
movq -48(%rbp), %rdi
callq _dma_fence_put
movq 16(%rbx), %rax
movq $0, (%rax,%r13,2)
movq 8(%rbx), %rdi
addq %r13, %rdi
xorl %esi, %esi
callq _atomic_set
jmp LBB0_7
LBB0_8:
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 "Error destroying UVD %d!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _amdgpu_uvd_free_handles ; -- Begin function amdgpu_uvd_free_handles
.p2align 2
_amdgpu_uvd_free_handles: ; @amdgpu_uvd_free_handles
.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
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_8
; %bb.1:
mov x19, x1
mov x20, x0
mov x23, #0
mov x24, #0
ldr x21, [x0, #24]
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x22
bl _DRM_ERROR
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x24, x24, #1
ldrsw x8, [x20]
add x23, x23, #4
cmp x24, x8
b.ge LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
add x0, x8, x23
bl _atomic_read
cbz x0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20, #16]
ldr x8, [x8, x24, lsl #3]
cmp x8, x19
b.ne LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x1, x0
add x3, sp, #8
mov x0, x21
mov w2, #0
bl _amdgpu_uvd_get_destroy_msg
mov x1, x0
cbnz w0, LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [sp, #8]
bl _dma_fence_wait
ldr x0, [sp, #8]
bl _dma_fence_put
ldr x8, [x20, #16]
str xzr, [x8, x24, lsl #3]
ldr x8, [x20, #8]
add x0, x8, x23
mov w1, #0
bl _atomic_set
b LBB0_3
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error destroying UVD %d!\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_uvd.c_amdgpu_uvd_free_handles.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function 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
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:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/156394397.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function jbig2_decode_generic_region_TPGDON
_jbig2_decode_generic_region_TPGDON: ## @jbig2_decode_generic_region_TPGDON
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdx), %eax
cmpq $3, %rax
ja LBB0_6
## %bb.1:
leaq LJTI0_0(%rip), %r10
movslq (%r10,%rax,4), %rax
addq %r10, %rax
jmpq *%rax
LBB0_2:
popq %rbp
jmp _jbig2_decode_generic_template0_TPGDON ## TAILCALL
LBB0_6:
movq _JBIG2_SEVERITY_FATAL@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movl (%rsi), %edx
leaq L_.str(%rip), %rcx
movl %r8d, %esi
movl %eax, %r8d
popq %rbp
jmp _jbig2_error ## TAILCALL
LBB0_3:
popq %rbp
jmp _jbig2_decode_generic_template1_TPGDON ## TAILCALL
LBB0_4:
popq %rbp
jmp _jbig2_decode_generic_template2_TPGDON ## TAILCALL
LBB0_5:
popq %rbp
jmp _jbig2_decode_generic_template3_TPGDON ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.end_data_region
## -- End function
.comm _JBIG2_SEVERITY_FATAL,4,2 ## @JBIG2_SEVERITY_FATAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unsupported GBTEMPLATE (%d)"
.no_dead_strip _jbig2_decode_generic_region_TPGDON
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function jbig2_decode_generic_region_TPGDON
_jbig2_decode_generic_region_TPGDON: ; @jbig2_decode_generic_region_TPGDON
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #3
b.hi LBB0_3
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
b _jbig2_decode_generic_template0_TPGDON
LBB0_3:
Lloh2:
adrp x9, _JBIG2_SEVERITY_FATAL@GOTPAGE
Lloh3:
ldr x9, [x9, _JBIG2_SEVERITY_FATAL@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
adrp x3, l_.str@PAGE
Lloh6:
add x3, x3, l_.str@PAGEOFF
ldr w2, [x1]
mov x1, x9
mov x4, x8
b _jbig2_error
LBB0_4:
b _jbig2_decode_generic_template1_TPGDON
LBB0_5:
b _jbig2_decode_generic_template2_TPGDON
LBB0_6:
b _jbig2_decode_generic_template3_TPGDON
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
; -- End function
.comm _JBIG2_SEVERITY_FATAL,4,2 ; @JBIG2_SEVERITY_FATAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unsupported GBTEMPLATE (%d)"
.no_dead_strip _jbig2_decode_generic_region_TPGDON
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/jbig2dec/extr_jbig2_generic.c_jbig2_decode_generic_region_TPGDON.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath5k_hw_chan_has_spur_noise ## -- Begin function ath5k_hw_chan_has_spur_noise
.p2align 4, 0x90
_ath5k_hw_chan_has_spur_noise: ## @ath5k_hw_chan_has_spur_noise
.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 _AR5K_RF5112@GOTPCREL(%rip), %rdx
movl $40, %ecx
cmpq (%rdx), %rax
je LBB0_4
## %bb.1:
movq _AR5K_RF5413@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_4
## %bb.2:
movq _AR5K_RF2413@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_4
## %bb.3:
movq _AR5K_SREV_AR2417@GOTPCREL(%rip), %rax
movl (%rax), %eax
sarl $4, %eax
xorl %ecx, %ecx
cmpl %eax, 8(%rdi)
sete %cl
leal 32(,%rcx,8), %ecx
LBB0_4:
movl (%rsi), %eax
cltd
idivl %ecx
testl %edx, %edx
setne %al
addl $-23, %edx
cmpl $-13, %edx
setb %cl
andb %al, %cl
movzbl %cl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AR5K_RF5112,8,3 ## @AR5K_RF5112
.comm _AR5K_RF5413,8,3 ## @AR5K_RF5413
.comm _AR5K_RF2413,8,3 ## @AR5K_RF2413
.comm _AR5K_SREV_AR2417,4,2 ## @AR5K_SREV_AR2417
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ath5k_hw_chan_has_spur_noise ; -- Begin function ath5k_hw_chan_has_spur_noise
.p2align 2
_ath5k_hw_chan_has_spur_noise: ; @ath5k_hw_chan_has_spur_noise
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _AR5K_RF5112@GOTPAGE
Lloh1:
ldr x8, [x8, _AR5K_RF5112@GOTPAGEOFF]
ldr x9, [x0]
Lloh2:
ldr x10, [x8]
Lloh3:
adrp x8, _AR5K_RF5413@GOTPAGE
Lloh4:
ldr x8, [x8, _AR5K_RF5413@GOTPAGEOFF]
Lloh5:
adrp x11, _AR5K_RF2413@GOTPAGE
Lloh6:
ldr x11, [x11, _AR5K_RF2413@GOTPAGEOFF]
Lloh7:
ldr x12, [x8]
Lloh8:
ldr x11, [x11]
mov w8, #40
cmp x9, x10
ccmp x9, x12, #4, ne
ccmp x9, x11, #4, ne
b.eq LBB0_2
; %bb.1:
ldr w9, [x0, #8]
Lloh9:
adrp x10, _AR5K_SREV_AR2417@GOTPAGE
Lloh10:
ldr x10, [x10, _AR5K_SREV_AR2417@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
cmp w9, w10, asr #4
mov w9, #32
csel w8, w8, w9, eq
LBB0_2:
ldr w9, [x1]
sdiv w10, w9, w8
msub w8, w10, w8, w9
sub w9, w8, #23
cmp w8, #0
mov w8, #-13
ccmp w9, w8, #2, ne
cset w0, lo
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _AR5K_RF5112,8,3 ; @AR5K_RF5112
.comm _AR5K_RF5413,8,3 ; @AR5K_RF5413
.comm _AR5K_RF2413,8,3 ; @AR5K_RF2413
.comm _AR5K_SREV_AR2417,4,2 ; @AR5K_SREV_AR2417
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_phy.c_ath5k_hw_chan_has_spur_noise.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_int ## -- Begin function add_int
.p2align 4, 0x90
_add_int: ## @add_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
## kill: def $edi killed $edi def $rdi
leal (%rdi,%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_float ## -- Begin function add_float
.p2align 4, 0x90
_add_float: ## @add_float
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _subtract_int ## -- Begin function subtract_int
.p2align 4, 0x90
_subtract_int: ## @subtract_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
subl %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _subtract_float ## -- Begin function subtract_float
.p2align 4, 0x90
_subtract_float: ## @subtract_float
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _multiply_int ## -- Begin function multiply_int
.p2align 4, 0x90
_multiply_int: ## @multiply_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
imull %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _multiply_float ## -- Begin function multiply_float
.p2align 4, 0x90
_multiply_float: ## @multiply_float
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
mulss %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_positive_int ## -- Begin function is_positive_int
.p2align 4, 0x90
_is_positive_int: ## @is_positive_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
setg %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_zero_int ## -- Begin function is_zero_int
.p2align 4, 0x90
_is_zero_int: ## @is_zero_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_negative_int ## -- Begin function is_negative_int
.p2align 4, 0x90
_is_negative_int: ## @is_negative_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
shrl $31, %eax
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_single_digit_int ## -- Begin function is_single_digit_int
.p2align 4, 0x90
_is_single_digit_int: ## @is_single_digit_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $9, %edi
cmpl $19, %edi
setb %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_not_single_digit_int ## -- Begin function is_not_single_digit_int
.p2align 4, 0x90
_is_not_single_digit_int: ## @is_not_single_digit_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-10, %edi
cmpl $-19, %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 _add_int ; -- Begin function add_int
.p2align 2
_add_int: ; @add_int
.cfi_startproc
; %bb.0:
add w0, w1, w0
ret
.cfi_endproc
; -- End function
.globl _add_float ; -- Begin function add_float
.p2align 2
_add_float: ; @add_float
.cfi_startproc
; %bb.0:
fadd s0, s0, s1
ret
.cfi_endproc
; -- End function
.globl _subtract_int ; -- Begin function subtract_int
.p2align 2
_subtract_int: ; @subtract_int
.cfi_startproc
; %bb.0:
sub w0, w0, w1
ret
.cfi_endproc
; -- End function
.globl _subtract_float ; -- Begin function subtract_float
.p2align 2
_subtract_float: ; @subtract_float
.cfi_startproc
; %bb.0:
fsub s0, s0, s1
ret
.cfi_endproc
; -- End function
.globl _multiply_int ; -- Begin function multiply_int
.p2align 2
_multiply_int: ; @multiply_int
.cfi_startproc
; %bb.0:
mul w0, w1, w0
ret
.cfi_endproc
; -- End function
.globl _multiply_float ; -- Begin function multiply_float
.p2align 2
_multiply_float: ; @multiply_float
.cfi_startproc
; %bb.0:
fmul s0, s0, s1
ret
.cfi_endproc
; -- End function
.globl _is_positive_int ; -- Begin function is_positive_int
.p2align 2
_is_positive_int: ; @is_positive_int
.cfi_startproc
; %bb.0:
cmp w0, #0
cset w0, gt
ret
.cfi_endproc
; -- End function
.globl _is_zero_int ; -- Begin function is_zero_int
.p2align 2
_is_zero_int: ; @is_zero_int
.cfi_startproc
; %bb.0:
cmp w0, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _is_negative_int ; -- Begin function is_negative_int
.p2align 2
_is_negative_int: ; @is_negative_int
.cfi_startproc
; %bb.0:
lsr w0, w0, #31
ret
.cfi_endproc
; -- End function
.globl _is_single_digit_int ; -- Begin function is_single_digit_int
.p2align 2
_is_single_digit_int: ; @is_single_digit_int
.cfi_startproc
; %bb.0:
add w8, w0, #9
cmp w8, #19
cset w0, lo
ret
.cfi_endproc
; -- End function
.globl _is_not_single_digit_int ; -- Begin function is_not_single_digit_int
.p2align 2
_is_not_single_digit_int: ; @is_not_single_digit_int
.cfi_startproc
; %bb.0:
sub w8, w0, #10
cmn w8, #19
cset w0, lo
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/132296.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BpfClose ## -- Begin function BpfClose
.p2align 4, 0x90
_BpfClose: ## @BpfClose
.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 _BpfPkt@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _free
movq $0, (%rbx)
LBB0_2:
movq _BpfFd@GOTPCREL(%rip), %rbx
cmpl $-1, (%rbx)
je LBB0_6
## %bb.3:
movq _AF_UNSPEC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
movq _RmpMcastAddr@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _RMP_ADDRLEN@GOTPCREL(%rip), %rax
movq (%rax), %rdx
callq _memmove
movl (%rbx), %edi
movq _SIOCDELMULTI@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -32(%rbp), %rdx
## kill: def $edx killed $edx killed $rdx
callq _ioctl
testq %rax, %rax
jns LBB0_5
## %bb.4:
movl (%rbx), %edi
movq _BIOCPROMISC@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _ioctl
LBB0_5:
movl (%rbx), %edi
callq _close
movl $-1, (%rbx)
LBB0_6:
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BpfPkt,8,3 ## @BpfPkt
.comm _BpfFd,4,2 ## @BpfFd
.comm _AF_UNSPEC,4,2 ## @AF_UNSPEC
.comm _RmpMcastAddr,8,3 ## @RmpMcastAddr
.comm _RMP_ADDRLEN,8,3 ## @RMP_ADDRLEN
.comm _SIOCDELMULTI,4,2 ## @SIOCDELMULTI
.comm _BIOCPROMISC,4,2 ## @BIOCPROMISC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BpfClose ; -- Begin function BpfClose
.p2align 2
_BpfClose: ; @BpfClose
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _BpfPkt@GOTPAGE
Lloh1:
ldr x19, [x19, _BpfPkt@GOTPAGEOFF]
ldr x0, [x19]
cbz x0, LBB0_2
; %bb.1:
bl _free
str xzr, [x19]
LBB0_2:
Lloh2:
adrp x19, _BpfFd@GOTPAGE
Lloh3:
ldr x19, [x19, _BpfFd@GOTPAGEOFF]
ldr w8, [x19]
cmn w8, #1
b.eq LBB0_6
; %bb.3:
Lloh4:
adrp x8, _AF_UNSPEC@GOTPAGE
Lloh5:
ldr x8, [x8, _AF_UNSPEC@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
str w8, [sp, #16]
Lloh7:
adrp x8, _RmpMcastAddr@GOTPAGE
Lloh8:
ldr x8, [x8, _RmpMcastAddr@GOTPAGEOFF]
Lloh9:
ldr x1, [x8]
Lloh10:
adrp x8, _RMP_ADDRLEN@GOTPAGE
Lloh11:
ldr x8, [x8, _RMP_ADDRLEN@GOTPAGEOFF]
Lloh12:
ldr x2, [x8]
bl _memmove
ldr w0, [x19]
Lloh13:
adrp x8, _SIOCDELMULTI@GOTPAGE
Lloh14:
ldr x8, [x8, _SIOCDELMULTI@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
add x2, sp, #8
bl _ioctl
tbz x0, #63, LBB0_5
; %bb.4:
ldr w0, [x19]
Lloh16:
adrp x8, _BIOCPROMISC@GOTPAGE
Lloh17:
ldr x8, [x8, _BIOCPROMISC@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
mov w2, #0
bl _ioctl
LBB0_5:
ldr w0, [x19]
bl _close
mov w8, #-1
str w8, [x19]
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _BpfPkt,8,3 ; @BpfPkt
.comm _BpfFd,4,2 ; @BpfFd
.comm _AF_UNSPEC,4,2 ; @AF_UNSPEC
.comm _RmpMcastAddr,8,3 ; @RmpMcastAddr
.comm _RMP_ADDRLEN,8,3 ; @RMP_ADDRLEN
.comm _SIOCDELMULTI,4,2 ; @SIOCDELMULTI
.comm _BIOCPROMISC,4,2 ; @BIOCPROMISC
.subsections_via_symbols
| AnghaBench/freebsd/libexec/rbootd/extr_bpf.c_BpfClose.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wcscpy ## -- Begin function wcscpy
.p2align 4, 0x90
_wcscpy: ## @wcscpy
.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 %rdi, %rcx
subq %rsi, %rcx
sarq $2, %rcx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%rsi), %edx
movl %edx, (%rsi,%rcx,4)
addq $4, %rsi
testl %edx, %edx
jne LBB0_1
## %bb.2:
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 _wcscpy ; -- Begin function wcscpy
.p2align 2
_wcscpy: ; @wcscpy
.cfi_startproc
; %bb.0:
sub x8, x0, x1
asr x8, x8, #2
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x1]
str w9, [x1, x8, lsl #2]
add x1, x1, #4
cbnz w9, LBB0_1
; %bb.2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/68287.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_errmsg ## -- Begin function sqlite3_errmsg
.p2align 4, 0x90
_sqlite3_errmsg: ## @sqlite3_errmsg
.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_1
## %bb.3:
movq %rdi, %rbx
callq _sqlite3SafetyCheckSickOrOk
testl %eax, %eax
je LBB0_4
## %bb.5:
movl 8(%rbx), %edi
callq _sqlite3_mutex_enter
cmpq $0, 16(%rbx)
je LBB0_7
## %bb.6:
movq _SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
LBB0_9:
movl (%rax), %edi
callq _sqlite3ErrStr
movq %rax, %r14
jmp LBB0_10
LBB0_1:
movq _SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _SQLITE_MISUSE_BKPT@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _sqlite3ErrStr ## TAILCALL
LBB0_7:
xorl %edi, %edi
cmpq $0, (%rbx)
sete %dil
callq _testcase
movq (%rbx), %rdi
callq _sqlite3_value_text
movq %rax, %r14
xorl %edi, %edi
cmpq $0, 16(%rbx)
sete %dil
callq _assert
testq %r14, %r14
je LBB0_8
LBB0_10:
movl 8(%rbx), %edi
callq _sqlite3_mutex_leave
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_8:
leaq 12(%rbx), %rax
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _SQLITE_NOMEM_BKPT,4,2 ## @SQLITE_NOMEM_BKPT
.comm _SQLITE_MISUSE_BKPT,4,2 ## @SQLITE_MISUSE_BKPT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_errmsg ; -- Begin function sqlite3_errmsg
.p2align 2
_sqlite3_errmsg: ; @sqlite3_errmsg
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_5
; %bb.1:
mov x19, x0
bl _sqlite3SafetyCheckSickOrOk
cbz w0, LBB0_6
; %bb.2:
ldr w0, [x19, #8]
bl _sqlite3_mutex_enter
ldr x8, [x19, #16]
cbz x8, LBB0_8
; %bb.3:
Lloh0:
adrp x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
bl _sqlite3ErrStr
mov x20, x0
b LBB0_9
LBB0_5:
Lloh2:
adrp x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh3:
ldr x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh4:
adrp x8, _SQLITE_MISUSE_BKPT@GOTPAGE
Lloh5:
ldr x8, [x8, _SQLITE_MISUSE_BKPT@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sqlite3ErrStr
LBB0_8:
ldr x8, [x19]
cmp x8, #0
cset w0, eq
bl _testcase
ldr x0, [x19]
bl _sqlite3_value_text
mov x20, x0
ldr x8, [x19, #16]
cmp x8, #0
cset w0, eq
bl _assert
cbz x20, LBB0_10
LBB0_9:
ldr w0, [x19, #8]
bl _sqlite3_mutex_leave
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_10:
add x8, x19, #12
b LBB0_4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SQLITE_NOMEM_BKPT,4,2 ; @SQLITE_NOMEM_BKPT
.comm _SQLITE_MISUSE_BKPT,4,2 ; @SQLITE_MISUSE_BKPT
.subsections_via_symbols
| AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_errmsg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -25(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movsbl -25(%rbp), %esi
leaq L_.str.1(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -32(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movsbl -32(%rbp), %esi
leaq L_.str.3(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movb -25(%rbp), %al
subb -32(%rbp), %al
movsbl %al, %ebx
leal 48(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
L_.str.1: ## @.str.1
.asciz "%d\n"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "%c\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
add x8, sp, #15
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrsb x8, [sp, #15]
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _printf
add x8, sp, #8
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldrsb x8, [sp, #8]
str x8, [sp]
Lloh6:
adrp x20, l_.str.3@PAGE
Lloh7:
add x20, x20, l_.str.3@PAGEOFF
mov x0, x20
bl _printf
ldrb w8, [sp, #15]
ldrb w9, [sp, #8]
sub w21, w8, w9
sxtb w8, w21
add w8, w8, #48
str x8, [sp]
mov x0, x20
bl _printf
sxtb x8, w21
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd 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 "%c"
l_.str.1: ; @.str.1
.asciz "%d\n"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "%c\n"
.subsections_via_symbols
| the_stack_data/40691.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reset_sub_crq_queues
_reset_sub_crq_queues: ## @reset_sub_crq_queues
.cfi_startproc
## %bb.0:
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
cmpl $0, (%rdi)
jle LBB0_4
## %bb.1:
xorl %ebx, %ebx
leaq L_.str(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 16(%r14), %edi
movq %r15, %rsi
movl %ebx, %edx
callq _netdev_dbg
movq 24(%r14), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
callq _reset_one_sub_crq_queue
testl %eax, %eax
jne LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_2
LBB0_4:
cmpl $0, 4(%r14)
jle LBB0_9
## %bb.5:
xorl %ebx, %ebx
leaq L_.str.1(%rip), %r15
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl 16(%r14), %edi
movq %r15, %rsi
movl %ebx, %edx
callq _netdev_dbg
movq 8(%r14), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
callq _reset_one_sub_crq_queue
testl %eax, %eax
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
incq %rbx
movslq 4(%r14), %rax
cmpq %rax, %rbx
jl LBB0_6
LBB0_9:
xorl %eax, %eax
LBB0_10:
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 "Re-setting tx_scrq[%d]\n"
L_.str.1: ## @.str.1
.asciz "Re-setting rx_scrq[%d]\n"
.no_dead_strip _reset_sub_crq_queues
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reset_sub_crq_queues
_reset_sub_crq_queues: ; @reset_sub_crq_queues
.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 w8, [x0]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov x20, #0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #16]
mov x1, x21
mov x2, x20
bl _netdev_dbg
ldr x8, [x19, #24]
ldr w1, [x8, x20, lsl #2]
mov x0, x19
bl _reset_one_sub_crq_queue
cbnz w0, LBB0_9
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x20, x20, #1
ldrsw x8, [x19]
cmp x20, x8
b.lt LBB0_2
LBB0_4:
ldr w8, [x19, #4]
cmp w8, #1
b.lt LBB0_8
; %bb.5:
mov x20, #0
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #16]
mov x1, x21
mov x2, x20
bl _netdev_dbg
ldr x8, [x19, #8]
ldr w1, [x8, x20, lsl #2]
mov x0, x19
bl _reset_one_sub_crq_queue
cbnz w0, LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x20, x20, #1
ldrsw x8, [x19, #4]
cmp x20, x8
b.lt LBB0_6
LBB0_8:
mov w0, #0
LBB0_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Re-setting tx_scrq[%d]\n"
l_.str.1: ; @.str.1
.asciz "Re-setting rx_scrq[%d]\n"
.no_dead_strip _reset_sub_crq_queues
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/ibm/extr_ibmvnic.c_reset_sub_crq_queues.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mpi_unmap_card
_mpi_unmap_card: ## @mpi_unmap_card
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $1, %esi
callq _pci_resource_start
movq %rax, %r14
movq %rbx, %rdi
movl $1, %esi
callq _pci_resource_len
movq %rax, %r15
movq %rbx, %rdi
movl $2, %esi
callq _pci_resource_start
movq _AUXMEMSIZE@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
movq %rax, %rdi
callq _release_mem_region
movq %r14, %rdi
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _release_mem_region ## TAILCALL
.cfi_endproc
## -- End function
.comm _AUXMEMSIZE,8,3 ## @AUXMEMSIZE
.no_dead_strip _mpi_unmap_card
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mpi_unmap_card
_mpi_unmap_card: ; @mpi_unmap_card
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w1, #1
bl _pci_resource_start
mov x20, x0
mov x0, x19
mov w1, #1
bl _pci_resource_len
mov x21, x0
mov x0, x19
mov w1, #2
bl _pci_resource_start
Lloh0:
adrp x8, _AUXMEMSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _AUXMEMSIZE@GOTPAGEOFF]
Lloh2:
ldr x1, [x8]
bl _release_mem_region
mov x0, x20
mov x1, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _release_mem_region
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AUXMEMSIZE,8,3 ; @AUXMEMSIZE
.no_dead_strip _mpi_unmap_card
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_airo.c_mpi_unmap_card.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qlcnic_sriov_func_to_index ## -- Begin function qlcnic_sriov_func_to_index
.p2align 4, 0x90
_qlcnic_sriov_func_to_index: ## @qlcnic_sriov_func_to_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq (%rax), %rax
movq 8(%rax), %r15
callq _qlcnic_sriov_vf_check
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_6
## %bb.1:
movq (%rbx), %rax
movq (%rax), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_5
## %bb.2:
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq %r14, (%r15,%rax,8)
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
incq %rax
cmpq %rax, %rcx
jne LBB0_3
LBB0_5:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_6:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qlcnic_sriov_func_to_index ; -- Begin function qlcnic_sriov_func_to_index
.p2align 2
_qlcnic_sriov_func_to_index: ; @qlcnic_sriov_func_to_index
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr x8, [x0]
ldr x8, [x8]
ldr x21, [x8, #8]
bl _qlcnic_sriov_vf_check
cbz x0, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_7
LBB0_2:
ldr x8, [x20]
ldr x8, [x8]
ldr x8, [x8]
cbz x8, LBB0_6
; %bb.3:
mov x0, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21, x0, lsl #3]
cmp x9, x19
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x0, x0, #1
cmp x8, x0
b.ne LBB0_4
LBB0_6:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_7:
; kill: def $w0 killed $w0 killed $x0
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 _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sriov_common.c_qlcnic_sriov_func_to_index.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath9k_change_interface
_ath9k_change_interface: ## @ath9k_change_interface
.cfi_startproc
## %bb.0:
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, %r14
movq %rdi, %r15
movq (%rdi), %rbx
movl 4(%rbx), %edi
callq _ath9k_hw_common
movq %rax, %r13
movq 8(%r14), %r12
movq %rbx, %rdi
callq _mutex_lock
movq _CONFIG_ATH9K_TX99@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _IS_ENABLED
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _mutex_unlock
movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_7
LBB0_2:
movq %r15, -56(%rbp) ## 8-byte Spill
movl -44(%rbp), %r15d ## 4-byte Reload
movq %r12, -64(%rbp) ## 8-byte Spill
movq _CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r13, %rdi
callq _ath_dbg
movl (%r14), %edi
callq _ath9k_uses_beacons
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %rbx, %rdi
movq %r14, %rsi
callq _ath9k_beacon_remove_slot
LBB0_4:
movl %r15d, %edi
movl %r15d, (%r14)
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, 4(%r14)
callq _ath9k_uses_beacons
testq %rax, %rax
movq -64(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %r15 ## 8-byte Reload
je LBB0_6
## %bb.5:
movq %rbx, %rdi
movq %r14, %rsi
callq _ath9k_beacon_assign_slot
LBB0_6:
movq %r15, %rdi
movq %r14, %rsi
callq _ath9k_assign_hw_queues
movl (%r12), %esi
movq %rbx, %rdi
callq _ath9k_calculate_summary_state
movq %rbx, %rdi
movq %r14, %rsi
callq _ath9k_set_txpower
movq %rbx, %rdi
callq _mutex_unlock
xorl %eax, %eax
LBB0_7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CONFIG_ATH9K_TX99,4,2 ## @CONFIG_ATH9K_TX99
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _CONFIG,4,2 ## @CONFIG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Change Interface\n"
.no_dead_strip _ath9k_change_interface
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath9k_change_interface
_ath9k_change_interface: ; @ath9k_change_interface
.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 x23, x3
mov x22, x2
mov x20, x1
mov x21, x0
ldr x19, [x0]
ldr w0, [x19, #4]
bl _ath9k_hw_common
mov x24, x0
ldr x25, [x20, #8]
mov x0, x19
bl _mutex_lock
Lloh0:
adrp x8, _CONFIG_ATH9K_TX99@GOTPAGE
Lloh1:
ldr x8, [x8, _CONFIG_ATH9K_TX99@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _IS_ENABLED
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _mutex_unlock
Lloh3:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
b LBB0_7
LBB0_2:
Lloh6:
adrp x8, _CONFIG@GOTPAGE
Lloh7:
ldr x8, [x8, _CONFIG@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
mov x0, x24
bl _ath_dbg
ldr w0, [x20]
bl _ath9k_uses_beacons
cbz x0, LBB0_4
; %bb.3:
mov x0, x19
mov x1, x20
bl _ath9k_beacon_remove_slot
LBB0_4:
stp w22, w23, [x20]
mov x0, x22
bl _ath9k_uses_beacons
cbz x0, LBB0_6
; %bb.5:
mov x0, x19
mov x1, x20
bl _ath9k_beacon_assign_slot
LBB0_6:
mov x0, x21
mov x1, x20
bl _ath9k_assign_hw_queues
ldr w1, [x25]
mov x0, x19
bl _ath9k_calculate_summary_state
mov x0, x19
mov x1, x20
bl _ath9k_set_txpower
mov x0, x19
bl _mutex_unlock
mov w0, #0
LBB0_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
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _CONFIG_ATH9K_TX99,4,2 ; @CONFIG_ATH9K_TX99
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _CONFIG,4,2 ; @CONFIG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Change Interface\n"
.no_dead_strip _ath9k_change_interface
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_change_interface.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 _war_1@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _war_2@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _war_3@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _war_4@GOTPCREL(%rip), %rax
movl $1, (%rax)
movq _war_5@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _war_1,4,2 ## @war_1
.comm _war_2,4,2 ## @war_2
.comm _war_3,4,2 ## @war_3
.comm _war_4,4,2 ## @war_4
.comm _war_5,4,2 ## @war_5
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _war_1@GOTPAGE
Lloh1:
ldr x8, [x8, _war_1@GOTPAGEOFF]
mov w9, #1
Lloh2:
adrp x10, _war_2@GOTPAGE
Lloh3:
ldr x10, [x10, _war_2@GOTPAGEOFF]
Lloh4:
str w9, [x8]
Lloh5:
str w9, [x10]
Lloh6:
adrp x8, _war_3@GOTPAGE
Lloh7:
ldr x8, [x8, _war_3@GOTPAGEOFF]
Lloh8:
adrp x10, _war_4@GOTPAGE
Lloh9:
ldr x10, [x10, _war_4@GOTPAGEOFF]
Lloh10:
str w9, [x8]
Lloh11:
str w9, [x10]
Lloh12:
adrp x8, _war_5@GOTPAGE
Lloh13:
ldr x8, [x8, _war_5@GOTPAGEOFF]
Lloh14:
str w9, [x8]
mov w0, #1
ret
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh10
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _war_1,4,2 ; @war_1
.comm _war_2,4,2 ; @war_2
.comm _war_3,4,2 ; @war_3
.comm _war_4,4,2 ; @war_4
.comm _war_5,4,2 ; @war_5
.subsections_via_symbols
| the_stack_data/76700646.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function unschedule_bw_meter
_unschedule_bw_meter: ## @unschedule_bw_meter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
xorl %eax, %eax
callq _MFC_LOCK_ASSERT
movq _BW_METER_LEQ@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r13)
je LBB0_8
## %bb.1:
movslq 4(%r13), %r15
movq _BW_METER_BUCKETS@GOTPCREL(%rip), %r14
cmpl (%r14), %r15d
jge LBB0_8
## %bb.2:
movq _V_bw_meter_timers@GOTPCREL(%rip), %r12
shlq $3, %r15
movq (%r12), %rcx
addq %r15, %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq (%rcx), %rax
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 8(%rax), %rcx
cmpq %r13, %rax
jne LBB0_3
LBB0_5:
testq %rax, %rax
jne LBB0_7
## %bb.6:
leaq L_.str(%rip), %rdi
callq _panic
LBB0_7:
addq (%r12), %r15
leaq 8(%rbx), %rax
testq %rbx, %rbx
movq 8(%r13), %rcx
cmoveq %r15, %rax
movq %rcx, (%rax)
movq $0, 8(%r13)
movl (%r14), %eax
movl %eax, 4(%r13)
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BW_METER_LEQ,4,2 ## @BW_METER_LEQ
.comm _BW_METER_BUCKETS,4,2 ## @BW_METER_BUCKETS
.comm _V_bw_meter_timers,8,3 ## @V_bw_meter_timers
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unschedule_bw_meter: bw_meter entry not found"
.no_dead_strip _unschedule_bw_meter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function unschedule_bw_meter
_unschedule_bw_meter: ; @unschedule_bw_meter
.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 _MFC_LOCK_ASSERT
ldr w8, [x19]
Lloh0:
adrp x9, _BW_METER_LEQ@GOTPAGE
Lloh1:
ldr x9, [x9, _BW_METER_LEQ@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.1:
ldrsw x21, [x19, #4]
Lloh3:
adrp x20, _BW_METER_BUCKETS@GOTPAGE
Lloh4:
ldr x20, [x20, _BW_METER_BUCKETS@GOTPAGEOFF]
ldr w8, [x20]
cmp w21, w8
b.ge LBB0_7
; %bb.2:
mov x8, #0
Lloh5:
adrp x22, _V_bw_meter_timers@GOTPAGE
Lloh6:
ldr x22, [x22, _V_bw_meter_timers@GOTPAGEOFF]
ldr x9, [x22]
add x9, x9, x21, lsl #3
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x23, x8
ldr x8, [x9]
add x9, x8, #8
cmp x8, #0
ccmp x8, x19, #4, ne
b.ne LBB0_3
; %bb.4:
cbnz x8, LBB0_6
; %bb.5:
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _panic
LBB0_6:
ldr x8, [x19, #8]
ldr x9, [x22]
add x9, x9, x21, lsl #3
add x10, x23, #8
cmp x23, #0
csel x9, x9, x10, eq
str x8, [x9]
str xzr, [x19, #8]
ldr w8, [x20]
str w8, [x19, #4]
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _BW_METER_LEQ,4,2 ; @BW_METER_LEQ
.comm _BW_METER_BUCKETS,4,2 ; @BW_METER_BUCKETS
.comm _V_bw_meter_timers,8,3 ; @V_bw_meter_timers
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unschedule_bw_meter: bw_meter entry not found"
.no_dead_strip _unschedule_bw_meter
.subsections_via_symbols
| AnghaBench/freebsd/sys/netinet/extr_ip_mroute.c_unschedule_bw_meter.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.