x86
stringlengths 122
9.39M
| arm
stringlengths 122
9.33M
| file
stringlengths 19
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 %rbx
subq $232, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rdi
leaq -244(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -244(%rbp)
jle LBB0_7
## %bb.1:
leaq -240(%rbp), %r15
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -244(%rbp), %rax
addq $4, %r15
cmpq %rax, %rbx
jl LBB0_2
## %bb.3:
movl %eax, %eax
cmpl $2, %eax
jl LBB0_7
## %bb.4:
leal -1(%rax), %ecx
movb $1, %bl
xorl %edx, %edx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq %rax, %rdx
jb LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
incq %rdx
cmpq %rcx, %rdx
setb %bl
jne LBB0_5
jmp LBB0_7
LBB0_8:
testb $1, %bl
je LBB0_7
## %bb.9:
leaq L_.str.2(%rip), %rdi
jmp LBB0_10
LBB0_7:
leaq L_.str.3(%rip), %rdi
LBB0_10:
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $232, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "YES"
L_.str.3: ## @.str.3
.asciz "NO"
.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, #272
.cfi_def_cfa_offset 272
stp x22, x21, [sp, #224] ; 16-byte Folded Spill
stp x20, x19, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #12
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_9
; %bb.1:
mov x20, #0
add x21, sp, #16
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x8, [sp, #12]
add x21, x21, #4
cmp x20, x8
b.lt LBB0_2
; %bb.3:
and x8, x8, #0xffffffff
cmp w8, #2
b.lt LBB0_9
; %bb.4:
mov x9, #0
sub w10, w8, #1
mov w11, #1
LBB0_5: ; =>This Inner Loop Header: Depth=1
cmp x9, x8
b.lo LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x9, x9, #1
cmp x9, x10
cset w11, lo
cmp x10, x9
b.ne LBB0_5
b LBB0_9
LBB0_7:
tbz w11, #0, LBB0_9
; %bb.8:
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_10
LBB0_9:
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
LBB0_10:
bl _printf
ldur x8, [x29, #-40]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
mov w0, #0
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x20, x19, [sp, #240] ; 16-byte Folded Reload
ldp x22, x21, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #272
ret
LBB0_12:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "YES"
l_.str.3: ; @.str.3
.asciz "NO"
.subsections_via_symbols
|
the_stack_data/724296.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ccid2_hc_tx_sk
_ccid2_hc_tx_sk: ## @ccid2_hc_tx_sk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _dccp_sk
movl (%rax), %edi
popq %rbp
jmp _ccid_priv ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ccid2_hc_tx_sk
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ccid2_hc_tx_sk
_ccid2_hc_tx_sk: ; @ccid2_hc_tx_sk
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _dccp_sk
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _ccid_priv
.cfi_endproc
; -- End function
.no_dead_strip _ccid2_hc_tx_sk
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/net/dccp/ccids/extr_ccid2.h_ccid2_hc_tx_sk.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function comedi_proc_cleanup
_comedi_proc_cleanup: ## @comedi_proc_cleanup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _comedi_proc_cleanup
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function comedi_proc_cleanup
_comedi_proc_cleanup: ; @comedi_proc_cleanup
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _comedi_proc_cleanup
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/staging/comedi/kcomedilib/extr_..comedidev.h_comedi_proc_cleanup.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cyapa_pip_state_parse ## -- Begin function cyapa_pip_state_parse
.p2align 4, 0x90
_cyapa_pip_state_parse: ## @cyapa_pip_state_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq %rsp, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $1, -72(%rbp)
movq _PIP_HID_DESCRIPTOR_SIZE@GOTPCREL(%rip), %r15
movl (%r15), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq _CYAPA_STATE_NO_DEVICE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
movq _PIP_DEEP_SLEEP_STATE_ON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _cyapa_pip_deep_sleep
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _cyapa_empty_pip_output_data
movl (%r15), %eax
movl %eax, -56(%rbp)
movq _cyapa_sort_pip_hid_descriptor_data@GOTPCREL(%rip), %rax
movl (%rax), %eax
leaq -72(%rbp), %rsi
leaq -56(%rbp), %r8
movq %r14, %rdi
movl $8, %edx
movq %rbx, %rcx
movl $300, %r9d ## imm = 0x12C
pushq $0
pushq %rax
callq _cyapa_i2c_pip_cmd_irq_sync
addq $16, %rsp
testl %eax, %eax
jne LBB0_17
## %bb.1:
movq _PIP_RESP_REPORT_ID_OFFSET@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rbx,%rax,4), %r13d
movq _PIP_HID_BL_REPORT_ID@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %ebx
cmpl %ecx, %r13d
je LBB0_4
## %bb.2:
movq _PIP_HID_APP_REPORT_ID@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
cmpl (%rax), %r13d
jne LBB0_3
LBB0_4:
movl %ecx, -52(%rbp) ## 4-byte Spill
leaq -64(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _cyapa_get_pip_fixed_info
testl %eax, %eax
jne LBB0_17
## %bb.5:
movl -64(%rbp), %edx
movl -60(%rbp), %ecx
cmpl $155, %edx
jne LBB0_11
## %bb.6:
cmpl $11, %ecx
jne LBB0_11
## %bb.7:
movq _CYAPA_GEN6@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r14)
cmpl -52(%rbp), %r13d ## 4-byte Folded Reload
jne LBB0_8
## %bb.9:
movq _CYAPA_STATE_GEN6_BL@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_3:
movq _EAGAIN@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_17
LBB0_11:
xorl %eax, %eax
cmpl $145, %edx
jne LBB0_17
## %bb.12:
cmpl $2, %ecx
jne LBB0_17
## %bb.13:
movq _CYAPA_GEN5@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%r14)
cmpl -52(%rbp), %r13d ## 4-byte Folded Reload
jne LBB0_14
## %bb.15:
movq _CYAPA_STATE_GEN5_BL@GOTPCREL(%rip), %rcx
jmp LBB0_16
LBB0_8:
movq _CYAPA_STATE_GEN6_APP@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
movl %eax, (%r14)
xorl %eax, %eax
jmp LBB0_17
LBB0_14:
movq _CYAPA_STATE_GEN5_APP@GOTPCREL(%rip), %rcx
LBB0_16:
movl (%rcx), %ecx
movl %ecx, (%r14)
LBB0_17:
movq %r12, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_19
## %bb.18:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PIP_HID_DESCRIPTOR_SIZE,4,2 ## @PIP_HID_DESCRIPTOR_SIZE
.comm _CYAPA_STATE_NO_DEVICE,4,2 ## @CYAPA_STATE_NO_DEVICE
.comm _PIP_DEEP_SLEEP_STATE_ON,4,2 ## @PIP_DEEP_SLEEP_STATE_ON
.comm _cyapa_sort_pip_hid_descriptor_data,4,2 ## @cyapa_sort_pip_hid_descriptor_data
.comm _PIP_RESP_REPORT_ID_OFFSET,8,3 ## @PIP_RESP_REPORT_ID_OFFSET
.comm _PIP_HID_BL_REPORT_ID,4,2 ## @PIP_HID_BL_REPORT_ID
.comm _PIP_HID_APP_REPORT_ID,4,2 ## @PIP_HID_APP_REPORT_ID
.comm _EAGAIN,4,2 ## @EAGAIN
.comm _CYAPA_GEN6,4,2 ## @CYAPA_GEN6
.comm _CYAPA_STATE_GEN6_BL,4,2 ## @CYAPA_STATE_GEN6_BL
.comm _CYAPA_STATE_GEN6_APP,4,2 ## @CYAPA_STATE_GEN6_APP
.comm _CYAPA_GEN5,4,2 ## @CYAPA_GEN5
.comm _CYAPA_STATE_GEN5_BL,4,2 ## @CYAPA_STATE_GEN5_BL
.comm _CYAPA_STATE_GEN5_APP,4,2 ## @CYAPA_STATE_GEN5_APP
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cyapa_pip_state_parse ; -- Begin function cyapa_pip_state_parse
.p2align 2
_cyapa_pip_state_parse: ; @cyapa_pip_state_parse
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
sub sp, sp, #32
mov x19, x0
mov x21, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w8, #1
stur x8, [x29, #-64]
Lloh3:
adrp x22, _PIP_HID_DESCRIPTOR_SIZE@GOTPAGE
Lloh4:
ldr x22, [x22, _PIP_HID_DESCRIPTOR_SIZE@GOTPAGEOFF]
ldr w8, [x22]
lsl x8, x8, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
Lloh7:
adrp x8, _CYAPA_STATE_NO_DEVICE@GOTPAGE
Lloh8:
ldr x8, [x8, _CYAPA_STATE_NO_DEVICE@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
str w8, [x0]
Lloh10:
adrp x8, _PIP_DEEP_SLEEP_STATE_ON@GOTPAGE
Lloh11:
ldr x8, [x8, _PIP_DEEP_SLEEP_STATE_ON@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
bl _cyapa_pip_deep_sleep
mov x0, x19
mov x1, #0
mov x2, #0
mov x3, #0
bl _cyapa_empty_pip_output_data
ldr w8, [x22]
stur w8, [x29, #-76]
Lloh13:
adrp x8, _cyapa_sort_pip_hid_descriptor_data@GOTPAGE
Lloh14:
ldr x8, [x8, _cyapa_sort_pip_hid_descriptor_data@GOTPAGEOFF]
Lloh15:
ldr w6, [x8]
sub x1, x29, #64
sub x4, x29, #76
mov x0, x19
mov w2, #8
mov x3, x20
mov w5, #300
mov w7, #0
bl _cyapa_i2c_pip_cmd_irq_sync
cbnz w0, LBB0_14
; %bb.1:
Lloh16:
adrp x8, _PIP_RESP_REPORT_ID_OFFSET@GOTPAGE
Lloh17:
ldr x8, [x8, _PIP_RESP_REPORT_ID_OFFSET@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
ldr w22, [x20, x8, lsl #2]
Lloh19:
adrp x8, _PIP_HID_BL_REPORT_ID@GOTPAGE
Lloh20:
ldr x8, [x8, _PIP_HID_BL_REPORT_ID@GOTPAGEOFF]
Lloh21:
ldr w23, [x8]
cmp w22, w23
b.ne LBB0_3
; %bb.2:
mov w20, #1
b LBB0_5
LBB0_3:
Lloh22:
adrp x8, _PIP_HID_APP_REPORT_ID@GOTPAGE
Lloh23:
ldr x8, [x8, _PIP_HID_APP_REPORT_ID@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
cmp w22, w8
b.ne LBB0_9
; %bb.4:
mov w20, #0
LBB0_5:
sub x0, x29, #72
mov w1, #0
mov w2, #8
bl _memset
sub x1, x29, #72
mov x0, x19
mov x2, x20
bl _cyapa_get_pip_fixed_info
cbnz w0, LBB0_14
; %bb.6:
ldp w9, w8, [x29, #-72]
cmp w9, #155
b.ne LBB0_10
; %bb.7:
cmp w8, #11
b.ne LBB0_10
; %bb.8:
mov w0, #0
Lloh25:
adrp x8, _CYAPA_GEN6@GOTPAGE
Lloh26:
ldr x8, [x8, _CYAPA_GEN6@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
str w8, [x19, #4]
Lloh28:
adrp x8, _CYAPA_STATE_GEN6_BL@GOTPAGE
Lloh29:
ldr x8, [x8, _CYAPA_STATE_GEN6_BL@GOTPAGEOFF]
Lloh30:
adrp x9, _CYAPA_STATE_GEN6_APP@GOTPAGE
Lloh31:
ldr x9, [x9, _CYAPA_STATE_GEN6_APP@GOTPAGEOFF]
b LBB0_13
LBB0_9:
Lloh32:
adrp x8, _EAGAIN@GOTPAGE
Lloh33:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
neg w0, w8
b LBB0_14
LBB0_10:
mov w0, #0
cmp w9, #145
b.ne LBB0_14
; %bb.11:
cmp w8, #2
b.ne LBB0_14
; %bb.12:
mov w0, #0
Lloh35:
adrp x8, _CYAPA_GEN5@GOTPAGE
Lloh36:
ldr x8, [x8, _CYAPA_GEN5@GOTPAGEOFF]
Lloh37:
ldr w8, [x8]
str w8, [x19, #4]
Lloh38:
adrp x8, _CYAPA_STATE_GEN5_BL@GOTPAGE
Lloh39:
ldr x8, [x8, _CYAPA_STATE_GEN5_BL@GOTPAGEOFF]
Lloh40:
adrp x9, _CYAPA_STATE_GEN5_APP@GOTPAGE
Lloh41:
ldr x9, [x9, _CYAPA_STATE_GEN5_APP@GOTPAGEOFF]
LBB0_13:
cmp w22, w23
csel x8, x8, x9, eq
ldr w8, [x8]
str w8, [x19]
LBB0_14:
mov sp, x21
ldur x8, [x29, #-56]
Lloh42:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh43:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.15:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.cfi_endproc
; -- End function
.comm _PIP_HID_DESCRIPTOR_SIZE,4,2 ; @PIP_HID_DESCRIPTOR_SIZE
.comm _CYAPA_STATE_NO_DEVICE,4,2 ; @CYAPA_STATE_NO_DEVICE
.comm _PIP_DEEP_SLEEP_STATE_ON,4,2 ; @PIP_DEEP_SLEEP_STATE_ON
.comm _cyapa_sort_pip_hid_descriptor_data,4,2 ; @cyapa_sort_pip_hid_descriptor_data
.comm _PIP_RESP_REPORT_ID_OFFSET,8,3 ; @PIP_RESP_REPORT_ID_OFFSET
.comm _PIP_HID_BL_REPORT_ID,4,2 ; @PIP_HID_BL_REPORT_ID
.comm _PIP_HID_APP_REPORT_ID,4,2 ; @PIP_HID_APP_REPORT_ID
.comm _EAGAIN,4,2 ; @EAGAIN
.comm _CYAPA_GEN6,4,2 ; @CYAPA_GEN6
.comm _CYAPA_STATE_GEN6_BL,4,2 ; @CYAPA_STATE_GEN6_BL
.comm _CYAPA_STATE_GEN6_APP,4,2 ; @CYAPA_STATE_GEN6_APP
.comm _CYAPA_GEN5,4,2 ; @CYAPA_GEN5
.comm _CYAPA_STATE_GEN5_BL,4,2 ; @CYAPA_STATE_GEN5_BL
.comm _CYAPA_STATE_GEN5_APP,4,2 ; @CYAPA_STATE_GEN5_APP
.subsections_via_symbols
|
AnghaBench/linux/drivers/input/mouse/extr_cyapa_gen6.c_cyapa_pip_state_parse.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_is_prime ## -- Begin function ft_is_prime
.p2align 4, 0x90
_ft_is_prime: ## @ft_is_prime
.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
cmpl $2, %edi
jl LBB0_7
## %bb.1:
cmpl $4, %edi
jb LBB0_6
## %bb.3:
movl $2, %esi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %edi, %eax
cltd
idivl %esi
testl %edx, %edx
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
leal 1(%rsi), %ecx
movl %edi, %eax
cltd
idivl %ecx
cmpl %eax, %esi
movl %ecx, %esi
jl LBB0_4
LBB0_6:
movl $1, %r8d
LBB0_7:
movl %r8d, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_is_prime ; -- Begin function ft_is_prime
.p2align 2
_ft_is_prime: ; @ft_is_prime
.cfi_startproc
; %bb.0:
cmp w0, #2
b.ge LBB0_2
LBB0_1:
mov w0, #0
ret
LBB0_2:
cmp w0, #4
b.hs LBB0_4
; %bb.3:
mov w0, #1
ret
LBB0_4:
mov w8, #2
LBB0_5: ; =>This Inner Loop Header: Depth=1
sdiv w9, w0, w8
msub w9, w9, w8, w0
cbz w9, LBB0_1
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add w9, w8, #1
sdiv w10, w0, w9
cmp w8, w10
mov x8, x9
b.lt LBB0_5
; %bb.7:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
the_stack_data/200142328.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cfg80211_conn_failed ## -- Begin function cfg80211_conn_failed
.p2align 4, 0x90
_cfg80211_conn_failed: ## @cfg80211_conn_failed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movl %edx, %r15d
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %r12
movq 8(%rdi), %rax
movq (%rax), %rdi
callq _wiphy_to_rdev
movq %rax, %rbx
movq _NLMSG_GOODSIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r14d, %esi
callq _nlmsg_new
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r13
movl %r15d, -44(%rbp) ## 4-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
movq _NL80211_CMD_CONN_FAILED@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _nl80211hdr_put
testq %rax, %rax
je LBB0_7
## %bb.2:
movq %rax, %r15
movq _NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r12), %edx
movq %r13, %rdi
callq _nla_put_u32
testq %rax, %rax
jne LBB0_7
## %bb.3:
movq _NL80211_ATTR_MAC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ETH_ALEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r13, %rdi
movq -64(%rbp), %rcx ## 8-byte Reload
callq _nla_put
testq %rax, %rax
jne LBB0_7
## %bb.4:
movq _NL80211_ATTR_CONN_FAILED_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
movl -44(%rbp), %edx ## 4-byte Reload
callq _nla_put_u32
testq %rax, %rax
je LBB0_5
LBB0_7:
movq %r13, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _nlmsg_free ## TAILCALL
LBB0_6:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %r13, %rdi
movq %r15, %rsi
callq _genlmsg_end
movq -56(%rbp), %rdi ## 8-byte Reload
callq _wiphy_net
movq _NL80211_MCGRP_MLME@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movq _nl80211_fam@GOTPCREL(%rip), %rdi
movl %eax, %esi
movq %r13, %rdx
xorl %ecx, %ecx
movl %r14d, %r9d
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _genlmsg_multicast_netns ## TAILCALL
.cfi_endproc
## -- End function
.comm _NLMSG_GOODSIZE,4,2 ## @NLMSG_GOODSIZE
.comm _NL80211_CMD_CONN_FAILED,4,2 ## @NL80211_CMD_CONN_FAILED
.comm _NL80211_ATTR_IFINDEX,4,2 ## @NL80211_ATTR_IFINDEX
.comm _NL80211_ATTR_MAC,4,2 ## @NL80211_ATTR_MAC
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.comm _NL80211_ATTR_CONN_FAILED_REASON,4,2 ## @NL80211_ATTR_CONN_FAILED_REASON
.comm _nl80211_fam,4,2 ## @nl80211_fam
.comm _NL80211_MCGRP_MLME,4,2 ## @NL80211_MCGRP_MLME
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cfg80211_conn_failed ; -- Begin function cfg80211_conn_failed
.p2align 2
_cfg80211_conn_failed: ; @cfg80211_conn_failed
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x22, x2
mov x23, x1
mov x25, x0
ldr x8, [x0, #8]
ldr x0, [x8]
bl _wiphy_to_rdev
mov x21, x0
Lloh0:
adrp x8, _NLMSG_GOODSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _NLMSG_GOODSIZE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x19
bl _nlmsg_new
cbz x0, LBB0_6
; %bb.1:
mov x20, x0
Lloh3:
adrp x8, _NL80211_CMD_CONN_FAILED@GOTPAGE
Lloh4:
ldr x8, [x8, _NL80211_CMD_CONN_FAILED@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
mov w1, #0
mov w2, #0
mov w3, #0
bl _nl80211hdr_put
cbz x0, LBB0_5
; %bb.2:
mov x24, x0
Lloh6:
adrp x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh7:
ldr x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr w2, [x25]
mov x0, x20
bl _nla_put_u32
cbnz x0, LBB0_5
; %bb.3:
Lloh9:
adrp x8, _NL80211_ATTR_MAC@GOTPAGE
Lloh10:
ldr x8, [x8, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _ETH_ALEN@GOTPAGE
Lloh13:
ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
mov x0, x20
mov x3, x23
bl _nla_put
cbnz x0, LBB0_5
; %bb.4:
Lloh15:
adrp x8, _NL80211_ATTR_CONN_FAILED_REASON@GOTPAGE
Lloh16:
ldr x8, [x8, _NL80211_ATTR_CONN_FAILED_REASON@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x20
mov x2, x22
bl _nla_put_u32
cbz x0, LBB0_7
LBB0_5:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _nlmsg_free
LBB0_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_7:
mov x0, x20
mov x1, x24
bl _genlmsg_end
mov x0, x21
bl _wiphy_net
mov x1, x0
Lloh18:
adrp x8, _NL80211_MCGRP_MLME@GOTPAGE
Lloh19:
ldr x8, [x8, _NL80211_MCGRP_MLME@GOTPAGEOFF]
Lloh20:
ldr w4, [x8]
Lloh21:
adrp x0, _nl80211_fam@GOTPAGE
Lloh22:
ldr x0, [x0, _nl80211_fam@GOTPAGEOFF]
mov x2, x20
mov w3, #0
mov x5, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _genlmsg_multicast_netns
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _NLMSG_GOODSIZE,4,2 ; @NLMSG_GOODSIZE
.comm _NL80211_CMD_CONN_FAILED,4,2 ; @NL80211_CMD_CONN_FAILED
.comm _NL80211_ATTR_IFINDEX,4,2 ; @NL80211_ATTR_IFINDEX
.comm _NL80211_ATTR_MAC,4,2 ; @NL80211_ATTR_MAC
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.comm _NL80211_ATTR_CONN_FAILED_REASON,4,2 ; @NL80211_ATTR_CONN_FAILED_REASON
.comm _nl80211_fam,4,2 ; @nl80211_fam
.comm _NL80211_MCGRP_MLME,4,2 ; @NL80211_MCGRP_MLME
.subsections_via_symbols
|
AnghaBench/linux/net/wireless/extr_nl80211.c_cfg80211_conn_failed.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uncached_ipi_mc_drain
_uncached_ipi_mc_drain: ## @uncached_ipi_mc_drain
.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 _ia64_pal_mc_drain
movq _PAL_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.1:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _atomic_inc ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAL_STATUS_SUCCESS,4,2 ## @PAL_STATUS_SUCCESS
.no_dead_strip _uncached_ipi_mc_drain
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uncached_ipi_mc_drain
_uncached_ipi_mc_drain: ; @uncached_ipi_mc_drain
.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 _ia64_pal_mc_drain
Lloh0:
adrp x8, _PAL_STATUS_SUCCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _PAL_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _atomic_inc
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAL_STATUS_SUCCESS,4,2 ; @PAL_STATUS_SUCCESS
.no_dead_strip _uncached_ipi_mc_drain
.subsections_via_symbols
|
AnghaBench/linux/arch/ia64/kernel/extr_uncached.c_uncached_ipi_mc_drain.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
leaq -24(%rbp), %rsi
leaq -20(%rbp), %rdx
xorl %eax, %eax
callq _scanf
cmpl $0, -24(%rbp)
jle LBB0_6
## %bb.1:
movl $1, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
leal 1(%r14), %eax
cmpl -24(%rbp), %r14d
movl %eax, %r14d
jge LBB0_6
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
cmpl $0, -20(%rbp)
jle LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl $42, %edi
callq _putchar
incl %ebx
cmpl -20(%rbp), %ebx
jl LBB0_4
jmp LBB0_5
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%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, #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
add x8, sp, #24
sub x9, x29, #20
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov w19, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
add w8, w19, #1
ldur w9, [x29, #-20]
cmp w19, w9
mov x19, x8
b.ge LBB0_6
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
ldr w8, [sp, #24]
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w20, #0
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #42
bl _putchar
ldr w8, [sp, #24]
add w20, w20, #1
cmp w20, w8
b.lt LBB0_5
b LBB0_2
LBB0_6:
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
.subsections_via_symbols
|
the_stack_data/130501.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wlc_bssmax
_wlc_bssmax: ## @wlc_bssmax
.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 _GET@GOTPCREL(%rip), %rax
testl %edi, (%rax)
je LBB0_1
## %bb.2:
movq %rdx, %rbx
movq (%rsi), %rsi
movq _interface@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _wlbuf@GOTPCREL(%rip), %r14
movl (%r14), %edx
movq _BUFSIZE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
callq _wl_iovar_get
testl %eax, %eax
jne LBB0_6
## %bb.3:
movl (%r14), %edi
leaq L_.str(%rip), %rsi
callq _strstr
movl $4, %ecx
testq %rax, %rax
jne LBB0_5
## %bb.4:
movl (%r14), %edi
leaq L_.str.1(%rip), %rsi
callq _strstr
testq %rax, %rax
movl $1, %eax
movl $16, %ecx
cmovel %eax, %ecx
LBB0_5:
movl %ecx, (%rbx)
xorl %eax, %eax
jmp LBB0_6
LBB0_1:
movl $-1, %eax
LBB0_6:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GET,4,2 ## @GET
.comm _interface,4,2 ## @interface
.comm _wlbuf,4,2 ## @wlbuf
.comm _BUFSIZE,4,2 ## @BUFSIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mbss4"
L_.str.1: ## @.str.1
.asciz "mbss16"
.no_dead_strip _wlc_bssmax
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wlc_bssmax
_wlc_bssmax: ; @wlc_bssmax
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _GET@GOTPAGE
Lloh1:
ldr x8, [x8, _GET@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_4
; %bb.1:
mov x19, x2
ldr x1, [x1]
Lloh3:
adrp x8, _interface@GOTPAGE
Lloh4:
ldr x8, [x8, _interface@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x20, _wlbuf@GOTPAGE
Lloh7:
ldr x20, [x20, _wlbuf@GOTPAGEOFF]
ldr w2, [x20]
Lloh8:
adrp x8, _BUFSIZE@GOTPAGE
Lloh9:
ldr x8, [x8, _BUFSIZE@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
bl _wl_iovar_get
cbnz w0, LBB0_7
; %bb.2:
ldr w0, [x20]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
bl _strstr
cbz x0, LBB0_5
; %bb.3:
mov w8, #4
b LBB0_6
LBB0_4:
mov w0, #-1
b LBB0_7
LBB0_5:
ldr w0, [x20]
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
bl _strstr
cmp x0, #0
mov w8, #16
csinc w8, w8, wzr, ne
LBB0_6:
mov w0, #0
str w8, [x19]
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _GET,4,2 ; @GET
.comm _interface,4,2 ; @interface
.comm _wlbuf,4,2 ; @wlbuf
.comm _BUFSIZE,4,2 ; @BUFSIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mbss4"
l_.str.1: ; @.str.1
.asciz "mbss16"
.no_dead_strip _wlc_bssmax
.subsections_via_symbols
|
AnghaBench/openwrt/package/kernel/broadcom-wl/src/extr_wlc.c_wlc_bssmax.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipw_disassociate
_ipw_disassociate: ## @ipw_disassociate
.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 _STATUS_ASSOCIATED@GOTPCREL(%rip), %rax
movq _STATUS_ASSOCIATING@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
testl %ecx, (%rdi)
je LBB0_1
## %bb.2:
movq %rdi, %rbx
xorl %esi, %esi
callq _ipw_send_disassociate
movl 4(%rbx), %edi
callq _netif_carrier_off
movl $1, %eax
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STATUS_ASSOCIATED,4,2 ## @STATUS_ASSOCIATED
.comm _STATUS_ASSOCIATING,4,2 ## @STATUS_ASSOCIATING
.no_dead_strip _ipw_disassociate
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipw_disassociate
_ipw_disassociate: ; @ipw_disassociate
.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 w8, [x0]
Lloh0:
adrp x9, _STATUS_ASSOCIATED@GOTPAGE
Lloh1:
ldr x9, [x9, _STATUS_ASSOCIATED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _STATUS_ASSOCIATING@GOTPAGE
Lloh4:
ldr x10, [x10, _STATUS_ASSOCIATING@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
orr w9, w10, w9
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x19, x0
mov w1, #0
bl _ipw_send_disassociate
ldr w0, [x19, #4]
bl _netif_carrier_off
mov w0, #1
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _STATUS_ASSOCIATED,4,2 ; @STATUS_ASSOCIATED
.comm _STATUS_ASSOCIATING,4,2 ; @STATUS_ASSOCIATING
.no_dead_strip _ipw_disassociate
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2200.c_ipw_disassociate.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_strings
_add_strings: ## @add_strings
.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), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
addq $8, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rdx, %rsi
callq _obs_property_list_add_string
movq (%rbx), %rdx
addq $8, %rbx
testq %rdx, %rdx
jne LBB0_2
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _add_strings
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_strings
_add_strings: ; @add_strings
.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 x8, x1
ldr x1, [x1]
cbz x1, LBB0_3
; %bb.1:
mov x19, x0
add x20, x8, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x2, x1
bl _obs_property_list_add_string
ldr x1, [x20], #8
cbnz x1, LBB0_2
LBB0_3:
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 _add_strings
.subsections_via_symbols
|
AnghaBench/obs-studio/plugins/obs-x264/extr_obs-x264.c_add_strings.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function skbprio_dump
_skbprio_dump: ## @skbprio_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movl (%rdi), %eax
movl %eax, -16(%rbp)
movq _TCA_OPTIONS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -16(%rbp), %rcx
movq %rbx, %rdi
movl $4, %edx
callq _nla_put
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
jne LBB0_2
## %bb.1:
movl (%rbx), %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TCA_OPTIONS,4,2 ## @TCA_OPTIONS
.no_dead_strip _skbprio_dump
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function skbprio_dump
_skbprio_dump: ; @skbprio_dump
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr w8, [x0]
str w8, [sp, #8]
Lloh0:
adrp x8, _TCA_OPTIONS@GOTPAGE
Lloh1:
ldr x8, [x8, _TCA_OPTIONS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x3, sp, #8
mov x0, x19
mov w2, #4
bl _nla_put
cbz x0, LBB0_2
; %bb.1:
mov w0, #-1
b LBB0_3
LBB0_2:
ldr w0, [x19]
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TCA_OPTIONS,4,2 ; @TCA_OPTIONS
.no_dead_strip _skbprio_dump
.subsections_via_symbols
|
AnghaBench/linux/net/sched/extr_sch_skbprio.c_skbprio_dump.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function efx_filter_id_index
_efx_filter_id_index: ## @efx_filter_id_index
.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
movq _EFX_FILTER_INDEX_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EFX_FILTER_INDEX_MASK,4,2 ## @EFX_FILTER_INDEX_MASK
.no_dead_strip _efx_filter_id_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function efx_filter_id_index
_efx_filter_id_index: ; @efx_filter_id_index
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _EFX_FILTER_INDEX_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _EFX_FILTER_INDEX_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
and w0, w8, w0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EFX_FILTER_INDEX_MASK,4,2 ; @EFX_FILTER_INDEX_MASK
.no_dead_strip _efx_filter_id_index
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_filter.c_efx_filter_id_index.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nbd_mark_nsock_dead
_nbd_mark_nsock_dead: ## @nbd_mark_nsock_dead
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl (%rsi), %eax
testl %edx, %edx
je LBB0_6
## %bb.1:
testl %eax, %eax
jne LBB0_6
## %bb.2:
movq (%r14), %rdi
callq _nbd_disconnected
testl %eax, %eax
jne LBB0_5
## %bb.3:
movq _GFP_NOIO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $8, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_5
## %bb.4:
movq %rax, %r15
movq _nbd_dead_link_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _INIT_WORK
movl 8(%r14), %eax
movl %eax, 4(%r15)
movq _system_wq@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _queue_work
LBB0_5:
movl (%rbx), %eax
LBB0_6:
testl %eax, %eax
jne LBB0_10
## %bb.7:
movl 24(%rbx), %edi
movq _SHUT_RDWR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kernel_sock_shutdown
movq (%r14), %rdi
addq $4, %rdi
callq _atomic_dec_return
testq %rax, %rax
jne LBB0_10
## %bb.8:
movq _NBD_RT_DISCONNECT_REQUESTED@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rsi
callq _test_and_clear_bit
testq %rax, %rax
je LBB0_10
## %bb.9:
movq _NBD_RT_DISCONNECTED@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r14), %rsi
callq _set_bit
movq %r14, %rdi
callq _nbd_to_dev
leaq L_.str(%rip), %rsi
movl %eax, %edi
callq _dev_info
LBB0_10:
movl $1, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_NOIO,4,2 ## @GFP_NOIO
.comm _nbd_dead_link_work,4,2 ## @nbd_dead_link_work
.comm _system_wq,4,2 ## @system_wq
.comm _SHUT_RDWR,4,2 ## @SHUT_RDWR
.comm _NBD_RT_DISCONNECT_REQUESTED,4,2 ## @NBD_RT_DISCONNECT_REQUESTED
.comm _NBD_RT_DISCONNECTED,4,2 ## @NBD_RT_DISCONNECTED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Disconnected due to user request.\n"
.no_dead_strip _nbd_mark_nsock_dead
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nbd_mark_nsock_dead
_nbd_mark_nsock_dead: ; @nbd_mark_nsock_dead
.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 w8, [x1]
cbz w2, LBB0_6
; %bb.1:
cbnz w8, LBB0_6
; %bb.2:
ldr x0, [x20]
bl _nbd_disconnected
cbnz w0, LBB0_5
; %bb.3:
Lloh0:
adrp x8, _GFP_NOIO@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #8
bl _kmalloc
cbz x0, LBB0_5
; %bb.4:
mov x21, x0
Lloh3:
adrp x8, _nbd_dead_link_work@GOTPAGE
Lloh4:
ldr x8, [x8, _nbd_dead_link_work@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _INIT_WORK
ldr w8, [x20, #8]
str w8, [x21, #4]
Lloh6:
adrp x8, _system_wq@GOTPAGE
Lloh7:
ldr x8, [x8, _system_wq@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
mov x1, x21
bl _queue_work
LBB0_5:
ldr w8, [x19]
LBB0_6:
cbnz w8, LBB0_10
; %bb.7:
ldr w0, [x19, #24]
Lloh9:
adrp x8, _SHUT_RDWR@GOTPAGE
Lloh10:
ldr x8, [x8, _SHUT_RDWR@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _kernel_sock_shutdown
ldr x8, [x20]
add x0, x8, #4
bl _atomic_dec_return
cbnz x0, LBB0_10
; %bb.8:
Lloh12:
adrp x8, _NBD_RT_DISCONNECT_REQUESTED@GOTPAGE
Lloh13:
ldr x8, [x8, _NBD_RT_DISCONNECT_REQUESTED@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ldr x1, [x20]
bl _test_and_clear_bit
cbz x0, LBB0_10
; %bb.9:
Lloh15:
adrp x8, _NBD_RT_DISCONNECTED@GOTPAGE
Lloh16:
ldr x8, [x8, _NBD_RT_DISCONNECTED@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
ldr x1, [x20]
bl _set_bit
mov x0, x20
bl _nbd_to_dev
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
bl _dev_info
LBB0_10:
mov w8, #1
str w8, [x19]
stp xzr, xzr, [x19, #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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _GFP_NOIO,4,2 ; @GFP_NOIO
.comm _nbd_dead_link_work,4,2 ; @nbd_dead_link_work
.comm _system_wq,4,2 ; @system_wq
.comm _SHUT_RDWR,4,2 ; @SHUT_RDWR
.comm _NBD_RT_DISCONNECT_REQUESTED,4,2 ; @NBD_RT_DISCONNECT_REQUESTED
.comm _NBD_RT_DISCONNECTED,4,2 ; @NBD_RT_DISCONNECTED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Disconnected due to user request.\n"
.no_dead_strip _nbd_mark_nsock_dead
.subsections_via_symbols
|
AnghaBench/linux/drivers/block/extr_nbd.c_nbd_mark_nsock_dead.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___percpu_counter_add ## -- Begin function __percpu_counter_add
.p2align 4, 0x90
___percpu_counter_add: ## @__percpu_counter_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
xorl %eax, %eax
callq _get_cpu
movl 16(%r14), %edi
movl %eax, %esi
callq _per_cpu_ptr
movq %rax, %r12
addq (%rax), %rbx
cmpq %r15, %rbx
jge LBB0_2
## %bb.1:
negq %r15
cmpq %r15, %rbx
jle LBB0_2
## %bb.3:
movq %rbx, (%r12)
jmp LBB0_4
LBB0_2:
movq %r14, %rdi
callq _spin_lock
addq %rbx, 8(%r14)
movq $0, (%r12)
movq %r14, %rdi
callq _spin_unlock
LBB0_4:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _put_cpu ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___percpu_counter_add ; -- Begin function __percpu_counter_add
.p2align 2
___percpu_counter_add: ; @__percpu_counter_add
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x22, x1
mov x19, x0
bl _get_cpu
mov x1, x0
ldr w0, [x19, #16]
bl _per_cpu_ptr
mov x20, x0
ldr x8, [x0]
neg x9, x21
add x22, x8, x22
cmp x22, x21
ccmp x22, x9, #4, lt
b.gt LBB0_2
; %bb.1:
mov x0, x19
bl _spin_lock
ldr x8, [x19, #8]
add x8, x8, x22
str x8, [x19, #8]
str xzr, [x20]
mov x0, x19
bl _spin_unlock
b LBB0_3
LBB0_2:
str x22, [x20]
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _put_cpu
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/lib/extr_percpu_counter.c___percpu_counter_add.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function panel_enabled
_panel_enabled: ## @panel_enabled
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _MIPID_CMD_READ_DISP_STATUS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -20(%rbp), %rdx
movl $4, %ecx
callq _mipid_read
movl -20(%rbp), %edi
callq ___be32_to_cpu
movl %eax, -20(%rbp)
movl %eax, %ecx
notl %ecx
xorl %ebx, %ebx
testl $132096, %ecx ## imm = 0x20400
sete %bl
movq (%r14), %rdi
leaq L_.str.1(%rip), %rcx
leaq L_.str.2(%rip), %rdx
cmoveq %rcx, %rdx
leaq L_.str(%rip), %rsi
movl %eax, %ecx
callq _dev_dbg
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MIPID_CMD_READ_DISP_STATUS,4,2 ## @MIPID_CMD_READ_DISP_STATUS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LCD panel %senabled by bootloader (status 0x%04x)\n"
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz "not "
.no_dead_strip _panel_enabled
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function panel_enabled
_panel_enabled: ; @panel_enabled
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _MIPID_CMD_READ_DISP_STATUS@GOTPAGE
Lloh1:
ldr x8, [x8, _MIPID_CMD_READ_DISP_STATUS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #12
mov w3, #4
bl _mipid_read
ldr w0, [sp, #12]
bl ___be32_to_cpu
mov x3, x0
str w0, [sp, #12]
mov w8, #1024
movk w8, #2, lsl #16
and w9, w0, w8
cmp w9, w8
cset w20, eq
ldr x0, [x19]
Lloh3:
adrp x8, l_.str.2@PAGE
Lloh4:
add x8, x8, l_.str.2@PAGEOFF
Lloh5:
adrp x9, l_.str.1@PAGE
Lloh6:
add x9, x9, l_.str.1@PAGEOFF
csel x2, x9, x8, eq
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
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 AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MIPID_CMD_READ_DISP_STATUS,4,2 ; @MIPID_CMD_READ_DISP_STATUS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LCD panel %senabled by bootloader (status 0x%04x)\n"
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz "not "
.no_dead_strip _panel_enabled
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_mipid.c_panel_enabled.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SPIDataGet ## -- Begin function SPIDataGet
.p2align 4, 0x90
_SPIDataGet: ## @SPIDataGet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _MCSPI_O_CH0STAT@GOTPCREL(%rip), %r15
movq _MCSPI_CH0STAT_RXS@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rdi
addq %rbx, %rdi
callq _HWREG
testq %rax, (%r12)
je LBB0_1
## %bb.2:
movq _MCSPI_O_RX0@GOTPCREL(%rip), %rax
addq (%rax), %rbx
movq %rbx, %rdi
callq _HWREG
movq %rax, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MCSPI_O_CH0STAT,8,3 ## @MCSPI_O_CH0STAT
.comm _MCSPI_CH0STAT_RXS,8,3 ## @MCSPI_CH0STAT_RXS
.comm _MCSPI_O_RX0,8,3 ## @MCSPI_O_RX0
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SPIDataGet ; -- Begin function SPIDataGet
.p2align 2
_SPIDataGet: ; @SPIDataGet
.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
Lloh0:
adrp x21, _MCSPI_O_CH0STAT@GOTPAGE
Lloh1:
ldr x21, [x21, _MCSPI_O_CH0STAT@GOTPAGEOFF]
Lloh2:
adrp x22, _MCSPI_CH0STAT_RXS@GOTPAGE
Lloh3:
ldr x22, [x22, _MCSPI_CH0STAT_RXS@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
add x0, x8, x20
bl _HWREG
ldr x8, [x22]
tst x8, x0
b.eq LBB0_1
; %bb.2:
Lloh4:
adrp x8, _MCSPI_O_RX0@GOTPAGE
Lloh5:
ldr x8, [x8, _MCSPI_O_RX0@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
add x0, x8, x20
bl _HWREG
str 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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MCSPI_O_CH0STAT,8,3 ; @MCSPI_O_CH0STAT
.comm _MCSPI_CH0STAT_RXS,8,3 ; @MCSPI_CH0STAT_RXS
.comm _MCSPI_O_RX0,8,3 ; @MCSPI_O_RX0
.subsections_via_symbols
|
AnghaBench/micropython/ports/cc3200/hal/extr_spi.c_SPIDataGet.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i2400m_dev
_i2400m_dev: ## @i2400m_dev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _i2400m_dev
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i2400m_dev
_i2400m_dev: ; @i2400m_dev
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x0, [x8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _i2400m_dev
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/wimax/i2400m/extr_i2400m.h_i2400m_dev.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $10056, %eax ## imm = 0x2748
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
leaq -10064(%rbp), %rsi
xorl %eax, %eax
callq _scanf
testl %eax, %eax
je LBB0_13
## %bb.1:
leaq -10064(%rbp), %r12
leaq L_.str.1(%rip), %r13
leaq L_.str(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
testl %eax, %eax
je LBB0_13
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movsbq -10064(%rbp), %r14
cmpq $48, %r14
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpb $0, -10063(%rbp)
je LBB0_13
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _strlen
testq %rax, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
addq $-48, %r14
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movq %rax, -10072(%rbp) ## 8-byte Spill
callq _exp2
movq -10072(%rbp), %rax ## 8-byte Reload
cvttsd2si %xmm0, %rbx
decq %rbx
imulq %r14, %rbx
cmpq $1, %rax
je LBB0_12
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
leaq -1(%rax), %r12
movl $1, %r14d
cmpq $2, %rax
movq %r12, -10080(%rbp) ## 8-byte Spill
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rax
andq $-2, %rax
negq %rax
movq %rax, -10088(%rbp) ## 8-byte Spill
movl $1, %r14d
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbq -10064(%rbp,%r14), %r13
addq $-48, %r13
xorps %xmm0, %xmm0
cvtsi2sd %r12, %xmm0
callq _exp2
cvttsd2si %xmm0, %r15
decq %r15
imulq %r13, %r15
addq %rbx, %r15
movsbq -10063(%rbp,%r14), %r13
addq $-48, %r13
leaq -1(%r12), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
callq _exp2
cvttsd2si %xmm0, %rbx
decq %rbx
imulq %r13, %rbx
addq %r15, %rbx
addq $-2, %r12
movq -10088(%rbp), %rax ## 8-byte Reload
addq %r14, %rax
addq $2, %rax
addq $2, %r14
cmpq $1, %rax
jne LBB0_9
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
testb $1, -10080(%rbp) ## 1-byte Folded Reload
leaq -10064(%rbp), %r12
leaq L_.str.1(%rip), %r13
leaq L_.str(%rip), %r15
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movsbq -10064(%rbp,%r14), %r15
addq $-48, %r15
movq -10072(%rbp), %rax ## 8-byte Reload
subq %r14, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
callq _exp2
cvttsd2si %xmm0, %rax
decq %rax
imulq %r15, %rax
leaq L_.str(%rip), %r15
addq %rax, %rbx
jmp LBB0_12
LBB0_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_15
## %bb.14:
xorl %eax, %eax
addq $10056, %rsp ## imm = 0x2748
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%lld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w9, #10032
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #1840
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-88]
add x22, sp, #23
str x22, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _scanf
cbz w0, LBB0_9
; %bb.1:
add x23, x22, #1
Lloh7:
adrp x19, l_.str.1@PAGE
Lloh8:
add x19, x19, l_.str.1@PAGEOFF
Lloh9:
adrp x20, l_.str@PAGE
Lloh10:
add x20, x20, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x24, #0
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str x24, [sp]
mov x0, x19
bl _printf
str x22, [sp]
mov x0, x20
bl _scanf
cbz w0, LBB0_9
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldrsb x8, [sp, #23]
ldrb w9, [sp, #24]
subs x24, x8, #48
ccmp w9, #0, #0, eq
b.eq LBB0_9
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x0, sp, #23
bl _strlen
cbz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x21, x0
scvtf d0, x0
bl _exp2
fcvtzs x8, d0
sub x8, x8, #1
mul x24, x24, x8
subs x21, x21, #1
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x25, x23
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb x8, [x25], #1
sub x26, x8, #48
scvtf d0, x21
bl _exp2
fcvtzs x8, d0
sub x8, x8, #1
madd x24, x26, x8, x24
subs x21, x21, #1
b.ne LBB0_8
b LBB0_3
LBB0_9:
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_11
; %bb.10:
mov w0, #0
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #1840
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_11:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%lld\n"
.subsections_via_symbols
|
the_stack_data/93216.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $472, %rsp ## imm = 0x1D8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
callq _puts
movl $2, %edi
movl $2, %esi
xorl %edx, %edx
callq _socket
movl %eax, %r12d
cmpl $-1, %eax
leaq L_.str.1(%rip), %rax
leaq L_.str.2(%rip), %rdi
cmoveq %rax, %rdi
callq _puts
leaq L_.str.3(%rip), %rdi
callq _puts
movq _serv@GOTPCREL(%rip), %rsi
movb $2, 1(%rsi)
movl $0, 4(%rsi)
movw $25118, 2(%rsi) ## imm = 0x621E
movl %r12d, %edi
movl $16, %edx
callq _bind
testl %eax, %eax
leaq L_.str.4(%rip), %rax
leaq L_.str.5(%rip), %rdi
cmovsq %rax, %rdi
callq _puts
leaq -112(%rbp), %rbx
movq _cli@GOTPCREL(%rip), %r13
leaq -512(%rbp), %r14
leaq L_.str.8(%rip), %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
callq _time
movq %rax, -56(%rbp)
leaq -56(%rbp), %rdi
callq _localtime
movl $50, %esi
movq %rbx, %rdi
leaq L_.str.6(%rip), %rdx
movq %rax, %rcx
callq _strftime
movl $400, -44(%rbp) ## imm = 0x190
movl $400, %edx ## imm = 0x190
movl %r12d, %edi
movq %r14, %rsi
xorl %ecx, %ecx
movq %r13, %r8
leaq -44(%rbp), %r9
callq _recvfrom
testl $-2147483648, %eax ## imm = 0x80000000
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _puts
movq %r14, %rdi
callq _puts
movq %rbx, %rdi
callq _strlen
movl -44(%rbp), %r9d
movl %r12d, %edi
movq %rbx, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
movq %r13, %r8
callq _sendto
jmp LBB0_1
LBB0_3:
leaq L_.str.7(%rip), %rdi
callq _puts
movl $1, %edi
callq __exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Se crea el socket"
L_.str.1: ## @.str.1
.asciz "error, no se pudo crear el socket"
L_.str.2: ## @.str.2
.asciz "Socket creado"
L_.str.3: ## @.str.3
.asciz "Asignando atributos al socket"
.comm _serv,16,2 ## @serv
L_.str.4: ## @.str.4
.asciz "No se asignaron los atributos "
L_.str.5: ## @.str.5
.asciz "Si se asignaron los atributos"
L_.str.6: ## @.str.6
.asciz "%H:%M:%S\n"
.comm _cli,16,2 ## @cli
L_.str.7: ## @.str.7
.asciz "hubo un problema con el recvfrom"
L_.str.8: ## @.str.8
.asciz "el request recibido fue:"
.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, #-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 w27, -72
.cfi_offset w28, -80
sub sp, sp, #480
sub x23, x29, #68
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _puts
mov w20, #2
mov w0, #2
mov w1, #2
mov w2, #0
bl _socket
mov x19, x0
Lloh2:
adrp x8, l_.str.2@PAGE
Lloh3:
add x8, x8, l_.str.2@PAGEOFF
Lloh4:
adrp x9, l_.str.1@PAGE
Lloh5:
add x9, x9, l_.str.1@PAGEOFF
cmn w0, #1
csel x0, x9, x8, eq
bl _puts
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _puts
Lloh8:
adrp x1, _serv@GOTPAGE
Lloh9:
ldr x1, [x1, _serv@GOTPAGEOFF]
strb w20, [x1, #1]
str wzr, [x1, #4]
mov w8, #25118
strh w8, [x1, #2]
mov x0, x19
mov w2, #16
bl _bind
Lloh10:
adrp x8, l_.str.5@PAGE
Lloh11:
add x8, x8, l_.str.5@PAGEOFF
Lloh12:
adrp x9, l_.str.4@PAGE
Lloh13:
add x9, x9, l_.str.4@PAGEOFF
cmp w0, #0
csel x0, x9, x8, lt
bl _puts
Lloh14:
adrp x20, l_.str.6@PAGE
Lloh15:
add x20, x20, l_.str.6@PAGEOFF
mov w24, #400
Lloh16:
adrp x21, _cli@GOTPAGE
Lloh17:
ldr x21, [x21, _cli@GOTPAGEOFF]
Lloh18:
adrp x22, l_.str.8@PAGE
Lloh19:
add x22, x22, l_.str.8@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, #0
bl _time
str x0, [sp, #64]
add x0, sp, #64
bl _localtime
mov x3, x0
add x0, sp, #14
mov w1, #50
mov x2, x20
bl _strftime
str w24, [x23]
add x1, sp, #76
sub x5, x29, #68
mov x0, x19
mov w2, #400
mov w3, #0
mov x4, x21
bl _recvfrom
tbnz w0, #31, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x0, x22
bl _puts
add x0, sp, #76
bl _puts
add x0, sp, #14
bl _strlen
mov x2, x0
ldr w5, [x23]
add x1, sp, #14
mov x0, x19
mov w3, #0
mov x4, x21
bl _sendto
b LBB0_1
LBB0_3:
Lloh20:
adrp x0, l_.str.7@PAGE
Lloh21:
add x0, x0, l_.str.7@PAGEOFF
bl _puts
mov w0, #1
bl __exit
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Se crea el socket"
l_.str.1: ; @.str.1
.asciz "error, no se pudo crear el socket"
l_.str.2: ; @.str.2
.asciz "Socket creado"
l_.str.3: ; @.str.3
.asciz "Asignando atributos al socket"
.comm _serv,16,2 ; @serv
l_.str.4: ; @.str.4
.asciz "No se asignaron los atributos "
l_.str.5: ; @.str.5
.asciz "Si se asignaron los atributos"
l_.str.6: ; @.str.6
.asciz "%H:%M:%S\n"
.comm _cli,16,2 ; @cli
l_.str.7: ; @.str.7
.asciz "hubo un problema con el recvfrom"
l_.str.8: ; @.str.8
.asciz "el request recibido fue:"
.subsections_via_symbols
|
the_stack_data/79288.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function finish_reservation
_finish_reservation: ## @finish_reservation
.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 _up_read ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _finish_reservation
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function finish_reservation
_finish_reservation: ; @finish_reservation
.cfi_startproc
; %bb.0:
b _up_read
.cfi_endproc
; -- End function
.no_dead_strip _finish_reservation
.subsections_via_symbols
|
AnghaBench/linux/fs/ubifs/extr_journal.c_finish_reservation.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mgb_tx_queue_intr_enable
_mgb_tx_queue_intr_enable: ## @mgb_tx_queue_intr_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
callq _iflib_get_softc
movq %rax, %rbx
movq _MGB_INTR_ENBL_SET@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %r14d, %edi
callq _MGB_INTR_STS_TX
movq %rbx, %rdi
movl %r15d, %esi
movl %eax, %edx
callq _CSR_WRITE_REG
movq _MGB_DMAC_INTR_STS@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %r14d, %edi
callq _MGB_DMAC_TX_INTR_ENBL
movq %rbx, %rdi
movl %r15d, %esi
movl %eax, %edx
callq _CSR_WRITE_REG
movq _MGB_DMAC_INTR_ENBL_SET@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %r14d, %edi
callq _MGB_DMAC_TX_INTR_ENBL
movq %rbx, %rdi
movl %r15d, %esi
movl %eax, %edx
callq _CSR_WRITE_REG
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MGB_INTR_ENBL_SET,4,2 ## @MGB_INTR_ENBL_SET
.comm _MGB_DMAC_INTR_STS,4,2 ## @MGB_DMAC_INTR_STS
.comm _MGB_DMAC_INTR_ENBL_SET,4,2 ## @MGB_DMAC_INTR_ENBL_SET
.no_dead_strip _mgb_tx_queue_intr_enable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mgb_tx_queue_intr_enable
_mgb_tx_queue_intr_enable: ; @mgb_tx_queue_intr_enable
.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
bl _iflib_get_softc
mov x20, x0
Lloh0:
adrp x8, _MGB_INTR_ENBL_SET@GOTPAGE
Lloh1:
ldr x8, [x8, _MGB_INTR_ENBL_SET@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
mov x0, x19
bl _MGB_INTR_STS_TX
mov x2, x0
mov x0, x20
mov x1, x21
bl _CSR_WRITE_REG
Lloh3:
adrp x8, _MGB_DMAC_INTR_STS@GOTPAGE
Lloh4:
ldr x8, [x8, _MGB_DMAC_INTR_STS@GOTPAGEOFF]
Lloh5:
ldr w21, [x8]
mov x0, x19
bl _MGB_DMAC_TX_INTR_ENBL
mov x2, x0
mov x0, x20
mov x1, x21
bl _CSR_WRITE_REG
Lloh6:
adrp x8, _MGB_DMAC_INTR_ENBL_SET@GOTPAGE
Lloh7:
ldr x8, [x8, _MGB_DMAC_INTR_ENBL_SET@GOTPAGEOFF]
Lloh8:
ldr w21, [x8]
mov x0, x19
bl _MGB_DMAC_TX_INTR_ENBL
mov x2, x0
mov x0, x20
mov x1, x21
bl _CSR_WRITE_REG
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MGB_INTR_ENBL_SET,4,2 ; @MGB_INTR_ENBL_SET
.comm _MGB_DMAC_INTR_STS,4,2 ; @MGB_DMAC_INTR_STS
.comm _MGB_DMAC_INTR_ENBL_SET,4,2 ; @MGB_DMAC_INTR_ENBL_SET
.no_dead_strip _mgb_tx_queue_intr_enable
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/mgb/extr_if_mgb.c_mgb_tx_queue_intr_enable.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PnpUnbindRpc ## -- Begin function PnpUnbindRpc
.p2align 4, 0x90
_PnpUnbindRpc: ## @PnpUnbindRpc
.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
## %bb.1:
movq %rdi, %rbx
movq (%rdi), %rdi
callq _RpcBindingFree
movq $0, (%rbx)
LBB0_2:
movq _RPC_S_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RPC_S_OK,4,2 ## @RPC_S_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PnpUnbindRpc ; -- Begin function PnpUnbindRpc
.p2align 2
_PnpUnbindRpc: ; @PnpUnbindRpc
.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
; %bb.1:
mov x19, x0
ldr x0, [x0]
bl _RpcBindingFree
str xzr, [x19]
LBB0_2:
Lloh0:
adrp x8, _RPC_S_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _RPC_S_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RPC_S_OK,4,2 ; @RPC_S_OK
.subsections_via_symbols
|
AnghaBench/reactos/dll/win32/setupapi/extr_rpc.c_PnpUnbindRpc.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tl_store_clear
_tl_store_clear: ## @tl_store_clear
.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 _TL_OUT@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _assert
movq _TL_OUT_METHODS@GOTPCREL(%rip), %rax
movq (%rax), %rcx
xorl %eax, %eax
callq *(%rcx)
movq $0, (%rbx)
movq _tl_type_none@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _TL_OUT_TYPE@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TL_OUT,8,3 ## @TL_OUT
.comm _TL_OUT_METHODS,8,3 ## @TL_OUT_METHODS
.comm _tl_type_none,4,2 ## @tl_type_none
.comm _TL_OUT_TYPE,4,2 ## @TL_OUT_TYPE
.no_dead_strip _tl_store_clear
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tl_store_clear
_tl_store_clear: ; @tl_store_clear
.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, _TL_OUT@GOTPAGE
Lloh1:
ldr x19, [x19, _TL_OUT@GOTPAGEOFF]
ldr x0, [x19]
bl _assert
Lloh2:
adrp x8, _TL_OUT_METHODS@GOTPAGE
Lloh3:
ldr x8, [x8, _TL_OUT_METHODS@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldr x8, [x8]
blr x8
Lloh5:
adrp x8, _tl_type_none@GOTPAGE
Lloh6:
ldr x8, [x8, _tl_type_none@GOTPAGEOFF]
str xzr, [x19]
Lloh7:
ldr w8, [x8]
Lloh8:
adrp x9, _TL_OUT_TYPE@GOTPAGE
Lloh9:
ldr x9, [x9, _TL_OUT_TYPE@GOTPAGEOFF]
Lloh10:
str w8, [x9]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TL_OUT,8,3 ; @TL_OUT
.comm _TL_OUT_METHODS,8,3 ; @TL_OUT_METHODS
.comm _tl_type_none,4,2 ; @tl_type_none
.comm _TL_OUT_TYPE,4,2 ; @TL_OUT_TYPE
.no_dead_strip _tl_store_clear
.subsections_via_symbols
|
AnghaBench/kphp-kdb/vv/extr_vv-tl-parse.h_tl_store_clear.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function match_existing_target
_match_existing_target: ## @match_existing_target
.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 %rcx, %r14
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %rdx, %rdi
callq _svn_diff_hunk_reset_modified_text
movl 12(%rbx), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq %r14, -72(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _svn_pool_create
movq %rax, %r12
movq _FALSE@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _svn_pool_clear
movq %rbx, %rdi
leaq -104(%rbp), %rsi
movq %r12, %rdx
movq %r12, %rcx
callq _readline
movl %eax, %edi
callq _SVN_ERR
movq %r13, %rdi
leaq -96(%rbp), %rsi
xorl %edx, %edx
leaq -64(%rbp), %rcx
movq %r12, %r8
movq %r12, %r9
callq _svn_diff_hunk_readline_modified_text
movl %eax, %edi
callq _SVN_ERR
movq -104(%rbp), %rdi
movq (%r15), %rcx
movl 8(%rbx), %r8d
movq %r12, (%rsp)
leaq -88(%rbp), %rsi
xorl %edx, %edx
movq %rcx, %r9
callq _svn_subst_translate_cstring2
movl %eax, %edi
callq _SVN_ERR
movq -96(%rbp), %rax
movq (%rax), %rdi
movq (%r15), %rcx
movl 8(%rbx), %r8d
movq %r12, (%rsp)
leaq -80(%rbp), %rsi
xorl %edx, %edx
movq %rcx, %r9
callq _svn_subst_translate_cstring2
movl %eax, %edi
callq _SVN_ERR
movq (%rbx), %r14
cmpq -64(%rbp), %r14
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -88(%rbp), %rdi
movq -80(%rbp), %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
testq %r14, %r14
je LBB0_1
## %bb.5:
movq %r12, %rdi
callq _svn_pool_destroy
movq (%rbx), %rcx
xorl %eax, %eax
cmpq -64(%rbp), %rcx
sete %al
jmp LBB0_7
LBB0_2:
movq %r12, %rdi
callq _svn_pool_destroy
movq (%r15), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
jmp LBB0_8
LBB0_6:
movq %r12, %rdi
callq _svn_pool_destroy
xorl %eax, %eax
LBB0_7:
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
callq _seek_to_line
movl %eax, %edi
callq _SVN_ERR
LBB0_8:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.no_dead_strip _match_existing_target
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function match_existing_target
_match_existing_target: ; @match_existing_target
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x3
mov x23, x2
mov x21, x1
mov x20, x0
mov x0, x2
bl _svn_diff_hunk_reset_modified_text
ldr w22, [x21, #12]
mov x0, x19
bl _svn_pool_create
mov x24, x0
Lloh0:
adrp x25, _FALSE@GOTPAGE
Lloh1:
ldr x25, [x25, _FALSE@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x24
bl _svn_pool_clear
add x1, sp, #32
mov x0, x21
mov x2, x24
mov x3, x24
bl _readline
bl _SVN_ERR
add x1, sp, #24
add x3, sp, #40
mov x0, x23
mov x2, #0
mov x4, x24
mov x5, x24
bl _svn_diff_hunk_readline_modified_text
bl _SVN_ERR
ldr x0, [sp, #32]
ldr x3, [x25]
ldr w4, [x21, #8]
add x1, sp, #16
mov x2, #0
mov x5, x3
mov x6, x24
bl _svn_subst_translate_cstring2
bl _SVN_ERR
ldr x8, [sp, #24]
ldr x0, [x8]
ldr x3, [x25]
ldr w4, [x21, #8]
add x1, sp, #8
mov x2, #0
mov x5, x3
mov x6, x24
bl _svn_subst_translate_cstring2
bl _SVN_ERR
ldr x26, [x21]
ldr x8, [sp, #40]
cmp x26, x8
b.ne LBB0_5
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldp x1, x0, [sp, #8]
bl _strcmp
cbnz w0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
cbz x26, LBB0_1
; %bb.4:
mov x0, x24
bl _svn_pool_destroy
ldr x8, [x21]
ldr x9, [sp, #40]
cmp x8, x9
cset w8, eq
b LBB0_7
LBB0_5:
mov x0, x24
bl _svn_pool_destroy
ldr x8, [x25]
str x8, [x20]
b LBB0_8
LBB0_6:
mov x0, x24
bl _svn_pool_destroy
mov x8, #0
LBB0_7:
str x8, [x20]
mov x0, x21
mov x1, x22
mov x2, x19
bl _seek_to_line
bl _SVN_ERR
LBB0_8:
Lloh2:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
ldr x0, [x8]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.no_dead_strip _match_existing_target
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_patch.c_match_existing_target.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function font_renderer_ct_get_glyph
_font_renderer_ct_get_glyph: ## @font_renderer_ct_get_glyph
.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
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq _CT_ATLAS_SIZE@GOTPCREL(%rip), %rcx
cmpq %rsi, (%rcx)
jbe LBB0_3
## %bb.2:
shlq $2, %rsi
addq (%rdi), %rsi
movq %rsi, %rax
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CT_ATLAS_SIZE,8,3 ## @CT_ATLAS_SIZE
.no_dead_strip _font_renderer_ct_get_glyph
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function font_renderer_ct_get_glyph
_font_renderer_ct_get_glyph: ; @font_renderer_ct_get_glyph
.cfi_startproc
; %bb.0:
mov x8, x0
mov x0, #0
cbz x8, LBB0_3
; %bb.1:
Lloh0:
adrp x9, _CT_ATLAS_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _CT_ATLAS_SIZE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x9, x1
b.ls LBB0_3
; %bb.2:
ldr x8, [x8]
add x0, x8, x1, lsl #2
LBB0_3:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CT_ATLAS_SIZE,8,3 ; @CT_ATLAS_SIZE
.no_dead_strip _font_renderer_ct_get_glyph
.subsections_via_symbols
|
AnghaBench/RetroArch/gfx/drivers_font_renderer/extr_coretext.c_font_renderer_ct_get_glyph.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xtensa_format_get_slot ## -- Begin function xtensa_format_get_slot
.p2align 4, 0x90
_xtensa_format_get_slot: ## @xtensa_format_get_slot
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r14d
movl %ecx, %r15d
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %rbx
movl $-1, %edx
callq _CHECK_FORMAT
movq %rbx, %rdi
movq %r13, %rsi
movl %r12d, %edx
movl $-1, %ecx
callq _CHECK_SLOT
movq (%rbx), %rax
movq 8(%rbx), %rcx
movq (%rcx,%r13,8), %rcx
movslq %r12d, %rdx
movslq (%rcx,%rdx,4), %rcx
movl %r15d, %edi
movl %r14d, %esi
callq *(%rax,%rcx,8)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xtensa_format_get_slot ; -- Begin function xtensa_format_get_slot
.p2align 2
_xtensa_format_get_slot: ; @xtensa_format_get_slot
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
mov w2, #-1
bl _CHECK_FORMAT
mov x0, x23
mov x1, x22
mov x2, x21
mov w3, #-1
bl _CHECK_SLOT
ldp x9, x8, [x23]
ldr x8, [x8, x22, lsl #3]
ldrsw x8, [x8, w21, sxtw #2]
ldr x8, [x9, x8, lsl #3]
mov x0, x20
mov x1, x19
blr x8
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-isa.c_xtensa_format_get_slot.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nct_io_write
_nct_io_write: ## @nct_io_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movl %edx, %r15d
movq %rdi, %rbx
callq _nct_io_set_group
movl (%rbx), %edi
movl %r15d, %esi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _bus_write_1 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nct_io_write
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nct_io_write
_nct_io_write: ; @nct_io_write
.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, x2
mov x21, x0
bl _nct_io_set_group
ldr w0, [x21]
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _bus_write_1
.cfi_endproc
; -- End function
.no_dead_strip _nct_io_write
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/nctgpio/extr_nctgpio.c_nct_io_write.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dstr_ncmpi
_dstr_ncmpi: ## @dstr_ncmpi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
popq %rbp
jmp _astrcmpi_n ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dstr_ncmpi
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dstr_ncmpi
_dstr_ncmpi: ; @dstr_ncmpi
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _astrcmpi_n
.cfi_endproc
; -- End function
.no_dead_strip _dstr_ncmpi
.subsections_via_symbols
|
AnghaBench/obs-studio/libobs/extr_utildstr.h_dstr_ncmpi.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cciss_open
_cciss_open: ## @cciss_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
callq _get_host
movq %rax, %r14
movq 8(%rbx), %rdi
callq _get_drv
movq %rax, %r15
movq 8(%r14), %rdi
movq 8(%rbx), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
callq _dev_dbg
cmpq $0, 16(%r15)
je LBB0_3
## %bb.1:
movq _EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_11
LBB0_3:
cmpq $0, (%r15)
je LBB0_4
LBB0_10:
incl 8(%r15)
incl (%r14)
xorl %eax, %eax
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl (%rbx), %edi
callq _MINOR
testl %eax, %eax
je LBB0_8
## %bb.5:
movl (%rbx), %edi
callq _MINOR
testb $15, %al
jne LBB0_6
## %bb.7:
movl 12(%r15), %edi
movq _CTLR_LUNID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $4, %edx
callq _memcmp
testq %rax, %rax
je LBB0_8
LBB0_6:
movq _ENXIO@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_8:
movq _CAP_SYS_ADMIN@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _capable
testl %eax, %eax
jne LBB0_10
## %bb.9:
movq _EPERM@GOTPCREL(%rip), %rcx
jmp LBB0_2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cciss_open %s\n"
.comm _EBUSY,4,2 ## @EBUSY
.comm _ENXIO,4,2 ## @ENXIO
.comm _CTLR_LUNID,4,2 ## @CTLR_LUNID
.comm _CAP_SYS_ADMIN,4,2 ## @CAP_SYS_ADMIN
.comm _EPERM,4,2 ## @EPERM
.no_dead_strip _cciss_open
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cciss_open
_cciss_open: ; @cciss_open
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x0
ldr x0, [x0, #8]
bl _get_host
mov x19, x0
ldr x0, [x21, #8]
bl _get_drv
mov x20, x0
ldr x0, [x19, #8]
ldr x8, [x21, #8]
ldr w2, [x8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
ldr x8, [x20, #16]
cbz x8, LBB0_3
; %bb.1:
Lloh2:
adrp x8, _EBUSY@GOTPAGE
Lloh3:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
ldr w8, [x8]
neg w0, w8
b LBB0_5
LBB0_3:
ldr x8, [x20]
cbz x8, LBB0_6
LBB0_4:
mov w0, #0
ldr w8, [x20, #8]
add w8, w8, #1
str w8, [x20, #8]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
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
LBB0_6:
ldr w0, [x21]
bl _MINOR
cbz w0, LBB0_10
; %bb.7:
ldr w0, [x21]
bl _MINOR
tst w0, #0xf
b.ne LBB0_9
; %bb.8:
ldr w0, [x20, #12]
Lloh4:
adrp x8, _CTLR_LUNID@GOTPAGE
Lloh5:
ldr x8, [x8, _CTLR_LUNID@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
mov w2, #4
bl _memcmp
cbz x0, LBB0_10
LBB0_9:
Lloh7:
adrp x8, _ENXIO@GOTPAGE
Lloh8:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
b LBB0_2
LBB0_10:
Lloh9:
adrp x8, _CAP_SYS_ADMIN@GOTPAGE
Lloh10:
ldr x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _capable
cbnz w0, LBB0_4
; %bb.11:
Lloh12:
adrp x8, _EPERM@GOTPAGE
Lloh13:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
b LBB0_2
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cciss_open %s\n"
.comm _EBUSY,4,2 ; @EBUSY
.comm _ENXIO,4,2 ; @ENXIO
.comm _CTLR_LUNID,4,2 ; @CTLR_LUNID
.comm _CAP_SYS_ADMIN,4,2 ; @CAP_SYS_ADMIN
.comm _EPERM,4,2 ; @EPERM
.no_dead_strip _cciss_open
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/block/extr_cciss.c_cciss_open.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function checklimit
_checklimit: ## @checklimit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl %edx, %esi
jle LBB0_1
## %bb.2:
movl %edx, %esi
movq %rcx, %rdx
popq %rbp
jmp _errorlimit ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _checklimit
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function checklimit
_checklimit: ; @checklimit
.cfi_startproc
; %bb.0:
cmp w1, w2
b.le LBB0_2
; %bb.1:
mov x1, x2
mov x2, x3
b _errorlimit
LBB0_2:
ret
.cfi_endproc
; -- End function
.no_dead_strip _checklimit
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/lua/src/extr_lparser.c_checklimit.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LibTCPGetPeerName ## -- Begin function LibTCPGetPeerName
.p2align 4, 0x90
_LibTCPGetPeerName: ## @LibTCPGetPeerName
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movl 4(%rdi), %eax
movl %eax, (%rsi)
movl (%rdi), %eax
movl %eax, (%rdx)
movq _ERR_OK@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _ERR_CLSD@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ERR_CLSD,4,2 ## @ERR_CLSD
.comm _ERR_OK,4,2 ## @ERR_OK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LibTCPGetPeerName ; -- Begin function LibTCPGetPeerName
.p2align 2
_LibTCPGetPeerName: ; @LibTCPGetPeerName
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
ldr w8, [x0, #4]
str w8, [x1]
ldr w8, [x0]
str w8, [x2]
Lloh0:
adrp x8, _ERR_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _ERR_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
LBB0_2:
Lloh3:
adrp x8, _ERR_CLSD@GOTPAGE
Lloh4:
ldr x8, [x8, _ERR_CLSD@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ERR_CLSD,4,2 ; @ERR_CLSD
.comm _ERR_OK,4,2 ; @ERR_OK
.subsections_via_symbols
|
AnghaBench/reactos/sdk/lib/drivers/lwip/src/extr_rostcp.c_LibTCPGetPeerName.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaV_gettable ## -- Begin function luaV_gettable
.p2align 4, 0x90
_luaV_gettable: ## @luaV_gettable
.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, -44(%rbp) ## 4-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rdi, %r12
movq _MAXTAGLOOP@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_11
## %bb.1:
movq %rsi, %r13
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
callq _ttistable
testq %rax, %rax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _hvalue
movq %rax, %rbx
movq %rax, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _luaH_get
movq %rax, %r14
movq %rax, %rdi
callq _ttisnil
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl (%rbx), %esi
movq _TM_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
callq _fasttm
movq %rax, %rbx
testq %rax, %rax
jne LBB0_9
jmp LBB0_6
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq _TM_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
movq %r13, %rsi
callq _luaT_gettmbyobj
movq %rax, %rbx
movq %rax, %rdi
callq _ttisnil
testq %rax, %rax
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
movq %r13, %rsi
leaq L_.str(%rip), %rdx
callq _luaG_typeerror
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
callq _ttisfunction
testq %rax, %rax
jne LBB0_10
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
incl %r15d
movq %rbx, %r13
movq _MAXTAGLOOP@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jl LBB0_3
LBB0_11:
leaq L_.str.1(%rip), %rsi
movq %r12, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _luaG_runerror ## TAILCALL
LBB0_6:
movq %r12, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq %r14, %rdx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _setobj2s ## TAILCALL
LBB0_10:
movq %r12, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq %rbx, %rdx
movq %r13, %rcx
movq -56(%rbp), %r8 ## 8-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _callTMres ## TAILCALL
.cfi_endproc
## -- End function
.comm _MAXTAGLOOP,4,2 ## @MAXTAGLOOP
.comm _TM_INDEX,4,2 ## @TM_INDEX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "index"
L_.str.1: ## @.str.1
.asciz "loop in gettable"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaV_gettable ; -- Begin function luaV_gettable
.p2align 2
_luaV_gettable: ; @luaV_gettable
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x0
Lloh0:
adrp x26, _MAXTAGLOOP@GOTPAGE
Lloh1:
ldr x26, [x26, _MAXTAGLOOP@GOTPAGEOFF]
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_9
; %bb.1:
mov x19, x3
mov x20, x2
mov x22, x1
mov w27, #0
Lloh2:
adrp x28, _TM_INDEX@GOTPAGE
Lloh3:
ldr x28, [x28, _TM_INDEX@GOTPAGEOFF]
Lloh4:
adrp x23, l_.str@PAGE
Lloh5:
add x23, x23, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _ttistable
cbz x0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x22
bl _hvalue
mov x24, x0
mov x1, x20
bl _luaH_get
mov x25, x0
bl _ttisnil
cbz x0, LBB0_10
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr w1, [x24]
ldr w2, [x28]
mov x0, x21
bl _fasttm
mov x24, x0
cbnz x0, LBB0_7
b LBB0_10
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
ldr w2, [x28]
mov x0, x21
mov x1, x22
bl _luaT_gettmbyobj
mov x24, x0
bl _ttisnil
cbz x0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
mov x1, x22
mov x2, x23
bl _luaG_typeerror
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
mov x0, x24
bl _ttisfunction
cbnz x0, LBB0_11
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
add w27, w27, #1
ldr w8, [x26]
mov x22, x24
cmp w27, w8
b.lt LBB0_2
LBB0_9:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _luaG_runerror
LBB0_10:
mov x0, x21
mov x1, x19
mov x2, x25
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _setobj2s
LBB0_11:
mov x0, x21
mov x1, x19
mov x2, x24
mov x3, x22
mov x4, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _callTMres
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAXTAGLOOP,4,2 ; @MAXTAGLOOP
.comm _TM_INDEX,4,2 ; @TM_INDEX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "index"
l_.str.1: ; @.str.1
.asciz "loop in gettable"
.subsections_via_symbols
|
AnghaBench/xLua/build/lua-5.1.5/src/extr_lvm.c_luaV_gettable.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fn1 ## -- Begin function fn1
.p2align 4, 0x90
_fn1: ## @fn1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _e@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.2:
xorl %eax, %eax
popq %rbp
retq
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.globl _fn3 ## -- Begin function fn3
.p2align 4, 0x90
_fn3: ## @fn3
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _j@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_7
## %bb.1:
movq _e@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_6
## %bb.2:
movq _b@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %esi, %esi
testl %ecx, %ecx
sete %sil
movq _k@GOTPCREL(%rip), %r8
movq _n@GOTPCREL(%rip), %r9
movq _a@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _c@GOTPCREL(%rip), %rdx
movl (%rdx), %edi
cltd
idivl %edi
xorl %eax, %eax
cmpl (%r9), %edx
movq _m@GOTPCREL(%rip), %rdx
setne %al
orl (%rdx), %eax
cmpl $0, (%r8)
movq _l@GOTPCREL(%rip), %rdx
movl %esi, (%rdx)
movq _o@GOTPCREL(%rip), %rdx
movl %edi, (%rdx)
movq _h@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
je LBB1_4
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
jmp LBB1_3
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
jmp LBB1_6
LBB1_4:
testl %ecx, %ecx
je LBB1_5
LBB1_7:
popq %rbp
retq
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
jmp LBB1_5
.cfi_endproc
## -- End function
.globl _fn2 ## -- Begin function fn2
.p2align 4, 0x90
_fn2: ## @fn2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _c@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _o@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _a@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl %ecx
movq _n@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpl (%rax), %edx
movq _m@GOTPCREL(%rip), %rax
setne %cl
orl (%rax), %ecx
movq _h@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _i@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _e,4,2 ## @e
.comm _f,4,2 ## @f
.comm _j,4,2 ## @j
.comm _b,4,2 ## @b
.comm _l,4,2 ## @l
.comm _k,4,2 ## @k
.comm _d,4,2 ## @d
.comm _c,4,2 ## @c
.comm _o,4,2 ## @o
.comm _m,4,2 ## @m
.comm _a,4,2 ## @a
.comm _n,4,2 ## @n
.comm _h,4,2 ## @h
.comm _i,4,2 ## @i
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fn1 ; -- Begin function fn1
.p2align 2
_fn1: ; @fn1
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _e@GOTPAGE
Lloh1:
ldr x8, [x8, _e@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2: ; =>This Inner Loop Header: Depth=1
b LBB0_2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _fn3 ; -- Begin function fn3
.p2align 2
_fn3: ; @fn3
.cfi_startproc
; %bb.0:
Lloh3:
adrp x8, _j@GOTPAGE
Lloh4:
ldr x8, [x8, _j@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cbz w8, LBB1_6
; %bb.1:
Lloh6:
adrp x8, _e@GOTPAGE
Lloh7:
ldr x8, [x8, _e@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cbz w8, LBB1_4
; %bb.2:
Lloh9:
adrp x8, _b@GOTPAGE
Lloh10:
ldr x8, [x8, _b@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
cmp w8, #0
cset w9, eq
Lloh12:
adrp x10, _k@GOTPAGE
Lloh13:
ldr x10, [x10, _k@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
Lloh15:
adrp x11, _n@GOTPAGE
Lloh16:
ldr x11, [x11, _n@GOTPAGEOFF]
Lloh17:
ldr w11, [x11]
Lloh18:
adrp x12, _a@GOTPAGE
Lloh19:
ldr x12, [x12, _a@GOTPAGEOFF]
Lloh20:
ldr w12, [x12]
Lloh21:
adrp x13, _m@GOTPAGE
Lloh22:
ldr x13, [x13, _m@GOTPAGEOFF]
Lloh23:
ldr w13, [x13]
Lloh24:
adrp x14, _c@GOTPAGE
Lloh25:
ldr x14, [x14, _c@GOTPAGEOFF]
Lloh26:
ldr w14, [x14]
Lloh27:
adrp x15, _l@GOTPAGE
Lloh28:
ldr x15, [x15, _l@GOTPAGEOFF]
Lloh29:
str w9, [x15]
Lloh30:
adrp x9, _o@GOTPAGE
Lloh31:
ldr x9, [x9, _o@GOTPAGEOFF]
Lloh32:
str w14, [x9]
sdiv w9, w12, w14
msub w9, w9, w14, w12
cmp w9, w11
cset w9, ne
orr w9, w13, w9
Lloh33:
adrp x11, _h@GOTPAGE
Lloh34:
ldr x11, [x11, _h@GOTPAGEOFF]
Lloh35:
str w9, [x11]
cbz w10, LBB1_5
LBB1_3: ; =>This Inner Loop Header: Depth=1
b LBB1_3
LBB1_4: ; =>This Inner Loop Header: Depth=1
b LBB1_4
LBB1_5:
cbz w8, LBB1_7
LBB1_6:
ret
LBB1_7: ; =>This Inner Loop Header: Depth=1
b LBB1_7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _fn2 ; -- Begin function fn2
.p2align 2
_fn2: ; @fn2
.cfi_startproc
; %bb.0:
Lloh36:
adrp x8, _c@GOTPAGE
Lloh37:
ldr x8, [x8, _c@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
Lloh39:
adrp x9, _o@GOTPAGE
Lloh40:
ldr x9, [x9, _o@GOTPAGEOFF]
Lloh41:
adrp x10, _m@GOTPAGE
Lloh42:
ldr x10, [x10, _m@GOTPAGEOFF]
Lloh43:
adrp x11, _a@GOTPAGE
Lloh44:
ldr x11, [x11, _a@GOTPAGEOFF]
Lloh45:
str w8, [x9]
Lloh46:
ldr w9, [x11]
sdiv w11, w9, w8
msub w8, w11, w8, w9
Lloh47:
adrp x9, _n@GOTPAGE
Lloh48:
ldr x9, [x9, _n@GOTPAGEOFF]
Lloh49:
ldr w10, [x10]
Lloh50:
ldr w9, [x9]
cmp w8, w9
cset w8, ne
Lloh51:
adrp x9, _h@GOTPAGE
Lloh52:
ldr x9, [x9, _h@GOTPAGEOFF]
orr w8, w10, w8
Lloh53:
str w8, [x9]
Lloh54:
adrp x8, _i@GOTPAGE
Lloh55:
ldr x8, [x8, _i@GOTPAGEOFF]
ldrb w0, [x8]
ret
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGotStr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh50
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh49
.loh AdrpLdrGotStr Lloh39, Lloh40, Lloh45
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.cfi_endproc
; -- End function
.comm _e,4,2 ; @e
.comm _f,4,2 ; @f
.comm _j,4,2 ; @j
.comm _b,4,2 ; @b
.comm _l,4,2 ; @l
.comm _k,4,2 ; @k
.comm _d,4,2 ; @d
.comm _c,4,2 ; @c
.comm _o,4,2 ; @o
.comm _m,4,2 ; @m
.comm _a,4,2 ; @a
.comm _n,4,2 ; @n
.comm _h,4,2 ; @h
.comm _i,4,2 ; @i
.subsections_via_symbols
|
the_stack_data/107804.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dtl1_hci_open
_dtl1_hci_open: ## @dtl1_hci_open
.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 _dtl1_hci_open
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dtl1_hci_open
_dtl1_hci_open: ; @dtl1_hci_open
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _dtl1_hci_open
.subsections_via_symbols
|
AnghaBench/linux/drivers/bluetooth/extr_dtl1_cs.c_dtl1_hci_open.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function caam_unmap
_caam_unmap: ## @caam_unmap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r12
movl %ecx, %eax
movq %rdx, %r13
movq %rdi, %rbx
movl 40(%rbp), %r14d
movq 32(%rbp), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movl 24(%rbp), %ecx
movl %ecx, -48(%rbp) ## 4-byte Spill
movl 16(%rbp), %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
cmpq %rsi, %rdx
je LBB0_1
## %bb.2:
movl %r8d, %r15d
testl %eax, %eax
je LBB0_4
## %bb.3:
movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq %rbx, %rdi
movl %eax, %edx
callq _dma_unmap_sg
LBB0_4:
testl %r15d, %r15d
je LBB0_7
## %bb.5:
movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
movl %r15d, %eax
jmp LBB0_6
LBB0_1:
movq _DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rcx
LBB0_6:
movl (%rcx), %ecx
movq %rbx, %rdi
movq %r13, %rsi
movl %eax, %edx
callq _dma_unmap_sg
LBB0_7:
testq %r12, %r12
je LBB0_9
## %bb.8:
movq %rbx, %rdi
movq %r12, %rsi
movl -44(%rbp), %edx ## 4-byte Reload
movl -48(%rbp), %ecx ## 4-byte Reload
callq _dma_unmap_single
LBB0_9:
testl %r14d, %r14d
je LBB0_10
## %bb.11:
movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %rbx, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movl %r14d, %edx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dma_unmap_single ## TAILCALL
LBB0_10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE
.comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE
.comm _DMA_BIDIRECTIONAL,4,2 ## @DMA_BIDIRECTIONAL
.no_dead_strip _caam_unmap
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function caam_unmap
_caam_unmap: ; @caam_unmap
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x7
mov x23, x6
mov x24, x5
mov x8, x3
mov x25, x2
mov x20, x0
ldr w19, [x29, #24]
ldr x21, [x29, #16]
Lloh0:
adrp x27, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
ldr x27, [x27, _DMA_TO_DEVICE@GOTPAGEOFF]
cmp x2, x1
b.eq LBB0_5
; %bb.1:
mov x26, x4
cbz w8, LBB0_3
; %bb.2:
ldr w3, [x27]
mov x0, x20
mov x2, x8
bl _dma_unmap_sg
LBB0_3:
cbz w26, LBB0_7
; %bb.4:
Lloh2:
adrp x9, _DMA_FROM_DEVICE@GOTPAGE
Lloh3:
ldr x9, [x9, _DMA_FROM_DEVICE@GOTPAGEOFF]
mov x8, x26
b LBB0_6
LBB0_5:
Lloh4:
adrp x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh5:
ldr x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
LBB0_6:
ldr w3, [x9]
mov x0, x20
mov x1, x25
mov x2, x8
bl _dma_unmap_sg
LBB0_7:
cbz x24, LBB0_9
; %bb.8:
mov x0, x20
mov x1, x24
mov x2, x23
mov x3, x22
bl _dma_unmap_single
LBB0_9:
cbz w19, LBB0_11
; %bb.10:
ldr w3, [x27]
mov x0, x20
mov x1, x21
mov x2, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _dma_unmap_single
LBB0_11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE
.comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE
.comm _DMA_BIDIRECTIONAL,4,2 ; @DMA_BIDIRECTIONAL
.no_dead_strip _caam_unmap
.subsections_via_symbols
|
AnghaBench/linux/drivers/crypto/caam/extr_caamalg_qi.c_caam_unmap.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bnxt_free_tx_skbs
_bnxt_free_tx_skbs: ## @bnxt_free_tx_skbs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $0, 24(%rdi)
je LBB0_19
## %bb.1:
cmpl $0, 4(%rdi)
jle LBB0_19
## %bb.2:
movq 32(%rdi), %r14
movq _TX_DESC_CNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
imull (%rdi), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
xorl %ecx, %ecx
movq %rdi, -88(%rbp) ## 8-byte Spill
movq %r14, -80(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
movq %rdi, %rbx
movl 16(%rdi), %edi
movq -48(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
callq _netdev_get_tx_queue
movl %eax, %edi
callq _netdev_tx_reset_queue
movq %rbx, %rdi
movq -48(%rbp), %rcx ## 8-byte Reload
incq %rcx
movslq 4(%rbx), %rax
cmpq %rax, %rcx
jge LBB0_19
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_16 Depth 3
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
movq %rcx, -48(%rbp) ## 8-byte Spill
jle LBB0_3
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq 24(%rdi), %rsi
xorl %r15d, %r15d
movq %rsi, -72(%rbp) ## 8-byte Spill
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_8 Depth=2
movq _mapping@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _dma_unmap_addr
movl %eax, -64(%rbp) ## 4-byte Spill
movq _len@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
callq _dma_unmap_len
movq _PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq -80(%rbp), %rdi ## 8-byte Reload
movl -64(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
callq _dma_unmap_single
movq 32(%r14,%r12,8), %rdi
callq _xdp_return_frame
movq -88(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq $0, (%r13)
movq $0, 32(%r14,%r12,8)
LBB0_6: ## in Loop: Header=BB0_8 Depth=2
incl %r15d
LBB0_7: ## in Loop: Header=BB0_8 Depth=2
cmpl -52(%rbp), %r15d ## 4-byte Folded Reload
jge LBB0_3
LBB0_8: ## Parent Loop BB0_4 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_16 Depth 3
movq (%rsi,%rcx,8), %r14
movslq %r15d, %rax
leaq (%rax,%rax,4), %r12
leaq (%r14,%r12,8), %r13
movslq 8(%rdi), %rax
cmpq %rax, %rcx
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movq (%r13), %rax
movq _XDP_REDIRECT@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_10
LBB0_11: ## in Loop: Header=BB0_8 Depth=2
movq 24(%r14,%r12,8), %rbx
testq %rbx, %rbx
movq _mapping@GOTPCREL(%rip), %rdx
je LBB0_6
## %bb.12: ## in Loop: Header=BB0_8 Depth=2
leaq (%r14,%r12,8), %rax
addq $24, %rax
movq $0, (%rax)
cmpq $0, 16(%r14,%r12,8)
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_8 Depth=2
movq %rdi, %r14
movq %rbx, %rdi
callq _dev_kfree_skb
movq %r14, %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
addl $2, %r15d
jmp LBB0_7
LBB0_14: ## in Loop: Header=BB0_8 Depth=2
movl (%rdx), %esi
movq %r13, %rdi
callq _dma_unmap_addr
movl %eax, %r13d
movq %rbx, -96(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _skb_headlen
movq _PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq -80(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
movl %eax, %edx
callq _dma_unmap_single
movl 8(%r14,%r12,8), %eax
addl $2, %r15d
movq %rax, -64(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB0_17
## %bb.15: ## in Loop: Header=BB0_8 Depth=2
shlq $2, -64(%rbp) ## 8-byte Folded Spill
xorl %r14d, %r14d
movq -96(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_4 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Inner Loop Header: Depth=3
movq -88(%rbp), %rax ## 8-byte Reload
movl 12(%rax), %eax
andl %r15d, %eax
movslq %eax, %r13
movq %r12, %rdi
callq _skb_shinfo
movq (%rax), %rbx
addq %r14, %rbx
leaq (,%r13,4), %rdi
addq %r13, %rdi
shlq $3, %rdi
movq -48(%rbp), %rax ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
addq (%rcx,%rax,8), %rdi
movq _mapping@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _dma_unmap_addr
movl %eax, %r13d
movq %rbx, %rdi
callq _skb_frag_size
movq _PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq -80(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
movl %eax, %edx
callq _dma_unmap_page
incl %r15d
addq $4, %r14
cmpq %r14, -64(%rbp) ## 8-byte Folded Reload
jne LBB0_16
jmp LBB0_18
LBB0_17: ## in Loop: Header=BB0_8 Depth=2
movq -96(%rbp), %r12 ## 8-byte Reload
LBB0_18: ## in Loop: Header=BB0_8 Depth=2
movq %r12, %rdi
callq _dev_kfree_skb
movq -88(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
jmp LBB0_7
LBB0_19:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TX_DESC_CNT,4,2 ## @TX_DESC_CNT
.comm _XDP_REDIRECT,8,3 ## @XDP_REDIRECT
.comm _mapping,4,2 ## @mapping
.comm _len,4,2 ## @len
.comm _PCI_DMA_TODEVICE,4,2 ## @PCI_DMA_TODEVICE
.no_dead_strip _bnxt_free_tx_skbs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bnxt_free_tx_skbs
_bnxt_free_tx_skbs: ; @bnxt_free_tx_skbs
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
ldr x8, [x0, #24]
cbz x8, LBB0_19
; %bb.1:
mov x21, x0
ldr w8, [x0, #4]
cmp w8, #1
b.lt LBB0_19
; %bb.2:
mov x20, #0
ldr x19, [x21, #32]
Lloh0:
adrp x8, _TX_DESC_CNT@GOTPAGE
Lloh1:
ldr x8, [x8, _TX_DESC_CNT@GOTPAGEOFF]
ldr w9, [x21]
Lloh2:
ldr w8, [x8]
mul w26, w8, w9
Lloh3:
adrp x25, _XDP_REDIRECT@GOTPAGE
Lloh4:
ldr x25, [x25, _XDP_REDIRECT@GOTPAGEOFF]
str w26, [sp, #20] ; 4-byte Folded Spill
str x21, [sp, #8] ; 8-byte Folded Spill
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x21, #16]
mov x1, x20
bl _netdev_get_tx_queue
bl _netdev_tx_reset_queue
add x20, x20, #1
ldrsw x8, [x21, #4]
cmp x20, x8
b.ge LBB0_19
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
; Child Loop BB0_16 Depth 3
cmp w26, #1
b.lt LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w28, #0
ldr x10, [x21, #24]
str x10, [sp, #40] ; 8-byte Folded Spill
str x20, [sp, #24] ; 8-byte Folded Spill
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_9 Depth=2
Lloh5:
adrp x8, _mapping@GOTPAGE
Lloh6:
ldr x8, [x8, _mapping@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x23
bl _dma_unmap_addr
mov x22, x0
Lloh8:
adrp x8, _len@GOTPAGE
Lloh9:
ldr x8, [x8, _len@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x23
bl _dma_unmap_len
mov x2, x0
Lloh11:
adrp x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh12:
ldr x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh13:
ldr w3, [x8]
mov x0, x19
mov x1, x22
bl _dma_unmap_single
madd x22, x24, x28, x27
ldr x0, [x22, #32]
bl _xdp_return_frame
ldr x10, [sp, #40] ; 8-byte Folded Reload
str xzr, [x23]
str xzr, [x22, #32]
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
add w28, w24, #1
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
cmp w28, w26
b.ge LBB0_3
LBB0_9: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
ldr x27, [x10, x20, lsl #3]
sxtw x24, w28
mov w8, #40
smaddl x23, w28, w8, x27
mov w28, #40
ldrsw x8, [x21, #8]
cmp x20, x8
b.ge LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x23]
ldr x9, [x25]
cmp x8, x9
b.eq LBB0_6
LBB0_11: ; in Loop: Header=BB0_9 Depth=2
madd x8, x24, x28, x27
ldr x22, [x8, #24]!
Lloh14:
adrp x9, _mapping@GOTPAGE
Lloh15:
ldr x9, [x9, _mapping@GOTPAGEOFF]
cbz x22, LBB0_7
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
str xzr, [x8]
madd x8, x24, x28, x27
ldr x8, [x8, #16]
cbz x8, LBB0_14
; %bb.13: ; in Loop: Header=BB0_9 Depth=2
mov x0, x22
bl _dev_kfree_skb
ldr x10, [sp, #40] ; 8-byte Folded Reload
add w28, w24, #2
b LBB0_8
LBB0_14: ; in Loop: Header=BB0_9 Depth=2
ldr w1, [x9]
mov x0, x23
bl _dma_unmap_addr
mov x23, x0
str x22, [sp, #32] ; 8-byte Folded Spill
mov x0, x22
bl _skb_headlen
mov x2, x0
Lloh16:
adrp x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh17:
ldr x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh18:
ldr w3, [x8]
mov x21, x19
mov x0, x19
mov x1, x23
bl _dma_unmap_single
madd x8, x24, x28, x27
ldr w8, [x8, #8]
add w28, w24, #2
cmp w8, #1
b.lt LBB0_17
; %bb.15: ; in Loop: Header=BB0_9 Depth=2
mov x27, #0
lsl x26, x8, #2
mov x19, x21
ldr x21, [sp, #8] ; 8-byte Folded Reload
ldp x20, x25, [sp, #24] ; 16-byte Folded Reload
ldr x22, [sp, #40] ; 8-byte Folded Reload
LBB0_16: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_9 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [x21, #12]
and w24, w8, w28
mov x0, x25
bl _skb_shinfo
ldr x8, [x0]
add x23, x8, x27
ldr x8, [x22, x20, lsl #3]
mov w9, #40
smaddl x0, w24, w9, x8
Lloh19:
adrp x8, _mapping@GOTPAGE
Lloh20:
ldr x8, [x8, _mapping@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
bl _dma_unmap_addr
mov x24, x0
mov x0, x23
bl _skb_frag_size
mov x2, x0
Lloh22:
adrp x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh23:
ldr x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh24:
ldr w3, [x8]
mov x0, x19
mov x1, x24
bl _dma_unmap_page
add w28, w28, #1
add x27, x27, #4
cmp x26, x27
b.ne LBB0_16
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_9 Depth=2
mov x19, x21
ldr x21, [sp, #8] ; 8-byte Folded Reload
ldp x20, x25, [sp, #24] ; 16-byte Folded Reload
ldr x22, [sp, #40] ; 8-byte Folded Reload
LBB0_18: ; in Loop: Header=BB0_9 Depth=2
mov x0, x25
bl _dev_kfree_skb
ldr w26, [sp, #20] ; 4-byte Folded Reload
Lloh25:
adrp x25, _XDP_REDIRECT@GOTPAGE
Lloh26:
ldr x25, [x25, _XDP_REDIRECT@GOTPAGEOFF]
mov x10, x22
b LBB0_8
LBB0_19:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _TX_DESC_CNT,4,2 ; @TX_DESC_CNT
.comm _XDP_REDIRECT,8,3 ; @XDP_REDIRECT
.comm _mapping,4,2 ; @mapping
.comm _len,4,2 ; @len
.comm _PCI_DMA_TODEVICE,4,2 ; @PCI_DMA_TODEVICE
.no_dead_strip _bnxt_free_tx_skbs
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/ethernet/broadcom/bnxt/extr_bnxt.c_bnxt_free_tx_skbs.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $80, %edi
movl $1, %esi
callq _calloc
testq %rax, %rax
je LBB0_10
## %bb.1:
movq %rax, %r14
callq _getchar
cmpb $10, %al
jne LBB0_2
## %bb.14:
leaq L_.str.2(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
jmp LBB0_15
LBB0_2:
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
callq _getchar
cmpb $10, %al
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %rbx
movb %al, (%r14,%rbx)
incl %ebx
cmpl $80, %ebx
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
callq _fork
cmpl $-1, %eax
je LBB0_13
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, 64(%r14)
movups %xmm0, 48(%r14)
movups %xmm0, 32(%r14)
movups %xmm0, 16(%r14)
movups %xmm0, (%r14)
incl %r15d
xorl %ebx, %ebx
jmp LBB0_7
LBB0_8:
leaq L_.str.2(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
testl %r15d, %r15d
jle LBB0_15
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
callq _wait
decl %r15d
jne LBB0_9
LBB0_15:
leaq L_str(%rip), %rdi
callq _puts
LBB0_11:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq _main.cold.1
jmp LBB0_11
LBB0_13:
leaq L_str.9(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
LBB0_12:
movq %r14, %rdi
movl $80, %esi
callq _array_elaboration
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function array_elaboration
LCPI1_0:
.space 16,127
LCPI1_1:
.space 16,128
.section __TEXT,__text,regular,pure_instructions
.globl _array_elaboration
.p2align 4, 0x90
_array_elaboration: ## @array_elaboration
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _getpid
movl %eax, %r15d
movq %rbx, -48(%rbp) ## 8-byte Spill
movb (%rbx), %r13b
movl %r14d, %ebx
movslq %r14d, %r14
movl $1, %esi
movq %r14, %rdi
callq _calloc
movq %rax, %r12
movl $4, %esi
movq %r14, %rdi
callq _calloc
testq %r12, %r12
je LBB1_15
## %bb.1:
testq %rax, %rax
je LBB1_15
## %bb.2:
movl %ebx, %r9d
cmpl $2, %ebx
movl %r15d, -52(%rbp) ## 4-byte Spill
jl LBB1_5
## %bb.3:
leaq -1(%r9), %r8
movl $1, %edx
cmpq $8, %r8
jae LBB1_6
## %bb.4:
movl %r13d, %r15d
movq -48(%rbp), %r10 ## 8-byte Reload
jmp LBB1_22
LBB1_5:
movl %r13d, %r15d
movq -48(%rbp), %r10 ## 8-byte Reload
jmp LBB1_23
LBB1_6:
movl %ebx, %r11d
cmpq $32, %r8
jae LBB1_8
## %bb.7:
xorl %ebx, %ebx
movl %r13d, %r15d
movq -48(%rbp), %r10 ## 8-byte Reload
jmp LBB1_17
LBB1_8:
movq %r8, %rbx
andq $-32, %rbx
movzbl %r13b, %ecx
movd %ecx, %xmm0
pxor %xmm1, %xmm1
pshufb %xmm1, %xmm0
leaq -32(%rbx), %rsi
movq %rsi, %rcx
shrq $5, %rcx
incq %rcx
testq %rsi, %rsi
movq -48(%rbp), %r10 ## 8-byte Reload
je LBB1_20
## %bb.9:
movq %rcx, %rsi
andq $-2, %rsi
movl $1, %edi
movdqa %xmm0, %xmm2
movdqa %xmm0, %xmm1
movdqa %xmm0, %xmm3
.p2align 4, 0x90
LBB1_10: ## =>This Inner Loop Header: Depth=1
movdqu (%r10,%rdi), %xmm4
movdqu 16(%r10,%rdi), %xmm5
movdqu 32(%r10,%rdi), %xmm6
movdqu 48(%r10,%rdi), %xmm7
pminsb %xmm4, %xmm0
pminsb %xmm5, %xmm2
pmaxsb %xmm4, %xmm1
pmaxsb %xmm5, %xmm3
pminsb %xmm6, %xmm0
pminsb %xmm7, %xmm2
pmaxsb %xmm6, %xmm1
pmaxsb %xmm7, %xmm3
addq $64, %rdi
addq $-2, %rsi
jne LBB1_10
## %bb.11:
testb $1, %cl
je LBB1_13
LBB1_12:
movdqu (%r10,%rdi), %xmm4
movdqu 16(%r10,%rdi), %xmm5
pminsb %xmm4, %xmm0
pminsb %xmm5, %xmm2
pmaxsb %xmm4, %xmm1
pmaxsb %xmm5, %xmm3
LBB1_13:
pminsb %xmm2, %xmm0
pmaxsb %xmm3, %xmm1
pxor LCPI1_0(%rip), %xmm1
movdqa %xmm1, %xmm2
psrlw $8, %xmm2
pminub %xmm1, %xmm2
phminposuw %xmm2, %xmm1
movd %xmm1, %r15d
xorb $127, %r15b
pxor LCPI1_1(%rip), %xmm0
movdqa %xmm0, %xmm1
psrlw $8, %xmm1
pminub %xmm0, %xmm1
phminposuw %xmm1, %xmm0
movd %xmm0, %r13d
addb $-128, %r13b
cmpq %rbx, %r8
jne LBB1_16
## %bb.14:
movl %r11d, %ebx
jmp LBB1_23
LBB1_15:
callq _array_elaboration.cold.1
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_16:
testb $24, %r8b
je LBB1_21
LBB1_17:
movq %r8, %rdi
andq $-8, %rdi
leaq 1(%rdi), %rdx
movzbl %r13b, %ecx
movd %ecx, %xmm0
punpcklbw %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
movzbl %r15b, %ecx
movd %ecx, %xmm1
punpcklbw %xmm1, %xmm1 ## xmm1 = xmm1[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
pshuflw $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0,4,5,6,7]
.p2align 4, 0x90
LBB1_18: ## =>This Inner Loop Header: Depth=1
movq 1(%r10,%rbx), %xmm2 ## xmm2 = mem[0],zero
pminsb %xmm2, %xmm0
pmaxsb %xmm2, %xmm1
addq $8, %rbx
cmpq %rbx, %rdi
jne LBB1_18
## %bb.19:
pshufd $85, %xmm1, %xmm2 ## xmm2 = xmm1[1,1,1,1]
pmaxsb %xmm1, %xmm2
movdqa %xmm2, %xmm1
psrld $16, %xmm1
pmaxsb %xmm2, %xmm1
movdqa %xmm1, %xmm2
psrlw $8, %xmm2
pmaxsb %xmm1, %xmm2
movd %xmm2, %r15d
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
pminsb %xmm0, %xmm1
movdqa %xmm1, %xmm0
psrld $16, %xmm0
pminsb %xmm1, %xmm0
movdqa %xmm0, %xmm1
psrlw $8, %xmm1
pminsb %xmm0, %xmm1
movd %xmm1, %r13d
cmpq %rdi, %r8
movl %r11d, %ebx
jne LBB1_22
jmp LBB1_23
LBB1_20:
movl $1, %edi
movdqa %xmm0, %xmm2
movdqa %xmm0, %xmm1
movdqa %xmm0, %xmm3
testb $1, %cl
jne LBB1_12
jmp LBB1_13
LBB1_21:
orq $1, %rbx
movq %rbx, %rdx
movl %r11d, %ebx
.p2align 4, 0x90
LBB1_22: ## =>This Inner Loop Header: Depth=1
movzbl (%r10,%rdx), %ecx
movzbl %r13b, %r13d
cmpb %r13b, %cl
cmovll %ecx, %r13d
movzbl %r15b, %r15d
cmpb %r15b, %cl
cmovgl %ecx, %r15d
incq %rdx
cmpq %rdx, %r9
jne LBB1_22
LBB1_23:
xorl %r14d, %r14d
testl %ebx, %ebx
movq %rax, -64(%rbp) ## 8-byte Spill
jle LBB1_42
## %bb.24:
xorl %r8d, %r8d
jmp LBB1_27
LBB1_25: ## in Loop: Header=BB1_27 Depth=1
movb %dl, (%r12,%rcx)
incl (%rax,%rcx,4)
incl %r14d
.p2align 4, 0x90
LBB1_26: ## in Loop: Header=BB1_27 Depth=1
incq %r8
cmpq %r9, %r8
je LBB1_34
LBB1_27: ## =>This Loop Header: Depth=1
## Child Loop BB1_31 Depth 2
testl %r14d, %r14d
js LBB1_26
## %bb.28: ## in Loop: Header=BB1_27 Depth=1
movb (%r10,%r8), %dl
cmpb (%r12), %dl
jne LBB1_30
## %bb.29: ## in Loop: Header=BB1_27 Depth=1
xorl %ebx, %ebx
jmp LBB1_33
.p2align 4, 0x90
LBB1_30: ## in Loop: Header=BB1_27 Depth=1
movl %r14d, %ecx
xorl %edi, %edi
.p2align 4, 0x90
LBB1_31: ## Parent Loop BB1_27 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rdi, %rcx
je LBB1_25
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
leaq 1(%rdi), %rbx
cmpb 1(%r12,%rdi), %dl
movq %rbx, %rdi
jne LBB1_31
LBB1_33: ## in Loop: Header=BB1_27 Depth=1
movl %ebx, %edx
incl (%rax,%rdx,4)
jmp LBB1_26
LBB1_34:
xorl %r10d, %r10d
testl %r14d, %r14d
jle LBB1_41
## %bb.35:
movl %r14d, %esi
cmpl $1, %r14d
jne LBB1_44
## %bb.36:
xorl %edx, %edx
xorl %r8d, %r8d
LBB1_37:
testb $1, %sil
je LBB1_39
## %bb.38:
movl (%rax,%rdx,4), %ecx
movslq %r10d, %r10
cmpl (%rax,%r10,4), %ecx
cmovll %edx, %r10d
movslq %r8d, %r8
cmpl (%rax,%r8,4), %ecx
cmovgl %edx, %r8d
LBB1_39:
movslq %r10d, %r10
movslq %r8d, %r14
movq %r10, %rbx
jmp LBB1_43
LBB1_41:
xorl %r14d, %r14d
LBB1_42:
xorl %ebx, %ebx
LBB1_43:
leaq L_.str.4(%rip), %rdi
movl -52(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movsbl %r13b, %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
movsbl %r15b, %esi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rax
movsbl (%r12,%rbx), %esi
movq -64(%rbp), %rbx ## 8-byte Reload
movl (%rbx,%rax,4), %edx
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movsbl (%r12,%r14), %esi
movl (%rbx,%r14,4), %edx
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
LBB1_44:
movl %esi, %r9d
andl $-2, %r9d
xorl %edx, %edx
xorl %r10d, %r10d
xorl %r8d, %r8d
jmp LBB1_46
.p2align 4, 0x90
LBB1_45: ## in Loop: Header=BB1_46 Depth=1
addq $2, %rdx
cmpq %r9, %rdx
je LBB1_37
LBB1_46: ## =>This Inner Loop Header: Depth=1
movslq %r10d, %rcx
movl (%rax,%rdx,4), %edi
movl %edx, %r14d
cmpl (%rax,%rcx,4), %edi
jl LBB1_48
## %bb.47: ## in Loop: Header=BB1_46 Depth=1
movl %r10d, %r14d
LBB1_48: ## in Loop: Header=BB1_46 Depth=1
movslq %r8d, %rbx
movl %edx, %r11d
cmpl (%rax,%rbx,4), %edi
jg LBB1_50
## %bb.49: ## in Loop: Header=BB1_46 Depth=1
movl %r8d, %r11d
LBB1_50: ## in Loop: Header=BB1_46 Depth=1
movl 4(%rax,%rdx,4), %ecx
movslq %r14d, %rbx
leal 1(%rdx), %r8d
movl %r8d, %r10d
cmpl (%rax,%rbx,4), %ecx
jl LBB1_52
## %bb.51: ## in Loop: Header=BB1_46 Depth=1
movl %r14d, %r10d
LBB1_52: ## in Loop: Header=BB1_46 Depth=1
movslq %r11d, %rdi
cmpl (%rax,%rdi,4), %ecx
jg LBB1_45
## %bb.53: ## in Loop: Header=BB1_46 Depth=1
movl %r11d, %r8d
jmp LBB1_45
.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_.str(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function array_elaboration.cold.1
_array_elaboration.cold.1: ## @array_elaboration.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_.str(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Errore in calloc"
L_.str.2: ## @.str.2
.asciz "Il processo padre ha lanciato %d processi figli.\n\n"
L_.str.4: ## @.str.4
.asciz "Il figlio con PID %d ha elaborato le seguenti informazioni:\n"
L_.str.5: ## @.str.5
.asciz "Carattere minimo: '%c' \n"
L_.str.6: ## @.str.6
.asciz "Carattere massimo: '%c' \n"
L_.str.7: ## @.str.7
.asciz "Carattere con meno occorrenze: '%c' (%d)\n"
L_.str.8: ## @.str.8
.asciz "Carattere con piu` occorrenze: '%c'(%d)\n\n\n"
L_str: ## @str
.asciz "Tutti i figli hanno terminato, ora chiudo anche il padre."
L_str.9: ## @str.9
.asciz "fork() ha fallito! niente processo figlio!"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w0, #80
mov w1, #1
bl _calloc
cbz x0, LBB0_14
; %bb.1:
mov x19, x0
bl _getchar
and w8, w0, #0xff
cmp w8, #10
b.ne LBB0_3
; %bb.2:
str xzr, [sp]
Lloh0:
adrp x0, l_.str.2@PAGE
Lloh1:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_11
LBB0_3:
mov w21, #0
mov w20, #0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
bl _getchar
and w8, w0, #0xff
cmp w8, #10
b.eq LBB0_9
LBB0_5: ; =>This Inner Loop Header: Depth=1
strb w0, [x19, w21, sxtw]
add w21, w21, #1
cmp w21, #80
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
bl _fork
cmn w0, #1
b.eq LBB0_12
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cbz w0, LBB0_13
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
mov w21, #0
movi.2d v0, #0000000000000000
stp q0, q0, [x19, #48]
stp q0, q0, [x19, #16]
add w20, w20, #1
str q0, [x19]
b LBB0_4
LBB0_9:
str x20, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
cmp w20, #1
b.lt LBB0_11
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov x0, #0
bl _wait
subs w20, w20, #1
b.ne LBB0_10
LBB0_11:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
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
LBB0_12:
Lloh6:
adrp x0, l_str.9@PAGE
Lloh7:
add x0, x0, l_str.9@PAGEOFF
bl _puts
mov w0, #1
bl _exit
LBB0_13:
mov x0, x19
mov w1, #80
bl _array_elaboration
mov w0, #0
bl _exit
LBB0_14:
bl _main.cold.1
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _array_elaboration ; -- Begin function array_elaboration
.p2align 2
_array_elaboration: ; @array_elaboration
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x23, x1
mov x22, x0
bl _getpid
mov x21, x0
ldrb w24, [x22]
sxtw x20, w23
mov x0, x20
mov w1, #1
bl _calloc
mov x19, x0
mov x0, x20
mov w1, #4
bl _calloc
cbz x19, LBB1_35
; %bb.1:
mov x20, x0
cbz x0, LBB1_35
; %bb.2:
mov w8, w23
cmp w23, #1
b.le LBB1_5
; %bb.3:
sub x9, x8, #1
cmp x9, #8
b.hs LBB1_6
; %bb.4:
mov w11, #1
mov x25, x24
b LBB1_16
LBB1_5:
mov x25, x24
b LBB1_18
LBB1_6:
cmp x9, #64
b.hs LBB1_8
; %bb.7:
mov x10, #0
mov x25, x24
b LBB1_12
LBB1_8:
and x10, x9, #0xffffffffffffffc0
add x11, x22, #33
dup.16b v0, w24
mov x12, x10
mov.16b v1, v0
mov.16b v2, v0
mov.16b v3, v0
mov.16b v4, v0
mov.16b v5, v0
mov.16b v6, v0
mov.16b v7, v0
LBB1_9: ; =>This Inner Loop Header: Depth=1
ldp q16, q17, [x11, #-32]
ldp q18, q19, [x11], #64
smin.16b v0, v16, v0
smin.16b v1, v17, v1
smin.16b v2, v18, v2
smin.16b v3, v19, v3
smax.16b v4, v16, v4
smax.16b v5, v17, v5
smax.16b v6, v18, v6
smax.16b v7, v19, v7
subs x12, x12, #64
b.ne LBB1_9
; %bb.10:
smax.16b v4, v4, v5
smax.16b v4, v4, v6
smax.16b v4, v4, v7
smaxv.16b b4, v4
fmov w25, s4
smin.16b v0, v0, v1
smin.16b v0, v0, v2
smin.16b v0, v0, v3
sminv.16b b0, v0
fmov w24, s0
cmp x9, x10
b.eq LBB1_18
; %bb.11:
tst x9, #0x38
b.eq LBB1_15
LBB1_12:
and x12, x9, #0xfffffffffffffff8
dup.8b v0, w24
orr x11, x12, #0x1
dup.8b v1, w25
add x13, x10, x22
add x13, x13, #1
sub x10, x10, x12
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldr d2, [x13], #8
smin.8b v0, v2, v0
smax.8b v1, v2, v1
adds x10, x10, #8
b.ne LBB1_13
; %bb.14:
smaxv.8b b1, v1
fmov w25, s1
sminv.8b b0, v0
fmov w24, s0
cmp x9, x12
b.ne LBB1_16
b LBB1_18
LBB1_15:
orr x11, x10, #0x1
LBB1_16:
add x9, x22, x11
sub x10, x8, x11
LBB1_17: ; =>This Inner Loop Header: Depth=1
ldrsb w11, [x9], #1
sxtb w12, w24
cmp w11, w12
csel w24, w11, w12, lt
sxtb w12, w25
cmp w11, w12
csel w25, w11, w12, gt
subs x10, x10, #1
b.ne LBB1_17
LBB1_18:
cmp w23, #1
b.lt LBB1_33
; %bb.19:
mov x10, #0
mov w9, #0
add x11, x19, #1
b LBB1_22
LBB1_20: ; in Loop: Header=BB1_22 Depth=1
strb w12, [x19, x13]
lsl x12, x13, #2
ldr w13, [x20, x12]
add w13, w13, #1
str w13, [x20, x12]
add w9, w9, #1
LBB1_21: ; in Loop: Header=BB1_22 Depth=1
add x10, x10, #1
cmp x10, x8
b.eq LBB1_29
LBB1_22: ; =>This Loop Header: Depth=1
; Child Loop BB1_26 Depth 2
tbnz w9, #31, LBB1_21
; %bb.23: ; in Loop: Header=BB1_22 Depth=1
ldrb w12, [x22, x10]
ldrb w13, [x19]
cmp w12, w13
b.ne LBB1_25
; %bb.24: ; in Loop: Header=BB1_22 Depth=1
mov x15, #0
b LBB1_28
LBB1_25: ; in Loop: Header=BB1_22 Depth=1
mov x14, #0
mov w13, w9
LBB1_26: ; Parent Loop BB1_22 Depth=1
; => This Inner Loop Header: Depth=2
cmp x13, x14
b.eq LBB1_20
; %bb.27: ; in Loop: Header=BB1_26 Depth=2
add x15, x14, #1
ldrb w16, [x11, x14]
mov x14, x15
cmp w12, w16
b.ne LBB1_26
LBB1_28: ; in Loop: Header=BB1_22 Depth=1
and x12, x15, #0xffffffff
lsl x12, x12, #2
ldr w13, [x20, x12]
add w13, w13, #1
str w13, [x20, x12]
b LBB1_21
LBB1_29:
cmp w9, #1
b.lt LBB1_33
; %bb.30:
mov x11, #0
mov w10, #0
mov w8, #0
mov w9, w9
LBB1_31: ; =>This Inner Loop Header: Depth=1
ldr w12, [x20, x11, lsl #2]
ldr w13, [x20, w10, sxtw #2]
cmp w12, w13
csel w10, w11, w10, lt
ldr w13, [x20, w8, sxtw #2]
cmp w12, w13
csel w8, w11, w8, gt
add x11, x11, #1
cmp x9, x11
b.ne LBB1_31
; %bb.32:
sxtw x23, w10
sxtw x22, w8
b LBB1_34
LBB1_33:
mov x22, #0
mov x23, #0
LBB1_34:
str x21, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
sxtb x8, w24
str x8, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
sxtb x8, w25
str x8, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldrsb x8, [x19, x23]
ldr w9, [x20, x23, lsl #2]
stp x8, x9, [sp]
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldrsb x8, [x19, x22]
ldr w9, [x20, x22, lsl #2]
stp x8, x9, [sp]
Lloh16:
adrp x0, l_.str.8@PAGE
Lloh17:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB1_35:
bl _array_elaboration.cold.1
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.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
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function array_elaboration.cold.1
_array_elaboration.cold.1: ; @array_elaboration.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
Lloh20:
adrp x0, l_.str@PAGE
Lloh21:
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Errore in calloc"
l_.str.2: ; @.str.2
.asciz "Il processo padre ha lanciato %d processi figli.\n\n"
l_.str.4: ; @.str.4
.asciz "Il figlio con PID %d ha elaborato le seguenti informazioni:\n"
l_.str.5: ; @.str.5
.asciz "Carattere minimo: '%c' \n"
l_.str.6: ; @.str.6
.asciz "Carattere massimo: '%c' \n"
l_.str.7: ; @.str.7
.asciz "Carattere con meno occorrenze: '%c' (%d)\n"
l_.str.8: ; @.str.8
.asciz "Carattere con piu` occorrenze: '%c'(%d)\n\n\n"
l_str: ; @str
.asciz "Tutti i figli hanno terminato, ora chiudo anche il padre."
l_str.9: ; @str.9
.asciz "fork() ha fallito! niente processo figlio!"
.subsections_via_symbols
|
the_stack_data/144485.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_blob_bytes ## -- Begin function sqlite3_blob_bytes
.p2align 4, 0x90
_sqlite3_blob_bytes: ## @sqlite3_blob_bytes
.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
testq %rdi, %rdi
je LBB0_3
## %bb.1:
cmpq $0, 8(%rdi)
je LBB0_3
## %bb.2:
movl (%rdi), %eax
LBB0_3:
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 _sqlite3_blob_bytes ; -- Begin function sqlite3_blob_bytes
.p2align 2
_sqlite3_blob_bytes: ; @sqlite3_blob_bytes
.cfi_startproc
; %bb.0:
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x0, #8]
cbz x8, LBB0_4
; %bb.2:
ldr w0, [x0]
LBB0_3:
ret
LBB0_4:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_sqlite3_blob_bytes.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _security_msg_msg_alloc ## -- Begin function security_msg_msg_alloc
.p2align 4, 0x90
_security_msg_msg_alloc: ## @security_msg_msg_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _security_ops@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
jmpq *(%rax) ## TAILCALL
.cfi_endproc
## -- End function
.comm _security_ops,8,3 ## @security_ops
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _security_msg_msg_alloc ; -- Begin function security_msg_msg_alloc
.p2align 2
_security_msg_msg_alloc: ; @security_msg_msg_alloc
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _security_ops@GOTPAGE
Lloh1:
ldr x8, [x8, _security_ops@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x1, [x8]
br x1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _security_ops,8,3 ; @security_ops
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/security/extr_security.c_security_msg_msg_alloc.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function max98371_volatile_register
_max98371_volatile_register: ## @max98371_volatile_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
andl $-4, %esi
xorl %eax, %eax
cmpl $128, %esi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _max98371_volatile_register
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function max98371_volatile_register
_max98371_volatile_register: ; @max98371_volatile_register
.cfi_startproc
; %bb.0:
and w8, w1, #0xfffffffc
cmp w8, #128
cset w0, eq
ret
.cfi_endproc
; -- End function
.no_dead_strip _max98371_volatile_register
.subsections_via_symbols
|
AnghaBench/linux/sound/soc/codecs/extr_max98371.c_max98371_volatile_register.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function enter_prom
_enter_prom: ## @enter_prom
.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
jmpq *%rsi ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _enter_prom
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function enter_prom
_enter_prom: ; @enter_prom
.cfi_startproc
; %bb.0:
br x1
.cfi_endproc
; -- End function
.no_dead_strip _enter_prom
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_prom_init.c_enter_prom.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tr2tls_release ## -- Begin function tr2tls_release
.p2align 4, 0x90
_tr2tls_release: ## @tr2tls_release
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq _tr2tls_unset_self
movq _tr2tls_thread_main@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _tr2tls_mutex@GOTPCREL(%rip), %rdi
callq _pthread_mutex_destroy
movq _tr2tls_key@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _pthread_key_delete ## TAILCALL
.cfi_endproc
## -- End function
.comm _tr2tls_thread_main,8,3 ## @tr2tls_thread_main
.comm _tr2tls_mutex,4,2 ## @tr2tls_mutex
.comm _tr2tls_key,4,2 ## @tr2tls_key
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tr2tls_release ; -- Begin function tr2tls_release
.p2align 2
_tr2tls_release: ; @tr2tls_release
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _tr2tls_unset_self
Lloh0:
adrp x8, _tr2tls_thread_main@GOTPAGE
Lloh1:
ldr x8, [x8, _tr2tls_thread_main@GOTPAGEOFF]
Lloh2:
str xzr, [x8]
Lloh3:
adrp x0, _tr2tls_mutex@GOTPAGE
Lloh4:
ldr x0, [x0, _tr2tls_mutex@GOTPAGEOFF]
bl _pthread_mutex_destroy
Lloh5:
adrp x8, _tr2tls_key@GOTPAGE
Lloh6:
ldr x8, [x8, _tr2tls_key@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _pthread_key_delete
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _tr2tls_thread_main,8,3 ; @tr2tls_thread_main
.comm _tr2tls_mutex,4,2 ; @tr2tls_mutex
.comm _tr2tls_key,4,2 ; @tr2tls_key
.subsections_via_symbols
|
AnghaBench/git/trace2/extr_tr2_tls.c_tr2tls_release.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function perf_evsel__read_on_cpu
_perf_evsel__read_on_cpu: ## @perf_evsel__read_on_cpu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %ecx, %ecx
popq %rbp
jmp ___perf_evsel__read_on_cpu ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _perf_evsel__read_on_cpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function perf_evsel__read_on_cpu
_perf_evsel__read_on_cpu: ; @perf_evsel__read_on_cpu
.cfi_startproc
; %bb.0:
mov w3, #0
b ___perf_evsel__read_on_cpu
.cfi_endproc
; -- End function
.no_dead_strip _perf_evsel__read_on_cpu
.subsections_via_symbols
|
AnghaBench/linux/tools/perf/util/extr_evsel.h_perf_evsel__read_on_cpu.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compute_score ## -- Begin function compute_score
.p2align 4, 0x90
_compute_score: ## @compute_score
.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 %r14d, %r14d
movq $-1, %rbx
leaq _POINTS(%rip), %r12
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _strlen
incq %rbx
cmpq %rbx, %rax
jbe LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsbl 1(%r15,%rbx), %edi
callq ___toupper
addl $-65, %eax
cmpl $25, %eax
ja LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %eax
addl (%r12,%rax,4), %r14d
jmp LBB0_3
LBB0_4:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $5, %edi
callq _malloc
movq %rax, %r14
movl $5, %edi
callq _malloc
movq %rax, %r13
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
movq $-1, %rbx
jmp LBB1_1
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
callq _strlen
incq %rbx
cmpq %rbx, %rax
jbe LBB1_4
LBB1_1: ## =>This Inner Loop Header: Depth=1
movsbl 1(%r14,%rbx), %edi
callq ___toupper
addl $-65, %eax
cmpl $25, %eax
ja LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl %eax, %eax
leaq _POINTS(%rip), %rcx
addl (%rcx,%rax,4), %r12d
jmp LBB1_3
LBB1_4:
xorl %ebx, %ebx
movq $-1, %r15
jmp LBB1_5
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_5 Depth=1
movq %r13, %rdi
callq _strlen
incq %r15
cmpq %r15, %rax
jbe LBB1_8
LBB1_5: ## =>This Inner Loop Header: Depth=1
movsbl 1(%r13,%r15), %edi
callq ___toupper
addl $-65, %eax
cmpl $25, %eax
ja LBB1_7
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
movl %eax, %eax
leaq _POINTS(%rip), %rcx
addl (%rcx,%rax,4), %ebx
jmp LBB1_7
LBB1_8:
cmpl %r12d, %ebx
leaq L_str.6(%rip), %rax
leaq L_str(%rip), %rcx
cmovgq %rax, %rcx
leaq L_str.7(%rip), %rdi
cmovgeq %rcx, %rdi
callq _puts
movq %r14, %rdi
callq _free
movq %r13, %rdi
callq _free
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _POINTS ## @POINTS
.p2align 4
_POINTS:
.long 1 ## 0x1
.long 3 ## 0x3
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.long 4 ## 0x4
.long 2 ## 0x2
.long 4 ## 0x4
.long 1 ## 0x1
.long 8 ## 0x8
.long 5 ## 0x5
.long 1 ## 0x1
.long 3 ## 0x3
.long 1 ## 0x1
.long 1 ## 0x1
.long 3 ## 0x3
.long 10 ## 0xa
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 4 ## 0x4
.long 4 ## 0x4
.long 8 ## 0x8
.long 4 ## 0x4
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Player 1: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Player 2: "
L_str: ## @str
.asciz "Tie!"
L_str.6: ## @str.6
.asciz "Player 2 wins!"
L_str.7: ## @str.7
.asciz "Player 1 wins!"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compute_score ; -- Begin function compute_score
.p2align 2
_compute_score: ; @compute_score
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
mov x21, #0
mov w19, #0
Lloh0:
adrp x22, _POINTS@PAGE
Lloh1:
add x22, x22, _POINTS@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x23, x21, #1
mov x0, x20
bl _strlen
cmp x0, x21
mov x21, x23
b.ls LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20, x21]
bl ___toupper
sub w8, w0, #65
cmp w8, #25
b.hi LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x22, w8, uxtw #2]
add w19, w8, w19
b LBB0_1
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov w0, #5
bl _malloc
mov x19, x0
mov w0, #5
bl _malloc
mov x20, x0
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
str x19, [sp]
Lloh4:
adrp x21, l_.str.1@PAGE
Lloh5:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x21
bl _scanf
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x20, [sp]
mov x0, x21
bl _scanf
mov x23, #0
mov w21, #0
Lloh8:
adrp x22, _POINTS@PAGE
Lloh9:
add x22, x22, _POINTS@PAGEOFF
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
add x24, x23, #1
mov x0, x19
bl _strlen
cmp x0, x23
mov x23, x24
b.ls LBB1_4
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x19, x23]
bl ___toupper
sub w8, w0, #65
cmp w8, #25
b.hi LBB1_1
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
ldr w8, [x22, w8, uxtw #2]
add w21, w8, w21
b LBB1_1
LBB1_4:
mov x24, #0
mov w23, #0
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
add x25, x24, #1
mov x0, x20
bl _strlen
cmp x0, x24
mov x24, x25
b.ls LBB1_8
LBB1_6: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20, x24]
bl ___toupper
sub w8, w0, #65
cmp w8, #25
b.hi LBB1_5
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
ldr w8, [x22, w8, uxtw #2]
add w23, w8, w23
b LBB1_5
LBB1_8:
Lloh10:
adrp x8, l_str@PAGE
Lloh11:
add x8, x8, l_str@PAGEOFF
Lloh12:
adrp x9, l_str.6@PAGE
Lloh13:
add x9, x9, l_str.6@PAGEOFF
cmp w23, w21
csel x8, x9, x8, gt
Lloh14:
adrp x9, l_str.7@PAGE
Lloh15:
add x9, x9, l_str.7@PAGEOFF
cmp w21, w23
csel x0, x9, x8, gt
bl _puts
mov x0, x19
bl _free
mov x0, x20
bl _free
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _POINTS ; @POINTS
.p2align 2
_POINTS:
.long 1 ; 0x1
.long 3 ; 0x3
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.long 4 ; 0x4
.long 2 ; 0x2
.long 4 ; 0x4
.long 1 ; 0x1
.long 8 ; 0x8
.long 5 ; 0x5
.long 1 ; 0x1
.long 3 ; 0x3
.long 1 ; 0x1
.long 1 ; 0x1
.long 3 ; 0x3
.long 10 ; 0xa
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 4 ; 0x4
.long 4 ; 0x4
.long 8 ; 0x8
.long 4 ; 0x4
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Player 1: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Player 2: "
l_str: ; @str
.asciz "Tie!"
l_str.6: ; @str.6
.asciz "Player 2 wins!"
l_str.7: ; @str.7
.asciz "Player 1 wins!"
.subsections_via_symbols
|
the_stack_data/211080141.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI0_1:
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
LCPI0_2:
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
LCPI0_3:
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
LCPI0_4:
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
LCPI0_5:
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
LCPI0_6:
.long 20 ## 0x14
.long 20 ## 0x14
.long 20 ## 0x14
.long 20 ## 0x14
LCPI0_7:
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
.long 24 ## 0x18
LCPI0_8:
.long 28 ## 0x1c
.long 28 ## 0x1c
.long 28 ## 0x1c
.long 28 ## 0x1c
LCPI0_9:
.long 32 ## 0x20
.long 32 ## 0x20
.long 32 ## 0x20
.long 32 ## 0x20
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
leaq -28(%rbp), %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
testl %eax, %eax
je LBB0_1
## %bb.2:
movl -28(%rbp), %eax
movl $1, %edx
cmpl $2, %eax
jl LBB0_16
## %bb.3:
leal -1(%rax), %esi
cmpl $8, %esi
jae LBB0_5
## %bb.4:
movl $1, %edx
movl $2, %ecx
jmp LBB0_14
LBB0_5:
movl %esi, %ecx
andl $-8, %ecx
leal -8(%rcx), %ebx
movl %ebx, %edi
shrl $3, %edi
incl %edi
movl %edi, %edx
andl $3, %edx
cmpl $24, %ebx
jae LBB0_7
## %bb.6:
movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [1,1,1,1]
movdqa LCPI0_1(%rip), %xmm6 ## xmm6 = [2,3,4,5]
movdqa %xmm1, %xmm2
jmp LBB0_9
LBB0_7:
andl $-4, %edi
movdqa LCPI0_0(%rip), %xmm1 ## xmm1 = [1,1,1,1]
movdqa LCPI0_1(%rip), %xmm6 ## xmm6 = [2,3,4,5]
movdqa LCPI0_2(%rip), %xmm8 ## xmm8 = [4,4,4,4]
movdqa LCPI0_3(%rip), %xmm9 ## xmm9 = [8,8,8,8]
movdqa LCPI0_4(%rip), %xmm10 ## xmm10 = [12,12,12,12]
movdqa LCPI0_5(%rip), %xmm11 ## xmm11 = [16,16,16,16]
movdqa LCPI0_6(%rip), %xmm12 ## xmm12 = [20,20,20,20]
movdqa LCPI0_7(%rip), %xmm13 ## xmm13 = [24,24,24,24]
movdqa LCPI0_8(%rip), %xmm4 ## xmm4 = [28,28,28,28]
movdqa LCPI0_9(%rip), %xmm5 ## xmm5 = [32,32,32,32]
movdqa %xmm1, %xmm2
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movdqa %xmm6, %xmm3
paddd %xmm8, %xmm3
pmulld %xmm2, %xmm3
pmulld %xmm6, %xmm1
movdqa %xmm6, %xmm2
paddd %xmm9, %xmm2
pmulld %xmm1, %xmm2
movdqa %xmm6, %xmm1
paddd %xmm10, %xmm1
movdqa %xmm6, %xmm7
paddd %xmm11, %xmm7
movdqa %xmm6, %xmm0
paddd %xmm12, %xmm0
pmulld %xmm1, %xmm0
pmulld %xmm3, %xmm0
movdqa %xmm6, %xmm1
paddd %xmm13, %xmm1
pmulld %xmm7, %xmm1
pmulld %xmm2, %xmm1
movdqa %xmm6, %xmm2
paddd %xmm4, %xmm2
pmulld %xmm0, %xmm2
paddd %xmm5, %xmm6
addl $-4, %edi
jne LBB0_8
LBB0_9:
testl %edx, %edx
je LBB0_12
## %bb.10:
movdqa LCPI0_2(%rip), %xmm3 ## xmm3 = [4,4,4,4]
movdqa LCPI0_3(%rip), %xmm4 ## xmm4 = [8,8,8,8]
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movdqa %xmm6, %xmm0
paddd %xmm3, %xmm0
pmulld %xmm0, %xmm2
pmulld %xmm6, %xmm1
paddd %xmm4, %xmm6
decl %edx
jne LBB0_11
LBB0_12:
pmulld %xmm2, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
pmulld %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
pmulld %xmm0, %xmm1
movd %xmm1, %edx
cmpl %ecx, %esi
je LBB0_16
## %bb.13:
orl $2, %ecx
LBB0_14:
incl %eax
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
imull %ecx, %edx
incl %ecx
cmpl %ecx, %eax
jne LBB0_15
LBB0_16:
movl -28(%rbp), %esi
leaq L_.str.2(%rip), %rdi
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 "Factorial of : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Factorial of %d is %d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function main
lCPI0_0:
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
sub x21, x29, #36
Lloh2:
adrp x8, lCPI0_0@PAGE
Lloh3:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [sp, #16] ; 16-byte Folded Spill
Lloh4:
adrp x20, l_.str.1@PAGE
Lloh5:
add x20, x20, l_.str.1@PAGEOFF
; implicit-def: $w22
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
cbnz w0, LBB0_12
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_10 Depth 2
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x20
bl _scanf
movi.4s v19, #16
movi.4s v18, #12
movi.4s v17, #8
movi.4s v16, #4
cbz w0, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldur w9, [x29, #-36]
cmp w9, #2
b.lt LBB0_11
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
sub w10, w9, #1
cmp w10, #16
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov w22, #1
mov w8, #2
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
and w11, w10, #0xfffffff0
orr w8, w11, #0x2
movi.4s v0, #1
mov x12, x11
ldr q1, [sp, #16] ; 16-byte Folded Reload
movi.4s v2, #1
movi.4s v3, #1
movi.4s v4, #1
LBB0_7: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
add.4s v5, v1, v16
add.4s v6, v1, v17
add.4s v7, v1, v18
mul.4s v0, v1, v0
mul.4s v2, v5, v2
mul.4s v3, v6, v3
mul.4s v4, v7, v4
add.4s v1, v1, v19
subs w12, w12, #16
b.ne LBB0_7
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
mul.4s v0, v2, v0
mul.4s v0, v3, v0
mul.4s v0, v4, v0
ext.16b v1, v0, v0, #8
mul.2s v0, v0, v1
fmov w12, s0
mov.s w13, v0[1]
mul w22, w12, w13
cmp w10, w11
b.eq LBB0_1
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
add w9, w9, #1
LBB0_10: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mul w22, w8, w22
add w8, w8, #1
cmp w9, w8
b.ne LBB0_10
b LBB0_1
LBB0_11:
mov w22, #1
LBB0_12:
ldur w8, [x29, #-36]
stp x8, x22, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Factorial of : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Factorial of %d is %d"
.subsections_via_symbols
|
the_stack_data/837859.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _x509_note_issuer ## -- Begin function x509_note_issuer
.p2align 4, 0x90
_x509_note_issuer: ## @x509_note_issuer
.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 %rcx, 16(%rax)
movq %r8, (%rax)
addq $8, %rax
movq %rax, %rcx
popq %rbp
jmp _x509_fabricate_name ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _x509_note_issuer ; -- Begin function x509_note_issuer
.p2align 2
_x509_note_issuer: ; @x509_note_issuer
.cfi_startproc
; %bb.0:
ldr x8, [x0]
str x3, [x8, #16]
str x4, [x8]
add x3, x8, #8
b _x509_fabricate_name
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/linux/crypto/asymmetric_keys/extr_x509_cert_parser.c_x509_note_issuer.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_hash__sets_debug ## -- Begin function svn_hash__sets_debug
.p2align 4, 0x90
_svn_hash__sets_debug: ## @svn_hash__sets_debug
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %rcx
movq _APR_HASH_KEY_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
popq %rbp
jmp _apr_hash_set ## TAILCALL
.cfi_endproc
## -- End function
.comm _APR_HASH_KEY_STRING,4,2 ## @APR_HASH_KEY_STRING
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_hash__sets_debug ; -- Begin function svn_hash__sets_debug
.p2align 2
_svn_hash__sets_debug: ; @svn_hash__sets_debug
.cfi_startproc
; %bb.0:
mov x3, x2
Lloh0:
adrp x8, _APR_HASH_KEY_STRING@GOTPAGE
Lloh1:
ldr x8, [x8, _APR_HASH_KEY_STRING@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
b _apr_hash_set
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _APR_HASH_KEY_STRING,4,2 ; @APR_HASH_KEY_STRING
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_hash.c_svn_hash__sets_debug.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smu10_set_power_profile_mode
_smu10_set_power_profile_mode: ## @smu10_set_power_profile_mode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq (%rsi,%rdx,8), %rsi
movq _PP_SMC_POWER_PROFILE_COMPUTE@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jle LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _pr_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_12
LBB0_2:
movq %rdi, %r14
xorl %ebx, %ebx
cmpq %rsi, (%rdi)
je LBB0_12
## %bb.3:
movq %rdx, %r15
movq %rsi, %rdi
callq _conv_power_profile_to_pplib_workload
movl %eax, %r13d
testl %eax, %eax
je LBB0_7
## %bb.4:
movq %r14, %rdi
callq _smu10_is_raven1_refresh
testq %rax, %rax
je LBB0_7
## %bb.5:
cmpl $0, 8(%r14)
jne LBB0_7
## %bb.6:
movq %r14, %rdi
xorl %esi, %esi
callq _smu10_gfx_off_control
movl $1, 8(%r14)
LBB0_7:
movq _PPSMC_MSG_ActiveProcessNotify@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
movl %r13d, %ecx
shll %cl, %edx
movq %r14, %rdi
callq _smum_send_msg_to_smc_with_parameter
testl %eax, %eax
jne LBB0_9
## %bb.8:
movq (%r12,%r15,8), %rax
movq %rax, (%r14)
LBB0_9:
testl %r13d, %r13d
je LBB0_12
## %bb.10:
cmpl $0, 8(%r14)
je LBB0_12
## %bb.11:
movq %r14, %rdi
movl $1, %esi
callq _smu10_gfx_off_control
movl $0, 8(%r14)
LBB0_12:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PP_SMC_POWER_PROFILE_COMPUTE,8,3 ## @PP_SMC_POWER_PROFILE_COMPUTE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid power profile mode %ld\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _PPSMC_MSG_ActiveProcessNotify,4,2 ## @PPSMC_MSG_ActiveProcessNotify
.no_dead_strip _smu10_set_power_profile_mode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smu10_set_power_profile_mode
_smu10_set_power_profile_mode: ; @smu10_set_power_profile_mode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
ldr x1, [x1, x2, lsl #3]
Lloh0:
adrp x8, _PP_SMC_POWER_PROFILE_COMPUTE@GOTPAGE
Lloh1:
ldr x8, [x8, _PP_SMC_POWER_PROFILE_COMPUTE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x1, x8
b.le LBB0_2
; %bb.1:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
b LBB0_13
LBB0_2:
mov x19, x0
ldr x8, [x0]
cmp x8, x1
b.eq LBB0_12
; %bb.3:
mov x20, x2
mov x0, x1
bl _conv_power_profile_to_pplib_workload
mov x22, x0
cbz w0, LBB0_7
; %bb.4:
mov x0, x19
bl _smu10_is_raven1_refresh
cbz x0, LBB0_7
; %bb.5:
ldr w8, [x19, #8]
cbnz w8, LBB0_7
; %bb.6:
mov x0, x19
mov w1, #0
bl _smu10_gfx_off_control
mov w8, #1
str w8, [x19, #8]
LBB0_7:
Lloh8:
adrp x8, _PPSMC_MSG_ActiveProcessNotify@GOTPAGE
Lloh9:
ldr x8, [x8, _PPSMC_MSG_ActiveProcessNotify@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov w8, #1
lsl w2, w8, w22
mov x0, x19
bl _smum_send_msg_to_smc_with_parameter
cbz w0, LBB0_9
; %bb.8:
cbnz w22, LBB0_10
b LBB0_12
LBB0_9:
ldr x8, [x21, x20, lsl #3]
str x8, [x19]
cbz w22, LBB0_12
LBB0_10:
ldr w8, [x19, #8]
cbz w8, LBB0_12
; %bb.11:
mov x0, x19
mov w1, #1
bl _smu10_gfx_off_control
mov w0, #0
str wzr, [x19, #8]
b LBB0_13
LBB0_12:
mov w0, #0
LBB0_13:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _PP_SMC_POWER_PROFILE_COMPUTE,8,3 ; @PP_SMC_POWER_PROFILE_COMPUTE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid power profile mode %ld\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _PPSMC_MSG_ActiveProcessNotify,4,2 ; @PPSMC_MSG_ActiveProcessNotify
.no_dead_strip _smu10_set_power_profile_mode
.subsections_via_symbols
|
AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu10_hwmgr.c_smu10_set_power_profile_mode.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mcs_delete ## -- Begin function mcs_delete
.p2align 4, 0x90
_mcs_delete: ## @mcs_delete
.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), %rsi
movl $11, %edx
callq _write_out
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NOT_FOUND\r\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mcs_delete ; -- Begin function mcs_delete
.p2align 2
_mcs_delete: ; @mcs_delete
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #11
bl _write_out
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "NOT_FOUND\r\n"
.subsections_via_symbols
|
AnghaBench/kphp-kdb/net/extr_net-memcache-server.c_mcs_delete.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function every_nth_show
_every_nth_show: ## @every_nth_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _sdebug_every_nth@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdx
popq %rbp
jmp _scnprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.comm _sdebug_every_nth,4,2 ## @sdebug_every_nth
.no_dead_strip _every_nth_show
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function every_nth_show
_every_nth_show: ; @every_nth_show
.cfi_startproc
; %bb.0:
mov x0, x1
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _sdebug_every_nth@GOTPAGE
Lloh4:
ldr x8, [x8, _sdebug_every_nth@GOTPAGEOFF]
Lloh5:
ldr w3, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
b _scnprintf
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.comm _sdebug_every_nth,4,2 ; @sdebug_every_nth
.no_dead_strip _every_nth_show
.subsections_via_symbols
|
AnghaBench/linux/drivers/scsi/extr_scsi_debug.c_every_nth_show.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function orinoco_ioctl_setiwencode
_orinoco_ioctl_setiwencode: ## @orinoco_ioctl_setiwencode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r13
movq %rdx, %r12
movq %rdi, %rbx
callq _ndev_priv
xorl %r15d, %r15d
cmpl $0, 36(%rax)
je LBB0_1
## %bb.2:
movq %rax, %r14
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %r13, -64(%rbp) ## 8-byte Spill
movq _IW_ENCODE_INDEX@GOTPCREL(%rip), %rax
movl (%rax), %r13d
andl (%r12), %r13d
movl (%r14), %ebx
movl 4(%r14), %edx
movl 8(%r14), %esi
movq _EINPROGRESS@GOTPCREL(%rip), %rax
subl (%rax), %r15d
cmpq $0, 16(%r12)
je LBB0_8
## %bb.3:
movq 8(%r12), %rax
movq _LARGE_KEY_SIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_6
LBB0_4:
movq _E2BIG@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_1:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
subl (%rax), %r15d
jmp LBB0_33
LBB0_6:
movq _SMALL_KEY_SIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_8
## %bb.7:
cmpl $0, 32(%r14)
je LBB0_4
LBB0_8:
movl %esi, -48(%rbp) ## 4-byte Spill
movl %edx, -44(%rbp) ## 4-byte Spill
leaq -72(%rbp), %rsi
movq %r14, %rdi
callq _orinoco_lock
testq %rax, %rax
je LBB0_10
## %bb.9:
movq _EBUSY@GOTPCREL(%rip), %rax
LBB0_5:
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_33
LBB0_10:
cmpq $0, 24(%r14)
je LBB0_13
## %bb.11:
movslq 4(%r14), %rax
movq _ORINOCO_ALG_TKIP@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
jne LBB0_13
## %bb.12:
movq %r14, %rdi
movl %ebx, %esi
callq _orinoco_clear_tkip_key
LBB0_13:
leal -1(%r13), %esi
testl %r13d, %r13d
setle %cl
movq _ORINOCO_MAX_KEYS@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
movq 8(%r12), %r8
setg %al
orb %cl, %al
testq %r8, %r8
jle LBB0_17
## %bb.14:
testb %al, %al
movl -44(%rbp), %ecx ## 4-byte Reload
je LBB0_16
## %bb.15:
movl (%r14), %esi
LBB0_16:
movq _ORINOCO_ALG_WEP@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %ecx
cmovnel %esi, %ebx
movl %eax, %edi
LBB0_22:
movl (%r12), %eax
movq _IW_ENCODE_DISABLED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_24
## %bb.23:
movq _ORINOCO_ALG_NONE@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
LBB0_24:
movq _IW_ENCODE_OPEN@GOTPCREL(%rip), %rcx
xorl %edx, %edx
testl %eax, (%rcx)
cmovel -48(%rbp), %edx ## 4-byte Folded Reload
movq _IW_ENCODE_RESTRICTED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movl $1, %r13d
cmovel %edx, %r13d
cmpq $0, 16(%r12)
je LBB0_27
## %bb.25:
testq %r8, %r8
jle LBB0_27
## %bb.26:
movq _ORINOCO_ALG_WEP@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $0, (%rsp)
movl %ebx, %r15d
movl %edi, %ebx
movq %r14, %rdi
movq -64(%rbp), %rcx ## 8-byte Reload
xorl %r9d, %r9d
callq _orinoco_set_key
movl %ebx, %edi
movl %r15d, %ebx
movl %eax, %r15d
LBB0_27:
movl %ebx, (%r14)
cmpl %edi, 4(%r14)
jne LBB0_31
## %bb.28:
cmpl %r13d, 8(%r14)
jne LBB0_31
## %bb.29:
movl %edi, %r12d
movq -56(%rbp), %rdi ## 8-byte Reload
callq _netif_carrier_ok
movl %r12d, %edi
testq %rax, %rax
je LBB0_31
## %bb.30:
movq %r14, %rdi
callq ___orinoco_hw_setup_wepkeys
movl %eax, %r15d
jmp LBB0_32
LBB0_31:
movl %edi, 4(%r14)
movl %r13d, 8(%r14)
jmp LBB0_32
LBB0_17:
testb %al, %al
movl -44(%rbp), %edi ## 4-byte Reload
je LBB0_21
## %bb.18:
testl %r13d, %r13d
jne LBB0_20
## %bb.19:
movl $-1, %esi
cmpl $0, (%r12)
jne LBB0_22
jmp LBB0_20
LBB0_21:
movq 16(%r14), %rax
movl %esi, %ecx
cmpq $0, (%rax,%rcx,8)
movl %esi, %ebx
jne LBB0_22
LBB0_20:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
LBB0_32:
leaq -72(%rbp), %rsi
movq %r14, %rdi
callq _orinoco_unlock
LBB0_33:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IW_ENCODE_INDEX,4,2 ## @IW_ENCODE_INDEX
.comm _EINPROGRESS,4,2 ## @EINPROGRESS
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _LARGE_KEY_SIZE,8,3 ## @LARGE_KEY_SIZE
.comm _E2BIG,4,2 ## @E2BIG
.comm _SMALL_KEY_SIZE,8,3 ## @SMALL_KEY_SIZE
.comm _EBUSY,4,2 ## @EBUSY
.comm _ORINOCO_ALG_TKIP,8,3 ## @ORINOCO_ALG_TKIP
.comm _ORINOCO_MAX_KEYS,4,2 ## @ORINOCO_MAX_KEYS
.comm _ORINOCO_ALG_WEP,4,2 ## @ORINOCO_ALG_WEP
.comm _EINVAL,4,2 ## @EINVAL
.comm _IW_ENCODE_DISABLED,4,2 ## @IW_ENCODE_DISABLED
.comm _ORINOCO_ALG_NONE,4,2 ## @ORINOCO_ALG_NONE
.comm _IW_ENCODE_OPEN,4,2 ## @IW_ENCODE_OPEN
.comm _IW_ENCODE_RESTRICTED,4,2 ## @IW_ENCODE_RESTRICTED
.no_dead_strip _orinoco_ioctl_setiwencode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function orinoco_ioctl_setiwencode
_orinoco_ioctl_setiwencode: ; @orinoco_ioctl_setiwencode
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x3
mov x23, x2
mov x20, x0
bl _ndev_priv
ldr w8, [x0, #36]
cbz w8, LBB0_4
; %bb.1:
mov x19, x0
ldr w27, [x23]
Lloh0:
adrp x8, _IW_ENCODE_INDEX@GOTPAGE
Lloh1:
ldr x8, [x8, _IW_ENCODE_INDEX@GOTPAGEOFF]
Lloh2:
ldr w28, [x8]
ldp w22, w26, [x0]
ldr w25, [x0, #8]
Lloh3:
adrp x8, _EINPROGRESS@GOTPAGE
Lloh4:
ldr x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh5:
ldr w24, [x8]
ldr x8, [x23, #16]
cbz x8, LBB0_7
; %bb.2:
ldr x8, [x23, #8]
Lloh6:
adrp x9, _LARGE_KEY_SIZE@GOTPAGE
Lloh7:
ldr x9, [x9, _LARGE_KEY_SIZE@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
b.le LBB0_5
LBB0_3:
Lloh9:
adrp x8, _E2BIG@GOTPAGE
Lloh10:
ldr x8, [x8, _E2BIG@GOTPAGEOFF]
b LBB0_9
LBB0_4:
Lloh11:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
b LBB0_9
LBB0_5:
Lloh13:
adrp x9, _SMALL_KEY_SIZE@GOTPAGE
Lloh14:
ldr x9, [x9, _SMALL_KEY_SIZE@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x8, x9
b.le LBB0_7
; %bb.6:
ldr w8, [x19, #32]
cbz w8, LBB0_3
LBB0_7:
add x1, sp, #8
mov x0, x19
bl _orinoco_lock
cbz x0, LBB0_11
; %bb.8:
Lloh16:
adrp x8, _EBUSY@GOTPAGE
Lloh17:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_9:
ldr w8, [x8]
neg w24, w8
LBB0_10:
mov x0, x24
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_11:
and w27, w28, w27
ldr x8, [x19, #24]
cbz x8, LBB0_14
; %bb.12:
ldrsw x8, [x19, #4]
Lloh18:
adrp x9, _ORINOCO_ALG_TKIP@GOTPAGE
Lloh19:
ldr x9, [x9, _ORINOCO_ALG_TKIP@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
mov x0, x19
mov x1, x22
bl _orinoco_clear_tkip_key
LBB0_14:
sub w1, w27, #1
ldr x4, [x23, #8]
cmp w27, #1
Lloh21:
adrp x8, _ORINOCO_MAX_KEYS@GOTPAGE
Lloh22:
ldr x8, [x8, _ORINOCO_MAX_KEYS@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
ccmp w27, w8, #0, ge
cset w9, gt
Lloh24:
adrp x8, _ORINOCO_ALG_WEP@GOTPAGE
Lloh25:
ldr x8, [x8, _ORINOCO_ALG_WEP@GOTPAGEOFF]
cmp x4, #1
b.lt LBB0_26
; %bb.15:
cbz w9, LBB0_17
; %bb.16:
ldr w1, [x19]
LBB0_17:
ldr w9, [x8]
cmp w26, w9
csel w22, w22, w1, eq
mov x26, x9
LBB0_18:
neg w24, w24
Lloh26:
adrp x9, _IW_ENCODE_DISABLED@GOTPAGE
Lloh27:
ldr x9, [x9, _IW_ENCODE_DISABLED@GOTPAGEOFF]
ldr w10, [x23]
Lloh28:
ldr w9, [x9]
Lloh29:
adrp x11, _ORINOCO_ALG_NONE@GOTPAGE
Lloh30:
ldr x11, [x11, _ORINOCO_ALG_NONE@GOTPAGEOFF]
Lloh31:
ldr w11, [x11]
tst w9, w10
csel w26, w26, w11, eq
Lloh32:
adrp x9, _IW_ENCODE_OPEN@GOTPAGE
Lloh33:
ldr x9, [x9, _IW_ENCODE_OPEN@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
tst w9, w10
csel w9, w25, wzr, eq
Lloh35:
adrp x11, _IW_ENCODE_RESTRICTED@GOTPAGE
Lloh36:
ldr x11, [x11, _IW_ENCODE_RESTRICTED@GOTPAGEOFF]
Lloh37:
ldr w11, [x11]
tst w11, w10
csinc w25, w9, wzr, eq
ldr x9, [x23, #16]
cbz x9, LBB0_21
; %bb.19:
cmp x4, #1
b.lt LBB0_21
; %bb.20:
ldr w2, [x8]
mov x0, x19
mov x3, x21
mov x5, #0
mov w6, #0
bl _orinoco_set_key
mov x24, x0
LBB0_21:
str w22, [x19]
ldr w8, [x19, #4]
cmp w8, w26
b.ne LBB0_25
; %bb.22:
ldr w8, [x19, #8]
cmp w8, w25
b.ne LBB0_25
; %bb.23:
mov x0, x20
bl _netif_carrier_ok
cbz x0, LBB0_25
; %bb.24:
mov x0, x19
bl ___orinoco_hw_setup_wepkeys
mov x24, x0
b LBB0_32
LBB0_25:
stp w26, w25, [x19, #4]
b LBB0_32
LBB0_26:
cbz w9, LBB0_30
; %bb.27:
cbnz w27, LBB0_31
; %bb.28:
ldr w9, [x23]
cbz w9, LBB0_31
; %bb.29:
mov w1, #-1
b LBB0_18
LBB0_30:
ldr x9, [x19, #16]
ldr x9, [x9, w1, uxtw #3]
mov x22, x1
cbnz x9, LBB0_18
LBB0_31:
Lloh38:
adrp x8, _EINVAL@GOTPAGE
Lloh39:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh40:
ldr w8, [x8]
neg w24, w8
LBB0_32:
add x1, sp, #8
mov x0, x19
bl _orinoco_unlock
b LBB0_10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.cfi_endproc
; -- End function
.comm _IW_ENCODE_INDEX,4,2 ; @IW_ENCODE_INDEX
.comm _EINPROGRESS,4,2 ; @EINPROGRESS
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _LARGE_KEY_SIZE,8,3 ; @LARGE_KEY_SIZE
.comm _E2BIG,4,2 ; @E2BIG
.comm _SMALL_KEY_SIZE,8,3 ; @SMALL_KEY_SIZE
.comm _EBUSY,4,2 ; @EBUSY
.comm _ORINOCO_ALG_TKIP,8,3 ; @ORINOCO_ALG_TKIP
.comm _ORINOCO_MAX_KEYS,4,2 ; @ORINOCO_MAX_KEYS
.comm _ORINOCO_ALG_WEP,4,2 ; @ORINOCO_ALG_WEP
.comm _EINVAL,4,2 ; @EINVAL
.comm _IW_ENCODE_DISABLED,4,2 ; @IW_ENCODE_DISABLED
.comm _ORINOCO_ALG_NONE,4,2 ; @ORINOCO_ALG_NONE
.comm _IW_ENCODE_OPEN,4,2 ; @IW_ENCODE_OPEN
.comm _IW_ENCODE_RESTRICTED,4,2 ; @IW_ENCODE_RESTRICTED
.no_dead_strip _orinoco_ioctl_setiwencode
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/wireless/intersil/orinoco/extr_wext.c_orinoco_ioctl_setiwencode.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sprd_i2c_set_fifo_empty_int
_sprd_i2c_set_fifo_empty_int: ## @sprd_i2c_set_fifo_empty_int
.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
movq %rdi, %rbx
movq _I2C_CTL@GOTPCREL(%rip), %r15
movq (%r15), %rdi
addq (%rbx), %rdi
callq _readl
movq _EMPTY_INTEN@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %edi, %ecx
orl %eax, %ecx
notl %edi
andl %eax, %edi
testl %r14d, %r14d
cmovnel %ecx, %edi
movq (%r15), %rsi
addq (%rbx), %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _writel ## TAILCALL
.cfi_endproc
## -- End function
.comm _I2C_CTL,8,3 ## @I2C_CTL
.comm _EMPTY_INTEN,4,2 ## @EMPTY_INTEN
.no_dead_strip _sprd_i2c_set_fifo_empty_int
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sprd_i2c_set_fifo_empty_int
_sprd_i2c_set_fifo_empty_int: ; @sprd_i2c_set_fifo_empty_int
.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]
Lloh0:
adrp x21, _I2C_CTL@GOTPAGE
Lloh1:
ldr x21, [x21, _I2C_CTL@GOTPAGEOFF]
ldr x9, [x21]
add x0, x9, x8
bl _readl
Lloh2:
adrp x8, _EMPTY_INTEN@GOTPAGE
Lloh3:
ldr x8, [x8, _EMPTY_INTEN@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
orr w9, w8, w0
bic w8, w0, w8
cmp w19, #0
csel w0, w8, w9, eq
ldr x8, [x20]
ldr x9, [x21]
add x1, x9, 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 _writel
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _I2C_CTL,8,3 ; @I2C_CTL
.comm _EMPTY_INTEN,4,2 ; @EMPTY_INTEN
.no_dead_strip _sprd_i2c_set_fifo_empty_int
.subsections_via_symbols
|
AnghaBench/linux/drivers/i2c/busses/extr_i2c-sprd.c_sprd_i2c_set_fifo_empty_int.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_property ## -- Begin function add_property
.p2align 4, 0x90
_add_property: ## @add_property
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rsi)
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rdi, %rax
movq (%rdi), %rdi
testq %rdi, %rdi
jne LBB0_1
## %bb.2:
movq %rsi, (%rax)
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_property ; -- Begin function add_property
.p2align 2
_add_property: ; @add_property
.cfi_startproc
; %bb.0:
str xzr, [x1]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x8, x0
ldr x0, [x0]
cbnz x0, LBB0_1
; %bb.2:
str x1, [x8]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/linux/scripts/dtc/extr_livetree.c_add_property.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function si_calculate_leakage_for_v_and_t
_si_calculate_leakage_for_v_and_t: ## @si_calculate_leakage_for_v_and_t
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdi
movl %edx, %esi
movl %ecx, %edx
movl %r8d, %ecx
movq %r9, %r8
popq %rbp
jmp _si_calculate_leakage_for_v_and_t_formula ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _si_calculate_leakage_for_v_and_t
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function si_calculate_leakage_for_v_and_t
_si_calculate_leakage_for_v_and_t: ; @si_calculate_leakage_for_v_and_t
.cfi_startproc
; %bb.0:
mov x0, x1
mov x1, x2
mov x2, x3
mov x3, x4
mov x4, x5
b _si_calculate_leakage_for_v_and_t_formula
.cfi_endproc
; -- End function
.no_dead_strip _si_calculate_leakage_for_v_and_t
.subsections_via_symbols
|
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dpm.c_si_calculate_leakage_for_v_and_t.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
movl $0, -4(%rbp)
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
movslq -4(%rbp), %rsi
imulq $1717986919, %rsi, %rax ## imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $34, %rax
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
movl %esi, %ecx
subl %eax, %ecx
imulq $1759218605, %rsi, %rax ## imm = 0x68DB8BAD
movq %rax, %rdx
shrq $63, %rdx
sarq $44, %rax
addl %edx, %eax
cmpl %eax, %ecx
jne LBB0_3
## %bb.1:
movslq %esi, %rcx
imulq $274877907, %rcx, %rax ## imm = 0x10624DD3
movq %rax, %rdx
shrq $63, %rdx
sarq $38, %rax
addl %edx, %eax
cltq
imulq $1717986919, %rax, %rdx ## imm = 0x66666667
movq %rdx, %rdi
shrq $63, %rdi
sarq $34, %rdx
addl %edi, %edx
addl %edx, %edx
leal (%rdx,%rdx,4), %edx
subl %edx, %eax
imulq $1374389535, %rcx, %rcx ## imm = 0x51EB851F
movq %rcx, %rdx
shrq $63, %rdx
shrq $37, %rcx
addl %edx, %ecx
imull $100, %ecx, %ecx
movl %esi, %edx
subl %ecx, %edx
movsbl %dl, %ecx
imull $103, %ecx, %ecx
movzwl %cx, %ecx
movswl %cx, %edx
shrl $15, %ecx
shrl $10, %edx
addb %cl, %dl
movsbl %dl, %ecx
cmpl %ecx, %eax
jne LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rdi
jmp LBB0_4
LBB0_3:
leaq L_.str.3(%rip), %rdi
LBB0_4:
## kill: def $esi killed $esi killed $rsi
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 "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\207\320\270\321\201\320\273\320\276: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\320\247\320\270\321\201\320\273\320\276 %d - \320\277\320\260\320\273\320\270\320\275\320\264\321\200\320\276\320\274\n"
L_.str.3: ## @.str.3
.asciz "\320\247\320\270\321\201\320\273\320\276 %d - \320\275\320\265 \320\277\320\260\320\273\320\270\320\275\320\264\321\200\320\276\320\274\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
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
ldursw x8, [x29, #-4]
mov w9, #26215
movk w9, #26214, lsl #16
mul x10, x8, x9
lsr x11, x10, #63
asr x10, x10, #34
add w11, w10, w11
mov w10, #10
msub w11, w11, w10, w8
mov w12, #35757
movk w12, #26843, lsl #16
mul x12, x8, x12
lsr x13, x12, #63
asr x12, x12, #44
add w12, w12, w13
cmp w11, w12
b.ne LBB0_3
; %bb.1:
mov w11, #19923
movk w11, #4194, lsl #16
smull x11, w8, w11
lsr x12, x11, #63
asr x11, x11, #38
add w11, w11, w12
smull x9, w11, w9
lsr x12, x9, #63
asr x9, x9, #34
add w9, w9, w12
msub w9, w9, w10, w11
mov w10, #34079
movk w10, #20971, lsl #16
smull x10, w8, w10
lsr x11, x10, #63
lsr x10, x10, #37
add w10, w10, w11
mov w11, #100
msub w10, w10, w11, w8
sxtb w10, w10
mov w11, #103
mul w10, w10, w11
ubfx w11, w10, #15, #1
add w10, w11, w10, asr #10
cmp w9, w10
b.ne LBB0_3
; %bb.2:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_4
LBB0_3:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
LBB0_4:
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\207\320\270\321\201\320\273\320\276: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\320\247\320\270\321\201\320\273\320\276 %d - \320\277\320\260\320\273\320\270\320\275\320\264\321\200\320\276\320\274\n"
l_.str.3: ; @.str.3
.asciz "\320\247\320\270\321\201\320\273\320\276 %d - \320\275\320\265 \320\277\320\260\320\273\320\270\320\275\320\264\321\200\320\276\320\274\n"
.subsections_via_symbols
|
the_stack_data/113682.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0xc010000000000000 ## double -4
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -24(%rbp), %rsi
leaq -16(%rbp), %rdx
leaq -8(%rbp), %rcx
xorl %eax, %eax
callq _scanf
movsd -16(%rbp), %xmm3 ## xmm3 = mem[0],zero
movsd -24(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
mulsd -8(%rbp), %xmm0
movapd %xmm3, %xmm2
mulsd %xmm3, %xmm2
addsd %xmm0, %xmm2
sqrtsd %xmm2, %xmm2
movapd %xmm2, %xmm0
subsd %xmm3, %xmm0
xorpd LCPI0_1(%rip), %xmm3
addsd %xmm1, %xmm1
divsd %xmm1, %xmm0
subsd %xmm2, %xmm3
divsd %xmm1, %xmm3
movapd %xmm3, -48(%rbp) ## 16-byte Spill
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movaps -48(%rbp), %xmm0 ## 16-byte Reload
movb $1, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the value of a, b, c : "
L_.str.1: ## @.str.1
.asciz "%lf %lf %lf"
L_.str.2: ## @.str.2
.asciz "X1= %lf\n"
L_.str.3: ## @.str.3
.asciz "X2= %lf\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 d9, d8, [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 b8, -24
.cfi_offset b9, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp, #16]
add x8, sp, #32
sub x9, x29, #24
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldp d2, d0, [sp, #24]
ldur d1, [x29, #-24]
fmov d3, #-4.00000000
fmul d3, d1, d3
fmul d2, d3, d2
fmadd d2, d0, d0, d2
fsqrt d2, d2
fneg d3, d0
fsub d0, d2, d0
fadd d1, d1, d1
fdiv d0, d0, d1
fsub d2, d3, d2
fdiv d8, d2, d1
str d0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str d8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
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 value of a, b, c : "
l_.str.1: ; @.str.1
.asciz "%lf %lf %lf"
l_.str.2: ; @.str.2
.asciz "X1= %lf\n"
l_.str.3: ; @.str.3
.asciz "X2= %lf\n"
.subsections_via_symbols
|
the_stack_data/153268057.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sz_boot_index2size_tab
_sz_boot_index2size_tab: ## @sz_boot_index2size_tab
.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 _SC_NSIZES@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_3
## %bb.1:
movq %rdi, %r14
movl $2, %ebx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %r15
movl $1, %edi
callq _ZU
movl %eax, %r12d
movzbl -8(%r15,%rbx,4), %ecx
shll %cl, %r12d
movl -4(%r15,%rbx,4), %edi
callq _ZU
movzbl (%r15,%rbx,4), %ecx
shll %cl, %eax
addl %r12d, %eax
movq _sz_index2size_tab@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx,%r13,4)
movq _SC_NSIZES@GOTPCREL(%rip), %rax
incq %r13
movl (%rax), %eax
addq $3, %rbx
cmpq %rax, %r13
jb LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SC_NSIZES,4,2 ## @SC_NSIZES
.comm _sz_index2size_tab,8,3 ## @sz_index2size_tab
.no_dead_strip _sz_boot_index2size_tab
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sz_boot_index2size_tab
_sz_boot_index2size_tab: ; @sz_boot_index2size_tab
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x20, _SC_NSIZES@GOTPAGE
Lloh1:
ldr x20, [x20, _SC_NSIZES@GOTPAGEOFF]
ldr w8, [x20]
cbz w8, LBB0_3
; %bb.1:
mov x19, x0
mov x21, #0
mov x22, #0
Lloh2:
adrp x23, _sz_index2size_tab@GOTPAGE
Lloh3:
ldr x23, [x23, _sz_index2size_tab@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x24, [x19]
mov w0, #1
bl _ZU
add x24, x24, x21
ldp w9, w8, [x24]
lsl w25, w0, w9
mov x0, x8
bl _ZU
ldr w8, [x24, #8]
lsl w8, w0, w8
add w8, w8, w25
ldr x9, [x23]
str w8, [x9, x22, lsl #2]
add x22, x22, #1
ldr w8, [x20]
add x21, x21, #12
cmp x22, x8
b.lo LBB0_2
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _SC_NSIZES,4,2 ; @SC_NSIZES
.comm _sz_index2size_tab,8,3 ; @sz_index2size_tab
.no_dead_strip _sz_boot_index2size_tab
.subsections_via_symbols
|
AnghaBench/jemalloc/src/extr_sz.c_sz_boot_index2size_tab.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function max_expand
_max_expand: ## @max_expand
.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, %r12
movq %rsi, %rbx
movq %rdi, %r15
movl $-1, %r14d
movq %rsi, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %r13, %rcx
callq _singlematch
incl %r14d
incq %rbx
testq %rax, %rax
jne LBB0_1
## %bb.2:
incq %r13
xorl %r12d, %r12d
movq -48(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
testl %r14d, %r14d
js LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %esi
addq %rbx, %rsi
movq %r15, %rdi
movq %r13, %rdx
callq _match
decl %r14d
testq %rax, %rax
je LBB0_3
## %bb.5:
movq %rax, %r12
LBB0_6:
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _max_expand
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function max_expand
_max_expand: ; @max_expand
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x19, x1
mov x20, x0
mov w24, #-1
mov x23, x1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x23
mov x2, x22
mov x3, x21
bl _singlematch
add w24, w24, #1
add x23, x23, #1
cbnz x0, LBB0_1
; %bb.2:
add x21, x21, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
tbnz w24, #31, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x1, x19, w24, uxtw
mov x0, x20
mov x2, x21
bl _match
sub w24, w24, #1
cbz x0, LBB0_3
b LBB0_6
LBB0_5:
mov x0, #0
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _max_expand
.subsections_via_symbols
|
AnghaBench/zfs/module/lua/extr_lstrlib.c_max_expand.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printhd ## -- Begin function printhd
.p2align 4, 0x90
_printhd: ## @printhd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
leaq 1024(%rbx), %rsi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 2048(%rbx), %rsi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 3072(%rbx), %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 4096(%rbx), %rsi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 5120(%rbx), %rsi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 6144(%rbx), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 7168(%rbx), %rsi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 8192(%rbx), %rsi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 9216(%rbx), %rsi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
movl 11268(%rbx), %esi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function horoscope
LCPI1_0:
.quad 0x403e000000000000 ## double 30
LCPI1_1:
.quad 0x402aaaaaaaaaaaab ## double 13.333333333333334
.section __TEXT,__text,regular,pure_instructions
.globl _horoscope
.p2align 4, 0x90
_horoscope: ## @horoscope
.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 $3096, %rsp ## imm = 0xC18
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -1080(%rbp), %rdi
callq _pipe
movq _cmd(%rip), %rax
movq %rax, -3136(%rbp)
cmpl $0, 11264(%rbx)
je LBB1_2
## %bb.1:
movl $7, %eax
leaq L_.str.13(%rip), %r8
jmp LBB1_3
LBB1_2:
leaq 7168(%rbx), %rax
movq %rax, -3080(%rbp)
movl $8, %eax
leaq L_.str.14(%rip), %r8
LBB1_3:
leaq 6144(%rbx), %r9
leaq 5120(%rbx), %rsi
leaq 4096(%rbx), %rdi
leaq 3072(%rbx), %rcx
leaq 2048(%rbx), %rdx
movq %r8, -3128(%rbp)
movq %rdx, -3120(%rbp)
movq %rcx, -3112(%rbp)
movq %rdi, -3104(%rbp)
movq %rsi, -3096(%rbp)
movq %r9, -3088(%rbp)
leaq 8192(%rbx), %rcx
movl %eax, %edx
movq %rcx, -3136(%rbp,%rdx,8)
leaq 9216(%rbx), %rcx
movq %rcx, -3128(%rbp,%rdx,8)
leaq L_.str.15(%rip), %rcx
movq %rcx, -3120(%rbp,%rdx,8)
movq %rbx, -3112(%rbp,%rdx,8)
leaq 1024(%rbx), %rcx
movq %rcx, -3104(%rbp,%rdx,8)
leaq L_.str.16(%rip), %rcx
movq %rcx, -3096(%rbp,%rdx,8)
leaq L_.str.17(%rip), %rcx
movq %rcx, -3088(%rbp,%rdx,8)
leaq L_.str.18(%rip), %rcx
movq %rcx, -3080(%rbp,%rdx,8)
leaq L_.str.19(%rip), %rcx
movq %rcx, -3072(%rbp,%rdx,8)
leal 10(%rax), %r14d
leaq L_.str.20(%rip), %rcx
movq %rcx, -3064(%rbp,%rdx,8)
cmpl $0, 11268(%rbx)
je LBB1_5
## %bb.4:
addl $11, %eax
movl %r14d, %ecx
leaq L_.str.21(%rip), %rdx
movq %rdx, -3136(%rbp,%rcx,8)
movl %eax, %r14d
LBB1_5:
movl %r14d, %eax
leaq L_.str.22(%rip), %rcx
movq %rcx, -3136(%rbp,%rax,8)
leaq L_.str.23(%rip), %rcx
movq %rcx, -3128(%rbp,%rax,8)
leaq L_.str.24(%rip), %rcx
movq %rcx, -3120(%rbp,%rax,8)
leaq L_.str.25(%rip), %rcx
movq %rcx, -3112(%rbp,%rax,8)
leaq L_.str.26(%rip), %rcx
movq %rcx, -3104(%rbp,%rax,8)
leaq L_.str.27(%rip), %rcx
movq %rcx, -3096(%rbp,%rax,8)
movq $0, -3088(%rbp,%rax,8)
callq _fork
testl %eax, %eax
je LBB1_6
## %bb.7:
movl -1076(%rbp), %edi
callq _close
movl -1080(%rbp), %edi
leaq L_.str.28(%rip), %rsi
callq _fdopen
movq %rax, %r14
leaq -1072(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
movq %rax, %rdx
callq _fgets
testq %rax, %rax
je LBB1_10
## %bb.8:
leaq 11272(%rbx), %r15
leaq -1072(%rbp), %r13
leaq _reltable.horoscope(%rip), %r12
.p2align 4, 0x90
LBB1_9: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
leaq L_.str.29(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _sscanf
movss 11272(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movaps %xmm0, %xmm1
divsd LCPI1_0(%rip), %xmm1
cvttsd2si %xmm1, %eax
movl %eax, 11276(%rbx)
divsd LCPI1_1(%rip), %xmm0
cvttsd2si %xmm0, %ecx
movl %ecx, 11280(%rbx)
cltq
movslq (%r12,%rax,4), %rax
addq %r12, %rax
movq %rax, 11288(%rbx)
movslq %ecx, %rax
movq _naksatras@GOTPCREL(%rip), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, 11296(%rbx)
movq %r13, %rdi
movl $1024, %esi ## imm = 0x400
movq %r14, %rdx
callq _fgets
testq %rax, %rax
jne LBB1_9
LBB1_10:
movq %r14, %rdi
callq _fclose
jmp LBB1_11
LBB1_6:
addl $6, %r14d
movl $1, %edi
callq _close
movl -1076(%rbp), %edi
movl $1, %esi
callq _dup2
movl -1080(%rbp), %edi
callq _close
movl -1076(%rbp), %edi
callq _close
leaq -3136(%rbp), %rsi
movl %r14d, %edi
callq _astromain
LBB1_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_13
## %bb.12:
addq $3096, %rsp ## imm = 0xC18
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _strip_blanks ## -- Begin function strip_blanks
.p2align 4, 0x90
_strip_blanks: ## @strip_blanks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq _strlen
testl %eax, %eax
jle LBB2_1
## %bb.2:
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB2_3
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_3 Depth=1
movslq %ecx, %rsi
incl %ecx
movb %bl, (%r14,%rsi)
LBB2_6: ## in Loop: Header=BB2_3 Depth=1
incl %edx
cmpl %eax, %edx
jge LBB2_7
LBB2_3: ## =>This Inner Loop Header: Depth=1
movslq %edx, %rsi
movzbl (%r15,%rsi), %ebx
cmpb $37, %bl
jne LBB2_5
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
addl $2, %edx
jmp LBB2_6
LBB2_1:
xorl %ecx, %ecx
LBB2_7:
movslq %ecx, %rax
movb $0, (%r14,%rax)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gethd ## -- Begin function gethd
.p2align 4, 0x90
_gethd: ## @gethd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, -48(%rbp)
leaq L_.str.30(%rip), %rsi
leaq -48(%rbp), %rdi
callq _strsep
testq %rax, %rax
je LBB3_42
## %bb.1:
movq %rax, %r12
leaq 9216(%rbx), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
leaq 8192(%rbx), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
addq $1024, %rbx ## imm = 0x400
movq %rbx, -128(%rbp) ## 8-byte Spill
leaq 9216(%r15), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
leaq 8192(%r15), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
leaq 7168(%r15), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
leaq 6144(%r15), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
leaq 4096(%r15), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq 3072(%r15), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 2048(%r15), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
leaq LJTI3_0(%rip), %r13
jmp LBB3_2
LBB3_25: ## in Loop: Header=BB3_2 Depth=1
xorl %ecx, %ecx
LBB3_31: ## in Loop: Header=BB3_2 Depth=1
movslq %ecx, %rax
movb $0, 5120(%r15,%rax)
.p2align 4, 0x90
LBB3_41: ## in Loop: Header=BB3_2 Depth=1
incl %r14d
leaq -48(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
callq _strsep
movq %rax, %r12
testq %rax, %rax
je LBB3_42
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_27 Depth 2
## Child Loop BB3_15 Depth 2
## Child Loop BB3_7 Depth 2
cmpl $12, %r14d
ja LBB3_41
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movl %r14d, %eax
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
LBB3_4: ## in Loop: Header=BB3_2 Depth=1
movq %r12, %rdi
callq _strlen
testl %eax, %eax
jle LBB3_5
## %bb.6: ## in Loop: Header=BB3_2 Depth=1
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB3_7
.p2align 4, 0x90
LBB3_9: ## in Loop: Header=BB3_7 Depth=2
movslq %ecx, %rsi
incl %ecx
movb %bl, (%r15,%rsi)
LBB3_10: ## in Loop: Header=BB3_7 Depth=2
incl %edx
cmpl %eax, %edx
jge LBB3_11
LBB3_7: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movslq %edx, %rsi
movzbl (%r12,%rsi), %ebx
cmpb $37, %bl
jne LBB3_9
## %bb.8: ## in Loop: Header=BB3_7 Depth=2
addl $2, %edx
jmp LBB3_10
LBB3_12: ## in Loop: Header=BB3_2 Depth=1
movq %r12, %rdi
callq _strlen
testl %eax, %eax
jle LBB3_13
## %bb.14: ## in Loop: Header=BB3_2 Depth=1
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB3_15
.p2align 4, 0x90
LBB3_17: ## in Loop: Header=BB3_15 Depth=2
movslq %ecx, %rsi
incl %ecx
movb %bl, 1024(%r15,%rsi)
LBB3_18: ## in Loop: Header=BB3_15 Depth=2
incl %edx
cmpl %eax, %edx
jge LBB3_19
LBB3_15: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movslq %edx, %rsi
movzbl (%r12,%rsi), %ebx
cmpb $37, %bl
jne LBB3_17
## %bb.16: ## in Loop: Header=BB3_15 Depth=2
addl $2, %edx
jmp LBB3_18
LBB3_20: ## in Loop: Header=BB3_2 Depth=1
movq %r12, %rdi
callq _atoi
## kill: def $eax killed $eax def $rax
leal -1(%rax), %ecx
cmpl $11, %ecx
ja LBB3_41
## %bb.21: ## in Loop: Header=BB3_2 Depth=1
movl %eax, %eax
leaq _mon(%rip), %rcx
movq (%rcx,%rax,8), %rsi
movl $1024, %edx ## imm = 0x400
movq -56(%rbp), %rdi ## 8-byte Reload
jmp LBB3_40
LBB3_22: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -64(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_23: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -72(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_24: ## in Loop: Header=BB3_2 Depth=1
movq %r12, %rdi
callq _strlen
testl %eax, %eax
jle LBB3_25
## %bb.26: ## in Loop: Header=BB3_2 Depth=1
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB3_27
.p2align 4, 0x90
LBB3_29: ## in Loop: Header=BB3_27 Depth=2
movslq %ecx, %rsi
incl %ecx
movb %bl, 5120(%r15,%rsi)
LBB3_30: ## in Loop: Header=BB3_27 Depth=2
incl %edx
cmpl %eax, %edx
jge LBB3_31
LBB3_27: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movslq %edx, %rsi
movzbl (%r12,%rsi), %ebx
cmpb $37, %bl
jne LBB3_29
## %bb.28: ## in Loop: Header=BB3_27 Depth=2
addl $2, %edx
jmp LBB3_30
LBB3_32: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -80(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_33: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -88(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_34: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -96(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_35: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -104(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_36: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -128(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_37: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -112(%rbp), %rdi ## 8-byte Reload
jmp LBB3_39
LBB3_38: ## in Loop: Header=BB3_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq -120(%rbp), %rdi ## 8-byte Reload
.p2align 4, 0x90
LBB3_39: ## in Loop: Header=BB3_2 Depth=1
movq %r12, %rsi
LBB3_40: ## in Loop: Header=BB3_2 Depth=1
callq ___strcpy_chk
jmp LBB3_41
LBB3_5: ## in Loop: Header=BB3_2 Depth=1
xorl %ecx, %ecx
LBB3_11: ## in Loop: Header=BB3_2 Depth=1
movslq %ecx, %rax
movb $0, (%r15,%rax)
jmp LBB3_41
LBB3_13: ## in Loop: Header=BB3_2 Depth=1
xorl %ecx, %ecx
LBB3_19: ## in Loop: Header=BB3_2 Depth=1
movslq %ecx, %rax
movb $0, 1024(%r15,%rax)
jmp LBB3_41
LBB3_42:
leaq 6144(%r15), %r14
leaq L_.str.31(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB3_43
## %bb.44:
leaq L_.str.32(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB3_46
## %bb.45:
movl $1, 11268(%r15)
leaq 8192(%r15), %rdi
leaq 9216(%r15), %r14
movl $1024, %edx ## imm = 0x400
movq %r14, %rsi
callq ___strcpy_chk
leaq 7168(%r15), %rsi
movl $1024, %edx ## imm = 0x400
movq %r14, %rdi
callq ___strcpy_chk
movb $0, 7168(%r15)
jmp LBB3_46
LBB3_43:
movl $1, 11268(%r15)
movb $0, 2(%r14)
movw $21587, (%r14) ## imm = 0x5453
LBB3_46:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_4, LBB3_4-LJTI3_0
.set L3_0_set_12, LBB3_12-LJTI3_0
.set L3_0_set_20, LBB3_20-LJTI3_0
.set L3_0_set_22, LBB3_22-LJTI3_0
.set L3_0_set_23, LBB3_23-LJTI3_0
.set L3_0_set_24, LBB3_24-LJTI3_0
.set L3_0_set_32, LBB3_32-LJTI3_0
.set L3_0_set_33, LBB3_33-LJTI3_0
.set L3_0_set_34, LBB3_34-LJTI3_0
.set L3_0_set_35, LBB3_35-LJTI3_0
.set L3_0_set_36, LBB3_36-LJTI3_0
.set L3_0_set_37, LBB3_37-LJTI3_0
.set L3_0_set_38, LBB3_38-LJTI3_0
LJTI3_0:
.long L3_0_set_4
.long L3_0_set_12
.long L3_0_set_20
.long L3_0_set_22
.long L3_0_set_23
.long L3_0_set_24
.long L3_0_set_32
.long L3_0_set_33
.long L3_0_set_34
.long L3_0_set_35
.long L3_0_set_36
.long L3_0_set_37
.long L3_0_set_38
.end_data_region
## -- End function
.globl _findDiff ## -- Begin function findDiff
.p2align 4, 0x90
_findDiff: ## @findDiff
.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 $edx killed $edx def $rdx
movl %esi, %eax
subl %edi, %eax
leal (%rax,%rdx), %ecx
incl %ecx
cmpl $13, %ecx
movl $1, %edx
cmovnel %ecx, %edx
cmpl %edi, %esi
leal 1(%rax), %eax
cmovlel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _transit ## -- Begin function transit
.p2align 4, 0x90
_transit: ## @transit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq -32(%rbp), %r14
movq %r14, %rdi
callq _time
movq %rax, -32(%rbp)
movq %r14, %rdi
callq _localtime
movq %rax, %r14
movabsq $32767041792471636, %rax ## imm = 0x7469736E617254
movq %rax, (%rbx)
leaq 2048(%rbx), %rdi
movslq 16(%r14), %rax
leaq _mon(%rip), %rcx
movq 8(%rcx,%rax,8), %rsi
movl $1024, %edx ## imm = 0x400
callq ___strcpy_chk
leaq 3072(%rbx), %rdi
movl 12(%r14), %r8d
leaq L_.str.34(%rip), %r15
movl $1024, %edx ## imm = 0x400
xorl %esi, %esi
movq %r15, %rcx
xorl %eax, %eax
callq ___sprintf_chk
leaq 4096(%rbx), %rdi
movl $1900, %r8d ## imm = 0x76C
addl 20(%r14), %r8d
movl $1024, %edx ## imm = 0x400
xorl %esi, %esi
movq %r15, %rcx
xorl %eax, %eax
callq ___sprintf_chk
leaq 5120(%rbx), %rdi
movl 4(%r14), %r9d
movl 8(%r14), %r8d
leaq L_.str.35(%rip), %rcx
movl $1024, %edx ## imm = 0x400
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
movw $21587, 6144(%rbx) ## imm = 0x5453
movb $0, 6146(%rbx)
leaq 7168(%rbx), %rdi
leaq L_.str.36(%rip), %rcx
movl $1024, %edx ## imm = 0x400
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
movq %rbx, %rdi
callq _horoscope
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _star ## -- Begin function star
.p2align 4, 0x90
_star: ## @star
.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
movl $23664, %eax ## imm = 0x5C70
callq ____chkstk_darwin
subq %rax, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
leaq L_.str.37(%rip), %rdi
movl $46, %esi
movl $1, %edx
movq %rbx, %rcx
callq _fwrite
movq %rbx, %rdi
callq _fflush
leaq L_.str.38(%rip), %rdi
callq _getenv
movq %rax, -23672(%rbp)
testq %rax, %rax
je LBB6_19
## %bb.1:
leaq -11328(%rbp), %rdi
movl $11304, %esi ## imm = 0x2C28
callq ___bzero
leaq L_.str.40(%rip), %rsi
leaq -23672(%rbp), %rdi
callq _strsep
testq %rax, %rax
je LBB6_17
## %bb.2:
leaq L_.str.40(%rip), %rsi
leaq -23672(%rbp), %rdi
callq _strsep
testq %rax, %rax
je LBB6_17
## %bb.3:
movq %rax, %r14
movq %rax, %rdi
callq _strlen
testl %eax, %eax
jle LBB6_16
## %bb.4:
leaq -23664(%rbp), %rcx
xorl %edx, %edx
jmp LBB6_5
.p2align 4, 0x90
LBB6_6: ## in Loop: Header=BB6_5 Depth=1
movb $32, %bl
LBB6_15: ## in Loop: Header=BB6_5 Depth=1
movb %bl, (%rcx)
incl %edx
incq %rcx
cmpl %eax, %edx
jge LBB6_16
LBB6_5: ## =>This Inner Loop Header: Depth=1
movslq %edx, %rsi
movzbl (%r14,%rsi), %ebx
cmpb $43, %bl
je LBB6_6
## %bb.7: ## in Loop: Header=BB6_5 Depth=1
cmpb $37, %bl
jne LBB6_15
## %bb.8: ## in Loop: Header=BB6_5 Depth=1
movzbl 1(%rsi,%r14), %edi
cmpb $51, %dil
je LBB6_12
## %bb.9: ## in Loop: Header=BB6_5 Depth=1
cmpb $55, %dil
jne LBB6_15
## %bb.10: ## in Loop: Header=BB6_5 Depth=1
cmpb $67, 2(%r14,%rsi)
jne LBB6_15
## %bb.11: ## in Loop: Header=BB6_5 Depth=1
addq $2, %rsi
movb $124, %bl
jmp LBB6_14
LBB6_12: ## in Loop: Header=BB6_5 Depth=1
cmpb $65, 2(%r14,%rsi)
jne LBB6_15
## %bb.13: ## in Loop: Header=BB6_5 Depth=1
addq $2, %rsi
movb $58, %bl
LBB6_14: ## in Loop: Header=BB6_5 Depth=1
movl %esi, %edx
jmp LBB6_15
LBB6_16:
leaq -23664(%rbp), %rdi
leaq -11328(%rbp), %rbx
leaq -22632(%rbp), %r14
movq %rbx, %rsi
movq %r14, %rdx
callq _gethd
movq %rbx, %rdi
callq _horoscope
movq -32(%rbp), %rsi
movq -40(%rbp), %rdx
movl -52(%rbp), %ecx
leaq L_.str.41(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
callq _transit
movq %r14, %rdi
callq _printhd
movq -11336(%rbp), %rsi
movq -11344(%rbp), %rdx
movl -11356(%rbp), %ecx
leaq L_.str.42(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -11356(%rbp), %eax
movl -52(%rbp), %ecx
movl %eax, %edx
subl %ecx, %edx
leal 13(%rdx), %esi
cmpl $13, %esi
movl $1, %edi
cmovnel %esi, %edi
cmpl %ecx, %eax
leal 1(%rdx), %eax
cmovlel %edi, %eax
movslq %eax, %rsi
leaq _reltable.star(%rip), %rax
movslq (%rax,%rsi,4), %rdx
addq %rax, %rdx
leaq L_.str.43(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
LBB6_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB6_20
## %bb.18:
addq $23664, %rsp ## imm = 0x5C70
popq %rbx
popq %r14
popq %rbp
retq
LBB6_19:
leaq L_str(%rip), %rdi
callq _puts
xorl %edi, %edi
callq _exit
LBB6_20:
callq ___stack_chk_fail
.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
movq (%rsi), %rdi
callq _basename
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _strcmp
testl %eax, %eax
jne LBB7_2
## %bb.1:
callq _star
LBB7_2:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rasi"
.section __DATA,__data
.globl _cmd ## @cmd
.p2align 3
_cmd:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Name : %s\n"
L_.str.2: ## @.str.2
.asciz "Place : %s\n"
L_.str.3: ## @.str.3
.asciz "Month : %s\n"
L_.str.4: ## @.str.4
.asciz "Date : %s\n"
L_.str.5: ## @.str.5
.asciz "Year : %s\n"
L_.str.6: ## @.str.6
.asciz "Time : %s\n"
L_.str.7: ## @.str.7
.asciz "Zone : %s\n"
L_.str.8: ## @.str.8
.asciz "Offset : %s\n"
L_.str.9: ## @.str.9
.asciz "Long : %s\n"
L_.str.10: ## @.str.10
.asciz "Lat : %s\n"
L_.str.11: ## @.str.11
.asciz "Dst : %d\n"
L_.str.13: ## @.str.13
.asciz "-qa"
L_.str.14: ## @.str.14
.asciz "-qb"
L_.str.15: ## @.str.15
.asciz "-zi"
L_.str.16: ## @.str.16
.asciz "-l"
L_.str.17: ## @.str.17
.asciz "-Yt"
L_.str.18: ## @.str.18
.asciz "-s"
L_.str.19: ## @.str.19
.asciz "0.872"
L_.str.20: ## @.str.20
.asciz "-b0"
L_.str.21: ## @.str.21
.asciz "-7"
L_.str.22: ## @.str.22
.asciz "-R0"
L_.str.23: ## @.str.23
.asciz "-R"
L_.str.24: ## @.str.24
.asciz "2"
L_.str.25: ## @.str.25
.asciz "-A"
L_.str.26: ## @.str.26
.asciz "8"
L_.str.27: ## @.str.27
.asciz "-!"
L_.str.28: ## @.str.28
.asciz "r"
L_.str.29: ## @.str.29
.asciz "%f"
.section __TEXT,__const
.p2align 2 ## @reltable.horoscope
_reltable.horoscope:
.long L_.str.44-_reltable.horoscope
.long L_.str.45-_reltable.horoscope
.long L_.str.46-_reltable.horoscope
.long L_.str.47-_reltable.horoscope
.long L_.str.48-_reltable.horoscope
.long L_.str.49-_reltable.horoscope
.long L_.str.50-_reltable.horoscope
.long L_.str.51-_reltable.horoscope
.long L_.str.52-_reltable.horoscope
.long L_.str.53-_reltable.horoscope
.long L_.str.54-_reltable.horoscope
.long L_.str.55-_reltable.horoscope
.section __TEXT,__cstring,cstring_literals
L_.str.30: ## @.str.30
.asciz "|"
.section __DATA,__const
.p2align 4 ## @mon
_mon:
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.66
.quad L_.str.67
.quad L_.str.68
.section __TEXT,__cstring,cstring_literals
L_.str.31: ## @.str.31
.asciz "AD"
L_.str.32: ## @.str.32
.asciz "ST"
L_.str.34: ## @.str.34
.asciz "%d"
L_.str.35: ## @.str.35
.asciz "%d:%d"
L_.str.36: ## @.str.36
.asciz "8:00"
L_.str.37: ## @.str.37
.asciz "Content-Type: application/json;charset=UTF-8\n\n"
L_.str.38: ## @.str.38
.asciz "QUERY_STRING"
L_.str.40: ## @.str.40
.asciz "="
L_.str.41: ## @.str.41
.asciz "Star: %s Rasi: %s %d\n"
L_.str.42: ## @.str.42
.asciz "Transit Star: %s Rasi: %s %d\n"
L_.str.43: ## @.str.43
.asciz "diff %d %s\n"
.section __TEXT,__const
.p2align 2 ## @reltable.star
_reltable.star:
.long L_.str.56-_reltable.star
.long L_.str.69-_reltable.star
.long L_.str.70-_reltable.star
.long L_.str.71-_reltable.star
.long L_.str.72-_reltable.star
.long L_.str.73-_reltable.star
.long L_.str.74-_reltable.star
.long L_.str.75-_reltable.star
.long L_.str.76-_reltable.star
.long L_.str.77-_reltable.star
.long L_.str.78-_reltable.star
.long L_.str.79-_reltable.star
.long L_.str.80-_reltable.star
.section __TEXT,__cstring,cstring_literals
L_.str.44: ## @.str.44
.asciz "Mesha"
L_.str.45: ## @.str.45
.asciz "Vrishabha"
L_.str.46: ## @.str.46
.asciz "Midhuna"
L_.str.47: ## @.str.47
.asciz "Kataka"
L_.str.48: ## @.str.48
.asciz "Simha"
L_.str.49: ## @.str.49
.asciz "Kanya"
L_.str.50: ## @.str.50
.asciz "Thula"
L_.str.51: ## @.str.51
.asciz "Vrischika"
L_.str.52: ## @.str.52
.asciz "Dhanas"
L_.str.53: ## @.str.53
.asciz "Makara"
L_.str.54: ## @.str.54
.asciz "Kumbha"
L_.str.55: ## @.str.55
.asciz "Meena"
L_.str.56: ## @.str.56
.space 1
L_.str.57: ## @.str.57
.asciz "Jan"
L_.str.58: ## @.str.58
.asciz "Feb"
L_.str.59: ## @.str.59
.asciz "Mar"
L_.str.60: ## @.str.60
.asciz "Apr"
L_.str.61: ## @.str.61
.asciz "May"
L_.str.62: ## @.str.62
.asciz "Jun"
L_.str.63: ## @.str.63
.asciz "Jul"
L_.str.64: ## @.str.64
.asciz "Aug"
L_.str.65: ## @.str.65
.asciz "Sep"
L_.str.66: ## @.str.66
.asciz "Oct"
L_.str.67: ## @.str.67
.asciz "Nov"
L_.str.68: ## @.str.68
.asciz "Dec"
L_.str.69: ## @.str.69
.asciz "Good relations with women and friends, good food"
L_.str.70: ## @.str.70
.asciz "Tiredness and expenditure"
L_.str.71: ## @.str.71
.asciz "Gains of money, gold and good clothes"
L_.str.72: ## @.str.72
.asciz "Accidents or ill health, trouble from relatives, sorrow and expenditure"
L_.str.73: ## @.str.73
.asciz "Indigestion, loss of money, tiresome journeys"
L_.str.74: ## @.str.74
.asciz "Victory over enemies, good health, increase in income and happiness"
L_.str.75: ## @.str.75
.asciz "Friendship and gains, good comforts of bed, conjugal bliss and company of good friends"
L_.str.76: ## @.str.76
.asciz "Trouble losses and expenses, illness, quarrels and worries"
L_.str.77: ## @.str.77
.asciz "Loss of reputation and money, heavy expenses, intimidation and worry"
L_.str.78: ## @.str.78
.asciz "Good name and reputation, gains and fulfillment of desires, happiness"
L_.str.79: ## @.str.79
.asciz "Happiness, good friends, monetary gains, good comforts of bed and increase in respect"
L_.str.80: ## @.str.80
.asciz "Carelessness and losses, misery, difference of opinion and arguments with others"
L_str: ## @str
.asciz "Invalid QUERY_STRING"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printhd ; -- Begin function printhd
.p2align 2
_printhd: ; @printhd
.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 x0, [sp]
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
add x8, x19, #1024
str x8, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, x19, #2048
str x8, [sp]
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, x19, #3072
str x8, [sp]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add x8, x19, #1, lsl #12 ; =4096
str x8, [sp]
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #5120
add x8, x19, x8
str x8, [sp]
Lloh10:
adrp x0, l_.str.6@PAGE
Lloh11:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w8, #6144
add x8, x19, x8
str x8, [sp]
Lloh12:
adrp x0, l_.str.7@PAGE
Lloh13:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w8, #7168
add x8, x19, x8
str x8, [sp]
Lloh14:
adrp x0, l_.str.8@PAGE
Lloh15:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add x8, x19, #2, lsl #12 ; =8192
str x8, [sp]
Lloh16:
adrp x0, l_.str.9@PAGE
Lloh17:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov w8, #9216
add x8, x19, x8
str x8, [sp]
Lloh18:
adrp x0, l_.str.10@PAGE
Lloh19:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldr w8, [x19, #11268]
str x8, [sp]
Lloh20:
adrp x0, l_.str.11@PAGE
Lloh21:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w0, #10
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _putchar
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _horoscope ; -- Begin function horoscope
.p2align 2
_horoscope: ; @horoscope
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -88
.cfi_offset b9, -96
sub sp, sp, #3104
mov x19, x0
Lloh22:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
stur x8, [x29, #-88]
add x0, sp, #2064
bl _pipe
ldr w8, [x19, #11264]
Lloh25:
adrp x9, l_.str.13@PAGE
Lloh26:
add x9, x9, l_.str.13@PAGEOFF
Lloh27:
adrp x10, l_.str.14@PAGE
Lloh28:
add x10, x10, l_.str.14@PAGEOFF
cmp w8, #0
csel x9, x10, x9, eq
Lloh29:
adrp x10, _cmd@PAGE
Lloh30:
ldr x10, [x10, _cmd@PAGEOFF]
stp x10, x9, [sp, #16]
add x9, x19, #2048
add x10, x19, #3072
stp x9, x10, [sp, #32]
add x9, x19, #1, lsl #12 ; =4096
mov w10, #5120
add x10, x19, x10
stp x9, x10, [sp, #48]
mov w9, #6144
add x9, x19, x9
str x9, [sp, #64]
cbz w8, LBB1_2
; %bb.1:
mov w9, #7
b LBB1_3
LBB1_2:
mov w8, #7168
add x8, x19, x8
str x8, [sp, #72]
mov w9, #8
LBB1_3:
add x10, x19, #2, lsl #12 ; =8192
add w11, w9, #1
add x8, sp, #16
str x10, [x8, w9, uxtw #3]
mov w10, #9216
add x10, x19, x10
add w12, w9, #2
str x10, [x8, w11, uxtw #3]
Lloh31:
adrp x10, l_.str.15@PAGE
Lloh32:
add x10, x10, l_.str.15@PAGEOFF
add w11, w9, #3
str x10, [x8, w12, uxtw #3]
add w10, w9, #4
str x19, [x8, w11, uxtw #3]
add x11, x19, #1024
add w12, w9, #5
str x11, [x8, w10, uxtw #3]
Lloh33:
adrp x10, l_.str.16@PAGE
Lloh34:
add x10, x10, l_.str.16@PAGEOFF
add w11, w9, #6
str x10, [x8, w12, uxtw #3]
add w10, w9, #7
Lloh35:
adrp x12, l_.str.17@PAGE
Lloh36:
add x12, x12, l_.str.17@PAGEOFF
str x12, [x8, w11, uxtw #3]
Lloh37:
adrp x11, l_.str.18@PAGE
Lloh38:
add x11, x11, l_.str.18@PAGEOFF
str x11, [x8, w10, uxtw #3]
add w10, w9, #8
add w11, w9, #9
Lloh39:
adrp x12, l_.str.19@PAGE
Lloh40:
add x12, x12, l_.str.19@PAGEOFF
str x12, [x8, w10, uxtw #3]
Lloh41:
adrp x10, l_.str.20@PAGE
Lloh42:
add x10, x10, l_.str.20@PAGEOFF
str x10, [x8, w11, uxtw #3]
ldr w11, [x19, #11268]
add w10, w9, #10
cbz w11, LBB1_5
; %bb.4:
Lloh43:
adrp x11, l_.str.21@PAGE
Lloh44:
add x11, x11, l_.str.21@PAGEOFF
str x11, [x8, w10, uxtw #3]
add w10, w9, #11
LBB1_5:
Lloh45:
adrp x9, l_.str.22@PAGE
Lloh46:
add x9, x9, l_.str.22@PAGEOFF
add w11, w10, #1
str x9, [x8, w10, uxtw #3]
add w9, w10, #2
Lloh47:
adrp x12, l_.str.23@PAGE
Lloh48:
add x12, x12, l_.str.23@PAGEOFF
str x12, [x8, w11, uxtw #3]
Lloh49:
adrp x11, l_.str.24@PAGE
Lloh50:
add x11, x11, l_.str.24@PAGEOFF
str x11, [x8, w9, uxtw #3]
add w9, w10, #3
add w11, w10, #4
Lloh51:
adrp x12, l_.str.25@PAGE
Lloh52:
add x12, x12, l_.str.25@PAGEOFF
str x12, [x8, w9, uxtw #3]
add w9, w10, #5
Lloh53:
adrp x12, l_.str.26@PAGE
Lloh54:
add x12, x12, l_.str.26@PAGEOFF
str x12, [x8, w11, uxtw #3]
add w20, w10, #6
Lloh55:
adrp x10, l_.str.27@PAGE
Lloh56:
add x10, x10, l_.str.27@PAGEOFF
str x10, [x8, w9, uxtw #3]
str xzr, [x8, w20, uxtw #3]
bl _fork
cbz w0, LBB1_10
; %bb.6:
ldr w0, [sp, #2068]
bl _close
ldr w0, [sp, #2064]
Lloh57:
adrp x1, l_.str.28@PAGE
Lloh58:
add x1, x1, l_.str.28@PAGEOFF
bl _fdopen
mov x20, x0
add x0, sp, #2072
mov w1, #1024
mov x2, x20
bl _fgets
cbz x0, LBB1_9
; %bb.7:
mov w8, #11272
add x22, x19, x8
Lloh59:
adrp x21, l_.str.29@PAGE
Lloh60:
add x21, x21, l_.str.29@PAGEOFF
fmov d8, #30.00000000
mov x23, #-6148914691236517206
movk x23, #43691
movk x23, #16426, lsl #48
Lloh61:
adrp x24, _rasi@PAGE
Lloh62:
add x24, x24, _rasi@PAGEOFF
Lloh63:
adrp x25, _naksatras@GOTPAGE
Lloh64:
ldr x25, [x25, _naksatras@GOTPAGEOFF]
LBB1_8: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
add x0, sp, #2072
mov x1, x21
bl _sscanf
ldr s0, [x19, #11272]
fcvt d0, s0
fdiv d1, d0, d8
fcvtzs w8, d1
str w8, [x19, #11276]
fmov d1, x23
fdiv d0, d0, d1
fcvtzs w9, d0
str w9, [x19, #11280]
ldr x8, [x24, w8, sxtw #3]
str x8, [x19, #11288]
ldr x8, [x25, w9, sxtw #3]
str x8, [x19, #11296]
add x0, sp, #2072
mov w1, #1024
mov x2, x20
bl _fgets
cbnz x0, LBB1_8
LBB1_9:
mov x0, x20
bl _fclose
b LBB1_11
LBB1_10:
mov w0, #1
bl _close
ldr w0, [sp, #2068]
mov w1, #1
bl _dup2
ldr w0, [sp, #2064]
bl _close
ldr w0, [sp, #2068]
bl _close
add x1, sp, #16
mov x0, x20
bl _astromain
LBB1_11:
ldur x8, [x29, #-88]
Lloh65:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh66:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_13
; %bb.12:
add sp, sp, #3104
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 d9, d8, [sp], #96 ; 16-byte Folded Reload
ret
LBB1_13:
bl ___stack_chk_fail
.loh AdrpLdr Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.cfi_endproc
; -- End function
.globl _strip_blanks ; -- Begin function strip_blanks
.p2align 2
_strip_blanks: ; @strip_blanks
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
mov x0, x1
bl _strlen
cmp w0, #1
b.lt LBB2_6
; %bb.1:
mov w9, #0
mov w8, #0
b LBB2_4
LBB2_2: ; in Loop: Header=BB2_4 Depth=1
strb w10, [x19, w8, sxtw]
add w8, w8, #1
LBB2_3: ; in Loop: Header=BB2_4 Depth=1
add w9, w9, #1
cmp w9, w0
b.ge LBB2_7
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x20, w9, sxtw]
cmp w10, #37
b.ne LBB2_2
; %bb.5: ; in Loop: Header=BB2_4 Depth=1
add w9, w9, #2
b LBB2_3
LBB2_6:
mov w8, #0
LBB2_7:
strb wzr, [x19, w8, sxtw]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _gethd ; -- Begin function gethd
.p2align 2
_gethd: ; @gethd
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x2
mov x19, x1
str x0, [sp, #56]
Lloh68:
adrp x1, l_.str.30@PAGE
Lloh69:
add x1, x1, l_.str.30@PAGEOFF
add x0, sp, #56
bl _strsep
cbz x0, LBB3_42
; %bb.1:
mov x21, x0
mov w22, #0
mov w8, #9216
add x9, x20, x8
str x9, [sp, #48] ; 8-byte Folded Spill
add x10, x20, #2, lsl #12 ; =8192
add x9, x20, #1024
stp x9, x10, [sp, #32] ; 16-byte Folded Spill
add x8, x19, x8
str x8, [sp, #24] ; 8-byte Folded Spill
add x9, x19, #2, lsl #12 ; =8192
mov w8, #7168
add x25, x19, x8
mov w8, #6144
add x26, x19, x8
add x27, x19, #1, lsl #12 ; =4096
add x28, x19, #3072
Lloh70:
adrp x20, l_.str.30@PAGE
Lloh71:
add x20, x20, l_.str.30@PAGEOFF
add x8, x19, #2048
stp x8, x9, [sp, #8] ; 16-byte Folded Spill
Lloh72:
adrp x23, lJTI3_0@PAGE
Lloh73:
add x23, x23, lJTI3_0@PAGEOFF
mov w24, #5120
b LBB3_5
LBB3_2: ; in Loop: Header=BB3_5 Depth=1
mov w8, #0
LBB3_3: ; in Loop: Header=BB3_5 Depth=1
add x8, x19, w8, sxtw
strb wzr, [x8, x24]
LBB3_4: ; in Loop: Header=BB3_5 Depth=1
add w22, w22, #1
add x0, sp, #56
mov x1, x20
bl _strsep
mov x21, x0
cbz x0, LBB3_42
LBB3_5: ; =>This Loop Header: Depth=1
; Child Loop BB3_27 Depth 2
; Child Loop BB3_17 Depth 2
; Child Loop BB3_11 Depth 2
cmp w22, #12
b.hi LBB3_4
; %bb.6: ; in Loop: Header=BB3_5 Depth=1
mov w8, w22
adr x9, LBB3_7
ldrb w10, [x23, x8]
add x9, x9, x10, lsl #2
br x9
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
mov x0, x21
bl _strlen
cmp w0, #1
b.lt LBB3_39
; %bb.8: ; in Loop: Header=BB3_5 Depth=1
mov w9, #0
mov w8, #0
b LBB3_11
LBB3_9: ; in Loop: Header=BB3_11 Depth=2
strb w10, [x19, w8, sxtw]
add w8, w8, #1
LBB3_10: ; in Loop: Header=BB3_11 Depth=2
add w9, w9, #1
cmp w9, w0
b.ge LBB3_38
LBB3_11: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x21, w9, sxtw]
cmp w10, #37
b.ne LBB3_9
; %bb.12: ; in Loop: Header=BB3_11 Depth=2
add w9, w9, #2
b LBB3_10
LBB3_13: ; in Loop: Header=BB3_5 Depth=1
mov x0, x21
bl _strlen
cmp w0, #1
b.lt LBB3_40
; %bb.14: ; in Loop: Header=BB3_5 Depth=1
mov w9, #0
mov w8, #0
b LBB3_17
LBB3_15: ; in Loop: Header=BB3_17 Depth=2
add x11, x19, w8, sxtw
add w8, w8, #1
strb w10, [x11, #1024]
LBB3_16: ; in Loop: Header=BB3_17 Depth=2
add w9, w9, #1
cmp w9, w0
b.ge LBB3_41
LBB3_17: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x21, w9, sxtw]
cmp w10, #37
b.ne LBB3_15
; %bb.18: ; in Loop: Header=BB3_17 Depth=2
add w9, w9, #2
b LBB3_16
LBB3_19: ; in Loop: Header=BB3_5 Depth=1
mov x0, x21
bl _atoi
sub w8, w0, #1
cmp w8, #11
b.hi LBB3_4
; %bb.20: ; in Loop: Header=BB3_5 Depth=1
Lloh74:
adrp x8, _mon@PAGE
Lloh75:
add x8, x8, _mon@PAGEOFF
ldr x1, [x8, w0, uxtw #3]
ldr x0, [sp, #8] ; 8-byte Folded Reload
b LBB3_37
LBB3_21: ; in Loop: Header=BB3_5 Depth=1
mov x0, x28
b LBB3_36
LBB3_22: ; in Loop: Header=BB3_5 Depth=1
mov x0, x27
b LBB3_36
LBB3_23: ; in Loop: Header=BB3_5 Depth=1
mov x0, x21
bl _strlen
cmp w0, #1
b.lt LBB3_2
; %bb.24: ; in Loop: Header=BB3_5 Depth=1
mov w9, #0
mov w8, #0
b LBB3_27
LBB3_25: ; in Loop: Header=BB3_27 Depth=2
add x11, x19, w8, sxtw
add w8, w8, #1
strb w10, [x11, x24]
LBB3_26: ; in Loop: Header=BB3_27 Depth=2
add w9, w9, #1
cmp w9, w0
b.ge LBB3_3
LBB3_27: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x21, w9, sxtw]
cmp w10, #37
b.ne LBB3_25
; %bb.28: ; in Loop: Header=BB3_27 Depth=2
add w9, w9, #2
b LBB3_26
LBB3_29: ; in Loop: Header=BB3_5 Depth=1
mov x0, x26
b LBB3_36
LBB3_30: ; in Loop: Header=BB3_5 Depth=1
mov x0, x25
b LBB3_36
LBB3_31: ; in Loop: Header=BB3_5 Depth=1
ldr x0, [sp, #16] ; 8-byte Folded Reload
b LBB3_36
LBB3_32: ; in Loop: Header=BB3_5 Depth=1
ldr x0, [sp, #24] ; 8-byte Folded Reload
b LBB3_36
LBB3_33: ; in Loop: Header=BB3_5 Depth=1
ldr x0, [sp, #32] ; 8-byte Folded Reload
b LBB3_36
LBB3_34: ; in Loop: Header=BB3_5 Depth=1
ldr x0, [sp, #40] ; 8-byte Folded Reload
b LBB3_36
LBB3_35: ; in Loop: Header=BB3_5 Depth=1
ldr x0, [sp, #48] ; 8-byte Folded Reload
LBB3_36: ; in Loop: Header=BB3_5 Depth=1
mov x1, x21
LBB3_37: ; in Loop: Header=BB3_5 Depth=1
mov w2, #1024
bl ___strcpy_chk
b LBB3_4
LBB3_38: ; in Loop: Header=BB3_5 Depth=1
strb wzr, [x19, w8, sxtw]
b LBB3_4
LBB3_39: ; in Loop: Header=BB3_5 Depth=1
mov w8, #0
strb wzr, [x19, wzr, sxtw]
b LBB3_4
LBB3_40: ; in Loop: Header=BB3_5 Depth=1
mov w8, #0
LBB3_41: ; in Loop: Header=BB3_5 Depth=1
add x8, x19, w8, sxtw
strb wzr, [x8, #1024]
b LBB3_4
LBB3_42:
mov w8, #6144
add x20, x19, x8
Lloh76:
adrp x1, l_.str.31@PAGE
Lloh77:
add x1, x1, l_.str.31@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB3_45
; %bb.43:
Lloh78:
adrp x1, l_.str.32@PAGE
Lloh79:
add x1, x1, l_.str.32@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB3_46
; %bb.44:
mov w8, #1
str w8, [x19, #11268]
add x0, x19, #2, lsl #12 ; =8192
mov w8, #9216
add x20, x19, x8
mov x1, x20
mov w2, #1024
bl ___strcpy_chk
mov w8, #7168
add x19, x19, x8
mov x0, x20
mov x1, x19
mov w2, #1024
bl ___strcpy_chk
strb wzr, [x19]
b LBB3_46
LBB3_45:
mov w8, #1
str w8, [x19, #11268]
mov w8, #21587
strh w8, [x20]
strb wzr, [x20, #2]
LBB3_46:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.cfi_endproc
.section __TEXT,__const
lJTI3_0:
.byte (LBB3_7-LBB3_7)>>2
.byte (LBB3_13-LBB3_7)>>2
.byte (LBB3_19-LBB3_7)>>2
.byte (LBB3_21-LBB3_7)>>2
.byte (LBB3_22-LBB3_7)>>2
.byte (LBB3_23-LBB3_7)>>2
.byte (LBB3_29-LBB3_7)>>2
.byte (LBB3_30-LBB3_7)>>2
.byte (LBB3_31-LBB3_7)>>2
.byte (LBB3_32-LBB3_7)>>2
.byte (LBB3_33-LBB3_7)>>2
.byte (LBB3_34-LBB3_7)>>2
.byte (LBB3_35-LBB3_7)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _findDiff ; -- Begin function findDiff
.p2align 2
_findDiff: ; @findDiff
.cfi_startproc
; %bb.0:
subs w8, w1, w0
add w8, w8, #1
add w8, w8, w2
cmp w8, #13
csinc w8, w8, wzr, ne
subs w9, w1, w0
csinc w0, w8, w9, le
ret
.cfi_endproc
; -- End function
.globl _transit ; -- Begin function transit
.p2align 2
_transit: ; @transit
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
add x0, sp, #24
bl _time
str x0, [sp, #24]
add x0, sp, #24
bl _localtime
mov x20, x0
mov x8, #29268
movk x8, #28257, lsl #16
movk x8, #26995, lsl #32
movk x8, #116, lsl #48
str x8, [x19]
add x0, x19, #2048
ldrsw x8, [x20, #16]
Lloh80:
adrp x9, _mon@PAGE
Lloh81:
add x9, x9, _mon@PAGEOFF
add x8, x9, x8, lsl #3
ldr x1, [x8, #8]
mov w2, #1024
bl ___strcpy_chk
add x0, x19, #3072
ldr w8, [x20, #12]
str x8, [sp]
Lloh82:
adrp x21, l_.str.34@PAGE
Lloh83:
add x21, x21, l_.str.34@PAGEOFF
mov w1, #0
mov w2, #1024
mov x3, x21
bl ___sprintf_chk
add x0, x19, #1, lsl #12 ; =4096
ldr w8, [x20, #20]
add w8, w8, #1900
str x8, [sp]
mov w1, #0
mov w2, #1024
mov x3, x21
bl ___sprintf_chk
mov w8, #5120
add x0, x19, x8
ldp w9, w8, [x20, #4]
stp x8, x9, [sp]
Lloh84:
adrp x3, l_.str.35@PAGE
Lloh85:
add x3, x3, l_.str.35@PAGEOFF
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
mov w8, #6146
strb wzr, [x19, x8]
mov w8, #21587
strh w8, [x19, #6144]
mov w8, #7168
add x0, x19, x8
Lloh86:
adrp x3, l_.str.36@PAGE
Lloh87:
add x3, x3, l_.str.36@PAGEOFF
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
mov x0, x19
bl _horoscope
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.cfi_endproc
; -- End function
.globl _star ; -- Begin function star
.p2align 2
_star: ; @star
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -40
.cfi_offset w28, -48
mov w9, #23680
Lloh88:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh89:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #5, lsl #12 ; =20480
sub sp, sp, #3200
Lloh90:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh91:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh92:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh93:
adrp x8, ___stdoutp@GOTPAGE
Lloh94:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh95:
ldr x19, [x8]
Lloh96:
adrp x0, l_.str.37@PAGE
Lloh97:
add x0, x0, l_.str.37@PAGEOFF
mov w1, #46
mov w2, #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
Lloh98:
adrp x0, l_.str.38@PAGE
Lloh99:
add x0, x0, l_.str.38@PAGEOFF
bl _getenv
str x0, [sp, #32]
cbz x0, LBB6_19
; %bb.1:
add x0, sp, #3, lsl #12 ; =12288
add x0, x0, #80
mov w1, #11304
bl _bzero
Lloh100:
adrp x1, l_.str.40@PAGE
Lloh101:
add x1, x1, l_.str.40@PAGEOFF
add x0, sp, #32
bl _strsep
cbz x0, LBB6_17
; %bb.2:
Lloh102:
adrp x1, l_.str.40@PAGE
Lloh103:
add x1, x1, l_.str.40@PAGEOFF
add x0, sp, #32
bl _strsep
cbz x0, LBB6_17
; %bb.3:
mov x19, x0
add x20, sp, #3, lsl #12 ; =12288
add x20, x20, #80
bl _strlen
cmp w0, #1
b.lt LBB6_16
; %bb.4:
mov w9, #0
add x8, sp, #40
b LBB6_7
LBB6_5: ; in Loop: Header=BB6_7 Depth=1
mov w10, #32
LBB6_6: ; in Loop: Header=BB6_7 Depth=1
strb w10, [x8], #1
add w9, w9, #1
cmp w9, w0
b.ge LBB6_16
LBB6_7: ; =>This Inner Loop Header: Depth=1
sxtw x11, w9
ldrb w10, [x19, x11]
cmp w10, #43
b.eq LBB6_5
; %bb.8: ; in Loop: Header=BB6_7 Depth=1
cmp w10, #37
b.ne LBB6_6
; %bb.9: ; in Loop: Header=BB6_7 Depth=1
add x12, x11, x19
ldrb w12, [x12, #1]
cmp w12, #51
b.eq LBB6_13
; %bb.10: ; in Loop: Header=BB6_7 Depth=1
cmp w12, #55
b.ne LBB6_6
; %bb.11: ; in Loop: Header=BB6_7 Depth=1
add x11, x11, #2
ldrb w12, [x19, x11]
cmp w12, #67
b.ne LBB6_6
; %bb.12: ; in Loop: Header=BB6_7 Depth=1
mov w10, #124
b LBB6_15
LBB6_13: ; in Loop: Header=BB6_7 Depth=1
add x11, x11, #2
ldrb w12, [x19, x11]
cmp w12, #65
b.ne LBB6_6
; %bb.14: ; in Loop: Header=BB6_7 Depth=1
mov w10, #58
LBB6_15: ; in Loop: Header=BB6_7 Depth=1
mov x9, x11
b LBB6_6
LBB6_16:
add x0, sp, #40
add x1, sp, #3, lsl #12 ; =12288
add x1, x1, #80
add x2, sp, #1064
bl _gethd
add x0, sp, #3, lsl #12 ; =12288
add x0, x0, #80
bl _horoscope
ldr x8, [sp, #23664]
ldr x9, [sp, #23656]
ldr w10, [x20, #11276]
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh104:
adrp x0, l_.str.41@PAGE
Lloh105:
add x0, x0, l_.str.41@PAGEOFF
bl _printf
add x0, sp, #1064
bl _transit
add x0, sp, #1064
bl _printhd
ldr x8, [sp, #12360]
ldr x9, [sp, #12352]
ldr w10, [sp, #12340]
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh106:
adrp x0, l_.str.42@PAGE
Lloh107:
add x0, x0, l_.str.42@PAGEOFF
bl _printf
ldr w8, [x20, #11276]
ldr w9, [sp, #12340]
subs w10, w9, w8
add w10, w10, #13
cmp w10, #13
csinc w10, w10, wzr, ne
subs w8, w9, w8
csinc w8, w10, w8, le
Lloh108:
adrp x9, _moPred@PAGE
Lloh109:
add x9, x9, _moPred@PAGEOFF
ldr x9, [x9, w8, sxtw #3]
stp x8, x9, [sp]
Lloh110:
adrp x0, l_.str.43@PAGE
Lloh111:
add x0, x0, l_.str.43@PAGEOFF
bl _printf
LBB6_17:
ldur x8, [x29, #-40]
Lloh112:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh113:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh114:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_20
; %bb.18:
add sp, sp, #5, lsl #12 ; =20480
add sp, sp, #3200
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #48 ; 16-byte Folded Reload
ret
LBB6_19:
Lloh115:
adrp x0, l_str@PAGE
Lloh116:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
bl _exit
LBB6_20:
bl ___stack_chk_fail
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGot Lloh88, Lloh89
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpLdrGotLdr Lloh112, Lloh113, Lloh114
.loh AdrpAdd Lloh115, Lloh116
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x0, [x1]
bl _basename
Lloh117:
adrp x1, l_.str@PAGE
Lloh118:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbnz w0, LBB7_2
; %bb.1:
bl _star
LBB7_2:
mov w0, #0
bl _exit
.loh AdrpAdd Lloh117, Lloh118
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rasi"
.section __DATA,__data
.globl _cmd ; @cmd
.p2align 3
_cmd:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Name : %s\n"
l_.str.2: ; @.str.2
.asciz "Place : %s\n"
l_.str.3: ; @.str.3
.asciz "Month : %s\n"
l_.str.4: ; @.str.4
.asciz "Date : %s\n"
l_.str.5: ; @.str.5
.asciz "Year : %s\n"
l_.str.6: ; @.str.6
.asciz "Time : %s\n"
l_.str.7: ; @.str.7
.asciz "Zone : %s\n"
l_.str.8: ; @.str.8
.asciz "Offset : %s\n"
l_.str.9: ; @.str.9
.asciz "Long : %s\n"
l_.str.10: ; @.str.10
.asciz "Lat : %s\n"
l_.str.11: ; @.str.11
.asciz "Dst : %d\n"
l_.str.13: ; @.str.13
.asciz "-qa"
l_.str.14: ; @.str.14
.asciz "-qb"
l_.str.15: ; @.str.15
.asciz "-zi"
l_.str.16: ; @.str.16
.asciz "-l"
l_.str.17: ; @.str.17
.asciz "-Yt"
l_.str.18: ; @.str.18
.asciz "-s"
l_.str.19: ; @.str.19
.asciz "0.872"
l_.str.20: ; @.str.20
.asciz "-b0"
l_.str.21: ; @.str.21
.asciz "-7"
l_.str.22: ; @.str.22
.asciz "-R0"
l_.str.23: ; @.str.23
.asciz "-R"
l_.str.24: ; @.str.24
.asciz "2"
l_.str.25: ; @.str.25
.asciz "-A"
l_.str.26: ; @.str.26
.asciz "8"
l_.str.27: ; @.str.27
.asciz "-!"
l_.str.28: ; @.str.28
.asciz "r"
l_.str.29: ; @.str.29
.asciz "%f"
.section __DATA,__const
.p2align 3 ; @rasi
_rasi:
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.47
.quad l_.str.48
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.section __TEXT,__cstring,cstring_literals
l_.str.30: ; @.str.30
.asciz "|"
.section __DATA,__const
.p2align 3 ; @mon
_mon:
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.66
.quad l_.str.67
.quad l_.str.68
.section __TEXT,__cstring,cstring_literals
l_.str.31: ; @.str.31
.asciz "AD"
l_.str.32: ; @.str.32
.asciz "ST"
l_.str.34: ; @.str.34
.asciz "%d"
l_.str.35: ; @.str.35
.asciz "%d:%d"
l_.str.36: ; @.str.36
.asciz "8:00"
l_.str.37: ; @.str.37
.asciz "Content-Type: application/json;charset=UTF-8\n\n"
l_.str.38: ; @.str.38
.asciz "QUERY_STRING"
l_.str.40: ; @.str.40
.asciz "="
l_.str.41: ; @.str.41
.asciz "Star: %s Rasi: %s %d\n"
l_.str.42: ; @.str.42
.asciz "Transit Star: %s Rasi: %s %d\n"
l_.str.43: ; @.str.43
.asciz "diff %d %s\n"
.section __DATA,__const
.p2align 3 ; @moPred
_moPred:
.quad l_.str.56
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.section __TEXT,__cstring,cstring_literals
l_.str.44: ; @.str.44
.asciz "Mesha"
l_.str.45: ; @.str.45
.asciz "Vrishabha"
l_.str.46: ; @.str.46
.asciz "Midhuna"
l_.str.47: ; @.str.47
.asciz "Kataka"
l_.str.48: ; @.str.48
.asciz "Simha"
l_.str.49: ; @.str.49
.asciz "Kanya"
l_.str.50: ; @.str.50
.asciz "Thula"
l_.str.51: ; @.str.51
.asciz "Vrischika"
l_.str.52: ; @.str.52
.asciz "Dhanas"
l_.str.53: ; @.str.53
.asciz "Makara"
l_.str.54: ; @.str.54
.asciz "Kumbha"
l_.str.55: ; @.str.55
.asciz "Meena"
l_.str.56: ; @.str.56
.space 1
l_.str.57: ; @.str.57
.asciz "Jan"
l_.str.58: ; @.str.58
.asciz "Feb"
l_.str.59: ; @.str.59
.asciz "Mar"
l_.str.60: ; @.str.60
.asciz "Apr"
l_.str.61: ; @.str.61
.asciz "May"
l_.str.62: ; @.str.62
.asciz "Jun"
l_.str.63: ; @.str.63
.asciz "Jul"
l_.str.64: ; @.str.64
.asciz "Aug"
l_.str.65: ; @.str.65
.asciz "Sep"
l_.str.66: ; @.str.66
.asciz "Oct"
l_.str.67: ; @.str.67
.asciz "Nov"
l_.str.68: ; @.str.68
.asciz "Dec"
l_.str.69: ; @.str.69
.asciz "Good relations with women and friends, good food"
l_.str.70: ; @.str.70
.asciz "Tiredness and expenditure"
l_.str.71: ; @.str.71
.asciz "Gains of money, gold and good clothes"
l_.str.72: ; @.str.72
.asciz "Accidents or ill health, trouble from relatives, sorrow and expenditure"
l_.str.73: ; @.str.73
.asciz "Indigestion, loss of money, tiresome journeys"
l_.str.74: ; @.str.74
.asciz "Victory over enemies, good health, increase in income and happiness"
l_.str.75: ; @.str.75
.asciz "Friendship and gains, good comforts of bed, conjugal bliss and company of good friends"
l_.str.76: ; @.str.76
.asciz "Trouble losses and expenses, illness, quarrels and worries"
l_.str.77: ; @.str.77
.asciz "Loss of reputation and money, heavy expenses, intimidation and worry"
l_.str.78: ; @.str.78
.asciz "Good name and reputation, gains and fulfillment of desires, happiness"
l_.str.79: ; @.str.79
.asciz "Happiness, good friends, monetary gains, good comforts of bed and increase in respect"
l_.str.80: ; @.str.80
.asciz "Carelessness and losses, misery, difference of opinion and arguments with others"
l_str: ; @str
.asciz "Invalid QUERY_STRING"
.subsections_via_symbols
|
the_stack_data/170451900.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
leaq -36(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -36(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str(%rip), %r14
leaq -40(%rbp), %r15
xorl %r12d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
addl -40(%rbp), %r12d
incl %ebx
cmpl -36(%rbp), %ebx
jl LBB0_2
LBB0_3:
leaq L_.str.1(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
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 "%d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w20, #0
mov w21, #0
add x22, sp, #8
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #8]
add w20, w8, w20
add w21, w21, #1
ldr w8, [sp, #12]
cmp w21, w8
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov w20, #0
LBB0_4:
str x20, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
|
the_stack_data/92324864.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ixgbe_watchdog_link_is_up
_ixgbe_watchdog_link_is_up: ## @ixgbe_watchdog_link_is_up
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %r13
movq 24(%rdi), %r14
movq %r14, %rdi
callq _netif_carrier_ok
testq %rax, %rax
je LBB0_1
## %bb.10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq _IXGBE_FLAG2_SEARCH_FOR_SFP@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 16(%rbx)
movl 20(%rbx), %eax
addl $-128, %eax
cmpl $2, %eax
ja LBB0_2
## %bb.3:
leaq 20(%rbx), %r15
cltq
leaq l_switch.table.ixgbe_watchdog_link_is_up(%rip), %rcx
movq (%rcx,%rax,8), %rcx
leaq l_switch.table.ixgbe_watchdog_link_is_up.9(%rip), %rdx
movq (%rdx,%rax,8), %rdx
movq %rdx, -48(%rbp) ## 8-byte Spill
leaq l_switch.table.ixgbe_watchdog_link_is_up.10(%rip), %rdx
movq (%rdx,%rax,8), %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
leaq l_switch.table.ixgbe_watchdog_link_is_up.11(%rip), %rdx
movq (%rdx,%rax,8), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl (%rcx), %esi
movq %r15, %rdi
callq _IXGBE_READ_REG
movq %rax, %r12
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
movq %r15, %rdi
callq _IXGBE_READ_REG
movq -64(%rbp), %rcx ## 8-byte Reload
testq %r12, (%rcx)
setne %r8b
movq -56(%rbp), %rcx ## 8-byte Reload
testq %rax, (%rcx)
setne %al
jmp LBB0_4
LBB0_2:
xorl %eax, %eax
xorl %r8d, %r8d
LBB0_4:
movq _drv@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq _IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r13
jne LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rdx
jmp LBB0_9
LBB0_6:
movq _IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r13
jne LBB0_8
## %bb.7:
leaq L_.str.2(%rip), %rdx
jmp LBB0_9
LBB0_8:
movq _IXGBE_LINK_SPEED_100_FULL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r13
leaq L_.str.3(%rip), %rcx
leaq L_.str.4(%rip), %rdx
cmoveq %rcx, %rdx
LBB0_9:
leaq L_.str.5(%rip), %rcx
leaq L_.str.6(%rip), %rsi
testb %al, %al
cmoveq %rsi, %rcx
leaq L_.str.7(%rip), %r9
leaq L_.str.8(%rip), %rax
cmovneq %r9, %rax
testb %r8b, %r8b
cmoveq %rsi, %rcx
cmoveq %rax, %rcx
leaq L_.str(%rip), %rsi
callq _e_info
movq %r14, %rdi
callq _netif_carrier_on
movq %rbx, %rdi
callq _ixgbe_check_vf_rate_limit
movq %rbx, %rdi
callq _ixgbe_update_default_up
movq %rbx, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ixgbe_ping_all_vfs ## TAILCALL
.cfi_endproc
## -- End function
.comm _IXGBE_FLAG2_SEARCH_FOR_SFP,4,2 ## @IXGBE_FLAG2_SEARCH_FOR_SFP
.comm _IXGBE_FCTRL,4,2 ## @IXGBE_FCTRL
.comm _IXGBE_RMCS,4,2 ## @IXGBE_RMCS
.comm _IXGBE_FCTRL_RFCE,8,3 ## @IXGBE_FCTRL_RFCE
.comm _IXGBE_RMCS_TFCE_802_3X,8,3 ## @IXGBE_RMCS_TFCE_802_3X
.comm _IXGBE_MFLCN,4,2 ## @IXGBE_MFLCN
.comm _IXGBE_FCCFG,4,2 ## @IXGBE_FCCFG
.comm _IXGBE_MFLCN_RFCE,8,3 ## @IXGBE_MFLCN_RFCE
.comm _IXGBE_FCCFG_TFCE_802_3X,8,3 ## @IXGBE_FCCFG_TFCE_802_3X
.comm _drv,4,2 ## @drv
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NIC Link is Up %s, Flow Control: %s\n"
.comm _IXGBE_LINK_SPEED_10GB_FULL,8,3 ## @IXGBE_LINK_SPEED_10GB_FULL
L_.str.1: ## @.str.1
.asciz "10 Gbps"
.comm _IXGBE_LINK_SPEED_1GB_FULL,8,3 ## @IXGBE_LINK_SPEED_1GB_FULL
L_.str.2: ## @.str.2
.asciz "1 Gbps"
.comm _IXGBE_LINK_SPEED_100_FULL,8,3 ## @IXGBE_LINK_SPEED_100_FULL
L_.str.3: ## @.str.3
.asciz "100 Mbps"
L_.str.4: ## @.str.4
.asciz "unknown speed"
L_.str.5: ## @.str.5
.asciz "RX/TX"
L_.str.6: ## @.str.6
.asciz "RX"
L_.str.7: ## @.str.7
.asciz "TX"
L_.str.8: ## @.str.8
.asciz "None"
.comm ___IXGBE_PTP_RUNNING,4,2 ## @__IXGBE_PTP_RUNNING
.comm _jiffies,4,2 ## @jiffies
.no_dead_strip _ixgbe_watchdog_link_is_up
.section __DATA,__const
.p2align 3 ## @switch.table.ixgbe_watchdog_link_is_up
l_switch.table.ixgbe_watchdog_link_is_up:
.quad _IXGBE_MFLCN
.quad _IXGBE_MFLCN
.quad _IXGBE_FCTRL
.p2align 3 ## @switch.table.ixgbe_watchdog_link_is_up.9
l_switch.table.ixgbe_watchdog_link_is_up.9:
.quad _IXGBE_FCCFG
.quad _IXGBE_FCCFG
.quad _IXGBE_RMCS
.p2align 3 ## @switch.table.ixgbe_watchdog_link_is_up.10
l_switch.table.ixgbe_watchdog_link_is_up.10:
.quad _IXGBE_MFLCN_RFCE
.quad _IXGBE_MFLCN_RFCE
.quad _IXGBE_FCTRL_RFCE
.p2align 3 ## @switch.table.ixgbe_watchdog_link_is_up.11
l_switch.table.ixgbe_watchdog_link_is_up.11:
.quad _IXGBE_FCCFG_TFCE_802_3X
.quad _IXGBE_FCCFG_TFCE_802_3X
.quad _IXGBE_RMCS_TFCE_802_3X
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ixgbe_watchdog_link_is_up
_ixgbe_watchdog_link_is_up: ; @ixgbe_watchdog_link_is_up
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
ldr x20, [x0, #24]
ldr x23, [x0]
mov x0, x20
bl _netif_carrier_ok
cbz x0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x8, _IXGBE_FLAG2_SEARCH_FOR_SFP@GOTPAGE
Lloh1:
ldr x8, [x8, _IXGBE_FLAG2_SEARCH_FOR_SFP@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldp w9, w10, [x19, #16]
bic w8, w9, w8
str w8, [x19, #16]
sub w8, w10, #128
cmp w8, #2
b.hi LBB0_4
; %bb.3:
sbfiz x8, x8, #3, #32
Lloh3:
adrp x9, l_switch.table.ixgbe_watchdog_link_is_up@PAGE
Lloh4:
add x9, x9, l_switch.table.ixgbe_watchdog_link_is_up@PAGEOFF
ldr x9, [x9, x8]
Lloh5:
adrp x10, l_switch.table.ixgbe_watchdog_link_is_up.9@PAGE
Lloh6:
add x10, x10, l_switch.table.ixgbe_watchdog_link_is_up.9@PAGEOFF
ldr x24, [x10, x8]
Lloh7:
adrp x10, l_switch.table.ixgbe_watchdog_link_is_up.10@PAGE
Lloh8:
add x10, x10, l_switch.table.ixgbe_watchdog_link_is_up.10@PAGEOFF
ldr x25, [x10, x8]
add x21, x19, #20
Lloh9:
adrp x10, l_switch.table.ixgbe_watchdog_link_is_up.11@PAGE
Lloh10:
add x10, x10, l_switch.table.ixgbe_watchdog_link_is_up.11@PAGEOFF
ldr x26, [x10, x8]
ldr w1, [x9]
mov x0, x21
bl _IXGBE_READ_REG
mov x22, x0
ldr w1, [x24]
mov x0, x21
bl _IXGBE_READ_REG
ldr x8, [x25]
tst x8, x22
cset w8, ne
ldr x9, [x26]
tst x9, x0
cset w9, ne
b LBB0_5
LBB0_4:
mov w9, #0
mov w8, #0
LBB0_5:
Lloh11:
adrp x10, _drv@GOTPAGE
Lloh12:
ldr x10, [x10, _drv@GOTPAGEOFF]
Lloh13:
ldr w0, [x10]
Lloh14:
adrp x10, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh15:
ldr x10, [x10, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x23, x10
b.ne LBB0_7
; %bb.6:
Lloh17:
adrp x2, l_.str.1@PAGE
Lloh18:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_10
LBB0_7:
Lloh19:
adrp x10, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh20:
ldr x10, [x10, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh21:
ldr x10, [x10]
cmp x23, x10
b.ne LBB0_9
; %bb.8:
Lloh22:
adrp x2, l_.str.2@PAGE
Lloh23:
add x2, x2, l_.str.2@PAGEOFF
b LBB0_10
LBB0_9:
Lloh24:
adrp x10, _IXGBE_LINK_SPEED_100_FULL@GOTPAGE
Lloh25:
ldr x10, [x10, _IXGBE_LINK_SPEED_100_FULL@GOTPAGEOFF]
Lloh26:
ldr x10, [x10]
Lloh27:
adrp x11, l_.str.4@PAGE
Lloh28:
add x11, x11, l_.str.4@PAGEOFF
Lloh29:
adrp x12, l_.str.3@PAGE
Lloh30:
add x12, x12, l_.str.3@PAGEOFF
cmp x23, x10
csel x2, x12, x11, eq
LBB0_10:
Lloh31:
adrp x10, l_.str.6@PAGE
Lloh32:
add x10, x10, l_.str.6@PAGEOFF
Lloh33:
adrp x11, l_.str.5@PAGE
Lloh34:
add x11, x11, l_.str.5@PAGEOFF
tst w8, w9
csel x10, x11, x10, ne
Lloh35:
adrp x11, l_.str.8@PAGE
Lloh36:
add x11, x11, l_.str.8@PAGEOFF
Lloh37:
adrp x12, l_.str.7@PAGE
Lloh38:
add x12, x12, l_.str.7@PAGEOFF
cmp w9, #0
csel x9, x12, x11, ne
cmp w8, #0
csel x3, x10, x9, ne
Lloh39:
adrp x1, l_.str@PAGE
Lloh40:
add x1, x1, l_.str@PAGEOFF
bl _e_info
mov x0, x20
bl _netif_carrier_on
mov x0, x19
bl _ixgbe_check_vf_rate_limit
mov x0, x19
bl _ixgbe_update_default_up
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _ixgbe_ping_all_vfs
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _IXGBE_FLAG2_SEARCH_FOR_SFP,4,2 ; @IXGBE_FLAG2_SEARCH_FOR_SFP
.comm _IXGBE_FCTRL,4,2 ; @IXGBE_FCTRL
.comm _IXGBE_RMCS,4,2 ; @IXGBE_RMCS
.comm _IXGBE_FCTRL_RFCE,8,3 ; @IXGBE_FCTRL_RFCE
.comm _IXGBE_RMCS_TFCE_802_3X,8,3 ; @IXGBE_RMCS_TFCE_802_3X
.comm _IXGBE_MFLCN,4,2 ; @IXGBE_MFLCN
.comm _IXGBE_FCCFG,4,2 ; @IXGBE_FCCFG
.comm _IXGBE_MFLCN_RFCE,8,3 ; @IXGBE_MFLCN_RFCE
.comm _IXGBE_FCCFG_TFCE_802_3X,8,3 ; @IXGBE_FCCFG_TFCE_802_3X
.comm _drv,4,2 ; @drv
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "NIC Link is Up %s, Flow Control: %s\n"
.comm _IXGBE_LINK_SPEED_10GB_FULL,8,3 ; @IXGBE_LINK_SPEED_10GB_FULL
l_.str.1: ; @.str.1
.asciz "10 Gbps"
.comm _IXGBE_LINK_SPEED_1GB_FULL,8,3 ; @IXGBE_LINK_SPEED_1GB_FULL
l_.str.2: ; @.str.2
.asciz "1 Gbps"
.comm _IXGBE_LINK_SPEED_100_FULL,8,3 ; @IXGBE_LINK_SPEED_100_FULL
l_.str.3: ; @.str.3
.asciz "100 Mbps"
l_.str.4: ; @.str.4
.asciz "unknown speed"
l_.str.5: ; @.str.5
.asciz "RX/TX"
l_.str.6: ; @.str.6
.asciz "RX"
l_.str.7: ; @.str.7
.asciz "TX"
l_.str.8: ; @.str.8
.asciz "None"
.comm ___IXGBE_PTP_RUNNING,4,2 ; @__IXGBE_PTP_RUNNING
.comm _jiffies,4,2 ; @jiffies
.no_dead_strip _ixgbe_watchdog_link_is_up
.section __DATA,__const
.p2align 3 ; @switch.table.ixgbe_watchdog_link_is_up
l_switch.table.ixgbe_watchdog_link_is_up:
.quad _IXGBE_MFLCN
.quad _IXGBE_MFLCN
.quad _IXGBE_FCTRL
.p2align 3 ; @switch.table.ixgbe_watchdog_link_is_up.9
l_switch.table.ixgbe_watchdog_link_is_up.9:
.quad _IXGBE_FCCFG
.quad _IXGBE_FCCFG
.quad _IXGBE_RMCS
.p2align 3 ; @switch.table.ixgbe_watchdog_link_is_up.10
l_switch.table.ixgbe_watchdog_link_is_up.10:
.quad _IXGBE_MFLCN_RFCE
.quad _IXGBE_MFLCN_RFCE
.quad _IXGBE_FCTRL_RFCE
.p2align 3 ; @switch.table.ixgbe_watchdog_link_is_up.11
l_switch.table.ixgbe_watchdog_link_is_up.11:
.quad _IXGBE_FCCFG_TFCE_802_3X
.quad _IXGBE_FCCFG_TFCE_802_3X
.quad _IXGBE_RMCS_TFCE_802_3X
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_main.c_ixgbe_watchdog_link_is_up.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.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_25
## %bb.1:
movq %rdi, %r14
xorl %r15d, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
callq _foo2
testq %r12, %r12
je LBB0_23
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
incq %r15
movslq (%r14), %rax
cmpq %rax, %r15
jge LBB0_25
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_12 Depth 3
movq 8(%r14), %rax
movq (%rax,%r15,8), %r13
callq _foo1
movq %rax, %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_3 Depth=2
movq (%r12), %rcx
movq 8(%r12), %rdx
movq %rax, (%rdx,%rcx,8)
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_12 Depth 3
movl 4(%r13), %eax
LBB0_4: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
testl %eax, %eax
je LBB0_22
## %bb.5: ## in Loop: Header=BB0_4 Depth=3
cmpl $0, 16(%r13)
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_4 Depth=3
cmpl $0, 20(%r13)
jle LBB0_4
## %bb.7: ## in Loop: Header=BB0_3 Depth=2
callq _foo2
testq %rax, %rax
jne LBB0_21
## %bb.8: ## in Loop: Header=BB0_3 Depth=2
movl 20(%r13), %ebx
testl %ebx, %ebx
js LBB0_21
## %bb.9: ## in Loop: Header=BB0_3 Depth=2
leaq 1(%rbx), %r8
testq %rbx, %rbx
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_3 Depth=2
movl %r8d, %r9d
andl $-2, %r9d
xorl %esi, %esi
jmp LBB0_12
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_12 Depth=3
incq %rsi
cmpq %r9, %rsi
je LBB0_17
LBB0_12: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
movq %rsi, %rdx
cmpq %rsi, %rbx
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=3
movq 8(%r13), %rsi
movq %rbx, %rcx
shlq $4, %rcx
imulq $1000000, (%rsi,%rcx), %rcx ## imm = 0xF4240
addq %rcx, 24(%r13)
LBB0_14: ## in Loop: Header=BB0_12 Depth=3
leaq 1(%rdx), %rsi
cmpq %rbx, %rsi
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_12 Depth=3
movq 8(%r13), %rcx
movq %rbx, %rdi
shlq $4, %rdi
imulq $1000000, (%rcx,%rdi), %rcx ## imm = 0xF4240
addq %rcx, 24(%r13)
jmp LBB0_16
LBB0_17: ## in Loop: Header=BB0_3 Depth=2
addq $2, %rdx
testb $1, %r8b
jne LBB0_19
jmp LBB0_21
LBB0_10: ## in Loop: Header=BB0_3 Depth=2
xorl %edx, %edx
testb $1, %r8b
je LBB0_21
LBB0_19: ## in Loop: Header=BB0_3 Depth=2
cmpq %rbx, %rdx
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=2
movq 8(%r13), %rcx
shlq $4, %rbx
imulq $1000000, (%rcx,%rbx), %rcx ## imm = 0xF4240
addq %rcx, 24(%r13)
jmp LBB0_21
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movq 8, %rcx
movq %rax, (%rcx)
jmp LBB0_24
LBB0_25:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.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
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_16
; %bb.1:
mov x19, x0
mov x21, #0
mov w22, #8
mov w23, #16960
movk w23, #15, lsl #16
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
ldrsw x8, [x19]
cmp x21, x8
b.ge LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_14 Depth 3
ldr x8, [x19, #8]
ldr x24, [x8, x21, lsl #3]
bl _foo1
mov x20, x0
ldr w8, [x24, #4]
cbnz w8, LBB0_8
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
bl _foo2
cbnz x20, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x22]
str x0, [x8]
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
ldp x9, x8, [x20]
str x0, [x8, x9, lsl #3]
ldr w8, [x24, #4]
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
cbz w8, LBB0_4
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_14 Depth 3
ldr w9, [x24, #16]
cbz w9, LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr w9, [x24, #20]
cmp w9, #1
b.lt LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
bl _foo2
cbnz x0, LBB0_6
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
ldr w8, [x24, #20]
tbnz w8, #31, LBB0_6
; %bb.12: ; in Loop: Header=BB0_8 Depth=2
add w9, w8, #1
mov x10, x8
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=3
sub x10, x10, #1
subs x9, x9, #1
b.eq LBB0_6
LBB0_14: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_8 Depth=2
; => This Inner Loop Header: Depth=3
cbnz x10, LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=3
ldr x11, [x24, #8]
lsl x12, x8, #4
ldr x11, [x11, x12]
ldr x12, [x24, #24]
madd x11, x11, x23, x12
str x11, [x24, #24]
b LBB0_13
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
the_stack_data/1139912.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hashlimit_init_dst
_hashlimit_init_dst: ## @hashlimit_init_dst
.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, %r12d
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %r14d, %r14d
movq %rsi, %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
cmpl $129, (%rbx)
jne LBB0_16
## %bb.1:
movl 4(%rbx), %eax
movq _XT_HASHLIMIT_HASH_DIP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.2:
movq %r13, %rdi
callq _ip_hdr
movl 8(%rax), %edi
movl 12(%rbx), %esi
callq _maskl
movq %rax, 32(%r15)
movl 4(%rbx), %eax
LBB0_3:
movq _XT_HASHLIMIT_HASH_SIP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_5
## %bb.4:
movq %r13, %rdi
callq _ip_hdr
movl 4(%rax), %edi
movl 8(%rbx), %esi
callq _maskl
movq %rax, 24(%r15)
movl 4(%rbx), %eax
LBB0_5:
movq _XT_HASHLIMIT_HASH_DPT@GOTPCREL(%rip), %rdx
movq _XT_HASHLIMIT_HASH_SPT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdx), %ecx
testl %eax, %ecx
je LBB0_14
## %bb.6:
movq %r13, %rdi
callq _ip_hdr
movl $-130, %ecx
addl (%rax), %ecx
cmpl $5, %ecx
jae LBB0_7
## %bb.12:
leaq -64(%rbp), %rcx
movq %r13, %rdi
movl %r12d, %esi
movl $16, %edx
callq _skb_header_pointer
testq %rax, %rax
jne LBB0_8
## %bb.13:
movl $-1, %r14d
jmp LBB0_14
LBB0_16:
xorl %eax, %eax
callq _BUG
jmp LBB0_14
LBB0_7:
leaq -64(%rbp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
LBB0_8:
movl 4(%rbx), %ecx
movq _XT_HASHLIMIT_HASH_SPT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_10
## %bb.9:
movq (%rax), %rdx
movq %rdx, 8(%r15)
LBB0_10:
movq _XT_HASHLIMIT_HASH_DPT@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_14
## %bb.11:
movq 8(%rax), %rax
movq %rax, (%r15)
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_17
## %bb.15:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _XT_HASHLIMIT_HASH_DIP,4,2 ## @XT_HASHLIMIT_HASH_DIP
.comm _XT_HASHLIMIT_HASH_SIP,4,2 ## @XT_HASHLIMIT_HASH_SIP
.comm _XT_HASHLIMIT_HASH_DPT,4,2 ## @XT_HASHLIMIT_HASH_DPT
.comm _XT_HASHLIMIT_HASH_SPT,4,2 ## @XT_HASHLIMIT_HASH_SPT
.no_dead_strip _hashlimit_init_dst
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hashlimit_init_dst
_hashlimit_init_dst: ; @hashlimit_init_dst
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
mov x0, x1
mov w1, #0
mov w2, #40
bl _memset
ldr w8, [x20]
cmp w8, #129
b.ne LBB0_9
; %bb.1:
ldr w8, [x20, #4]
Lloh3:
adrp x9, _XT_HASHLIMIT_HASH_DIP@GOTPAGE
Lloh4:
ldr x9, [x9, _XT_HASHLIMIT_HASH_DIP@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.2:
mov x0, x22
bl _ip_hdr
ldr w0, [x0, #8]
ldr w1, [x20, #12]
bl _maskl
str x0, [x19, #32]
ldr w8, [x20, #4]
LBB0_3:
Lloh6:
adrp x9, _XT_HASHLIMIT_HASH_SIP@GOTPAGE
Lloh7:
ldr x9, [x9, _XT_HASHLIMIT_HASH_SIP@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_5
; %bb.4:
mov x0, x22
bl _ip_hdr
ldr w0, [x0, #4]
ldr w1, [x20, #8]
bl _maskl
str x0, [x19, #24]
ldr w8, [x20, #4]
LBB0_5:
Lloh9:
adrp x23, _XT_HASHLIMIT_HASH_DPT@GOTPAGE
Lloh10:
ldr x23, [x23, _XT_HASHLIMIT_HASH_DPT@GOTPAGEOFF]
ldr w9, [x23]
Lloh11:
adrp x24, _XT_HASHLIMIT_HASH_SPT@GOTPAGE
Lloh12:
ldr x24, [x24, _XT_HASHLIMIT_HASH_SPT@GOTPAGEOFF]
ldr w10, [x24]
orr w9, w10, w9
tst w9, w8
b.eq LBB0_10
; %bb.6:
mov x0, x22
bl _ip_hdr
ldr w8, [x0]
sub w8, w8, #130
cmp w8, #5
b.hs LBB0_13
; %bb.7:
add x3, sp, #8
mov x0, x22
mov x1, x21
mov w2, #16
bl _skb_header_pointer
cbnz x0, LBB0_14
; %bb.8:
mov w8, #-1
b LBB0_11
LBB0_9:
bl _BUG
LBB0_10:
mov w8, #0
LBB0_11:
ldr x9, [sp, #24]
Lloh13:
adrp x10, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x10, [x10]
cmp x10, x9
b.ne LBB0_18
; %bb.12:
mov x0, x8
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_13:
add x0, sp, #8
stp xzr, xzr, [sp, #8]
LBB0_14:
ldr w8, [x20, #4]
ldr w9, [x24]
tst w9, w8
b.eq LBB0_16
; %bb.15:
ldr x9, [x0]
str x9, [x19, #8]
LBB0_16:
ldr w9, [x23]
tst w9, w8
b.eq LBB0_10
; %bb.17:
mov w8, #0
ldr x9, [x0, #8]
str x9, [x19]
b LBB0_11
LBB0_18:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _XT_HASHLIMIT_HASH_DIP,4,2 ; @XT_HASHLIMIT_HASH_DIP
.comm _XT_HASHLIMIT_HASH_SIP,4,2 ; @XT_HASHLIMIT_HASH_SIP
.comm _XT_HASHLIMIT_HASH_DPT,4,2 ; @XT_HASHLIMIT_HASH_DPT
.comm _XT_HASHLIMIT_HASH_SPT,4,2 ; @XT_HASHLIMIT_HASH_SPT
.no_dead_strip _hashlimit_init_dst
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_hashlimit.c_hashlimit_init_dst.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function R_CullTriSurf
_R_CullTriSurf: ## @R_CullTriSurf
.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 _R_CullLocalBox
movq _CULL_OUT@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_1
## %bb.2:
movq _qtrue@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _qfalse@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CULL_OUT,4,2 ## @CULL_OUT
.comm _qtrue,4,2 ## @qtrue
.comm _qfalse,4,2 ## @qfalse
.no_dead_strip _R_CullTriSurf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function R_CullTriSurf
_R_CullTriSurf: ; @R_CullTriSurf
.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 _R_CullLocalBox
Lloh0:
adrp x8, _CULL_OUT@GOTPAGE
Lloh1:
ldr x8, [x8, _CULL_OUT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _qtrue@GOTPAGE
Lloh4:
ldr x9, [x9, _qtrue@GOTPAGEOFF]
Lloh5:
adrp x10, _qfalse@GOTPAGE
Lloh6:
ldr x10, [x10, _qfalse@GOTPAGEOFF]
cmp w0, w8
csel x8, x9, x10, eq
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CULL_OUT,4,2 ; @CULL_OUT
.comm _qtrue,4,2 ; @qtrue
.comm _qfalse,4,2 ; @qfalse
.no_dead_strip _R_CullTriSurf
.subsections_via_symbols
|
AnghaBench/lab/engine/code/renderergl1/extr_tr_world.c_R_CullTriSurf.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function daio_mgr_enb_dao
_daio_mgr_enb_dao: ## @daio_mgr_enb_dao
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
cmpl $3, %esi
ja LBB0_2
## %bb.1:
leaq 12(%r14), %rdi
movq _SPOCTL_OE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leal (,%rbx,8), %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %esi
movl $1, %edx
callq _set_field
jmp LBB0_3
LBB0_2:
andl $3, %ebx
leaq 8(%r14), %rdi
movq _I2SCTL_EA@GOTPCREL(%rip), %rax
movl (%rax), %esi
leal (,%rbx,8), %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %esi
movl $1, %edx
callq _set_field
addq $4, %r14
LBB0_3:
movl $1, %eax
movl %ebx, %ecx
shll %cl, %eax
orl %eax, (%r14)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SPOCTL_OE,4,2 ## @SPOCTL_OE
.comm _I2SCTL_EA,4,2 ## @I2SCTL_EA
.no_dead_strip _daio_mgr_enb_dao
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function daio_mgr_enb_dao
_daio_mgr_enb_dao: ; @daio_mgr_enb_dao
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
cmp w1, #3
b.hi LBB0_2
; %bb.1:
add x0, x19, #12
Lloh0:
adrp x8, _SPOCTL_OE@GOTPAGE
Lloh1:
ldr x8, [x8, _SPOCTL_OE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w9, w20, #3
lsl w1, w8, w9
mov w2, #1
bl _set_field
b LBB0_3
LBB0_2:
and w20, w20, #0x3
add x0, x19, #8
Lloh3:
adrp x8, _I2SCTL_EA@GOTPAGE
Lloh4:
ldr x8, [x8, _I2SCTL_EA@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl w9, w20, #3
lsl w1, w8, w9
mov w2, #1
bl _set_field
add x19, x19, #4
LBB0_3:
mov w8, #1
lsl w8, w8, w20
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SPOCTL_OE,4,2 ; @SPOCTL_OE
.comm _I2SCTL_EA,4,2 ; @I2SCTL_EA
.no_dead_strip _daio_mgr_enb_dao
.subsections_via_symbols
|
AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_daio_mgr_enb_dao.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 20(%rsi), %eax
addl 28(%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _array ## -- Begin function array
.p2align 4, 0x90
_array: ## @array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "x=%d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.cfi_startproc
; %bb.0:
ldr w8, [x0, #28]
ldr w9, [x1, #20]
add w0, w9, w8
ret
.cfi_endproc
; -- End function
.globl _array ; -- Begin function array
.p2align 2
_array: ; @array
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "x=%d"
.subsections_via_symbols
|
the_stack_data/346498.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rcu_segcblist_merge ## -- Begin function rcu_segcblist_merge
.p2align 4, 0x90
_rcu_segcblist_merge: ## @rcu_segcblist_merge
.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 %rsi, %rbx
movq %rdi, %r14
leaq -48(%rbp), %r15
movq %r15, %rdi
callq _rcu_cblist_init
leaq -40(%rbp), %r12
movq %r12, %rdi
callq _rcu_cblist_init
movq %rbx, %rdi
movq %r15, %rsi
callq _rcu_segcblist_extract_count
movq %rbx, %rdi
movq %r15, %rsi
callq _rcu_segcblist_extract_done_cbs
movq %rbx, %rdi
movq %r12, %rsi
callq _rcu_segcblist_extract_pend_cbs
movq %r14, %rdi
movq %r15, %rsi
callq _rcu_segcblist_insert_count
movq %r14, %rdi
movq %r15, %rsi
callq _rcu_segcblist_insert_done_cbs
movq %r14, %rdi
movq %r12, %rsi
callq _rcu_segcblist_insert_pend_cbs
movq %rbx, %rdi
callq _rcu_segcblist_init
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 _rcu_segcblist_merge ; -- Begin function rcu_segcblist_merge
.p2align 2
_rcu_segcblist_merge: ; @rcu_segcblist_merge
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
add x0, sp, #8
bl _rcu_cblist_init
mov x0, sp
bl _rcu_cblist_init
add x1, sp, #8
mov x0, x19
bl _rcu_segcblist_extract_count
add x1, sp, #8
mov x0, x19
bl _rcu_segcblist_extract_done_cbs
mov x1, sp
mov x0, x19
bl _rcu_segcblist_extract_pend_cbs
add x1, sp, #8
mov x0, x20
bl _rcu_segcblist_insert_count
add x1, sp, #8
mov x0, x20
bl _rcu_segcblist_insert_done_cbs
mov x1, sp
mov x0, x20
bl _rcu_segcblist_insert_pend_cbs
mov x0, x19
bl _rcu_segcblist_init
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/linux/kernel/rcu/extr_rcu_segcblist.c_rcu_segcblist_merge.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _count_sublists ## -- Begin function count_sublists
.p2align 4, 0x90
_count_sublists: ## @count_sublists
.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 _Sublists@GOTPCREL(%rip), %rax
movq (%rax), %r8
movq (%r8), %rax
movq 8(%r8), %rdx
xorl %ebx, %ebx
movq %rax, %rsi
orq %rdx, %rsi
je LBB0_3
## %bb.1:
movq _Sublists_packed@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
xorl %edi, %edi
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rdx, 8(%rsi,%rdi)
movq %rax, (%rsi,%rdi)
movq 16(%r8,%rdi), %rax
movq 24(%r8,%rdi), %rdx
incl %ebx
addq $16, %rdi
movq %rax, %rcx
orq %rdx, %rcx
jne LBB0_2
LBB0_3:
movq _sublists_num@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _MAX_SUBLISTS@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl %ebx, (%rax)
setge %dil
callq _assert
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Sublists,8,3 ## @Sublists
.comm _Sublists_packed,8,3 ## @Sublists_packed
.comm _sublists_num,4,2 ## @sublists_num
.comm _MAX_SUBLISTS,4,2 ## @MAX_SUBLISTS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _count_sublists ; -- Begin function count_sublists
.p2align 2
_count_sublists: ; @count_sublists
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _Sublists@GOTPAGE
Lloh1:
ldr x8, [x8, _Sublists@GOTPAGEOFF]
Lloh2:
ldr x10, [x8]
ldp x8, x9, [x10]
mov w19, #0
orr x11, x8, x9
cbz x11, LBB0_3
; %bb.1:
Lloh3:
adrp x11, _Sublists_packed@GOTPAGE
Lloh4:
ldr x11, [x11, _Sublists_packed@GOTPAGEOFF]
Lloh5:
ldr x11, [x11]
add x10, x10, #24
add x11, x11, #8
LBB0_2: ; =>This Inner Loop Header: Depth=1
stp x8, x9, [x11, #-8]
ldp x8, x9, [x10, #-8]
add w19, w19, #1
add x10, x10, #16
add x11, x11, #16
orr x12, x8, x9
cbnz x12, LBB0_2
LBB0_3:
Lloh6:
adrp x8, _sublists_num@GOTPAGE
Lloh7:
ldr x8, [x8, _sublists_num@GOTPAGEOFF]
Lloh8:
str w19, [x8]
Lloh9:
adrp x8, _MAX_SUBLISTS@GOTPAGE
Lloh10:
ldr x8, [x8, _MAX_SUBLISTS@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
cmp w8, w19
cset w0, ge
bl _assert
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _Sublists,8,3 ; @Sublists
.comm _Sublists_packed,8,3 ; @Sublists_packed
.comm _sublists_num,4,2 ; @sublists_num
.comm _MAX_SUBLISTS,4,2 ; @MAX_SUBLISTS
.subsections_via_symbols
|
AnghaBench/kphp-kdb/text/extr_text-index.c_count_sublists.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___cvmx_helper_cfg_pko_port_base ## -- Begin function __cvmx_helper_cfg_pko_port_base
.p2align 4, 0x90
___cvmx_helper_cfg_pko_port_base: ## @__cvmx_helper_cfg_pko_port_base
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cvmx_cfg_port@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %edi, %rcx
movq (%rax,%rcx,8), %rax
movslq %esi, %rcx
movl (%rax,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cvmx_cfg_port,8,3 ## @cvmx_cfg_port
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___cvmx_helper_cfg_pko_port_base ; -- Begin function __cvmx_helper_cfg_pko_port_base
.p2align 2
___cvmx_helper_cfg_pko_port_base: ; @__cvmx_helper_cfg_pko_port_base
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _cvmx_cfg_port@GOTPAGE
Lloh1:
ldr x8, [x8, _cvmx_cfg_port@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x8, [x8, w0, sxtw #3]
ldr w0, [x8, w1, sxtw #2]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cvmx_cfg_port,8,3 ; @cvmx_cfg_port
.subsections_via_symbols
|
AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-helper-cfg.c___cvmx_helper_cfg_pko_port_base.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ptls_base64_decode ## -- Begin function ptls_base64_decode
.p2align 4, 0x90
_ptls_base64_decode: ## @ptls_base64_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
xorl %ebx, %ebx
movabsq $4294977024, %rax ## imm = 0x100002600
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%r12,%rbx), %edx
cmpq $32, %rdx
ja LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
btq %rdx, %rax
jae LBB0_3
## %bb.38: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
jmp LBB0_1
LBB0_3:
testq %rdx, %rdx
jne LBB0_4
LBB0_31:
xorl %eax, %eax
LBB0_36:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_39
## %bb.37:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_4 Depth=1
movl $0, 16(%r15)
movabsq $12884901888, %rax ## imm = 0x300000000
movq %rax, 8(%r15)
LBB0_35: ## in Loop: Header=BB0_4 Depth=1
movb (%r12,%rbx), %dl
movl $0, %eax
testb %dl, %dl
je LBB0_36
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_33 Depth 2
movq (%r15), %rcx
movq _PTLS_BASE64_DECODE_IN_PROGRESS@GOTPCREL(%rip), %rsi
xorl %eax, %eax
cmpq (%rsi), %rcx
jne LBB0_36
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
leal -1(%rdx), %ecx
cmpb $126, %cl
jae LBB0_6
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
leaq 1(%rbx), %rsi
movq _ptls_base64_values@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movzbl %dl, %edi
movl (%rcx,%rdi,4), %edi
shll $24, %edi
cmpl $-16777216, %edi ## imm = 0xFF000000
jne LBB0_21
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movl 8(%r15), %ecx
cmpl $2, %ecx
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpb $61, %dl
jne LBB0_16
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movl $2, %ecx
cmpb $61, (%r12,%rsi)
jne LBB0_7
## %bb.15: ## in Loop: Header=BB0_4 Depth=1
movl $4, 8(%r15)
addq $2, %rbx
movl $12, %ecx
movl $1, %edx
jmp LBB0_19
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movl 8(%r15), %ecx
jmp LBB0_7
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
sarl $24, %edi
movl 8(%r15), %ecx
movl 16(%r15), %eax
incl %ecx
movl %ecx, 8(%r15)
shll $6, %eax
orl %edi, %eax
movl %eax, 16(%r15)
movq %rsi, %rbx
jmp LBB0_22
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
cmpl $3, %ecx
jne LBB0_7
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
cmpb $61, %dl
jne LBB0_7
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movl $4, 8(%r15)
movl $6, %ecx
movl $2, %edx
movq %rsi, %rbx
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
movl %edx, 12(%r15)
## kill: def $cl killed $cl killed $ecx
shll %cl, 16(%r15)
jmp LBB0_24
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_7 Depth=2
incq %rbx
LBB0_7: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12,%rbx), %edx
leal -9(%rdx), %esi
cmpb $5, %sil
jb LBB0_20
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
cmpb $32, %dl
je LBB0_20
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
testb %dl, %dl
je LBB0_36
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movl $0, 12(%r15)
movq _PTLS_BASE64_DECODE_FAILED@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r15)
movq _PTLS_ERROR_INCORRECT_BASE64@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jne LBB0_36
LBB0_22: ## in Loop: Header=BB0_4 Depth=1
cmpl $4, %ecx
jne LBB0_35
## %bb.23: ## in Loop: Header=BB0_4 Depth=1
movl 12(%r15), %edx
testl %edx, %edx
jle LBB0_28
LBB0_24: ## in Loop: Header=BB0_4 Depth=1
movl 16(%r15), %r10d
movl %edx, %r8d
cmpl $1, %edx
jne LBB0_32
## %bb.25: ## in Loop: Header=BB0_4 Depth=1
xorl %edi, %edi
jmp LBB0_26
LBB0_32: ## in Loop: Header=BB0_4 Depth=1
movl %r8d, %r9d
andl $-2, %r9d
movl $8, %eax
xorl %edi, %edi
.p2align 4, 0x90
LBB0_33: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
leal 8(%rax), %ecx
movl %r10d, %esi
## kill: def $cl killed $cl killed $ecx
sarl %cl, %esi
movslq %esi, %rcx
movq %rcx, -64(%rbp,%rdi,8)
movl %r10d, %esi
movl %eax, %ecx
sarl %cl, %esi
movslq %esi, %rcx
movq %rcx, -56(%rbp,%rdi,8)
addq $2, %rdi
addl $-16, %eax
cmpq %rdi, %r9
jne LBB0_33
LBB0_26: ## in Loop: Header=BB0_4 Depth=1
testb $1, %r8b
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_4 Depth=1
leal (,%rdi,8), %eax
movb $16, %cl
subb %al, %cl
sarl %cl, %r10d
movslq %r10d, %rax
movq %rax, -64(%rbp,%rdi,8)
LBB0_28: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %rsi
movq %r14, %rdi
callq _ptls_buffer__do_pushv
testl %eax, %eax
jne LBB0_36
## %bb.29: ## in Loop: Header=BB0_4 Depth=1
cmpl $2, 12(%r15)
jg LBB0_34
## %bb.30:
movq _PTLS_BASE64_DECODE_DONE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r15)
jmp LBB0_31
LBB0_39:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _PTLS_BASE64_DECODE_IN_PROGRESS,8,3 ## @PTLS_BASE64_DECODE_IN_PROGRESS
.comm _ptls_base64_values,8,3 ## @ptls_base64_values
.comm _PTLS_BASE64_DECODE_FAILED,8,3 ## @PTLS_BASE64_DECODE_FAILED
.comm _PTLS_ERROR_INCORRECT_BASE64,4,2 ## @PTLS_ERROR_INCORRECT_BASE64
.comm _PTLS_BASE64_DECODE_DONE,8,3 ## @PTLS_BASE64_DECODE_DONE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function ptls_base64_decode
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
lCPI0_1:
.long 0 ; 0x0
.long 3 ; 0x3
.section __TEXT,__text,regular,pure_instructions
.globl _ptls_base64_decode
.p2align 2
_ptls_base64_decode: ; @ptls_base64_decode
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp d13, d12, [sp, #32] ; 16-byte Folded Spill
stp d11, d10, [sp, #48] ; 16-byte Folded Spill
stp d9, d8, [sp, #64] ; 16-byte Folded Spill
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
.cfi_offset b12, -136
.cfi_offset b13, -144
mov x20, x2
mov x19, x1
mov x21, x0
mov x27, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
mov w8, #1
mov x9, #9728
movk x9, #1, lsl #32
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x21, x27]
cmp w10, #32
b.hi LBB0_8
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
lsl x11, x8, x10
tst x11, x9
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x27, x27, #1
b LBB0_1
LBB0_4:
cbnz x10, LBB0_8
LBB0_5:
mov w0, #0
LBB0_6:
ldr x8, [sp, #24]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_43
; %bb.7:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
ldp d9, d8, [sp, #64] ; 16-byte Folded Reload
ldp d11, d10, [sp, #48] ; 16-byte Folded Reload
ldp d13, d12, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_8:
mov x22, sp
add x23, x22, #32
Lloh6:
adrp x24, _PTLS_BASE64_DECODE_IN_PROGRESS@GOTPAGE
Lloh7:
ldr x24, [x24, _PTLS_BASE64_DECODE_IN_PROGRESS@GOTPAGEOFF]
Lloh8:
adrp x25, _ptls_base64_values@GOTPAGE
Lloh9:
ldr x25, [x25, _ptls_base64_values@GOTPAGEOFF]
mov w26, #-16777216
Lloh10:
adrp x8, lCPI0_0@PAGE
Lloh11:
ldr d8, [x8, lCPI0_0@PAGEOFF]
movi.2s v9, #16
mvni.2s v10, #15
mvni.2s v11, #31
movi.2s v12, #8
Lloh12:
adrp x8, lCPI0_1@PAGE
Lloh13:
ldr d13, [x8, lCPI0_1@PAGEOFF]
Lloh14:
adrp x28, _PTLS_ERROR_INCORRECT_BASE64@GOTPAGE
Lloh15:
ldr x28, [x28, _PTLS_ERROR_INCORRECT_BASE64@GOTPAGEOFF]
; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
; Child Loop BB0_33 Depth 2
; Child Loop BB0_36 Depth 2
ldr x8, [x19]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_5
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
sub w8, w10, #1
cmp w8, #126
b.hs LBB0_16
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
add x9, x27, #1
ldr x8, [x25]
and x11, x10, #0xff
ldr w8, [x8, x11, lsl #2]
lsl w11, w8, #24
cmp w11, w26
b.ne LBB0_17
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x19, #8]
cmp w8, #2
b.ne LBB0_18
; %bb.13: ; in Loop: Header=BB0_9 Depth=1
cmp w10, #61
b.ne LBB0_18
; %bb.14: ; in Loop: Header=BB0_9 Depth=1
ldrb w8, [x21, x9]
cmp w8, #61
b.ne LBB0_22
; %bb.15: ; in Loop: Header=BB0_9 Depth=1
mov w8, #4
str w8, [x19, #8]
add x9, x27, #2
mov w8, #12
mov w2, #1
b LBB0_21
LBB0_16: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x19, #8]
b LBB0_24
LBB0_17: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x19, #8]
add w8, w8, #1
str w8, [x19, #8]
ldr w10, [x19, #16]
lsl w10, w10, #6
orr w10, w10, w11, asr #24
str w10, [x19, #16]
mov x27, x9
b LBB0_28
LBB0_18: ; in Loop: Header=BB0_9 Depth=1
cmp w8, #3
b.ne LBB0_24
; %bb.19: ; in Loop: Header=BB0_9 Depth=1
cmp w10, #61
b.ne LBB0_24
; %bb.20: ; in Loop: Header=BB0_9 Depth=1
mov w8, #4
str w8, [x19, #8]
mov w8, #6
mov w2, #2
LBB0_21: ; in Loop: Header=BB0_9 Depth=1
ldr w10, [x19, #16]
lsl w8, w10, w8
stp w2, w8, [x19, #12]
mov x27, x9
b LBB0_30
LBB0_22: ; in Loop: Header=BB0_9 Depth=1
mov w8, #2
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_24 Depth=2
add x27, x27, #1
LBB0_24: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x21, x27]
sub w10, w9, #9
cmp w10, #5
b.lo LBB0_23
; %bb.25: ; in Loop: Header=BB0_24 Depth=2
cmp w9, #32
b.eq LBB0_23
; %bb.26: ; in Loop: Header=BB0_9 Depth=1
cbz w9, LBB0_5
; %bb.27: ; in Loop: Header=BB0_9 Depth=1
str wzr, [x19, #12]
Lloh16:
adrp x9, _PTLS_BASE64_DECODE_FAILED@GOTPAGE
Lloh17:
ldr x9, [x9, _PTLS_BASE64_DECODE_FAILED@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
str x9, [x19]
ldr w0, [x28]
cbnz w0, LBB0_6
LBB0_28: ; in Loop: Header=BB0_9 Depth=1
cmp w8, #4
b.ne LBB0_41
; %bb.29: ; in Loop: Header=BB0_9 Depth=1
ldr w2, [x19, #12]
cmp w2, #0
b.le LBB0_38
LBB0_30: ; in Loop: Header=BB0_9 Depth=1
mov w8, w2
ldr w9, [x19, #16]
cmp w2, #8
b.hs LBB0_32
; %bb.31: ; in Loop: Header=BB0_9 Depth=1
mov x10, #0
b LBB0_35
LBB0_32: ; in Loop: Header=BB0_9 Depth=1
and x10, x8, #0xfffffff8
dup.2s v0, w9
mov x11, x10
mov x12, x23
fmov d1, d8
LBB0_33: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
shl.2s v2, v1, #3
sub.2s v3, v2, v9
sshl.2s v3, v0, v3
sshl.2s v4, v0, v2
sub.2s v5, v2, v10
sshl.2s v5, v0, v5
sub.2s v2, v2, v11
sshl.2s v2, v0, v2
sshll.2d v3, v3, #0
sshll.2d v4, v4, #0
sshll.2d v5, v5, #0
sshll.2d v2, v2, #0
stp q3, q4, [x12, #-32]
stp q5, q2, [x12], #64
add.2s v1, v1, v12
subs x11, x11, #8
b.ne LBB0_33
; %bb.34: ; in Loop: Header=BB0_9 Depth=1
cmp x10, x8
b.eq LBB0_37
LBB0_35: ; in Loop: Header=BB0_9 Depth=1
mov w11, #16
sub w11, w11, w10, lsl #3
LBB0_36: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
asr w12, w9, w11
sxtw x12, w12
str x12, [x22, x10, lsl #3]
add x10, x10, #1
sub w11, w11, #8
cmp x8, x10
b.ne LBB0_36
LBB0_37: ; in Loop: Header=BB0_9 Depth=1
mov x2, x8
LBB0_38: ; in Loop: Header=BB0_9 Depth=1
mov x1, sp
mov x0, x20
bl _ptls_buffer__do_pushv
cbnz w0, LBB0_6
; %bb.39: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x19, #12]
cmp w8, #2
b.le LBB0_42
; %bb.40: ; in Loop: Header=BB0_9 Depth=1
str wzr, [x19, #16]
str d13, [x19, #8]
LBB0_41: ; in Loop: Header=BB0_9 Depth=1
ldrb w10, [x21, x27]
cbnz w10, LBB0_9
b LBB0_5
LBB0_42:
mov w0, #0
Lloh19:
adrp x8, _PTLS_BASE64_DECODE_DONE@GOTPAGE
Lloh20:
ldr x8, [x8, _PTLS_BASE64_DECODE_DONE@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
str x8, [x19]
b LBB0_6
LBB0_43:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdr Lloh12, Lloh13
.loh AdrpAdrp Lloh10, Lloh12
.loh AdrpLdr Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _PTLS_BASE64_DECODE_IN_PROGRESS,8,3 ; @PTLS_BASE64_DECODE_IN_PROGRESS
.comm _ptls_base64_values,8,3 ; @ptls_base64_values
.comm _PTLS_BASE64_DECODE_FAILED,8,3 ; @PTLS_BASE64_DECODE_FAILED
.comm _PTLS_ERROR_INCORRECT_BASE64,4,2 ; @PTLS_ERROR_INCORRECT_BASE64
.comm _PTLS_BASE64_DECODE_DONE,8,3 ; @PTLS_BASE64_DECODE_DONE
.subsections_via_symbols
|
AnghaBench/h2o/deps/picotls/lib/extr_pembase64.c_ptls_base64_decode.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compareFiles ## -- Begin function compareFiles
.p2align 4, 0x90
_compareFiles: ## @compareFiles
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _getc
movl %eax, %r14d
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _getc
movsbl %r14b, %ebx
movsbl %al, %r13d
shll $24, %eax
cmpl $-16777216, %eax ## imm = 0xFF000000
je LBB0_8
## %bb.1:
shll $24, %r14d
cmpl $-16777216, %r14d ## imm = 0xFF000000
je LBB0_8
## %bb.2:
movl $1, %r14d
leaq L_.str(%rip), %r15
movl $0, -44(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
cmpl %r13d, %ebx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.1(%rip), %r12
movq %r12, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
incl -44(%rbp) ## 4-byte Folded Spill
leaq L_.str.2(%rip), %rdi
movl $1, %esi
movl %r14d, %edx
xorl %eax, %eax
callq _printf
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _getc
movl %eax, %r12d
movq -64(%rbp), %rdi ## 8-byte Reload
callq _getc
movsbl %r12b, %ebx
movsbl %al, %r13d
shll $24, %eax
cmpl $-16777216, %eax ## imm = 0xFF000000
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
shll $24, %r12d
incl %r14d
cmpl $-16777216, %r12d ## imm = 0xFF000000
jne LBB0_3
jmp LBB0_9
LBB0_8:
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_9:
leaq L_.str.3(%rip), %r14
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## 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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str.5(%rip), %rdi
leaq L_.str.6(%rip), %rbx
movq %rbx, %rsi
callq _fopen
movq %rax, %r14
leaq L_.str.7(%rip), %rdi
movq %rbx, %rsi
callq _fopen
testq %r14, %r14
je LBB1_3
## %bb.1:
movq %rax, %rbx
testq %rax, %rax
je LBB1_3
## %bb.2:
movq %r14, %rdi
movq %rbx, %rsi
callq _compareFiles
movq %r14, %rdi
callq _fclose
movq %rbx, %rdi
callq _fclose
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB1_3:
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %c \n"
L_.str.1: ## @.str.1
.asciz "after going in 2 if condition %c \n"
L_.str.2: ## @.str.2
.asciz "Line Number : %d \tError Position : %d \n"
L_.str.3: ## @.str.3
.asciz "after while condition %c \n"
L_.str.4: ## @.str.4
.asciz "Total Errors : %d\t"
L_.str.5: ## @.str.5
.asciz "file1.txt"
L_.str.6: ## @.str.6
.asciz "r"
L_.str.7: ## @.str.7
.asciz "file2.txt"
L_.str.8: ## @.str.8
.asciz "Error : Files not open"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compareFiles ; -- Begin function compareFiles
.p2align 2
_compareFiles: ; @compareFiles
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
bl _getc
mov x21, x0
mov x0, x19
bl _getc
mov w25, #0
sxtb w27, w21
sxtb w26, w0
mov w8, #-16777216
cmp w8, w0, lsl #24
b.eq LBB0_7
; %bb.1:
lsl w9, w21, #24
cmp w9, w8
b.eq LBB0_7
; %bb.2:
mov w25, #0
mov w23, #1
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
mov w28, #-16777216
Lloh2:
adrp x22, l_.str.1@PAGE
Lloh3:
add x22, x22, l_.str.1@PAGEOFF
; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_3: ; =>This Inner Loop Header: Depth=1
str x27, [sp]
mov x0, x21
bl _printf
str x26, [sp]
mov x0, x21
bl _printf
cmp w27, w26
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w27 killed $w27 killed $x27 def $x27
str x27, [sp]
mov x0, x22
bl _printf
; kill: def $w26 killed $w26 killed $x26 def $x26
str x26, [sp]
mov x0, x22
bl _printf
add w25, w25, #1
mov w8, #1
stp x8, x23, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _getc
mov x24, x0
mov x0, x19
bl _getc
sxtb w27, w24
sxtb w26, w0
cmp w28, w0, lsl #24
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
lsl w8, w24, #24
add w23, w23, #1
cmp w8, w28
b.ne LBB0_3
LBB0_7:
; kill: def $w27 killed $w27 killed $x27 def $x27
str x27, [sp]
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
mov x0, x19
bl _printf
; kill: def $w26 killed $w26 killed $x26 def $x26
str x26, [sp]
mov x0, x19
bl _printf
str x25, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
Lloh12:
adrp x20, l_.str.6@PAGE
Lloh13:
add x20, x20, l_.str.6@PAGEOFF
mov x1, x20
bl _fopen
mov x19, x0
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
mov x1, x20
bl _fopen
cmp x19, #0
ccmp x0, #0, #4, ne
b.eq LBB1_2
; %bb.1:
mov x20, x0
mov x0, x19
mov x1, x20
bl _compareFiles
mov x0, x19
bl _fclose
mov x0, x20
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB1_2:
Lloh16:
adrp x0, l_.str.8@PAGE
Lloh17:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %c \n"
l_.str.1: ; @.str.1
.asciz "after going in 2 if condition %c \n"
l_.str.2: ; @.str.2
.asciz "Line Number : %d \tError Position : %d \n"
l_.str.3: ; @.str.3
.asciz "after while condition %c \n"
l_.str.4: ; @.str.4
.asciz "Total Errors : %d\t"
l_.str.5: ; @.str.5
.asciz "file1.txt"
l_.str.6: ; @.str.6
.asciz "r"
l_.str.7: ; @.str.7
.asciz "file2.txt"
l_.str.8: ; @.str.8
.asciz "Error : Files not open"
.subsections_via_symbols
|
the_stack_data/167331362.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _transport_dump_vpd_ident_type ## -- Begin function transport_dump_vpd_ident_type
.p2align 4, 0x90
_transport_dump_vpd_ident_type: ## @transport_dump_vpd_ident_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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, -52(%rbp) ## 4-byte Spill
movq %rsi, %r15
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _VPD_TMP_BUF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r14, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
movl %r14d, %edx
callq _memset
movups L_.str+10(%rip), %xmm0
movups %xmm0, 10(%rbx)
movups L_.str(%rip), %xmm0
movups %xmm0, (%rbx)
movl (%r13), %edx
cmpq $8, %rdx
ja LBB0_8
## %bb.1:
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rdx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_2:
movups L_.str.1(%rip), %xmm0
movups %xmm0, 25(%rbx)
movb $0, 41(%rbx)
jmp LBB0_6
LBB0_3:
movups L_.str.2(%rip), %xmm0
movups %xmm0, 25(%rbx)
movabsq $2925136657343008, %rax ## imm = 0xA646573616220
movq %rax, 38(%rbx)
jmp LBB0_6
LBB0_4:
movabsq $2925136657343008, %rax ## imm = 0xA646573616220
movq %rax, 31(%rbx)
movabsq $7070708822264337733, %rax ## imm = 0x622034362D495545
movq %rax, 25(%rbx)
jmp LBB0_6
LBB0_5:
movb $0, 29(%rbx)
movl $172048718, 25(%rbx) ## imm = 0xA41414E
jmp LBB0_6
LBB0_7:
movups L_.str.5+16(%rip), %xmm0
movups %xmm0, 41(%rbx)
movups L_.str.5(%rip), %xmm0
movups %xmm0, 25(%rbx)
movb $0, 57(%rbx)
jmp LBB0_6
LBB0_8:
movq %rbx, %rdi
addq $25, %rdi
leaq L_.str.7(%rip), %rsi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _sprintf
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r12d
testq %r15, %r15
jne LBB0_9
LBB0_13:
leaq L_.str.8(%rip), %rdi
movq %rbx, %rsi
callq _pr_debug
jmp LBB0_14
LBB0_12:
movups L_.str.6(%rip), %xmm0
movups %xmm0, 25(%rbx)
movw $10, 41(%rbx)
LBB0_6:
xorl %r12d, %r12d
testq %r15, %r15
je LBB0_13
LBB0_9:
movq %rbx, %rdi
callq _strlen
movl -52(%rbp), %edx ## 4-byte Reload
cmpl %edx, %eax
jge LBB0_11
## %bb.10:
movq %r15, %rdi
movq %rbx, %rsi
callq _strncpy
jmp LBB0_14
LBB0_11:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
LBB0_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
movl %r12d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.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
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_12
.end_data_region
## -- End function
.comm _VPD_TMP_BUF_SIZE,4,2 ## @VPD_TMP_BUF_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "T10 VPD Identifier Type: "
L_.str.1: ## @.str.1
.asciz "Vendor specific\n"
L_.str.2: ## @.str.2
.asciz "T10 Vendor ID based\n"
L_.str.3: ## @.str.3
.asciz "EUI-64 based\n"
L_.str.4: ## @.str.4
.asciz "NAA\n"
L_.str.5: ## @.str.5
.asciz "Relative target port identifier\n"
L_.str.6: ## @.str.6
.asciz "SCSI name string\n"
L_.str.7: ## @.str.7
.asciz "Unsupported: 0x%02x\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.8: ## @.str.8
.asciz "%s"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _transport_dump_vpd_ident_type ; -- Begin function transport_dump_vpd_ident_type
.p2align 2
_transport_dump_vpd_ident_type: ; @transport_dump_vpd_ident_type
.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 x22, 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, _VPD_TMP_BUF_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _VPD_TMP_BUF_SIZE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x9, x2
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x2, #15
and x9, x9, #0x1fffffff0
sub x21, x8, x9
mov sp, x21
mov x0, x21
mov w1, #0
; kill: def $w2 killed $w2 killed $x2
bl _memset
Lloh8:
adrp x8, l_.str@PAGE
Lloh9:
add x8, x8, l_.str@PAGEOFF
ldr q0, [x8]
str q0, [x21]
ldur q0, [x8, #10]
stur q0, [x21, #10]
ldr w8, [x22]
cmp w8, #8
b.hi LBB0_7
; %bb.1:
Lloh10:
adrp x9, lJTI0_0@PAGE
Lloh11:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov w22, #0
strb wzr, [x21, #41]
Lloh12:
adrp x8, l_.str.1@PAGE
Lloh13:
add x8, x8, l_.str.1@PAGEOFF
b LBB0_10
LBB0_3:
mov w22, #0
Lloh14:
adrp x8, l_.str.2@PAGE
Lloh15:
add x8, x8, l_.str.2@PAGEOFF
ldr q0, [x8]
stur q0, [x21, #25]
ldur x8, [x8, #13]
stur x8, [x21, #38]
cbnz x20, LBB0_11
b LBB0_8
LBB0_4:
mov w22, #0
Lloh16:
adrp x8, l_.str.3@PAGE
Lloh17:
add x8, x8, l_.str.3@PAGEOFF
ldr x9, [x8]
stur x9, [x21, #25]
ldur x8, [x8, #6]
stur x8, [x21, #31]
cbnz x20, LBB0_11
b LBB0_8
LBB0_5:
mov w22, #0
strb wzr, [x21, #29]
mov w8, #16718
movk w8, #2625, lsl #16
stur w8, [x21, #25]
cbnz x20, LBB0_11
b LBB0_8
LBB0_6:
mov w22, #0
strb wzr, [x21, #57]
Lloh18:
adrp x8, l_.str.5@PAGE
Lloh19:
add x8, x8, l_.str.5@PAGEOFF
ldp q0, q1, [x8]
stur q0, [x21, #25]
stur q1, [x21, #41]
cbnz x20, LBB0_11
b LBB0_8
LBB0_7:
add x0, x21, #25
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp, #-16]!
Lloh20:
adrp x1, l_.str.7@PAGE
Lloh21:
add x1, x1, l_.str.7@PAGEOFF
bl _sprintf
add sp, sp, #16
Lloh22:
adrp x8, _EINVAL@GOTPAGE
Lloh23:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
neg w22, w8
cbnz x20, LBB0_11
LBB0_8:
Lloh25:
adrp x0, l_.str.8@PAGE
Lloh26:
add x0, x0, l_.str.8@PAGEOFF
mov x1, x21
bl _pr_debug
b LBB0_14
LBB0_9:
mov w22, #0
mov w8, #10
sturh w8, [x21, #41]
Lloh27:
adrp x8, l_.str.6@PAGE
Lloh28:
add x8, x8, l_.str.6@PAGEOFF
LBB0_10:
ldr q0, [x8]
stur q0, [x21, #25]
cbz x20, LBB0_8
LBB0_11:
mov x0, x21
bl _strlen
cmp w0, w19
b.ge LBB0_13
; %bb.12:
mov x0, x20
mov x1, x21
mov x2, x19
bl _strncpy
b LBB0_14
LBB0_13:
Lloh29:
adrp x8, _EINVAL@GOTPAGE
Lloh30:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
neg w22, w8
LBB0_14:
ldur x8, [x29, #-40]
Lloh32:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh33:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.15:
mov x0, x22
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_16:
bl ___stack_chk_fail
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
; -- End function
.comm _VPD_TMP_BUF_SIZE,4,2 ; @VPD_TMP_BUF_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "T10 VPD Identifier Type: "
l_.str.1: ; @.str.1
.asciz "Vendor specific\n"
l_.str.2: ; @.str.2
.asciz "T10 Vendor ID based\n"
l_.str.3: ; @.str.3
.asciz "EUI-64 based\n"
l_.str.4: ; @.str.4
.asciz "NAA\n"
l_.str.5: ; @.str.5
.asciz "Relative target port identifier\n"
l_.str.6: ; @.str.6
.asciz "SCSI name string\n"
l_.str.7: ; @.str.7
.asciz "Unsupported: 0x%02x\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.8: ; @.str.8
.asciz "%s"
.subsections_via_symbols
|
AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_dump_vpd_ident_type.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ti_iodelay_extract
_ti_iodelay_extract: ## @ti_iodelay_extract
.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
andl %esi, %ebx
movl %esi, %edi
callq ___ffs
movl %eax, %ecx
sarl %cl, %ebx
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ti_iodelay_extract
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ti_iodelay_extract
_ti_iodelay_extract: ; @ti_iodelay_extract
.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
and w19, w1, w0
mov x0, x1
bl ___ffs
asr w0, w19, w0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _ti_iodelay_extract
.subsections_via_symbols
|
AnghaBench/linux/drivers/pinctrl/ti/extr_pinctrl-ti-iodelay.c_ti_iodelay_extract.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_dir
_is_dir: ## @is_dir
.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_9
## %bb.1:
movq %rdi, %rbx
cmpb $47, (%rdi)
jne LBB0_9
## %bb.2:
leaq -16(%rbp), %rsi
movq %rbx, %rdi
callq _stat
testq %rax, %rax
js LBB0_9
## %bb.3:
movl -16(%rbp), %edi
callq _S_ISDIR
testl %eax, %eax
je LBB0_9
## %bb.4:
movq _S_ISVTX@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, -16(%rbp)
jne LBB0_10
## %bb.5:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
callq _lwan_status_warning
jmp LBB0_10
LBB0_9:
xorl %ebx, %ebx
LBB0_10:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _S_ISVTX,4,2 ## @S_ISVTX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Using %s as temporary directory, but it doesn't have the sticky bit set."
.no_dead_strip _is_dir
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_dir
_is_dir: ; @is_dir
.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
cbz x0, LBB0_7
; %bb.1:
ldrb w8, [x19]
cmp w8, #47
b.ne LBB0_6
; %bb.2:
add x1, sp, #8
mov x0, x19
bl _stat
tbnz x0, #63, LBB0_6
; %bb.3:
ldr w0, [sp, #8]
bl _S_ISDIR
cbz w0, LBB0_6
; %bb.4:
ldr w8, [sp, #8]
Lloh0:
adrp x9, _S_ISVTX@GOTPAGE
Lloh1:
ldr x9, [x9, _S_ISVTX@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_7
; %bb.5:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _lwan_status_warning
b LBB0_7
LBB0_6:
mov x19, #0
LBB0_7:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _S_ISVTX,4,2 ; @S_ISVTX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Using %s as temporary directory, but it doesn't have the sticky bit set."
.no_dead_strip _is_dir
.subsections_via_symbols
|
AnghaBench/lwan/src/lib/extr_lwan-request.c_is_dir.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function empty_dir
_empty_dir: ## @empty_dir
.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
movl $0, -44(%rbp)
movq 16(%rdi), %r14
movl (%rdi), %r15d
movl $1, %r12d
movl $1, %edi
callq _EXT4_DIR_REC_LEN
movl %eax, %ebx
movl $2, %edi
callq _EXT4_DIR_REC_LEN
addl %ebx, %eax
cmpl %eax, %r15d
jae LBB0_1
LBB0_4:
movq 8(%r13), %rdx
movq 16(%r13), %rdi
leaq L_.str.1(%rip), %rsi
callq _ext4_warning
jmp LBB0_29
LBB0_1:
leaq -44(%rbp), %r8
xorl %edi, %edi
movq %r13, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _ext4_bread
testq %rax, %rax
je LBB0_2
## %bb.5:
movq %rax, %r15
movq (%rax), %rbx
movl (%r14), %esi
movq %rbx, %rdi
callq _ext4_next_entry
movq %rax, %r12
movl 4(%rbx), %edi
callq _le32_to_cpu
cmpq 8(%r13), %rax
jne LBB0_9
## %bb.6:
movl 4(%r12), %edi
callq _le32_to_cpu
testq %rax, %rax
je LBB0_9
## %bb.7:
movl 8(%rbx), %esi
leaq L_.str.2(%rip), %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_9
## %bb.8:
movl 8(%r12), %esi
leaq L_.str.3(%rip), %rdi
callq _strcmp
testq %rax, %rax
je LBB0_10
LBB0_9:
movq 8(%r13), %rdx
movq 16(%r13), %rdi
leaq L_.str.4(%rip), %rsi
callq _ext4_warning
LBB0_27:
movq %r15, %rdi
callq _brelse
jmp LBB0_28
LBB0_2:
movl -44(%rbp), %edx
testl %edx, %edx
je LBB0_4
## %bb.3:
movq 8(%r13), %rcx
movq 16(%r13), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _ext4_error
LBB0_28:
movl $1, %r12d
LBB0_29:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movl (%rbx), %edi
movl (%r14), %esi
callq _ext4_rec_len_from_disk
movl %eax, %ebx
movl (%r12), %edi
movl (%r14), %esi
callq _ext4_rec_len_from_disk
movq %r12, %rdi
movl %eax, %r12d
addl %ebx, %r12d
movl (%r14), %esi
callq _ext4_next_entry
cmpl (%r13), %r12d
jae LBB0_27
## %bb.11:
movq %rax, %rbx
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq %r15, %rdi
jmp LBB0_13
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_13 Depth=2
addl (%r14), %r12d
movl $0, %edi
movl $0, %r15d
cmpl (%r13), %r12d
jae LBB0_27
LBB0_13: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
testq %rdi, %rdi
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=2
movl (%r14), %eax
addq (%rdi), %rax
cmpq %rax, %rbx
jb LBB0_15
LBB0_16: ## in Loop: Header=BB0_13 Depth=2
movl $0, -44(%rbp)
callq _brelse
movq %r14, %rdi
callq _EXT4_BLOCK_SIZE_BITS
movl %r12d, %edx
movl %eax, %ecx
shrl %cl, %edx
xorl %edi, %edi
movq %r13, %rsi
xorl %ecx, %ecx
leaq -44(%rbp), %r8
callq _ext4_bread
testq %rax, %rax
jne LBB0_20
## %bb.17: ## in Loop: Header=BB0_13 Depth=2
movl -44(%rbp), %edx
testl %edx, %edx
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_13 Depth=2
movq 8(%r13), %rcx
movq %r14, %rdi
leaq L_.str.5(%rip), %rsi
movl %r12d, %r8d
xorl %eax, %eax
callq _ext4_error
jmp LBB0_19
LBB0_20: ## in Loop: Header=BB0_12 Depth=1
movq %rax, %r15
movq (%rax), %rbx
jmp LBB0_21
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movq %rdi, %r15
LBB0_21: ## in Loop: Header=BB0_12 Depth=1
leaq L_.str.6(%rip), %rdi
movq %r13, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movl %r12d, %r8d
callq _ext4_check_dir_entry
testl %eax, %eax
je LBB0_22
## %bb.23: ## in Loop: Header=BB0_12 Depth=1
movl 4(%rbx), %edi
callq _le32_to_cpu
testq %rax, %rax
jne LBB0_24
## %bb.25: ## in Loop: Header=BB0_12 Depth=1
movl (%rbx), %edi
movl (%r14), %esi
callq _ext4_rec_len_from_disk
addl %eax, %r12d
movl (%r14), %esi
movq %rbx, %rdi
callq _ext4_next_entry
movq %rax, %rbx
jmp LBB0_26
LBB0_22: ## in Loop: Header=BB0_12 Depth=1
movl (%r14), %ebx
leal -1(%rbx), %eax
addq (%r15), %rbx
orl %r12d, %eax
incl %eax
movl %eax, %r12d
LBB0_26: ## in Loop: Header=BB0_12 Depth=1
cmpl (%r13), %r12d
jb LBB0_12
jmp LBB0_27
LBB0_24:
movq %r15, %rdi
callq _brelse
xorl %r12d, %r12d
jmp LBB0_29
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error %d reading directory #%lu offset 0"
L_.str.1: ## @.str.1
.asciz "bad directory (dir #%lu) - no data block"
L_.str.2: ## @.str.2
.asciz "."
L_.str.3: ## @.str.3
.asciz ".."
L_.str.4: ## @.str.4
.asciz "bad directory (dir #%lu) - no `.' or `..'"
L_.str.5: ## @.str.5
.asciz "error %d reading directory #%lu offset %u"
L_.str.6: ## @.str.6
.asciz "empty_dir"
.no_dead_strip _empty_dir
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function empty_dir
_empty_dir: ; @empty_dir
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
str wzr, [sp, #12]
ldr x20, [x0, #16]
ldr w22, [x0]
mov w0, #1
bl _EXT4_DIR_REC_LEN
mov x21, x0
mov w0, #2
bl _EXT4_DIR_REC_LEN
add w8, w0, w21
cmp w22, w8
b.hs LBB0_2
LBB0_1:
ldp x2, x0, [x19, #8]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _ext4_warning
b LBB0_11
LBB0_2:
add x4, sp, #12
mov x0, #0
mov x1, x19
mov w2, #0
mov w3, #0
bl _ext4_bread
cbz x0, LBB0_9
; %bb.3:
mov x21, x0
ldr x22, [x0]
ldr w1, [x20]
mov x0, x22
bl _ext4_next_entry
mov x23, x0
ldr w0, [x22, #4]
bl _le32_to_cpu
ldr x8, [x19, #8]
cmp x0, x8
b.ne LBB0_7
; %bb.4:
ldr w0, [x23, #4]
bl _le32_to_cpu
cbz x0, LBB0_7
; %bb.5:
ldr w1, [x22, #8]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _strcmp
cbnz x0, LBB0_7
; %bb.6:
ldr w1, [x23, #8]
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _strcmp
cbz x0, LBB0_13
LBB0_7:
ldp x2, x0, [x19, #8]
Lloh6:
adrp x1, l_.str.4@PAGE
Lloh7:
add x1, x1, l_.str.4@PAGEOFF
bl _ext4_warning
LBB0_8:
mov x0, x21
bl _brelse
b LBB0_11
LBB0_9:
ldr w2, [sp, #12]
cbz w2, LBB0_1
; %bb.10:
ldp x3, x0, [x19, #8]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _ext4_error
LBB0_11:
mov w0, #1
LBB0_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_13:
ldr w0, [x22]
ldr w1, [x20]
bl _ext4_rec_len_from_disk
mov x22, x0
ldr w0, [x23]
ldr w1, [x20]
bl _ext4_rec_len_from_disk
add w22, w0, w22
ldr w1, [x20]
mov x0, x23
bl _ext4_next_entry
ldr w8, [x19]
cmp w22, w8
b.hs LBB0_8
; %bb.14:
mov x25, x0
Lloh10:
adrp x23, l_.str.5@PAGE
Lloh11:
add x23, x23, l_.str.5@PAGEOFF
Lloh12:
adrp x24, l_.str.6@PAGE
Lloh13:
add x24, x24, l_.str.6@PAGEOFF
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
mov x0, x21
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_17 Depth=2
mov x0, #0
mov x21, #0
ldr w8, [x20]
ldr w9, [x19]
add w22, w8, w22
cmp w22, w9
b.hs LBB0_8
LBB0_17: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
cbz x0, LBB0_19
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
ldr x8, [x0]
ldr w9, [x20]
add x8, x8, x9
cmp x25, x8
b.lo LBB0_23
LBB0_19: ; in Loop: Header=BB0_17 Depth=2
str wzr, [sp, #12]
bl _brelse
mov x0, x20
bl _EXT4_BLOCK_SIZE_BITS
lsr w2, w22, w0
add x4, sp, #12
mov x0, #0
mov x1, x19
mov w3, #0
bl _ext4_bread
cbnz x0, LBB0_22
; %bb.20: ; in Loop: Header=BB0_17 Depth=2
ldr w2, [sp, #12]
cbz w2, LBB0_16
; %bb.21: ; in Loop: Header=BB0_17 Depth=2
ldr x3, [x19, #8]
str x22, [sp]
mov x0, x20
mov x1, x23
bl _ext4_error
b LBB0_16
LBB0_22: ; in Loop: Header=BB0_15 Depth=1
mov x21, x0
ldr x25, [x0]
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_15 Depth=1
mov x21, x0
LBB0_24: ; in Loop: Header=BB0_15 Depth=1
mov x0, x24
mov x1, x19
mov x2, x25
mov x3, x21
mov x4, x22
bl _ext4_check_dir_entry
cbz w0, LBB0_27
; %bb.25: ; in Loop: Header=BB0_15 Depth=1
ldr w0, [x25, #4]
bl _le32_to_cpu
cbnz x0, LBB0_29
; %bb.26: ; in Loop: Header=BB0_15 Depth=1
ldr w0, [x25]
ldr w1, [x20]
bl _ext4_rec_len_from_disk
add w22, w0, w22
ldr w1, [x20]
mov x0, x25
bl _ext4_next_entry
mov x25, x0
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [x21]
ldr w9, [x20]
add x25, x8, x9
sub w8, w9, #1
orr w8, w8, w22
add w22, w8, #1
LBB0_28: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [x19]
cmp w22, w8
b.lo LBB0_15
b LBB0_8
LBB0_29:
mov x0, x21
bl _brelse
mov w0, #0
b LBB0_12
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error %d reading directory #%lu offset 0"
l_.str.1: ; @.str.1
.asciz "bad directory (dir #%lu) - no data block"
l_.str.2: ; @.str.2
.asciz "."
l_.str.3: ; @.str.3
.asciz ".."
l_.str.4: ; @.str.4
.asciz "bad directory (dir #%lu) - no `.' or `..'"
l_.str.5: ; @.str.5
.asciz "error %d reading directory #%lu offset %u"
l_.str.6: ; @.str.6
.asciz "empty_dir"
.no_dead_strip _empty_dir
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/fs/ext4/extr_namei.c_empty_dir.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _rtl92e_wx_set_gen_ie
__rtl92e_wx_set_gen_ie: ## @_rtl92e_wx_set_gen_ie
.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 %rcx, %r14
movq %rdx, %r15
callq _rtllib_priv
cmpq $0, 8(%rax)
je LBB0_1
## %bb.2:
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq %rax, %rbx
movq %rax, %rdi
callq _mutex_lock
movl 4(%rbx), %edi
movl (%r15), %edx
movq %r14, %rsi
callq _rtllib_wx_set_gen_ie
movl %eax, %r14d
movq %rbx, %rdi
callq _mutex_unlock
movl %r14d, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip __rtl92e_wx_set_gen_ie
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _rtl92e_wx_set_gen_ie
__rtl92e_wx_set_gen_ie: ; @_rtl92e_wx_set_gen_ie
.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 x21, x2
bl _rtllib_priv
ldr x8, [x0, #8]
cbz x8, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
mov x20, x0
bl _mutex_lock
ldr w0, [x20, #4]
ldr w2, [x21]
mov x1, x19
bl _rtllib_wx_set_gen_ie
mov x19, x0
mov x0, x20
bl _mutex_unlock
mov x0, x19
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip __rtl92e_wx_set_gen_ie
.subsections_via_symbols
|
AnghaBench/linux/drivers/staging/rtl8192e/rtl8192e/extr_rtl_wx.c__rtl92e_wx_set_gen_ie.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _OptimizedBrushList ## -- Begin function OptimizedBrushList
.p2align 4, 0x90
_OptimizedBrushList: ## @OptimizedBrushList
.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
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rbx
xorl %r14d, %r14d
movq _SFL_VISIBLE@GOTPCREL(%rip), %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rbx
testq %rbx, %rbx
je LBB0_10
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movl (%rbx), %eax
movl $0, %ecx
testl %eax, %eax
jle LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 16(%rbx), %rdx
movl (%r15), %esi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
testl %esi, (%rdx,%rcx,4)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
incq %rcx
cmpq %rcx, %rax
jne LBB0_5
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
cmpl %eax, %ecx
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
callq _CopyBrush
movq %r14, 8(%rax)
movq %rax, %r14
jmp LBB0_9
LBB0_1:
xorl %r14d, %r14d
LBB0_10:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SFL_VISIBLE,4,2 ## @SFL_VISIBLE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _OptimizedBrushList ; -- Begin function OptimizedBrushList
.p2align 2
_OptimizedBrushList: ; @OptimizedBrushList
.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
cbz x0, LBB0_10
; %bb.1:
mov x20, x0
mov x19, #0
Lloh0:
adrp x21, _SFL_VISIBLE@GOTPAGE
Lloh1:
ldr x21, [x21, _SFL_VISIBLE@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [x20, #8]
cbz x20, LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x9, #0
ldr x10, [x20, #16]
ldr w11, [x21]
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w12, [x10, x9, lsl #2]
tst w11, w12
b.ne LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
add x9, x9, #1
cmp x8, x9
b.ne LBB0_5
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
mov w9, #0
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
cmp w9, w8
b.eq LBB0_2
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _CopyBrush
str x19, [x0, #8]
mov x19, x0
b LBB0_2
LBB0_10:
mov x19, #0
LBB0_11:
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
.cfi_endproc
; -- End function
.comm _SFL_VISIBLE,4,2 ; @SFL_VISIBLE
.subsections_via_symbols
|
AnghaBench/lab/engine/code/bspc/extr_csg.c_OptimizedBrushList.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
|
the_stack_data/432122.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sndbuf_fillsilence ## -- Begin function sndbuf_fillsilence
.p2align 4, 0x90
_sndbuf_fillsilence: ## @sndbuf_fillsilence
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
jle LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _sndbuf_getbuf
movl %eax, %r14d
movl 24(%rbx), %edi
callq _sndbuf_zerodata
movq (%rbx), %rdx
movl %r14d, %edi
movl %eax, %esi
callq _memset
movq (%rbx), %rax
LBB0_2:
movq $0, 16(%rbx)
movq %rax, 8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sndbuf_fillsilence ; -- Begin function sndbuf_fillsilence
.p2align 2
_sndbuf_fillsilence: ; @sndbuf_fillsilence
.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]
cmp x8, #1
b.lt LBB0_2
; %bb.1:
mov x0, x19
bl _sndbuf_getbuf
mov x20, x0
ldr w0, [x19, #24]
bl _sndbuf_zerodata
mov x1, x0
ldr x2, [x19]
mov x0, x20
bl _memset
ldr x8, [x19]
LBB0_2:
stp x8, xzr, [x19, #8]
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/freebsd/sys/dev/sound/pcm/extr_buffer.c_sndbuf_fillsilence.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strcpy ## -- Begin function strcpy
.p2align 4, 0x90
_strcpy: ## @strcpy
.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
movb (%rsi), %cl
testb %cl, %cl
je LBB0_3
## %bb.1:
xorl %edx, %edx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movb %cl, (%rax,%rdx)
movzbl 1(%rsi,%rdx), %ecx
incq %rdx
testb %cl, %cl
jne LBB0_2
LBB0_3:
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 _strcpy ; -- Begin function strcpy
.p2align 2
_strcpy: ; @strcpy
.cfi_startproc
; %bb.0:
ldrb w8, [x1]
cbz w8, LBB0_3
; %bb.1:
add x9, x1, #1
mov x10, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
strb w8, [x10], #1
ldrb w8, [x9], #1
cbnz w8, LBB0_2
LBB0_3:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
the_stack_data/14199964.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function make_dropout_layer
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _make_dropout_layer
.p2align 4, 0x90
_make_dropout_layer: ## @make_dropout_layer
.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
movss %xmm0, -20(%rbp) ## 4-byte Spill
movl %edx, %r14d
movq %rdi, %rbx
xorps %xmm1, %xmm1
movups %xmm1, 36(%rdi)
movups %xmm1, 24(%rdi)
movq _DROPOUT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 44(%rdi)
movss %xmm0, (%rdi)
movl %edx, 4(%rdi)
movl %edx, 8(%rdi)
movl %esi, 12(%rdi)
imull %edx, %esi
movl %esi, %edi
movl $4, %esi
callq _calloc
movl %eax, 20(%rbx)
movss -20(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm3
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
movapd %xmm1, %xmm2
subsd %xmm3, %xmm2
divsd %xmm2, %xmm1
cvttsd2si %xmm1, %eax
movl %eax, 16(%rbx)
movq _forward_dropout_layer@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%rbx)
movq _backward_dropout_layer@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rbx)
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl %r14d, %edx
movl %r14d, %ecx
callq _fprintf
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DROPOUT,4,2 ## @DROPOUT
.comm _forward_dropout_layer,4,2 ## @forward_dropout_layer
.comm _backward_dropout_layer,4,2 ## @backward_dropout_layer
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dropout p = %.2f %4d -> %4d\n"
.comm _backward_dropout_layer_gpu,4,2 ## @backward_dropout_layer_gpu
.comm _forward_dropout_layer_gpu,4,2 ## @forward_dropout_layer_gpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _make_dropout_layer ; -- Begin function make_dropout_layer
.p2align 2
_make_dropout_layer: ; @make_dropout_layer
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset b8, -40
.cfi_offset b9, -48
mov x19, x1
fmov s8, s0
mov x20, x8
stp xzr, xzr, [x8, #32]
str xzr, [x8, #24]
Lloh0:
adrp x8, _DROPOUT@GOTPAGE
Lloh1:
ldr x8, [x8, _DROPOUT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
stp w8, wzr, [x20, #44]
str s0, [x20]
stp w1, w1, [x20, #4]
str w0, [x20, #12]
mul w0, w1, w0
mov w1, #4
bl _calloc
fcvt d0, s8
fmov d1, #1.00000000
fsub d0, d1, d0
fdiv d0, d1, d0
fcvtzs w8, d0
stp w8, w0, [x20, #16]
Lloh3:
adrp x8, _forward_dropout_layer@GOTPAGE
Lloh4:
ldr x8, [x8, _forward_dropout_layer@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _backward_dropout_layer@GOTPAGE
Lloh7:
ldr x9, [x9, _backward_dropout_layer@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
stp w9, w8, [x20, #36]
Lloh9:
adrp x8, _stderr@GOTPAGE
Lloh10:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
Lloh13:
ldr w0, [x8]
fmov s0, s8
mov x2, x19
mov x3, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
b _fprintf
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DROPOUT,4,2 ; @DROPOUT
.comm _forward_dropout_layer,4,2 ; @forward_dropout_layer
.comm _backward_dropout_layer,4,2 ; @backward_dropout_layer
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dropout p = %.2f %4d -> %4d\n"
.comm _backward_dropout_layer_gpu,4,2 ; @backward_dropout_layer_gpu
.comm _forward_dropout_layer_gpu,4,2 ; @forward_dropout_layer_gpu
.subsections_via_symbols
|
AnghaBench/darknet/src/extr_dropout_layer.c_make_dropout_layer.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_2
## %bb.1:
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq ___VERIFIER_error
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq ___VERIFIER_nondet_int
movq _N@GOTPCREL(%rip), %r12
movl %eax, (%r12)
testl %eax, %eax
jle LBB1_1
## %bb.2:
xorl %edi, %edi
cmpl $536870912, %eax ## imm = 0x20000000
setb %dil
callq ___VERIFIER_assume
movq %rsp, -56(%rbp) ## 8-byte Spill
movl (%r12), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl (%r12), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
callq ___VERIFIER_nondet_int
movl (%r12), %r13d
testl %r13d, %r13d
jle LBB1_17
## %bb.3:
movl %eax, %r14d
leaq (,%r13,4), %r12
leaq L_.memset_pattern(%rip), %rsi
movq %r15, %rdi
movq %r12, %rdx
callq _memset_pattern16
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq _memcpy
cmpl $7, %r13d
ja LBB1_6
## %bb.4:
xorl %eax, %eax
jmp LBB1_5
LBB1_1:
movl $1, %eax
jmp LBB1_18
LBB1_6:
movl %r13d, %eax
andl $-8, %eax
movd %r14d, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
leaq -8(%rax), %rdx
movq %rdx, %rcx
shrq $3, %rcx
incq %rcx
testq %rdx, %rdx
je LBB1_7
## %bb.8:
movq %rcx, %rsi
andq $-2, %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB1_9: ## =>This Inner Loop Header: Depth=1
movdqa (%rbx,%rdx,4), %xmm1
paddd %xmm0, %xmm1
movdqa 16(%rbx,%rdx,4), %xmm2
paddd %xmm0, %xmm2
movdqa %xmm1, (%rbx,%rdx,4)
movdqa %xmm2, 16(%rbx,%rdx,4)
movdqa 32(%rbx,%rdx,4), %xmm1
paddd %xmm0, %xmm1
movdqa 48(%rbx,%rdx,4), %xmm2
paddd %xmm0, %xmm2
movdqa %xmm1, 32(%rbx,%rdx,4)
movdqa %xmm2, 48(%rbx,%rdx,4)
addq $16, %rdx
addq $-2, %rsi
jne LBB1_9
## %bb.10:
testb $1, %cl
je LBB1_12
LBB1_11:
movdqa %xmm0, %xmm1
paddd (%rbx,%rdx,4), %xmm1
movdqa 16(%rbx,%rdx,4), %xmm2
paddd %xmm0, %xmm2
movdqa %xmm1, (%rbx,%rdx,4)
movdqa %xmm2, 16(%rbx,%rdx,4)
LBB1_12:
cmpq %r13, %rax
je LBB1_13
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
addl %r14d, (%rbx,%rax,4)
incq %rax
cmpq %rax, %r13
jne LBB1_5
LBB1_13:
addl $44, %r14d
xorl %eax, %eax
.p2align 4, 0x90
LBB1_15: ## =>This Inner Loop Header: Depth=1
cmpl %r14d, (%rbx,%rax,4)
jne LBB1_16
## %bb.14: ## in Loop: Header=BB1_15 Depth=1
incq %rax
cmpq %rax, %r13
jne LBB1_15
LBB1_17:
movq -56(%rbp), %rsp ## 8-byte Reload
xorl %eax, %eax
LBB1_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB1_20
## %bb.19:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_7:
xorl %edx, %edx
testb $1, %cl
jne LBB1_11
jmp LBB1_12
LBB1_16:
xorl %eax, %eax
callq ___VERIFIER_error
LBB1_20:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _N,4,2 ## @N
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## @.memset_pattern
L_.memset_pattern:
.long 42 ## 0x2a
.long 42 ## 0x2a
.long 42 ## 0x2a
.long 42 ## 0x2a
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
ret
LBB0_2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_error
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
sub sp, sp, #16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
bl ___VERIFIER_nondet_int
Lloh3:
adrp x22, _N@GOTPAGE
Lloh4:
ldr x22, [x22, _N@GOTPAGEOFF]
str w0, [x22]
cmp w0, #1
b.lt LBB1_4
; %bb.1:
lsr w8, w0, #29
cmp w8, #0
cset w0, eq
bl ___VERIFIER_assume
mov x23, sp
ldr w8, [x22]
lsl x8, x8, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x21, x9, x8
mov sp, x21
ldr w8, [x22]
lsl x8, x8, #2
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x19, x9, x8
mov sp, x19
bl ___VERIFIER_nondet_int
ldr w24, [x22]
cmp w24, #1
b.lt LBB1_13
; %bb.2:
mov x20, x0
lsl x22, x24, #2
Lloh9:
adrp x1, l_.memset_pattern@PAGE
Lloh10:
add x1, x1, l_.memset_pattern@PAGEOFF
mov x0, x21
mov x2, x22
bl _memset_pattern16
mov x0, x19
mov x1, x21
mov x2, x22
bl _memcpy
cmp w24, #15
b.hi LBB1_5
; %bb.3:
mov x8, #0
b LBB1_8
LBB1_4:
mov w0, #1
b LBB1_14
LBB1_5:
and x8, x24, #0xfffffff0
dup.4s v0, w20
add x9, x19, #32
mov x10, x8
LBB1_6: ; =>This Inner Loop Header: Depth=1
ldp q1, q2, [x9, #-32]
ldp q3, q4, [x9]
add.4s v1, v1, v0
add.4s v2, v2, v0
add.4s v3, v3, v0
add.4s v4, v4, v0
stp q1, q2, [x9, #-32]
stp q3, q4, [x9], #64
subs x10, x10, #16
b.ne LBB1_6
; %bb.7:
cmp x8, x24
b.eq LBB1_10
LBB1_8:
add x9, x19, x8, lsl #2
sub x8, x24, x8
LBB1_9: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9]
add w10, w10, w20
str w10, [x9], #4
subs x8, x8, #1
b.ne LBB1_9
LBB1_10:
add w8, w20, #44
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr w9, [x19]
cmp w9, w8
b.ne LBB1_16
; %bb.12: ; in Loop: Header=BB1_11 Depth=1
add x19, x19, #4
subs x24, x24, #1
b.ne LBB1_11
LBB1_13:
mov sp, x23
mov w0, #0
LBB1_14:
ldur x8, [x29, #-56]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_17
; %bb.15:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB1_16:
bl ___VERIFIER_error
LBB1_17:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _N,4,2 ; @N
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; @.memset_pattern
l_.memset_pattern:
.long 42 ; 0x2a
.long 42 ; 0x2a
.long 42 ; 0x2a
.long 42 ; 0x2a
.subsections_via_symbols
|
the_stack_data/1201618.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %esi, %esi
callq _access
cmpl $-1, %eax
je LBB0_1
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
LBB0_1:
callq _main.cold.1
jmp LBB0_2
.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
callq ___error
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
popq %rbp
jmp _perror ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "not_found.txt"
L_.str.1: ## @.str.1
.asciz "errno = %d\n"
L_.str.2: ## @.str.2
.asciz "error message"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov w1, #0
bl _access
cmn w0, #1
b.eq LBB0_2
LBB0_1:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
bl _main.cold.1
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.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
bl ___error
ldr w8, [x0]
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _perror
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "not_found.txt"
l_.str.1: ; @.str.1
.asciz "errno = %d\n"
l_.str.2: ; @.str.2
.asciz "error message"
.subsections_via_symbols
|
the_stack_data/82949090.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function libpqrcv_disconnect
_libpqrcv_disconnect: ## @libpqrcv_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 8(%rdi), %edi
callq _PQfinish
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _PQfreemem
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _pfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _libpqrcv_disconnect
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function libpqrcv_disconnect
_libpqrcv_disconnect: ; @libpqrcv_disconnect
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #8]
bl _PQfinish
ldr x0, [x19]
cbz x0, LBB0_2
; %bb.1:
bl _PQfreemem
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pfree
.cfi_endproc
; -- End function
.no_dead_strip _libpqrcv_disconnect
.subsections_via_symbols
|
AnghaBench/postgres/src/backend/replication/libpqwalreceiver/extr_libpqwalreceiver.c_libpqrcv_disconnect.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath9k_hw_clear_queue_interrupts
_ath9k_hw_clear_queue_interrupts: ## @ath9k_hw_clear_queue_interrupts
.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, %ecx
movl $-2, %eax
## kill: def $cl killed $cl killed $ecx
roll %cl, %eax
movdqu (%rdi), %xmm0
movd %eax, %xmm1
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
pand %xmm0, %xmm1
movdqu %xmm1, (%rdi)
andl %eax, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ath9k_hw_clear_queue_interrupts
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath9k_hw_clear_queue_interrupts
_ath9k_hw_clear_queue_interrupts: ; @ath9k_hw_clear_queue_interrupts
.cfi_startproc
; %bb.0:
mov w8, #1
lsl w8, w8, w1
mvn w9, w8
dup.4s v0, w9
ldr q1, [x0]
and.16b v0, v1, v0
str q0, [x0]
ldr w9, [x0, #16]
bic w8, w9, w8
str w8, [x0, #16]
ret
.cfi_endproc
; -- End function
.no_dead_strip _ath9k_hw_clear_queue_interrupts
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mac.c_ath9k_hw_clear_queue_interrupts.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ofw_iicbus_probe
_ofw_iicbus_probe: ## @ofw_iicbus_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _ofw_bus_get_node
cmpl $-1, %eax
je LBB0_1
## %bb.2:
leaq L_.str(%rip), %rsi
movl %ebx, %edi
callq _device_set_desc
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "OFW I2C bus"
.no_dead_strip _ofw_iicbus_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ofw_iicbus_probe
_ofw_iicbus_probe: ; @ofw_iicbus_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _ofw_bus_get_node
cmn w0, #1
b.eq LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _device_set_desc
mov w0, #0
b LBB0_3
LBB0_2:
Lloh2:
adrp x8, _ENXIO@GOTPAGE
Lloh3:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ENXIO,4,2 ; @ENXIO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "OFW I2C bus"
.no_dead_strip _ofw_iicbus_probe
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/iicbus/extr_ofw_iicbus.c_ofw_iicbus_probe.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usage
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usage: mountd [-2] [-d] [-e] [-l] [-n] [-p <port>] [-r] [-S] [-h <bindip>] [export_file ...]\n"
.no_dead_strip _usage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function usage
_usage: ; @usage
.cfi_startproc
; %bb.0:
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 x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "usage: mountd [-2] [-d] [-e] [-l] [-n] [-p <port>] [-r] [-S] [-h <bindip>] [export_file ...]\n"
.no_dead_strip _usage
.subsections_via_symbols
|
AnghaBench/freebsd/usr.sbin/mountd/extr_mountd.c_usage.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 %r12
pushq %rbx
movl $66128, %eax ## imm = 0x10250
callq ____chkstk_darwin
subq %rax, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -65600(%rbp)
movaps %xmm0, -65616(%rbp)
movaps %xmm0, -65632(%rbp)
movaps %xmm0, -65648(%rbp)
leaq -66160(%rbp), %r14
movl $512, %esi ## imm = 0x200
movq %r14, %rdi
callq ___bzero
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rbx
leaq -65584(%rbp), %rdi
movl $65536, %esi ## imm = 0x10000
movl $1, %edx
movq %rax, %rcx
callq _fread
testq %rax, %rax
je LBB0_2
## %bb.4:
movq %rbx, %rdi
callq _fclose
xorl %ebx, %ebx
leaq LJTI0_0(%rip), %r15
jmp LBB0_5
LBB0_28: ## in Loop: Header=BB0_5 Depth=1
movswq %ax, %rax
movzwl -65584(%rbp,%rax,2), %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leal 1(%rbx), %eax
movswq %bx, %rcx
movzwl -65584(%rbp,%rcx,2), %ecx
cmpq $30, %rcx
ja LBB0_40
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq (%r15,%rcx,4), %rcx
addq %r15, %rcx
jmpq *%rcx
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
jmp LBB0_8
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
movswq -65648(%rbp,%rcx,2), %rcx
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movzwl -65584(%rbp,%rcx,2), %ecx
movw %cx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
movzwl -65648(%rbp,%rcx,2), %ecx
movswq -65648(%rbp,%rax,2), %rax
movw %cx, -65584(%rbp,%rax,2)
jmp LBB0_5
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
movzwl -65648(%rbp,%rcx,2), %ecx
movw %cx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
addl $2, %ebx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %r12
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _getc
movw %ax, -65648(%rbp,%r12,2)
jmp LBB0_5
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
addl $2, %ebx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
movswl -65648(%rbp,%rax,2), %edi
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _putc
jmp LBB0_5
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
movzwl -65648(%rbp,%rcx,2), %ecx
incl %ecx
movw %cx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
movzwl -65648(%rbp,%rcx,2), %ecx
decl %ecx
movw %cx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_16: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rdx,2), %edx
addw -65648(%rbp,%rcx,2), %dx
movw %dx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_17: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
subw -65648(%rbp,%rdx,2), %cx
movw %cx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_18: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rdx,2), %edx
imulw -65648(%rbp,%rcx,2), %dx
movw %dx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rsi
leal 3(%rbx), %eax
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rdx
movswl -65648(%rbp,%rcx,2), %eax
movswl -65648(%rbp,%rdx,2), %ecx
cltd
idivl %ecx
movw %ax, -65648(%rbp,%rsi,2)
jmp LBB0_5
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rsi
leal 3(%rbx), %eax
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rdx
movswl -65648(%rbp,%rcx,2), %eax
movswl -65648(%rbp,%rdx,2), %ecx
cltd
idivl %ecx
movw %dx, -65648(%rbp,%rsi,2)
jmp LBB0_5
LBB0_21: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rdx,2), %edx
andw -65648(%rbp,%rcx,2), %dx
movw %dx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_22: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rdx,2), %edx
orw -65648(%rbp,%rcx,2), %dx
movw %dx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_23: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rdx,2), %edx
xorw -65648(%rbp,%rcx,2), %dx
movw %dx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_24: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
addl $3, %ebx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
movzwl -65648(%rbp,%rcx,2), %ecx
notl %ecx
movw %cx, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_25: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %esi
movzbl -65648(%rbp,%rdx,2), %ecx
shll %cl, %esi
movw %si, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movswl -65648(%rbp,%rcx,2), %esi
movzbl -65648(%rbp,%rdx,2), %ecx
sarl %cl, %esi
movw %si, -65648(%rbp,%rax,2)
jmp LBB0_5
LBB0_27: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
cmpw -65648(%rbp,%rdx,2), %cx
jne LBB0_5
jmp LBB0_28
LBB0_29: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
cmpw -65648(%rbp,%rdx,2), %cx
je LBB0_5
jmp LBB0_28
LBB0_30: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
cmpw -65648(%rbp,%rdx,2), %cx
jle LBB0_5
jmp LBB0_28
LBB0_31: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
cmpw -65648(%rbp,%rdx,2), %cx
jl LBB0_5
jmp LBB0_28
LBB0_32: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
cmpw -65648(%rbp,%rdx,2), %cx
jge LBB0_5
jmp LBB0_28
LBB0_33: ## in Loop: Header=BB0_5 Depth=1
leal 2(%rbx), %ecx
leal 3(%rbx), %edx
movswq %cx, %rcx
movswq -65584(%rbp,%rcx,2), %rcx
addl $4, %ebx
movswq %dx, %rdx
movswq -65584(%rbp,%rdx,2), %rdx
movzwl -65648(%rbp,%rcx,2), %ecx
cmpw -65648(%rbp,%rdx,2), %cx
jg LBB0_5
jmp LBB0_28
LBB0_34: ## in Loop: Header=BB0_5 Depth=1
movswq %ax, %rax
movswq -65584(%rbp,%rax,2), %rax
movzwl -65648(%rbp,%rax,2), %ebx
jmp LBB0_5
LBB0_35: ## in Loop: Header=BB0_5 Depth=1
addl $2, %ebx
movswq %ax, %rax
movw %bx, (%r14)
movzwl -65584(%rbp,%rax,2), %eax
addq $2, %r14
movl %eax, %ebx
jmp LBB0_5
LBB0_36: ## in Loop: Header=BB0_5 Depth=1
movzwl -2(%r14), %ebx
addq $-2, %r14
jmp LBB0_5
LBB0_2:
leaq L_str(%rip), %rdi
LBB0_3:
callq _puts
movl $1, %eax
jmp LBB0_43
LBB0_40:
movswl %ax, %esi
decl %esi
movswq %ax, %rax
movzwl -65586(%rbp,%rax,2), %edx
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %eax
jmp LBB0_43
LBB0_37:
leaq L_.str(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_39
## %bb.38:
movq %rax, %rbx
leaq -65584(%rbp), %rdi
movl $65536, %esi ## imm = 0x10000
movl $1, %edx
movq %rax, %rcx
callq _fwrite
testq %rax, %rax
je LBB0_39
## %bb.41:
movq %rbx, %rdi
callq _fclose
LBB0_42:
xorl %eax, %eax
LBB0_43:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_45
## %bb.44:
addq $66128, %rsp ## imm = 0x10250
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_39:
leaq L_str.6(%rip), %rdi
jmp LBB0_3
LBB0_45:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
LJTI0_0:
.long L0_0_set_7
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_17
.long L0_0_set_18
.long L0_0_set_19
.long L0_0_set_20
.long L0_0_set_21
.long L0_0_set_22
.long L0_0_set_23
.long L0_0_set_24
.long L0_0_set_25
.long L0_0_set_26
.long L0_0_set_27
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_31
.long L0_0_set_32
.long L0_0_set_33
.long L0_0_set_34
.long L0_0_set_28
.long L0_0_set_35
.long L0_0_set_36
.long L0_0_set_42
.long L0_0_set_37
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "boot.bin"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.3: ## @.str.3
.asciz "w"
L_.str.5: ## @.str.5
.asciz "Invalid instruction! (pc=%i [%i])\n"
L_str: ## @str
.asciz "Could not open boot image."
L_str.6: ## @str.6
.asciz "Could not write boot image."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w9, #608
movk w9, #1, lsl #16
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #16, lsl #12 ; =65536
sub sp, sp, #608
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-56]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #560]
stp q0, q0, [sp, #528]
stp q0, q0, [sp, #496]
stp q0, q0, [sp, #464]
stp q0, q0, [sp, #432]
stp q0, q0, [sp, #400]
stp q0, q0, [sp, #368]
stp q0, q0, [sp, #336]
stp q0, q0, [sp, #304]
stp q0, q0, [sp, #272]
stp q0, q0, [sp, #240]
stp q0, q0, [sp, #208]
stp q0, q0, [sp, #176]
stp q0, q0, [sp, #144]
stp q0, q0, [sp, #112]
stp q0, q0, [sp, #80]
stp q0, q0, [sp, #48]
stp q0, q0, [sp, #16]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB0_35
; %bb.1:
mov x19, x0
add x20, sp, #600
add x0, sp, #600
mov w1, #65536
mov w2, #1
mov x3, x19
bl _fread
cbz x0, LBB0_35
; %bb.2:
add x21, sp, #16
mov x0, x19
bl _fclose
mov w22, #0
Lloh9:
adrp x19, lJTI0_0@PAGE
Lloh10:
add x19, x19, lJTI0_0@PAGEOFF
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
ldrh w22, [x9, x8, lsl #1]
LBB0_4: ; =>This Inner Loop Header: Depth=1
add w8, w22, #1
sxth x9, w22
ldrh w9, [x20, x9, lsl #1]
cmp w9, #30
b.hi LBB0_37
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
adr x10, LBB0_6
ldrh w11, [x19, x9, lsl #1]
add x10, x10, x11, lsl #2
br x10
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w22, w22, #3
sxth x9, w9
ldrh w9, [x10, x9, lsl #1]
add x10, sp, #528
strh w9, [x10, x8, lsl #1]
b LBB0_4
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrsh x8, [x9, x8, lsl #1]
add w10, w22, #2
add w22, w22, #3
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x11, sp, #528
ldrsh x10, [x11, x10, lsl #1]
ldrh w9, [x9, x10, lsl #1]
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrsh x8, [x9, x8, lsl #1]
add w10, w22, #2
add w22, w22, #3
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x11, sp, #528
ldrh w10, [x11, x10, lsl #1]
ldrsh x8, [x11, x8, lsl #1]
strh w10, [x9, x8, lsl #1]
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
add w22, w22, #3
add x10, sp, #528
ldrh w9, [x10, x9, lsl #1]
strh w9, [x10, x8, lsl #1]
b LBB0_4
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrsh x23, [x9, x8, lsl #1]
Lloh11:
adrp x8, ___stdinp@GOTPAGE
Lloh12:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh13:
ldr x0, [x8]
bl _getc
add x8, sp, #528
strh w0, [x8, x23, lsl #1]
b LBB0_4
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrsh x8, [x9, x8, lsl #1]
add x9, sp, #528
ldrsh w0, [x9, x8, lsl #1]
Lloh14:
adrp x8, ___stdoutp@GOTPAGE
Lloh15:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh16:
ldr x1, [x8]
bl _putc
b LBB0_4
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w22, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
add x10, sp, #528
ldrh w9, [x10, x9, lsl #1]
add w9, w9, #1
strh w9, [x10, x8, lsl #1]
b LBB0_4
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w22, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
add x10, sp, #528
ldrh w9, [x10, x9, lsl #1]
sub w9, w9, #1
strh w9, [x10, x8, lsl #1]
b LBB0_4
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
add w9, w10, w9
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
sub w9, w9, w10
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
mul w9, w10, w9
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrsh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrsh w10, [x11, x10, lsl #1]
sdiv w9, w9, w10
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrsh x8, [x9, x8, lsl #1]
add w10, w22, #2
add w11, w22, #3
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add w22, w22, #4
sxth x11, w11
ldrsh x9, [x9, x11, lsl #1]
add x11, sp, #528
ldrsh w10, [x11, x10, lsl #1]
ldrsh w9, [x11, x9, lsl #1]
sdiv w12, w10, w9
msub w9, w12, w9, w10
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_19: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
and w9, w10, w9
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_20: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
orr w9, w10, w9
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
eor w9, w10, w9
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w22, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
add x10, sp, #528
ldrh w9, [x10, x9, lsl #1]
mvn w9, w9
strh w9, [x10, x8, lsl #1]
b LBB0_4
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
lsl w9, w9, w10
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrsh x8, [x10, x8, lsl #1]
add w11, w22, #3
sxth x9, w9
ldrsh x9, [x10, x9, lsl #1]
sxth x11, w11
ldrsh x10, [x10, x11, lsl #1]
add x11, sp, #528
ldrsh w9, [x11, x9, lsl #1]
add w22, w22, #4
ldrh w10, [x11, x10, lsl #1]
asr w9, w9, w10
strh w9, [x11, x8, lsl #1]
b LBB0_4
LBB0_25: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
add w10, w22, #3
sxth x11, w9
add x9, sp, #600
ldrsh x11, [x9, x11, lsl #1]
add w22, w22, #4
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x12, sp, #528
ldrh w11, [x12, x11, lsl #1]
ldrh w10, [x12, x10, lsl #1]
cmp w11, w10
b.ne LBB0_4
b LBB0_3
LBB0_26: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
add w10, w22, #3
sxth x11, w9
add x9, sp, #600
ldrsh x11, [x9, x11, lsl #1]
add w22, w22, #4
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x12, sp, #528
ldrh w11, [x12, x11, lsl #1]
ldrh w10, [x12, x10, lsl #1]
cmp w11, w10
b.eq LBB0_4
b LBB0_3
LBB0_27: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
add w10, w22, #3
sxth x11, w9
add x9, sp, #600
ldrsh x11, [x9, x11, lsl #1]
add w22, w22, #4
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x12, sp, #528
ldrsh w11, [x12, x11, lsl #1]
ldrsh w10, [x12, x10, lsl #1]
cmp w11, w10
b.le LBB0_4
b LBB0_3
LBB0_28: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
add w10, w22, #3
sxth x11, w9
add x9, sp, #600
ldrsh x11, [x9, x11, lsl #1]
add w22, w22, #4
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x12, sp, #528
ldrsh w11, [x12, x11, lsl #1]
ldrsh w10, [x12, x10, lsl #1]
cmp w11, w10
b.lt LBB0_4
b LBB0_3
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
add w10, w22, #3
sxth x11, w9
add x9, sp, #600
ldrsh x11, [x9, x11, lsl #1]
add w22, w22, #4
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x12, sp, #528
ldrsh w11, [x12, x11, lsl #1]
ldrsh w10, [x12, x10, lsl #1]
cmp w11, w10
b.ge LBB0_4
b LBB0_3
LBB0_30: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
add w10, w22, #3
sxth x11, w9
add x9, sp, #600
ldrsh x11, [x9, x11, lsl #1]
add w22, w22, #4
sxth x10, w10
ldrsh x10, [x9, x10, lsl #1]
add x12, sp, #528
ldrsh w11, [x12, x11, lsl #1]
ldrsh w10, [x12, x10, lsl #1]
cmp w11, w10
b.gt LBB0_4
b LBB0_3
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrsh x8, [x9, x8, lsl #1]
add x9, sp, #528
ldrh w22, [x9, x8, lsl #1]
b LBB0_4
LBB0_32: ; in Loop: Header=BB0_4 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x9, sp, #600
ldrh w22, [x9, x8, lsl #1]
b LBB0_4
LBB0_33: ; in Loop: Header=BB0_4 Depth=1
add w9, w22, #2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
add x10, sp, #600
ldrh w22, [x10, x8, lsl #1]
strh w9, [x21], #2
b LBB0_4
LBB0_34: ; in Loop: Header=BB0_4 Depth=1
ldrh w22, [x21, #-2]!
b LBB0_4
LBB0_35:
Lloh17:
adrp x0, l_str@PAGE
Lloh18:
add x0, x0, l_str@PAGEOFF
LBB0_36:
bl _puts
mov w0, #1
b LBB0_42
LBB0_37:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxth x8, w8
sub x8, x8, #1
add x9, sp, #600
ldrh w9, [x9, x8, lsl #1]
stp x8, x9, [sp]
Lloh19:
adrp x0, l_.str.5@PAGE
Lloh20:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
b LBB0_42
LBB0_38:
Lloh21:
adrp x0, l_.str@PAGE
Lloh22:
add x0, x0, l_.str@PAGEOFF
Lloh23:
adrp x1, l_.str.3@PAGE
Lloh24:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
cbz x0, LBB0_44
; %bb.39:
mov x19, x0
add x0, sp, #600
mov w1, #65536
mov w2, #1
mov x3, x19
bl _fwrite
cbz x0, LBB0_44
; %bb.40:
mov x0, x19
bl _fclose
LBB0_41:
mov w0, #0
LBB0_42:
ldur x8, [x29, #-56]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_45
; %bb.43:
add sp, sp, #16, lsl #12 ; =65536
add sp, sp, #608
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_44:
Lloh28:
adrp x0, l_str.6@PAGE
Lloh29:
add x0, x0, l_str.6@PAGEOFF
b LBB0_36
LBB0_45:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_6-LBB0_6)>>2
.short (LBB0_7-LBB0_6)>>2
.short (LBB0_8-LBB0_6)>>2
.short (LBB0_9-LBB0_6)>>2
.short (LBB0_10-LBB0_6)>>2
.short (LBB0_11-LBB0_6)>>2
.short (LBB0_12-LBB0_6)>>2
.short (LBB0_13-LBB0_6)>>2
.short (LBB0_14-LBB0_6)>>2
.short (LBB0_15-LBB0_6)>>2
.short (LBB0_16-LBB0_6)>>2
.short (LBB0_17-LBB0_6)>>2
.short (LBB0_18-LBB0_6)>>2
.short (LBB0_19-LBB0_6)>>2
.short (LBB0_20-LBB0_6)>>2
.short (LBB0_21-LBB0_6)>>2
.short (LBB0_22-LBB0_6)>>2
.short (LBB0_23-LBB0_6)>>2
.short (LBB0_24-LBB0_6)>>2
.short (LBB0_25-LBB0_6)>>2
.short (LBB0_26-LBB0_6)>>2
.short (LBB0_27-LBB0_6)>>2
.short (LBB0_28-LBB0_6)>>2
.short (LBB0_29-LBB0_6)>>2
.short (LBB0_30-LBB0_6)>>2
.short (LBB0_31-LBB0_6)>>2
.short (LBB0_32-LBB0_6)>>2
.short (LBB0_33-LBB0_6)>>2
.short (LBB0_34-LBB0_6)>>2
.short (LBB0_41-LBB0_6)>>2
.short (LBB0_38-LBB0_6)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "boot.bin"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.3: ; @.str.3
.asciz "w"
l_.str.5: ; @.str.5
.asciz "Invalid instruction! (pc=%i [%i])\n"
l_str: ; @str
.asciz "Could not open boot image."
l_str.6: ; @str.6
.asciz "Could not write boot image."
.subsections_via_symbols
|
the_stack_data/29825519.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ath10k_wmi_op_gen_start_scan
_ath10k_wmi_op_gen_start_scan: ## @ath10k_wmi_op_gen_start_scan
.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, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _ath10k_wmi_start_scan_verify
testl %eax, %eax
je LBB0_3
## %bb.1:
movl %eax, %edi
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_3:
movq %rbx, %rdi
callq _ath10k_wmi_start_scan_tlvs_len
movslq %eax, %rsi
addq $12, %rsi
movq %r14, %rdi
callq _ath10k_wmi_alloc_skb
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r15
movq (%rax), %r12
leaq 8(%r12), %rdi
movq %rbx, %rsi
callq _ath10k_wmi_put_start_scan_common
leaq 4(%r12), %rdi
movq %rbx, %rsi
callq _ath10k_wmi_put_start_scan_tlvs
xorl %edi, %edi
callq ___cpu_to_le32
movl %eax, (%r12)
movq _ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
callq _ath10k_dbg
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ATH10K_DBG_WMI,4,2 ## @ATH10K_DBG_WMI
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "wmi start scan\n"
.no_dead_strip _ath10k_wmi_op_gen_start_scan
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ath10k_wmi_op_gen_start_scan
_ath10k_wmi_op_gen_start_scan: ; @ath10k_wmi_op_gen_start_scan
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov x0, x1
bl _ath10k_wmi_start_scan_verify
cbz w0, LBB0_2
LBB0_1:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ERR_PTR
LBB0_2:
mov x0, x20
bl _ath10k_wmi_start_scan_tlvs_len
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x1, x8, #12
mov x0, x19
bl _ath10k_wmi_alloc_skb
cbz x0, LBB0_4
; %bb.3:
mov x21, x0
ldr x22, [x0]
add x0, x22, #8
mov x1, x20
bl _ath10k_wmi_put_start_scan_common
add x0, x22, #4
mov x1, x20
bl _ath10k_wmi_put_start_scan_tlvs
mov w0, #0
bl ___cpu_to_le32
str w0, [x22]
Lloh0:
adrp x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh1:
ldr x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _ath10k_dbg
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh5:
adrp x8, _ENOMEM@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
b LBB0_1
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ATH10K_DBG_WMI,4,2 ; @ATH10K_DBG_WMI
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "wmi start scan\n"
.no_dead_strip _ath10k_wmi_op_gen_start_scan
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_wmi.c_ath10k_wmi_op_gen_start_scan.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ps_hint_table_alloc
_ps_hint_table_alloc: ## @ps_hint_table_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdi), %r12
leaq 1(%r12), %r15
cmpq 8(%rdi), %r15
jge LBB0_2
## %bb.1:
movq _FT_Err_Ok@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_4
LBB0_2:
movl %esi, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq _ps_hint_table_ensure
xorl %ecx, %ecx
testq %rax, %rax
jne LBB0_5
## %bb.3:
xorl %eax, %eax
LBB0_4:
movq 16(%rbx), %rdx
leaq (%rdx,%r12), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rdx,%r12)
movq $0, 16(%rdx,%r12)
movq %r15, (%rbx)
LBB0_5:
movq %rcx, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FT_Err_Ok,8,3 ## @FT_Err_Ok
.no_dead_strip _ps_hint_table_alloc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ps_hint_table_alloc
_ps_hint_table_alloc: ; @ps_hint_table_alloc
.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
ldp x22, x8, [x0]
add x21, x22, #1
cmp x21, x8
b.ge LBB0_2
; %bb.1:
Lloh0:
adrp x8, _FT_Err_Ok@GOTPAGE
Lloh1:
ldr x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
b LBB0_4
LBB0_2:
mov x2, x1
mov x0, x20
mov x1, x21
bl _ps_hint_table_ensure
cbz x0, LBB0_4
; %bb.3:
mov x8, #0
b LBB0_5
LBB0_4:
ldr x8, [x20, #16]
add x8, x8, x22
stp xzr, xzr, [x8]
str xzr, [x8, #16]
str x21, [x20]
LBB0_5:
str x8, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FT_Err_Ok,8,3 ; @FT_Err_Ok
.no_dead_strip _ps_hint_table_alloc
.subsections_via_symbols
|
AnghaBench/sumatrapdf/ext/freetype/src/pshinter/extr_pshrec.c_ps_hint_table_alloc.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wmemchr ## -- Begin function wmemchr
.p2align 4, 0x90
_wmemchr: ## @wmemchr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_6
## %bb.1:
testq %rdx, %rdx
je LBB0_4
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl %esi, (%rdi)
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
addq $4, %rdi
decq %rdx
jne LBB0_2
LBB0_4:
xorl %edi, %edi
LBB0_5:
movq %rdi, %rax
popq %rbp
retq
LBB0_6:
callq _wmemchr.cold.1
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function wmemchr.cold.1
_wmemchr.cold.1: ## @wmemchr.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__.wmemchr(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $36
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.wmemchr: ## @__func__.wmemchr
.asciz "wmemchr"
L_.str: ## @.str
.asciz "237642158.c"
L_.str.1: ## @.str.1
.asciz "s != NULL"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wmemchr ; -- Begin function wmemchr
.p2align 2
_wmemchr: ; @wmemchr
.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
cbz x0, LBB0_6
; %bb.1:
cbz x2, LBB0_4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x0]
cmp w8, w1
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x0, x0, #4
subs x2, x2, #1
b.ne LBB0_2
LBB0_4:
mov x0, #0
LBB0_5:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_6:
bl _wmemchr.cold.1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function wmemchr.cold.1
_wmemchr.cold.1: ; @wmemchr.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
Lloh0:
adrp x0, l___func__.wmemchr@PAGE
Lloh1:
add x0, x0, l___func__.wmemchr@PAGEOFF
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
Lloh4:
adrp x3, l_.str.1@PAGE
Lloh5:
add x3, x3, l_.str.1@PAGEOFF
mov w2, #36
bl ___assert_rtn
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.wmemchr: ; @__func__.wmemchr
.asciz "wmemchr"
l_.str: ; @.str
.asciz "237642158.c"
l_.str.1: ; @.str.1
.asciz "s != NULL"
.subsections_via_symbols
|
the_stack_data/237642158.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___uio_register_device ## -- Begin function __uio_register_device
.p2align 4, 0x90
___uio_register_device: ## @__uio_register_device
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _uio_class_registered@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_1
## %bb.3:
movq %rsi, %r12
testq %rsi, %rsi
je LBB0_7
## %bb.4:
movq %rdx, %r15
testq %rdx, %rdx
je LBB0_7
## %bb.5:
cmpl $0, 16(%r15)
je LBB0_7
## %bb.6:
cmpl $0, 24(%r15)
je LBB0_7
## %bb.8:
movq %rdi, %rbx
movq $0, 8(%r15)
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $64, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_9
## %bb.10:
movq %rax, %r14
movq %rbx, 56(%rax)
movq %r15, 48(%rax)
leaq 44(%rax), %rdi
callq _mutex_init
leaq 40(%r14), %rdi
callq _init_waitqueue_head
movq %r14, %rdi
addq $36, %rdi
xorl %esi, %esi
callq _atomic_set
movq %r14, %rdi
callq _uio_get_minor
testl %eax, %eax
je LBB0_12
## %bb.11:
movl %eax, %ebx
movq %r14, %rdi
callq _kfree
jmp LBB0_21
LBB0_7:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_1:
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
LBB0_2:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_21:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_12:
movq %r14, %rdi
callq _device_initialize
movq _uio_major@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 32(%r14), %esi
callq _MKDEV
movl %eax, 24(%r14)
movq _uio_class@GOTPCREL(%rip), %rax
movq %rax, 16(%r14)
movq %r12, 8(%r14)
movq _uio_device_release@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
movq %r14, %rdi
movq %r14, %rsi
callq _dev_set_drvdata
movl 32(%r14), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _dev_set_name
movl %eax, %ebx
testl %eax, %eax
jne LBB0_20
## %bb.13:
movq %r14, %rdi
callq _device_add
movl %eax, %ebx
testl %eax, %eax
jne LBB0_20
## %bb.14:
movq %r14, %rdi
callq _uio_dev_add_attributes
movl %eax, %ebx
testl %eax, %eax
je LBB0_15
LBB0_19:
movq %r14, %rdi
callq _device_del
LBB0_20:
movq %r14, %rdi
callq _uio_free_minor
movq %r14, %rdi
callq _put_device
jmp LBB0_21
LBB0_15:
movq %r14, 8(%r15)
movq (%r15), %rdi
xorl %ebx, %ebx
testq %rdi, %rdi
je LBB0_21
## %bb.16:
movq _UIO_IRQ_CUSTOM@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
je LBB0_21
## %bb.17:
movq _uio_interrupt@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 16(%r15), %ecx
movl 20(%r15), %edx
movq %r14, %r8
callq _request_irq
testl %eax, %eax
je LBB0_21
## %bb.18:
movl %eax, %r12d
movq $0, 8(%r15)
movq %r14, %rdi
callq _uio_dev_del_attributes
movl %r12d, %ebx
jmp LBB0_19
.cfi_endproc
## -- End function
.comm _uio_class_registered,4,2 ## @uio_class_registered
.comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER
.comm _EINVAL,4,2 ## @EINVAL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _uio_major,4,2 ## @uio_major
.comm _uio_class,4,2 ## @uio_class
.comm _uio_device_release,4,2 ## @uio_device_release
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "uio%d"
.comm _UIO_IRQ_CUSTOM,8,3 ## @UIO_IRQ_CUSTOM
.comm _uio_interrupt,4,2 ## @uio_interrupt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___uio_register_device ; -- Begin function __uio_register_device
.p2align 2
___uio_register_device: ; @__uio_register_device
.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, _uio_class_registered@GOTPAGE
Lloh1:
ldr x8, [x8, _uio_class_registered@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbz w8, LBB0_9
; %bb.1:
mov x22, x1
cbz x1, LBB0_8
; %bb.2:
mov x19, x2
cbz x2, LBB0_8
; %bb.3:
ldr w8, [x19, #16]
cbz w8, LBB0_8
; %bb.4:
ldr w8, [x19, #24]
cbz w8, LBB0_8
; %bb.5:
mov x21, x0
str xzr, [x19, #8]
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov w0, #64
bl _kzalloc
cbz x0, LBB0_12
; %bb.6:
mov x20, x0
stp x19, x21, [x0, #48]
add x0, x0, #44
bl _mutex_init
add x0, x20, #40
bl _init_waitqueue_head
add x0, x20, #36
mov w1, #0
bl _atomic_set
mov x0, x20
bl _uio_get_minor
cbz w0, LBB0_13
; %bb.7:
mov x21, x0
mov x0, x20
bl _kfree
b LBB0_11
LBB0_8:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_10
LBB0_9:
Lloh8:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh9:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_10:
ldr w8, [x8]
neg w21, w8
LBB0_11:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_12:
Lloh10:
adrp x8, _ENOMEM@GOTPAGE
Lloh11:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_10
LBB0_13:
mov x0, x20
bl _device_initialize
Lloh12:
adrp x8, _uio_major@GOTPAGE
Lloh13:
ldr x8, [x8, _uio_major@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ldr w1, [x20, #32]
bl _MKDEV
str w0, [x20, #24]
Lloh15:
adrp x8, _uio_class@GOTPAGE
Lloh16:
ldr x8, [x8, _uio_class@GOTPAGEOFF]
stp x22, x8, [x20, #8]
Lloh17:
adrp x8, _uio_device_release@GOTPAGE
Lloh18:
ldr x8, [x8, _uio_device_release@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
str w8, [x20]
mov x0, x20
mov x1, x20
bl _dev_set_drvdata
ldr w2, [x20, #32]
Lloh20:
adrp x1, l_.str@PAGE
Lloh21:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _dev_set_name
mov x21, x0
cbnz w0, LBB0_17
; %bb.14:
mov x0, x20
bl _device_add
mov x21, x0
cbnz w0, LBB0_17
; %bb.15:
mov x0, x20
bl _uio_dev_add_attributes
mov x21, x0
cbz w0, LBB0_18
LBB0_16:
mov x0, x20
bl _device_del
LBB0_17:
mov x0, x20
bl _uio_free_minor
mov x0, x20
bl _put_device
b LBB0_11
LBB0_18:
str x20, [x19, #8]
ldr x0, [x19]
cbz x0, LBB0_11
; %bb.19:
Lloh22:
adrp x8, _UIO_IRQ_CUSTOM@GOTPAGE
Lloh23:
ldr x8, [x8, _UIO_IRQ_CUSTOM@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_11
; %bb.20:
Lloh25:
adrp x8, _uio_interrupt@GOTPAGE
Lloh26:
ldr x8, [x8, _uio_interrupt@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
ldp w3, w2, [x19, #16]
mov x4, x20
bl _request_irq
mov x21, x0
cbz w0, LBB0_11
; %bb.21:
str xzr, [x19, #8]
mov x0, x20
bl _uio_dev_del_attributes
b LBB0_16
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _uio_class_registered,4,2 ; @uio_class_registered
.comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER
.comm _EINVAL,4,2 ; @EINVAL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _uio_major,4,2 ; @uio_major
.comm _uio_class,4,2 ; @uio_class
.comm _uio_device_release,4,2 ; @uio_device_release
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "uio%d"
.comm _UIO_IRQ_CUSTOM,8,3 ; @UIO_IRQ_CUSTOM
.comm _uio_interrupt,4,2 ; @uio_interrupt
.subsections_via_symbols
|
AnghaBench/linux/drivers/uio/extr_uio.c___uio_register_device.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sst_hsw_stream_commit ## -- Begin function sst_hsw_stream_commit
.p2align 4, 0x90
_sst_hsw_stream_commit: ## @sst_hsw_stream_commit
.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 %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, -48(%rbp)
movq $0, -32(%rbp)
testq %rsi, %rsi
je LBB0_1
## %bb.3:
movq %rsi, %r15
cmpl $0, (%rsi)
je LBB0_5
## %bb.4:
movl (%r14), %edi
leaq L_.str.1(%rip), %rsi
callq _dev_warn
jmp LBB0_8
LBB0_1:
movl (%r14), %edi
leaq L_.str(%rip), %rsi
callq _dev_warn
jmp LBB0_8
LBB0_5:
movl 12(%r15), %esi
leaq L_.str.2(%rip), %rdi
callq _trace_ipc_request
movq _IPC_GLB_ALLOCATE_STREAM@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _IPC_GLB_TYPE
movl %eax, -56(%rbp)
leaq 8(%r15), %rax
movq %rax, -64(%rbp)
movl $4, -72(%rbp)
leaq 4(%r15), %rax
movq %rax, -40(%rbp)
movl $4, -48(%rbp)
leaq 4(%r14), %rdi
movq -56(%rbp), %rax
movq %rax, 16(%rsp)
movups -72(%rbp), %xmm0
movups %xmm0, (%rsp)
leaq -48(%rbp), %rsi
callq _sst_ipc_tx_message_wait
testl %eax, %eax
js LBB0_6
## %bb.7:
movl $1, (%r15)
movq %r15, %rdi
callq _trace_hsw_stream_alloc_reply
LBB0_8:
xorl %ebx, %ebx
LBB0_9:
movl %ebx, %eax
addq $72, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movl %eax, %ebx
movl (%r14), %edi
leaq L_.str.3(%rip), %rsi
callq _dev_err
jmp LBB0_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "warning: stream is NULL, no stream to commit, ignore it.\n"
L_.str.1: ## @.str.1
.asciz "warning: stream is already committed, ignore it.\n"
L_.str.2: ## @.str.2
.asciz "stream alloc"
.comm _IPC_GLB_ALLOCATE_STREAM,4,2 ## @IPC_GLB_ALLOCATE_STREAM
L_.str.3: ## @.str.3
.asciz "error: stream commit failed\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sst_hsw_stream_commit ; -- Begin function sst_hsw_stream_commit
.p2align 2
_sst_hsw_stream_commit: ; @sst_hsw_stream_commit
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
mov x20, x0
stp xzr, xzr, [sp, #24]
str xzr, [sp, #40]
cbz x1, LBB0_3
; %bb.1:
mov x19, x1
ldr w8, [x1]
cbz w8, LBB0_4
; %bb.2:
ldr w0, [x20]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_warn
b LBB0_6
LBB0_3:
ldr w0, [x20]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
bl _dev_warn
b LBB0_6
LBB0_4:
ldr w1, [x19, #12]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _trace_ipc_request
Lloh6:
adrp x8, _IPC_GLB_ALLOCATE_STREAM@GOTPAGE
Lloh7:
ldr x8, [x8, _IPC_GLB_ALLOCATE_STREAM@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _IPC_GLB_TYPE
add x8, x19, #4
str x8, [sp, #32]
mov w9, #4
str w9, [sp, #24]
add x10, x19, #8
add x8, x20, #4
str w9, [sp]
str x10, [sp, #8]
str w0, [sp, #16]
mov x1, sp
add x2, sp, #24
mov x0, x8
bl _sst_ipc_tx_message_wait
tbnz w0, #31, LBB0_8
; %bb.5:
mov w8, #1
str w8, [x19]
mov x0, x19
bl _trace_hsw_stream_alloc_reply
LBB0_6:
mov w21, #0
LBB0_7:
mov x0, x21
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
add sp, sp, #96
ret
LBB0_8:
mov x21, x0
ldr w0, [x20]
Lloh9:
adrp x1, l_.str.3@PAGE
Lloh10:
add x1, x1, l_.str.3@PAGEOFF
bl _dev_err
b LBB0_7
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "warning: stream is NULL, no stream to commit, ignore it.\n"
l_.str.1: ; @.str.1
.asciz "warning: stream is already committed, ignore it.\n"
l_.str.2: ; @.str.2
.asciz "stream alloc"
.comm _IPC_GLB_ALLOCATE_STREAM,4,2 ; @IPC_GLB_ALLOCATE_STREAM
l_.str.3: ; @.str.3
.asciz "error: stream commit failed\n"
.subsections_via_symbols
|
AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-ipc.c_sst_hsw_stream_commit.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imx_media_pipeline_set_stream ## -- Begin function imx_media_pipeline_set_stream
.p2align 4, 0x90
_imx_media_pipeline_set_stream: ## @imx_media_pipeline_set_stream
.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 %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq _is_media_entity_v4l2_subdev
testl %eax, %eax
je LBB0_1
## %bb.2:
movq %r15, %rdi
callq _media_entity_to_v4l2_subdev
movq %rax, %r12
movq %r14, %rdi
callq _mutex_lock
testl %ebx, %ebx
je LBB0_6
## %bb.3:
leaq 4(%r14), %rsi
movq %r15, %rdi
callq ___media_pipeline_start
movl %eax, %ebx
testl %eax, %eax
jne LBB0_9
## %bb.4:
movq _video@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _s_stream@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
movl $1, %ecx
callq _v4l2_subdev_call
testl %eax, %eax
je LBB0_5
## %bb.7:
movl %eax, %ebx
jmp LBB0_8
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_10
LBB0_6:
movq _video@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _s_stream@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ebx, %ebx
movq %r12, %rdi
xorl %ecx, %ecx
callq _v4l2_subdev_call
cmpq $0, (%r15)
je LBB0_9
LBB0_8:
movq %r15, %rdi
callq ___media_pipeline_stop
jmp LBB0_9
LBB0_5:
xorl %ebx, %ebx
LBB0_9:
movq %r14, %rdi
callq _mutex_unlock
LBB0_10:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _video,4,2 ## @video
.comm _s_stream,4,2 ## @s_stream
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _imx_media_pipeline_set_stream ; -- Begin function imx_media_pipeline_set_stream
.p2align 2
_imx_media_pipeline_set_stream: ; @imx_media_pipeline_set_stream
.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, x2
mov x20, x1
mov x19, x0
mov x0, x1
bl _is_media_entity_v4l2_subdev
cbz w0, LBB0_5
; %bb.1:
mov x0, x20
bl _media_entity_to_v4l2_subdev
mov x21, x0
mov x0, x19
bl _mutex_lock
cbz w22, LBB0_6
; %bb.2:
add x1, x19, #4
mov x0, x20
bl ___media_pipeline_start
mov x22, x0
cbnz w0, LBB0_9
; %bb.3:
Lloh0:
adrp x8, _video@GOTPAGE
Lloh1:
ldr x8, [x8, _video@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _s_stream@GOTPAGE
Lloh4:
ldr x8, [x8, _s_stream@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x21
mov w3, #1
bl _v4l2_subdev_call
mov x22, x0
cbz w0, LBB0_9
; %bb.4:
mov x0, x20
bl ___media_pipeline_stop
b LBB0_9
LBB0_5:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w22, w8
b LBB0_10
LBB0_6:
Lloh9:
adrp x8, _video@GOTPAGE
Lloh10:
ldr x8, [x8, _video@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
Lloh12:
adrp x8, _s_stream@GOTPAGE
Lloh13:
ldr x8, [x8, _s_stream@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
mov x0, x21
mov w3, #0
bl _v4l2_subdev_call
ldr x8, [x20]
cbz x8, LBB0_8
; %bb.7:
mov x0, x20
bl ___media_pipeline_stop
LBB0_8:
mov w22, #0
LBB0_9:
mov x0, x19
bl _mutex_unlock
LBB0_10:
mov x0, x22
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _video,4,2 ; @video
.comm _s_stream,4,2 ; @s_stream
.subsections_via_symbols
|
AnghaBench/linux/drivers/staging/media/imx/extr_imx-media-utils.c_imx_media_pipeline_set_stream.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ThreadSetupLock ## -- Begin function ThreadSetupLock
.p2align 4, 0x90
_ThreadSetupLock: ## @ThreadSetupLock
.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
popq %rbp
jmp _Log_Print ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "no multi-threading\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ThreadSetupLock ; -- Begin function ThreadSetupLock
.p2align 2
_ThreadSetupLock: ; @ThreadSetupLock
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b _Log_Print
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "no multi-threading\n"
.subsections_via_symbols
|
AnghaBench/lab/engine/code/bspc/extr_l_threads.c_ThreadSetupLock.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cavium_rng_probe
_cavium_rng_probe: ## @cavium_rng_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $4, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rax, %rbx
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _pcim_iomap
movl %eax, (%rbx)
testl %eax, %eax
je LBB0_5
## %bb.2:
movq _THUNDERX_RNM_RNG_EN@GOTPCREL(%rip), %rcx
movq _THUNDERX_RNM_ENT_EN@GOTPCREL(%rip), %rdx
movl (%rdx), %edi
orl (%rcx), %edi
movl %eax, %esi
callq _writeq
movq %r14, %rdi
movq %rbx, %rsi
callq _pci_set_drvdata
movq %r14, %rdi
movl $1, %esi
callq _pci_enable_sriov
testl %eax, %eax
je LBB0_7
## %bb.3:
movl %eax, %r12d
movl (%rbx), %esi
xorl %edi, %edi
callq _writeq
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
movl %r12d, %edx
xorl %eax, %eax
callq _dev_err
movl %r12d, %r15d
jmp LBB0_7
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
jmp LBB0_6
LBB0_5:
leaq L_.str(%rip), %rsi
xorl %r15d, %r15d
movq %r14, %rdi
xorl %eax, %eax
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
subl (%rax), %r15d
LBB0_7:
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error iomap failed retrieving control_status.\n"
.comm _THUNDERX_RNM_RNG_EN,4,2 ## @THUNDERX_RNM_RNG_EN
.comm _THUNDERX_RNM_ENT_EN,4,2 ## @THUNDERX_RNM_ENT_EN
L_.str.1: ## @.str.1
.asciz "Error initializing RNG virtual function,(%i).\n"
.no_dead_strip _cavium_rng_probe
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cavium_rng_probe
_cavium_rng_probe: ; @cavium_rng_probe
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #4
bl _devm_kzalloc
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
mov x0, x19
mov w1, #0
mov w2, #0
bl _pcim_iomap
str w0, [x20]
cbz w0, LBB0_4
; %bb.2:
mov x1, x0
Lloh3:
adrp x8, _THUNDERX_RNM_RNG_EN@GOTPAGE
Lloh4:
ldr x8, [x8, _THUNDERX_RNM_RNG_EN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _THUNDERX_RNM_ENT_EN@GOTPAGE
Lloh7:
ldr x9, [x9, _THUNDERX_RNM_ENT_EN@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w0, w9, w8
bl _writeq
mov x0, x19
mov x1, x20
bl _pci_set_drvdata
mov x0, x19
mov w1, #1
bl _pci_enable_sriov
mov x21, x0
cbz w0, LBB0_6
; %bb.3:
ldr w1, [x20]
mov w0, #0
bl _writeq
str x21, [sp]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_err
b LBB0_6
LBB0_4:
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _dev_err
LBB0_5:
Lloh13:
adrp x8, _ENOMEM@GOTPAGE
Lloh14:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
neg w21, w8
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error iomap failed retrieving control_status.\n"
.comm _THUNDERX_RNM_RNG_EN,4,2 ; @THUNDERX_RNM_RNG_EN
.comm _THUNDERX_RNM_ENT_EN,4,2 ; @THUNDERX_RNM_ENT_EN
l_.str.1: ; @.str.1
.asciz "Error initializing RNG virtual function,(%i).\n"
.no_dead_strip _cavium_rng_probe
.subsections_via_symbols
|
AnghaBench/linux/drivers/char/hw_random/extr_cavium-rng.c_cavium_rng_probe.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_spring_cleaning
_do_spring_cleaning: ## @do_spring_cleaning
.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
cmpl $0, (%rdi)
jle LBB0_5
## %bb.1:
xorl %ebx, %ebx
movq _DECAY_MASK@GOTPCREL(%rip), %r15
movq _COUNT_BITS@GOTPCREL(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jge LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl (%rax,%rbx,4), %edi
callq _DECAY
testl %eax, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
decl %eax
movl (%r15), %edx
movzbl (%r12), %ecx
shll %cl, %edx
notl %edx
movq 8(%r14), %rsi
andl (%rsi,%rbx,4), %edx
movl %edx, (%rsi,%rbx,4)
movzbl (%r12), %ecx
shll %cl, %eax
orl %edx, %eax
movl %eax, (%rsi,%rbx,4)
jmp LBB0_4
LBB0_5:
movq $0, 24(%r14)
incl 16(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DECAY_MASK,4,2 ## @DECAY_MASK
.comm _COUNT_BITS,4,2 ## @COUNT_BITS
.no_dead_strip _do_spring_cleaning
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_spring_cleaning
_do_spring_cleaning: ; @do_spring_cleaning
.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_5
; %bb.1:
mov x20, #0
Lloh0:
adrp x21, _DECAY_MASK@GOTPAGE
Lloh1:
ldr x21, [x21, _DECAY_MASK@GOTPAGEOFF]
Lloh2:
adrp x22, _COUNT_BITS@GOTPAGE
Lloh3:
ldr x22, [x22, _COUNT_BITS@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
ldrsw x8, [x19]
cmp x20, x8
b.ge LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x20, lsl #2]
bl _DECAY
cbz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x21]
ldr w9, [x22]
lsl w8, w8, w9
ldr x9, [x19, #8]
lsl x10, x20, #2
ldr w11, [x9, x10]
bic w8, w11, w8
str w8, [x9, x10]
sub w11, w0, #1
ldr w12, [x22]
lsl w11, w11, w12
orr w8, w11, w8
str w8, [x9, x10]
b LBB0_2
LBB0_5:
str xzr, [x19, #24]
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DECAY_MASK,4,2 ; @DECAY_MASK
.comm _COUNT_BITS,4,2 ; @COUNT_BITS
.no_dead_strip _do_spring_cleaning
.subsections_via_symbols
|
AnghaBench/linux/drivers/ras/extr_cec.c_do_spring_cleaning.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function phys_state_show
_phys_state_show: ## @phys_state_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
movl (%rdi), %esi
movl 4(%rdi), %edi
leaq -16(%rbp), %rdx
callq _ib_query_port
testq %rax, %rax
jne LBB0_12
## %bb.1:
movl -16(%rbp), %edx
leal -1(%rdx), %eax
cmpl $6, %eax
ja LBB0_11
## %bb.2:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3:
leaq L_.str(%rip), %rsi
jmp LBB0_4
LBB0_11:
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _sprintf
jmp LBB0_12
LBB0_5:
leaq L_.str.1(%rip), %rsi
jmp LBB0_4
LBB0_6:
leaq L_.str.2(%rip), %rsi
jmp LBB0_4
LBB0_7:
leaq L_.str.3(%rip), %rsi
jmp LBB0_4
LBB0_8:
leaq L_.str.4(%rip), %rsi
jmp LBB0_4
LBB0_9:
leaq L_.str.5(%rip), %rsi
jmp LBB0_4
LBB0_10:
leaq L_.str.6(%rip), %rsi
LBB0_4:
movq %rbx, %rdi
xorl %eax, %eax
callq _sprintf
LBB0_12:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_10
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "1: Sleep\n"
L_.str.1: ## @.str.1
.asciz "2: Polling\n"
L_.str.2: ## @.str.2
.asciz "3: Disabled\n"
L_.str.3: ## @.str.3
.asciz "4: PortConfigurationTraining\n"
L_.str.4: ## @.str.4
.asciz "5: LinkUp\n"
L_.str.5: ## @.str.5
.asciz "6: LinkErrorRecovery\n"
L_.str.6: ## @.str.6
.asciz "7: Phy Test\n"
L_.str.7: ## @.str.7
.asciz "%d: <unknown>\n"
.no_dead_strip _phys_state_show
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function phys_state_show
_phys_state_show: ; @phys_state_show
.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
ldp w1, w8, [x0]
add x2, sp, #8
mov x0, x8
bl _ib_query_port
cbnz x0, LBB0_12
; %bb.1:
ldr w8, [sp, #8]
sub w9, w8, #1
cmp w9, #6
b.hi LBB0_4
; %bb.2:
Lloh0:
adrp x8, lJTI0_0@PAGE
Lloh1:
add x8, x8, lJTI0_0@PAGEOFF
adr x10, LBB0_3
ldrb w11, [x8, x9]
add x10, x10, x11, lsl #2
br x10
LBB0_3:
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
b LBB0_11
LBB0_4:
str x8, [sp]
Lloh4:
adrp x1, l_.str.7@PAGE
Lloh5:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_11
LBB0_5:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_11
LBB0_6:
Lloh8:
adrp x1, l_.str.2@PAGE
Lloh9:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_11
LBB0_7:
Lloh10:
adrp x1, l_.str.3@PAGE
Lloh11:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_11
LBB0_8:
Lloh12:
adrp x1, l_.str.4@PAGE
Lloh13:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_11
LBB0_9:
Lloh14:
adrp x1, l_.str.5@PAGE
Lloh15:
add x1, x1, l_.str.5@PAGEOFF
b LBB0_11
LBB0_10:
Lloh16:
adrp x1, l_.str.6@PAGE
Lloh17:
add x1, x1, l_.str.6@PAGEOFF
LBB0_11:
mov x0, x19
bl _sprintf
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_5-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
.byte (LBB0_7-LBB0_3)>>2
.byte (LBB0_8-LBB0_3)>>2
.byte (LBB0_9-LBB0_3)>>2
.byte (LBB0_10-LBB0_3)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "1: Sleep\n"
l_.str.1: ; @.str.1
.asciz "2: Polling\n"
l_.str.2: ; @.str.2
.asciz "3: Disabled\n"
l_.str.3: ; @.str.3
.asciz "4: PortConfigurationTraining\n"
l_.str.4: ; @.str.4
.asciz "5: LinkUp\n"
l_.str.5: ; @.str.5
.asciz "6: LinkErrorRecovery\n"
l_.str.6: ; @.str.6
.asciz "7: Phy Test\n"
l_.str.7: ; @.str.7
.asciz "%d: <unknown>\n"
.no_dead_strip _phys_state_show
.subsections_via_symbols
|
AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_sysfs.c_phys_state_show.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function of_bus_ambapp_map
_of_bus_ambapp_map: ## @of_bus_ambapp_map
.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 _of_bus_default_map ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _of_bus_ambapp_map
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function of_bus_ambapp_map
_of_bus_ambapp_map: ; @of_bus_ambapp_map
.cfi_startproc
; %bb.0:
b _of_bus_default_map
.cfi_endproc
; -- End function
.no_dead_strip _of_bus_ambapp_map
.subsections_via_symbols
|
AnghaBench/linux/arch/sparc/kernel/extr_of_device_32.c_of_bus_ambapp_map.c
|
anghabench
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.