Dataset Viewer (First 5GB)
x86
string | arm
string | file
string | source
string |
---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $14, %esi
movl $25, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $89, %esi
movl $98, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d "
L_.str.1: ## @.str.1
.asciz "%d %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #25
mov w9, #14
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #98
mov w9, #89
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d "
l_.str.1: ; @.str.1
.asciz "%d %d\n"
.subsections_via_symbols
|
the_stack_data/28262416.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function r8153b_u1u2en
_r8153b_u1u2en: ## @r8153b_u1u2en
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
movq _MCU_TYPE_USB@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _USB_LPM_CONFIG@GOTPCREL(%rip), %r12
movl (%r12), %edx
callq _ocp_read_word
movq _LPM_U1U2_EN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edx
orl %eax, %edx
notl %ecx
andl %eax, %ecx
testl %r14d, %r14d
cmovnel %edx, %ecx
movl (%r15), %esi
movl (%r12), %edx
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ocp_write_word ## TAILCALL
.cfi_endproc
## -- End function
.comm _MCU_TYPE_USB,4,2 ## @MCU_TYPE_USB
.comm _USB_LPM_CONFIG,4,2 ## @USB_LPM_CONFIG
.comm _LPM_U1U2_EN,4,2 ## @LPM_U1U2_EN
.no_dead_strip _r8153b_u1u2en
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function r8153b_u1u2en
_r8153b_u1u2en: ; @r8153b_u1u2en
.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, _MCU_TYPE_USB@GOTPAGE
Lloh1:
ldr x21, [x21, _MCU_TYPE_USB@GOTPAGEOFF]
ldr w1, [x21]
Lloh2:
adrp x22, _USB_LPM_CONFIG@GOTPAGE
Lloh3:
ldr x22, [x22, _USB_LPM_CONFIG@GOTPAGEOFF]
ldr w2, [x22]
bl _ocp_read_word
Lloh4:
adrp x8, _LPM_U1U2_EN@GOTPAGE
Lloh5:
ldr x8, [x8, _LPM_U1U2_EN@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
orr w9, w8, w0
bic w8, w0, w8
cmp w19, #0
csel w3, w8, w9, eq
ldr w1, [x21]
ldr w2, [x22]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ocp_write_word
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MCU_TYPE_USB,4,2 ; @MCU_TYPE_USB
.comm _USB_LPM_CONFIG,4,2 ; @USB_LPM_CONFIG
.comm _LPM_U1U2_EN,4,2 ; @LPM_U1U2_EN
.no_dead_strip _r8153b_u1u2en
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/usb/extr_r8152.c_r8153b_u1u2en.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function stream_to_pack
_stream_to_pack: ## @stream_to_pack
.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 $32856, %eax ## imm = 0x8058
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
movl %r9d, %r14d
movq %r8, %r12
movl %ecx, -32832(%rbp) ## 4-byte Spill
movq %rdx, -32872(%rbp) ## 8-byte Spill
movq %rsi, -32888(%rbp) ## 8-byte Spill
movq %rdi, -32824(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _HASH_WRITE_OBJECT@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl 24(%rbp), %eax
movl %eax, -32828(%rbp) ## 4-byte Spill
movq _pack_compression_level@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -32864(%rbp), %rdi
callq _git_deflate_init
leaq -16432(%rbp), %r13
movl $16384, %ebx ## imm = 0x4000
movq %r13, %rdi
movl $16384, %esi ## imm = 0x4000
movl %r14d, %edx
movq %r12, %rcx
callq _encode_in_pack_object_header
movl %eax, %ecx
addq %rbp, %rcx
addq $-16432, %rcx ## imm = 0xBFD0
movq %rcx, -32864(%rbp)
subl %eax, %ebx
movl %ebx, -32856(%rbp)
leaq -32816(%rbp), %r15
xorl %eax, %eax
movq %rax, -32880(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_1 Depth=1
cmpl $128, %ebx
je LBB0_26
LBB0_1: ## =>This Inner Loop Header: Depth=1
testq %r12, %r12
je LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -32840(%rbp)
jne LBB0_12
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpq $16384, %r12 ## imm = 0x4000
movl $16384, %r14d ## imm = 0x4000
cmovbq %r12, %r14
movl -32832(%rbp), %edi ## 4-byte Reload
movq %r15, %rsi
movq %r14, %rdx
callq _read_in_full
movq %rax, %rbx
testq %rax, %rax
jns LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movq 16(%rbp), %rsi
callq _die_errno
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
cmpq %r14, %rbx
movq -32880(%rbp), %rbx ## 8-byte Reload
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %rdi
movl %r14d, %esi
movq 16(%rbp), %rdx
xorl %eax, %eax
callq _die
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
addq %r14, %rbx
movq %rbx, %rdx
movq -32872(%rbp), %rax ## 8-byte Reload
subq (%rax), %rdx
jle LBB0_11
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpq %rdx, %r14
cmovbq %r14, %rdx
testq %rdx, %rdx
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq _the_hash_algo@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -32888(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq *(%rax)
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq -32872(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, -32880(%rbp) ## 8-byte Spill
movq %r15, -32848(%rbp)
movq %r14, -32840(%rbp)
subq %r14, %r12
leaq -16432(%rbp), %r13
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
xorl %esi, %esi
testq %r12, %r12
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq _Z_FINISH@GOTPCREL(%rip), %rax
movl (%rax), %esi
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
leaq -32864(%rbp), %rdi
callq _git_deflate
movl %eax, %ebx
cmpl $0, -32856(%rbp)
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
cmpl $128, %ebx
jne LBB0_23
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -32828(%rbp) ## 4-byte Folded Reload
je LBB0_22
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movq -32864(%rbp), %r14
subq %r13, %r14
movq -32824(%rbp), %rax ## 8-byte Reload
cmpq $0, 16(%rax)
je LBB0_21
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movq _pack_size_limit_cfg@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
movq -32824(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rcx
addq %r14, %rcx
cmpq %rcx, %rax
jb LBB0_20
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
movq %r12, -32896(%rbp) ## 8-byte Spill
movq %r15, %r12
movq -32824(%rbp), %r15 ## 8-byte Reload
movl 8(%r15), %edi
leaq -16432(%rbp), %r13
movq %r13, %rsi
movq %r14, %rdx
callq _hashwrite
addq %r14, (%r15)
movq %r12, %r15
movq -32896(%rbp), %r12 ## 8-byte Reload
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movq %r13, -32864(%rbp)
movl $16384, -32856(%rbp) ## imm = 0x4000
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
leal -128(%rbx), %eax
cmpl $3, %eax
jb LBB0_25
## %bb.24: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _die
jmp LBB0_25
LBB0_26:
leaq -32864(%rbp), %rdi
callq _git_deflate_end
xorl %eax, %eax
LBB0_27:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_29
## %bb.28:
addq $32856, %rsp ## imm = 0x8058
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
leaq -32864(%rbp), %rdi
callq _git_deflate_abort
movl $-1, %eax
jmp LBB0_27
LBB0_29:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HASH_WRITE_OBJECT,4,2 ## @HASH_WRITE_OBJECT
.comm _pack_compression_level,4,2 ## @pack_compression_level
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to read from '%s'"
L_.str.1: ## @.str.1
.asciz "failed to read %d bytes from '%s'"
.comm _the_hash_algo,8,3 ## @the_hash_algo
.comm _Z_FINISH,4,2 ## @Z_FINISH
.comm _pack_size_limit_cfg,8,3 ## @pack_size_limit_cfg
L_.str.2: ## @.str.2
.asciz "unexpected deflate failure: %d"
.no_dead_strip _stream_to_pack
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function stream_to_pack
_stream_to_pack: ; @stream_to_pack
.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, #32848
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #8, lsl #12 ; =32768
sub sp, sp, #80
stp x1, x6, [sp, #16] ; 16-byte Folded Spill
mov x26, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x24, x0
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
Lloh5:
adrp x9, _HASH_WRITE_OBJECT@GOTPAGE
Lloh6:
ldr x9, [x9, _HASH_WRITE_OBJECT@GOTPAGEOFF]
stur x8, [x29, #-96]
Lloh7:
ldr w8, [x9]
and w27, w8, w7
Lloh8:
adrp x8, _pack_compression_level@GOTPAGE
Lloh9:
ldr x8, [x8, _pack_compression_level@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
add x0, sp, #32
bl _git_deflate_init
add x23, sp, #4, lsl #12 ; =16384
add x23, x23, #64
mov w25, #16384
add x0, sp, #4, lsl #12 ; =16384
add x0, x0, #64
mov w1, #16384
mov x2, x26
mov x3, x20
bl _encode_in_pack_object_header
mov x19, #0
add x8, x23, w0, uxtw
str x8, [sp, #32]
sub w8, w25, w0
Lloh11:
adrp x23, _Z_FINISH@GOTPAGE
Lloh12:
ldr x23, [x23, _Z_FINISH@GOTPAGEOFF]
str w8, [sp, #40]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
cmp w28, #128
b.eq LBB0_23
LBB0_2: ; =>This Inner Loop Header: Depth=1
cbz x20, LBB0_12
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #56]
cbnz x8, LBB0_12
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cmp x20, #4, lsl #12 ; =16384
csel x28, x20, x25, lo
add x1, sp, #64
mov x0, x21
mov x2, x28
bl _read_in_full
mov x26, x0
tbnz x0, #63, LBB0_22
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
cmp x26, x28
b.eq LBB0_7
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
str x8, [sp]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x28
bl _die
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x22]
add x19, x28, x19
subs x8, x19, x8
b.le LBB0_11
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
cmp x28, x8
csel x2, x28, x8, lo
cbz x2, LBB0_10
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
Lloh15:
adrp x8, _the_hash_algo@GOTPAGE
Lloh16:
ldr x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
ldr x8, [x8]
add x1, sp, #64
ldr x0, [sp, #16] ; 8-byte Folded Reload
blr x8
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
str x19, [x22]
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
add x8, sp, #64
stp x8, x28, [sp, #48]
sub x20, x20, x28
LBB0_12: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x23]
cmp x20, #0
csel w1, w8, wzr, eq
add x0, sp, #32
bl _git_deflate
mov x28, x0
ldr w8, [sp, #40]
cbz w8, LBB0_14
; %bb.13: ; in Loop: Header=BB0_2 Depth=1
cmp w28, #128
b.ne LBB0_20
LBB0_14: ; in Loop: Header=BB0_2 Depth=1
cbz w27, LBB0_19
; %bb.15: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [sp, #32]
add x9, sp, #4, lsl #12 ; =16384
add x9, x9, #64
sub x26, x8, x9
ldr x8, [x24, #16]
cbz x8, LBB0_18
; %bb.16: ; in Loop: Header=BB0_2 Depth=1
Lloh18:
adrp x8, _pack_size_limit_cfg@GOTPAGE
Lloh19:
ldr x8, [x8, _pack_size_limit_cfg@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
cbz x8, LBB0_18
; %bb.17: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x24]
add x9, x9, x26
cmp x8, x9
b.lo LBB0_26
LBB0_18: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x24, #8]
add x1, sp, #4, lsl #12 ; =16384
add x1, x1, #64
mov x2, x26
bl _hashwrite
ldr x8, [x24]
add x8, x8, x26
str x8, [x24]
LBB0_19: ; in Loop: Header=BB0_2 Depth=1
add x8, sp, #4, lsl #12 ; =16384
add x8, x8, #64
str x8, [sp, #32]
str w25, [sp, #40]
LBB0_20: ; in Loop: Header=BB0_2 Depth=1
sub w8, w28, #128
cmp w8, #3
b.lo LBB0_1
; %bb.21: ; in Loop: Header=BB0_2 Depth=1
Lloh21:
adrp x0, l_.str.2@PAGE
Lloh22:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x28
bl _die
b LBB0_1
LBB0_22: ; in Loop: Header=BB0_2 Depth=1
Lloh23:
adrp x0, l_.str@PAGE
Lloh24:
add x0, x0, l_.str@PAGEOFF
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _die_errno
cmp x26, x28
b.ne LBB0_6
b LBB0_7
LBB0_23:
add x0, sp, #32
bl _git_deflate_end
mov w0, #0
LBB0_24:
ldur x8, [x29, #-96]
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_27
; %bb.25:
add sp, sp, #8, lsl #12 ; =32768
add sp, sp, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_26:
add x0, sp, #32
bl _git_deflate_abort
mov w0, #-1
b LBB0_24
LBB0_27:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _HASH_WRITE_OBJECT,4,2 ; @HASH_WRITE_OBJECT
.comm _pack_compression_level,4,2 ; @pack_compression_level
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to read from '%s'"
l_.str.1: ; @.str.1
.asciz "failed to read %d bytes from '%s'"
.comm _the_hash_algo,8,3 ; @the_hash_algo
.comm _Z_FINISH,4,2 ; @Z_FINISH
.comm _pack_size_limit_cfg,8,3 ; @pack_size_limit_cfg
l_.str.2: ; @.str.2
.asciz "unexpected deflate failure: %d"
.no_dead_strip _stream_to_pack
.subsections_via_symbols
|
AnghaBench/git/extr_bulk-checkin.c_stream_to_pack.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ahash_def_finup_done1
_ahash_def_finup_done1: ## @ahash_def_finup_done1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rbx
movq _EINPROGRESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %esi, %eax
jne LBB0_1
## %bb.3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ahash_notify_einprogress ## TAILCALL
LBB0_1:
movq _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 8(%rbx)
movq %rbx, %rdi
callq _ahash_def_finup_finish1
cmpq $0, 16(%rbx)
je LBB0_4
## %bb.2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_4:
movq (%rbx), %rcx
movq %rbx, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmpq *%rcx ## TAILCALL
.cfi_endproc
## -- End function
.comm _EINPROGRESS,4,2 ## @EINPROGRESS
.comm _CRYPTO_TFM_REQ_MAY_SLEEP,4,2 ## @CRYPTO_TFM_REQ_MAY_SLEEP
.no_dead_strip _ahash_def_finup_done1
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ahash_def_finup_done1
_ahash_def_finup_done1: ; @ahash_def_finup_done1
.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 x19, [x0]
Lloh0:
adrp x8, _EINPROGRESS@GOTPAGE
Lloh1:
ldr x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmn w8, w1
b.ne LBB0_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ahash_notify_einprogress
LBB0_2:
Lloh3:
adrp x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGE
Lloh4:
ldr x8, [x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #8]
bic w8, w9, w8
str w8, [x19, #8]
mov x0, x19
bl _ahash_def_finup_finish1
ldr x8, [x19, #16]
cbz x8, LBB0_4
; %bb.3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
mov x1, x0
ldr x2, [x19]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINPROGRESS,4,2 ; @EINPROGRESS
.comm _CRYPTO_TFM_REQ_MAY_SLEEP,4,2 ; @CRYPTO_TFM_REQ_MAY_SLEEP
.no_dead_strip _ahash_def_finup_done1
.subsections_via_symbols
|
AnghaBench/linux/crypto/extr_ahash.c_ahash_def_finup_done1.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function checkout_message
_checkout_message: ## @checkout_message
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq L_.str(%rip), %rsi
callq _git_buf_puts
movq %rbx, %rdi
callq _git_reference_type
movq _GIT_REFERENCE_SYMBOLIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _git_reference_symbolic_target
movq %rax, %rdi
callq _git_reference__shorthand
jmp LBB0_3
LBB0_2:
movq %rbx, %rdi
callq _git_reference_target
movl %eax, %edi
callq _git_oid_tostr_s
LBB0_3:
movq %rax, %rsi
movq %r15, %rdi
callq _git_buf_puts
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _git_buf_puts
movq %r14, %rdi
callq _git_reference__is_branch
testq %rax, %rax
jne LBB0_6
## %bb.4:
movq %r14, %rdi
callq _git_reference__is_tag
testq %rax, %rax
jne LBB0_6
## %bb.5:
movq %r14, %rdi
callq _git_reference__is_remote
testq %rax, %rax
je LBB0_7
LBB0_6:
movq %r14, %rdi
callq _git_reference__shorthand
movq %rax, %r14
LBB0_7:
movq %r15, %rdi
movq %r14, %rsi
callq _git_buf_puts
movq %r15, %rdi
callq _git_buf_oom
xorl %ecx, %ecx
negq %rax
sbbl %ecx, %ecx
movl %ecx, %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 "checkout: moving from "
.comm _GIT_REFERENCE_SYMBOLIC,8,3 ## @GIT_REFERENCE_SYMBOLIC
L_.str.1: ## @.str.1
.asciz " to "
.no_dead_strip _checkout_message
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function checkout_message
_checkout_message: ; @checkout_message
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _git_buf_puts
mov x0, x21
bl _git_reference_type
Lloh2:
adrp x8, _GIT_REFERENCE_SYMBOLIC@GOTPAGE
Lloh3:
ldr x8, [x8, _GIT_REFERENCE_SYMBOLIC@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
mov x0, x21
bl _git_reference_symbolic_target
bl _git_reference__shorthand
b LBB0_3
LBB0_2:
mov x0, x21
bl _git_reference_target
bl _git_oid_tostr_s
LBB0_3:
mov x1, x0
mov x0, x19
bl _git_buf_puts
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _git_buf_puts
mov x0, x20
bl _git_reference__is_branch
cbnz x0, LBB0_6
; %bb.4:
mov x0, x20
bl _git_reference__is_tag
cbnz x0, LBB0_6
; %bb.5:
mov x0, x20
bl _git_reference__is_remote
cbz x0, LBB0_7
LBB0_6:
mov x0, x20
bl _git_reference__shorthand
mov x20, x0
LBB0_7:
mov x0, x19
mov x1, x20
bl _git_buf_puts
mov x0, x19
bl _git_buf_oom
cmp x0, #0
csetm w0, ne
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "checkout: moving from "
.comm _GIT_REFERENCE_SYMBOLIC,8,3 ; @GIT_REFERENCE_SYMBOLIC
l_.str.1: ; @.str.1
.asciz " to "
.no_dead_strip _checkout_message
.subsections_via_symbols
|
AnghaBench/libgit2/src/extr_repository.c_checkout_message.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sflow_print_counter_sample
_sflow_print_counter_sample: ## @sflow_print_counter_sample
.cfi_startproc
## %bb.0:
cmpl $12, %edx
jae LBB0_2
## %bb.1:
movl $1, %eax
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movq (%rsi), %rdi
movl 8(%rsi), %esi
callq _ND_TCHECK
movl 8(%rbx), %edi
callq _EXTRACT_32BITS
movl 4(%rbx), %edi
callq _EXTRACT_32BITS
movl %eax, %r12d
movl (%rbx), %edi
callq _EXTRACT_32BITS
movslq %r12d, %r12
movq %r12, %rdi
callq _ND_PRINT
addq $48, %rbx
addl $-12, %r14d
movq %r15, %rdi
movq %rbx, %rsi
movl %r14d, %edx
movl %r12d, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _sflow_print_counter_records ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sflow_print_counter_sample
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sflow_print_counter_sample
_sflow_print_counter_sample: ; @sflow_print_counter_sample
.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
subs w19, w2, #12
b.hs LBB0_2
; %bb.1:
mov w0, #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
ret
LBB0_2:
mov x21, x1
mov x20, x0
ldr x0, [x1]
ldr w1, [x1, #8]
bl _ND_TCHECK
ldr w0, [x21, #8]
bl _EXTRACT_32BITS
ldr w0, [x21, #4]
bl _EXTRACT_32BITS
mov x22, x0
ldr w0, [x21]
bl _EXTRACT_32BITS
sxtw x0, w22
bl _ND_PRINT
add x1, x21, #48
mov x0, x20
mov x2, x19
mov x3, 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
b _sflow_print_counter_records
.cfi_endproc
; -- End function
.no_dead_strip _sflow_print_counter_sample
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/tcpdump/extr_print-sflow.c_sflow_print_counter_sample.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bfa_fcs_rport_send_nsdisc
_bfa_fcs_rport_send_nsdisc: ## @bfa_fcs_rport_send_nsdisc
.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, %r14
movq %rdi, %rbx
movq 32(%rdi), %r15
movl (%rdi), %esi
movl 28(%rdi), %edi
callq _bfa_trc
testq %r14, %r14
jne LBB0_2
## %bb.1:
movq 16(%r15), %rdi
movq _BFA_TRUE@GOTPCREL(%rip), %r12
movl (%r12), %esi
callq _bfa_fcs_fcxp_alloc
movq %rax, %r14
testq %rax, %rax
je LBB0_6
LBB0_2:
movq %r14, 16(%rbx)
movq 8(%rbx), %r13
movq %r14, %rdi
callq _bfa_fcxp_get_reqbuf
movl %eax, %r12d
movq %r15, %rdi
callq _bfa_fcs_lport_get_fcid
testq %r13, %r13
je LBB0_4
## %bb.3:
movq 8(%rbx), %r8
leaq -48(%rbp), %rdi
movl %r12d, %esi
movl %eax, %edx
xorl %ecx, %ecx
callq _fc_gidpn_build
## kill: def $eax killed $eax def $rax
movq _bfa_fcs_rport_gidpn_response@GOTPCREL(%rip), %rcx
jmp LBB0_5
LBB0_4:
movl (%rbx), %r8d
leaq -48(%rbp), %rdi
movl %r12d, %esi
movl %eax, %edx
xorl %ecx, %ecx
callq _fc_gpnid_build
## kill: def $eax killed $eax def $rax
movq _bfa_fcs_rport_gpnid_response@GOTPCREL(%rip), %rcx
LBB0_5:
movl (%rcx), %r10d
movq 8(%r15), %rcx
movl (%rcx), %edx
movl (%r15), %ecx
movq _BFA_FALSE@GOTPCREL(%rip), %rsi
movl (%rsi), %r8d
movq _FC_CLASS_3@GOTPCREL(%rip), %rsi
movl (%rsi), %r9d
movq _FC_MAX_PDUSZ@GOTPCREL(%rip), %rsi
movl (%rsi), %r11d
movq _FC_FCCT_TOV@GOTPCREL(%rip), %rsi
movl (%rsi), %r15d
leaq -48(%rbp), %r12
movq %r14, %rdi
xorl %esi, %esi
pushq %r15
pushq %r11
pushq %rbx
pushq %r10
pushq %r12
pushq %rax
callq _bfa_fcxp_send
addq $48, %rsp
movq _RPSM_EVENT_FCXP_SENT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _bfa_sm_send_event
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq 16(%r15), %rax
movl (%rax), %edi
leaq 24(%rbx), %rsi
movl (%r12), %r8d
leaq _bfa_fcs_rport_send_nsdisc(%rip), %rdx
movq %rbx, %rcx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _bfa_fcs_fcxp_alloc_wait ## TAILCALL
.cfi_endproc
## -- End function
.comm _BFA_TRUE,4,2 ## @BFA_TRUE
.comm _bfa_fcs_rport_gidpn_response,4,2 ## @bfa_fcs_rport_gidpn_response
.comm _bfa_fcs_rport_gpnid_response,4,2 ## @bfa_fcs_rport_gpnid_response
.comm _BFA_FALSE,4,2 ## @BFA_FALSE
.comm _FC_CLASS_3,4,2 ## @FC_CLASS_3
.comm _FC_MAX_PDUSZ,4,2 ## @FC_MAX_PDUSZ
.comm _FC_FCCT_TOV,4,2 ## @FC_FCCT_TOV
.comm _RPSM_EVENT_FCXP_SENT,4,2 ## @RPSM_EVENT_FCXP_SENT
.no_dead_strip _bfa_fcs_rport_send_nsdisc
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bfa_fcs_rport_send_nsdisc
_bfa_fcs_rport_send_nsdisc: ; @bfa_fcs_rport_send_nsdisc
.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 x20, x1
mov x19, x0
ldr x21, [x0, #32]
ldr w0, [x0, #28]
ldr w1, [x19]
bl _bfa_trc
cbnz x20, LBB0_2
; %bb.1:
ldr x0, [x21, #16]
Lloh0:
adrp x22, _BFA_TRUE@GOTPAGE
Lloh1:
ldr x22, [x22, _BFA_TRUE@GOTPAGEOFF]
ldr w1, [x22]
bl _bfa_fcs_fcxp_alloc
mov x20, x0
cbz x0, LBB0_6
LBB0_2:
str x20, [x19, #16]
ldr x23, [x19, #8]
mov x0, x20
bl _bfa_fcxp_get_reqbuf
mov x22, x0
mov x0, x21
bl _bfa_fcs_lport_get_fcid
mov x2, x0
cbz x23, LBB0_4
; %bb.3:
ldr x4, [x19, #8]
add x0, sp, #24
mov x1, x22
mov w3, #0
bl _fc_gidpn_build
mov x6, x0
Lloh2:
adrp x8, _bfa_fcs_rport_gidpn_response@GOTPAGE
Lloh3:
ldr x8, [x8, _bfa_fcs_rport_gidpn_response@GOTPAGEOFF]
b LBB0_5
LBB0_4:
ldr w4, [x19]
add x0, sp, #24
mov x1, x22
mov w3, #0
bl _fc_gpnid_build
mov x6, x0
Lloh4:
adrp x8, _bfa_fcs_rport_gpnid_response@GOTPAGE
Lloh5:
ldr x8, [x8, _bfa_fcs_rport_gpnid_response@GOTPAGEOFF]
LBB0_5:
ldr w8, [x8]
ldr x9, [x21, #8]
ldr w2, [x9]
ldr w3, [x21]
Lloh6:
adrp x9, _BFA_FALSE@GOTPAGE
Lloh7:
ldr x9, [x9, _BFA_FALSE@GOTPAGEOFF]
Lloh8:
ldr w4, [x9]
Lloh9:
adrp x9, _FC_CLASS_3@GOTPAGE
Lloh10:
ldr x9, [x9, _FC_CLASS_3@GOTPAGEOFF]
Lloh11:
ldr w5, [x9]
Lloh12:
adrp x9, _FC_MAX_PDUSZ@GOTPAGE
Lloh13:
ldr x9, [x9, _FC_MAX_PDUSZ@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
Lloh15:
adrp x10, _FC_FCCT_TOV@GOTPAGE
Lloh16:
ldr x10, [x10, _FC_FCCT_TOV@GOTPAGEOFF]
Lloh17:
ldr w10, [x10]
stp w9, w10, [sp, #16]
add x7, sp, #24
str x19, [sp, #8]
str w8, [sp]
mov x0, x20
mov x1, #0
bl _bfa_fcxp_send
Lloh18:
adrp x8, _RPSM_EVENT_FCXP_SENT@GOTPAGE
Lloh19:
ldr x8, [x8, _RPSM_EVENT_FCXP_SENT@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x19
bl _bfa_sm_send_event
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_6:
ldr x8, [x21, #16]
ldr w0, [x8]
add x1, x19, #24
Lloh21:
adrp x2, _bfa_fcs_rport_send_nsdisc@PAGE
Lloh22:
add x2, x2, _bfa_fcs_rport_send_nsdisc@PAGEOFF
ldr w4, [x22]
mov x3, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
b _bfa_fcs_fcxp_alloc_wait
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _BFA_TRUE,4,2 ; @BFA_TRUE
.comm _bfa_fcs_rport_gidpn_response,4,2 ; @bfa_fcs_rport_gidpn_response
.comm _bfa_fcs_rport_gpnid_response,4,2 ; @bfa_fcs_rport_gpnid_response
.comm _BFA_FALSE,4,2 ; @BFA_FALSE
.comm _FC_CLASS_3,4,2 ; @FC_CLASS_3
.comm _FC_MAX_PDUSZ,4,2 ; @FC_MAX_PDUSZ
.comm _FC_FCCT_TOV,4,2 ; @FC_FCCT_TOV
.comm _RPSM_EVENT_FCXP_SENT,4,2 ; @RPSM_EVENT_FCXP_SENT
.no_dead_strip _bfa_fcs_rport_send_nsdisc
.subsections_via_symbols
|
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs_rport.c_bfa_fcs_rport_send_nsdisc.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _attribute_off ## -- Begin function attribute_off
.p2align 4, 0x90
_attribute_off: ## @attribute_off
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _String_table@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _me__@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
je LBB0_1
LBB0_3:
xorl %esi, %esi
xorl %edx, %edx
popq %rbp
jmp _String_Out ## TAILCALL
LBB0_1:
movq _sa__@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
cmpq $0, (%rax,%rdx,8)
je LBB0_2
## %bb.4:
movq _attributes_set@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
movq $0, (%rsi)
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
movl $1, %edx
popq %rbp
jmp _String_Out ## TAILCALL
LBB0_2:
movq _se__@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
jne LBB0_3
## %bb.5:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _String_table,8,3 ## @String_table
.comm _me__,8,3 ## @me__
.comm _sa__,8,3 ## @sa__
.comm _attributes_set,8,3 ## @attributes_set
.comm _se__,8,3 ## @se__
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _attribute_off ; -- Begin function attribute_off
.p2align 2
_attribute_off: ; @attribute_off
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _String_table@GOTPAGE
Lloh1:
ldr x8, [x8, _String_table@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _me__@GOTPAGE
Lloh4:
ldr x9, [x9, _me__@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr x0, [x8, x9, lsl #3]
cbz x0, LBB0_2
LBB0_1:
mov x1, #0
mov w2, #0
b _String_Out
LBB0_2:
Lloh6:
adrp x9, _sa__@GOTPAGE
Lloh7:
ldr x9, [x9, _sa__@GOTPAGEOFF]
ldr x10, [x9]
ldr x10, [x8, x10, lsl #3]
cbz x10, LBB0_4
; %bb.3:
Lloh8:
adrp x10, _attributes_set@GOTPAGE
Lloh9:
ldr x10, [x10, _attributes_set@GOTPAGEOFF]
Lloh10:
ldr x1, [x10]
str xzr, [x1]
ldr x9, [x9]
ldr x0, [x8, x9, lsl #3]
mov w2, #1
b _String_Out
LBB0_4:
Lloh11:
adrp x9, _se__@GOTPAGE
Lloh12:
ldr x9, [x9, _se__@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
ldr x0, [x8, x9, lsl #3]
cbnz x0, LBB0_1
; %bb.5:
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _String_table,8,3 ; @String_table
.comm _me__,8,3 ; @me__
.comm _sa__,8,3 ; @sa__
.comm _attributes_set,8,3 ; @attributes_set
.comm _se__,8,3 ; @se__
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/ee/extr_new_curse.c_attribute_off.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mac_reg_dump ## -- Begin function mac_reg_dump
.p2align 4, 0x90
_mac_reg_dump: ## @mac_reg_dump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r14
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _DBG_871X_SEL_NL
movl $1, %r12d
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
movl %r13d, %esi
callq _rtw_read32
movq %rbx, %rdi
leaq L_.str.2(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _DBG_871X_SEL
incl %r12d
testl %r15d, %r15d
je LBB0_4
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
addl $4, %r13d
cmpl $513, %r12d ## imm = 0x201
je LBB0_6
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %r12d, %r15d
andl $3, %r15d
cmpl $1, %r15d
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
leaq L_.str.1(%rip), %rsi
movl %r13d, %edx
xorl %eax, %eax
callq _DBG_871X_SEL_NL
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _DBG_871X_SEL
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "======= MAC REG =======\n"
L_.str.1: ## @.str.1
.asciz "0x%03x"
L_.str.2: ## @.str.2
.asciz " 0x%08x "
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mac_reg_dump ; -- Begin function mac_reg_dump
.p2align 2
_mac_reg_dump: ; @mac_reg_dump
.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, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _DBG_871X_SEL_NL
mov w21, #0
mov w25, #1
Lloh2:
adrp x22, l_.str.1@PAGE
Lloh3:
add x22, x22, l_.str.1@PAGEOFF
Lloh4:
adrp x23, l_.str.2@PAGE
Lloh5:
add x23, x23, l_.str.2@PAGEOFF
Lloh6:
adrp x24, l_.str.3@PAGE
Lloh7:
add x24, x24, l_.str.3@PAGEOFF
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x21
bl _rtw_read32
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x20
mov x1, x23
bl _DBG_871X_SEL
cbz w26, LBB0_5
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w25, w25, #1
add w21, w21, #4
cmp w25, #513
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
and w26, w25, #0x3
cmp w26, #1
b.ne LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
str x21, [sp]
mov x0, x20
mov x1, x22
bl _DBG_871X_SEL_NL
b LBB0_1
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, x24
bl _DBG_871X_SEL
b LBB0_2
LBB0_6:
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 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 "======= MAC REG =======\n"
l_.str.1: ; @.str.1
.asciz "0x%03x"
l_.str.2: ; @.str.2
.asciz " 0x%08x "
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
|
AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_debug.c_mac_reg_dump.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nondet_signed_int ## -- Begin function nondet_signed_int
.p2align 4, 0x90
_nondet_signed_int: ## @nondet_signed_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %ebx
movl $1, %edi
callq ___VERIFIER_assume
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %r15d
movl $1, %edi
callq ___VERIFIER_assume
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %r14d
movl $1, %edi
callq ___VERIFIER_assume
testl %r15d, %r15d
jg LBB1_2
jmp LBB1_6
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
decl %r15d
testl %r15d, %r15d
jle LBB1_6
LBB1_2: ## =>This Inner Loop Header: Depth=1
testl %r14d, %r14d
jle LBB1_6
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %ebx
movl $1, %edi
callq ___VERIFIER_assume
testl %ebx, %ebx
jne LBB1_4
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %r15d
movl $1, %edi
callq ___VERIFIER_assume
decl %r14d
testl %r15d, %r15d
jg LBB1_2
LBB1_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
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 _nondet_signed_int ; -- Begin function nondet_signed_int
.p2align 2
_nondet_signed_int: ; @nondet_signed_int
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl ___VERIFIER_nondet_int
mov x19, x0
mov w0, #1
bl ___VERIFIER_assume
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
bl ___VERIFIER_nondet_int
mov x19, x0
mov w0, #1
bl ___VERIFIER_assume
bl ___VERIFIER_nondet_int
mov x20, x0
mov w0, #1
bl ___VERIFIER_assume
cmp w19, #1
b.lt LBB1_6
; %bb.1:
cmp w20, #1
b.lt LBB1_6
LBB1_2: ; =>This Inner Loop Header: Depth=1
bl ___VERIFIER_nondet_int
mov x21, x0
mov w0, #1
bl ___VERIFIER_assume
cbz w21, LBB1_4
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
sub w19, w19, #1
cmp w19, #1
b.ge LBB1_5
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_2 Depth=1
bl ___VERIFIER_nondet_int
mov x19, x0
mov w0, #1
bl ___VERIFIER_assume
sub w20, w20, #1
cmp w19, #1
b.lt LBB1_6
LBB1_5: ; in Loop: Header=BB1_2 Depth=1
cmp w20, #0
b.gt LBB1_2
LBB1_6:
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
.cfi_endproc
; -- End function
.subsections_via_symbols
|
the_stack_data/1211420.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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %r14
leaq -48(%rbp), %rsi
leaq -52(%rbp), %rdx
leaq -44(%rbp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
leaq -60(%rbp), %rsi
leaq -64(%rbp), %rdx
leaq -56(%rbp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq _scanf
movl -64(%rbp), %eax
movl -60(%rbp), %ecx
movl -56(%rbp), %edx
testl %eax, %eax
jne LBB0_3
## %bb.1:
testl %ecx, %ecx
jne LBB0_3
## %bb.2:
testl %edx, %edx
je LBB0_14
LBB0_3:
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
leaq -60(%rbp), %r12
leaq -64(%rbp), %r13
leaq -56(%rbp), %rbx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %esi
cmpl %edx, %esi
jg LBB0_10
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -48(%rbp), %edi
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
cmpl %ecx, %edi
jg LBB0_10
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
cmpl %edx, %esi
jne LBB0_11
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpl %ecx, %edi
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
cmpl %eax, -52(%rbp)
jle LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movl %edx, -44(%rbp)
movl %ecx, -48(%rbp)
movl %eax, -52(%rbp)
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq _scanf
movl -64(%rbp), %eax
movl -60(%rbp), %ecx
movl -56(%rbp), %edx
testl %eax, %eax
jne LBB0_4
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
testl %ecx, %ecx
jne LBB0_4
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
testl %edx, %edx
jne LBB0_4
LBB0_14:
movl -48(%rbp), %esi
movl -52(%rbp), %edx
movl -44(%rbp), %ecx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a date (mm/dd/yyyy): "
L_.str.1: ## @.str.1
.asciz "%d/%d/%d"
L_.str.2: ## @.str.2
.asciz "%.2d/%.2d/%.2d is the earliest date."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
add x8, sp, #24
str x8, [sp, #16]
add x8, sp, #32
add x9, sp, #28
stp x9, x8, [sp]
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x20
bl _scanf
mov x0, x19
bl _printf
add x21, sp, #36
add x22, sp, #44
add x23, sp, #40
stp x22, x21, [sp, #8]
str x23, [sp]
mov x0, x20
bl _scanf
ldp w9, w8, [sp, #40]
ldr w10, [sp, #36]
cbnz w8, LBB0_3
; %bb.1:
cbnz w9, LBB0_3
; %bb.2:
cbz w10, LBB0_11
LBB0_3:
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w11, [sp, #24]
cmp w11, w10
b.gt LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w12, [sp, #28]
ccmp w12, w9, #4, eq
b.gt LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr w13, [sp, #32]
cmp w11, w10
ccmp w12, w9, #0, eq
ccmp w13, w8, #4, eq
b.le LBB0_8
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
stp w10, w9, [sp, #24]
str w8, [sp, #32]
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _printf
stp x22, x21, [sp, #8]
str x23, [sp]
mov x0, x20
bl _scanf
ldp w9, w8, [sp, #40]
ldr w10, [sp, #36]
cbnz w8, LBB0_4
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
cbnz w9, LBB0_4
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
cbnz w10, LBB0_4
LBB0_11:
ldp w8, w9, [sp, #28]
ldr w10, [sp, #24]
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a date (mm/dd/yyyy): "
l_.str.1: ; @.str.1
.asciz "%d/%d/%d"
l_.str.2: ; @.str.2
.asciz "%.2d/%.2d/%.2d is the earliest date."
.subsections_via_symbols
|
the_stack_data/59511533.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 %eax, %eax
callq _printf
callq _getchar
movsbl %al, %edx
leaq L_.str.1(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a Character: "
L_.str.1: ## @.str.1
.asciz "\nThe ASCII value of %c is %d \n \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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _getchar
sxtb w8, w0
stp x8, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a Character: "
l_.str.1: ; @.str.1
.asciz "\nThe ASCII value of %c is %d \n \n "
.subsections_via_symbols
|
the_stack_data/72013373.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scif_drain_dma_intr ## -- Begin function scif_drain_dma_intr
.p2align 4, 0x90
_scif_drain_dma_intr: ## @scif_drain_dma_intr
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB0_1
## %bb.2:
jmp _scif_async_dma ## TAILCALL
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scif_drain_dma_intr ; -- Begin function scif_drain_dma_intr
.p2align 2
_scif_drain_dma_intr: ; @scif_drain_dma_intr
.cfi_startproc
; %bb.0:
cbz x1, LBB0_2
; %bb.1:
b _scif_async_dma
LBB0_2:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
AnghaBench/linux/drivers/misc/mic/scif/extr_scif_dma.c_scif_drain_dma_intr.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _posix_spawnattr_getpgroup ## -- Begin function posix_spawnattr_getpgroup
.p2align 4, 0x90
_posix_spawnattr_getpgroup: ## @posix_spawnattr_getpgroup
.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_2
## %bb.1:
movq (%rdi), %rax
testq %rax, %rax
je LBB0_2
## %bb.3:
movl (%rax), %eax
movl %eax, (%rsi)
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _posix_spawnattr_getpgroup ; -- Begin function posix_spawnattr_getpgroup
.p2align 2
_posix_spawnattr_getpgroup: ; @posix_spawnattr_getpgroup
.cfi_startproc
; %bb.0:
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x0]
cbz x8, LBB0_3
; %bb.2:
mov w0, #0
ldr w8, [x8]
str w8, [x1]
ret
LBB0_3:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
|
AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c_posix_spawnattr_getpgroup.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __card_getstatusex
___card_getstatusex: ## @__card_getstatusex
.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 $0, -32(%rbp)
movq _EXI_CHANNEL_0@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
jg LBB0_8
## %bb.1:
movq _EXI_CHANNEL_2@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
jle LBB0_8
## %bb.2:
movq %rsi, %rbx
testq %rsi, %rsi
js LBB0_9
## %bb.3:
movq _CARD_MAXFILES@GOTPCREL(%rip), %rax
cmpq %rbx, (%rax)
jle LBB0_9
## %bb.4:
movq %rdx, %r14
leaq -32(%rbp), %rsi
callq ___card_getcntrlblock
testq %rax, %rax
js LBB0_11
## %bb.5:
movq _CARD_ERROR_BROKEN@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq -32(%rbp), %rdi
callq ___card_getdirblock
testq %rax, %rax
je LBB0_7
## %bb.6:
movq _CARD_ERROR_READY@GOTPCREL(%rip), %rcx
movq (%rcx), %r15
shlq $2, %rbx
addq (%rax), %rbx
movq %r14, %rdi
movq %rbx, %rsi
movl $4, %edx
callq _memcpy
LBB0_7:
movq -32(%rbp), %rdi
movq %r15, %rsi
callq ___card_putcntrlblock
jmp LBB0_11
LBB0_8:
movq _CARD_ERROR_NOCARD@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_9:
movq _CARD_ERROR_FATAL_ERROR@GOTPCREL(%rip), %rax
LBB0_10:
movq (%rax), %rax
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EXI_CHANNEL_0,8,3 ## @EXI_CHANNEL_0
.comm _EXI_CHANNEL_2,8,3 ## @EXI_CHANNEL_2
.comm _CARD_ERROR_NOCARD,8,3 ## @CARD_ERROR_NOCARD
.comm _CARD_MAXFILES,8,3 ## @CARD_MAXFILES
.comm _CARD_ERROR_FATAL_ERROR,8,3 ## @CARD_ERROR_FATAL_ERROR
.comm _CARD_ERROR_BROKEN,8,3 ## @CARD_ERROR_BROKEN
.comm _CARD_ERROR_READY,8,3 ## @CARD_ERROR_READY
.no_dead_strip ___card_getstatusex
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __card_getstatusex
___card_getstatusex: ; @__card_getstatusex
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str xzr, [sp, #8]
Lloh0:
adrp x8, _EXI_CHANNEL_0@GOTPAGE
Lloh1:
ldr x8, [x8, _EXI_CHANNEL_0@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _EXI_CHANNEL_2@GOTPAGE
Lloh4:
ldr x9, [x9, _EXI_CHANNEL_2@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x0
ccmp x9, x0, #4, le
b.gt LBB0_2
; %bb.1:
Lloh6:
adrp x8, _CARD_ERROR_NOCARD@GOTPAGE
Lloh7:
ldr x8, [x8, _CARD_ERROR_NOCARD@GOTPAGEOFF]
b LBB0_9
LBB0_2:
mov x20, x1
tbnz x1, #63, LBB0_8
; %bb.3:
Lloh8:
adrp x8, _CARD_MAXFILES@GOTPAGE
Lloh9:
ldr x8, [x8, _CARD_MAXFILES@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x8, x20
b.le LBB0_8
; %bb.4:
mov x19, x2
add x1, sp, #8
bl ___card_getcntrlblock
tbnz x0, #63, LBB0_10
; %bb.5:
Lloh11:
adrp x8, _CARD_ERROR_BROKEN@GOTPAGE
Lloh12:
ldr x8, [x8, _CARD_ERROR_BROKEN@GOTPAGEOFF]
Lloh13:
ldr x21, [x8]
ldr x0, [sp, #8]
bl ___card_getdirblock
cbz x0, LBB0_7
; %bb.6:
Lloh14:
adrp x8, _CARD_ERROR_READY@GOTPAGE
Lloh15:
ldr x8, [x8, _CARD_ERROR_READY@GOTPAGEOFF]
Lloh16:
ldr x21, [x8]
ldr x8, [x0]
add x1, x8, x20, lsl #2
mov x0, x19
mov w2, #4
bl _memcpy
LBB0_7:
ldr x0, [sp, #8]
mov x1, x21
bl ___card_putcntrlblock
b LBB0_10
LBB0_8:
Lloh17:
adrp x8, _CARD_ERROR_FATAL_ERROR@GOTPAGE
Lloh18:
ldr x8, [x8, _CARD_ERROR_FATAL_ERROR@GOTPAGEOFF]
LBB0_9:
ldr x0, [x8]
LBB0_10:
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _EXI_CHANNEL_0,8,3 ; @EXI_CHANNEL_0
.comm _EXI_CHANNEL_2,8,3 ; @EXI_CHANNEL_2
.comm _CARD_ERROR_NOCARD,8,3 ; @CARD_ERROR_NOCARD
.comm _CARD_MAXFILES,8,3 ; @CARD_MAXFILES
.comm _CARD_ERROR_FATAL_ERROR,8,3 ; @CARD_ERROR_FATAL_ERROR
.comm _CARD_ERROR_BROKEN,8,3 ; @CARD_ERROR_BROKEN
.comm _CARD_ERROR_READY,8,3 ; @CARD_ERROR_READY
.no_dead_strip ___card_getstatusex
.subsections_via_symbols
|
AnghaBench/RetroArch/wii/libogc/libogc/extr_card.c___card_getstatusex.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _perform_action ## -- Begin function perform_action
.p2align 4, 0x90
_perform_action: ## @perform_action
.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 $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq l___const.perform_action.zc+16(%rip), %rax
movq %rax, -32(%rbp)
movups l___const.perform_action.zc(%rip), %xmm0
movq _VDEV_STATE_DEGRADED@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
sete %al
movq _VDEV_STATE_FAULTED@GOTPCREL(%rip), %rcx
cmpl %edx, (%rcx)
movaps %xmm0, -48(%rbp)
sete %cl
orb %al, %cl
movzbl %cl, %edi
callq _ASSERT
xorl %edi, %edi
movq %r15, %rsi
movl $4, %edx
callq _strlcpy
movl (%r14), %eax
movl %eax, -36(%rbp)
movl %ebx, -40(%rbp)
movq _g_zfs@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ZFS_IOC_VDEV_SET_STATE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
callq _zfs_ioctl
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l_.str: ## @.str
.space 2
.section __DATA,__const
.p2align 3 ## @__const.perform_action.zc
l___const.perform_action.zc:
.quad l_.str
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.space 4
.comm _VDEV_STATE_DEGRADED,4,2 ## @VDEV_STATE_DEGRADED
.comm _VDEV_STATE_FAULTED,4,2 ## @VDEV_STATE_FAULTED
.comm _g_zfs,4,2 ## @g_zfs
.comm _ZFS_IOC_VDEV_SET_STATE,4,2 ## @ZFS_IOC_VDEV_SET_STATE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _perform_action ; -- Begin function perform_action
.p2align 2
_perform_action: ; @perform_action
.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, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, l___const.perform_action.zc@PAGE
Lloh1:
add x8, x8, l___const.perform_action.zc@PAGEOFF
ldr q0, [x8]
str q0, [sp]
ldr x8, [x8, #16]
str x8, [sp, #16]
Lloh2:
adrp x8, _VDEV_STATE_DEGRADED@GOTPAGE
Lloh3:
ldr x8, [x8, _VDEV_STATE_DEGRADED@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cmp w8, w2
Lloh5:
adrp x8, _VDEV_STATE_FAULTED@GOTPAGE
Lloh6:
ldr x8, [x8, _VDEV_STATE_FAULTED@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
ccmp w8, w2, #4, ne
cset w0, eq
bl _ASSERT
mov w0, #0
mov x1, x21
mov w2, #4
bl _strlcpy
ldr w8, [x20]
stp w19, w8, [sp, #8]
Lloh8:
adrp x8, _g_zfs@GOTPAGE
Lloh9:
ldr x8, [x8, _g_zfs@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x8, _ZFS_IOC_VDEV_SET_STATE@GOTPAGE
Lloh12:
ldr x8, [x8, _ZFS_IOC_VDEV_SET_STATE@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x2, sp
bl _zfs_ioctl
cmp x0, #0
cset w0, ne
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 AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
l_.str: ; @.str
.space 2
.section __DATA,__const
.p2align 3 ; @__const.perform_action.zc
l___const.perform_action.zc:
.quad l_.str
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.space 4
.comm _VDEV_STATE_DEGRADED,4,2 ; @VDEV_STATE_DEGRADED
.comm _VDEV_STATE_FAULTED,4,2 ; @VDEV_STATE_FAULTED
.comm _g_zfs,4,2 ; @g_zfs
.comm _ZFS_IOC_VDEV_SET_STATE,4,2 ; @ZFS_IOC_VDEV_SET_STATE
.subsections_via_symbols
|
AnghaBench/zfs/cmd/zinject/extr_zinject.c_perform_action.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 $8320, %eax ## imm = 0x2080
callq ____chkstk_darwin
subq %rax, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl $0, -8344(%rbp)
movl $0, -8320(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -8288(%rbp)
movq $0, -8272(%rbp)
leaq L_.str(%rip), %rax
leaq -8352(%rbp), %rdi
movl $9, %esi
movl $8, %edx
movl $31, %ecx
movl $8, %r8d
xorl %r9d, %r9d
pushq $112
pushq %rax
callq _deflateInit2_
addq $16, %rsp
testl %eax, %eax
je LBB0_1
## %bb.11:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%r14), %rdx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
jmp LBB0_12
LBB0_1:
leaq -4144(%rbp), %r15
leaq -8240(%rbp), %rbx
leaq -8352(%rbp), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movl $4096, %edx ## imm = 0x1000
xorl %edi, %edi
movq %r15, %rsi
callq _read
cmpq $-1, %rax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
testq %rax, %rax
je LBB0_4
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq %r15, -8352(%rbp)
movl %eax, -8344(%rbp)
movl $0, -8320(%rbp)
testl %eax, %eax
je LBB0_2
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, -8328(%rbp)
movl $4096, -8320(%rbp) ## imm = 0x1000
movq %r12, %rdi
xorl %esi, %esi
callq _deflate
movl $4096, %edx ## imm = 0x1000
subl -8320(%rbp), %edx
movl $1, %edi
movq %rbx, %rsi
callq _write
cmpl $0, -8320(%rbp)
jne LBB0_2
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
cmpl $0, -8344(%rbp)
jne LBB0_9
jmp LBB0_2
LBB0_4:
leaq -8352(%rbp), %rbx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r15, -8328(%rbp)
movl $4096, -8320(%rbp) ## imm = 0x1000
movq %rbx, %rdi
movl $4, %esi
callq _deflate
movl $4096, %edx ## imm = 0x1000
subl -8320(%rbp), %edx
movl $1, %edi
movq %r15, %rsi
callq _write
cmpl $0, -8320(%rbp)
je LBB0_5
## %bb.6:
leaq -8352(%rbp), %rdi
callq _deflateEnd
xorl %eax, %eax
jmp LBB0_13
LBB0_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq (%r14), %r14
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _fprintf
LBB0_12:
movl $1, %eax
LBB0_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_15
## %bb.14:
addq $8320, %rsp ## imm = 0x2080
popq %rbx
popq %r12
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 "1.2.11"
L_.str.1: ## @.str.1
.asciz "%s: deflateInit2 failed\n"
L_.str.2: ## @.str.2
.asciz "%s: read error: %s\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, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
mov w9, #8336
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, #144
mov x19, x1
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-56]
str wzr, [sp, #32]
str wzr, [sp, #56]
stp xzr, xzr, [sp, #96]
str xzr, [sp, #88]
Lloh5:
adrp x6, l_.str@PAGE
Lloh6:
add x6, x6, l_.str@PAGEOFF
add x0, sp, #24
mov w1, #9
mov w2, #8
mov w3, #31
mov w4, #8
mov w5, #0
mov w7, #112
bl _deflateInit2_
cbz w0, LBB0_2
; %bb.1:
Lloh7:
adrp x8, ___stderrp@GOTPAGE
Lloh8:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh9:
ldr x0, [x8]
ldr x8, [x19]
str x8, [sp]
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_11
LBB0_2:
mov w20, #4096
add x21, sp, #1, lsl #12 ; =4096
add x21, x21, #136
add x22, sp, #136
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
add x1, sp, #1, lsl #12 ; =4096
add x1, x1, #136
mov w0, #0
mov w2, #4096
bl _read
cmn x0, #1
b.eq LBB0_10
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cbz x0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
str x21, [sp, #24]
str w0, [sp, #32]
str wzr, [sp, #56]
cbz w0, LBB0_3
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
str x22, [sp, #48]
str w20, [sp, #56]
add x0, sp, #24
mov w1, #0
bl _deflate
ldr w8, [sp, #56]
sub w2, w20, w8
add x1, sp, #136
mov w0, #1
bl _write
ldr w8, [sp, #56]
ldr w9, [sp, #32]
cmp w8, #0
ccmp w9, #0, #4, eq
b.ne LBB0_6
b LBB0_3
LBB0_7:
add x19, sp, #1, lsl #12 ; =4096
add x19, x19, #136
mov w20, #4096
LBB0_8: ; =>This Inner Loop Header: Depth=1
str x19, [sp, #48]
str w20, [sp, #56]
add x0, sp, #24
mov w1, #4
bl _deflate
ldr w8, [sp, #56]
sub w2, w20, w8
add x1, sp, #1, lsl #12 ; =4096
add x1, x1, #136
mov w0, #1
bl _write
ldr w8, [sp, #56]
cbz w8, LBB0_8
; %bb.9:
add x0, sp, #24
bl _deflateEnd
mov w0, #0
b LBB0_12
LBB0_10:
Lloh12:
adrp x8, ___stderrp@GOTPAGE
Lloh13:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh14:
ldr x20, [x8]
ldr x19, [x19]
bl ___error
ldr w0, [x0]
bl _strerror
stp x19, x0, [sp]
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
LBB0_11:
bl _fprintf
mov w0, #1
LBB0_12:
ldur x8, [x29, #-56]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #144
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_14:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "1.2.11"
l_.str.1: ; @.str.1
.asciz "%s: deflateInit2 failed\n"
l_.str.2: ; @.str.2
.asciz "%s: read error: %s\n"
.subsections_via_symbols
|
the_stack_data/159514316.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 %rbx
pushq %rax
movl $4104, %eax ## imm = 0x1008
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4112(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movb -4112(%rbp), %al
testb %al, %al
je LBB0_1
## %bb.2:
leaq -4111(%rbp), %rcx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl %al, %eax
addl %eax, %ebx
movzbl (%rcx), %eax
incq %rcx
testb %al, %al
jne LBB0_3
## %bb.4:
leal 63(%rbx), %eax
testl %ebx, %ebx
cmovnsl %ebx, %eax
andl $-64, %eax
negl %eax
leal (%rbx,%rax), %esi
addl $32, %esi
jmp LBB0_5
LBB0_1:
movl $32, %esi
LBB0_5:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $4104, %rsp ## imm = 0x1008
popq %rbx
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter an abitrarily long string, ending with carriage return > "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Check sum is %c\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 w9, #4112
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #16
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x19, sp, #9
str x19, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldrb w9, [sp, #9]
cbz w9, LBB0_4
; %bb.1:
mov w8, #0
add x10, x19, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w8, w8, w9, sxtb
ldrb w9, [x10], #1
cbnz w9, LBB0_2
; %bb.3:
negs w9, w8
and w9, w9, #0x3f
and w8, w8, #0x3f
csneg w8, w8, w9, mi
add w8, w8, #32
b LBB0_5
LBB0_4:
mov w8, #32
LBB0_5:
str x8, [sp]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x8, [x29, #-24]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov w0, #0
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter an abitrarily long string, ending with carriage return > "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Check sum is %c\n"
.subsections_via_symbols
|
the_stack_data/36117.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlcnic_set_mac
_qlcnic_set_mac: ## @qlcnic_set_mac
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r15
callq _netdev_priv
movq %rax, %r13
movq %rax, %rdi
callq _qlcnic_sriov_vf_check
testq %rax, %rax
je LBB0_3
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_3:
movq _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r13)
je LBB0_5
## %bb.4:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_12:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %r13, %r14
movl (%r12), %edi
callq _is_valid_ether_addr
testl %eax, %eax
je LBB0_1
## %bb.6:
movl 12(%r14), %edi
movl (%r12), %esi
callq _ether_addr_equal_unaligned
testq %rax, %rax
je LBB0_8
## %bb.7:
movl 4(%r15), %edi
movl (%r12), %esi
callq _ether_addr_equal_unaligned
xorl %ebx, %ebx
testq %rax, %rax
jne LBB0_12
LBB0_8:
movq ___QLCNIC_DEV_UP@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
addq $4, %r13
movq %r13, %rsi
callq _test_bit
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %r15, %rdi
callq _netif_device_detach
movq %r14, %rdi
callq _qlcnic_napi_disable
LBB0_10:
movq %r14, %rdi
callq _qlcnic_delete_adapter_mac
movl 12(%r14), %edi
movl (%r12), %esi
movl (%r15), %edx
callq _memcpy
movl (%r15), %edx
movl 4(%r15), %edi
movl (%r12), %esi
callq _memcpy
movl 8(%r14), %edi
callq _qlcnic_set_multi
movl (%rbx), %edi
movq %r13, %rsi
callq _test_bit
xorl %ebx, %ebx
testq %rax, %rax
je LBB0_12
## %bb.11:
movq %r15, %rdi
callq _netif_device_attach
movq %r14, %rdi
callq _qlcnic_napi_enable
jmp LBB0_12
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _QLCNIC_MAC_OVERRIDE_DISABLED,4,2 ## @QLCNIC_MAC_OVERRIDE_DISABLED
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm ___QLCNIC_DEV_UP,4,2 ## @__QLCNIC_DEV_UP
.no_dead_strip _qlcnic_set_mac
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlcnic_set_mac
_qlcnic_set_mac: ; @qlcnic_set_mac
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x1
mov x19, x0
bl _netdev_priv
mov x20, x0
bl _qlcnic_sriov_vf_check
cbz x0, LBB0_2
LBB0_1:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_4
LBB0_2:
ldr w8, [x20]
Lloh2:
adrp x9, _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPAGE
Lloh3:
ldr x9, [x9, _QLCNIC_MAC_OVERRIDE_DISABLED@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.3:
Lloh5:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
neg w0, w8
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_6:
ldr w0, [x21]
bl _is_valid_ether_addr
cbz w0, LBB0_1
; %bb.7:
ldr w0, [x20, #12]
ldr w1, [x21]
bl _ether_addr_equal_unaligned
cbz x0, LBB0_9
; %bb.8:
ldr w0, [x19, #4]
ldr w1, [x21]
bl _ether_addr_equal_unaligned
cbnz x0, LBB0_13
LBB0_9:
Lloh7:
adrp x23, ___QLCNIC_DEV_UP@GOTPAGE
Lloh8:
ldr x23, [x23, ___QLCNIC_DEV_UP@GOTPAGEOFF]
ldr w0, [x23]
add x22, x20, #4
mov x1, x22
bl _test_bit
cbz x0, LBB0_11
; %bb.10:
mov x0, x19
bl _netif_device_detach
mov x0, x20
bl _qlcnic_napi_disable
LBB0_11:
mov x0, x20
bl _qlcnic_delete_adapter_mac
ldr w0, [x20, #12]
ldr w1, [x21]
ldr w2, [x19]
bl _memcpy
ldr w1, [x21]
ldp w2, w0, [x19]
bl _memcpy
ldr w0, [x20, #8]
bl _qlcnic_set_multi
ldr w0, [x23]
mov x1, x22
bl _test_bit
cbz x0, LBB0_5
; %bb.12:
mov x0, x19
bl _netif_device_attach
mov x0, x20
bl _qlcnic_napi_enable
LBB0_13:
mov w0, #0
b LBB0_5
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _QLCNIC_MAC_OVERRIDE_DISABLED,4,2 ; @QLCNIC_MAC_OVERRIDE_DISABLED
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm ___QLCNIC_DEV_UP,4,2 ; @__QLCNIC_DEV_UP
.no_dead_strip _qlcnic_set_mac
.subsections_via_symbols
|
AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_main.c_qlcnic_set_mac.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function freeobj
_freeobj: ## @freeobj
.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 (%rsi), %eax
addl $-128, %eax
cmpl $6, %eax
ja LBB0_13
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_11:
movq %rbx, %rdi
callq _gco2u
movl %eax, %edi
callq _sizeudata
jmp LBB0_12
LBB0_13:
xorl %edi, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _lua_assert ## TAILCALL
LBB0_4:
movq %rbx, %rdi
callq _gco2uv
movq %r14, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaF_freeupval ## TAILCALL
LBB0_6:
movq %rbx, %rdi
callq _gco2th
cmpq %r14, %rax
je LBB0_7
## %bb.8:
movq %rbx, %rdi
callq _gco2th
movq %rax, %r15
movq %r14, %rdi
callq _G
xorl %edi, %edi
cmpq 8(%rax), %r15
setne %dil
jmp LBB0_9
LBB0_5:
movq %rbx, %rdi
callq _gco2h
movq %r14, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaH_free ## TAILCALL
LBB0_10:
movq %r14, %rdi
callq _G
decl (%rax)
movq %rbx, %rdi
callq _gco2ts
movl %eax, %edi
callq _sizestring
LBB0_12:
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaM_freemem ## TAILCALL
LBB0_2:
movq %rbx, %rdi
callq _gco2p
movq %r14, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaF_freeproto ## TAILCALL
LBB0_3:
movq %rbx, %rdi
callq _gco2cl
movq %r14, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaF_freeclosure ## TAILCALL
LBB0_7:
xorl %edi, %edi
LBB0_9:
callq _lua_assert
movq %rbx, %rdi
callq _gco2th
movq %r14, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _luaE_freethread ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
.long L0_0_set_11
.long L0_0_set_4
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_10
.long L0_0_set_2
.long L0_0_set_3
.end_data_region
## -- End function
.no_dead_strip _freeobj
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function freeobj
_freeobj: ; @freeobj
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x1]
sub w8, w8, #128
cmp w8, #6
b.hi LBB0_3
; %bb.1:
mov x20, x1
mov x19, x0
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x0, x20
bl _gco2u
bl _sizeudata
b LBB0_9
LBB0_3:
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
b _lua_assert
LBB0_4:
mov x0, x20
bl _gco2uv
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _luaF_freeupval
LBB0_5:
mov x0, x20
bl _gco2th
cmp x0, x19
b.eq LBB0_12
; %bb.6:
mov x0, x20
bl _gco2th
mov x21, x0
mov x0, x19
bl _G
ldr x8, [x0, #8]
cmp x21, x8
cset w0, ne
b LBB0_13
LBB0_7:
mov x0, x20
bl _gco2h
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _luaH_free
LBB0_8:
mov x0, x19
bl _G
ldr w8, [x0]
sub w8, w8, #1
str w8, [x0]
mov x0, x20
bl _gco2ts
bl _sizestring
LBB0_9:
mov x2, x0
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _luaM_freemem
LBB0_10:
mov x0, x20
bl _gco2p
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _luaF_freeproto
LBB0_11:
mov x0, x20
bl _gco2cl
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _luaF_freeclosure
LBB0_12:
mov w0, #0
LBB0_13:
bl _lua_assert
mov x0, x20
bl _gco2th
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _luaE_freethread
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
.byte (LBB0_11-LBB0_2)>>2
; -- End function
.no_dead_strip _freeobj
.subsections_via_symbols
|
AnghaBench/xLua/build/lua-5.1.5/src/extr_lgc.c_freeobj.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ct_probe_irq ## -- Begin function ct_probe_irq
.p2align 4, 0x90
_ct_probe_irq: ## @ct_probe_irq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r12d
movq %rdi, %rbx
movl $32, %edi
movl $10, %esi
callq _outb
movl $32, %edi
callq _inb
movl %eax, %r14d
movl $160, %edi
movl $10, %esi
callq _outb
movl $160, %edi
callq _inb
movl %eax, %r15d
testl %r12d, %r12d
jle LBB0_2
## %bb.1:
movl 4(%rbx), %edi
callq _BCR0
movq _BCR0_HDRUN@GOTPCREL(%rip), %rcx
movq _irqmask@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %r12d, %esi
movl (%rdx,%rsi,4), %esi
orl (%rcx), %esi
movl %eax, %edi
callq _outb
movl 4(%rbx), %edi
movq _HD_TEPR_0R@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _R
movl %eax, %edi
xorl %esi, %esi
callq _outb
movl 4(%rbx), %edi
movq _HD_TCONR_0R@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _R
movl %eax, %edi
movl $1, %esi
callq _outw
movl 4(%rbx), %edi
movq _HD_TCNT_0R@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _R
movl %eax, %edi
xorl %esi, %esi
callq _outw
movl 4(%rbx), %edi
movq _HD_TCSR_0R@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _R
movq _TCSR_ENABLE@GOTPCREL(%rip), %rcx
movq _TCSR_INTR@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
movl %eax, %edi
callq _outb
movl 4(%rbx), %edi
callq _IER2
movq _IER2_RX_TME_0@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
LBB0_7:
callq _outb
jmp LBB0_8
LBB0_2:
movl 4(%rbx), %edi
callq _BCR0
testl %r12d, %r12d
js LBB0_4
## %bb.3:
movl (%rbx), %esi
movl %eax, %edi
callq _outb
movl 4(%rbx), %edi
callq _E1CS0
movq _DS_IMR2@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq _SR2_SEC@GOTPCREL(%rip), %r13
movl (%r13), %edx
movl %eax, %edi
callq _cte_out
movl 4(%rbx), %edi
callq _E1CS1
movl (%r12), %esi
movl (%r13), %edx
movl %eax, %edi
callq _cte_out
LBB0_8:
shll $8, %r15d
orl %r14d, %r15d
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movq _BCR0_HDRUN@GOTPCREL(%rip), %rcx
movq _irqmask@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %r12d, %r13d
negl %r13d
movl (%rdx,%r13,4), %esi
orl (%rcx), %esi
movl %eax, %edi
callq _outb
movl 4(%rbx), %edi
callq _IER0
movl %eax, %edi
xorl %esi, %esi
callq _outb
movl 4(%rbx), %edi
callq _IER1
movl %eax, %edi
xorl %esi, %esi
callq _outb
movl 4(%rbx), %edi
callq _IER2
movl %eax, %edi
xorl %esi, %esi
callq _outb
movl 4(%rbx), %edi
movq _HD_TCSR_0R@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _R
movl %eax, %edi
xorl %esi, %esi
callq _outb
movl 4(%rbx), %edi
callq _E1CS0
movq _DS_IMR2@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
xorl %edx, %edx
callq _cte_out
movl 4(%rbx), %edi
callq _E1CS1
movq _DS_IMR2@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
xorl %edx, %edx
callq _cte_out
cmpl $-8, %r12d
ja LBB0_6
## %bb.5:
andl $7, %r13d
orl $96, %r13d
movl $160, %edi
movl %r13d, %esi
callq _outb
movl $32, %edi
movl $98, %esi
jmp LBB0_7
LBB0_6:
orl $96, %r13d
movl $32, %edi
movl %r13d, %esi
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _BCR0_HDRUN,4,2 ## @BCR0_HDRUN
.comm _irqmask,8,3 ## @irqmask
.comm _HD_TEPR_0R,4,2 ## @HD_TEPR_0R
.comm _HD_TCONR_0R,4,2 ## @HD_TCONR_0R
.comm _HD_TCNT_0R,4,2 ## @HD_TCNT_0R
.comm _HD_TCSR_0R,4,2 ## @HD_TCSR_0R
.comm _TCSR_ENABLE,4,2 ## @TCSR_ENABLE
.comm _TCSR_INTR,4,2 ## @TCSR_INTR
.comm _IER2_RX_TME_0,4,2 ## @IER2_RX_TME_0
.comm _DS_IMR2,4,2 ## @DS_IMR2
.comm _SR2_SEC,4,2 ## @SR2_SEC
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ct_probe_irq ; -- Begin function ct_probe_irq
.p2align 2
_ct_probe_irq: ; @ct_probe_irq
.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 x22, x1
mov x21, x0
mov w0, #32
mov w1, #10
bl _outb
mov w0, #32
bl _inb
mov x19, x0
mov w0, #160
mov w1, #10
bl _outb
mov w0, #160
bl _inb
mov x20, x0
cmp w22, #1
b.lt LBB0_3
; %bb.1:
ldr w0, [x21, #4]
bl _BCR0
Lloh0:
adrp x8, _BCR0_HDRUN@GOTPAGE
Lloh1:
ldr x8, [x8, _BCR0_HDRUN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _irqmask@GOTPAGE
Lloh4:
ldr x9, [x9, _irqmask@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr w9, [x9, w22, uxtw #2]
orr w1, w9, w8
bl _outb
ldr w0, [x21, #4]
Lloh6:
adrp x8, _HD_TEPR_0R@GOTPAGE
Lloh7:
ldr x8, [x8, _HD_TEPR_0R@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _R
mov w1, #0
bl _outb
ldr w0, [x21, #4]
Lloh9:
adrp x8, _HD_TCONR_0R@GOTPAGE
Lloh10:
ldr x8, [x8, _HD_TCONR_0R@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _R
mov w1, #1
bl _outw
ldr w0, [x21, #4]
Lloh12:
adrp x8, _HD_TCNT_0R@GOTPAGE
Lloh13:
ldr x8, [x8, _HD_TCNT_0R@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
bl _R
mov w1, #0
bl _outw
ldr w0, [x21, #4]
Lloh15:
adrp x8, _HD_TCSR_0R@GOTPAGE
Lloh16:
ldr x8, [x8, _HD_TCSR_0R@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
bl _R
Lloh18:
adrp x8, _TCSR_ENABLE@GOTPAGE
Lloh19:
ldr x8, [x8, _TCSR_ENABLE@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
adrp x9, _TCSR_INTR@GOTPAGE
Lloh22:
ldr x9, [x9, _TCSR_INTR@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
orr w1, w9, w8
bl _outb
ldr w0, [x21, #4]
bl _IER2
Lloh24:
adrp x8, _IER2_RX_TME_0@GOTPAGE
Lloh25:
ldr x8, [x8, _IER2_RX_TME_0@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
LBB0_2:
bl _outb
b LBB0_5
LBB0_3:
ldr w0, [x21, #4]
bl _BCR0
tbnz w22, #31, LBB0_6
; %bb.4:
ldr w1, [x21]
bl _outb
ldr w0, [x21, #4]
bl _E1CS0
Lloh27:
adrp x22, _DS_IMR2@GOTPAGE
Lloh28:
ldr x22, [x22, _DS_IMR2@GOTPAGEOFF]
ldr w1, [x22]
Lloh29:
adrp x23, _SR2_SEC@GOTPAGE
Lloh30:
ldr x23, [x23, _SR2_SEC@GOTPAGEOFF]
ldr w2, [x23]
bl _cte_out
ldr w0, [x21, #4]
bl _E1CS1
ldr w1, [x22]
ldr w2, [x23]
bl _cte_out
LBB0_5:
orr w0, w19, w20, lsl #8
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh31:
adrp x8, _BCR0_HDRUN@GOTPAGE
Lloh32:
ldr x8, [x8, _BCR0_HDRUN@GOTPAGEOFF]
Lloh33:
adrp x9, _irqmask@GOTPAGE
Lloh34:
ldr x9, [x9, _irqmask@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
Lloh36:
ldr x9, [x9]
neg w23, w22
ldr w9, [x9, w23, uxtw #2]
orr w1, w9, w8
bl _outb
ldr w0, [x21, #4]
bl _IER0
mov w1, #0
bl _outb
ldr w0, [x21, #4]
bl _IER1
mov w1, #0
bl _outb
ldr w0, [x21, #4]
bl _IER2
mov w1, #0
bl _outb
ldr w0, [x21, #4]
Lloh37:
adrp x8, _HD_TCSR_0R@GOTPAGE
Lloh38:
ldr x8, [x8, _HD_TCSR_0R@GOTPAGEOFF]
Lloh39:
ldr w1, [x8]
bl _R
mov w1, #0
bl _outb
ldr w0, [x21, #4]
bl _E1CS0
Lloh40:
adrp x24, _DS_IMR2@GOTPAGE
Lloh41:
ldr x24, [x24, _DS_IMR2@GOTPAGEOFF]
ldr w1, [x24]
mov w2, #0
bl _cte_out
ldr w0, [x21, #4]
bl _E1CS1
ldr w1, [x24]
mov w2, #0
bl _cte_out
cmn w22, #8
b.hi LBB0_8
; %bb.7:
mov w1, #96
bfxil w1, w23, #0, #3
mov w0, #160
bl _outb
mov w0, #32
mov w1, #98
b LBB0_2
LBB0_8:
orr w1, w23, #0x60
mov w0, #32
b LBB0_2
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh35
.cfi_endproc
; -- End function
.comm _BCR0_HDRUN,4,2 ; @BCR0_HDRUN
.comm _irqmask,8,3 ; @irqmask
.comm _HD_TEPR_0R,4,2 ; @HD_TEPR_0R
.comm _HD_TCONR_0R,4,2 ; @HD_TCONR_0R
.comm _HD_TCNT_0R,4,2 ; @HD_TCNT_0R
.comm _HD_TCSR_0R,4,2 ; @HD_TCSR_0R
.comm _TCSR_ENABLE,4,2 ; @TCSR_ENABLE
.comm _TCSR_INTR,4,2 ; @TCSR_INTR
.comm _IER2_RX_TME_0,4,2 ; @IER2_RX_TME_0
.comm _DS_IMR2,4,2 ; @DS_IMR2
.comm _SR2_SEC,4,2 ; @SR2_SEC
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/ctau/extr_ctau.c_ct_probe_irq.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gic_dying_cpu
_gic_dying_cpu: ## @gic_dying_cpu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _gic_clockevent_device@GOTPCREL(%rip), %rdi
callq _this_cpu_ptr
movl %eax, %edi
callq _gic_clockevent_cpu_exit
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _gic_clockevent_device,4,2 ## @gic_clockevent_device
.no_dead_strip _gic_dying_cpu
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gic_dying_cpu
_gic_dying_cpu: ; @gic_dying_cpu
.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, _gic_clockevent_device@GOTPAGE
Lloh1:
ldr x0, [x0, _gic_clockevent_device@GOTPAGEOFF]
bl _this_cpu_ptr
bl _gic_clockevent_cpu_exit
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _gic_clockevent_device,4,2 ; @gic_clockevent_device
.no_dead_strip _gic_dying_cpu
.subsections_via_symbols
|
AnghaBench/linux/drivers/clocksource/extr_mips-gic-timer.c_gic_dying_cpu.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvkm_cstate_del
_nvkm_cstate_del: ## @nvkm_cstate_del
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _list_del
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nvkm_cstate_del
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvkm_cstate_del
_nvkm_cstate_del: ; @nvkm_cstate_del
.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 _list_del
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kfree
.cfi_endproc
; -- End function
.no_dead_strip _nvkm_cstate_del
.subsections_via_symbols
|
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/extr_base.c_nvkm_cstate_del.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ypan_up
_ypan_up: ## @ypan_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
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
movq _registered_fb@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _con2fb_map@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rdi), %rbx
movq (%rcx,%rbx,8), %rcx
movq (%rax,%rcx,8), %r15
movq _fb_display@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq (%r15), %r12
movl (%r14,%rbx,8), %eax
movl %esi, -44(%rbp) ## 4-byte Spill
addl %esi, %eax
movl %eax, (%r14,%rbx,8)
movl 4(%r14,%rbx,8), %edx
movl 8(%rdi), %r10d
subl %r10d, %edx
cmpl %edx, %eax
jle LBB0_2
## %bb.1:
movl 16(%r13), %eax
movq %r13, %rdi
movq %r15, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rax
pushq %r10
callq *24(%r12)
addq $16, %rsp
movl 8(%r13), %eax
subl 4(%r14,%rbx,8), %eax
addl (%r14,%rbx,8), %eax
movl %eax, (%r14,%rbx,8)
LBB0_2:
movq $0, 16(%r12)
imull 12(%r13), %eax
movl %eax, 8(%r12)
movq _FB_VMODE_YWRAP@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, 12(%r12)
movq %r15, %rdi
callq *(%r12)
movq %r13, %rdi
movl $1, %esi
callq _fbcon_clear_margins
movslq -44(%rbp), %rax ## 4-byte Folded Reload
movq _scrollback_max@GOTPCREL(%rip), %rcx
addq (%rcx), %rax
movq _scrollback_phys_max@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
cmpq %rdx, %rax
cmovgeq %rdx, %rax
movq %rax, (%rcx)
movq _scrollback_current@GOTPCREL(%rip), %rax
movq $0, (%rax)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _registered_fb,8,3 ## @registered_fb
.comm _con2fb_map,8,3 ## @con2fb_map
.comm _fb_display,8,3 ## @fb_display
.comm _FB_VMODE_YWRAP,4,2 ## @FB_VMODE_YWRAP
.comm _scrollback_max,8,3 ## @scrollback_max
.comm _scrollback_phys_max,8,3 ## @scrollback_phys_max
.comm _scrollback_current,8,3 ## @scrollback_current
.no_dead_strip _ypan_up
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ypan_up
_ypan_up: ; @ypan_up
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _registered_fb@GOTPAGE
Lloh1:
ldr x8, [x8, _registered_fb@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _con2fb_map@GOTPAGE
Lloh4:
ldr x9, [x9, _con2fb_map@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
ldr x10, [x0]
lsl x10, x10, #3
ldr x9, [x9, x10]
ldr x21, [x8, x9, lsl #3]
Lloh6:
adrp x8, _fb_display@GOTPAGE
Lloh7:
ldr x8, [x8, _fb_display@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr x22, [x21]
add x23, x8, x10
ldr w8, [x23]
add w8, w8, w1
str w8, [x23]
mov x24, x23
ldr w9, [x24, #4]!
ldr w6, [x0, #8]
sub w2, w9, w6
cmp w8, w2
b.le LBB0_2
; %bb.1:
ldr x8, [x22, #24]
ldr w7, [x20, #16]
mov x0, x20
mov x1, x21
mov w3, #0
mov w4, #0
mov w5, #0
blr x8
ldr w8, [x24]
ldr w9, [x20, #8]
ldr w10, [x23]
sub w8, w9, w8
add w8, w8, w10
str w8, [x23]
LBB0_2:
str xzr, [x22, #16]
ldr w9, [x20, #12]
mul w8, w9, w8
Lloh9:
adrp x9, _FB_VMODE_YWRAP@GOTPAGE
Lloh10:
ldr x9, [x9, _FB_VMODE_YWRAP@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
ldr w10, [x22, #12]
bic w9, w10, w9
stp w8, w9, [x22, #8]
ldr x8, [x22]
mov x0, x21
blr x8
mov x0, x20
mov w1, #1
bl _fbcon_clear_margins
Lloh12:
adrp x8, _scrollback_max@GOTPAGE
Lloh13:
ldr x8, [x8, _scrollback_max@GOTPAGEOFF]
ldr x9, [x8]
add x9, x9, w19, sxtw
Lloh14:
adrp x10, _scrollback_phys_max@GOTPAGE
Lloh15:
ldr x10, [x10, _scrollback_phys_max@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x9, x10
csel x9, x9, x10, lt
str x9, [x8]
Lloh17:
adrp x8, _scrollback_current@GOTPAGE
Lloh18:
ldr x8, [x8, _scrollback_current@GOTPAGEOFF]
Lloh19:
str xzr, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _registered_fb,8,3 ; @registered_fb
.comm _con2fb_map,8,3 ; @con2fb_map
.comm _fb_display,8,3 ; @fb_display
.comm _FB_VMODE_YWRAP,4,2 ; @FB_VMODE_YWRAP
.comm _scrollback_max,8,3 ; @scrollback_max
.comm _scrollback_phys_max,8,3 ; @scrollback_phys_max
.comm _scrollback_current,8,3 ; @scrollback_current
.no_dead_strip _ypan_up
.subsections_via_symbols
|
AnghaBench/fastsocket/kernel/drivers/video/console/extr_fbcon.c_ypan_up.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function debug_merge
_debug_merge: ## @debug_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 %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 %rsi, %r12
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rsi), %esi
leaq L_.str(%rip), %rdi
callq _printf
movq (%r14), %rsi
leaq L_.str.1(%rip), %rdi
movq %r12, %rdx
callq _debug_stage
cmpl $0, (%r12)
jle LBB0_3
## %bb.1:
movl $1, %ebx
leaq L_.str.2(%rip), %r15
leaq -80(%rbp), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movl $24, %esi
movq %r15, %rdx
movl %ebx, %ecx
callq _xsnprintf
movq (%r14,%rbx,8), %rsi
movq %r13, %rdi
movq %r12, %rdx
callq _debug_stage
leaq 1(%rbx), %rax
movslq (%r12), %rcx
cmpq %rcx, %rbx
movq %rax, %rbx
jl LBB0_2
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "* %d-way merge\n"
L_.str.1: ## @.str.1
.asciz "index"
L_.str.2: ## @.str.2
.asciz "ent#%d"
.no_dead_strip _debug_merge
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function debug_merge
_debug_merge: ; @debug_merge
.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, 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]
ldr w1, [x1]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x1, [x20]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
mov x2, x19
bl _debug_stage
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w21, #1
Lloh7:
adrp x22, l_.str.2@PAGE
Lloh8:
add x22, x22, l_.str.2@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, sp
mov w1, #24
mov x2, x22
mov x3, x21
bl _xsnprintf
ldr x1, [x20, x21, lsl #3]
mov x0, sp
mov x2, x19
bl _debug_stage
add x8, x21, #1
ldrsw x9, [x19]
cmp x21, x9
mov x21, x8
b.lt LBB0_2
LBB0_3:
ldr x8, [sp, #24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "* %d-way merge\n"
l_.str.1: ; @.str.1
.asciz "index"
l_.str.2: ; @.str.2
.asciz "ent#%d"
.no_dead_strip _debug_merge
.subsections_via_symbols
|
AnghaBench/git/builtin/extr_read-tree.c_debug_merge.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_swap ## -- Begin function add_swap
.p2align 4, 0x90
_add_swap: ## @add_swap
.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 (%rsi), %rcx
movq %rcx, (%rdi)
movq %rax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _str_len ## -- Begin function str_len
.p2align 4, 0x90
_str_len: ## @str_len
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, %eax
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
incl %eax
cmpb $0, (%rdi)
leaq 1(%rdi), %rdi
jne LBB1_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_dictionary ## -- Begin function get_dictionary
.p2align 4, 0x90
_get_dictionary: ## @get_dictionary
.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
testl %edi, %edi
jle LBB2_3
## %bb.1:
movq %rsi, %r13
movl %edi, %ebx
leaq -44(%rbp), %r15
leaq L_.str.1(%rip), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movslq -44(%rbp), %rdi
incq %rdi
callq _malloc
movq %rax, (%r13,%r14,8)
movq %r12, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
incq %r14
cmpq %r14, %rbx
jne LBB2_2
LBB2_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_word ## -- Begin function check_word
.p2align 4, 0x90
_check_word: ## @check_word
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
leaq L_.str.2(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
cmpl $-1, %eax
je LBB3_7
## %bb.1:
movl %ebx, %r13d
movl %ebx, -48(%rbp) ## 4-byte Spill
jmp LBB3_2
.p2align 4, 0x90
LBB3_6: ## in Loop: Header=BB3_2 Depth=1
movq %r12, %rdi
callq _puts
movq %r15, %rdi
callq _free
leaq L_.str.2(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
cmpl $-1, %eax
je LBB3_7
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
incl %eax
movslq %eax, %rdi
callq _malloc
movq %rax, %r15
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
movq (%r14), %r12
movq %r15, %rdi
movq %r12, %rsi
callq _get_closeless
cmpl $2, %ebx
jl LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
xorl %r12d, %r12d
movl $1, %ebx
.p2align 4, 0x90
LBB3_4: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movss %xmm0, -52(%rbp) ## 4-byte Spill
movq (%r14,%rbx,8), %rsi
movq %r15, %rdi
callq _get_closeless
movss -52(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
cmoval %ebx, %r12d
maxss %xmm1, %xmm0
incq %rbx
cmpq %rbx, %r13
jne LBB3_4
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
movslq %r12d, %rax
movq (%r14,%rax,8), %r12
movl -48(%rbp), %ebx ## 4-byte Reload
jmp LBB3_6
LBB3_7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_closest_word ## -- Begin function get_closest_word
.p2align 4, 0x90
_get_closest_word: ## @get_closest_word
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rsi
callq _get_closeless
xorl %r13d, %r13d
cmpl $2, %r12d
jl LBB4_3
## %bb.1:
movl %r12d, %r12d
xorl %r13d, %r13d
movl $1, %ebx
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movss %xmm0, -44(%rbp) ## 4-byte Spill
movq (%r14,%rbx,8), %rsi
movq %r15, %rdi
callq _get_closeless
movss -44(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
ucomiss %xmm1, %xmm0
cmoval %ebx, %r13d
maxss %xmm1, %xmm0
incq %rbx
cmpq %rbx, %r12
jne LBB4_2
LBB4_3:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function get_closeless
LCPI5_0:
.long 0x3f800000 ## float 1
LCPI5_1:
.long 0x3f000000 ## float 0.5
LCPI5_2:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _get_closeless
.p2align 4, 0x90
_get_closeless: ## @get_closeless
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
xorl %eax, %eax
.p2align 4, 0x90
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rdi,%rax)
leaq 1(%rax), %rax
jne LBB5_1
## %bb.2:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB5_3: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rsi,%rcx)
leaq 1(%rcx), %rcx
jne LBB5_3
## %bb.4:
cmpl %ecx, %eax
jne LBB5_18
## %bb.5:
movss LCPI5_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
## implicit-def: $eax
jmp LBB5_6
LBB5_18:
xorl %r10d, %r10d
.p2align 4, 0x90
LBB5_19: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rsi,%r10)
leaq 1(%r10), %r10
jne LBB5_19
## %bb.20:
xorl %eax, %eax
.p2align 4, 0x90
LBB5_21: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rdi,%rax)
leaq 1(%rax), %rax
jne LBB5_21
## %bb.22:
movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000
movabsq $4294967296, %rbx ## imm = 0x100000000
decl %r10d
decl %eax
cmpl %eax, %r10d
movq %rdi, %r11
cmovlq %rsi, %r11
movq %r11, %rcx
movq %r8, %r9
.p2align 4, 0x90
LBB5_23: ## =>This Inner Loop Header: Depth=1
addq %rbx, %r9
cmpb $0, (%rcx)
leaq 1(%rcx), %rcx
jne LBB5_23
## %bb.24:
cmpl %eax, %r10d
cmovlq %rdi, %rsi
sarq $32, %r9
xorps %xmm0, %xmm0
movss LCPI5_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
## implicit-def: $eax
jmp LBB5_25
.p2align 4, 0x90
LBB5_30: ## in Loop: Header=BB5_25 Depth=1
xorl %eax, %eax
incq %r9
LBB5_25: ## =>This Loop Header: Depth=1
## Child Loop BB5_26 Depth 2
## Child Loop BB5_32 Depth 2
movq %rsi, %rdx
movq %r8, %rcx
.p2align 4, 0x90
LBB5_26: ## Parent Loop BB5_25 Depth=1
## => This Inner Loop Header: Depth=2
addq %rbx, %rcx
cmpb $0, (%rdx)
leaq 1(%rdx), %rdx
jne LBB5_26
## %bb.27: ## in Loop: Header=BB5_25 Depth=1
sarq $32, %rcx
cmpq %rcx, %r9
jge LBB5_28
## %bb.29: ## in Loop: Header=BB5_25 Depth=1
movb (%r11), %dl
testb %dl, %dl
je LBB5_30
## %bb.31: ## in Loop: Header=BB5_25 Depth=1
movb (%rsi,%r9), %cl
xorl %eax, %eax
.p2align 4, 0x90
LBB5_32: ## Parent Loop BB5_25 Depth=1
## => This Inner Loop Header: Depth=2
cmpb %dl, %cl
je LBB5_33
## %bb.34: ## in Loop: Header=BB5_32 Depth=2
movzbl 1(%r11,%rax), %edx
incq %rax
testb %dl, %dl
jne LBB5_32
## %bb.35: ## in Loop: Header=BB5_25 Depth=1
incq %r9
jmp LBB5_25
.p2align 4, 0x90
LBB5_33: ## in Loop: Header=BB5_25 Depth=1
addss %xmm1, %xmm0
incq %r9
jmp LBB5_25
LBB5_28:
movq %r11, %rdi
LBB5_6:
movb (%rdi), %r8b
testb %r8b, %r8b
je LBB5_38
## %bb.7:
xorl %r9d, %r9d
movss LCPI5_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss LCPI5_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movl %r8d, %r11d
jmp LBB5_8
.p2align 4, 0x90
LBB5_36: ## in Loop: Header=BB5_8 Depth=1
addss %xmm1, %xmm0
LBB5_37: ## in Loop: Header=BB5_8 Depth=1
movb 1(%rdi,%r9), %r11b
incq %r9
testb %r11b, %r11b
je LBB5_38
LBB5_8: ## =>This Loop Header: Depth=1
## Child Loop BB5_10 Depth 2
## Child Loop BB5_13 Depth 2
movslq %eax, %rcx
cmpb (%rsi,%rcx), %r11b
je LBB5_36
## %bb.9: ## in Loop: Header=BB5_8 Depth=1
movb (%rsi,%r9), %r10b
xorl %eax, %eax
movl %r8d, %ecx
.p2align 4, 0x90
LBB5_10: ## Parent Loop BB5_8 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %edx
cmpb %cl, %r10b
je LBB5_12
## %bb.11: ## in Loop: Header=BB5_10 Depth=2
movzbl 1(%rdi,%rax), %ecx
incq %rax
testb %cl, %cl
jne LBB5_10
LBB5_12: ## in Loop: Header=BB5_8 Depth=1
movq %rsi, %rcx
.p2align 4, 0x90
LBB5_13: ## Parent Loop BB5_8 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rcx), %ebx
testb %bl, %bl
je LBB5_15
## %bb.14: ## in Loop: Header=BB5_13 Depth=2
incq %rcx
cmpb %bl, %r11b
jne LBB5_13
LBB5_15: ## in Loop: Header=BB5_8 Depth=1
cmpb %dl, %r10b
jne LBB5_37
## %bb.16: ## in Loop: Header=BB5_8 Depth=1
movaps %xmm0, %xmm3
addss %xmm2, %xmm3
testb %bl, %bl
je LBB5_37
## %bb.17: ## in Loop: Header=BB5_8 Depth=1
movaps %xmm3, %xmm0
jmp LBB5_37
LBB5_38:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.4(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movslq -44(%rbp), %r14
leaq (,%r14,8), %rdi
callq _malloc
movq %rax, %r15
testq %r14, %r14
jle LBB6_4
## %bb.1:
movl %r14d, %r13d
leaq -48(%rbp), %rbx
leaq L_.str.1(%rip), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_2: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movslq -48(%rbp), %rdi
incq %rdi
callq _malloc
movq %rax, (%r15,%r14,8)
movq %r12, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _scanf
incq %r14
cmpq %r14, %r13
jne LBB6_2
## %bb.3:
movl -44(%rbp), %r14d
LBB6_4:
movl %r14d, %edi
movq %r15, %rsi
callq _check_word
cmpl $0, -44(%rbp)
jle LBB6_7
## %bb.5:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_6: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdi
callq _free
incq %rbx
movslq -44(%rbp), %rax
cmpq %rax, %rbx
jl LBB6_6
LBB6_7:
movq %r15, %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 __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "%d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add_swap ; -- Begin function add_swap
.p2align 2
_add_swap: ; @add_swap
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x1]
str x9, [x0]
str x8, [x1]
ret
.cfi_endproc
; -- End function
.globl _str_len ; -- Begin function str_len
.p2align 2
_str_len: ; @str_len
.cfi_startproc
; %bb.0:
mov x8, x0
mov w0, #-1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8], #1
add w0, w0, #1
cbnz w9, LBB1_1
; %bb.2:
ret
.cfi_endproc
; -- End function
.globl _get_dictionary ; -- Begin function get_dictionary
.p2align 2
_get_dictionary: ; @get_dictionary
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
cmp w0, #1
b.lt LBB2_3
; %bb.1:
mov x19, x1
mov w22, w0
add x23, sp, #12
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
str x23, [sp]
mov x0, x20
bl _scanf
ldrsw x8, [sp, #12]
add x0, x8, #1
bl _malloc
str x0, [x19], #8
str x0, [sp]
mov x0, x21
bl _scanf
subs x22, x22, #1
b.ne LBB2_2
LBB2_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
add sp, sp, #80
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _check_word ; -- Begin function check_word
.p2align 2
_check_word: ; @check_word
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x1
mov x20, x0
add x25, sp, #12
str x25, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmn w8, #1
b.eq LBB3_7
; %bb.1:
mov w26, w20
Lloh6:
adrp x21, l_.str.1@PAGE
Lloh7:
add x21, x21, l_.str.1@PAGEOFF
Lloh8:
adrp x22, l_.str.2@PAGE
Lloh9:
add x22, x22, l_.str.2@PAGEOFF
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
mov x0, x24
bl _puts
mov x0, x23
bl _free
str x25, [sp]
mov x0, x22
bl _scanf
ldr w8, [sp, #12]
cmn w8, #1
b.eq LBB3_7
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
add w8, w8, #1
sxtw x0, w8
bl _malloc
mov x23, x0
str x0, [sp]
mov x0, x21
bl _scanf
ldr x24, [x19]
mov x0, x23
mov x1, x24
bl _get_closeless
cmp w20, #2
b.lt LBB3_2
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
fmov s8, s0
mov w24, #0
mov w27, #1
LBB3_5: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x1, [x19, x27, lsl #3]
mov x0, x23
bl _get_closeless
fcmp s0, s8
fcsel s8, s0, s8, gt
csel w24, w27, w24, gt
add x27, x27, #1
cmp x26, x27
b.ne LBB3_5
; %bb.6: ; in Loop: Header=BB3_3 Depth=1
ldr x24, [x19, w24, sxtw #3]
b LBB3_2
LBB3_7:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _get_closest_word ; -- Begin function get_closest_word
.p2align 2
_get_closest_word: ; @get_closest_word
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov x22, x2
mov x19, x1
mov x20, x0
ldr x1, [x1]
bl _get_closeless
cmp w22, #2
b.lt LBB4_3
; %bb.1:
fmov s8, s0
mov w21, #0
mov w22, w22
mov w23, #1
LBB4_2: ; =>This Inner Loop Header: Depth=1
ldr x1, [x19, x23, lsl #3]
mov x0, x20
bl _get_closeless
fcmp s0, s8
fcsel s8, s0, s8, gt
csel w21, w23, w21, gt
add x23, x23, #1
cmp x22, x23
b.ne LBB4_2
b LBB4_4
LBB4_3:
mov w21, #0
LBB4_4:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_closeless ; -- Begin function get_closeless
.p2align 2
_get_closeless: ; @get_closeless
.cfi_startproc
; %bb.0:
mov x8, #0
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x0, x8]
add x8, x8, #1
cbnz w9, LBB5_1
; %bb.2:
mov x9, #0
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x1, x9]
add x9, x9, #1
cbnz w10, LBB5_3
; %bb.4:
cmp w8, w9
b.ne LBB5_6
; %bb.5:
fmov s0, #1.00000000
; implicit-def: $w8
ldrb w9, [x0]
cbnz w9, LBB5_24
b LBB5_35
LBB5_6:
mov x8, #0
LBB5_7: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x1, x8]
add x8, x8, #1
cbnz w9, LBB5_7
; %bb.8:
mov x10, #0
LBB5_9: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x0, x10]
add x10, x10, #1
cbnz w9, LBB5_9
; %bb.10:
sub w9, w8, #1
sub w10, w10, #1
cmp w9, w10
csel x8, x1, x0, lt
mov x11, #-4294967296
mov x12, #4294967296
mov x13, x8
LBB5_11: ; =>This Inner Loop Header: Depth=1
ldrb w14, [x13], #1
add x11, x11, x12
cbnz w14, LBB5_11
; %bb.12:
cmp w9, w10
csel x1, x0, x1, lt
asr x9, x11, #32
add x10, x8, #1
movi d0, #0000000000000000
mov x11, #4294967296
fmov s1, #0.50000000
; implicit-def: $w12
b LBB5_14
LBB5_13: ; in Loop: Header=BB5_14 Depth=1
mov w12, #0
add x9, x9, #1
LBB5_14: ; =>This Loop Header: Depth=1
; Child Loop BB5_15 Depth 2
; Child Loop BB5_19 Depth 2
mov x13, #-4294967296
mov x14, x1
LBB5_15: ; Parent Loop BB5_14 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w15, [x14], #1
add x13, x13, x11
cbnz w15, LBB5_15
; %bb.16: ; in Loop: Header=BB5_14 Depth=1
cmp x9, x13, asr #32
b.ge LBB5_23
; %bb.17: ; in Loop: Header=BB5_14 Depth=1
ldrb w14, [x8]
cbz w14, LBB5_13
; %bb.18: ; in Loop: Header=BB5_14 Depth=1
mov x12, #0
ldrb w13, [x1, x9]
LBB5_19: ; Parent Loop BB5_14 Depth=1
; => This Inner Loop Header: Depth=2
cmp w13, w14
b.eq LBB5_22
; %bb.20: ; in Loop: Header=BB5_19 Depth=2
add x15, x12, #1
ldrb w14, [x10, x12]
mov x12, x15
cbnz w14, LBB5_19
; %bb.21: ; in Loop: Header=BB5_14 Depth=1
mov x12, x15
add x9, x9, #1
b LBB5_14
LBB5_22: ; in Loop: Header=BB5_14 Depth=1
fadd s0, s0, s1
add x9, x9, #1
b LBB5_14
LBB5_23:
mov x0, x8
mov x8, x12
ldrb w9, [x0]
cbz w9, LBB5_35
LBB5_24:
mov x10, #0
add x11, x0, #1
fmov s1, #2.00000000
fmov s2, #0.50000000
mov x12, x9
b LBB5_27
LBB5_25: ; in Loop: Header=BB5_27 Depth=1
fadd s0, s0, s1
LBB5_26: ; in Loop: Header=BB5_27 Depth=1
add x10, x10, #1
ldrb w12, [x0, x10]
cbz w12, LBB5_35
LBB5_27: ; =>This Loop Header: Depth=1
; Child Loop BB5_29 Depth 2
; Child Loop BB5_33 Depth 2
ldrb w13, [x1, w8, sxtw]
cmp w12, w13
b.eq LBB5_25
; %bb.28: ; in Loop: Header=BB5_27 Depth=1
mov x8, #0
ldrb w13, [x1, x10]
mov x16, x9
LBB5_29: ; Parent Loop BB5_27 Depth=1
; => This Inner Loop Header: Depth=2
mov x14, x16
cmp w13, w16
b.eq LBB5_32
; %bb.30: ; in Loop: Header=BB5_29 Depth=2
add x15, x8, #1
ldrb w16, [x11, x8]
mov x8, x15
cbnz w16, LBB5_29
; %bb.31: ; in Loop: Header=BB5_27 Depth=1
mov x8, x15
LBB5_32: ; in Loop: Header=BB5_27 Depth=1
mov x15, x1
LBB5_33: ; Parent Loop BB5_27 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w16, [x15], #1
cmp w16, #0
ccmp w12, w16, #4, ne
b.ne LBB5_33
; %bb.34: ; in Loop: Header=BB5_27 Depth=1
fadd s3, s0, s2
cmp w16, #0
fcsel s3, s0, s3, eq
cmp w13, w14
fcsel s0, s0, s3, ne
b LBB5_26
LBB5_35:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
add x8, sp, #8
str x8, [sp]
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldrsw x20, [sp, #8]
lsl x0, x20, #3
bl _malloc
mov x19, x0
cmp w20, #1
b.lt LBB6_4
; %bb.1:
and x22, x20, #0xffffffff
add x23, sp, #12
Lloh12:
adrp x20, l_.str@PAGE
Lloh13:
add x20, x20, l_.str@PAGEOFF
mov x24, x19
Lloh14:
adrp x21, l_.str.1@PAGE
Lloh15:
add x21, x21, l_.str.1@PAGEOFF
LBB6_2: ; =>This Inner Loop Header: Depth=1
str x23, [sp]
mov x0, x20
bl _scanf
ldrsw x8, [sp, #12]
add x0, x8, #1
bl _malloc
str x0, [x24], #8
str x0, [sp]
mov x0, x21
bl _scanf
subs x22, x22, #1
b.ne LBB6_2
; %bb.3:
ldr w20, [sp, #8]
LBB6_4:
mov x0, x20
mov x1, x19
bl _check_word
ldr w8, [sp, #8]
cmp w8, #1
b.lt LBB6_7
; %bb.5:
mov x20, #0
LBB6_6: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, x20, lsl #3]
bl _free
add x20, x20, #1
ldrsw x8, [sp, #8]
cmp x20, x8
b.lt LBB6_6
LBB6_7:
mov x0, x19
bl _free
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "%d\n"
.subsections_via_symbols
|
the_stack_data/125140584.c
|
stack
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kadm5_store_principal_ent ## -- Begin function kadm5_store_principal_ent
.p2align 4, 0x90
_kadm5_store_principal_ent: ## @kadm5_store_principal_ent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, %edx
popq %rbp
jmp _store_principal_ent ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kadm5_store_principal_ent ; -- Begin function kadm5_store_principal_ent
.p2align 2
_kadm5_store_principal_ent: ; @kadm5_store_principal_ent
.cfi_startproc
; %bb.0:
mov w2, #-1
b _store_principal_ent
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/freebsd/crypto/heimdal/lib/kadm5/extr_marshall.c_kadm5_store_principal_ent.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvm_arch_vcpu_ctxsync_fp ## -- Begin function kvm_arch_vcpu_ctxsync_fp
.p2align 4, 0x90
_kvm_arch_vcpu_ctxsync_fp: ## @kvm_arch_vcpu_ctxsync_fp
.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
xorl %eax, %eax
callq _irqs_disabled
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _WARN_ON_ONCE
movq _KVM_ARM64_FP_ENABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rbx)
je LBB0_1
## %bb.2:
leaq 12(%rbx), %rdi
movl 4(%rbx), %edx
movl 8(%rbx), %esi
callq _fpsimd_bind_state_to_cpu
movq _TIF_FOREIGN_FPSTATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _clear_thread_flag
movq _TIF_SVE@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
callq _vcpu_has_sve
movl %r14d, %edi
movl %eax, %esi
popq %rbx
popq %r14
popq %rbp
jmp _update_thread_flag ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KVM_ARM64_FP_ENABLED,4,2 ## @KVM_ARM64_FP_ENABLED
.comm _TIF_FOREIGN_FPSTATE,4,2 ## @TIF_FOREIGN_FPSTATE
.comm _TIF_SVE,4,2 ## @TIF_SVE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvm_arch_vcpu_ctxsync_fp ; -- Begin function kvm_arch_vcpu_ctxsync_fp
.p2align 2
_kvm_arch_vcpu_ctxsync_fp: ; @kvm_arch_vcpu_ctxsync_fp
.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 _irqs_disabled
cmp w0, #0
cset w0, eq
bl _WARN_ON_ONCE
ldr w8, [x19]
Lloh0:
adrp x9, _KVM_ARM64_FP_ENABLED@GOTPAGE
Lloh1:
ldr x9, [x9, _KVM_ARM64_FP_ENABLED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
add x0, x19, #12
ldp w2, w1, [x19, #4]
bl _fpsimd_bind_state_to_cpu
Lloh3:
adrp x8, _TIF_FOREIGN_FPSTATE@GOTPAGE
Lloh4:
ldr x8, [x8, _TIF_FOREIGN_FPSTATE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _clear_thread_flag
Lloh6:
adrp x8, _TIF_SVE@GOTPAGE
Lloh7:
ldr x8, [x8, _TIF_SVE@GOTPAGEOFF]
Lloh8:
ldr w20, [x8]
mov x0, x19
bl _vcpu_has_sve
mov x1, x0
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _update_thread_flag
LBB0_2:
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _KVM_ARM64_FP_ENABLED,4,2 ; @KVM_ARM64_FP_ENABLED
.comm _TIF_FOREIGN_FPSTATE,4,2 ; @TIF_FOREIGN_FPSTATE
.comm _TIF_SVE,4,2 ; @TIF_SVE
.subsections_via_symbols
|
AnghaBench/linux/arch/arm64/kvm/extr_fpsimd.c_kvm_arch_vcpu_ctxsync_fp.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xfsread
_xfsread: ## @xfsread
.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
callq _cd9660_fsread
movq %rax, %rcx
xorl %eax, %eax
cmpq %rbx, %rcx
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _printf
movl $-1, %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid %s\n"
L_.str.1: ## @.str.1
.asciz "format"
.no_dead_strip _xfsread
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xfsread
_xfsread: ; @xfsread
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _cd9660_fsread
cmp x0, x19
b.ne LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _printf
mov w0, #-1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid %s\n"
l_.str.1: ; @.str.1
.asciz "format"
.no_dead_strip _xfsread
.subsections_via_symbols
|
AnghaBench/freebsd/stand/i386/isoboot/extr_isoboot.c_xfsread.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dt_provider_insert
_dt_provider_insert: ## @dt_provider_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
addq $16, %rdi
callq _dt_list_append
movq 8(%r15), %rax
movq (%rax,%r14,8), %rcx
movq %rcx, (%rbx)
movq %rbx, (%rax,%r14,8)
incl (%r15)
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _dt_provider_insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dt_provider_insert
_dt_provider_insert: ; @dt_provider_insert
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
add x0, x0, #16
bl _dt_list_append
ldr x8, [x21, #8]
lsl x9, x19, #3
ldr x10, [x8, x9]
str x10, [x20]
str x20, [x8, x9]
ldr w8, [x21]
add w8, w8, #1
str w8, [x21]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _dt_provider_insert
.subsections_via_symbols
|
AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_provider.c_dt_provider_insert.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _INFO_PARSE ## -- Begin function INFO_PARSE
.p2align 4, 0x90
_INFO_PARSE: ## @INFO_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
movl $10240, %edi ## imm = 0x2800
callq _malloc
movq _Data_Line@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _TERM_data_ptr@GOTPCREL(%rip), %r14
movq %rax, (%r14)
movq _Fildes@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %rax, %rsi
movl $10240, %edx ## imm = 0x2800
callq _read
movq _Data_Line_len@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
xorl %ebx, %ebx
cmpl $10239, %eax ## imm = 0x27FF
ja LBB0_45
## %bb.1:
xorl %ebx, %ebx
xorl %eax, %eax
callq _Get_int
cmpl $282, %eax ## imm = 0x11A
je LBB0_3
## %bb.2:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _Flip_Bytes@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
addq $-2, (%r14)
xorl %eax, %eax
callq _Get_int
cmpl $282, %eax ## imm = 0x11A
jne LBB0_45
LBB0_3:
xorl %eax, %eax
callq _Get_int
movq %rax, %r13
xorl %eax, %eax
callq _Get_int
movq %rax, %rbx
xorl %eax, %eax
callq _Get_int
movq %rax, %r15
xorl %eax, %eax
callq _Get_int
movq %rax, %r12
xorl %eax, %eax
callq _Get_int
movq %rax, -72(%rbp) ## 8-byte Spill
movl %eax, %edi
callq _malloc
movq %rax, %r9
movq _Strings@GOTPCREL(%rip), %rax
movq %r9, (%rax)
movq (%r14), %rsi
testl %r13d, %r13d
jle LBB0_5
## %bb.4:
movl $4294967295, %eax ## imm = 0xFFFFFFFF
addl %eax, %r13d
addq %r13, %rsi
incq %rsi
movq %rsi, (%r14)
LBB0_5:
movl $4294967295, %edi ## imm = 0xFFFFFFFF
testl %ebx, %ebx
je LBB0_29
## %bb.6:
movq _Booleans@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leal (%rbx,%rdi), %eax
cmpl $3, %eax
jae LBB0_8
## %bb.7:
xorl %r10d, %r10d
jmp LBB0_21
LBB0_8:
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r9, -56(%rbp) ## 8-byte Spill
movq %rbx, -48(%rbp) ## 8-byte Spill
movl %ebx, %edx
addl %edi, %edx
leaq (%rcx,%rdx,4), %rdi
addq $4, %rdi
cmpq %r14, %rdi
seta %r13b
leaq (%rsi,%rdx), %rbx
incq %rbx
leaq 8(%r14), %rdx
cmpq %rdx, %rcx
setb %al
cmpq %r14, %rbx
seta %r8b
cmpq %rdx, %rsi
setb %r11b
cmpq %rcx, %rbx
seta %bl
cmpq %rdi, %rsi
setb %r9b
xorl %r10d, %r10d
testb %al, %r13b
jne LBB0_9
## %bb.10:
andb %r11b, %r8b
jne LBB0_9
## %bb.11:
andb %r9b, %bl
jne LBB0_9
## %bb.12:
movq -64(%rbp), %r8 ## 8-byte Reload
incq %r8
movq %r8, %r10
andq $-4, %r10
leaq -4(%r10), %rax
movq %rax, %r9
shrq $2, %r9
incq %r9
testq %rax, %rax
movq -48(%rbp), %rbx ## 8-byte Reload
je LBB0_13
## %bb.14:
movq %r9, %rdx
andq $-2, %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movzwl (%rsi,%rdi), %eax
movd %eax, %xmm0
movzwl 2(%rsi,%rdi), %eax
movd %eax, %xmm1
pmovsxbd %xmm0, %xmm0
pmovsxbd %xmm1, %xmm1
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
movdqu %xmm0, (%rcx,%rdi,4)
movzwl 4(%rsi,%rdi), %eax
movd %eax, %xmm0
movzwl 6(%rsi,%rdi), %eax
movd %eax, %xmm1
pmovsxbd %xmm0, %xmm0
pmovsxbd %xmm1, %xmm1
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
movdqu %xmm0, 16(%rcx,%rdi,4)
addq $8, %rdi
addq $-2, %rdx
jne LBB0_15
## %bb.16:
leaq (%rsi,%rdi), %rax
movq %rax, (%r14)
testb $1, %r9b
je LBB0_19
LBB0_18:
movq %rdi, %rax
orq $3, %rax
addq %rsi, %rax
incq %rax
movq %rax, (%r14)
movzwl (%rsi,%rdi), %eax
movd %eax, %xmm0
movzwl 2(%rsi,%rdi), %eax
movd %eax, %xmm1
pmovsxbd %xmm0, %xmm0
pmovsxbd %xmm1, %xmm1
punpcklqdq %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
movdqu %xmm0, (%rcx,%rdi,4)
LBB0_19:
addq %r10, %rsi
cmpq %r10, %r8
movq -56(%rbp), %r9 ## 8-byte Reload
je LBB0_29
## %bb.20:
subl %r10d, %ebx
jmp LBB0_21
LBB0_9:
movq -56(%rbp), %r9 ## 8-byte Reload
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_21:
leal -1(%rbx), %r8d
testb $3, %bl
je LBB0_25
## %bb.22:
leaq (%rcx,%r10,4), %rdx
movq %rbx, %r11
## kill: def $ebx killed $ebx killed $rbx def $rbx
andl $3, %ebx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movq %rsi, %rax
incq %rsi
movq %rsi, (%r14)
movsbl (%rax), %eax
movl %eax, (%rdx,%rdi,4)
incq %rdi
cmpl %edi, %ebx
jne LBB0_23
## %bb.24:
addq %rdi, %r10
movq %r11, %rbx
subl %edi, %ebx
LBB0_25:
cmpl $3, %r8d
jb LBB0_29
## %bb.26:
leaq (%rcx,%r10,4), %rcx
addq $12, %rcx
movl %ebx, %edi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_27: ## =>This Inner Loop Header: Depth=1
leaq (%rsi,%rdx), %rax
incq %rax
movq %rax, (%r14)
movsbl (%rsi,%rdx), %eax
movl %eax, -12(%rcx,%rdx,4)
leaq 2(%rsi,%rdx), %rax
movq %rax, (%r14)
movsbl 1(%rsi,%rdx), %eax
movl %eax, -8(%rcx,%rdx,4)
leaq 3(%rsi,%rdx), %rax
movq %rax, (%r14)
movsbl 2(%rsi,%rdx), %eax
movl %eax, -4(%rcx,%rdx,4)
leaq 4(%rsi,%rdx), %rax
movq %rax, (%r14)
movsbl 3(%rsi,%rdx), %eax
movl %eax, (%rcx,%rdx,4)
addq $4, %rdx
cmpl %edx, %edi
jne LBB0_27
## %bb.28:
addq %rdx, %rsi
LBB0_29:
testb $1, %sil
je LBB0_31
## %bb.30:
incq %rsi
movq %rsi, (%r14)
LBB0_31:
testl %r15d, %r15d
je LBB0_32
## %bb.33:
movq _Numbers@GOTPCREL(%rip), %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _Get_int
movq (%r13), %rcx
movq %rax, (%rcx,%rbx,8)
incq %rbx
cmpl %ebx, %r15d
jne LBB0_34
## %bb.35:
movq (%r14), %rsi
movq _Strings@GOTPCREL(%rip), %r13
movq (%r13), %r9
jmp LBB0_36
LBB0_32:
movq _Strings@GOTPCREL(%rip), %r13
LBB0_36:
movslq %r12d, %rax
addq %rax, %rsi
addq %rax, %rsi
movq %r9, %rdi
movq -72(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _memcpy
testl %r12d, %r12d
movq _Data_Line@GOTPCREL(%rip), %r15
je LBB0_44
## %bb.37:
movq _bt__@GOTPCREL(%rip), %rax
movslq (%rax), %rbx
movq _String_table@GOTPCREL(%rip), %r14
jmp LBB0_38
.p2align 4, 0x90
LBB0_39: ## in Loop: Header=BB0_38 Depth=1
xorl %eax, %eax
LBB0_42: ## in Loop: Header=BB0_38 Depth=1
movq %rax, (%rcx,%rbx,8)
LBB0_43: ## in Loop: Header=BB0_38 Depth=1
incq %rbx
testl %r12d, %r12d
je LBB0_44
LBB0_38: ## =>This Inner Loop Header: Depth=1
decl %r12d
xorl %eax, %eax
callq _Get_int
movq (%r14), %rcx
cmpl $-1, %eax
je LBB0_39
## %bb.40: ## in Loop: Header=BB0_38 Depth=1
cmpq $0, (%rcx,%rbx,8)
jne LBB0_43
## %bb.41: ## in Loop: Header=BB0_38 Depth=1
cltq
shlq $2, %rax
addq (%r13), %rax
jmp LBB0_42
LBB0_44:
movq _Fildes@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _close
movq (%r15), %rdi
callq _free
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_45:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
xorl %edi, %edi
testb $1, %r9b
jne LBB0_18
jmp LBB0_19
.cfi_endproc
## -- End function
.comm _Data_Line,8,3 ## @Data_Line
.comm _TERM_data_ptr,8,3 ## @TERM_data_ptr
.comm _Fildes,4,2 ## @Fildes
.comm _Data_Line_len,4,2 ## @Data_Line_len
.comm _TRUE,4,2 ## @TRUE
.comm _Flip_Bytes,4,2 ## @Flip_Bytes
.comm _Strings,8,3 ## @Strings
.comm _Booleans,8,3 ## @Booleans
.comm _Numbers,8,3 ## @Numbers
.comm _bt__,4,2 ## @bt__
.comm _String_table,8,3 ## @String_table
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _INFO_PARSE ; -- Begin function INFO_PARSE
.p2align 2
_INFO_PARSE: ; @INFO_PARSE
.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 w0, #10240
bl _malloc
mov x1, x0
Lloh0:
adrp x24, _Data_Line@GOTPAGE
Lloh1:
ldr x24, [x24, _Data_Line@GOTPAGEOFF]
str x0, [x24]
Lloh2:
adrp x28, _TERM_data_ptr@GOTPAGE
Lloh3:
ldr x28, [x28, _TERM_data_ptr@GOTPAGEOFF]
str x0, [x28]
Lloh4:
adrp x25, _Fildes@GOTPAGE
Lloh5:
ldr x25, [x25, _Fildes@GOTPAGEOFF]
ldr w0, [x25]
mov w2, #10240
bl _read
Lloh6:
adrp x8, _Data_Line_len@GOTPAGE
Lloh7:
ldr x8, [x8, _Data_Line_len@GOTPAGEOFF]
Lloh8:
str w0, [x8]
lsr w8, w0, #11
cmp w8, #4
b.hi LBB0_8
; %bb.1:
bl _Get_int
Lloh9:
adrp x26, _TRUE@GOTPAGE
Lloh10:
ldr x26, [x26, _TRUE@GOTPAGEOFF]
cmp w0, #282
b.eq LBB0_3
; %bb.2:
ldr w8, [x26]
Lloh11:
adrp x9, _Flip_Bytes@GOTPAGE
Lloh12:
ldr x9, [x9, _Flip_Bytes@GOTPAGEOFF]
Lloh13:
str w8, [x9]
ldr x8, [x28]
sub x8, x8, #2
str x8, [x28]
bl _Get_int
cmp w0, #282
b.ne LBB0_8
LBB0_3:
bl _Get_int
mov x23, x0
bl _Get_int
mov x22, x0
bl _Get_int
mov x21, x0
bl _Get_int
mov x19, x0
bl _Get_int
mov x20, x0
bl _malloc
Lloh14:
adrp x27, _Strings@GOTPAGE
Lloh15:
ldr x27, [x27, _Strings@GOTPAGEOFF]
str x0, [x27]
ldr x10, [x28]
cmp w23, #1
b.lt LBB0_5
; %bb.4:
sub w8, w23, #1
add x8, x8, x10
add x10, x8, #1
str x10, [x28]
LBB0_5:
cbz w22, LBB0_9
; %bb.6:
Lloh16:
adrp x8, _Booleans@GOTPAGE
Lloh17:
ldr x8, [x8, _Booleans@GOTPAGEOFF]
Lloh18:
ldr x9, [x8]
sub w8, w22, #1
cmp w8, #15
b.hs LBB0_10
; %bb.7:
mov x11, #0
b LBB0_16
LBB0_8:
mov w0, #0
b LBB0_34
LBB0_9:
mov x8, x10
b LBB0_19
LBB0_10:
mov x11, #0
sub w12, w22, #1
add x12, x12, #1
add x14, x9, x12, lsl #2
add x15, x28, #8
add x13, x10, x12
cmp x13, x28
ccmp x10, x15, #2, hi
cset w12, lo
cmp x13, x9
ccmp x10, x14, #2, hi
cset w13, lo
cmp x9, x15
ccmp x14, x28, #0, lo
b.hi LBB0_16
; %bb.11:
tbnz w12, #0, LBB0_16
; %bb.12:
tbnz w13, #0, LBB0_16
; %bb.13:
add x12, x8, #1
and x11, x12, #0x1fffffff0
add x8, x10, x11
sub w22, w22, w11
mov w13, #15
dup.2d v0, x13
mov x13, x11
mov x14, x9
LBB0_14: ; =>This Inner Loop Header: Depth=1
dup.2d v1, x10
fmov x15, d1
ldr q2, [x15]
sshll.8h v3, v2, #0
sshll.4s v4, v3, #0
sshll2.8h v2, v2, #0
sshll.4s v5, v2, #0
sshll2.4s v2, v2, #0
stp q5, q2, [x14, #32]
sshll2.4s v2, v3, #0
stp q4, q2, [x14], #64
add x10, x10, #16
subs x13, x13, #16
b.ne LBB0_14
; %bb.15:
add.2d v0, v1, v0
mov.d x10, v0[1]
add x10, x10, #1
str x10, [x28]
cmp x12, x11
b.eq LBB0_19
b LBB0_17
LBB0_16:
mov x8, x10
LBB0_17:
add x9, x9, x11, lsl #2
mov x10, x8
LBB0_18: ; =>This Inner Loop Header: Depth=1
add x8, x10, #1
str x8, [x28]
ldrsb w10, [x10]
str w10, [x9], #4
mov x10, x8
subs w22, w22, #1
b.ne LBB0_18
LBB0_19:
tbz w8, #0, LBB0_21
; %bb.20:
add x8, x8, #1
str x8, [x28]
LBB0_21:
cbz w21, LBB0_25
; %bb.22:
mov x22, #0
Lloh19:
adrp x23, _Numbers@GOTPAGE
Lloh20:
ldr x23, [x23, _Numbers@GOTPAGEOFF]
LBB0_23: ; =>This Inner Loop Header: Depth=1
bl _Get_int
ldr x8, [x23]
str x0, [x8, x22, lsl #3]
add x22, x22, #1
cmp w21, w22
b.ne LBB0_23
; %bb.24:
ldr x8, [x28]
ldr x0, [x27]
LBB0_25:
sxtw x9, w19
add x8, x8, x9
add x1, x8, x9
mov x2, x20
bl _memcpy
cbz w19, LBB0_33
; %bb.26:
Lloh21:
adrp x8, _bt__@GOTPAGE
Lloh22:
ldr x8, [x8, _bt__@GOTPAGEOFF]
Lloh23:
ldrsw x8, [x8]
lsl x20, x8, #3
Lloh24:
adrp x21, _String_table@GOTPAGE
Lloh25:
ldr x21, [x21, _String_table@GOTPAGEOFF]
b LBB0_30
LBB0_27: ; in Loop: Header=BB0_30 Depth=1
mov x9, #0
LBB0_28: ; in Loop: Header=BB0_30 Depth=1
str x9, [x8, x20]
LBB0_29: ; in Loop: Header=BB0_30 Depth=1
add x20, x20, #8
cbz w19, LBB0_33
LBB0_30: ; =>This Inner Loop Header: Depth=1
sub w19, w19, #1
bl _Get_int
ldr x8, [x21]
cmn w0, #1
b.eq LBB0_27
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
ldr x9, [x8, x20]
cbnz x9, LBB0_29
; %bb.32: ; in Loop: Header=BB0_30 Depth=1
ldr x9, [x27]
lsl x10, x0, #32
add x9, x9, x10, asr #30
b LBB0_28
LBB0_33:
ldr w0, [x25]
bl _close
ldr x0, [x24]
bl _free
ldr w0, [x26]
LBB0_34:
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 AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _Data_Line,8,3 ; @Data_Line
.comm _TERM_data_ptr,8,3 ; @TERM_data_ptr
.comm _Fildes,4,2 ; @Fildes
.comm _Data_Line_len,4,2 ; @Data_Line_len
.comm _TRUE,4,2 ; @TRUE
.comm _Flip_Bytes,4,2 ; @Flip_Bytes
.comm _Strings,8,3 ; @Strings
.comm _Booleans,8,3 ; @Booleans
.comm _Numbers,8,3 ; @Numbers
.comm _bt__,4,2 ; @bt__
.comm _String_table,8,3 ; @String_table
.subsections_via_symbols
|
AnghaBench/freebsd/contrib/ee/extr_new_curse.c_INFO_PARSE.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BN_pseudo_rand ## -- Begin function BN_pseudo_rand
.p2align 4, 0x90
_BN_pseudo_rand: ## @BN_pseudo_rand
.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 _BN_rand ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BN_pseudo_rand ; -- Begin function BN_pseudo_rand
.p2align 2
_BN_pseudo_rand: ; @BN_pseudo_rand
.cfi_startproc
; %bb.0:
b _BN_rand
.cfi_endproc
; -- End function
.subsections_via_symbols
|
AnghaBench/freebsd/crypto/openssl/crypto/bn/extr_bn_rand.c_BN_pseudo_rand.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wdog_kern_last_timeout ## -- Begin function wdog_kern_last_timeout
.p2align 4, 0x90
_wdog_kern_last_timeout: ## @wdog_kern_last_timeout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _wd_last_u@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _wd_last_u,4,2 ## @wd_last_u
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wdog_kern_last_timeout ; -- Begin function wdog_kern_last_timeout
.p2align 2
_wdog_kern_last_timeout: ; @wdog_kern_last_timeout
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _wd_last_u@GOTPAGE
Lloh1:
ldr x8, [x8, _wd_last_u@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _wd_last_u,4,2 ; @wd_last_u
.subsections_via_symbols
|
AnghaBench/freebsd/sys/dev/watchdog/extr_watchdog.c_wdog_kern_last_timeout.c
|
anghabench
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dma_pointer_handler ## -- Begin function dma_pointer_handler
.p2align 4, 0x90
_dma_pointer_handler: ## @dma_pointer_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
xorl %eax, %eax
callq _ENTER_CRITICAL
movl (%r14), %edi
movl %edi, %ecx
subl %ebx, %ecx
movq _prev_w_index@GOTPCREL(%rip), %rsi
movl (%rsi), %eax
cmpl %eax, %ecx
je LBB0_8
## %bb.1:
movl 4(%r14), %edx
cmpl %edx, %eax
jae LBB0_3
## %bb.2:
cmpl %ecx, %edx
ja LBB0_3
LBB0_6:
leal 1(%rcx), %eax
xorl %edx, %edx
divl %edi
movl %edx, 4(%r14)
jmp LBB0_7
LBB0_3:
cmpl %eax, %ecx
jae LBB0_7
## %bb.4:
cmpl %ecx, %edx
jbe LBB0_6
## %bb.5:
cmpl %edx, %eax
jb LBB0_6
LBB0_7:
movl %ecx, 8(%r14)
LBB0_8:
movl %ecx, (%rsi)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _EXIT_CRITICAL ## TAILCALL
.cfi_endproc
## -- End function
.comm _prev_w_index,4,2 ## @prev_w_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dma_pointer_handler ; -- Begin function dma_pointer_handler
.p2align 2
_dma_pointer_handler: ; @dma_pointer_handler
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _ENTER_CRITICAL
ldr w10, [x19]
Lloh0:
adrp x8, _prev_w_index@GOTPAGE
Lloh1:
ldr x8, [x8, _prev_w_index@GOTPAGEOFF]
ldr w11, [x8]
sub w9, w10, w20
cmp w9, w11
b.eq LBB0_6
; %bb.1:
ldr w12, [x19, #4]
cmp w11, w12
ccmp w12, w9, #2, lo
b.ls LBB0_4
; %bb.2:
cmp w9, w11
b.hs LBB0_5
; %bb.3:
cmp w12, w9
ccmp w11, w12, #0, hi
b.hs LBB0_5
LBB0_4:
add w11, w9, #1
udiv w12, w11, w10
msub w10, w12, w10, w11
str w10, [x19, #4]
LBB0_5:
str w9, [x19, #8]
LBB0_6:
str w9, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _EXIT_CRITICAL
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _prev_w_index,4,2 ; @prev_w_index
.subsections_via_symbols
|
AnghaBench/openpilot/panda/board/extr_driversuart.h_dma_pointer_handler.c
|
anghabench
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 61