x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function OSDWidgetUpdate
_OSDWidgetUpdate: ## @OSDWidgetUpdate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %rbx
movq %rdi, %r14
movq 16(%rdi), %r12
movq %rsi, %rdi
callq _VLC_UNUSED
movq %r15, %rdi
callq _VLC_UNUSED
movups (%rbx), %xmm0
movaps %xmm0, -64(%rbp)
movq 16(%rbx), %rcx
movq %rcx, -48(%rbp)
movl -60(%rbp), %edi
movl -56(%rbp), %ebx
movl -64(%rbp), %eax
imull %edi, %eax
cltd
idivl %ebx
movl %eax, -64(%rbp)
movl -52(%rbp), %eax
imull %edi, %eax
cltd
idivl %ebx
movl %eax, %esi
movl %eax, -52(%rbp)
imull %edi, %ecx
movl %ecx, %eax
cltd
idivl %ebx
movl %eax, -48(%rbp)
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, -60(%rbp)
movl %esi, (%r14)
movl -44(%rbp), %eax
movl %eax, 8(%r14)
movq (%r12), %rdi
movq _OSD_HOR_SLIDER@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
je LBB0_2
## %bb.1:
movq _OSD_VERT_SLIDER@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
je LBB0_2
## %bb.3:
leaq -64(%rbp), %rsi
callq _OSDIcon
jmp LBB0_4
LBB0_2:
movl 8(%r12), %esi
leaq -64(%rbp), %rdx
callq _OSDSlider
LBB0_4:
movl %eax, 4(%r14)
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OSD_HOR_SLIDER,8,3 ## @OSD_HOR_SLIDER
.comm _OSD_VERT_SLIDER,8,3 ## @OSD_VERT_SLIDER
.no_dead_strip _OSDWidgetUpdate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function OSDWidgetUpdate
_OSDWidgetUpdate: ; @OSDWidgetUpdate
.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 x20, x3
mov x21, x2
mov x19, x0
ldr x22, [x0, #16]
mov x0, x1
bl _VLC_UNUSED
mov x0, x20
bl _VLC_UNUSED
ldr q0, [x21]
str q0, [sp]
ldp w8, w9, [sp]
mul w8, w9, w8
ldp w10, w11, [sp, #8]
sdiv w8, w8, w10
str w8, [sp]
ldr x8, [x21, #16]
str x8, [sp, #16]
mul w11, w11, w9
sdiv w11, w11, w10
mul w8, w8, w9
sdiv w8, w8, w10
stp w11, w8, [sp, #12]
movi.2s v0, #1
stur d0, [sp, #4]
str w11, [x19]
ldr w8, [sp, #20]
str w8, [x19, #8]
ldr x0, [x22]
Lloh0:
adrp x8, _OSD_HOR_SLIDER@GOTPAGE
Lloh1:
ldr x8, [x8, _OSD_HOR_SLIDER@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_3
; %bb.1:
Lloh3:
adrp x8, _OSD_VERT_SLIDER@GOTPAGE
Lloh4:
ldr x8, [x8, _OSD_VERT_SLIDER@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_3
; %bb.2:
mov x1, sp
bl _OSDIcon
b LBB0_4
LBB0_3:
ldr w1, [x22, #8]
mov x2, sp
bl _OSDSlider
LBB0_4:
str w0, [x19, #4]
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _OSD_HOR_SLIDER,8,3 ; @OSD_HOR_SLIDER
.comm _OSD_VERT_SLIDER,8,3 ; @OSD_VERT_SLIDER
.no_dead_strip _OSDWidgetUpdate
.subsections_via_symbols
| AnghaBench/vlc/src/video_output/extr_video_widgets.c_OSDWidgetUpdate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %r14d
testl %r14d, %r14d
je LBB0_11
## %bb.1:
leaq -44(%rbp), %r12
xorl %r15d, %r15d
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r13, 8(%rbx)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, (%r13)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %r14d
movq %r13, %rbx
testl %r14d, %r14d
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl $24, %edi
callq _malloc
movq %rax, %r13
movl %r14d, 16(%rax)
movq $0, 8(%rax)
testq %rbx, %rbx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %r15
jmp LBB0_5
LBB0_6:
leaq L_str(%rip), %rdi
callq _puts
testq %r15, %r15
je LBB0_12
## %bb.7:
leaq L_.str.3(%rip), %r14
xorl %r12d, %r12d
movq %r15, %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl 16(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
addl 16(%rbx), %r12d
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB0_8
## %bb.9:
leaq L_.str.4(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
testq %r15, %r15
je LBB0_13
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rbx
movq %r15, %rdi
callq _free
movq %rbx, %r15
testq %rbx, %rbx
jne LBB0_10
jmp LBB0_13
LBB0_11:
leaq L_str(%rip), %rdi
callq _puts
LBB0_12:
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
LBB0_13:
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 "input integer (0: quit) > "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "%d\t"
L_.str.4: ## @.str.4
.asciz "\nsum=%d\n"
L_str: ## @str
.asciz "numbers"
.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, #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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x23, sp, #12
str x23, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w25, [sp, #12]
cbz w25, LBB0_11
; %bb.1:
mov x19, #0
mov x24, #0
Lloh4:
adrp x20, l_.str@PAGE
Lloh5:
add x20, x20, l_.str@PAGEOFF
Lloh6:
adrp x21, l_.str.1@PAGE
Lloh7:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
str x22, [x24, #8]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str x24, [x22]
mov x0, x20
bl _printf
str x23, [sp]
mov x0, x21
bl _scanf
ldr w25, [sp, #12]
mov x24, x22
cbz w25, LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov w0, #24
bl _malloc
mov x22, x0
str w25, [x0, #16]
str xzr, [x0, #8]
cbnz x24, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x19, x22
b LBB0_3
LBB0_6:
Lloh8:
adrp x0, l_str@PAGE
Lloh9:
add x0, x0, l_str@PAGEOFF
bl _puts
cbz x19, LBB0_12
; %bb.7:
mov w21, #0
Lloh10:
adrp x20, l_.str.3@PAGE
Lloh11:
add x20, x20, l_.str.3@PAGEOFF
mov x22, x19
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, #16]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x22, #16]
add w21, w8, w21
ldr x22, [x22, #8]
cbnz x22, LBB0_8
; %bb.9:
str x21, [sp]
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
cbz x19, LBB0_13
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x20, [x19, #8]
mov x0, x19
bl _free
mov x19, x20
cbnz x20, LBB0_10
b LBB0_13
LBB0_11:
Lloh14:
adrp x0, l_str@PAGE
Lloh15:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_12:
str xzr, [sp]
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
LBB0_13:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "input integer (0: quit) > "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "%d\t"
l_.str.4: ; @.str.4
.asciz "\nsum=%d\n"
l_str: ; @str
.asciz "numbers"
.subsections_via_symbols
| the_stack_data/31389151.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function clear_unused_frames
_clear_unused_frames: ## @clear_unused_frames
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_6
## %bb.1:
movq %rdi, %rbx
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq (%rbx), %rbx
testq %rbx, %rbx
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
testq %rax, %rax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, (%rax)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq $0, 16(%rbx)
leaq 8(%rbx), %rdi
callq _av_frame_free
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _clear_unused_frames
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function clear_unused_frames
_clear_unused_frames: ; @clear_unused_frames
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_6
; %bb.1:
mov x19, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x19, [x19]
cbz x19, LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
cbz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x8]
cbnz w8, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
str xzr, [x19, #16]
add x0, x19, #8
bl _av_frame_free
b LBB0_2
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _clear_unused_frames
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_qsvvpp.c_clear_unused_frames.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isapnp_deactivate
_isapnp_deactivate: ## @isapnp_deactivate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _isapnp_device
movq _ISAPNP_CFG_ACTIVATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _isapnp_write_byte
movl $500, %edi ## imm = 0x1F4
popq %rbp
jmp _udelay ## TAILCALL
.cfi_endproc
## -- End function
.comm _ISAPNP_CFG_ACTIVATE,4,2 ## @ISAPNP_CFG_ACTIVATE
.no_dead_strip _isapnp_deactivate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isapnp_deactivate
_isapnp_deactivate: ; @isapnp_deactivate
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _isapnp_device
Lloh0:
adrp x8, _ISAPNP_CFG_ACTIVATE@GOTPAGE
Lloh1:
ldr x8, [x8, _ISAPNP_CFG_ACTIVATE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
bl _isapnp_write_byte
mov w0, #500
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _udelay
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ISAPNP_CFG_ACTIVATE,4,2 ; @ISAPNP_CFG_ACTIVATE
.no_dead_strip _isapnp_deactivate
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/pnp/isapnp/extr_core.c_isapnp_deactivate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dump
_dump: ## @dump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
testq %r12, %r12
je LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r14,%rbx,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq %rbx, %r12
jne LBB0_2
LBB0_3:
movl $10, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: "
L_.str.1: ## @.str.1
.asciz "%02x"
.no_dead_strip _dump
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dump
_dump: ; @dump
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
cbz x19, LBB0_3
; %bb.1:
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20], #4
str x8, [sp]
mov x0, x21
bl _printf
subs x19, x19, #1
b.ne LBB0_2
LBB0_3:
mov w0, #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
b _putchar
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: "
l_.str.1: ; @.str.1
.asciz "%02x"
.no_dead_strip _dump
.subsections_via_symbols
| AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_testutil.h_dump.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile ## -- Begin function __ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 4, 0x90
___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile: ## @__ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rbx
addq %r14, %rbx
jmp LBB0_3
LBB0_1:
xorl %ebx, %ebx
LBB0_3:
movl $524288, 16(%rbx) ## imm = 0x80000
movq 40(%rbx), %rdi
movl $524288, %esi ## imm = 0x80000
callq ___ecereNameSpace__ecere__com__eSystem_Renew
movq %rax, 40(%rbx)
movl 16(%rbx), %eax
cmpl %eax, 20(%rbx)
jbe LBB0_5
## %bb.4:
movl %eax, 20(%rbx)
LBB0_5:
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rsi
movq %r14, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rsi
movq %r14, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl $1024, 52(%r14,%rax) ## imm = 0x400
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rsi
movq %r14, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rsi
movq %r14, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
testq %rdi, %rdi
je LBB1_1
## %bb.2:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rbx
addq %r14, %rbx
jmp LBB1_3
LBB1_1:
xorl %ebx, %ebx
LBB1_3:
movl %esi, 16(%rbx)
movq 40(%rbx), %rdi
callq ___ecereNameSpace__ecere__com__eSystem_Renew
movq %rax, 40(%rbx)
movl 16(%rbx), %eax
cmpl %eax, 20(%rbx)
jbe LBB1_5
## %bb.4:
movl %eax, 20(%rbx)
LBB1_5:
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rsi
movq %r14, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip), %rsi
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers ## TAILCALL
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.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 ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl %esi, 52(%rdi,%rax)
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rsi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers ## TAILCALL
.cfi_endproc
## -- End function
.globl ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile ## -- Begin function __ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 4, 0x90
___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile: ## @__ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB3_1
## %bb.2:
movq %rdi, %rbx
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
addq %rax, %rbx
jmp LBB3_3
LBB3_1:
xorl %ebx, %ebx
LBB3_3:
movq 8(%rbx), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_DecRef
movq $0, 8(%rbx)
movq 40(%rbx), %rdi
callq ___ecereNameSpace__ecere__com__eSystem_Delete
movq $0, 40(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rcx
movq 8(%rdi,%rcx), %rdi
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB4_1
## %bb.2:
popq %rbp
jmpq *%rax ## TAILCALL
LBB4_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rcx
movq 8(%rdi,%rcx), %rdi
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB5_1
## %bb.2:
popq %rbp
jmpq *%rax ## TAILCALL
LBB5_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.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 %ecx, %r14d
movq %rsi, -72(%rbp) ## 8-byte Spill
xorl %eax, %eax
testq %rdi, %rdi
je LBB6_1
## %bb.2:
movq %rdi, %r8
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %r8
cmpq $0, 8(%r8)
jne LBB6_4
jmp LBB6_32
LBB6_1:
xorl %r8d, %r8d
cmpq $0, 8(%r8)
je LBB6_32
LBB6_4:
movl 20(%r8), %r13d
movq 24(%r8), %r15
movq 40(%r8), %rsi
addq %r15, %rsi
movl %edx, -48(%rbp) ## 4-byte Spill
imull %edx, %r14d
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r8, -56(%rbp) ## 8-byte Spill
jmp LBB6_5
.p2align 4, 0x90
LBB6_26: ## in Loop: Header=BB6_5 Depth=1
incl %r13d
LBB6_29: ## in Loop: Header=BB6_5 Depth=1
movq 40(%r8), %rsi
addq %r15, %rsi
movl -44(%rbp), %r14d ## 4-byte Reload
LBB6_5: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edx
movq %rdx, %rbx
subq %r15, %rbx
jae LBB6_7
## %bb.6: ## in Loop: Header=BB6_5 Depth=1
xorl %ebx, %ebx
LBB6_7: ## in Loop: Header=BB6_5 Depth=1
movl %r14d, %eax
cmpq %rax, %rbx
jb LBB6_9
## %bb.8: ## in Loop: Header=BB6_5 Depth=1
movq %rax, %rbx
LBB6_9: ## in Loop: Header=BB6_5 Depth=1
movq %r15, %r12
testq %rbx, %rbx
je LBB6_11
## %bb.10: ## in Loop: Header=BB6_5 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
movl %r15d, %edi
addq -72(%rbp), %rdi ## 8-byte Folded Reload
movl %r13d, -44(%rbp) ## 4-byte Spill
movq %rdx, %r13
movq %rbx, %rdx
callq _memcpy
movq %r13, %rdx
movl -44(%rbp), %r13d ## 4-byte Reload
movq -56(%rbp), %r8 ## 8-byte Reload
addq %rbx, %r12
addl %ebx, %r15d
movq %r15, -64(%rbp) ## 8-byte Spill
subl %ebx, %r14d
LBB6_11: ## in Loop: Header=BB6_5 Depth=1
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rbx
testl %r14d, %r14d
je LBB6_12
## %bb.13: ## in Loop: Header=BB6_5 Depth=1
movl 16(%r8), %eax
cmpl %eax, %r14d
movl %r14d, -44(%rbp) ## 4-byte Spill
jae LBB6_21
## %bb.14: ## in Loop: Header=BB6_5 Depth=1
movq %r12, %r15
movl 52(%r8), %ecx
cmpl %ecx, %r14d
cmoval %r14d, %ecx
cmpq %rdx, %r12
jbe LBB6_15
## %bb.16: ## in Loop: Header=BB6_5 Depth=1
movl %r14d, %r14d
subq %rdx, %r14
addq %r15, %r14
cmpq %rdx, %r14
jae LBB6_18
## %bb.17: ## in Loop: Header=BB6_5 Depth=1
cmpq %rcx, %r14
ja LBB6_19
LBB6_18: ## in Loop: Header=BB6_5 Depth=1
xorl %r15d, %r15d
movq %rcx, %r14
xorl %r13d, %r13d
jmp LBB6_19
.p2align 4, 0x90
LBB6_21: ## in Loop: Header=BB6_5 Depth=1
xorl %r15d, %r15d
movq %rax, %r14
jmp LBB6_22
.p2align 4, 0x90
LBB6_15: ## in Loop: Header=BB6_5 Depth=1
movq %rcx, %r14
LBB6_19: ## in Loop: Header=BB6_5 Depth=1
movl %r13d, %ecx
addq %r14, %rcx
cmpq %rax, %rcx
jbe LBB6_23
## %bb.20: ## in Loop: Header=BB6_5 Depth=1
xorl %r15d, %r15d
LBB6_22: ## in Loop: Header=BB6_5 Depth=1
xorl %r13d, %r13d
LBB6_23: ## in Loop: Header=BB6_5 Depth=1
movq 8(%r8), %rdi
movq (%rbx), %rax
leaq 32(%rax), %rcx
testq %rdi, %rdi
cmovneq %rdi, %rcx
movq (%rcx), %rcx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
movl %r13d, %r12d
testq %rcx, %rcx
je LBB6_25
## %bb.24: ## in Loop: Header=BB6_5 Depth=1
movl -64(%rbp), %esi ## 4-byte Reload
subq %r15, %rsi
addq %r12, %rsi
addq 32(%r8), %rsi
xorl %edx, %edx
callq *%rcx
movq -56(%rbp), %r8 ## 8-byte Reload
movq 8(%r8), %rdi
movq (%rbx), %rax
LBB6_25: ## in Loop: Header=BB6_5 Depth=1
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rbx
testq %rbx, %rbx
je LBB6_26
## %bb.27: ## in Loop: Header=BB6_5 Depth=1
addq 40(%r8), %r12
movq %r12, %rsi
movl $1, %edx
movl %r14d, %ecx
callq *%rbx
addl %eax, %r13d
testl %eax, %eax
je LBB6_30
## %bb.28: ## in Loop: Header=BB6_5 Depth=1
movq -56(%rbp), %r8 ## 8-byte Reload
jmp LBB6_29
LBB6_12:
movl -48(%rbp), %ecx ## 4-byte Reload
movq %r12, %r15
jmp LBB6_31
LBB6_30:
movq -56(%rbp), %r8 ## 8-byte Reload
movl $1, 48(%r8)
movl -48(%rbp), %ecx ## 4-byte Reload
LBB6_31:
movl %r13d, 20(%r8)
movq %r15, 24(%r8)
movq -64(%rbp), %rax ## 8-byte Reload
movl %eax, %edx
addq %rdx, 32(%r8)
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB6_32:
## kill: def $eax killed $eax killed $rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movl %edx, %r14d
movq %rsi, %r15
testq %rdi, %rdi
je LBB7_1
## %bb.2:
movq %rdi, %rbx
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rcx
addq %rcx, %rbx
jmp LBB7_3
LBB7_1:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %ebx, %ebx
LBB7_3:
movq 8(%rbx), %rdi
leaq 32(%rax), %rcx
testq %rdi, %rdi
cmovneq %rdi, %rcx
movq (%rcx), %rcx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
testq %rcx, %rcx
je LBB7_5
## %bb.4:
movq 32(%rbx), %rsi
xorl %edx, %edx
callq *%rcx
movq 8(%rbx), %rdi
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB7_5:
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %r8
testq %r8, %r8
movq %r15, -48(%rbp) ## 8-byte Spill
je LBB7_6
## %bb.7:
movq %r15, %rsi
movl %r14d, %edx
movl %r12d, %ecx
callq *%r8
movl %eax, %r12d
jmp LBB7_8
LBB7_6:
movl $1, %r12d
LBB7_8:
imull %r12d, %r14d
movl 16(%rbx), %r13d
movq 24(%rbx), %rdx
xorl %eax, %eax
movq %r13, %rcx
subq %rdx, %rcx
cmovaeq %rcx, %rax
movq 32(%rbx), %rcx
addq %r14, %rcx
movq 56(%rbx), %rsi
cmpq %rcx, %rsi
cmovbeq %rcx, %rsi
movq %r14, %r15
movq %rcx, 32(%rbx)
movq %rsi, 56(%rbx)
subq %rax, %r15
jbe LBB7_13
## %bb.9:
movl 20(%rbx), %eax
cmpq %rax, %rdx
ja LBB7_14
## %bb.10:
cmpl %r13d, %r14d
jae LBB7_14
## %bb.11:
subq %r15, %rdx
jbe LBB7_14
## %bb.12:
movq 40(%rbx), %rdi
leaq (%rdi,%r15), %rsi
callq _memcpy
movq 24(%rbx), %rdx
subq %r15, %rdx
movq %rdx, 24(%rbx)
subl %r15d, 20(%rbx)
LBB7_13:
movq -48(%rbp), %rsi ## 8-byte Reload
addq 40(%rbx), %rdx
movq %rdx, %rdi
movq %r14, %rdx
callq _memcpy
addq 24(%rbx), %r14
movq %r14, 24(%rbx)
movl 20(%rbx), %eax
cmpl %r14d, %eax
cmoval %eax, %r14d
movl %r14d, 20(%rbx)
jmp LBB7_15
LBB7_14:
cmpl %r13d, %r14d
cmovbl %r14d, %r13d
movq 40(%rbx), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
addq %r14, %rsi
subq %r13, %rsi
movq %r13, %rdx
callq _memcpy
movq %r13, 24(%rbx)
movl %r13d, 20(%rbx)
LBB7_15:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.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
xorl %eax, %eax
testq %rdi, %rdi
je LBB8_1
## %bb.2:
movq %rdi, %r14
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 28(%rcx), %rcx
addq %rcx, %r14
cmpq $0, 8(%r14)
jne LBB8_4
jmp LBB8_14
LBB8_1:
xorl %r14d, %r14d
cmpq $0, 8(%r14)
je LBB8_14
LBB8_4:
movq %rsi, -48(%rbp) ## 8-byte Spill
movl 20(%r14), %eax
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %r15
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %r12
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %r13
jmp LBB8_5
.p2align 4, 0x90
LBB8_11: ## in Loop: Header=BB8_5 Depth=1
movq 40(%r14), %rsi
movl 16(%r14), %ecx
movl $1, %edx
callq *%rbx
LBB8_12: ## in Loop: Header=BB8_5 Depth=1
movl %eax, 20(%r14)
testl %eax, %eax
je LBB8_13
LBB8_5: ## =>This Inner Loop Header: Depth=1
movl %eax, %ecx
movq 24(%r14), %rax
cmpq %rcx, %rax
jb LBB8_6
## %bb.7: ## in Loop: Header=BB8_5 Depth=1
movq $0, 24(%r14)
movq 8(%r14), %rdi
movq (%r15), %rax
leaq 32(%rax), %rcx
testq %rdi, %rdi
cmovneq %rdi, %rcx
movq (%rcx), %rcx
movslq (%r12), %rdx
movq (%rcx,%rdx,8), %rcx
testq %rcx, %rcx
je LBB8_9
## %bb.8: ## in Loop: Header=BB8_5 Depth=1
movq 32(%r14), %rsi
xorl %edx, %edx
callq *%rcx
movq 8(%r14), %rdi
movq (%r15), %rax
LBB8_9: ## in Loop: Header=BB8_5 Depth=1
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movslq (%r13), %rcx
movq (%rax,%rcx,8), %rbx
testq %rbx, %rbx
jne LBB8_11
## %bb.10: ## in Loop: Header=BB8_5 Depth=1
movl $1, %eax
jmp LBB8_12
LBB8_13:
movl $1, 48(%r14)
xorl %eax, %eax
jmp LBB8_14
LBB8_6:
movq 40(%r14), %rcx
movb (%rcx,%rax), %al
movq -48(%rbp), %rcx ## 8-byte Reload
movb %al, (%rcx)
movdqu 24(%r14), %xmm0
pcmpeqd %xmm1, %xmm1
psubq %xmm1, %xmm0
movdqu %xmm0, 24(%r14)
movl $1, %eax
LBB8_14:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movb %sil, -1(%rbp)
movq ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rax
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB9_1
## %bb.2:
leaq -1(%rbp), %rsi
movl $1, %edx
movl $1, %ecx
callq *%rax
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp LBB9_3
LBB9_1:
movl $1, %eax
LBB9_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq _strlen
movq %rax, %r14
movq ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rax
addq $32, %rax
testq %rbx, %rbx
cmovneq %rbx, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %r8
testq %r8, %r8
je LBB10_1
## %bb.2:
movq %rbx, %rdi
movq %r15, %rsi
movl $1, %edx
movl %r14d, %ecx
callq *%r8
jmp LBB10_3
LBB10_1:
movl $1, %eax
LBB10_3:
xorl %ecx, %ecx
cmpl %r14d, %eax
sete %cl
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64 ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
testq %rdi, %rdi
je LBB11_1
## %bb.2:
movq %rdi, %rbx
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
addq %rax, %rbx
jmp LBB11_3
LBB11_1:
xorl %ebx, %ebx
LBB11_3:
movq 32(%rbx), %rax
testl %edx, %edx
je LBB11_8
## %bb.4:
cmpl $2, %edx
je LBB11_7
## %bb.5:
cmpl $1, %edx
jne LBB11_23
## %bb.6:
addq %rax, %r14
jmp LBB11_8
LBB11_7:
addq 56(%rbx), %r14
LBB11_8:
movq %r14, %rcx
subq %rax, %rcx
je LBB11_23
## %bb.9:
movq 24(%rbx), %rdi
movq %rax, %rsi
subq %rdi, %rsi
cmpq %rsi, %r14
jb LBB11_21
## %bb.10:
movl 16(%rbx), %r9d
leaq (%rax,%r9), %rdx
cmpq %rdx, %r14
jae LBB11_21
## %bb.11:
movl 20(%rbx), %r8d
addq %r8, %rsi
cmpq %rsi, %r14
jae LBB11_13
## %bb.12:
addq %rdi, %rcx
movq %rcx, 24(%rbx)
jmp LBB11_22
LBB11_13:
addq %r8, %rax
movq %r14, %r15
subq %rax, %r15
leal (%r8,%r8), %eax
cmpq %rax, %r15
jae LBB11_21
## %bb.14:
cmpq %r9, %r15
jbe LBB11_15
LBB11_21:
movl $0, 20(%rbx)
movq $0, 24(%rbx)
LBB11_22:
xorl %eax, %eax
cmpq 56(%rbx), %r14
seta %al
movl %eax, 48(%rbx)
movq %r14, 32(%rbx)
LBB11_23:
movl $1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB11_15:
movq 8(%rbx), %rdi
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %r12
movq (%r12), %rax
leaq 32(%rax), %rcx
testq %rdi, %rdi
cmovneq %rdi, %rcx
movq (%rcx), %rcx
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
movq (%rcx,%rdx,8), %rcx
testq %rcx, %rcx
je LBB11_17
## %bb.16:
xorl %edx, %edx
callq *%rcx
movq 8(%rbx), %rdi
movq (%r12), %rax
LBB11_17:
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %r8
testq %r8, %r8
je LBB11_18
## %bb.19:
movl 20(%rbx), %esi
addq 40(%rbx), %rsi
movl $1, %edx
movl %r15d, %ecx
callq *%r8
jmp LBB11_20
LBB11_18:
movl $1, %eax
LBB11_20:
movq %r14, %rcx
subq 32(%rbx), %rcx
addq %rcx, 24(%rbx)
addl %eax, 20(%rbx)
jmp LBB11_22
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl 32(%rdi,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl 48(%rdi,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl 56(%rdi,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.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
testq %rdi, %rdi
je LBB15_1
## %bb.2:
movq %rdi, %rbx
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rcx
addq %rcx, %rbx
jmp LBB15_3
LBB15_1:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %ebx, %ebx
LBB15_3:
movq 32(%rbx), %r15
movq 8(%rbx), %rdi
movq 24(%rbx), %r12
addq $32, %rax
testq %rdi, %rdi
cmovneq %rdi, %rax
movq (%rax), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
testq %rax, %rax
je LBB15_5
## %bb.4:
movl %r14d, %esi
callq *%rax
LBB15_5:
movl %r14d, %eax
movq %rax, %rcx
subq %r15, %rcx
addq %r12, %rcx
movl 20(%rbx), %edx
cmpq %rdx, %rcx
cmovaeq %rdx, %rcx
movl %ecx, 20(%rbx)
movq 56(%rbx), %rcx
cmpq %rax, %rcx
cmovbq %rcx, %rax
movq %rax, 56(%rbx)
movl $1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %r9
movslq 28(%r9), %rax
movq 8(%rdi,%rax), %rdi
addq $32, %r9
testq %rdi, %rdi
cmovneq %rdi, %r9
movq (%r9), %r9
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq (%r9,%rax,8), %rax
testq %rax, %rax
je LBB16_1
## %bb.2:
popq %rbp
jmpq *%rax ## TAILCALL
LBB16_1:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %r8
movslq 28(%r8), %rax
movq 8(%rdi,%rax), %rdi
addq $32, %r8
testq %rdi, %rdi
cmovneq %rdi, %r8
movq (%r8), %r8
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq (%r8,%rax,8), %rax
testq %rax, %rax
je LBB17_1
## %bb.2:
popq %rbp
jmpq *%rax ## TAILCALL
LBB17_1:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movq 8(%rdi,%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
je LBB19_1
## %bb.2:
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rbx
addq %r15, %rbx
jmp LBB19_3
LBB19_1:
xorl %ebx, %ebx
LBB19_3:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB19_5
## %bb.4:
callq ___ecereNameSpace__ecere__com__eInstance_DecRef
movq $0, 8(%rbx)
LBB19_5:
movq %r14, 8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 20(%rbx)
movl $0, 36(%rbx)
testq %r14, %r14
je LBB19_7
## %bb.6:
incl 16(%r14)
LBB19_7:
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rsi
movq %r15, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rsi
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers ## TAILCALL
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl 16(%rdi,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead ## -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.p2align 4, 0x90
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead: ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq 28(%rax), %rax
movl 52(%rdi,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereNameSpace__ecere__sys__FileOpenBuffered ## -- Begin function __ecereNameSpace__ecere__sys__FileOpenBuffered
.p2align 4, 0x90
___ecereNameSpace__ecere__sys__FileOpenBuffered: ## @__ecereNameSpace__ecere__sys__FileOpenBuffered
.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, %r15d
callq ___ecereNameSpace__ecere__sys__FileOpen
testq %rax, %rax
je LBB22_1
## %bb.2:
movq %rax, %r14
movq ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rdi
callq ___ecereNameSpace__ecere__com__eInstance_New
movq %rax, %r13
movq ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPCREL(%rip), %r12
movq (%r12), %rax
movslq 28(%rax), %rax
leaq (%r13,%rax), %rbx
movl %r15d, (%r13,%rax)
movq $0, 32(%r13,%rax)
movq 8(%r13,%rax), %rdi
testq %rdi, %rdi
je LBB22_4
## %bb.3:
callq ___ecereNameSpace__ecere__com__eInstance_DecRef
movq $0, 8(%rbx)
LBB22_4:
movq %r14, 8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 20(%rbx)
movl $0, 36(%rbx)
incl 16(%r14)
movq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rsi
movq %r13, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip), %rsi
movq %r13, %rdi
callq ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
movq (%r14), %rax
movq ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rcx
testq %rcx, %rcx
je LBB22_5
## %bb.6:
movq %r14, %rdi
callq *%rcx
movl %eax, %eax
jmp LBB22_7
LBB22_1:
xorl %r13d, %r13d
jmp LBB22_8
LBB22_5:
movl $1, %eax
LBB22_7:
movq (%r12), %rcx
movslq 28(%rcx), %rcx
movq %rax, 56(%r13,%rcx)
movq %r14, %rdi
movl $1, %esi
callq ___ecereProp___ecereNameSpace__ecere__sys__File_Set_buffered
LBB22_8:
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereUnregisterModule_BufferedFile ## -- Begin function __ecereUnregisterModule_BufferedFile
.p2align 4, 0x90
___ecereUnregisterModule_BufferedFile: ## @__ecereUnregisterModule_BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64 ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek ## -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.p2align 4, 0x90
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek: ## @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rsi
callq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___ecereRegisterModule_BufferedFile ## -- Begin function __ecereRegisterModule_BufferedFile
.p2align 4, 0x90
___ecereRegisterModule_BufferedFile: ## @__ecereRegisterModule_BufferedFile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile(%rip), %rax
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
leaq ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile(%rip), %r9
xorl %edi, %edi
movl $64, %ecx
xorl %r8d, %r8d
pushq $1
pushq $1
pushq %r14
pushq %rax
callq ___ecereNameSpace__ecere__com__eSystem_RegisterClass
addq $32, %rsp
movq %rax, %rbx
movq 24(%r14), %rax
movq ___thisModule@GOTPCREL(%rip), %r15
movq (%r15), %rcx
cmpq 24(%rcx), %rax
jne LBB26_3
## %bb.1:
testq %rbx, %rbx
je LBB26_3
## %bb.2:
movq %rbx, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile(%rip)
LBB26_3:
leaq L_.str.2(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.3(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.4(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.5(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.6(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.7(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.8(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.9(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.10(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.11(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.12(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.13(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.14(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.15(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.16(%rip), %rsi
leaq ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock(%rip), %rcx
movq %rbx, %rdi
xorl %edx, %edx
movl $1, %r8d
callq ___ecereNameSpace__ecere__com__eClass_AddMethod
leaq L_.str.17(%rip), %rsi
leaq L_.str.1(%rip), %rdx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle(%rip), %rcx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle(%rip), %r8
movq %rbx, %rdi
movl $1, %r9d
callq ___ecereNameSpace__ecere__com__eClass_AddProperty
movq %rax, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
movq 24(%r14), %rcx
movq (%r15), %rdx
cmpq 24(%rdx), %rcx
jne LBB26_5
## %bb.4:
movq %rax, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle(%rip)
LBB26_5:
leaq L_.str.18(%rip), %rsi
leaq L_.str.19(%rip), %rdx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize(%rip), %rcx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize(%rip), %r8
movq %rbx, %rdi
movl $1, %r9d
callq ___ecereNameSpace__ecere__com__eClass_AddProperty
movq %rax, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
movq 24(%r14), %rcx
movq (%r15), %rdx
cmpq 24(%rdx), %rcx
jne LBB26_7
## %bb.6:
movq %rax, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize(%rip)
LBB26_7:
leaq L_.str.20(%rip), %rsi
leaq L_.str.19(%rip), %rdx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead(%rip), %rcx
leaq ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead(%rip), %r8
movq %rbx, %rdi
movl $1, %r9d
callq ___ecereNameSpace__ecere__com__eClass_AddProperty
movq %rax, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
movq 24(%r14), %rcx
movq (%r15), %rdx
cmpq 24(%rdx), %rcx
je LBB26_8
## %bb.9:
testq %rbx, %rbx
je LBB26_11
LBB26_10:
movl $1, 436(%rbx)
LBB26_11:
leaq L_.str.21(%rip), %rdi
leaq L_.str.22(%rip), %rsi
leaq ___ecereNameSpace__ecere__sys__FileOpenBuffered(%rip), %rdx
movq %r14, %rcx
movl $1, %r8d
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp ___ecereNameSpace__ecere__com__eSystem_RegisterFunction ## TAILCALL
LBB26_8:
movq %rax, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
movq $0, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead(%rip)
testq %rbx, %rbx
jne LBB26_10
jmp LBB26_11
.cfi_endproc
## -- End function
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Write
.zerofill __DATA,__bss,___ecereClass___ecereNameSpace__ecere__sys__BufferedFile,8,3 ## @__ecereClass___ecereNameSpace__ecere__sys__BufferedFile
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ## @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ## @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ## @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ## @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize,4,2 ## @__ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ecere::sys::BufferedFile"
L_.str.1: ## @.str.1
.asciz "ecere::sys::File"
L_.str.2: ## @.str.2
.asciz "Seek"
L_.str.3: ## @.str.3
.asciz "Seek64"
L_.str.4: ## @.str.4
.asciz "Tell"
L_.str.5: ## @.str.5
.asciz "Read"
L_.str.6: ## @.str.6
.asciz "Write"
L_.str.7: ## @.str.7
.asciz "Getc"
L_.str.8: ## @.str.8
.asciz "Putc"
L_.str.9: ## @.str.9
.asciz "Puts"
L_.str.10: ## @.str.10
.asciz "Eof"
L_.str.11: ## @.str.11
.asciz "Truncate"
L_.str.12: ## @.str.12
.asciz "GetSize"
L_.str.13: ## @.str.13
.asciz "CloseInput"
L_.str.14: ## @.str.14
.asciz "CloseOutput"
L_.str.15: ## @.str.15
.asciz "Lock"
L_.str.16: ## @.str.16
.asciz "Unlock"
L_.str.17: ## @.str.17
.asciz "handle"
L_.str.18: ## @.str.18
.asciz "bufferSize"
L_.str.19: ## @.str.19
.asciz "uint"
L_.str.20: ## @.str.20
.asciz "bufferRead"
L_.str.21: ## @.str.21
.asciz "ecere::sys::FileOpenBuffered"
L_.str.22: ## @.str.22
.asciz "ecere::sys::BufferedFile ecere::sys::FileOpenBuffered(const char * fileName, ecere::sys::FileOpenMode mode)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile ; -- Begin function __ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 2
___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile: ; @__ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x20, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh1:
ldr x20, [x20, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x20]
ldrsw x8, [x8, #28]
add x21, x19, x8
b LBB0_3
LBB0_2:
mov x21, #0
LBB0_3:
mov w8, #524288
str w8, [x21, #16]
ldr x0, [x21, #40]
mov w1, #524288
bl ___ecereNameSpace__ecere__com__eSystem_Renew
str x0, [x21, #40]
ldp w8, w9, [x21, #16]
cmp w9, w8
b.ls LBB0_5
; %bb.4:
str w8, [x21, #20]
LBB0_5:
Lloh2:
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
Lloh3:
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
mov x0, x19
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
Lloh4:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
Lloh5:
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
mov x0, x19
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldr x8, [x20]
ldrsw x8, [x8, #28]
add x8, x19, x8
mov w9, #1024
str w9, [x8, #52]
Lloh6:
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
Lloh7:
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
mov x0, x19
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
Lloh8:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
Lloh9:
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
mov x0, x19
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
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
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpLdr Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize
.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
cbz x0, LBB1_2
; %bb.1:
Lloh10:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh11:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x20, x19, x8
b LBB1_3
LBB1_2:
mov x20, #0
LBB1_3:
str w1, [x20, #16]
ldr x0, [x20, #40]
bl ___ecereNameSpace__ecere__com__eSystem_Renew
str x0, [x20, #40]
ldp w8, w9, [x20, #16]
cmp w9, w8
b.ls LBB1_5
; %bb.4:
str w8, [x20, #20]
LBB1_5:
Lloh13:
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
Lloh14:
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
mov x0, x19
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
Lloh15:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
Lloh16:
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdr Lloh15, Lloh16
.loh AdrpLdr Lloh13, Lloh14
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead
.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
Lloh17:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh18:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
str w1, [x8, #52]
Lloh20:
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
Lloh21:
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
Lloh22:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
Lloh23:
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpLdr Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.globl ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile ; -- Begin function __ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.p2align 2
___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile: ; @__ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB3_2
; %bb.1:
Lloh24:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh25:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x19, x0, x8
b LBB3_3
LBB3_2:
mov x19, #0
LBB3_3:
ldr x0, [x19, #8]
bl ___ecereNameSpace__ecere__com__eInstance_DecRef
str xzr, [x19, #8]
ldr x0, [x19, #40]
bl ___ecereNameSpace__ecere__com__eSystem_Delete
str xzr, [x19, #40]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput
.cfi_startproc
; %bb.0:
Lloh27:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh28:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
ldrsw x9, [x8, #28]
add x9, x0, x9
ldr x0, [x9, #8]
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh30:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput@GOTPAGE
Lloh31:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput@GOTPAGEOFF]
Lloh32:
ldrsw x9, [x9]
ldr x1, [x8, x9, lsl #3]
cbz x1, LBB4_2
; %bb.1:
br x1
LBB4_2:
ret
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput
.cfi_startproc
; %bb.0:
Lloh33:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh34:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh35:
ldr x8, [x8]
ldrsw x9, [x8, #28]
add x9, x0, x9
ldr x0, [x9, #8]
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh36:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput@GOTPAGE
Lloh37:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput@GOTPAGEOFF]
Lloh38:
ldrsw x9, [x9]
ldr x1, [x8, x9, lsl #3]
cbz x1, LBB5_2
; %bb.1:
br x1
LBB5_2:
ret
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
Lloh39:
adrp x24, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh40:
ldr x24, [x24, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
cbz x0, LBB6_22
; %bb.1:
ldr x8, [x24]
ldrsw x8, [x8, #28]
add x22, x0, x8
ldr x8, [x22, #8]
cbz x8, LBB6_23
LBB6_2:
mov w23, #0
ldr w19, [x22, #20]
ldr x25, [x22, #24]
ldr x8, [x22, #40]
add x1, x8, x25
str w2, [sp, #12] ; 4-byte Folded Spill
mul w26, w3, w2
Lloh41:
adrp x28, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
Lloh42:
ldr x28, [x28, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
b LBB6_5
LBB6_3: ; in Loop: Header=BB6_5 Depth=1
add w19, w19, #1
LBB6_4: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [x22, #40]
add x1, x8, x25
LBB6_5: ; =>This Inner Loop Header: Depth=1
mov w27, w19
subs x8, x27, x25
csel x8, xzr, x8, lo
mov w9, w26
cmp x8, x9
csel x21, x8, x9, lo
cbz x21, LBB6_7
; %bb.6: ; in Loop: Header=BB6_5 Depth=1
add x0, x20, w23, uxtw
mov x2, x21
bl _memcpy
add x25, x21, x25
add w23, w23, w21
sub w26, w26, w21
LBB6_7: ; in Loop: Header=BB6_5 Depth=1
cbz w26, LBB6_21
; %bb.8: ; in Loop: Header=BB6_5 Depth=1
ldr w8, [x22, #16]
cmp w26, w8
b.hs LBB6_15
; %bb.9: ; in Loop: Header=BB6_5 Depth=1
ldr w9, [x22, #52]
cmp w26, w9
csel w9, w26, w9, hi
cmp x25, x27
b.ls LBB6_13
; %bb.10: ; in Loop: Header=BB6_5 Depth=1
mov w10, w26
sub x10, x10, x27
add x21, x10, x25
cmp x21, x27
b.hs LBB6_12
; %bb.11: ; in Loop: Header=BB6_5 Depth=1
cmp x21, x9
b.hi LBB6_14
LBB6_12: ; in Loop: Header=BB6_5 Depth=1
mov x25, #0
mov w19, #0
LBB6_13: ; in Loop: Header=BB6_5 Depth=1
mov x21, x9
LBB6_14: ; in Loop: Header=BB6_5 Depth=1
add x9, x21, w19, uxtw
cmp x9, x8
csel x25, xzr, x25, hi
csel w19, wzr, w19, hi
b LBB6_16
LBB6_15: ; in Loop: Header=BB6_5 Depth=1
mov x25, #0
mov w19, #0
mov x21, x8
LBB6_16: ; in Loop: Header=BB6_5 Depth=1
ldr x0, [x22, #8]
ldr x8, [x24]
add x9, x8, #32
cmp x0, #0
csel x9, x9, x0, eq
ldr x9, [x9]
Lloh43:
adrp x10, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
Lloh44:
ldr x10, [x10, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
Lloh45:
ldrsw x10, [x10]
ldr x9, [x9, x10, lsl #3]
cbz x9, LBB6_18
; %bb.17: ; in Loop: Header=BB6_5 Depth=1
ldr x8, [x22, #32]
mov w10, w23
sub x10, x10, x25
add x10, x10, w19, uxtw
add x1, x10, x8
mov w2, #0
blr x9
ldr x0, [x22, #8]
ldr x8, [x24]
LBB6_18: ; in Loop: Header=BB6_5 Depth=1
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
ldrsw x9, [x28]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB6_3
; %bb.19: ; in Loop: Header=BB6_5 Depth=1
ldr x9, [x22, #40]
add x1, x9, w19, uxtw
mov w2, #1
mov x3, x21
blr x8
add w19, w0, w19
cbnz w0, LBB6_4
; %bb.20:
mov w8, #1
str w8, [x22, #48]
LBB6_21:
str w19, [x22, #20]
ldr x8, [x22, #32]
add x8, x8, w23, uxtw
stp x25, x8, [x22, #24]
ldr w8, [sp, #12] ; 4-byte Folded Reload
udiv w0, w23, w8
b LBB6_24
LBB6_22:
mov x22, #0
ldr x8, [x22, #8]
cbnz x8, LBB6_2
LBB6_23:
mov w0, #0
LBB6_24:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x3
mov x21, x2
mov x19, x1
Lloh46:
adrp x22, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh47:
ldr x22, [x22, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
cbz x0, LBB7_2
; %bb.1:
ldr x8, [x22]
ldrsw x9, [x8, #28]
add x23, x0, x9
b LBB7_3
LBB7_2:
mov x23, #0
ldr x8, [x22]
LBB7_3:
ldr x0, [x23, #8]
add x9, x8, #32
cmp x0, #0
csel x9, x9, x0, eq
ldr x9, [x9]
Lloh48:
adrp x10, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
Lloh49:
ldr x10, [x10, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
Lloh50:
ldrsw x10, [x10]
ldr x9, [x9, x10, lsl #3]
cbz x9, LBB7_5
; %bb.4:
ldr x1, [x23, #32]
mov w2, #0
blr x9
ldr x0, [x23, #8]
ldr x8, [x22]
LBB7_5:
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh51:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
Lloh52:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
Lloh53:
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB7_7
; %bb.6:
mov x1, x19
mov x2, x21
mov x3, x20
blr x8
mov x20, x0
b LBB7_8
LBB7_7:
mov w20, #1
LBB7_8:
mul w21, w20, w21
ldr w9, [x23, #16]
ldp x8, x10, [x23, #24]
subs x11, x9, x8
csel x11, xzr, x11, lo
ldr x12, [x23, #56]
add x10, x10, x21
cmp x12, x10
csel x12, x12, x10, hi
str x10, [x23, #32]
str x12, [x23, #56]
subs x22, x21, x11
b.ls LBB7_12
; %bb.9:
ldr w10, [x23, #20]
cmp x8, x10
ccmp w21, w9, #2, ls
ccmp x8, x22, #0, lo
b.hi LBB7_11
; %bb.10:
cmp w21, w9
csel w22, w21, w9, lo
ldr x0, [x23, #40]
add x8, x19, x21
sub x1, x8, x22
mov x2, x22
bl _memcpy
str x22, [x23, #24]
str w22, [x23, #20]
b LBB7_13
LBB7_11:
ldr x0, [x23, #40]
add x1, x0, x22
sub x2, x8, x22
bl _memcpy
ldr x8, [x23, #24]
sub x8, x8, x22
str x8, [x23, #24]
ldr w9, [x23, #20]
sub w9, w9, w22
str w9, [x23, #20]
LBB7_12:
ldr x9, [x23, #40]
add x0, x9, x8
mov x1, x19
mov x2, x21
bl _memcpy
ldr x8, [x23, #24]
ldr w9, [x23, #20]
add x8, x8, x21
cmp w9, w8
str x8, [x23, #24]
csel w8, w9, w8, hi
str w8, [x23, #20]
LBB7_13:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc
.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
Lloh54:
adrp x21, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh55:
ldr x21, [x21, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
cbz x0, LBB8_10
; %bb.1:
ldr x8, [x21]
ldrsw x8, [x8, #28]
add x20, x0, x8
ldr x8, [x20, #8]
cbz x8, LBB8_11
LBB8_2:
ldr w0, [x20, #20]
Lloh56:
adrp x22, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
Lloh57:
ldr x22, [x22, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
Lloh58:
adrp x23, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
Lloh59:
ldr x23, [x23, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
b LBB8_4
LBB8_3: ; in Loop: Header=BB8_4 Depth=1
ldr x1, [x20, #40]
ldr w3, [x20, #16]
mov w2, #1
blr x8
str w0, [x20, #20]
cbz w0, LBB8_9
LBB8_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #24]
cmp x8, w0, uxtw
b.lo LBB8_12
; %bb.5: ; in Loop: Header=BB8_4 Depth=1
str xzr, [x20, #24]
ldr x0, [x20, #8]
ldr x8, [x21]
add x9, x8, #32
cmp x0, #0
csel x9, x9, x0, eq
ldr x9, [x9]
ldrsw x10, [x22]
ldr x9, [x9, x10, lsl #3]
cbz x9, LBB8_7
; %bb.6: ; in Loop: Header=BB8_4 Depth=1
ldr x1, [x20, #32]
mov w2, #0
blr x9
ldr x0, [x20, #8]
ldr x8, [x21]
LBB8_7: ; in Loop: Header=BB8_4 Depth=1
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
ldrsw x9, [x23]
ldr x8, [x8, x9, lsl #3]
cbnz x8, LBB8_3
; %bb.8: ; in Loop: Header=BB8_4 Depth=1
mov w0, #1
str w0, [x20, #20]
cbnz w0, LBB8_4
LBB8_9:
mov w8, #1
str w8, [x20, #48]
b LBB8_13
LBB8_10:
mov x20, #0
ldr x8, [x20, #8]
cbnz x8, LBB8_2
LBB8_11:
mov w0, #0
b LBB8_13
LBB8_12:
ldr x9, [x20, #40]
ldrb w8, [x9, x8]
strb w8, [x19]
ldur q0, [x20, #24]
mov w0, #1
dup.2d v1, x0
add.2d v0, v0, v1
stur q0, [x20, #24]
LBB8_13:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh56, Lloh57
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc
.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
sturb w1, [x29, #-1]
Lloh60:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
Lloh61:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh62:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
Lloh63:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
Lloh64:
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB9_2
; %bb.1:
sub x1, x29, #1
mov w2, #1
mov w3, #1
blr x8
cmp w0, #0
cset w0, ne
b LBB9_3
LBB9_2:
mov w0, #1
LBB9_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdr Lloh60, Lloh61
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x21, x0
mov x0, x1
bl _strlen
mov x19, x0
Lloh65:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
Lloh66:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
add x8, x8, #32
cmp x21, #0
csel x8, x8, x21, eq
ldr x8, [x8]
Lloh67:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGE
Lloh68:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write@GOTPAGEOFF]
Lloh69:
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB10_2
; %bb.1:
mov x0, x21
mov x1, x20
mov w2, #1
mov x3, x19
blr x8
b LBB10_3
LBB10_2:
mov w0, #1
LBB10_3:
cmp w0, w19
cset w0, eq
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 Lloh67, Lloh68, Lloh69
.loh AdrpLdr Lloh65, Lloh66
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64 ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
.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
cbz x0, LBB11_2
; %bb.1:
Lloh70:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh71:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh72:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x21, x0, x8
ldr x8, [x21, #32]
cbnz w2, LBB11_3
b LBB11_6
LBB11_2:
mov x21, #0
ldr x8, [x21, #32]
cbz w2, LBB11_6
LBB11_3:
cmp w2, #2
b.eq LBB11_7
; %bb.4:
cmp w2, #1
b.ne LBB11_16
; %bb.5:
add x19, x8, x19
LBB11_6:
subs x9, x19, x8
b.ne LBB11_8
b LBB11_16
LBB11_7:
ldr x9, [x21, #56]
add x19, x9, x19
subs x9, x19, x8
b.eq LBB11_16
LBB11_8:
ldr x11, [x21, #24]
sub x12, x8, x11
cmp x19, x12
b.lo LBB11_14
; %bb.9:
ldr w10, [x21, #16]
add x13, x8, x10
cmp x19, x13
b.hs LBB11_14
; %bb.10:
ldr w13, [x21, #20]
add x1, x12, x13
cmp x19, x1
b.hs LBB11_12
; %bb.11:
add x8, x9, x11
str x8, [x21, #24]
b LBB11_15
LBB11_12:
add x8, x8, x13
sub x20, x19, x8
lsl w8, w13, #1
cmp x20, x8
b.hs LBB11_14
; %bb.13:
cmp x20, x10
b.ls LBB11_17
LBB11_14:
str wzr, [x21, #20]
str xzr, [x21, #24]
LBB11_15:
ldr x8, [x21, #56]
cmp x19, x8
cset w8, hi
str w8, [x21, #48]
str x19, [x21, #32]
LBB11_16:
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
LBB11_17:
ldr x0, [x21, #8]
Lloh73:
adrp x22, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh74:
ldr x22, [x22, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x22]
add x9, x8, #32
cmp x0, #0
csel x9, x9, x0, eq
ldr x9, [x9]
Lloh75:
adrp x10, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGE
Lloh76:
ldr x10, [x10, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64@GOTPAGEOFF]
Lloh77:
ldrsw x10, [x10]
ldr x9, [x9, x10, lsl #3]
cbz x9, LBB11_19
; %bb.18:
mov w2, #0
blr x9
ldr x0, [x21, #8]
ldr x8, [x22]
LBB11_19:
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh78:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGE
Lloh79:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read@GOTPAGEOFF]
Lloh80:
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB11_21
; %bb.20:
ldr x9, [x21, #40]
ldr w10, [x21, #20]
add x1, x9, x10
mov w2, #1
mov x3, x20
blr x8
b LBB11_22
LBB11_21:
mov w0, #1
LBB11_22:
ldp x9, x8, [x21, #24]
sub x8, x19, x8
add x8, x8, x9
str x8, [x21, #24]
ldr w8, [x21, #20]
add w8, w8, w0
str w8, [x21, #20]
b LBB11_15
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGot Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell
.cfi_startproc
; %bb.0:
Lloh81:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh82:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh83:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
ldr w0, [x8, #32]
ret
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof
.cfi_startproc
; %bb.0:
Lloh84:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh85:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh86:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
ldr w0, [x8, #48]
ret
.loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize
.cfi_startproc
; %bb.0:
Lloh87:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh88:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh89:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
ldr w0, [x8, #56]
ret
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate
.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
cbz x0, LBB15_2
; %bb.1:
Lloh90:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh91:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh92:
ldr x8, [x8]
ldrsw x9, [x8, #28]
add x20, x0, x9
b LBB15_3
LBB15_2:
mov x20, #0
Lloh93:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh94:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh95:
ldr x8, [x8]
LBB15_3:
ldp x22, x21, [x20, #24]
ldr x0, [x20, #8]
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh96:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate@GOTPAGE
Lloh97:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate@GOTPAGEOFF]
Lloh98:
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB15_5
; %bb.4:
mov x1, x19
blr x8
LBB15_5:
mov w8, w19
sub x9, x8, x21
add x9, x9, x22
ldr w10, [x20, #20]
cmp x9, x10
csel x9, x9, x10, lo
str w9, [x20, #20]
ldr x9, [x20, #56]
cmp x9, x8
csel x8, x9, x8, lo
str x8, [x20, #56]
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
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock
.cfi_startproc
; %bb.0:
Lloh99:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh100:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh101:
ldr x8, [x8]
ldrsw x9, [x8, #28]
add x9, x0, x9
ldr x0, [x9, #8]
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh102:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock@GOTPAGE
Lloh103:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock@GOTPAGEOFF]
Lloh104:
ldrsw x9, [x9]
ldr x5, [x8, x9, lsl #3]
cbz x5, LBB16_2
; %bb.1:
br x5
LBB16_2:
mov w0, #1
ret
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock
.cfi_startproc
; %bb.0:
Lloh105:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh106:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh107:
ldr x8, [x8]
ldrsw x9, [x8, #28]
add x9, x0, x9
ldr x0, [x9, #8]
add x8, x8, #32
cmp x0, #0
csel x8, x8, x0, eq
ldr x8, [x8]
Lloh108:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock@GOTPAGE
Lloh109:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock@GOTPAGEOFF]
Lloh110:
ldrsw x9, [x9]
ldr x4, [x8, x9, lsl #3]
cbz x4, LBB17_2
; %bb.1:
br x4
LBB17_2:
mov w0, #1
ret
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle
.cfi_startproc
; %bb.0:
Lloh111:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh112:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh113:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
ldr x0, [x8, #8]
ret
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
cbz x0, LBB19_6
; %bb.1:
Lloh114:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh115:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh116:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x21, x19, x8
ldr x0, [x21, #8]
cbz x0, LBB19_3
LBB19_2:
bl ___ecereNameSpace__ecere__com__eInstance_DecRef
str xzr, [x21, #8]
LBB19_3:
str x20, [x21, #8]
stur xzr, [x21, #28]
stur xzr, [x21, #20]
str wzr, [x21, #36]
cbz x20, LBB19_5
; %bb.4:
ldr w8, [x20, #16]
add w8, w8, #1
str w8, [x20, #16]
LBB19_5:
Lloh117:
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
Lloh118:
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
mov x0, x19
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
Lloh119:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
Lloh120:
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
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 ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
LBB19_6:
mov x21, #0
ldr x0, [x21, #8]
cbnz x0, LBB19_2
b LBB19_3
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.loh AdrpLdr Lloh119, Lloh120
.loh AdrpLdr Lloh117, Lloh118
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize
.cfi_startproc
; %bb.0:
Lloh121:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh122:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh123:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
ldr w0, [x8, #16]
ret
.loh AdrpLdrGotLdr Lloh121, Lloh122, Lloh123
.cfi_endproc
; -- End function
.globl ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead ; -- Begin function __ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.p2align 2
___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead: ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead
.cfi_startproc
; %bb.0:
Lloh124:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh125:
ldr x8, [x8, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
Lloh126:
ldr x8, [x8]
ldrsw x8, [x8, #28]
add x8, x0, x8
ldr w0, [x8, #52]
ret
.loh AdrpLdrGotLdr Lloh124, Lloh125, Lloh126
.cfi_endproc
; -- End function
.globl ___ecereNameSpace__ecere__sys__FileOpenBuffered ; -- Begin function __ecereNameSpace__ecere__sys__FileOpenBuffered
.p2align 2
___ecereNameSpace__ecere__sys__FileOpenBuffered: ; @__ecereNameSpace__ecere__sys__FileOpenBuffered
.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
bl ___ecereNameSpace__ecere__sys__FileOpen
cbz x0, LBB22_5
; %bb.1:
mov x19, x0
Lloh127:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
Lloh128:
ldr x0, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
bl ___ecereNameSpace__ecere__com__eInstance_New
mov x20, x0
Lloh129:
adrp x22, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGE
Lloh130:
ldr x22, [x22, ___ecereClass___ecereNameSpace__ecere__sys__File@GOTPAGEOFF]
ldr x8, [x22]
ldrsw x8, [x8, #28]
add x23, x0, x8
str w21, [x23]
str xzr, [x23, #32]
ldr x0, [x23, #8]
cbz x0, LBB22_3
; %bb.2:
bl ___ecereNameSpace__ecere__com__eInstance_DecRef
str xzr, [x23, #8]
LBB22_3:
str x19, [x23, #8]
str wzr, [x23, #36]
stur xzr, [x23, #28]
stur xzr, [x23, #20]
ldr w8, [x19, #16]
add w8, w8, #1
str w8, [x19, #16]
Lloh131:
adrp x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
Lloh132:
ldr x1, [x8, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
mov x0, x20
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
Lloh133:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
Lloh134:
ldr x1, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
mov x0, x20
bl ___ecereNameSpace__ecere__com__eInstance_FireSelfWatchers
ldr x8, [x19]
Lloh135:
adrp x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize@GOTPAGE
Lloh136:
ldr x9, [x9, ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize@GOTPAGEOFF]
Lloh137:
ldrsw x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB22_6
; %bb.4:
mov x0, x19
blr x8
mov w8, w0
b LBB22_7
LBB22_5:
mov x20, #0
b LBB22_8
LBB22_6:
mov w8, #1
LBB22_7:
ldr x9, [x22]
ldrsw x9, [x9, #28]
add x9, x20, x9
str x8, [x9, #56]
mov x0, x19
mov w1, #1
bl ___ecereProp___ecereNameSpace__ecere__sys__File_Set_buffered
LBB22_8:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh129, Lloh130
.loh AdrpLdr Lloh127, Lloh128
.loh AdrpLdrGotLdr Lloh135, Lloh136, Lloh137
.loh AdrpLdr Lloh133, Lloh134
.loh AdrpLdr Lloh131, Lloh132
.cfi_endproc
; -- End function
.globl ___ecereUnregisterModule_BufferedFile ; -- Begin function __ecereUnregisterModule_BufferedFile
.p2align 2
___ecereUnregisterModule_BufferedFile: ; @__ecereUnregisterModule_BufferedFile
.cfi_startproc
; %bb.0:
Lloh138:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
Lloh139:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
Lloh140:
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
ret
.loh AdrpAdrp Lloh139, Lloh140
.loh AdrpAdrp Lloh138, Lloh139
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64 ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek ; -- Begin function __ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.p2align 2
___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek: ; @__ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek
.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
; kill: def $w1 killed $w1 def $x1
sxtw x1, w1
bl ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile__Seek64
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl ___ecereRegisterModule_BufferedFile ; -- Begin function __ecereRegisterModule_BufferedFile
.p2align 2
___ecereRegisterModule_BufferedFile: ; @__ecereRegisterModule_BufferedFile
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov x8, #4294967297
str x8, [sp]
Lloh141:
adrp x1, l_.str@PAGE
Lloh142:
add x1, x1, l_.str@PAGEOFF
Lloh143:
adrp x2, l_.str.1@PAGE
Lloh144:
add x2, x2, l_.str.1@PAGEOFF
Lloh145:
adrp x5, ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile@PAGE
Lloh146:
add x5, x5, ___ecereConstructor___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF
Lloh147:
adrp x6, ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile@PAGE
Lloh148:
add x6, x6, ___ecereDestructor___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF
mov w0, #0
mov w3, #64
mov w4, #0
mov x7, x19
bl ___ecereNameSpace__ecere__com__eSystem_RegisterClass
mov x20, x0
ldr x8, [x19, #24]
Lloh149:
adrp x21, ___thisModule@GOTPAGE
Lloh150:
ldr x21, [x21, ___thisModule@GOTPAGEOFF]
ldr x9, [x21]
ldr x9, [x9, #24]
cmp x8, x9
ccmp x0, #0, #4, eq
b.eq LBB26_2
; %bb.1:
adrp x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGE
str x20, [x8, ___ecereClass___ecereNameSpace__ecere__sys__BufferedFile@PAGEOFF]
LBB26_2:
Lloh151:
adrp x1, l_.str.2@PAGE
Lloh152:
add x1, x1, l_.str.2@PAGEOFF
Lloh153:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek@PAGE
Lloh154:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh155:
adrp x1, l_.str.3@PAGE
Lloh156:
add x1, x1, l_.str.3@PAGEOFF
Lloh157:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64@PAGE
Lloh158:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Seek64@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh159:
adrp x1, l_.str.4@PAGE
Lloh160:
add x1, x1, l_.str.4@PAGEOFF
Lloh161:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell@PAGE
Lloh162:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Tell@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh163:
adrp x1, l_.str.5@PAGE
Lloh164:
add x1, x1, l_.str.5@PAGEOFF
Lloh165:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read@PAGE
Lloh166:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Read@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh167:
adrp x1, l_.str.6@PAGE
Lloh168:
add x1, x1, l_.str.6@PAGEOFF
Lloh169:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write@PAGE
Lloh170:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Write@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh171:
adrp x1, l_.str.7@PAGE
Lloh172:
add x1, x1, l_.str.7@PAGEOFF
Lloh173:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc@PAGE
Lloh174:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Getc@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh175:
adrp x1, l_.str.8@PAGE
Lloh176:
add x1, x1, l_.str.8@PAGEOFF
Lloh177:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc@PAGE
Lloh178:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Putc@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh179:
adrp x1, l_.str.9@PAGE
Lloh180:
add x1, x1, l_.str.9@PAGEOFF
Lloh181:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts@PAGE
Lloh182:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Puts@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh183:
adrp x1, l_.str.10@PAGE
Lloh184:
add x1, x1, l_.str.10@PAGEOFF
Lloh185:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof@PAGE
Lloh186:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Eof@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh187:
adrp x1, l_.str.11@PAGE
Lloh188:
add x1, x1, l_.str.11@PAGEOFF
Lloh189:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate@PAGE
Lloh190:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Truncate@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh191:
adrp x1, l_.str.12@PAGE
Lloh192:
add x1, x1, l_.str.12@PAGEOFF
Lloh193:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize@PAGE
Lloh194:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_GetSize@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh195:
adrp x1, l_.str.13@PAGE
Lloh196:
add x1, x1, l_.str.13@PAGEOFF
Lloh197:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput@PAGE
Lloh198:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseInput@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh199:
adrp x1, l_.str.14@PAGE
Lloh200:
add x1, x1, l_.str.14@PAGEOFF
Lloh201:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput@PAGE
Lloh202:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_CloseOutput@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh203:
adrp x1, l_.str.15@PAGE
Lloh204:
add x1, x1, l_.str.15@PAGEOFF
Lloh205:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock@PAGE
Lloh206:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Lock@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh207:
adrp x1, l_.str.16@PAGE
Lloh208:
add x1, x1, l_.str.16@PAGEOFF
Lloh209:
adrp x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock@PAGE
Lloh210:
add x3, x3, ___ecereMethod___ecereNameSpace__ecere__sys__BufferedFile_Unlock@PAGEOFF
mov x0, x20
mov x2, #0
mov w4, #1
bl ___ecereNameSpace__ecere__com__eClass_AddMethod
Lloh211:
adrp x1, l_.str.17@PAGE
Lloh212:
add x1, x1, l_.str.17@PAGEOFF
Lloh213:
adrp x2, l_.str.1@PAGE
Lloh214:
add x2, x2, l_.str.1@PAGEOFF
Lloh215:
adrp x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle@PAGE
Lloh216:
add x3, x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_handle@PAGEOFF
Lloh217:
adrp x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle@PAGE
Lloh218:
add x4, x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_handle@PAGEOFF
mov x0, x20
mov w5, #1
bl ___ecereNameSpace__ecere__com__eClass_AddProperty
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
str x0, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
ldr x9, [x19, #24]
ldr x10, [x21]
ldr x10, [x10, #24]
cmp x9, x10
b.ne LBB26_4
; %bb.3:
adrp x9, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGE
str x0, [x9, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle@PAGEOFF]
LBB26_4:
Lloh219:
adrp x1, l_.str.18@PAGE
Lloh220:
add x1, x1, l_.str.18@PAGEOFF
Lloh221:
adrp x2, l_.str.19@PAGE
Lloh222:
add x2, x2, l_.str.19@PAGEOFF
Lloh223:
adrp x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize@PAGE
Lloh224:
add x3, x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferSize@PAGEOFF
Lloh225:
adrp x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize@PAGE
Lloh226:
add x4, x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferSize@PAGEOFF
mov x0, x20
mov w5, #1
bl ___ecereNameSpace__ecere__com__eClass_AddProperty
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
str x0, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
ldr x9, [x19, #24]
ldr x10, [x21]
ldr x10, [x10, #24]
cmp x9, x10
b.ne LBB26_6
; %bb.5:
adrp x9, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGE
str x0, [x9, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize@PAGEOFF]
LBB26_6:
Lloh227:
adrp x1, l_.str.20@PAGE
Lloh228:
add x1, x1, l_.str.20@PAGEOFF
Lloh229:
adrp x2, l_.str.19@PAGE
Lloh230:
add x2, x2, l_.str.19@PAGEOFF
Lloh231:
adrp x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead@PAGE
Lloh232:
add x3, x3, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Set_bufferRead@PAGEOFF
Lloh233:
adrp x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead@PAGE
Lloh234:
add x4, x4, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_Get_bufferRead@PAGEOFF
mov x0, x20
mov w5, #1
bl ___ecereNameSpace__ecere__com__eClass_AddProperty
adrp x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
str x0, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
ldr x9, [x19, #24]
ldr x10, [x21]
ldr x10, [x10, #24]
cmp x9, x10
b.eq LBB26_10
; %bb.7:
cbz x20, LBB26_9
LBB26_8:
mov w8, #1
str w8, [x20, #436]
LBB26_9:
Lloh235:
adrp x0, l_.str.21@PAGE
Lloh236:
add x0, x0, l_.str.21@PAGEOFF
Lloh237:
adrp x1, l_.str.22@PAGE
Lloh238:
add x1, x1, l_.str.22@PAGEOFF
Lloh239:
adrp x2, ___ecereNameSpace__ecere__sys__FileOpenBuffered@PAGE
Lloh240:
add x2, x2, ___ecereNameSpace__ecere__sys__FileOpenBuffered@PAGEOFF
mov x3, x19
mov w4, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b ___ecereNameSpace__ecere__com__eSystem_RegisterFunction
LBB26_10:
adrp x9, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGE
str x0, [x9, ___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
str xzr, [x8, ___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead@PAGEOFF]
cbnz x20, LBB26_8
b LBB26_9
.loh AdrpLdrGot Lloh149, Lloh150
.loh AdrpAdd Lloh147, Lloh148
.loh AdrpAdd Lloh145, Lloh146
.loh AdrpAdd Lloh143, Lloh144
.loh AdrpAdd Lloh141, Lloh142
.loh AdrpAdd Lloh217, Lloh218
.loh AdrpAdd Lloh215, Lloh216
.loh AdrpAdd Lloh213, Lloh214
.loh AdrpAdd Lloh211, Lloh212
.loh AdrpAdd Lloh209, Lloh210
.loh AdrpAdd Lloh207, Lloh208
.loh AdrpAdd Lloh205, Lloh206
.loh AdrpAdd Lloh203, Lloh204
.loh AdrpAdd Lloh201, Lloh202
.loh AdrpAdd Lloh199, Lloh200
.loh AdrpAdd Lloh197, Lloh198
.loh AdrpAdd Lloh195, Lloh196
.loh AdrpAdd Lloh193, Lloh194
.loh AdrpAdd Lloh191, Lloh192
.loh AdrpAdd Lloh189, Lloh190
.loh AdrpAdd Lloh187, Lloh188
.loh AdrpAdd Lloh185, Lloh186
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpAdd Lloh181, Lloh182
.loh AdrpAdd Lloh179, Lloh180
.loh AdrpAdd Lloh177, Lloh178
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh173, Lloh174
.loh AdrpAdd Lloh171, Lloh172
.loh AdrpAdd Lloh169, Lloh170
.loh AdrpAdd Lloh167, Lloh168
.loh AdrpAdd Lloh165, Lloh166
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpAdd Lloh161, Lloh162
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpAdd Lloh157, Lloh158
.loh AdrpAdd Lloh155, Lloh156
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpAdd Lloh151, Lloh152
.loh AdrpAdd Lloh225, Lloh226
.loh AdrpAdd Lloh223, Lloh224
.loh AdrpAdd Lloh221, Lloh222
.loh AdrpAdd Lloh219, Lloh220
.loh AdrpAdd Lloh233, Lloh234
.loh AdrpAdd Lloh231, Lloh232
.loh AdrpAdd Lloh229, Lloh230
.loh AdrpAdd Lloh227, Lloh228
.loh AdrpAdd Lloh239, Lloh240
.loh AdrpAdd Lloh237, Lloh238
.loh AdrpAdd Lloh235, Lloh236
.cfi_endproc
; -- End function
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseInput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_CloseOutput
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Seek64
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Read,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Write,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Write
.zerofill __DATA,__bss,___ecereClass___ecereNameSpace__ecere__sys__BufferedFile,8,3 ; @__ecereClass___ecereNameSpace__ecere__sys__BufferedFile
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Truncate
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Lock
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_Unlock
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle,8,3 ; @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_handle
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize,8,3 ; @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferSize
.zerofill __DATA,__bss,___ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ; @__ecereProp___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.zerofill __DATA,__bss,___ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead,8,3 ; @__ecerePropM___ecereNameSpace__ecere__sys__BufferedFile_bufferRead
.comm ___ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize,4,2 ; @__ecereVMethodID___ecereNameSpace__ecere__sys__File_GetSize
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ecere::sys::BufferedFile"
l_.str.1: ; @.str.1
.asciz "ecere::sys::File"
l_.str.2: ; @.str.2
.asciz "Seek"
l_.str.3: ; @.str.3
.asciz "Seek64"
l_.str.4: ; @.str.4
.asciz "Tell"
l_.str.5: ; @.str.5
.asciz "Read"
l_.str.6: ; @.str.6
.asciz "Write"
l_.str.7: ; @.str.7
.asciz "Getc"
l_.str.8: ; @.str.8
.asciz "Putc"
l_.str.9: ; @.str.9
.asciz "Puts"
l_.str.10: ; @.str.10
.asciz "Eof"
l_.str.11: ; @.str.11
.asciz "Truncate"
l_.str.12: ; @.str.12
.asciz "GetSize"
l_.str.13: ; @.str.13
.asciz "CloseInput"
l_.str.14: ; @.str.14
.asciz "CloseOutput"
l_.str.15: ; @.str.15
.asciz "Lock"
l_.str.16: ; @.str.16
.asciz "Unlock"
l_.str.17: ; @.str.17
.asciz "handle"
l_.str.18: ; @.str.18
.asciz "bufferSize"
l_.str.19: ; @.str.19
.asciz "uint"
l_.str.20: ; @.str.20
.asciz "bufferRead"
l_.str.21: ; @.str.21
.asciz "ecere::sys::FileOpenBuffered"
l_.str.22: ; @.str.22
.asciz "ecere::sys::BufferedFile ecere::sys::FileOpenBuffered(const char * fileName, ecere::sys::FileOpenMode mode)"
.subsections_via_symbols
| the_stack_data/11076088.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlcnicvf_start_firmware
_qlcnicvf_start_firmware: ## @qlcnicvf_start_firmware
.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 _qlcnic_can_start_firmware
testl %eax, %eax
jne LBB0_5
## %bb.1:
movq %rbx, %rdi
callq _qlcnic_check_npar_opertional
testl %eax, %eax
jne LBB0_5
## %bb.2:
movq %rbx, %rdi
callq _qlcnic_initialize_nic
testl %eax, %eax
jne LBB0_5
## %bb.3:
movq %rbx, %rdi
callq _qlcnic_check_options
movq %rbx, %rdi
callq _qlcnic_set_eswitch_port_config
testl %eax, %eax
jne LBB0_5
## %bb.4:
movq $0, (%rbx)
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qlcnicvf_start_firmware
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlcnicvf_start_firmware
_qlcnicvf_start_firmware: ; @qlcnicvf_start_firmware
.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 _qlcnic_can_start_firmware
cbnz w0, LBB0_5
; %bb.1:
mov x0, x19
bl _qlcnic_check_npar_opertional
cbnz w0, LBB0_5
; %bb.2:
mov x0, x19
bl _qlcnic_initialize_nic
cbnz w0, LBB0_5
; %bb.3:
mov x0, x19
bl _qlcnic_check_options
mov x0, x19
bl _qlcnic_set_eswitch_port_config
cbnz w0, LBB0_5
; %bb.4:
str xzr, [x19]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _qlcnicvf_start_firmware
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_main.c_qlcnicvf_start_firmware.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function xf_smoothgaussd
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI0_2:
.quad 0x7ff0000000000000 ## double +Inf
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_1:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _xf_smoothgaussd
.p2align 4, 0x90
_xf_smoothgaussd: ## @xf_smoothgaussd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $-1, %r14d
testl %edx, %edx
jle LBB0_28
## %bb.1:
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, %r12
leal (%rbx,%rbx), %eax
incl %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cltq
movq %rax, -88(%rbp) ## 8-byte Spill
leaq 8(,%rax,8), %rdi
callq _malloc
movq %rax, %r15
leaq 8(,%r13,8), %rdi
callq _malloc
testq %r15, %r15
je LBB0_28
## %bb.2:
testq %rax, %rax
je LBB0_28
## %bb.3:
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r12, -80(%rbp) ## 8-byte Spill
cvtsi2ss %ebx, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -96(%rbp) ## 8-byte Spill
leaq (,%r13,8), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl %ebx, %ecx
negl %ebx
movslq %ebx, %rbx
cmpq %rcx, %rbx
movq %rcx, %rax
cmovgq %rbx, %rax
movq %rcx, -72(%rbp) ## 8-byte Spill
leaq (%rax,%rcx), %r12
incq %r12
xorpd %xmm3, %xmm3
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movapd %xmm3, -112(%rbp) ## 16-byte Spill
leaq (%rbx,%r14), %rax
imulq %rax, %rax
negq %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd -96(%rbp), %xmm0 ## 8-byte Folded Reload
mulsd LCPI0_0(%rip), %xmm0
callq _exp
movapd -112(%rbp), %xmm3 ## 16-byte Reload
movsd %xmm0, (%r15,%r14,8)
addsd %xmm0, %xmm3
incq %r14
cmpq %r14, %r12
jne LBB0_4
## %bb.5:
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
movq -80(%rbp), %rdi ## 8-byte Reload
jle LBB0_13
## %bb.6:
movddup %xmm3, %xmm0 ## xmm0 = xmm3[0,0]
movq -88(%rbp), %rsi ## 8-byte Reload
leaq -3(%rsi), %rcx
movq %rcx, %rax
shrq %rax
incq %rax
testq %rcx, %rcx
je LBB0_7
## %bb.8:
movq %rax, %rdx
andq $-2, %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movupd (%r15,%rcx,8), %xmm1
movupd 16(%r15,%rcx,8), %xmm2
divpd %xmm0, %xmm1
movupd %xmm1, (%r15,%rcx,8)
divpd %xmm0, %xmm2
movupd %xmm2, 16(%r15,%rcx,8)
addq $4, %rcx
addq $-2, %rdx
jne LBB0_9
## %bb.10:
testb $1, %al
je LBB0_12
LBB0_11:
movupd (%r15,%rcx,8), %xmm1
divpd %xmm0, %xmm1
movupd %xmm1, (%r15,%rcx,8)
LBB0_12:
movsd -8(%r15,%rsi,8), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm3, %xmm0
movsd %xmm0, -8(%r15,%rsi,8)
LBB0_13:
testq %r13, %r13
movq -56(%rbp), %rsi ## 8-byte Reload
movq -72(%rbp), %r10 ## 8-byte Reload
jle LBB0_27
## %bb.14:
leaq (%r10,%r10), %rax
incq %rax
movq %r10, %rbx
negq %rbx
leaq (,%r10,8), %rcx
movq %rdi, %r9
subq %rcx, %r9
xorl %r8d, %r8d
movapd LCPI0_1(%rip), %xmm0 ## xmm0 = [NaN,NaN]
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero
xorpd %xmm2, %xmm2
jmp LBB0_15
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_15 Depth=1
movsd (%rdi,%r8,8), %xmm3 ## xmm3 = mem[0],zero
LBB0_30: ## in Loop: Header=BB0_15 Depth=1
movsd %xmm3, (%rsi,%r8,8)
incq %r8
addq $8, %r9
incq %rbx
cmpq %r13, %r8
je LBB0_25
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movq %r8, %rcx
subq %r10, %rcx
leaq (%r8,%r10), %rdx
cmpq %rdx, %rcx
jg LBB0_29
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
xorpd %xmm4, %xmm4
xorl %edx, %edx
xorpd %xmm3, %xmm3
jmp LBB0_17
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_17 Depth=2
incq %rdx
cmpq %rdx, %rax
je LBB0_23
LBB0_17: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rcx
addq %rdx, %rcx
js LBB0_22
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
cmpq %r13, %rcx
jge LBB0_22
## %bb.19: ## in Loop: Header=BB0_17 Depth=2
movsd (%r9,%rdx,8), %xmm5 ## xmm5 = mem[0],zero
ucomisd %xmm5, %xmm5
jp LBB0_22
## %bb.20: ## in Loop: Header=BB0_17 Depth=2
movapd %xmm5, %xmm6
andpd %xmm0, %xmm6
ucomisd %xmm1, %xmm6
jae LBB0_22
## %bb.21: ## in Loop: Header=BB0_17 Depth=2
movsd (%r15,%rdx,8), %xmm6 ## xmm6 = mem[0],zero
mulsd %xmm6, %xmm5
addsd %xmm5, %xmm3
addsd %xmm6, %xmm4
jmp LBB0_22
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_15 Depth=1
ucomisd %xmm2, %xmm4
jbe LBB0_29
## %bb.24: ## in Loop: Header=BB0_15 Depth=1
divsd %xmm4, %xmm3
jmp LBB0_30
LBB0_25:
testq %r13, %r13
jle LBB0_27
## %bb.26:
movq -64(%rbp), %rdx ## 8-byte Reload
callq _memcpy
movq -56(%rbp), %rsi ## 8-byte Reload
LBB0_27:
movq %r15, %rdi
movq %rsi, %rbx
callq _free
movq %rbx, %rdi
callq _free
xorl %r14d, %r14d
LBB0_28:
movl %r14d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
xorl %ecx, %ecx
testb $1, %al
jne LBB0_11
jmp LBB0_12
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xf_smoothgaussd ; -- Begin function xf_smoothgaussd
.p2align 2
_xf_smoothgaussd: ; @xf_smoothgaussd
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
cmp w2, #1
b.lt LBB0_2
; %bb.1:
mov x24, x2
mov x20, x1
mov x19, x0
mov w25, #1
bfi w25, w2, #1, #31
sbfiz x8, x25, #3, #32
add x0, x8, #8
bl _malloc
mov x21, x0
lsl x23, x20, #3
add x0, x23, #8
bl _malloc
cmp x21, #0
ccmp x0, #0, #4, ne
b.ne LBB0_3
LBB0_2:
mov w0, #-1
b LBB0_28
LBB0_3:
mov x22, x0
mov x28, #0
scvtf s0, w24
fcvt d8, s0
lsl w8, w24, #1
str x8, [sp, #8] ; 8-byte Folded Spill
sxtw x27, w25
mov w25, w24
neg w8, w24
sxtw x24, w8
cmp x24, x25
csel x8, x24, x25, gt
add x8, x8, x25
add x26, x8, #1
movi d5, #0000000000000000
fmov d9, #0.50000000
LBB0_4: ; =>This Inner Loop Header: Depth=1
str q5, [sp, #16] ; 16-byte Folded Spill
add x8, x24, x28
mneg x8, x8, x8
scvtf d0, x8
fdiv d0, d0, d8
fmul d0, d0, d9
bl _exp
ldr q5, [sp, #16] ; 16-byte Folded Reload
str d0, [x21, x28, lsl #3]
fadd d5, d5, d0
add x28, x28, #1
cmp x26, x28
b.ne LBB0_4
; %bb.5:
cmp w27, #1
b.lt LBB0_12
; %bb.6:
cmp w27, #7
b.hi LBB0_8
; %bb.7:
mov x8, #0
b LBB0_10
LBB0_8:
and x8, x27, #0xfffffffffffffff8
dup.2d v0, v5[0]
add x9, x21, #32
mov x10, x8
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldp q1, q2, [x9, #-32]
ldp q3, q4, [x9]
fdiv.2d v1, v1, v0
fdiv.2d v2, v2, v0
fdiv.2d v3, v3, v0
fdiv.2d v4, v4, v0
stp q1, q2, [x9, #-32]
stp q3, q4, [x9], #64
subs x10, x10, #8
b.ne LBB0_9
LBB0_10:
ldr x9, [sp, #8] ; 8-byte Folded Reload
sxtw x9, w9
sub x9, x9, x8
add x9, x9, #1
add x8, x21, x8, lsl #3
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr d0, [x8]
fdiv d0, d0, d5
str d0, [x8], #8
subs x9, x9, #1
b.ne LBB0_11
LBB0_12:
cmp x20, #1
b.lt LBB0_27
; %bb.13:
mov x8, #0
mov w9, #1
bfi x9, x25, #1, #32
mov x10, #9218868437227405312
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
ldr d0, [x19, x8, lsl #3]
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
str d0, [x22, x8, lsl #3]
add x8, x8, #1
cmp x8, x20
b.eq LBB0_25
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
sub x11, x8, x25
add x12, x8, x25
cmp x11, x12
b.gt LBB0_14
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
movi d0, #0000000000000000
mov x12, x21
mov x13, x9
movi d1, #0000000000000000
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=2
add x11, x11, #1
add x12, x12, #8
subs x13, x13, #1
b.eq LBB0_23
LBB0_19: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
tbnz x11, #63, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
cmp x11, x20
b.ge LBB0_18
; %bb.21: ; in Loop: Header=BB0_19 Depth=2
ldr d2, [x19, x11, lsl #3]
fabs d3, d2
fcmp d2, d2
fmov d4, x10
fccmp d3, d4, #4, vc
b.eq LBB0_18
; %bb.22: ; in Loop: Header=BB0_19 Depth=2
ldr d3, [x12]
fmadd d1, d2, d3, d1
fadd d0, d0, d3
b LBB0_18
LBB0_23: ; in Loop: Header=BB0_16 Depth=1
fcmp d0, #0.0
b.le LBB0_14
; %bb.24: ; in Loop: Header=BB0_16 Depth=1
fdiv d0, d1, d0
b LBB0_15
LBB0_25:
cmp x20, #1
b.lt LBB0_27
; %bb.26:
mov x0, x19
mov x1, x22
mov x2, x23
bl _memcpy
LBB0_27:
mov x0, x21
bl _free
mov x0, x22
bl _free
mov w0, #0
LBB0_28:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/90765005.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function usbpn_setup
_usbpn_setup: ## @usbpn_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, 80(%rdi)
movq _usbpn_ops@GOTPCREL(%rip), %rax
movq %rax, 72(%rdi)
movq _phonet_header_ops@GOTPCREL(%rip), %rax
movq %rax, 64(%rdi)
movq _ARPHRD_PHONET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 56(%rdi)
movq _IFF_POINTOPOINT@GOTPCREL(%rip), %rax
movq _IFF_NOARP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, (%rdi)
movq _PHONET_MAX_MTU@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 48(%rdi)
movq _PHONET_MIN_MTU@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 40(%rdi)
movq %rax, 32(%rdi)
movl $1, 4(%rdi)
movq _PN_MEDIA_USB@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq 24(%rdi), %rcx
movl %eax, (%rcx)
movabsq $12884901889, %rax ## imm = 0x300000001
movq %rax, 8(%rdi)
movl $1, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _usbpn_ops,4,2 ## @usbpn_ops
.comm _phonet_header_ops,4,2 ## @phonet_header_ops
.comm _ARPHRD_PHONET,4,2 ## @ARPHRD_PHONET
.comm _IFF_POINTOPOINT,4,2 ## @IFF_POINTOPOINT
.comm _IFF_NOARP,4,2 ## @IFF_NOARP
.comm _PHONET_MAX_MTU,8,3 ## @PHONET_MAX_MTU
.comm _PHONET_MIN_MTU,4,2 ## @PHONET_MIN_MTU
.comm _PN_MEDIA_USB,4,2 ## @PN_MEDIA_USB
.no_dead_strip _usbpn_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function usbpn_setup
lCPI0_0:
.long 1 ; 0x1
.long 3 ; 0x3
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_usbpn_setup: ; @usbpn_setup
.cfi_startproc
; %bb.0:
str xzr, [x0, #80]
Lloh0:
adrp x8, _usbpn_ops@GOTPAGE
Lloh1:
ldr x8, [x8, _usbpn_ops@GOTPAGEOFF]
Lloh2:
adrp x9, _phonet_header_ops@GOTPAGE
Lloh3:
ldr x9, [x9, _phonet_header_ops@GOTPAGEOFF]
stp x9, x8, [x0, #64]
Lloh4:
adrp x8, _ARPHRD_PHONET@GOTPAGE
Lloh5:
ldr x8, [x8, _ARPHRD_PHONET@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
str w8, [x0, #56]
Lloh7:
adrp x8, _IFF_POINTOPOINT@GOTPAGE
Lloh8:
ldr x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh9:
adrp x9, _IFF_NOARP@GOTPAGE
Lloh10:
ldr x9, [x9, _IFF_NOARP@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
ldr w9, [x9]
orr w8, w9, w8
Lloh13:
adrp x9, _PHONET_MAX_MTU@GOTPAGE
Lloh14:
ldr x9, [x9, _PHONET_MAX_MTU@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
str x9, [x0, #48]
Lloh16:
adrp x10, _PHONET_MIN_MTU@GOTPAGE
Lloh17:
ldr x10, [x10, _PHONET_MIN_MTU@GOTPAGEOFF]
mov w11, #1
stp w8, w11, [x0]
Lloh18:
ldr w8, [x10]
str w8, [x0, #40]
str x9, [x0, #32]
Lloh19:
adrp x8, _PN_MEDIA_USB@GOTPAGE
Lloh20:
ldr x8, [x8, _PN_MEDIA_USB@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
ldr x9, [x0, #24]
str w8, [x9]
Lloh22:
adrp x8, lCPI0_0@PAGE
Lloh23:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x0, #8]
str w11, [x0, #16]
ret
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh11
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _usbpn_ops,4,2 ; @usbpn_ops
.comm _phonet_header_ops,4,2 ; @phonet_header_ops
.comm _ARPHRD_PHONET,4,2 ; @ARPHRD_PHONET
.comm _IFF_POINTOPOINT,4,2 ; @IFF_POINTOPOINT
.comm _IFF_NOARP,4,2 ; @IFF_NOARP
.comm _PHONET_MAX_MTU,8,3 ; @PHONET_MAX_MTU
.comm _PHONET_MIN_MTU,4,2 ; @PHONET_MIN_MTU
.comm _PN_MEDIA_USB,4,2 ; @PN_MEDIA_USB
.no_dead_strip _usbpn_setup
.subsections_via_symbols
| AnghaBench/linux/drivers/net/usb/extr_cdc-phonet.c_usbpn_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fail ## -- Begin function fail
.p2align 4, 0x90
_fail: ## @fail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %esi, %esi
popq %rbp
jmp _print_status ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "not ok"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fail ; -- Begin function fail
.p2align 2
_fail: ; @fail
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, #0
b _print_status
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "not ok"
.subsections_via_symbols
| AnghaBench/freebsd/tools/regression/posixsem/extr_test.c_fail.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_setup ## -- Begin function thread_setup
.p2align 4, 0x90
_thread_setup: ## @thread_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
cmpl $128, %edi
je LBB0_1
## %bb.2:
cmpl $130, %edi
je LBB0_5
## %bb.3:
cmpl $129, %edi
jne LBB0_7
## %bb.4:
movl $100000, -24(%rbp) ## imm = 0x186A0
movq _CONSTRAINT_NANOS@GOTPCREL(%rip), %rax
movq _g_mti@GOTPCREL(%rip), %rdx
movl (%rdx), %ecx
movl 4(%rdx), %esi
movl (%rax), %eax
imull %ecx, %eax
cltd
idivl %esi
movl %eax, -20(%rbp)
movq _COMPUTATION_NANOS@GOTPCREL(%rip), %rax
imull (%rax), %ecx
movl %ecx, %eax
cltd
idivl %esi
movl %eax, -16(%rbp)
movl $0, -12(%rbp)
xorl %ebx, %ebx
xorl %eax, %eax
callq _mach_thread_self
movq _THREAD_TIME_CONSTRAINT_POLICY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq -24(%rbp), %rdx
movq _THREAD_TIME_CONSTRAINT_POLICY_COUNT@GOTPCREL(%rip), %rcx
jmp LBB0_6
LBB0_1:
xorl %ebx, %ebx
jmp LBB0_8
LBB0_5:
movl $0, -24(%rbp)
xorl %ebx, %ebx
xorl %eax, %eax
callq _mach_thread_self
movq _THREAD_EXTENDED_POLICY@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq -24(%rbp), %rdx
movq _THREAD_EXTENDED_POLICY_COUNT@GOTPCREL(%rip), %rcx
LBB0_6:
movl (%rcx), %ecx
movl %eax, %edi
## kill: def $edx killed $edx killed $rdx
callq _thread_policy_set
xorl %edi, %edi
testl %eax, %eax
sete %dil
movq _fail@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _assert
jmp LBB0_8
LBB0_7:
leaq L_str(%rip), %rdi
callq _puts
movl $1, %ebx
LBB0_8:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CONSTRAINT_NANOS,4,2 ## @CONSTRAINT_NANOS
.comm _g_mti,8,2 ## @g_mti
.comm _COMPUTATION_NANOS,4,2 ## @COMPUTATION_NANOS
.comm _THREAD_TIME_CONSTRAINT_POLICY,4,2 ## @THREAD_TIME_CONSTRAINT_POLICY
.comm _THREAD_TIME_CONSTRAINT_POLICY_COUNT,4,2 ## @THREAD_TIME_CONSTRAINT_POLICY_COUNT
.comm _fail,4,2 ## @fail
.comm _THREAD_EXTENDED_POLICY,4,2 ## @THREAD_EXTENDED_POLICY
.comm _THREAD_EXTENDED_POLICY_COUNT,4,2 ## @THREAD_EXTENDED_POLICY_COUNT
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "invalid policy type"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_setup ; -- Begin function thread_setup
.p2align 2
_thread_setup: ; @thread_setup
.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
cmp w0, #128
b.eq LBB0_4
; %bb.1:
cmp w0, #130
b.eq LBB0_5
; %bb.2:
cmp w0, #129
b.ne LBB0_7
; %bb.3:
mov w8, #34464
movk w8, #1, lsl #16
Lloh0:
adrp x9, _CONSTRAINT_NANOS@GOTPAGE
Lloh1:
ldr x9, [x9, _CONSTRAINT_NANOS@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _g_mti@GOTPAGE
Lloh4:
ldr x10, [x10, _g_mti@GOTPAGEOFF]
ldp w11, w10, [x10]
mul w9, w11, w9
sdiv w9, w9, w10
Lloh5:
adrp x12, _COMPUTATION_NANOS@GOTPAGE
Lloh6:
ldr x12, [x12, _COMPUTATION_NANOS@GOTPAGEOFF]
stp w8, w9, [sp]
Lloh7:
ldr w8, [x12]
mul w8, w8, w11
sdiv w8, w8, w10
stp w8, wzr, [sp, #8]
bl _mach_thread_self
Lloh8:
adrp x8, _THREAD_TIME_CONSTRAINT_POLICY@GOTPAGE
Lloh9:
ldr x8, [x8, _THREAD_TIME_CONSTRAINT_POLICY@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
Lloh11:
adrp x8, _THREAD_TIME_CONSTRAINT_POLICY_COUNT@GOTPAGE
Lloh12:
ldr x8, [x8, _THREAD_TIME_CONSTRAINT_POLICY_COUNT@GOTPAGEOFF]
b LBB0_6
LBB0_4:
mov w0, #0
b LBB0_8
LBB0_5:
str wzr, [sp]
bl _mach_thread_self
Lloh13:
adrp x8, _THREAD_EXTENDED_POLICY@GOTPAGE
Lloh14:
ldr x8, [x8, _THREAD_EXTENDED_POLICY@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
Lloh16:
adrp x8, _THREAD_EXTENDED_POLICY_COUNT@GOTPAGE
Lloh17:
ldr x8, [x8, _THREAD_EXTENDED_POLICY_COUNT@GOTPAGEOFF]
LBB0_6:
ldr w3, [x8]
mov x2, sp
bl _thread_policy_set
cmp w0, #0
cset w0, eq
Lloh18:
adrp x8, _fail@GOTPAGE
Lloh19:
ldr x8, [x8, _fail@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
bl _assert
mov w0, #0
b LBB0_8
LBB0_7:
Lloh21:
adrp x0, l_str@PAGE
Lloh22:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #1
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _CONSTRAINT_NANOS,4,2 ; @CONSTRAINT_NANOS
.comm _g_mti,8,2 ; @g_mti
.comm _COMPUTATION_NANOS,4,2 ; @COMPUTATION_NANOS
.comm _THREAD_TIME_CONSTRAINT_POLICY,4,2 ; @THREAD_TIME_CONSTRAINT_POLICY
.comm _THREAD_TIME_CONSTRAINT_POLICY_COUNT,4,2 ; @THREAD_TIME_CONSTRAINT_POLICY_COUNT
.comm _fail,4,2 ; @fail
.comm _THREAD_EXTENDED_POLICY,4,2 ; @THREAD_EXTENDED_POLICY
.comm _THREAD_EXTENDED_POLICY_COUNT,4,2 ; @THREAD_EXTENDED_POLICY_COUNT
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "invalid policy type"
.subsections_via_symbols
| AnghaBench/darwin-xnu/tools/tests/jitter/extr_timer_jitter.c_thread_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/567583.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function MSSTYLES_AddMetric
_MSSTYLES_AddMetric: ## @MSSTYLES_AddMetric
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r14d
movl %ecx, %r15d
movl %edx, %r12d
movl %esi, %r13d
movq %rdi, %rbx
callq _MSSTYLES_FindMetric
testq %rax, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
callq _GetProcessHeap
movl %eax, %edi
xorl %esi, %esi
movl $4, %edx
callq _HeapAlloc
movl %r13d, (%rax)
movl %r12d, 4(%rax)
movl %r15d, 24(%rax)
movl %r14d, 20(%rax)
movq _PO_GLOBAL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rax)
movq (%rbx), %rcx
movq %rcx, 8(%rax)
movq %rax, (%rbx)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PO_GLOBAL,4,2 ## @PO_GLOBAL
.no_dead_strip _MSSTYLES_AddMetric
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function MSSTYLES_AddMetric
_MSSTYLES_AddMetric: ; @MSSTYLES_AddMetric
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x20, x0
bl _MSSTYLES_FindMetric
cbnz x0, LBB0_2
; %bb.1:
bl _GetProcessHeap
mov w1, #0
mov w2, #4
bl _HeapAlloc
stp w23, w22, [x0]
str w21, [x0, #24]
Lloh0:
adrp x8, _PO_GLOBAL@GOTPAGE
Lloh1:
ldr x8, [x8, _PO_GLOBAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
stp w8, w19, [x0, #16]
ldr x8, [x20]
str x8, [x0, #8]
str x0, [x20]
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PO_GLOBAL,4,2 ; @PO_GLOBAL
.no_dead_strip _MSSTYLES_AddMetric
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/uxtheme/extr_msstyles.c_MSSTYLES_AddMetric.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mdpy_open
_mdpy_open: ## @mdpy_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _THIS_MODULE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _try_module_get
movq _ENODEV@GOTPCREL(%rip), %rdx
xorl %ecx, %ecx
subl (%rdx), %ecx
xorl %edx, %edx
testl %eax, %eax
cmovnel %edx, %ecx
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _THIS_MODULE,4,2 ## @THIS_MODULE
.comm _ENODEV,4,2 ## @ENODEV
.no_dead_strip _mdpy_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mdpy_open
_mdpy_open: ; @mdpy_open
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _THIS_MODULE@GOTPAGE
Lloh1:
ldr x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _try_module_get
Lloh3:
adrp x8, _ENODEV@GOTPAGE
Lloh4:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, #0
csneg w0, wzr, w8, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _THIS_MODULE,4,2 ; @THIS_MODULE
.comm _ENODEV,4,2 ; @ENODEV
.no_dead_strip _mdpy_open
.subsections_via_symbols
| AnghaBench/linux/samples/vfio-mdev/extr_mdpy.c_mdpy_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function alr_loop_cb_fdb_port_dump
_alr_loop_cb_fdb_port_dump: ## @alr_loop_cb_fdb_port_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 %r8, %r14
movl %ecx, %r13d
movl %edx, %ebx
movl %esi, %r12d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _ETH_ALEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl 16(%r14), %edi
callq _BIT
testl %r13d, %eax
je LBB0_2
## %bb.1:
movl %r12d, %edi
movl %ebx, %esi
movq %r15, %rdx
callq _alr_reg_to_mac
movq _LAN9303_ALR_DAT1_STATIC@GOTPCREL(%rip), %rax
xorl %edx, %edx
andl (%rax), %ebx
setne %dl
movl (%r14), %ecx
movq %r15, %rdi
xorl %esi, %esi
callq *8(%r14)
LBB0_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_4
## %bb.3:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.comm _LAN9303_ALR_DAT1_STATIC,4,2 ## @LAN9303_ALR_DAT1_STATIC
.no_dead_strip _alr_loop_cb_fdb_port_dump
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function alr_loop_cb_fdb_port_dump
_alr_loop_cb_fdb_port_dump: ; @alr_loop_cb_fdb_port_dump
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
sub sp, sp, #16
mov x19, x4
mov x23, x3
mov x20, x2
mov x22, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x8, _ETH_ALEN@GOTPAGE
Lloh4:
ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x21, x9, x8
mov sp, x21
ldr w0, [x4, #16]
bl _BIT
tst w0, w23
b.eq LBB0_2
; %bb.1:
mov x0, x22
mov x1, x20
mov x2, x21
bl _alr_reg_to_mac
Lloh8:
adrp x8, _LAN9303_ALR_DAT1_STATIC@GOTPAGE
Lloh9:
ldr x8, [x8, _LAN9303_ALR_DAT1_STATIC@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
tst w8, w20
cset w2, ne
ldr x8, [x19, #8]
ldr w3, [x19]
mov x0, x21
mov w1, #0
blr x8
LBB0_2:
ldur x8, [x29, #-56]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
sub sp, x29, #48
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.comm _LAN9303_ALR_DAT1_STATIC,4,2 ; @LAN9303_ALR_DAT1_STATIC
.no_dead_strip _alr_loop_cb_fdb_port_dump
.subsections_via_symbols
| AnghaBench/linux/drivers/net/dsa/extr_lan9303-core.c_alr_loop_cb_fdb_port_dump.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvbios_npdeTe ## -- Begin function nvbios_npdeTe
.p2align 4, 0x90
_nvbios_npdeTe: ## @nvbios_npdeTe
.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
movq %rdi, %r15
leaq -36(%rbp), %rdx
leaq -28(%rbp), %rcx
leaq -32(%rbp), %r8
callq _nvbios_pcirTp
## kill: def $eax killed $eax def $rax
movl -28(%rbp), %ecx
leal (%rax,%rcx), %ebx
addl $15, %ebx
xorl %r14d, %r14d
andl $-16, %ebx
je LBB0_4
## %bb.1:
movq %r15, %rdi
movl %ebx, %esi
callq _nvbios_rd32
cmpl $1162104910, %eax ## imm = 0x4544504E
jne LBB0_3
## %bb.2:
movl %ebx, %r14d
jmp LBB0_4
LBB0_3:
movq %r15, %rdi
movl %ebx, %esi
callq _nvbios_rd32
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movl %ebx, %edx
movl %eax, %ecx
callq _nvkm_debug
LBB0_4:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%08x: NPDE signature (%08x) unknown\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvbios_npdeTe ; -- Begin function nvbios_npdeTe
.p2align 2
_nvbios_npdeTe: ; @nvbios_npdeTe
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x2, sp, #4
mov x3, sp
add x4, sp, #8
bl _nvbios_pcirTp
ldr w8, [sp]
add w8, w0, w8
add w8, w8, #15
ands w20, w8, #0xfffffff0
b.eq LBB0_3
; %bb.1:
mov x0, x19
mov x1, x20
bl _nvbios_rd32
mov w8, #20558
movk w8, #17732, lsl #16
cmp w0, w8
b.eq LBB0_3
; %bb.2:
mov x0, x19
mov x1, x20
bl _nvbios_rd32
mov x3, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x2, x20
bl _nvkm_debug
mov w20, #0
LBB0_3:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%08x: NPDE signature (%08x) unknown\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_npde.c_nvbios_npdeTe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq 8(%rsi), %rdi
movl $10, %esi
callq _dlopen
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rsi
movq %rax, %rdi
callq _dlsym
movq %rbx, %rdi
callq *%rax
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
callq _dlerror
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\n"
L_.str.1: ## @.str.1
.asciz "caml_startup"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr x0, [x1, #8]
mov w1, #10
bl _dlopen
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _dlsym
mov x8, x0
mov x0, x19
blr x8
mov w0, #0
b LBB0_3
LBB0_2:
Lloh2:
adrp x8, ___stderrp@GOTPAGE
Lloh3:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh4:
ldr x19, [x8]
bl _dlerror
str x0, [sp]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\n"
l_.str.1: ; @.str.1
.asciz "caml_startup"
.subsections_via_symbols
| the_stack_data/43888893.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function extract_ugid
_extract_ugid: ## @extract_ugid
.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, %r15
movq $0, 16(%rsi)
callq _strdup
movq %rax, %r14
xorl %edi, %edi
testq %rax, %rax
setne %dil
callq _assert
movq %r14, -48(%rbp)
leaq L_.str(%rip), %rsi
leaq -48(%rbp), %rdi
callq _strsep
movq %rax, %rbx
testq %rax, %rax
je LBB0_4
## %bb.1:
movq -48(%rbp), %rax
testq %rax, %rax
je LBB0_4
## %bb.2:
cmpb $0, (%rbx)
je LBB0_4
## %bb.3:
cmpb $0, (%rax)
jne LBB0_5
LBB0_4:
xorl %eax, %eax
callq _usage
LBB0_5:
leaq -56(%rbp), %rsi
movq %rbx, %rdi
movl $10, %edx
callq _strtoul
movq %rax, (%r15)
movq _ULONG_MAX@GOTPCREL(%rip), %r13
cmpq (%r13), %rax
jne LBB0_7
## %bb.6:
xorl %eax, %eax
callq _usage
LBB0_7:
movq -56(%rbp), %rax
cmpb $0, (%rax)
je LBB0_11
## %bb.8:
movq %rbx, %rdi
callq _getpwnam
movq %rax, %r12
testq %rax, %rax
jne LBB0_10
## %bb.9:
leaq L_.str.1(%rip), %rsi
movl $1, %edi
movq %rbx, %rdx
callq _errx
LBB0_10:
movq (%r12), %rax
movq %rax, (%r15)
LBB0_11:
movl $1, 16(%r15)
movq -48(%rbp), %rdi
leaq -56(%rbp), %rsi
movl $10, %edx
callq _strtoul
movq %rax, 8(%r15)
cmpq (%r13), %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
callq _usage
LBB0_13:
movq -56(%rbp), %rax
cmpb $0, (%rax)
je LBB0_17
## %bb.14:
movq -48(%rbp), %rdi
callq _getgrnam
movq %rax, %rbx
testq %rax, %rax
jne LBB0_16
## %bb.15:
movq -48(%rbp), %rdx
leaq L_.str.2(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_16:
movq (%rbx), %rax
movq %rax, 8(%r15)
LBB0_17:
movl $1, 20(%r15)
movq %r14, %rdi
callq _free
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 ":"
.comm _ULONG_MAX,8,3 ## @ULONG_MAX
L_.str.1: ## @.str.1
.asciz "invalid user: %s"
L_.str.2: ## @.str.2
.asciz "invalid group: %s"
.no_dead_strip _extract_ugid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function extract_ugid
_extract_ugid: ; @extract_ugid
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
str xzr, [x1, #16]
bl _strdup
mov x20, x0
cmp x0, #0
cset w0, ne
bl _assert
str x20, [sp, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _strsep
mov x21, x0
cbz x0, LBB0_4
; %bb.1:
ldr x8, [sp, #8]
cbz x8, LBB0_4
; %bb.2:
ldrb w9, [x21]
cbz w9, LBB0_4
; %bb.3:
ldrb w8, [x8]
cbnz w8, LBB0_5
LBB0_4:
bl _usage
LBB0_5:
mov x1, sp
mov x0, x21
mov w2, #10
bl _strtoul
str x0, [x19]
Lloh2:
adrp x23, _ULONG_MAX@GOTPAGE
Lloh3:
ldr x23, [x23, _ULONG_MAX@GOTPAGEOFF]
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_7
; %bb.6:
bl _usage
LBB0_7:
ldr x8, [sp]
ldrb w8, [x8]
cbz w8, LBB0_11
; %bb.8:
mov x0, x21
bl _getpwnam
mov x22, x0
cbnz x0, LBB0_10
; %bb.9:
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1
mov x2, x21
bl _errx
LBB0_10:
ldr x8, [x22]
str x8, [x19]
LBB0_11:
mov w8, #1
str w8, [x19, #16]
ldr x0, [sp, #8]
mov x1, sp
mov w2, #10
bl _strtoul
str x0, [x19, #8]
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_13
; %bb.12:
bl _usage
LBB0_13:
ldr x8, [sp]
ldrb w8, [x8]
cbz w8, LBB0_17
; %bb.14:
ldr x0, [sp, #8]
bl _getgrnam
mov x21, x0
cbnz x0, LBB0_16
; %bb.15:
ldr x2, [sp, #8]
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #1
bl _errx
LBB0_16:
ldr x8, [x21]
str x8, [x19, #8]
LBB0_17:
mov w8, #1
str w8, [x19, #20]
mov x0, x20
bl _free
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ":"
.comm _ULONG_MAX,8,3 ; @ULONG_MAX
l_.str.1: ; @.str.1
.asciz "invalid user: %s"
l_.str.2: ; @.str.2
.asciz "invalid group: %s"
.no_dead_strip _extract_ugid
.subsections_via_symbols
| AnghaBench/freebsd/sbin/mdmfs/extr_mdmfs.c_extract_ugid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dma_ops_alloc_iova
_dma_ops_alloc_iova: ## @dma_ops_alloc_iova
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movl %edx, %edi
movq %rsi, %r14
callq ___roundup_pow_of_two
movl %eax, %r15d
movl $32, %edi
callq _DMA_BIT_MASK
cmpq %rbx, %rax
jge LBB0_2
## %bb.1:
movl $32, %edi
callq _DMA_BIT_MASK
movq %rax, %rdi
callq _IOVA_PFN
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
xorl %ecx, %ecx
callq _alloc_iova_fast
testq %rax, %rax
jne LBB0_3
LBB0_2:
movq %rbx, %rdi
callq _IOVA_PFN
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
movl $1, %ecx
callq _alloc_iova_fast
LBB0_3:
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shlq %cl, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.no_dead_strip _dma_ops_alloc_iova
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dma_ops_alloc_iova
_dma_ops_alloc_iova: ; @dma_ops_alloc_iova
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x3
mov x0, x2
mov x19, x1
bl ___roundup_pow_of_two
mov x20, x0
mov w0, #32
bl _DMA_BIT_MASK
cmp x0, x21
b.ge LBB0_2
; %bb.1:
mov w0, #32
bl _DMA_BIT_MASK
bl _IOVA_PFN
mov x2, x0
mov x0, x19
mov x1, x20
mov w3, #0
bl _alloc_iova_fast
cbnz x0, LBB0_3
LBB0_2:
mov x0, x21
bl _IOVA_PFN
mov x2, x0
mov x0, x19
mov x1, x20
mov w3, #1
bl _alloc_iova_fast
LBB0_3:
Lloh0:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
lsl x0, x0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.no_dead_strip _dma_ops_alloc_iova
.subsections_via_symbols
| AnghaBench/linux/drivers/iommu/extr_amd_iommu.c_dma_ops_alloc_iova.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function query_formats
_query_formats: ## @query_formats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _ff_all_channel_counts
testq %rax, %rax
je LBB0_7
## %bb.1:
movq %rbx, %rdi
movq %rax, %rsi
callq _ff_set_common_channel_layouts
testl %eax, %eax
js LBB0_6
## %bb.2:
leaq _query_formats.sample_fmts(%rip), %rdi
callq _ff_make_format_list
testq %rax, %rax
je LBB0_7
## %bb.3:
movq %rbx, %rdi
movq %rax, %rsi
callq _ff_set_common_formats
testl %eax, %eax
js LBB0_6
## %bb.4:
xorl %eax, %eax
callq _ff_all_samplerates
testq %rax, %rax
je LBB0_7
## %bb.5:
movq %rbx, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ff_set_common_samplerates ## TAILCALL
LBB0_7:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _AVERROR ## TAILCALL
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @query_formats.sample_fmts
_query_formats.sample_fmts:
.long 133 ## 0x85
.long 132 ## 0x84
.long 131 ## 0x83
.long 130 ## 0x82
.long 129 ## 0x81
.long 128 ## 0x80
.long 136 ## 0x88
.long 135 ## 0x87
.long 138 ## 0x8a
.long 137 ## 0x89
.long 134 ## 0x86
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _query_formats
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function query_formats
_query_formats: ; @query_formats
.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 _ff_all_channel_counts
cbz x0, LBB0_6
; %bb.1:
mov x1, x0
mov x0, x19
bl _ff_set_common_channel_layouts
tbnz w0, #31, LBB0_7
; %bb.2:
Lloh0:
adrp x0, _query_formats.sample_fmts@PAGE
Lloh1:
add x0, x0, _query_formats.sample_fmts@PAGEOFF
bl _ff_make_format_list
cbz x0, LBB0_6
; %bb.3:
mov x1, x0
mov x0, x19
bl _ff_set_common_formats
tbnz w0, #31, LBB0_7
; %bb.4:
bl _ff_all_samplerates
cbz x0, LBB0_6
; %bb.5:
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ff_set_common_samplerates
LBB0_6:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _AVERROR
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @query_formats.sample_fmts
_query_formats.sample_fmts:
.long 133 ; 0x85
.long 132 ; 0x84
.long 131 ; 0x83
.long 130 ; 0x82
.long 129 ; 0x81
.long 128 ; 0x80
.long 136 ; 0x88
.long 135 ; 0x87
.long 138 ; 0x8a
.long 137 ; 0x89
.long 134 ; 0x86
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _query_formats
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_af_astats.c_query_formats.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _FE_TONEAREST@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movq _FE_UPWARD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movq _FE_DOWNWARD@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq _FE_TOWARDZERO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq -64(%rbp), %rdi
callq _nitems
testl %eax, %eax
je LBB0_1
## %bb.17:
leaq L_.str.1(%rip), %r14
leaq L_.str.2(%rip), %r15
leaq -64(%rbp), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq %r13, %rbx
incq %r13
movl -64(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl -64(%rbp,%rbx,4), %edi
callq _fesetround
xorl %eax, %eax
callq _test_zeroes
movq %r15, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
callq _nitems
movl %eax, %eax
cmpq %rax, %r13
jb LBB0_18
## %bb.2:
incl %r13d
jmp LBB0_3
LBB0_1:
movl $1, %r13d
LBB0_3:
leaq -64(%rbp), %rdi
callq _nitems
testl %eax, %eax
je LBB0_7
## %bb.4:
leaq L_.str.3(%rip), %r14
leaq -64(%rbp), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leal (%rbx,%r13), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incl %ebx
movq %r15, %rdi
callq _nitems
cmpl %eax, %ebx
jb LBB0_5
## %bb.6:
addl %ebx, %r13d
LBB0_7:
movq _FE_TONEAREST@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _fesetround
xorl %eax, %eax
callq _test_nans
leaq L_.str.4(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
incl %r13d
leaq -64(%rbp), %rdi
callq _nitems
testl %eax, %eax
je LBB0_11
## %bb.8:
movl %r13d, %r14d
leaq -64(%rbp), %r12
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
leal (%r14,%r15), %ebx
movl -64(%rbp,%r15,4), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -64(%rbp,%r15,4), %edi
callq _fesetround
xorl %eax, %eax
callq _test_small_z
leaq L_.str.5(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
incq %r15
movq %r12, %rdi
callq _nitems
movl %eax, %eax
cmpq %rax, %r15
jb LBB0_9
## %bb.10:
addl %r15d, %r13d
LBB0_11:
leaq -64(%rbp), %rdi
callq _nitems
testl %eax, %eax
je LBB0_15
## %bb.12:
movl %r13d, %r14d
leaq -64(%rbp), %r12
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
leal (%r14,%r15), %ebx
movl -64(%rbp,%r15,4), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -64(%rbp,%r15,4), %edi
callq _fesetround
xorl %eax, %eax
callq _test_big_z
leaq L_.str.6(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
incq %r15
movq %r12, %rdi
callq _nitems
movl %eax, %eax
cmpq %rax, %r15
jb LBB0_13
## %bb.14:
addl %r15d, %r13d
LBB0_15:
movq _FE_TONEAREST@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _fesetround
xorl %eax, %eax
callq _test_accuracy
leaq L_.str.7(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
incl %r13d
xorl %eax, %eax
callq _test_double_rounding
leaq L_.str.8(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_19
## %bb.16:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FE_TONEAREST,4,2 ## @FE_TONEAREST
.comm _FE_UPWARD,4,2 ## @FE_UPWARD
.comm _FE_DOWNWARD,4,2 ## @FE_DOWNWARD
.comm _FE_TOWARDZERO,4,2 ## @FE_TOWARDZERO
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "rmode = %d\n"
L_.str.2: ## @.str.2
.asciz "ok %d - fma zeroes\n"
L_.str.3: ## @.str.3
.asciz "ok %d # SKIP testcase fails assertion on amd64\n"
L_.str.4: ## @.str.4
.asciz "ok %d - fma NaNs\n"
L_.str.5: ## @.str.5
.asciz "ok %d - fma small z\n"
L_.str.6: ## @.str.6
.asciz "ok %d - fma big z\n"
L_.str.7: ## @.str.7
.asciz "ok %d - fma accuracy\n"
L_.str.8: ## @.str.8
.asciz "ok %d - fma double rounding\n"
L_str: ## @str
.asciz "1..19"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x21, _FE_TONEAREST@GOTPAGE
Lloh4:
ldr x21, [x21, _FE_TONEAREST@GOTPAGEOFF]
Lloh5:
adrp x8, _FE_UPWARD@GOTPAGE
Lloh6:
ldr x8, [x8, _FE_UPWARD@GOTPAGEOFF]
ldr w9, [x21]
Lloh7:
ldr w8, [x8]
stp w9, w8, [sp, #8]
Lloh8:
adrp x8, _FE_DOWNWARD@GOTPAGE
Lloh9:
ldr x8, [x8, _FE_DOWNWARD@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _FE_TOWARDZERO@GOTPAGE
Lloh12:
ldr x9, [x9, _FE_TOWARDZERO@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
stp w8, w9, [sp, #16]
Lloh14:
adrp x0, l_str@PAGE
Lloh15:
add x0, x0, l_str@PAGEOFF
bl _puts
add x22, sp, #8
add x0, sp, #8
bl _nitems
cbz w0, LBB0_4
; %bb.1:
mov x23, #0
Lloh16:
adrp x19, l_.str.1@PAGE
Lloh17:
add x19, x19, l_.str.1@PAGEOFF
Lloh18:
adrp x20, l_.str.2@PAGE
Lloh19:
add x20, x20, l_.str.2@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x24, x23, #1
lsl x23, x23, #2
ldr w8, [x22, x23]
str x8, [sp]
mov x0, x19
bl _printf
ldr w0, [x22, x23]
bl _fesetround
bl _test_zeroes
str x24, [sp]
mov x0, x20
bl _printf
mov x23, x24
add x0, sp, #8
bl _nitems
cmp x24, w0, uxtw
b.lo LBB0_2
; %bb.3:
add w22, w23, #1
b LBB0_5
LBB0_4:
mov w22, #1
LBB0_5:
add x23, sp, #8
add x0, sp, #8
bl _nitems
cbz w0, LBB0_9
; %bb.6:
mov x24, #0
mov w25, w22
Lloh20:
adrp x19, l_.str.1@PAGE
Lloh21:
add x19, x19, l_.str.1@PAGEOFF
Lloh22:
adrp x20, l_.str.3@PAGE
Lloh23:
add x20, x20, l_.str.3@PAGEOFF
LBB0_7: ; =>This Inner Loop Header: Depth=1
add x26, x25, x24
lsl x27, x24, #2
ldr w8, [x23, x27]
str x8, [sp]
mov x0, x19
bl _printf
ldr w0, [x23, x27]
bl _fesetround
bl _test_infinities
str x26, [sp]
mov x0, x20
bl _printf
add x24, x24, #1
add x0, sp, #8
bl _nitems
cmp x24, w0, uxtw
b.lo LBB0_7
; %bb.8:
add w22, w22, w24
LBB0_9:
ldr w0, [x21]
bl _fesetround
bl _test_nans
str x22, [sp]
Lloh24:
adrp x0, l_.str.4@PAGE
Lloh25:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add w22, w22, #1
add x23, sp, #8
add x0, sp, #8
bl _nitems
cbz w0, LBB0_13
; %bb.10:
mov x24, #0
Lloh26:
adrp x19, l_.str.1@PAGE
Lloh27:
add x19, x19, l_.str.1@PAGEOFF
Lloh28:
adrp x20, l_.str.5@PAGE
Lloh29:
add x20, x20, l_.str.5@PAGEOFF
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x25, x22, x24
lsl x26, x24, #2
ldr w8, [x23, x26]
str x8, [sp]
mov x0, x19
bl _printf
ldr w0, [x23, x26]
bl _fesetround
bl _test_small_z
str x25, [sp]
mov x0, x20
bl _printf
add x24, x24, #1
add x0, sp, #8
bl _nitems
cmp x24, w0, uxtw
b.lo LBB0_11
; %bb.12:
add w22, w22, w24
b LBB0_14
LBB0_13:
; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_14:
add x23, sp, #8
add x0, sp, #8
bl _nitems
cbz w0, LBB0_18
; %bb.15:
mov x24, #0
mov w25, w22
Lloh30:
adrp x19, l_.str.1@PAGE
Lloh31:
add x19, x19, l_.str.1@PAGEOFF
Lloh32:
adrp x20, l_.str.6@PAGE
Lloh33:
add x20, x20, l_.str.6@PAGEOFF
LBB0_16: ; =>This Inner Loop Header: Depth=1
add x26, x25, x24
lsl x27, x24, #2
ldr w8, [x23, x27]
str x8, [sp]
mov x0, x19
bl _printf
ldr w0, [x23, x27]
bl _fesetround
bl _test_big_z
str x26, [sp]
mov x0, x20
bl _printf
add x24, x24, #1
add x0, sp, #8
bl _nitems
cmp x24, w0, uxtw
b.lo LBB0_16
; %bb.17:
add w22, w22, w24
LBB0_18:
ldr w0, [x21]
bl _fesetround
bl _test_accuracy
str x22, [sp]
Lloh34:
adrp x0, l_.str.7@PAGE
Lloh35:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add w19, w22, #1
bl _test_double_rounding
str x19, [sp]
Lloh36:
adrp x0, l_.str.8@PAGE
Lloh37:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x8, [sp, #24]
Lloh38:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh39:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_20
; %bb.19:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_20:
bl ___stack_chk_fail
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.comm _FE_TONEAREST,4,2 ; @FE_TONEAREST
.comm _FE_UPWARD,4,2 ; @FE_UPWARD
.comm _FE_DOWNWARD,4,2 ; @FE_DOWNWARD
.comm _FE_TOWARDZERO,4,2 ; @FE_TOWARDZERO
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "rmode = %d\n"
l_.str.2: ; @.str.2
.asciz "ok %d - fma zeroes\n"
l_.str.3: ; @.str.3
.asciz "ok %d - fma infinities\n"
l_.str.4: ; @.str.4
.asciz "ok %d - fma NaNs\n"
l_.str.5: ; @.str.5
.asciz "ok %d - fma small z\n"
l_.str.6: ; @.str.6
.asciz "ok %d - fma big z\n"
l_.str.7: ; @.str.7
.asciz "ok %d - fma accuracy\n"
l_.str.8: ; @.str.8
.asciz "ok %d - fma double rounding\n"
l_str: ; @str
.asciz "1..19"
.subsections_via_symbols
| AnghaBench/freebsd/lib/msun/tests/extr_fma_test.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _onion_addfriend ## -- Begin function onion_addfriend
.p2align 4, 0x90
_onion_addfriend: ## @onion_addfriend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
callq _onion_friend_num
movl %eax, %r12d
cmpl $-1, %eax
jne LBB0_9
## %bb.1:
movl (%r15), %esi
testq %rsi, %rsi
je LBB0_5
## %bb.2:
movq 8(%r15), %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ebx, %ecx
shlq $4, %rcx
cmpl $0, (%rax,%rcx)
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
cmpl %ebx, %esi
jne LBB0_3
LBB0_5:
incl %esi
movq %r15, %rdi
## kill: def $esi killed $esi killed $rsi
callq _realloc_onion_friends
cmpl $-1, %eax
je LBB0_6
## %bb.7:
movl (%r15), %ebx
movq %rbx, %rdi
shlq $4, %rdi
addq 8(%r15), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
incl (%r15)
movq 8(%r15), %rax
LBB0_8:
movl %ebx, %r12d
shlq $4, %rbx
movl $1, (%rax,%rbx)
movl 12(%rax,%rbx), %edi
movq _crypto_box_PUBLICKEYBYTES@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rsi
callq _memcpy
movq 8(%r15), %rax
movl 4(%rax,%rbx), %esi
movl 8(%rax,%rbx), %edi
callq _crypto_box_keypair
jmp LBB0_9
LBB0_6:
movl $-1, %r12d
LBB0_9:
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _crypto_box_PUBLICKEYBYTES,4,2 ## @crypto_box_PUBLICKEYBYTES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _onion_addfriend ; -- Begin function onion_addfriend
.p2align 2
_onion_addfriend: ; @onion_addfriend
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
bl _onion_friend_num
mov x21, x0
cmn w0, #1
b.ne LBB0_9
; %bb.1:
ldr w9, [x19]
cbz w9, LBB0_5
; %bb.2:
mov x21, #0
ldr x8, [x19, #8]
LBB0_3: ; =>This Inner Loop Header: Depth=1
and x10, x21, #0xffffffff
lsl x10, x10, #4
ldr w10, [x8, x10]
cbz w10, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
cmp w9, w21
b.ne LBB0_3
LBB0_5:
add w1, w9, #1
mov x0, x19
bl _realloc_onion_friends
cmn w0, #1
b.eq LBB0_8
; %bb.6:
ldr w21, [x19]
ldr x8, [x19, #8]
add x0, x8, w21, uxtw #4
mov w1, #0
mov w2, #4
bl _memset
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
ldr x8, [x19, #8]
LBB0_7:
lsl x22, x21, #4
add x8, x8, x22
mov w9, #1
str w9, [x8]
ldr w0, [x8, #12]
Lloh0:
adrp x8, _crypto_box_PUBLICKEYBYTES@GOTPAGE
Lloh1:
ldr x8, [x8, _crypto_box_PUBLICKEYBYTES@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x1, x20
bl _memcpy
ldr x8, [x19, #8]
add x8, x8, x22
ldp w1, w0, [x8, #4]
bl _crypto_box_keypair
b LBB0_9
LBB0_8:
mov w21, #-1
LBB0_9:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _crypto_box_PUBLICKEYBYTES,4,2 ; @crypto_box_PUBLICKEYBYTES
.subsections_via_symbols
| AnghaBench/toxcore/toxcore/extr_onion_client.c_onion_addfriend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aty_pll_18818_to_var
_aty_pll_18818_to_var: ## @aty_pll_18818_to_var
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _aty_pll_18818_to_var
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aty_pll_18818_to_var
_aty_pll_18818_to_var: ; @aty_pll_18818_to_var
.cfi_startproc
; %bb.0:
ldr w0, [x1]
ret
.cfi_endproc
; -- End function
.no_dead_strip _aty_pll_18818_to_var
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/aty/extr_mach64_gx.c_aty_pll_18818_to_var.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _change ## -- Begin function change
.p2align 4, 0x90
_change: ## @change
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl (%rsi), %ecx
movl %ecx, (%rdi)
movl %eax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.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
callq _puts
leaq L_.str.1(%rip), %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "Num_1 [%d] and "
L_.str.2: ## @.str.2
.asciz "Num_2 [%d] "
L_str: ## @str
.asciz "\n-----THE CHANGE----"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _change ; -- Begin function change
.p2align 2
_change: ; @change
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
str w9, [x0]
str w8, [x1]
ret
.cfi_endproc
; -- End function
.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 _puts
mov w8, #6
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #10
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "Num_1 [%d] and "
l_.str.2: ; @.str.2
.asciz "Num_2 [%d] "
l_str: ; @str
.asciz "\n-----THE CHANGE----"
.subsections_via_symbols
| the_stack_data/1208667.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vp3054_i2c_probe
_vp3054_i2c_probe: ## @vp3054_i2c_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _vp3054_i2c_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vp3054_i2c_probe
_vp3054_i2c_probe: ; @vp3054_i2c_probe
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _vp3054_i2c_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-vp3054-i2c.h_vp3054_i2c_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av_audio_fifo_size ## -- Begin function av_audio_fifo_size
.p2align 4, 0x90
_av_audio_fifo_size: ## @av_audio_fifo_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
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 _av_audio_fifo_size ; -- Begin function av_audio_fifo_size
.p2align 2
_av_audio_fifo_size: ; @av_audio_fifo_size
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/FFmpeg/libavutil/extr_audio_fifo.c_av_audio_fifo_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dlci_transmit
_dlci_transmit: ## @dlci_transmit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _netdev_priv
testq %rbx, %rbx
je LBB0_2
## %bb.1:
movq %rax, %r15
movq %r14, %rdi
movq %rbx, %rsi
callq _skb_get_tx_queue
movl (%r15), %esi
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq _netdev_start_xmit
LBB0_2:
movq _NETDEV_TX_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NETDEV_TX_OK,4,2 ## @NETDEV_TX_OK
.no_dead_strip _dlci_transmit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dlci_transmit
_dlci_transmit: ; @dlci_transmit
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov x0, x1
bl _netdev_priv
cbz x19, LBB0_2
; %bb.1:
mov x21, x0
mov x0, x20
mov x1, x19
bl _skb_get_tx_queue
mov x2, x0
ldr w1, [x21]
mov x0, x19
mov w3, #0
bl _netdev_start_xmit
LBB0_2:
Lloh0:
adrp x8, _NETDEV_TX_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NETDEV_TX_OK,4,2 ; @NETDEV_TX_OK
.no_dead_strip _dlci_transmit
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wan/extr_dlci.c_dlci_transmit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ts_arib_logo_dr_Delete ## -- Begin function ts_arib_logo_dr_Delete
.p2align 4, 0x90
_ts_arib_logo_dr_Delete: ## @ts_arib_logo_dr_Delete
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ts_arib_logo_dr_Delete ; -- Begin function ts_arib_logo_dr_Delete
.p2align 2
_ts_arib_logo_dr_Delete: ; @ts_arib_logo_dr_Delete
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/vlc/modules/demux/mpeg/extr_ts_arib.c_ts_arib_logo_dr_Delete.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.space 8
.quad 0x4028000000000000 ## double 12
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
leaq -44(%rbp), %rcx
xorl %eax, %eax
callq _scanf
cmpl $3, %eax
jne LBB0_5
## %bb.1:
leaq L_str.3(%rip), %r13
leaq L_.str(%rip), %r14
leaq -52(%rbp), %r15
leaq -48(%rbp), %r12
leaq -44(%rbp), %rbx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _puts
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq _scanf
cmpl $3, %eax
jne LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
imull %eax, %eax
addl $144, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
sqrtsd %xmm0, %xmm0
blendpd $2, LCPI0_0(%rip), %xmm0 ## xmm0 = xmm0[0],mem[1]
movd -44(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pinsrd $1, -48(%rbp), %xmm1
cvtdq2pd %xmm1, %xmm1
divpd %xmm1, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1]
ucomisd %xmm1, %xmm0
movq %r13, %rdi
ja LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leaq L_str(%rip), %rdi
jmp LBB0_4
LBB0_5:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d"
L_str: ## @str
.asciz "S"
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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
add x20, sp, #36
add x21, sp, #40
add x22, sp, #44
stp x21, x20, [sp, #8]
str x22, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
cmp w0, #3
b.ne LBB0_3
; %bb.1:
fmov d8, #12.00000000
Lloh2:
adrp x23, l_str@PAGE
Lloh3:
add x23, x23, l_str@PAGEOFF
Lloh4:
adrp x24, l_str.3@PAGE
Lloh5:
add x24, x24, l_str.3@PAGEOFF
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
mul w8, w8, w8
add w8, w8, #144
scvtf d0, w8
fsqrt d0, d0
ldp s2, s1, [sp, #36]
sshll.2d v1, v1, #0
scvtf d1, d1
fdiv d1, d8, d1
sshll.2d v2, v2, #0
scvtf d2, d2
fdiv d0, d0, d2
fcmp d0, d1
csel x0, x24, x23, gt
bl _puts
stp x21, x20, [sp, #8]
str x22, [sp]
mov x0, x19
bl _scanf
cmp w0, #3
b.eq LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d"
l_str: ; @str
.asciz "S"
l_str.3: ; @str.3
.asciz "N"
.subsections_via_symbols
| the_stack_data/178265085.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cable_info_mad_err_str
_cable_info_mad_err_str: ## @cable_info_mad_err_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _MAD_STATUS_2_CABLE_ERR
addl $-128, %eax
cmpl $8, %eax
ja LBB0_1
## %bb.2:
cltq
leaq l_reltable.cable_info_mad_err_str(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq L_.str.9(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid port selected"
L_.str.1: ## @.str.1
.asciz "operation not supported for this port (the port is of type CX4 or internal)"
L_.str.2: ## @.str.2
.asciz "cable is not connected"
L_.str.3: ## @.str.3
.asciz "the connected cable has no EPROM (passive copper cable)"
L_.str.4: ## @.str.4
.asciz "page number is greater than 15"
L_.str.5: ## @.str.5
.asciz "invalid device_address or size (that is, size equals 0 or address+size is greater than 256)"
L_.str.6: ## @.str.6
.asciz "invalid I2C slave address"
L_.str.7: ## @.str.7
.asciz "at least one cable violates the QSFP specification and ignores the modsel signal"
L_.str.8: ## @.str.8
.asciz "I2C bus is constantly busy"
L_.str.9: ## @.str.9
.asciz "Unknown Error"
.no_dead_strip _cable_info_mad_err_str
.section __TEXT,__const
.p2align 2 ## @reltable.cable_info_mad_err_str
l_reltable.cable_info_mad_err_str:
.long L_.str.7-l_reltable.cable_info_mad_err_str
.long L_.str.4-l_reltable.cable_info_mad_err_str
.long L_.str.1-l_reltable.cable_info_mad_err_str
.long L_.str.3-l_reltable.cable_info_mad_err_str
.long L_.str.2-l_reltable.cable_info_mad_err_str
.long L_.str-l_reltable.cable_info_mad_err_str
.long L_.str.5-l_reltable.cable_info_mad_err_str
.long L_.str.8-l_reltable.cable_info_mad_err_str
.long L_.str.6-l_reltable.cable_info_mad_err_str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cable_info_mad_err_str
_cable_info_mad_err_str: ; @cable_info_mad_err_str
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _MAD_STATUS_2_CABLE_ERR
sub w8, w0, #128
cmp w8, #8
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.cable_info_mad_err_str@PAGE
Lloh1:
add x9, x9, l_switch.table.cable_info_mad_err_str@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh2:
adrp x0, l_.str.9@PAGE
Lloh3:
add x0, x0, l_.str.9@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid port selected"
l_.str.1: ; @.str.1
.asciz "operation not supported for this port (the port is of type CX4 or internal)"
l_.str.2: ; @.str.2
.asciz "cable is not connected"
l_.str.3: ; @.str.3
.asciz "the connected cable has no EPROM (passive copper cable)"
l_.str.4: ; @.str.4
.asciz "page number is greater than 15"
l_.str.5: ; @.str.5
.asciz "invalid device_address or size (that is, size equals 0 or address+size is greater than 256)"
l_.str.6: ; @.str.6
.asciz "invalid I2C slave address"
l_.str.7: ; @.str.7
.asciz "at least one cable violates the QSFP specification and ignores the modsel signal"
l_.str.8: ; @.str.8
.asciz "I2C bus is constantly busy"
l_.str.9: ; @.str.9
.asciz "Unknown Error"
.no_dead_strip _cable_info_mad_err_str
.section __DATA,__const
.p2align 3 ; @switch.table.cable_info_mad_err_str
l_switch.table.cable_info_mad_err_str:
.quad l_.str.7
.quad l_.str.4
.quad l_.str.1
.quad l_.str.3
.quad l_.str.2
.quad l_.str
.quad l_.str.5
.quad l_.str.8
.quad l_.str.6
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_port.c_cable_info_mad_err_str.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mantis_ca_write_attr_mem
_mantis_ca_write_attr_mem: ## @mantis_ca_write_attr_mem
.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 %ecx, %r14d
movl %edx, %r15d
movl %esi, %ebx
movq (%rdi), %r12
movq _MANTIS_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
movl $1, %esi
movl %ebx, %ecx
callq _dprintk
testl %ebx, %ebx
je LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %r12, %rdi
movl %r15d, %esi
movl %r14d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _mantis_hif_write_mem ## TAILCALL
.cfi_endproc
## -- End function
.comm _MANTIS_DEBUG,4,2 ## @MANTIS_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Slot(%d): Request Attribute Mem Write"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _mantis_ca_write_attr_mem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mantis_ca_write_attr_mem
_mantis_ca_write_attr_mem: ; @mantis_ca_write_attr_mem
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x22, x1
ldr x21, [x0]
Lloh0:
adrp x8, _MANTIS_DEBUG@GOTPAGE
Lloh1:
ldr x8, [x8, _MANTIS_DEBUG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov w1, #1
mov x3, x22
bl _dprintk
cbz w22, LBB0_2
; %bb.1:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
mov x0, x21
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _mantis_hif_write_mem
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MANTIS_DEBUG,4,2 ; @MANTIS_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Slot(%d): Request Attribute Mem Write"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _mantis_ca_write_attr_mem
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/mantis/extr_mantis_ca.c_mantis_ca_write_attr_mem.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl l___const.main.a+32(%rip), %eax
movl %eax, -64(%rbp)
movaps l___const.main.a+16(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movaps l___const.main.a(%rip), %xmm0
movaps %xmm0, -96(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -120(%rbp), %rsi
xorl %eax, %eax
callq _scanf
decl -120(%rbp)
leaq L_.str.2(%rip), %r14
movq %r14, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movl $6, -112(%rbp) ## 4-byte Folded Spill
movq %r14, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movl $56, -108(%rbp) ## 4-byte Folded Spill
movq %r14, %rdi
movl $56, %esi
xorl %eax, %eax
callq _printf
movl $44, -104(%rbp) ## 4-byte Folded Spill
movq %r14, %rdi
movl $44, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl $33, %esi
xorl %eax, %eax
callq _printf
movl $2, %r13d
movq %r14, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movl $3, %r15d
movq %r14, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movl $5, %r12d
movq %r14, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movl $4, %ebx
movq %r14, %rdi
movl $33, -100(%rbp) ## 4-byte Folded Spill
movl $4, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl $7, %r11d
movl -120(%rbp), %eax
testl %eax, %eax
js LBB0_5
## %bb.1:
movl -96(%rbp), %ecx
movl %ecx, -124(%rbp) ## 4-byte Spill
movl -92(%rbp), %r8d
movl -88(%rbp), %r9d
movl -84(%rbp), %ecx
movl %ecx, -116(%rbp) ## 4-byte Spill
movl -80(%rbp), %ecx
movl %ecx, -100(%rbp) ## 4-byte Spill
movl -76(%rbp), %ecx
movl %ecx, -104(%rbp) ## 4-byte Spill
movl -72(%rbp), %ecx
movl %ecx, -108(%rbp) ## 4-byte Spill
movl -68(%rbp), %ecx
movl %ecx, -112(%rbp) ## 4-byte Spill
movl -64(%rbp), %ecx
movl %ecx, -128(%rbp) ## 4-byte Spill
incl %eax
movl $7, %r11d
movl $6, %ebx
movl $56, %r10d
movl $44, %esi
movl $33, %r14d
movl $2, %edi
movl $3, %r15d
movl $5, %r12d
movl $4, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -128(%rbp) ## 4-byte Spill
movl %r13d, -112(%rbp) ## 4-byte Spill
movl %edx, %ecx
movl %r13d, %r12d
movl %edx, %r13d
LBB0_29: ## in Loop: Header=BB0_2 Depth=1
decl %eax
je LBB0_4
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl %ebx, %r11d
jle LBB0_3
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, %r8d
movl %ebx, -124(%rbp) ## 4-byte Spill
movl %ebx, %ecx
cmpl %r10d, %r11d
jg LBB0_10
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, %ebx
jmp LBB0_11
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, %ecx
movl %ebx, %r11d
cmpl %r10d, %r11d
jle LBB0_9
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, %r9d
movl %r10d, %r8d
movl %r10d, %ebx
movl %r11d, %r10d
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
cmpl %esi, %r10d
movl %ecx, %r11d
jle LBB0_12
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movl %r10d, -116(%rbp) ## 4-byte Spill
movl %esi, %r9d
movl %r10d, %edx
movl %esi, %r10d
cmpl %r14d, %edx
jg LBB0_16
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %ecx
movl %edx, %esi
cmpl %edi, %ecx
jg LBB0_19
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movl %edi, %edx
movl %ecx, %r14d
cmpl %r15d, %edx
jg LBB0_22
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %ecx
movl %edx, %edi
cmpl %r12d, %ecx
jg LBB0_25
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %edx
movl %ecx, %r15d
cmpl %r13d, %edx
jg LBB0_28
jmp LBB0_27
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movl %esi, %edx
cmpl %r14d, %edx
jle LBB0_15
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -100(%rbp) ## 4-byte Spill
movl %r14d, -116(%rbp) ## 4-byte Spill
movl %edx, %ecx
movl %r14d, %esi
cmpl %edi, %ecx
jle LBB0_18
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, -104(%rbp) ## 4-byte Spill
movl %edi, -100(%rbp) ## 4-byte Spill
movl %ecx, %edx
movl %edi, %r14d
cmpl %r15d, %edx
jle LBB0_21
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
movl %edx, -108(%rbp) ## 4-byte Spill
movl %r15d, -104(%rbp) ## 4-byte Spill
movl %edx, %ecx
movl %r15d, %edi
cmpl %r12d, %ecx
jle LBB0_24
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, -112(%rbp) ## 4-byte Spill
movl %r12d, -108(%rbp) ## 4-byte Spill
movl %ecx, %edx
movl %r12d, %r15d
cmpl %r13d, %edx
jg LBB0_28
LBB0_27: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, %ecx
movl %edx, %r12d
jmp LBB0_29
LBB0_4:
movl -124(%rbp), %eax ## 4-byte Reload
movl %eax, -96(%rbp)
movl %r8d, -92(%rbp)
movl %r9d, -88(%rbp)
movl -116(%rbp), %eax ## 4-byte Reload
movl %eax, -84(%rbp)
movl -100(%rbp), %eax ## 4-byte Reload
movl %eax, -80(%rbp)
movl -104(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp)
movl -108(%rbp), %eax ## 4-byte Reload
movl %eax, -72(%rbp)
movl -112(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movl -128(%rbp), %eax ## 4-byte Reload
movl %eax, -64(%rbp)
movl %ebx, -112(%rbp) ## 4-byte Spill
movl %r10d, -108(%rbp) ## 4-byte Spill
movl %esi, -104(%rbp) ## 4-byte Spill
movl %r14d, -100(%rbp) ## 4-byte Spill
movl %edi, %r13d
movl %ecx, %ebx
LBB0_5:
leaq L_.str.2(%rip), %r14
movq %r14, %rdi
movl %r11d, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl -112(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl -108(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl -104(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl -100(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl $10, %edi
callq _putchar
movl $8, %eax
subl -120(%rbp), %eax
cltq
movl -96(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_30
## %bb.6:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_30:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 7 ## 0x7
.long 6 ## 0x6
.long 56 ## 0x38
.long 44 ## 0x2c
.long 33 ## 0x21
.long 2 ## 0x2
.long 3 ## 0x3
.long 5 ## 0x5
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the which position is miximum : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d,"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
Lloh3:
adrp x8, l___const.main.a@PAGE
Lloh4:
add x8, x8, l___const.main.a@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #16]
ldr w8, [x8, #32]
str w8, [sp, #48]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
sub w8, w8, #1
str w8, [sp, #12]
mov w28, #7
str x28, [sp]
Lloh9:
adrp x19, l_.str.2@PAGE
Lloh10:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _printf
mov w26, #6
str x26, [sp]
mov x0, x19
bl _printf
mov w25, #56
str x25, [sp]
mov x0, x19
bl _printf
mov w24, #44
str x24, [sp]
mov x0, x19
bl _printf
mov w23, #33
str x23, [sp]
mov x0, x19
bl _printf
mov w22, #2
str x22, [sp]
mov x0, x19
bl _printf
mov w21, #3
str x21, [sp]
mov x0, x19
bl _printf
mov w20, #5
str x20, [sp]
mov x0, x19
bl _printf
mov w27, #4
str x27, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
ldr w8, [sp, #12]
tbnz w8, #31, LBB0_4
; %bb.1:
ldp w9, w12, [sp, #16]
ldp w10, w11, [sp, #24]
add w13, w8, #1
mov w8, #7
mov w26, #6
ldp w15, w14, [sp, #32]
mov w25, #56
mov w24, #44
mov w23, #33
mov w22, #2
ldp w0, w17, [sp, #40]
mov w21, #3
mov w20, #5
mov w1, #4
ldr w16, [sp, #48]
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp w8, w26
csel w12, w8, w12, gt
csel w9, w26, w9, gt
csel w2, w8, w26, gt
csel w8, w26, w8, gt
cmp w2, w25
csel w10, w10, w2, le
csel w12, w12, w25, le
csel w3, w25, w2, le
csel w26, w2, w25, le
cmp w3, w24
csel w11, w11, w3, le
csel w10, w10, w24, le
csel w2, w24, w3, le
csel w25, w3, w24, le
cmp w2, w23
csel w15, w15, w2, le
csel w11, w11, w23, le
csel w3, w23, w2, le
csel w24, w2, w23, le
cmp w3, w22
csel w14, w14, w3, le
csel w15, w15, w22, le
csel w2, w22, w3, le
csel w23, w3, w22, le
cmp w2, w21
csel w0, w0, w2, le
csel w14, w14, w21, le
csel w3, w21, w2, le
csel w22, w2, w21, le
cmp w3, w20
csel w17, w17, w3, le
csel w0, w0, w20, le
csel w2, w20, w3, le
csel w21, w3, w20, le
cmp w2, w1
csel w16, w16, w2, le
csel w17, w17, w1, le
csel w27, w1, w2, le
csel w20, w2, w1, le
mov x1, x27
subs w13, w13, #1
b.ne LBB0_2
; %bb.3:
stp w9, w12, [sp, #16]
stp w10, w11, [sp, #24]
stp w15, w14, [sp, #32]
stp w0, w17, [sp, #40]
str w16, [sp, #48]
b LBB0_5
LBB0_4:
; kill: def $w27 killed $w27 killed $x27 def $x27
; kill: def $w20 killed $w20 killed $x20 def $x20
; kill: def $w21 killed $w21 killed $x21 def $x21
; kill: def $w22 killed $w22 killed $x22 def $x22
; kill: def $w23 killed $w23 killed $x23 def $x23
; kill: def $w24 killed $w24 killed $x24 def $x24
; kill: def $w25 killed $w25 killed $x25 def $x25
; kill: def $w26 killed $w26 killed $x26 def $x26
mov x8, x28
LBB0_5:
str x8, [sp]
Lloh11:
adrp x19, l_.str.2@PAGE
Lloh12:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _printf
str x26, [sp]
mov x0, x19
bl _printf
str x25, [sp]
mov x0, x19
bl _printf
str x24, [sp]
mov x0, x19
bl _printf
str x23, [sp]
mov x0, x19
bl _printf
str x22, [sp]
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x19
bl _printf
str x20, [sp]
mov x0, x19
bl _printf
str x27, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #10
bl _putchar
ldr w8, [sp, #12]
mov w9, #8
sub w8, w9, w8
add x9, sp, #16
ldr w8, [x9, w8, sxtw #2]
str x8, [sp]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #56]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 7 ; 0x7
.long 6 ; 0x6
.long 56 ; 0x38
.long 44 ; 0x2c
.long 33 ; 0x21
.long 2 ; 0x2
.long 3 ; 0x3
.long 5 ; 0x5
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the which position is miximum : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d,"
.subsections_via_symbols
| the_stack_data/73575.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vtablogColumn
_vtablogColumn: ## @vtablogColumn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $64, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq (%rdi), %r12
movq %r12, %r8
shrq $32, %r8
cmpl $25, %edx
jg LBB0_2
## %bb.1:
movslq %ebx, %rax
leaq L_.str.1(%rip), %rcx
movsbl (%rax,%rcx), %ecx
leaq L_.str(%rip), %rdx
leaq -96(%rbp), %rsi
movl $50, %edi
jmp LBB0_3
LBB0_2:
leaq L_.str.2(%rip), %rdx
leaq -96(%rbp), %rsi
movl $50, %edi
movl %ebx, %ecx
LBB0_3:
## kill: def $r8d killed $r8d killed $r8
callq _sqlite3_snprintf
movl (%r12), %esi
movl (%r15), %edx
leaq L_.str.3(%rip), %rdi
leaq -96(%rbp), %r15
movl %ebx, %ecx
movq %r15, %r8
callq _printf
movq _SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdi
movq %r15, %rsi
movl $-1, %edx
callq _sqlite3_result_text
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_5
## %bb.4:
addq $64, %rsp
popq %rbx
popq %r12
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 "%c%d"
L_.str.1: ## @.str.1
.asciz "abcdefghijklmnopqrstuvwyz"
L_.str.2: ## @.str.2
.asciz "{%d}%d"
L_.str.3: ## @.str.3
.asciz "vtablogColumn(tab=%d, cursor=%d, i=%d): [%s]\n"
.comm _SQLITE_TRANSIENT,4,2 ## @SQLITE_TRANSIENT
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.no_dead_strip _vtablogColumn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vtablogColumn
_vtablogColumn: ; @vtablogColumn
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
mov x20, x2
mov x19, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
ldr x22, [x0]
lsr x4, x22, #32
cmp w2, #25
b.gt LBB0_2
; %bb.1:
Lloh3:
adrp x8, l_.str.1@PAGE
Lloh4:
add x8, x8, l_.str.1@PAGEOFF
ldrsb w3, [x8, w20, sxtw]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
add x1, sp, #6
mov w0, #50
b LBB0_3
LBB0_2:
Lloh7:
adrp x2, l_.str.2@PAGE
Lloh8:
add x2, x2, l_.str.2@PAGEOFF
add x1, sp, #6
mov w0, #50
mov x3, x20
LBB0_3:
; kill: def $w4 killed $w4 killed $x4
bl _sqlite3_snprintf
ldr w1, [x22]
ldr w2, [x21]
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
add x4, sp, #6
mov x3, x20
bl _printf
Lloh11:
adrp x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh12:
ldr x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
Lloh13:
ldr w3, [x8]
add x1, sp, #6
mov x0, x19
mov w2, #-1
bl _sqlite3_result_text
Lloh14:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh15:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ldur x8, [x29, #-40]
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_5
; %bb.4:
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
add sp, sp, #112
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c%d"
l_.str.1: ; @.str.1
.asciz "abcdefghijklmnopqrstuvwyz"
l_.str.2: ; @.str.2
.asciz "{%d}%d"
l_.str.3: ; @.str.3
.asciz "vtablogColumn(tab=%d, cursor=%d, i=%d): [%s]\n"
.comm _SQLITE_TRANSIENT,4,2 ; @SQLITE_TRANSIENT
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.no_dead_strip _vtablogColumn
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/misc/extr_vtablog.c_vtablogColumn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $383, %esi ## imm = 0x17F
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Total de valores dos elementos do array eh %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, #383
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Total de valores dos elementos do array eh %d\n"
.subsections_via_symbols
| the_stack_data/1268632.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function force_pwm_max_store
_force_pwm_max_store: ## @force_pwm_max_store
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movq %rdx, %r15
callq _dev_get_drvdata
movq %rax, %rbx
movq 16(%rax), %r14
leaq -40(%rbp), %rdx
movq %r15, %rdi
movl $10, %esi
callq _kstrtol
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subq (%rax), %r12
jmp LBB0_3
LBB0_2:
movq %rbx, %r15
addq $8, %r15
movq %r15, %rdi
callq _mutex_lock
movq -40(%rbp), %rax
movq %rax, (%rbx)
movq _ADT7470_REG_CFG@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq %r14, %rdi
callq _i2c_smbus_read_byte_data
movq _ADT7470_FSPD_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %edx, %ecx
orl %eax, %ecx
notl %edx
andl %eax, %edx
cmpq $0, -40(%rbp)
cmovnel %ecx, %edx
movl (%rbx), %esi
movq %r14, %rdi
callq _i2c_smbus_write_byte_data
movq %r15, %rdi
callq _mutex_unlock
LBB0_3:
movq %r12, %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,8,3 ## @EINVAL
.comm _ADT7470_REG_CFG,4,2 ## @ADT7470_REG_CFG
.comm _ADT7470_FSPD_MASK,4,2 ## @ADT7470_FSPD_MASK
.no_dead_strip _force_pwm_max_store
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function force_pwm_max_store
_force_pwm_max_store: ; @force_pwm_max_store
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x22, x2
bl _dev_get_drvdata
mov x21, x0
ldr x20, [x0, #16]
add x2, sp, #8
mov x0, x22
mov w1, #10
bl _kstrtol
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
neg x19, x8
b LBB0_3
LBB0_2:
add x22, x21, #8
mov x0, x22
bl _mutex_lock
ldr x8, [sp, #8]
str x8, [x21]
Lloh3:
adrp x21, _ADT7470_REG_CFG@GOTPAGE
Lloh4:
ldr x21, [x21, _ADT7470_REG_CFG@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x20
bl _i2c_smbus_read_byte_data
ldr x8, [sp, #8]
Lloh5:
adrp x9, _ADT7470_FSPD_MASK@GOTPAGE
Lloh6:
ldr x9, [x9, _ADT7470_FSPD_MASK@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w10, w9, w0
bic w9, w0, w9
cmp x8, #0
csel w2, w9, w10, eq
ldr w1, [x21]
mov x0, x20
bl _i2c_smbus_write_byte_data
mov x0, x22
bl _mutex_unlock
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _EINVAL,8,3 ; @EINVAL
.comm _ADT7470_REG_CFG,4,2 ; @ADT7470_REG_CFG
.comm _ADT7470_FSPD_MASK,4,2 ; @ADT7470_FSPD_MASK
.no_dead_strip _force_pwm_max_store
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_adt7470.c_force_pwm_max_store.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exibe ## -- Begin function exibe
.p2align 4, 0x90
_exibe: ## @exibe
.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
shrq $32, %rax
movd %eax, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str(%rip), %rax
movl %edi, %esi
movq %rax, %rdi
movb $1, %al
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI1_0:
.long 0x3f000000 ## float 0.5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -4(%rbp), %rdx
leaq -16(%rbp), %rcx
xorl %eax, %eax
callq _scanf
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -4(%rbp), %xmm0
mulss LCPI1_0(%rip), %xmm0
movss %xmm0, -12(%rbp)
movl -16(%rbp), %esi
cvtss2sd %xmm0, %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nMatricula: %d\t Media: %.1f"
L_.str.1: ## @.str.1
.asciz "Forneca suas duas notas e a Matricula: "
L_.str.2: ## @.str.2
.asciz "%f%f%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _exibe ; -- Begin function exibe
.p2align 2
_exibe: ; @exibe
.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
lsr x8, x0, #32
fmov s0, w8
fcvt d0, s0
str x0, [sp]
str d0, [sp, #8]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
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
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
sub x8, x29, #8
str x8, [sp, #16]
sub x8, x29, #16
sub x9, x29, #12
stp x9, x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldp s1, s0, [x29, #-16]
fadd s0, s0, s1
fmov s1, #0.50000000
fmul s0, s0, s1
stur s0, [x29, #-4]
ldur x8, [x29, #-8]
lsr x9, x8, #32
fmov s0, w9
fcvt d0, s0
str x8, [sp]
str d0, [sp, #8]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nMatricula: %d\t Media: %.1f"
l_.str.1: ; @.str.1
.asciz "Forneca suas duas notas e a Matricula: "
l_.str.2: ; @.str.2
.asciz "%f%f%d"
.subsections_via_symbols
| the_stack_data/40763798.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/51319.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function CopyGetData
_CopyGetData: ## @CopyGetData
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %eax
xorl %r13d, %r13d
addl $-128, %eax
cmpl $3, %eax
ja LBB0_22
## %bb.1:
movl %ecx, %ebx
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_18:
movq %r14, %rdi
movl %r15d, %esi
callq _pq_getbytes
testl %eax, %eax
je LBB0_20
## %bb.19:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _ERRCODE_CONNECTION_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _errmsg
movl %r14d, %edi
movl %eax, %esi
callq _ereport
LBB0_20:
movl %r15d, %r13d
jmp LBB0_22
LBB0_2:
testl %ebx, %ebx
jle LBB0_22
## %bb.3:
movl %ebx, -48(%rbp) ## 4-byte Spill
movl $0, %r13d
movl %r15d, -52(%rbp) ## 4-byte Spill
testl %r15d, %r15d
jle LBB0_22
## %bb.4:
movq _EOF@GOTPCREL(%rip), %r15
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_8 Depth 3
cmpl $0, 4(%r12)
jne LBB0_22
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl %r13d, -44(%rbp) ## 4-byte Spill
jmp LBB0_7
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_7 Depth=2
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _ERRCODE_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str.3(%rip), %rdi
movl %r13d, %esi
LBB0_25: ## in Loop: Header=BB0_7 Depth=2
xorl %eax, %eax
callq _errmsg
movl %ebx, %edi
movl %eax, %esi
callq _ereport
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_8 Depth 3
movq 16(%r12), %rdi
movl (%rdi), %eax
movl 4(%rdi), %ebx
cmpl %eax, %ebx
jg LBB0_26
LBB0_8: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
xorl %eax, %eax
callq _HOLD_CANCEL_INTERRUPTS
xorl %eax, %eax
callq _pq_startmsgread
xorl %eax, %eax
callq _pq_getbyte
movl %eax, %r13d
cmpl (%r15), %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=3
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _ERRCODE_CONNECTION_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _errmsg
movl %ebx, %edi
movl %eax, %esi
callq _ereport
LBB0_10: ## in Loop: Header=BB0_8 Depth=3
movq 16(%r12), %rdi
xorl %esi, %esi
callq _pq_getmessage
testl %eax, %eax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=3
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _ERRCODE_CONNECTION_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _errmsg
movl %ebx, %edi
movl %eax, %esi
callq _ereport
LBB0_12: ## in Loop: Header=BB0_8 Depth=3
xorl %eax, %eax
callq _RESUME_CANCEL_INTERRUPTS
leal -72(%r13), %eax
cmpl $30, %eax
ja LBB0_24
## %bb.13: ## in Loop: Header=BB0_8 Depth=3
leaq LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_23: ## in Loop: Header=BB0_7 Depth=2
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _ERRCODE_QUERY_CANCELED@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
movq 16(%r12), %rdi
callq _pq_getmsgstring
leaq L_.str.2(%rip), %rdi
movl %eax, %esi
jmp LBB0_25
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
subl %eax, %ebx
movq %r14, %r15
movl -48(%rbp), %r14d ## 4-byte Reload
cmpl %r14d, %ebx
cmovgel %r14d, %ebx
movq %r15, %rsi
movl %ebx, %edx
callq _pq_copymsgbytes
movl -44(%rbp), %r13d ## 4-byte Reload
addl %ebx, %r13d
subl %ebx, %r14d
movl %r14d, -48(%rbp) ## 4-byte Spill
jle LBB0_22
## %bb.27: ## in Loop: Header=BB0_5 Depth=1
movslq %ebx, %rax
addq %rax, %r15
cmpl -52(%rbp), %r13d ## 4-byte Folded Reload
movq %r15, %r14
movq _EOF@GOTPCREL(%rip), %r15
jl LBB0_5
jmp LBB0_22
LBB0_14:
movl 24(%r12), %ecx
movq %r14, %rdi
movl $1, %esi
movl %ebx, %edx
callq _fread
movl %eax, %r13d
movl 24(%r12), %edi
callq _ferror
testl %eax, %eax
je LBB0_16
## %bb.15:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %eax, %eax
callq _errcode_for_file_access
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _errmsg
movl %ebx, %edi
movl %eax, %esi
callq _ereport
LBB0_16:
testl %r13d, %r13d
jne LBB0_22
## %bb.17:
movl $1, 4(%r12)
xorl %r13d, %r13d
jmp LBB0_22
LBB0_28:
movq 8(%r12), %rax
movq %r14, %rdi
movl %r15d, %esi
movl %ebx, %edx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_21:
movl $1, 4(%r12)
movl -44(%rbp), %r13d ## 4-byte Reload
LBB0_22:
movl %r13d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
.long L0_0_set_18
.long L0_0_set_2
.long L0_0_set_14
.long L0_0_set_28
.set L0_1_set_8, LBB0_8-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
LJTI0_1:
.long L0_1_set_8
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_8
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_24
.long L0_1_set_21
.long L0_1_set_7
.long L0_1_set_24
.long L0_1_set_23
.end_data_region
## -- End function
.comm _ERROR,4,2 ## @ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "could not read from COPY file: %m"
.comm _ERRCODE_CONNECTION_FAILURE,4,2 ## @ERRCODE_CONNECTION_FAILURE
L_.str.1: ## @.str.1
.asciz "unexpected EOF on client connection with an open transaction"
.comm _EOF,4,2 ## @EOF
.comm _ERRCODE_QUERY_CANCELED,4,2 ## @ERRCODE_QUERY_CANCELED
L_.str.2: ## @.str.2
.asciz "COPY from stdin failed: %s"
.comm _ERRCODE_PROTOCOL_VIOLATION,4,2 ## @ERRCODE_PROTOCOL_VIOLATION
L_.str.3: ## @.str.3
.asciz "unexpected message type 0x%02X during COPY from stdin"
.no_dead_strip _CopyGetData
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function CopyGetData
_CopyGetData: ; @CopyGetData
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
ldr w8, [x0]
sub w8, w8, #128
cmp w8, #3
b.hi LBB0_5
; %bb.1:
mov x22, x3
mov x20, x2
mov x23, 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, x23
mov x1, x20
bl _pq_getbytes
cbz w0, LBB0_4
; %bb.3:
Lloh2:
adrp x8, _ERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
ldr w19, [x8]
Lloh5:
adrp x8, _ERRCODE_CONNECTION_FAILURE@GOTPAGE
Lloh6:
ldr x8, [x8, _ERRCODE_CONNECTION_FAILURE@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _errcode
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x19
bl _ereport
LBB0_4:
mov x27, x20
b LBB0_27
LBB0_5:
mov w27, #0
b LBB0_27
LBB0_6:
mov w27, #0
cmp w22, #1
b.lt LBB0_27
; %bb.7:
str w20, [sp, #8] ; 4-byte Folded Spill
cmp w20, #1
b.lt LBB0_27
; %bb.8:
mov w27, #0
Lloh10:
adrp x25, _EOF@GOTPAGE
Lloh11:
ldr x25, [x25, _EOF@GOTPAGEOFF]
Lloh12:
adrp x26, _ERROR@GOTPAGE
Lloh13:
ldr x26, [x26, _ERROR@GOTPAGEOFF]
Lloh14:
adrp x21, _ERRCODE_CONNECTION_FAILURE@GOTPAGE
Lloh15:
ldr x21, [x21, _ERRCODE_CONNECTION_FAILURE@GOTPAGEOFF]
Lloh16:
adrp x24, l_.str.1@PAGE
Lloh17:
add x24, x24, l_.str.1@PAGEOFF
Lloh18:
adrp x20, lJTI0_1@PAGE
Lloh19:
add x20, x20, lJTI0_1@PAGEOFF
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
sub w8, w9, w8
cmp w8, w22
csel w27, w8, w22, lt
mov x1, x23
mov x2, x27
bl _pq_copymsgbytes
add x23, x23, w27, sxtw
sub w22, w22, w27
ldr w8, [sp, #12] ; 4-byte Folded Reload
add w27, w27, w8
cmp w22, #1
ldr w8, [sp, #8] ; 4-byte Folded Reload
ccmp w27, w8, #0, ge
b.ge LBB0_27
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
; Child Loop BB0_14 Depth 3
ldr w8, [x19, #4]
cbnz w8, LBB0_27
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
str w27, [sp, #12] ; 4-byte Folded Spill
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
ldr w27, [x26]
Lloh20:
adrp x8, _ERRCODE_QUERY_CANCELED@GOTPAGE
Lloh21:
ldr x8, [x8, _ERRCODE_QUERY_CANCELED@GOTPAGEOFF]
Lloh22:
ldr w0, [x8]
bl _errcode
ldr x0, [x19, #16]
bl _pq_getmsgstring
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh23:
adrp x0, l_.str.2@PAGE
Lloh24:
add x0, x0, l_.str.2@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x27
bl _ereport
LBB0_13: ; Parent Loop BB0_10 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_14 Depth 3
ldr x0, [x19, #16]
ldp w8, w9, [x0]
cmp w9, w8
b.gt LBB0_9
LBB0_14: ; Parent Loop BB0_10 Depth=1
; Parent Loop BB0_13 Depth=2
; => This Inner Loop Header: Depth=3
bl _HOLD_CANCEL_INTERRUPTS
bl _pq_startmsgread
bl _pq_getbyte
mov x27, x0
ldr w8, [x25]
cmp w0, w8
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_14 Depth=3
ldr w28, [x26]
ldr w0, [x21]
bl _errcode
mov x0, x24
bl _errmsg
mov x1, x0
mov x0, x28
bl _ereport
LBB0_16: ; in Loop: Header=BB0_14 Depth=3
ldr x0, [x19, #16]
mov w1, #0
bl _pq_getmessage
cbz w0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_14 Depth=3
ldr w28, [x26]
ldr w0, [x21]
bl _errcode
mov x0, x24
bl _errmsg
mov x1, x0
mov x0, x28
bl _ereport
LBB0_18: ; in Loop: Header=BB0_14 Depth=3
bl _RESUME_CANCEL_INTERRUPTS
sub w8, w27, #72
cmp w8, #30
b.hi LBB0_20
; %bb.19: ; in Loop: Header=BB0_14 Depth=3
adr x9, LBB0_12
ldrb w10, [x20, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_20: ; in Loop: Header=BB0_13 Depth=2
ldr w28, [x26]
Lloh25:
adrp x8, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGE
Lloh26:
ldr x8, [x8, _ERRCODE_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
bl _errcode
str x27, [sp]
Lloh28:
adrp x0, l_.str.3@PAGE
Lloh29:
add x0, x0, l_.str.3@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x28
bl _ereport
b LBB0_13
LBB0_21:
ldr w3, [x19, #24]
mov x0, x23
mov w1, #1
mov x2, x22
bl _fread
mov x27, x0
ldr w0, [x19, #24]
bl _ferror
cbz w0, LBB0_23
; %bb.22:
Lloh30:
adrp x8, _ERROR@GOTPAGE
Lloh31:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh32:
ldr w21, [x8]
bl _errcode_for_file_access
Lloh33:
adrp x0, l_.str@PAGE
Lloh34:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
bl _ereport
LBB0_23:
cbnz w27, LBB0_27
; %bb.24:
mov w8, #1
str w8, [x19, #4]
b LBB0_27
LBB0_25:
ldr x3, [x19, #8]
mov x0, x23
mov x1, x20
mov x2, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
br x3
LBB0_26:
mov w8, #1
str w8, [x19, #4]
ldr w27, [sp, #12] ; 4-byte Folded Reload
LBB0_27:
mov x0, x27
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_21-LBB0_2)>>2
.byte (LBB0_25-LBB0_2)>>2
lJTI0_1:
.byte (LBB0_14-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_14-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_26-LBB0_12)>>2
.byte (LBB0_13-LBB0_12)>>2
.byte (LBB0_20-LBB0_12)>>2
.byte (LBB0_12-LBB0_12)>>2
; -- End function
.comm _ERROR,4,2 ; @ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "could not read from COPY file: %m"
.comm _ERRCODE_CONNECTION_FAILURE,4,2 ; @ERRCODE_CONNECTION_FAILURE
l_.str.1: ; @.str.1
.asciz "unexpected EOF on client connection with an open transaction"
.comm _EOF,4,2 ; @EOF
.comm _ERRCODE_QUERY_CANCELED,4,2 ; @ERRCODE_QUERY_CANCELED
l_.str.2: ; @.str.2
.asciz "COPY from stdin failed: %s"
.comm _ERRCODE_PROTOCOL_VIOLATION,4,2 ; @ERRCODE_PROTOCOL_VIOLATION
l_.str.3: ; @.str.3
.asciz "unexpected message type 0x%02X during COPY from stdin"
.no_dead_strip _CopyGetData
.subsections_via_symbols
| AnghaBench/postgres/src/backend/commands/extr_copy.c_CopyGetData.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ec_GF2m_simple_group_init ## -- Begin function ec_GF2m_simple_group_init
.p2align 4, 0x90
_ec_GF2m_simple_group_init: ## @ec_GF2m_simple_group_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _BN_new
movq %rax, 16(%rbx)
xorl %eax, %eax
callq _BN_new
movq %rax, 8(%rbx)
xorl %eax, %eax
callq _BN_new
movq %rax, (%rbx)
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.1:
cmpq $0, 8(%rbx)
je LBB0_3
## %bb.2:
movl $1, %ecx
testq %rax, %rax
jne LBB0_4
LBB0_3:
callq _BN_free
movq 8(%rbx), %rdi
callq _BN_free
movq (%rbx), %rdi
callq _BN_free
xorl %ecx, %ecx
LBB0_4:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ec_GF2m_simple_group_init ; -- Begin function ec_GF2m_simple_group_init
.p2align 2
_ec_GF2m_simple_group_init: ; @ec_GF2m_simple_group_init
.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 _BN_new
str x0, [x19, #16]
bl _BN_new
str x0, [x19, #8]
bl _BN_new
mov x8, x0
str x0, [x19]
ldr x0, [x19, #16]
cbz x0, LBB0_4
; %bb.1:
ldr x9, [x19, #8]
cbz x9, LBB0_4
; %bb.2:
cbz x8, LBB0_4
; %bb.3:
mov w0, #1
b LBB0_5
LBB0_4:
bl _BN_free
ldr x0, [x19, #8]
bl _BN_free
ldr x0, [x19]
bl _BN_free
mov w0, #0
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ec2_smpl.c_ec_GF2m_simple_group_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mem_disable_command
_mem_disable_command: ## @mem_disable_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq _target_dcache@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _dcache_invalidate
testq %r12, %r12
je LBB0_1
## %bb.4:
movb (%r12), %al
testb %al, %al
je LBB0_17
## %bb.5:
leaq L_.str(%rip), %r14
movabsq $4294967809, %r15 ## imm = 0x100000201
movq %r12, %rbx
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_14 Depth 2
leal -48(%rax), %ecx
cmpb $9, %cl
ja LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq %r12, %rbx
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%rbx), %eax
incq %rbx
leal -48(%rax), %ecx
cmpb $10, %cl
jb LBB0_9
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
cmpb $32, %al
ja LBB0_12
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
movzbl %al, %eax
btq %rax, %r15
jb LBB0_13
LBB0_12: ## in Loop: Header=BB0_7 Depth=1
movq %r14, %rdi
callq _error
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movq %r12, %rdi
callq _atoi
movl %eax, %edi
callq _mem_disable
jmp LBB0_14
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_14 Depth=2
incq %rbx
LBB0_14: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rbx), %eax
cmpb $9, %al
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
cmpb $32, %al
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_7 Depth=1
testb %al, %al
je LBB0_17
## %bb.6: ## in Loop: Header=BB0_7 Depth=1
movq %rbx, %r12
jmp LBB0_7
LBB0_1:
movq _mem_region_chain@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_17
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq $0, (%rax)
movq 8(%rax), %rax
testq %rax, %rax
jne LBB0_3
LBB0_17:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _target_dcache,4,2 ## @target_dcache
.comm _mem_region_chain,8,3 ## @mem_region_chain
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Arguments must be memory region numbers."
.no_dead_strip _mem_disable_command
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mem_disable_command
_mem_disable_command: ; @mem_disable_command
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
Lloh0:
adrp x8, _target_dcache@GOTPAGE
Lloh1:
ldr x8, [x8, _target_dcache@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _dcache_invalidate
cbz x20, LBB0_15
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_17
; %bb.2:
mov w21, #1
mov x22, #513
movk x22, #1, lsl #32
mov x23, x20
Lloh3:
adrp x19, l_.str@PAGE
Lloh4:
add x19, x19, l_.str@PAGEOFF
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_11 Depth 2
sub w9, w8, #48
cmp w9, #9
b.hi LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x23, x20
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x23, #1]!
sub w9, w8, #48
cmp w9, #10
b.lo LBB0_5
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #32
b.hi LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w8, w8
lsl x8, x21, x8
tst x8, x22
b.ne LBB0_9
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl _error
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _atoi
bl _mem_disable
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
add x23, x23, #1
LBB0_11: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x23]
cmp w8, #9
b.eq LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
cmp w8, #32
b.eq LBB0_10
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
cbz w8, LBB0_17
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
mov x20, x23
b LBB0_3
LBB0_15:
Lloh5:
adrp x8, _mem_region_chain@GOTPAGE
Lloh6:
ldr x8, [x8, _mem_region_chain@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cbz x8, LBB0_17
LBB0_16: ; =>This Inner Loop Header: Depth=1
str xzr, [x8]
ldr x8, [x8, #8]
cbnz x8, LBB0_16
LBB0_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _target_dcache,4,2 ; @target_dcache
.comm _mem_region_chain,8,3 ; @mem_region_chain
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Arguments must be memory region numbers."
.no_dead_strip _mem_disable_command
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_memattr.c_mem_disable_command.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sg_count_one
_sg_count_one: ## @sg_count_one
.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 _sg_page
movl %eax, %edi
callq _page_to_pfn
movq (%rbx), %rsi
movq 8(%rbx), %rdx
movl %edx, %ecx
orl %esi, %ecx
testb $7, %cl
je LBB0_2
## %bb.1:
movq _EFAULT@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_2:
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shlq %cl, %rax
addq %rdx, %rax
movq %rax, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _pages_in_region ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.comm _EFAULT,4,2 ## @EFAULT
.no_dead_strip _sg_count_one
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sg_count_one
_sg_count_one: ; @sg_count_one
.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 _sg_page
bl _page_to_pfn
ldp x1, x8, [x19]
orr w9, w8, w1
tst x9, #0x7
b.eq LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EFAULT@GOTPAGE
Lloh1:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh3:
adrp x9, _PAGE_SHIFT@GOTPAGE
Lloh4:
ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
lsl x9, x0, x9
add x0, x9, x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _pages_in_region
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.comm _EFAULT,4,2 ; @EFAULT
.no_dead_strip _sg_count_one
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_ldc.c_sg_count_one.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bwn_led_blink_start
_bwn_led_blink_start: ## @bwn_led_blink_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
movl %esi, %r14d
movq %rdi, %r15
movq (%rdi), %rbx
movq 16(%rbx), %r13
movq _BWN_GPIO_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _BWN_READ_2
movq %r13, %rdi
movl %eax, %esi
movl $1, %edx
callq _bwn_led_onoff
movq _BWN_GPIO_CONTROL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %r15, %rdi
movl %eax, %edx
callq _BWN_WRITE_2
movq _BWN_LED_F_SLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r13)
je LBB0_2
## %bb.1:
movl %r14d, %edi
callq _BWN_LED_SLOWDOWN
movl %r12d, %edi
callq _BWN_LED_SLOWDOWN
LBB0_2:
movl $1, (%rbx)
movl %r12d, 4(%rbx)
addq $8, %rbx
movq _bwn_led_blink_next@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rcx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _callout_reset ## TAILCALL
.cfi_endproc
## -- End function
.comm _BWN_GPIO_CONTROL,4,2 ## @BWN_GPIO_CONTROL
.comm _BWN_LED_F_SLOW,4,2 ## @BWN_LED_F_SLOW
.comm _bwn_led_blink_next,4,2 ## @bwn_led_blink_next
.no_dead_strip _bwn_led_blink_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bwn_led_blink_start
_bwn_led_blink_start: ; @bwn_led_blink_start
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x20, x1
mov x19, x0
ldr x23, [x0]
ldr x22, [x23, #16]
Lloh0:
adrp x25, _BWN_GPIO_CONTROL@GOTPAGE
Lloh1:
ldr x25, [x25, _BWN_GPIO_CONTROL@GOTPAGEOFF]
ldr w1, [x25]
bl _BWN_READ_2
mov x1, x0
mov w24, #1
mov x0, x22
mov w2, #1
bl _bwn_led_onoff
mov x2, x0
ldr w1, [x25]
mov x0, x19
bl _BWN_WRITE_2
ldr w8, [x22]
Lloh2:
adrp x9, _BWN_LED_F_SLOW@GOTPAGE
Lloh3:
ldr x9, [x9, _BWN_LED_F_SLOW@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x0, x20
bl _BWN_LED_SLOWDOWN
mov x0, x21
bl _BWN_LED_SLOWDOWN
LBB0_2:
stp w24, w21, [x23]
Lloh5:
adrp x8, _bwn_led_blink_next@GOTPAGE
Lloh6:
ldr x8, [x8, _bwn_led_blink_next@GOTPAGEOFF]
add x0, x23, #8
Lloh7:
ldr w2, [x8]
mov x1, x20
mov x3, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _callout_reset
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _BWN_GPIO_CONTROL,4,2 ; @BWN_GPIO_CONTROL
.comm _BWN_LED_F_SLOW,4,2 ; @BWN_LED_F_SLOW
.comm _bwn_led_blink_next,4,2 ; @bwn_led_blink_next
.no_dead_strip _bwn_led_blink_start
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn.c_bwn_led_blink_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dump_read_message
_dump_read_message: ## @dump_read_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 %rsi, %r14
movzbl (%rsi), %esi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _tuner_info
testb $1, (%r14)
leaq L_.str.19(%rip), %rax
leaq L_.str.18(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _tuner_info
movzbl (%r14), %eax
andl $30, %eax
leaq _reltable.dump_read_message(%rip), %rcx
movslq (%rcx,%rax,2), %rsi
addq %rcx, %rsi
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _tuner_info
testb $32, (%r14)
leaq L_.str.23(%rip), %r15
leaq L_.str.22(%rip), %rbx
movq %rbx, %rsi
cmoveq %r15, %rsi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _tuner_info
testb $64, (%r14)
leaq L_.str.26(%rip), %rax
leaq L_.str.25(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _tuner_info
cmpb $0, (%r14)
cmovnsq %r15, %rbx
leaq L_.str.27(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _tuner_info ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @reltable.dump_read_message
_reltable.dump_read_message:
.long L_.str-_reltable.dump_read_message
.long L_.str.1-_reltable.dump_read_message
.long L_.str.2-_reltable.dump_read_message
.long L_.str.3-_reltable.dump_read_message
.long L_.str.4-_reltable.dump_read_message
.long L_.str.5-_reltable.dump_read_message
.long L_.str.6-_reltable.dump_read_message
.long L_.str.7-_reltable.dump_read_message
.long L_.str.8-_reltable.dump_read_message
.long L_.str.9-_reltable.dump_read_message
.long L_.str.10-_reltable.dump_read_message
.long L_.str.11-_reltable.dump_read_message
.long L_.str.12-_reltable.dump_read_message
.long L_.str.13-_reltable.dump_read_message
.long L_.str.14-_reltable.dump_read_message
.long L_.str.15-_reltable.dump_read_message
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "- 12.5 kHz"
L_.str.1: ## @.str.1
.asciz "- 37.5 kHz"
L_.str.2: ## @.str.2
.asciz "- 62.5 kHz"
L_.str.3: ## @.str.3
.asciz "- 87.5 kHz"
L_.str.4: ## @.str.4
.asciz "-112.5 kHz"
L_.str.5: ## @.str.5
.asciz "-137.5 kHz"
L_.str.6: ## @.str.6
.asciz "-162.5 kHz"
L_.str.7: ## @.str.7
.asciz "-187.5 kHz [min]"
L_.str.8: ## @.str.8
.asciz "+187.5 kHz [max]"
L_.str.9: ## @.str.9
.asciz "+162.5 kHz"
L_.str.10: ## @.str.10
.asciz "+137.5 kHz"
L_.str.11: ## @.str.11
.asciz "+112.5 kHz"
L_.str.12: ## @.str.12
.asciz "+ 87.5 kHz"
L_.str.13: ## @.str.13
.asciz "+ 62.5 kHz"
L_.str.14: ## @.str.14
.asciz "+ 37.5 kHz"
L_.str.15: ## @.str.15
.asciz "+ 12.5 kHz"
L_.str.16: ## @.str.16
.asciz "read: 0x%2x\n"
L_.str.17: ## @.str.17
.asciz " after power on : %s\n"
L_.str.18: ## @.str.18
.asciz "yes"
L_.str.19: ## @.str.19
.asciz "no"
L_.str.20: ## @.str.20
.asciz " afc : %s\n"
L_.str.21: ## @.str.21
.asciz " fmif level : %s\n"
L_.str.22: ## @.str.22
.asciz "high"
L_.str.23: ## @.str.23
.asciz "low"
L_.str.24: ## @.str.24
.asciz " afc window : %s\n"
L_.str.25: ## @.str.25
.asciz "in"
L_.str.26: ## @.str.26
.asciz "out"
L_.str.27: ## @.str.27
.asciz " vfi level : %s\n"
.no_dead_strip _dump_read_message
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dump_read_message
_dump_read_message: ; @dump_read_message
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
ldrb w8, [x1]
str x8, [sp]
Lloh0:
adrp x0, l_.str.16@PAGE
Lloh1:
add x0, x0, l_.str.16@PAGEOFF
bl _tuner_info
ldrb w8, [x19]
Lloh2:
adrp x9, l_.str.18@PAGE
Lloh3:
add x9, x9, l_.str.18@PAGEOFF
Lloh4:
adrp x10, l_.str.19@PAGE
Lloh5:
add x10, x10, l_.str.19@PAGEOFF
tst w8, #0x1
csel x8, x10, x9, eq
str x8, [sp]
Lloh6:
adrp x0, l_.str.17@PAGE
Lloh7:
add x0, x0, l_.str.17@PAGEOFF
bl _tuner_info
ldrb w8, [x19]
ubfx x8, x8, #1, #4
Lloh8:
adrp x9, _dump_read_message.afc@PAGE
Lloh9:
add x9, x9, _dump_read_message.afc@PAGEOFF
ldr x8, [x9, x8, lsl #3]
str x8, [sp]
Lloh10:
adrp x0, l_.str.20@PAGE
Lloh11:
add x0, x0, l_.str.20@PAGEOFF
bl _tuner_info
ldrb w8, [x19]
Lloh12:
adrp x20, l_.str.22@PAGE
Lloh13:
add x20, x20, l_.str.22@PAGEOFF
Lloh14:
adrp x21, l_.str.23@PAGE
Lloh15:
add x21, x21, l_.str.23@PAGEOFF
tst w8, #0x20
csel x8, x21, x20, eq
str x8, [sp]
Lloh16:
adrp x0, l_.str.21@PAGE
Lloh17:
add x0, x0, l_.str.21@PAGEOFF
bl _tuner_info
ldrb w8, [x19]
Lloh18:
adrp x9, l_.str.25@PAGE
Lloh19:
add x9, x9, l_.str.25@PAGEOFF
Lloh20:
adrp x10, l_.str.26@PAGE
Lloh21:
add x10, x10, l_.str.26@PAGEOFF
tst w8, #0x40
csel x8, x10, x9, eq
str x8, [sp]
Lloh22:
adrp x0, l_.str.24@PAGE
Lloh23:
add x0, x0, l_.str.24@PAGEOFF
bl _tuner_info
ldrsb w8, [x19]
cmp w8, #0
csel x8, x21, x20, ge
str x8, [sp]
Lloh24:
adrp x0, l_.str.27@PAGE
Lloh25:
add x0, x0, l_.str.27@PAGEOFF
bl _tuner_info
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @dump_read_message.afc
_dump_read_message.afc:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "- 12.5 kHz"
l_.str.1: ; @.str.1
.asciz "- 37.5 kHz"
l_.str.2: ; @.str.2
.asciz "- 62.5 kHz"
l_.str.3: ; @.str.3
.asciz "- 87.5 kHz"
l_.str.4: ; @.str.4
.asciz "-112.5 kHz"
l_.str.5: ; @.str.5
.asciz "-137.5 kHz"
l_.str.6: ; @.str.6
.asciz "-162.5 kHz"
l_.str.7: ; @.str.7
.asciz "-187.5 kHz [min]"
l_.str.8: ; @.str.8
.asciz "+187.5 kHz [max]"
l_.str.9: ; @.str.9
.asciz "+162.5 kHz"
l_.str.10: ; @.str.10
.asciz "+137.5 kHz"
l_.str.11: ; @.str.11
.asciz "+112.5 kHz"
l_.str.12: ; @.str.12
.asciz "+ 87.5 kHz"
l_.str.13: ; @.str.13
.asciz "+ 62.5 kHz"
l_.str.14: ; @.str.14
.asciz "+ 37.5 kHz"
l_.str.15: ; @.str.15
.asciz "+ 12.5 kHz"
l_.str.16: ; @.str.16
.asciz "read: 0x%2x\n"
l_.str.17: ; @.str.17
.asciz " after power on : %s\n"
l_.str.18: ; @.str.18
.asciz "yes"
l_.str.19: ; @.str.19
.asciz "no"
l_.str.20: ; @.str.20
.asciz " afc : %s\n"
l_.str.21: ; @.str.21
.asciz " fmif level : %s\n"
l_.str.22: ; @.str.22
.asciz "high"
l_.str.23: ; @.str.23
.asciz "low"
l_.str.24: ; @.str.24
.asciz " afc window : %s\n"
l_.str.25: ; @.str.25
.asciz "in"
l_.str.26: ; @.str.26
.asciz "out"
l_.str.27: ; @.str.27
.asciz " vfi level : %s\n"
.no_dead_strip _dump_read_message
.subsections_via_symbols
| AnghaBench/linux/drivers/media/tuners/extr_tda9887.c_dump_read_message.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_changes ## -- Begin function sqlite3_changes
.p2align 4, 0x90
_sqlite3_changes: ## @sqlite3_changes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_MISUSE_BKPT,4,2 ## @SQLITE_MISUSE_BKPT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_changes ; -- Begin function sqlite3_changes
.p2align 2
_sqlite3_changes: ; @sqlite3_changes
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.comm _SQLITE_MISUSE_BKPT,4,2 ; @SQLITE_MISUSE_BKPT
.subsections_via_symbols
| AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_sqlite3_changes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _binarySearch ## -- Begin function binarySearch
.p2align 4, 0x90
_binarySearch: ## @binarySearch
.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
cmpl %edx, %ecx
jge LBB0_2
LBB0_4:
popq %rbp
retq
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
decl %r8d
movl %r8d, %ecx
cmpl %edx, %ecx
jl LBB0_4
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %ecx, %r9d
subl %edx, %r9d
movl %r9d, %r8d
shrl $31, %r8d
addl %r9d, %r8d
sarl %r8d
addl %edx, %r8d
movslq %r8d, %r9
movl (%rdi,%r9,4), %r9d
cmpl %esi, %r9d
je LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
incl %r8d
movl %r8d, %edx
cmpl %edx, %ecx
jge LBB0_2
jmp LBB0_4
LBB0_3:
movl %r8d, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $424, %rsp ## imm = 0x1A8
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -436(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -436(%rbp), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, -436(%rbp)
jle LBB1_3
## %bb.1:
leaq -432(%rbp), %r15
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -436(%rbp), %rax
addq $4, %r15
cmpq %rax, %rbx
jl LBB1_2
LBB1_3:
leaq L_str.6(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
xorl %ebx, %ebx
leaq -440(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -436(%rbp), %eax
testl %eax, %eax
jle LBB1_11
## %bb.4:
movl -440(%rbp), %ecx
decl %eax
jmp LBB1_5
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_5 Depth=1
decl %esi
movl %esi, %eax
LBB1_9: ## in Loop: Header=BB1_5 Depth=1
cmpl %ebx, %eax
jl LBB1_11
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
subl %ebx, %edx
movl %edx, %esi
shrl $31, %esi
addl %edx, %esi
sarl %esi
addl %ebx, %esi
movslq %esi, %rdx
movl -432(%rbp,%rdx,4), %edx
cmpl %ecx, %edx
je LBB1_10
## %bb.6: ## in Loop: Header=BB1_5 Depth=1
jge LBB1_8
## %bb.7: ## in Loop: Header=BB1_5 Depth=1
incl %esi
movl %esi, %ebx
jmp LBB1_9
LBB1_10:
cmpl $-1, %esi
je LBB1_11
## %bb.12:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB1_13
LBB1_11:
leaq L_str.7(%rip), %rdi
callq _puts
LBB1_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB1_15
## %bb.14:
xorl %eax, %eax
addq $424, %rsp ## imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB1_15:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter %d elements\n"
L_.str.5: ## @.str.5
.asciz "Element is found at index %d\n"
L_str: ## @str
.asciz "Enter number of elements in the array"
L_str.6: ## @str.6
.asciz "Enter Element you want to search"
L_str.7: ## @str.7
.asciz "Not found"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _binarySearch ; -- Begin function binarySearch
.p2align 2
_binarySearch: ; @binarySearch
.cfi_startproc
; %bb.0:
cmp w3, w2
b.lt LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
sub w8, w3, w2
cmp w8, #0
cinc w8, w8, lt
add w8, w2, w8, asr #1
ldr w9, [x0, w8, sxtw #2]
cmp w9, w1
b.eq LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
sub w10, w8, #1
cmp w9, w1
csel w3, w3, w10, lt
csinc w2, w2, w8, ge
cmp w3, w2
b.ge LBB0_1
LBB0_3:
mov w8, #-1
LBB0_4:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #480
.cfi_def_cfa_offset 480
stp x22, x21, [sp, #432] ; 16-byte Folded Spill
stp x20, x19, [sp, #448] ; 16-byte Folded Spill
stp x29, x30, [sp, #464] ; 16-byte Folded Spill
add x29, sp, #464
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
add x8, sp, #20
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
str x8, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB1_3
; %bb.1:
mov x20, #0
add x21, sp, #24
Lloh9:
adrp x19, l_.str.1@PAGE
Lloh10:
add x19, x19, l_.str.1@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x8, [sp, #20]
add x21, x21, #4
cmp x20, x8
b.lt LBB1_2
LBB1_3:
Lloh11:
adrp x0, l_str.6@PAGE
Lloh12:
add x0, x0, l_str.6@PAGEOFF
bl _puts
add x8, sp, #16
str x8, [sp]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
subs w8, w8, #1
b.lt LBB1_9
; %bb.4:
mov w9, #0
ldr w10, [sp, #16]
add x11, sp, #24
LBB1_5: ; =>This Inner Loop Header: Depth=1
sub w12, w8, w9
cmp w12, #0
cinc w12, w12, lt
add w12, w9, w12, asr #1
ldr w13, [x11, w12, sxtw #2]
cmp w13, w10
b.eq LBB1_7
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
sub w14, w12, #1
cmp w13, w10
csel w8, w8, w14, lt
csinc w9, w9, w12, ge
cmp w8, w9
b.ge LBB1_5
b LBB1_9
LBB1_7:
cmn w12, #1
b.eq LBB1_9
; %bb.8:
str x12, [sp]
Lloh15:
adrp x0, l_.str.5@PAGE
Lloh16:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB1_10
LBB1_9:
Lloh17:
adrp x0, l_str.7@PAGE
Lloh18:
add x0, x0, l_str.7@PAGEOFF
bl _puts
LBB1_10:
ldur x8, [x29, #-40]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_12
; %bb.11:
mov w0, #0
ldp x29, x30, [sp, #464] ; 16-byte Folded Reload
ldp x20, x19, [sp, #448] ; 16-byte Folded Reload
ldp x22, x21, [sp, #432] ; 16-byte Folded Reload
add sp, sp, #480
ret
LBB1_12:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter %d elements\n"
l_.str.5: ; @.str.5
.asciz "Element is found at index %d\n"
l_str: ; @str
.asciz "Enter number of elements in the array"
l_str.6: ; @str.6
.asciz "Enter Element you want to search"
l_str.7: ; @str.7
.asciz "Not found"
.subsections_via_symbols
| the_stack_data/14425.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mmc_set_dsr ## -- Begin function mmc_set_dsr
.p2align 4, 0x90
_mmc_set_dsr: ## @mmc_set_dsr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq _MMC_RSP_NONE@GOTPCREL(%rip), %rax
movq _MMC_CMD_AC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _MMC_SET_DSR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -8(%rbp)
movl (%rdi), %eax
shll $16, %eax
orl $65535, %eax ## imm = 0xFFFF
movl %eax, -16(%rbp)
movl %ecx, -12(%rbp)
movq _MMC_CMD_RETRIES@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -16(%rbp), %rsi
callq _mmc_wait_for_cmd
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MMC_SET_DSR,4,2 ## @MMC_SET_DSR
.comm _MMC_RSP_NONE,4,2 ## @MMC_RSP_NONE
.comm _MMC_CMD_AC,4,2 ## @MMC_CMD_AC
.comm _MMC_CMD_RETRIES,4,2 ## @MMC_CMD_RETRIES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mmc_set_dsr ; -- Begin function mmc_set_dsr
.p2align 2
_mmc_set_dsr: ; @mmc_set_dsr
.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 x8, _MMC_SET_DSR@GOTPAGE
Lloh1:
ldr x8, [x8, _MMC_SET_DSR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #8]
ldr w8, [x0]
mov w9, #65535
bfi w9, w8, #16, #16
Lloh3:
adrp x8, _MMC_RSP_NONE@GOTPAGE
Lloh4:
ldr x8, [x8, _MMC_RSP_NONE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x10, _MMC_CMD_AC@GOTPAGE
Lloh7:
ldr x10, [x10, _MMC_CMD_AC@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
orr w8, w10, w8
stp w9, w8, [sp]
Lloh9:
adrp x8, _MMC_CMD_RETRIES@GOTPAGE
Lloh10:
ldr x8, [x8, _MMC_CMD_RETRIES@GOTPAGEOFF]
Lloh11:
ldr w2, [x8]
mov x1, sp
bl _mmc_wait_for_cmd
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MMC_SET_DSR,4,2 ; @MMC_SET_DSR
.comm _MMC_RSP_NONE,4,2 ; @MMC_RSP_NONE
.comm _MMC_CMD_AC,4,2 ; @MMC_CMD_AC
.comm _MMC_CMD_RETRIES,4,2 ; @MMC_CMD_RETRIES
.subsections_via_symbols
| AnghaBench/linux/drivers/mmc/core/extr_mmc_ops.c_mmc_set_dsr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g_bde_max_sector ## -- Begin function g_bde_max_sector
.p2align 4, 0x90
_g_bde_max_sector: ## @g_bde_max_sector
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 8(%rdi), %eax
cltd
idivl 4(%rdi)
imull (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g_bde_max_sector ; -- Begin function g_bde_max_sector
.p2align 2
_g_bde_max_sector: ; @g_bde_max_sector
.cfi_startproc
; %bb.0:
ldp w9, w8, [x0, #4]
ldr w10, [x0]
sdiv w8, w8, w9
mul w0, w10, w8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/geom/bde/extr_g_bde_crypt.c_g_bde_max_sector.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FPU_stack_underflow_i ## -- Begin function FPU_stack_underflow_i
.p2align 4, 0x90
_FPU_stack_underflow_i: ## @FPU_stack_underflow_i
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _control_word@GOTPCREL(%rip), %rax
movq _CW_Invalid@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_2
## %bb.1:
movl %edi, %edx
movq _TAG_Special@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _CONST_QNaN@GOTPCREL(%rip), %rdi
callq _FPU_copy_to_regi
LBB0_2:
movq _EX_StackUnder@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _EXCEPTION ## TAILCALL
.cfi_endproc
## -- End function
.comm _control_word,4,2 ## @control_word
.comm _CW_Invalid,4,2 ## @CW_Invalid
.comm _CONST_QNaN,4,2 ## @CONST_QNaN
.comm _TAG_Special,4,2 ## @TAG_Special
.comm _EX_StackUnder,4,2 ## @EX_StackUnder
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _FPU_stack_underflow_i ; -- Begin function FPU_stack_underflow_i
.p2align 2
_FPU_stack_underflow_i: ; @FPU_stack_underflow_i
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _control_word@GOTPAGE
Lloh1:
ldr x8, [x8, _control_word@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _CW_Invalid@GOTPAGE
Lloh4:
ldr x9, [x9, _CW_Invalid@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x2, x0
Lloh6:
adrp x8, _TAG_Special@GOTPAGE
Lloh7:
ldr x8, [x8, _TAG_Special@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x0, _CONST_QNaN@GOTPAGE
Lloh10:
ldr x0, [x0, _CONST_QNaN@GOTPAGEOFF]
bl _FPU_copy_to_regi
LBB0_2:
Lloh11:
adrp x8, _EX_StackUnder@GOTPAGE
Lloh12:
ldr x8, [x8, _EX_StackUnder@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _EXCEPTION
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _control_word,4,2 ; @control_word
.comm _CW_Invalid,4,2 ; @CW_Invalid
.comm _CONST_QNaN,4,2 ; @CONST_QNaN
.comm _TAG_Special,4,2 ; @TAG_Special
.comm _EX_StackUnder,4,2 ; @EX_StackUnder
.subsections_via_symbols
| AnghaBench/linux/arch/x86/math-emu/extr_errors.c_FPU_stack_underflow_i.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq l_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l_.str: ## @.str
.asciz "The character \000 is used to terminate a string"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
l_.str: ; @.str
.asciz "The character \000 is used to terminate a string"
.subsections_via_symbols
| the_stack_data/57950450.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x41100000 ## float 9
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq L_.str(%rip), %r14
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rbx
leaq -64(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
xorl %esi, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
leaq -60(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
xorl %esi, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
leaq -56(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
movl $1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
leaq -52(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
movl $1, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
leaq -48(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
movl $1, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
leaq -44(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
movl $2, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
leaq -40(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
movl $2, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
leaq -36(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movq %r14, %rdi
movl $2, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
leaq -32(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
xorps %xmm0, %xmm0
addss -64(%rbp), %xmm0
addss -60(%rbp), %xmm0
addss -56(%rbp), %xmm0
addss -52(%rbp), %xmm0
addss -48(%rbp), %xmm0
addss -44(%rbp), %xmm0
addss -40(%rbp), %xmm0
addss -36(%rbp), %xmm0
addss -32(%rbp), %xmm0
divss LCPI0_0(%rip), %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nDigite os valores (%d,%d): "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "%.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
stp xzr, xzr, [sp]
Lloh3:
adrp x19, l_.str@PAGE
Lloh4:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
add x21, sp, #20
str x21, [sp]
Lloh5:
adrp x20, l_.str.1@PAGE
Lloh6:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x20
bl _scanf
mov w22, #1
stp xzr, x22, [sp]
mov x0, x19
bl _printf
add x8, x21, #4
str x8, [sp]
mov x0, x20
bl _scanf
mov w23, #2
stp xzr, x23, [sp]
mov x0, x19
bl _printf
add x8, x21, #8
str x8, [sp]
mov x0, x20
bl _scanf
stp x22, xzr, [sp]
mov x0, x19
bl _printf
add x8, x21, #12
str x8, [sp]
mov x0, x20
bl _scanf
stp x22, x22, [sp]
mov x0, x19
bl _printf
add x8, x21, #16
str x8, [sp]
mov x0, x20
bl _scanf
stp x22, x23, [sp]
mov x0, x19
bl _printf
add x8, x21, #20
str x8, [sp]
mov x0, x20
bl _scanf
stp x23, xzr, [sp]
mov x0, x19
bl _printf
add x8, x21, #24
str x8, [sp]
mov x0, x20
bl _scanf
stp x23, x22, [sp]
mov x0, x19
bl _printf
add x8, x21, #28
str x8, [sp]
mov x0, x20
bl _scanf
stp x23, x23, [sp]
mov x0, x19
bl _printf
add x8, x21, #32
str x8, [sp]
mov x0, x20
bl _scanf
movi d0, #0000000000000000
ldp s1, s2, [sp, #20]
fadd s0, s1, s0
fadd s0, s0, s2
ldp s1, s2, [sp, #28]
fadd s0, s0, s1
fadd s0, s0, s2
ldp s1, s2, [sp, #36]
fadd s0, s0, s1
fadd s0, s0, s2
ldp s1, s2, [sp, #44]
fadd s0, s0, s1
fadd s0, s0, s2
ldr s1, [sp, #52]
fadd s0, s0, s1
fmov s1, #9.00000000
fdiv s0, s0, s1
fcvt d0, s0
str d0, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x8, [sp, #56]
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_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nDigite os valores (%d,%d): "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "%.2f"
.subsections_via_symbols
| the_stack_data/26700942.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gomp_barrier_reinit ## -- Begin function gomp_barrier_reinit
.p2align 4, 0x90
_gomp_barrier_reinit: ## @gomp_barrier_reinit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
leaq 4(%rdi), %r15
movq %r15, %rdi
callq _gomp_mutex_lock
movl %r14d, (%rbx)
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _gomp_mutex_unlock ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gomp_barrier_reinit ; -- Begin function gomp_barrier_reinit
.p2align 2
_gomp_barrier_reinit: ; @gomp_barrier_reinit
.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
add x21, x0, #4
mov x0, x21
bl _gomp_mutex_lock
str w19, [x20]
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _gomp_mutex_unlock
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcclibs/libgomp/config/posix/extr_bar.c_gomp_barrier_reinit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function device_remove_lockspace
_device_remove_lockspace: ## @device_remove_lockspace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _CAP_SYS_ADMIN@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _capable
testl %eax, %eax
je LBB0_1
## %bb.3:
movl 4(%r14), %edi
callq _dlm_find_lockspace_device
testq %rax, %rax
je LBB0_4
## %bb.5:
movq _DLM_USER_LSFLG_FORCEFREE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
xorl %ebx, %ebx
andl (%r14), %ecx
setne %bl
addl %ebx, %ebx
movq (%rax), %r14
movq %rax, %rdi
callq _dlm_put_lockspace
movq %r14, %rdi
movl %ebx, %esi
callq _dlm_release_lockspace
movl %eax, %ecx
sarl $31, %ecx
andl %ecx, %eax
jmp LBB0_6
LBB0_1:
movq _EPERM@GOTPCREL(%rip), %rcx
jmp LBB0_2
LBB0_4:
movq _ENOENT@GOTPCREL(%rip), %rcx
LBB0_2:
xorl %eax, %eax
subl (%rcx), %eax
LBB0_6:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CAP_SYS_ADMIN,4,2 ## @CAP_SYS_ADMIN
.comm _EPERM,4,2 ## @EPERM
.comm _ENOENT,4,2 ## @ENOENT
.comm _DLM_USER_LSFLG_FORCEFREE,4,2 ## @DLM_USER_LSFLG_FORCEFREE
.no_dead_strip _device_remove_lockspace
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function device_remove_lockspace
_device_remove_lockspace: ; @device_remove_lockspace
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _CAP_SYS_ADMIN@GOTPAGE
Lloh1:
ldr x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _capable
cbz w0, LBB0_3
; %bb.1:
ldr w0, [x19, #4]
bl _dlm_find_lockspace_device
cbz x0, LBB0_4
; %bb.2:
Lloh3:
adrp x8, _DLM_USER_LSFLG_FORCEFREE@GOTPAGE
Lloh4:
ldr x8, [x8, _DLM_USER_LSFLG_FORCEFREE@GOTPAGEOFF]
ldr w9, [x19]
Lloh5:
ldr w8, [x8]
tst w8, w9
cset w8, ne
lsl w19, w8, #1
ldr x20, [x0]
bl _dlm_put_lockspace
mov x0, x20
mov x1, x19
bl _dlm_release_lockspace
cmp w0, #0
csel w0, w0, wzr, lt
b LBB0_6
LBB0_3:
Lloh6:
adrp x8, _EPERM@GOTPAGE
Lloh7:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh8:
adrp x8, _ENOENT@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_5:
ldr w8, [x8]
neg w0, w8
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _CAP_SYS_ADMIN,4,2 ; @CAP_SYS_ADMIN
.comm _EPERM,4,2 ; @EPERM
.comm _ENOENT,4,2 ; @ENOENT
.comm _DLM_USER_LSFLG_FORCEFREE,4,2 ; @DLM_USER_LSFLG_FORCEFREE
.no_dead_strip _device_remove_lockspace
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/dlm/extr_user.c_device_remove_lockspace.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xfs_mod_frextents ## -- Begin function xfs_mod_frextents
.p2align 4, 0x90
_xfs_mod_frextents: ## @xfs_mod_frextents
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r15
callq _spin_lock
addq 8(%r15), %rbx
js LBB0_1
## %bb.2:
movq %rbx, 8(%r15)
xorl %r14d, %r14d
jmp LBB0_3
LBB0_1:
movq _ENOSPC@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_3:
movq %r15, %rdi
callq _spin_unlock
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOSPC,4,2 ## @ENOSPC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xfs_mod_frextents ; -- Begin function xfs_mod_frextents
.p2align 2
_xfs_mod_frextents: ; @xfs_mod_frextents
.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 _spin_lock
ldr x8, [x19, #8]
adds x8, x8, x20
b.mi LBB0_2
; %bb.1:
mov w20, #0
str x8, [x19, #8]
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _ENOSPC@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w20, w8
LBB0_3:
mov x0, x19
bl _spin_unlock
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOSPC,4,2 ; @ENOSPC
.subsections_via_symbols
| AnghaBench/linux/fs/xfs/extr_xfs_mount.c_xfs_mod_frextents.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Validate
_Validate: ## @Validate
.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, %r15
movq %rdi, %r14
testq %rsi, %rsi
je LBB0_1
## %bb.2:
xorl %ebx, %ebx
leaq _Validate.ppsz_mod_ext(%rip), %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%r12), %rsi
movq %r15, %rdi
callq _strcasecmp
testl %eax, %eax
sete %r13b
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 8(%rbx), %rax
cmpq $168, %rbx
movq %rax, %rbx
jne LBB0_3
jmp LBB0_5
LBB0_1:
xorl %r13d, %r13d
LBB0_5:
movl (%r14), %edi
leaq -48(%rbp), %rsi
movl $2048, %edx ## imm = 0x800
callq _vlc_stream_Peek
## kill: def $eax killed $eax def $rax
cmpl $4, %eax
jl LBB0_34
## %bb.6:
movq %r15, -64(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp) ## 8-byte Spill
movl $8, %r14d
jmp LBB0_7
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
addq $16, %r14
cmpq $744, %r14 ## imm = 0x2E8
je LBB0_11
LBB0_7: ## =>This Inner Loop Header: Depth=1
leaq _Validate.p_marker(%rip), %r15
movq (%r14,%r15), %r12
movq %r12, %rdi
callq _strlen
movl %eax, %ebx
movslq -8(%r14,%r15), %rdi
leal (%rdi,%rbx), %eax
cmpl %eax, -56(%rbp) ## 4-byte Folded Reload
jl LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
addq -48(%rbp), %rdi
movq %r12, %rsi
movl %ebx, %edx
callq _memcmp
cmpl $4, %ebx
setge %cl
testl %eax, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
orb %r13b, %cl
je LBB0_10
LBB0_44:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_45
LBB0_11:
movq -64(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
je LBB0_34
## %bb.12:
leaq L_.str.67(%rip), %rsi
movq %rbx, %rdi
callq _strcasecmp
testl %eax, %eax
je LBB0_13
## %bb.26:
leaq L_.str.46(%rip), %rsi
movq %rbx, %rdi
callq _strcasecmp
testl %eax, %eax
jne LBB0_34
## %bb.27:
cmpl $470, -56(%rbp) ## 4-byte Folded Reload
## imm = 0x1D6
jl LBB0_34
## %bb.28:
movq -48(%rbp), %rdi
xorl %esi, %esi
movl $20, %edx
callq _memchr
testq %rax, %rax
je LBB0_29
## %bb.30:
movq -48(%rbp), %rcx
leaq 20(%rcx), %rdx
cmpq %rdx, %rax
jae LBB0_29
## %bb.31:
subq %rax, %rcx
addq $20, %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_33: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rax,%rdx)
jne LBB0_34
## %bb.32: ## in Loop: Header=BB0_33 Depth=1
incq %rdx
cmpq %rdx, %rcx
jne LBB0_33
LBB0_29:
movb $1, %r14b
xorl %ebx, %ebx
movq _VLC_EGENERIC@GOTPCREL(%rip), %r15
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_40 Depth 2
movq -48(%rbp), %rax
movq %rbx, %rcx
shlq $5, %rcx
subq %rbx, %rcx
subq %rbx, %rcx
leaq (%rcx,%rax), %r12
addq $20, %r12
movq %r12, %rdi
xorl %esi, %esi
movl $22, %edx
callq _memchr
testq %rax, %rax
je LBB0_42
## %bb.37: ## in Loop: Header=BB0_36 Depth=1
leaq 22(%r12), %rcx
cmpq %rcx, %rax
jae LBB0_42
.p2align 4, 0x90
LBB0_40: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $0, (%rax)
jne LBB0_41
## %bb.38: ## in Loop: Header=BB0_40 Depth=2
incq %rax
cmpq %rcx, %rax
jb LBB0_40
LBB0_42: ## in Loop: Header=BB0_36 Depth=1
cmpb $65, 25(%r12)
movl (%r15), %eax
jge LBB0_43
## %bb.35: ## in Loop: Header=BB0_36 Depth=1
cmpq $14, %rbx
leaq 1(%rbx), %rcx
setb %r14b
movq %rcx, %rbx
cmpq $15, %rcx
jne LBB0_36
jmp LBB0_43
LBB0_34:
movq _VLC_EGENERIC@GOTPCREL(%rip), %rax
LBB0_45:
movl (%rax), %eax
LBB0_46:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
xorl %r8d, %r8d
movl $0, %edx
movq -56(%rbp), %rax ## 8-byte Reload
cmpl $2, %eax
jl LBB0_20
## %bb.14:
decl %eax
movq -48(%rbp), %rcx
xorl %esi, %esi
xorl %edx, %edx
xorl %r8d, %r8d
jmp LBB0_15
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_15 Depth=1
cmpb $58, 1(%rcx,%rsi)
leaq 1(%rsi), %rsi
sete %dil
LBB0_25: ## in Loop: Header=BB0_15 Depth=1
movzbl %dil, %edi
orl %edi, %edx
cmpq %rax, %rsi
je LBB0_19
LBB0_15: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rsi), %ebx
cmpb $75, %bl
je LBB0_23
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
cmpb $84, %bl
je LBB0_24
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
cmpb $88, %bl
je LBB0_24
## %bb.18: ## in Loop: Header=BB0_15 Depth=1
incq %rsi
xorl %edi, %edi
jmp LBB0_25
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_15 Depth=1
xorl %edi, %edi
cmpb $58, 1(%rcx,%rsi)
leaq 1(%rsi), %rsi
sete %dil
orl %edi, %r8d
xorl %edi, %edi
jmp LBB0_25
LBB0_41:
movl (%r15), %eax
LBB0_43:
testb $1, %r14b
je LBB0_44
jmp LBB0_46
LBB0_19:
testl %edx, %edx
setne %dl
LBB0_20:
movq _VLC_EGENERIC@GOTPCREL(%rip), %rcx
movq %rcx, %rsi
testb %dl, %dl
je LBB0_22
## %bb.21:
movq _VLC_SUCCESS@GOTPCREL(%rip), %rsi
LBB0_22:
testl %r8d, %r8d
cmovneq %rsi, %rcx
movl (%rcx), %eax
jmp LBB0_46
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @Validate.p_marker
_Validate.p_marker:
.long 0 ## 0x0
.space 4
.quad L_.str
.long 0 ## 0x0
.space 4
.quad L_.str.1
.long 44 ## 0x2c
.space 4
.quad L_.str.2
.long 0 ## 0x0
.space 4
.quad L_.str.3
.long 0 ## 0x0
.space 4
.quad L_.str.4
.long 20 ## 0x14
.space 4
.quad L_.str.5
.long 20 ## 0x14
.space 4
.quad L_.str.6
.long 20 ## 0x14
.space 4
.quad L_.str.7
.long 0 ## 0x0
.space 4
.quad L_.str.8
.long 0 ## 0x0
.space 4
.quad L_.str.9
.long 0 ## 0x0
.space 4
.quad L_.str.10
.long 0 ## 0x0
.space 4
.quad L_.str.11
.long 0 ## 0x0
.space 4
.quad L_.str.12
.long 0 ## 0x0
.space 4
.quad L_.str.13
.long 0 ## 0x0
.space 4
.quad L_.str.14
.long 0 ## 0x0
.space 4
.quad L_.str.15
.long 0 ## 0x0
.space 4
.quad L_.str.16
.long 0 ## 0x0
.space 4
.quad L_.str.17
.long 0 ## 0x0
.space 4
.quad L_.str.18
.long 0 ## 0x0
.space 4
.quad L_.str.19
.long 44 ## 0x2c
.space 4
.quad L_.str.20
.long 0 ## 0x0
.space 4
.quad L_.str.21
.long 0 ## 0x0
.space 4
.quad L_.str.22
.long 8 ## 0x8
.space 4
.quad L_.str.23
.long 0 ## 0x0
.space 4
.quad L_.str.24
.long 0 ## 0x0
.space 4
.quad L_.str.25
.long 0 ## 0x0
.space 4
.quad L_.str.26
.long 0 ## 0x0
.space 4
.quad L_.str.27
.long 0 ## 0x0
.space 4
.quad L_.str.28
.long 0 ## 0x0
.space 4
.quad L_.str.29
.long 1080 ## 0x438
.space 4
.quad L_.str.30
.long 1080 ## 0x438
.space 4
.quad L_.str.31
.long 1080 ## 0x438
.space 4
.quad L_.str.32
.long 1080 ## 0x438
.space 4
.quad L_.str.33
.long 1080 ## 0x438
.space 4
.quad L_.str.34
.long 1080 ## 0x438
.space 4
.quad L_.str.35
.long 1080 ## 0x438
.space 4
.quad L_.str.36
.long 1080 ## 0x438
.space 4
.quad L_.str.37
.long 1080 ## 0x438
.space 4
.quad L_.str.38
.long 1080 ## 0x438
.space 4
.quad L_.str.39
.long 1080 ## 0x438
.space 4
.quad L_.str.40
.long 1080 ## 0x438
.space 4
.quad L_.str.41
.long 1080 ## 0x438
.space 4
.quad L_.str.42
.long 1080 ## 0x438
.space 4
.quad L_.str.43
.long 1081 ## 0x439
.space 4
.quad L_.str.44
.long 1082 ## 0x43a
.space 4
.quad L_.str.45
.long 4294967295 ## 0xffffffff
.space 4
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ziRCONia"
L_.str.1: ## @.str.1
.asciz "Extended Module"
L_.str.2: ## @.str.2
.asciz "SCRM"
L_.str.3: ## @.str.3
.asciz "IMPM"
L_.str.4: ## @.str.4
.asciz "GF1PATCH110"
L_.str.5: ## @.str.5
.asciz "!SCREAM!"
L_.str.6: ## @.str.6
.asciz "!Scream!"
L_.str.7: ## @.str.7
.asciz "BMOD2STM"
L_.str.8: ## @.str.8
.asciz "MMD0"
L_.str.9: ## @.str.9
.asciz "MMD1"
L_.str.10: ## @.str.10
.asciz "MMD2"
L_.str.11: ## @.str.11
.asciz "MMD3"
L_.str.12: ## @.str.12
.asciz "MTM"
L_.str.13: ## @.str.13
.asciz "DMDL"
L_.str.14: ## @.str.14
.asciz "DBM0"
L_.str.15: ## @.str.15
.asciz "if"
L_.str.16: ## @.str.16
.asciz "JN"
L_.str.17: ## @.str.17
.asciz "FAR\376"
L_.str.18: ## @.str.18
.asciz "Extreme"
L_.str.19: ## @.str.19
.asciz "OKTASONGCMOD"
L_.str.20: ## @.str.20
.asciz "PTMF"
L_.str.21: ## @.str.21
.asciz "MAS_UTrack_V00"
L_.str.22: ## @.str.22
.asciz "DDMF"
L_.str.23: ## @.str.23
.asciz "DSMFSONG"
L_.str.24: ## @.str.24
.asciz "\301\203*\236"
L_.str.25: ## @.str.25
.asciz "ASYLUM Music Format V1.0"
L_.str.26: ## @.str.26
.asciz "AMF"
L_.str.27: ## @.str.27
.asciz "PSM\376"
L_.str.28: ## @.str.28
.asciz "PSM "
L_.str.29: ## @.str.29
.asciz "MT20"
L_.str.30: ## @.str.30
.asciz "M.K."
L_.str.31: ## @.str.31
.asciz "M!K!"
L_.str.32: ## @.str.32
.asciz "M&K!"
L_.str.33: ## @.str.33
.asciz "N.T."
L_.str.34: ## @.str.34
.asciz "CD81"
L_.str.35: ## @.str.35
.asciz "OKTA"
L_.str.36: ## @.str.36
.asciz "16CN"
L_.str.37: ## @.str.37
.asciz "32CN"
L_.str.38: ## @.str.38
.asciz "FLT4"
L_.str.39: ## @.str.39
.asciz "FLT8"
L_.str.40: ## @.str.40
.asciz "6CHN"
L_.str.41: ## @.str.41
.asciz "8CHN"
L_.str.42: ## @.str.42
.asciz "FLT"
L_.str.43: ## @.str.43
.asciz "TDZ"
L_.str.44: ## @.str.44
.asciz "CHN"
L_.str.45: ## @.str.45
.asciz "CH"
.section __DATA,__const
.p2align 4 ## @Validate.ppsz_mod_ext
_Validate.ppsz_mod_ext:
.quad L_.str.46
.quad L_.str.47
.quad L_.str.48
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.66
.quad L_.str.67
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.46: ## @.str.46
.asciz "mod"
L_.str.47: ## @.str.47
.asciz "s3m"
L_.str.48: ## @.str.48
.asciz "xm"
L_.str.49: ## @.str.49
.asciz "it"
L_.str.50: ## @.str.50
.asciz "669"
L_.str.51: ## @.str.51
.asciz "amf"
L_.str.52: ## @.str.52
.asciz "ams"
L_.str.53: ## @.str.53
.asciz "dbm"
L_.str.54: ## @.str.54
.asciz "dmf"
L_.str.55: ## @.str.55
.asciz "dsm"
L_.str.56: ## @.str.56
.asciz "far"
L_.str.57: ## @.str.57
.asciz "mdl"
L_.str.58: ## @.str.58
.asciz "med"
L_.str.59: ## @.str.59
.asciz "mtm"
L_.str.60: ## @.str.60
.asciz "okt"
L_.str.61: ## @.str.61
.asciz "ptm"
L_.str.62: ## @.str.62
.asciz "stm"
L_.str.63: ## @.str.63
.asciz "ult"
L_.str.64: ## @.str.64
.asciz "umx"
L_.str.65: ## @.str.65
.asciz "mt2"
L_.str.66: ## @.str.66
.asciz "psm"
L_.str.67: ## @.str.67
.asciz "abc"
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _Validate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Validate
_Validate: ; @Validate
.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
cbz x1, LBB0_4
; %bb.1:
mov x21, #0
Lloh0:
adrp x22, _Validate.ppsz_mod_ext@PAGE
Lloh1:
add x22, x22, _Validate.ppsz_mod_ext@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x1, [x22, x21]
mov x0, x19
bl _strcasecmp
cmp w0, #0
cset w23, eq
cbz w0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x8, x21, #8
cmp x21, #168
mov x21, x8
b.ne LBB0_2
b LBB0_5
LBB0_4:
mov w23, #0
LBB0_5:
ldr w0, [x20]
add x1, sp, #8
mov w2, #2048
bl _vlc_stream_Peek
cmp w0, #4
b.lt LBB0_27
; %bb.6:
mov x20, x0
mov x24, #0
Lloh2:
adrp x25, _Validate.p_marker@PAGE
Lloh3:
add x25, x25, _Validate.p_marker@PAGEOFF
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x24, x24, #16
cmp x24, #736
b.eq LBB0_12
LBB0_8: ; =>This Inner Loop Header: Depth=1
add x26, x25, x24
ldr x21, [x26, #8]
mov x0, x21
bl _strlen
ldrsw x8, [x26]
add w9, w8, w0
cmp w20, w9
b.lt LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
mov x22, x0
ldr x9, [sp, #8]
add x0, x9, x8
mov x1, x21
mov x2, x22
bl _memcmp
cmp w22, #3
cset w8, gt
cbnz w0, LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
orr w8, w23, w8
tbz w8, #0, LBB0_7
; %bb.11:
Lloh4:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh5:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
b LBB0_28
LBB0_12:
cbz x19, LBB0_27
; %bb.13:
Lloh6:
adrp x1, l_.str.67@PAGE
Lloh7:
add x1, x1, l_.str.67@PAGEOFF
mov x0, x19
bl _strcasecmp
cbz w0, LBB0_30
; %bb.14:
Lloh8:
adrp x1, l_.str.46@PAGE
Lloh9:
add x1, x1, l_.str.46@PAGEOFF
mov x0, x19
bl _strcasecmp
cbnz w0, LBB0_27
; %bb.15:
cmp w20, #470
b.lt LBB0_27
; %bb.16:
ldr x0, [sp, #8]
mov w1, #0
mov w2, #20
bl _memchr
cbz x0, LBB0_21
; %bb.17:
ldr x8, [sp, #8]
add x9, x8, #20
cmp x0, x9
b.hs LBB0_21
; %bb.18:
sub x8, x8, x0
add x8, x8, #20
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x0]
cbnz w9, LBB0_27
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
add x0, x0, #1
subs x8, x8, #1
b.ne LBB0_19
LBB0_21:
mov x21, #0
mov w20, #1
mov w22, #30
Lloh10:
adrp x23, _VLC_EGENERIC@GOTPAGE
Lloh11:
ldr x23, [x23, _VLC_EGENERIC@GOTPAGEOFF]
LBB0_22: ; =>This Loop Header: Depth=1
; Child Loop BB0_25 Depth 2
ldr x8, [sp, #8]
madd x8, x21, x22, x8
add x19, x8, #20
mov x0, x19
mov w1, #0
mov w2, #22
bl _memchr
cmp x0, #0
add x8, x19, #22
ccmp x0, x8, #2, ne
b.lo LBB0_25
LBB0_23: ; in Loop: Header=BB0_22 Depth=1
ldrsb w9, [x19, #25]
ldr w8, [x23]
cmp w9, #65
b.ge LBB0_40
; %bb.24: ; in Loop: Header=BB0_22 Depth=1
cmp x21, #14
add x9, x21, #1
cset w20, lo
mov x21, x9
cmp x9, #15
b.ne LBB0_22
b LBB0_40
LBB0_25: ; Parent Loop BB0_22 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x0]
cbnz w9, LBB0_39
; %bb.26: ; in Loop: Header=BB0_25 Depth=2
add x0, x0, #1
cmp x0, x8
b.lo LBB0_25
b LBB0_23
LBB0_27:
Lloh12:
adrp x8, _VLC_EGENERIC@GOTPAGE
Lloh13:
ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF]
LBB0_28:
ldr w0, [x8]
LBB0_29:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_30:
cmp w20, #2
b.lt LBB0_41
; %bb.31:
mov x10, #0
mov w9, #0
mov w8, #0
sub w11, w20, #1
ldr x12, [sp, #8]
b LBB0_34
LBB0_32: ; in Loop: Header=BB0_34 Depth=1
add x10, x10, #1
ldrb w13, [x12, x10]
cmp w13, #58
cset w13, eq
LBB0_33: ; in Loop: Header=BB0_34 Depth=1
orr w9, w9, w13
cmp x10, x11
b.eq LBB0_42
LBB0_34: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x12, x10]
cmp w13, #75
b.eq LBB0_38
; %bb.35: ; in Loop: Header=BB0_34 Depth=1
cmp w13, #84
b.eq LBB0_32
; %bb.36: ; in Loop: Header=BB0_34 Depth=1
cmp w13, #88
b.eq LBB0_32
; %bb.37: ; in Loop: Header=BB0_34 Depth=1
mov w13, #0
add x10, x10, #1
b LBB0_33
LBB0_38: ; in Loop: Header=BB0_34 Depth=1
mov w13, #0
add x10, x10, #1
ldrb w14, [x12, x10]
cmp w14, #58
cset w14, eq
orr w8, w8, w14
b LBB0_33
LBB0_39:
ldr w8, [x23]
LBB0_40:
Lloh14:
adrp x9, _VLC_SUCCESS@GOTPAGE
Lloh15:
ldr x9, [x9, _VLC_SUCCESS@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
tst w20, #0x1
csel w0, w8, w9, ne
b LBB0_29
LBB0_41:
mov w8, #0
mov w9, #0
b LBB0_43
LBB0_42:
cmp w9, #0
cset w9, ne
LBB0_43:
cmp w8, #0
Lloh17:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh18:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
cset w10, ne
Lloh19:
adrp x11, _VLC_EGENERIC@GOTPAGE
Lloh20:
ldr x11, [x11, _VLC_EGENERIC@GOTPAGEOFF]
tst w10, w9
csel x8, x8, x11, ne
b LBB0_28
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @Validate.p_marker
_Validate.p_marker:
.long 0 ; 0x0
.space 4
.quad l_.str
.long 0 ; 0x0
.space 4
.quad l_.str.1
.long 44 ; 0x2c
.space 4
.quad l_.str.2
.long 0 ; 0x0
.space 4
.quad l_.str.3
.long 0 ; 0x0
.space 4
.quad l_.str.4
.long 20 ; 0x14
.space 4
.quad l_.str.5
.long 20 ; 0x14
.space 4
.quad l_.str.6
.long 20 ; 0x14
.space 4
.quad l_.str.7
.long 0 ; 0x0
.space 4
.quad l_.str.8
.long 0 ; 0x0
.space 4
.quad l_.str.9
.long 0 ; 0x0
.space 4
.quad l_.str.10
.long 0 ; 0x0
.space 4
.quad l_.str.11
.long 0 ; 0x0
.space 4
.quad l_.str.12
.long 0 ; 0x0
.space 4
.quad l_.str.13
.long 0 ; 0x0
.space 4
.quad l_.str.14
.long 0 ; 0x0
.space 4
.quad l_.str.15
.long 0 ; 0x0
.space 4
.quad l_.str.16
.long 0 ; 0x0
.space 4
.quad l_.str.17
.long 0 ; 0x0
.space 4
.quad l_.str.18
.long 0 ; 0x0
.space 4
.quad l_.str.19
.long 44 ; 0x2c
.space 4
.quad l_.str.20
.long 0 ; 0x0
.space 4
.quad l_.str.21
.long 0 ; 0x0
.space 4
.quad l_.str.22
.long 8 ; 0x8
.space 4
.quad l_.str.23
.long 0 ; 0x0
.space 4
.quad l_.str.24
.long 0 ; 0x0
.space 4
.quad l_.str.25
.long 0 ; 0x0
.space 4
.quad l_.str.26
.long 0 ; 0x0
.space 4
.quad l_.str.27
.long 0 ; 0x0
.space 4
.quad l_.str.28
.long 0 ; 0x0
.space 4
.quad l_.str.29
.long 1080 ; 0x438
.space 4
.quad l_.str.30
.long 1080 ; 0x438
.space 4
.quad l_.str.31
.long 1080 ; 0x438
.space 4
.quad l_.str.32
.long 1080 ; 0x438
.space 4
.quad l_.str.33
.long 1080 ; 0x438
.space 4
.quad l_.str.34
.long 1080 ; 0x438
.space 4
.quad l_.str.35
.long 1080 ; 0x438
.space 4
.quad l_.str.36
.long 1080 ; 0x438
.space 4
.quad l_.str.37
.long 1080 ; 0x438
.space 4
.quad l_.str.38
.long 1080 ; 0x438
.space 4
.quad l_.str.39
.long 1080 ; 0x438
.space 4
.quad l_.str.40
.long 1080 ; 0x438
.space 4
.quad l_.str.41
.long 1080 ; 0x438
.space 4
.quad l_.str.42
.long 1080 ; 0x438
.space 4
.quad l_.str.43
.long 1081 ; 0x439
.space 4
.quad l_.str.44
.long 1082 ; 0x43a
.space 4
.quad l_.str.45
.long 4294967295 ; 0xffffffff
.space 4
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ziRCONia"
l_.str.1: ; @.str.1
.asciz "Extended Module"
l_.str.2: ; @.str.2
.asciz "SCRM"
l_.str.3: ; @.str.3
.asciz "IMPM"
l_.str.4: ; @.str.4
.asciz "GF1PATCH110"
l_.str.5: ; @.str.5
.asciz "!SCREAM!"
l_.str.6: ; @.str.6
.asciz "!Scream!"
l_.str.7: ; @.str.7
.asciz "BMOD2STM"
l_.str.8: ; @.str.8
.asciz "MMD0"
l_.str.9: ; @.str.9
.asciz "MMD1"
l_.str.10: ; @.str.10
.asciz "MMD2"
l_.str.11: ; @.str.11
.asciz "MMD3"
l_.str.12: ; @.str.12
.asciz "MTM"
l_.str.13: ; @.str.13
.asciz "DMDL"
l_.str.14: ; @.str.14
.asciz "DBM0"
l_.str.15: ; @.str.15
.asciz "if"
l_.str.16: ; @.str.16
.asciz "JN"
l_.str.17: ; @.str.17
.asciz "FAR\376"
l_.str.18: ; @.str.18
.asciz "Extreme"
l_.str.19: ; @.str.19
.asciz "OKTASONGCMOD"
l_.str.20: ; @.str.20
.asciz "PTMF"
l_.str.21: ; @.str.21
.asciz "MAS_UTrack_V00"
l_.str.22: ; @.str.22
.asciz "DDMF"
l_.str.23: ; @.str.23
.asciz "DSMFSONG"
l_.str.24: ; @.str.24
.asciz "\301\203*\236"
l_.str.25: ; @.str.25
.asciz "ASYLUM Music Format V1.0"
l_.str.26: ; @.str.26
.asciz "AMF"
l_.str.27: ; @.str.27
.asciz "PSM\376"
l_.str.28: ; @.str.28
.asciz "PSM "
l_.str.29: ; @.str.29
.asciz "MT20"
l_.str.30: ; @.str.30
.asciz "M.K."
l_.str.31: ; @.str.31
.asciz "M!K!"
l_.str.32: ; @.str.32
.asciz "M&K!"
l_.str.33: ; @.str.33
.asciz "N.T."
l_.str.34: ; @.str.34
.asciz "CD81"
l_.str.35: ; @.str.35
.asciz "OKTA"
l_.str.36: ; @.str.36
.asciz "16CN"
l_.str.37: ; @.str.37
.asciz "32CN"
l_.str.38: ; @.str.38
.asciz "FLT4"
l_.str.39: ; @.str.39
.asciz "FLT8"
l_.str.40: ; @.str.40
.asciz "6CHN"
l_.str.41: ; @.str.41
.asciz "8CHN"
l_.str.42: ; @.str.42
.asciz "FLT"
l_.str.43: ; @.str.43
.asciz "TDZ"
l_.str.44: ; @.str.44
.asciz "CHN"
l_.str.45: ; @.str.45
.asciz "CH"
.section __DATA,__const
.p2align 3 ; @Validate.ppsz_mod_ext
_Validate.ppsz_mod_ext:
.quad l_.str.46
.quad l_.str.47
.quad l_.str.48
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.66
.quad l_.str.67
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.46: ; @.str.46
.asciz "mod"
l_.str.47: ; @.str.47
.asciz "s3m"
l_.str.48: ; @.str.48
.asciz "xm"
l_.str.49: ; @.str.49
.asciz "it"
l_.str.50: ; @.str.50
.asciz "669"
l_.str.51: ; @.str.51
.asciz "amf"
l_.str.52: ; @.str.52
.asciz "ams"
l_.str.53: ; @.str.53
.asciz "dbm"
l_.str.54: ; @.str.54
.asciz "dmf"
l_.str.55: ; @.str.55
.asciz "dsm"
l_.str.56: ; @.str.56
.asciz "far"
l_.str.57: ; @.str.57
.asciz "mdl"
l_.str.58: ; @.str.58
.asciz "med"
l_.str.59: ; @.str.59
.asciz "mtm"
l_.str.60: ; @.str.60
.asciz "okt"
l_.str.61: ; @.str.61
.asciz "ptm"
l_.str.62: ; @.str.62
.asciz "stm"
l_.str.63: ; @.str.63
.asciz "ult"
l_.str.64: ; @.str.64
.asciz "umx"
l_.str.65: ; @.str.65
.asciz "mt2"
l_.str.66: ; @.str.66
.asciz "psm"
l_.str.67: ; @.str.67
.asciz "abc"
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _Validate
.subsections_via_symbols
| AnghaBench/vlc/modules/demux/extr_mod.c_Validate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/148579048.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function transform_1
_transform_1: ## @transform_1
.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, %r15
movq (%rdi), %rax
movq _rm_repeat@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.1:
movq %r15, %rdi
callq _REGEXP_REPEAT
movl (%rax), %r12d
xorl %edi, %edi
cmpl $2, %r12d
setge %dil
callq _gcc_assert
movq %r15, %rdi
callq _REGEXP_REPEAT
movq 8(%rax), %r14
movq (%r15), %rbx
leal -4(,%r12,8), %edi
callq _create_node
movq %rax, %r15
movq _rm_sequence@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r15)
movq %rbx, 8(%r15)
movq %r15, %rdi
callq _REGEXP_SEQUENCE
movl %r12d, (%rax)
testl %r12d, %r12d
jle LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _copy_insn_regexp
movl %eax, %r13d
movq %r15, %rdi
callq _REGEXP_SEQUENCE
movq 8(%rax), %rax
movl %r13d, (%rax,%rbx,4)
incq %rbx
cmpq %rbx, %r12
jne LBB0_3
LBB0_4:
movq _regexp_transformed_p@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB0_5:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _rm_repeat,8,3 ## @rm_repeat
.comm _rm_sequence,8,3 ## @rm_sequence
.comm _regexp_transformed_p,4,2 ## @regexp_transformed_p
.no_dead_strip _transform_1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function transform_1
_transform_1: ; @transform_1
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x8, [x0]
Lloh0:
adrp x9, _rm_repeat@GOTPAGE
Lloh1:
ldr x9, [x9, _rm_repeat@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.1:
mov x0, x19
bl _REGEXP_REPEAT
ldr w21, [x0]
cmp w21, #1
cset w0, gt
bl _gcc_assert
mov x0, x19
bl _REGEXP_REPEAT
ldr x20, [x0, #8]
ldr x22, [x19]
lsl w8, w21, #3
sub w0, w8, #4
bl _create_node
mov x19, x0
Lloh3:
adrp x8, _rm_sequence@GOTPAGE
Lloh4:
ldr x8, [x8, _rm_sequence@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
stp x8, x22, [x0]
bl _REGEXP_SEQUENCE
str w21, [x0]
cmp w21, #1
b.lt LBB0_4
; %bb.2:
mov x22, #0
lsl x23, x21, #2
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _copy_insn_regexp
mov x21, x0
mov x0, x19
bl _REGEXP_SEQUENCE
ldr x8, [x0, #8]
str w21, [x8, x22]
add x22, x22, #4
cmp x23, x22
b.ne LBB0_3
LBB0_4:
Lloh6:
adrp x8, _regexp_transformed_p@GOTPAGE
Lloh7:
ldr x8, [x8, _regexp_transformed_p@GOTPAGEOFF]
mov w9, #1
Lloh8:
str w9, [x8]
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _rm_repeat,8,3 ; @rm_repeat
.comm _rm_sequence,8,3 ; @rm_sequence
.comm _regexp_transformed_p,4,2 ; @regexp_transformed_p
.no_dead_strip _transform_1
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_genautomata.c_transform_1.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ov5675_remove
_ov5675_remove: ## @ov5675_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _i2c_get_clientdata
movq %rax, %rbx
movq %rax, %rdi
callq _to_ov5675
movq %rax, %r15
movq %rbx, %rdi
callq _v4l2_async_unregister_subdev
leaq 4(%rbx), %rdi
callq _media_entity_cleanup
movl (%rbx), %edi
callq _v4l2_ctrl_handler_free
movq %r14, %rdi
callq _pm_runtime_disable
movq %r15, %rdi
callq _mutex_destroy
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ov5675_remove
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ov5675_remove
_ov5675_remove: ; @ov5675_remove
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _i2c_get_clientdata
mov x20, x0
bl _to_ov5675
mov x21, x0
mov x0, x20
bl _v4l2_async_unregister_subdev
add x0, x20, #4
bl _media_entity_cleanup
ldr w0, [x20]
bl _v4l2_ctrl_handler_free
mov x0, x19
bl _pm_runtime_disable
mov x0, x21
bl _mutex_destroy
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
.no_dead_strip _ov5675_remove
.subsections_via_symbols
| AnghaBench/linux/drivers/media/i2c/extr_ov5675.c_ov5675_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq 8(%rsi), %rbx
movq 16(%rsi), %rsi
movq %rbx, %rdi
movl $1, %edx
callq _setenv
movq %rbx, %rdi
callq _getenv
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _printf
jmp LBB0_3
LBB0_1:
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s not defined\n"
L_.str.1: ## @.str.1
.asciz "%s = %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:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldp x19, x1, [x1, #8]
mov x0, x19
mov w2, #1
bl _setenv
mov x0, x19
bl _getenv
cbz x0, LBB0_2
; %bb.1:
stp x19, x0, [sp]
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2:
str x19, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
LBB0_3:
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s not defined\n"
l_.str.1: ; @.str.1
.asciz "%s = %s\n"
.subsections_via_symbols
| the_stack_data/20449892.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _relay_subbufs_consumed ## -- Begin function relay_subbufs_consumed
.p2align 4, 0x90
_relay_subbufs_consumed: ## @relay_subbufs_consumed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_5
## %bb.1:
movq _NR_CPUS@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
jbe LBB0_5
## %bb.2:
movq %rdx, %r14
movq %rdi, %rbx
movl 8(%rdi), %edi
callq _per_cpu_ptr
movq (%rax), %rax
testq %rax, %rax
je LBB0_5
## %bb.3:
cmpq %r14, (%rbx)
jb LBB0_5
## %bb.4:
movq (%rax), %rcx
movq 8(%rax), %rdx
movq %rcx, %rsi
subq %rdx, %rsi
addq %r14, %rdx
cmpq %r14, %rsi
cmovbq %rcx, %rdx
movq %rdx, 8(%rax)
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NR_CPUS,4,2 ## @NR_CPUS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _relay_subbufs_consumed ; -- Begin function relay_subbufs_consumed
.p2align 2
_relay_subbufs_consumed: ; @relay_subbufs_consumed
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _NR_CPUS@GOTPAGE
Lloh1:
ldr x8, [x8, _NR_CPUS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w1
b.ls LBB0_5
; %bb.2:
mov x19, x2
mov x20, x0
ldr w0, [x0, #8]
bl _per_cpu_ptr
ldr x8, [x0]
cbz x8, LBB0_5
; %bb.3:
ldr x9, [x20]
cmp x9, x19
b.lo LBB0_5
; %bb.4:
ldp x9, x10, [x8]
add x11, x10, x19
sub x10, x9, x10
cmp x10, x19
csel x9, x9, x11, lo
str x9, [x8, #8]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NR_CPUS,4,2 ; @NR_CPUS
.subsections_via_symbols
| AnghaBench/linux/kernel/extr_relay.c_relay_subbufs_consumed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _posix_spawnattr_set_persona_uid_np ## -- Begin function posix_spawnattr_set_persona_uid_np
.p2align 4, 0x90
_posix_spawnattr_set_persona_uid_np: ## @posix_spawnattr_set_persona_uid_np
.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:
movq (%rax), %rax
testq %rax, %rax
je LBB0_2
## %bb.4:
movl (%rax), %ecx
movq _POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE@GOTPCREL(%rip), %rdx
movq _POSIX_SPAWN_PERSONA_FLAGS_VERIFY@GOTPCREL(%rip), %rdi
movl (%rdi), %edi
orl (%rdx), %edi
testl %ecx, %edi
je LBB0_2
## %bb.5:
movl %esi, 4(%rax)
movq _POSIX_SPAWN_PERSONA_UID@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl %ecx, (%rax)
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
.comm _POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE,4,2 ## @POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE
.comm _POSIX_SPAWN_PERSONA_FLAGS_VERIFY,4,2 ## @POSIX_SPAWN_PERSONA_FLAGS_VERIFY
.comm _POSIX_SPAWN_PERSONA_UID,4,2 ## @POSIX_SPAWN_PERSONA_UID
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _posix_spawnattr_set_persona_uid_np ; -- Begin function posix_spawnattr_set_persona_uid_np
.p2align 2
_posix_spawnattr_set_persona_uid_np: ; @posix_spawnattr_set_persona_uid_np
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
ldr x8, [x0]
cbz x8, LBB0_5
; %bb.2:
ldr x8, [x8]
cbz x8, LBB0_5
; %bb.3:
ldr w9, [x8]
Lloh0:
adrp x10, _POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE@GOTPAGE
Lloh1:
ldr x10, [x10, _POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
Lloh3:
adrp x11, _POSIX_SPAWN_PERSONA_FLAGS_VERIFY@GOTPAGE
Lloh4:
ldr x11, [x11, _POSIX_SPAWN_PERSONA_FLAGS_VERIFY@GOTPAGEOFF]
Lloh5:
ldr w11, [x11]
orr w10, w11, w10
tst w10, w9
b.eq LBB0_5
; %bb.4:
mov w0, #0
Lloh6:
adrp x10, _POSIX_SPAWN_PERSONA_UID@GOTPAGE
Lloh7:
ldr x10, [x10, _POSIX_SPAWN_PERSONA_UID@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
orr w9, w10, w9
stp w9, w1, [x8]
ret
LBB0_5:
Lloh9:
adrp x8, _EINVAL@GOTPAGE
Lloh10:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE,4,2 ; @POSIX_SPAWN_PERSONA_FLAGS_OVERRIDE
.comm _POSIX_SPAWN_PERSONA_FLAGS_VERIFY,4,2 ; @POSIX_SPAWN_PERSONA_FLAGS_VERIFY
.comm _POSIX_SPAWN_PERSONA_UID,4,2 ; @POSIX_SPAWN_PERSONA_UID
.subsections_via_symbols
| AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c_posix_spawnattr_set_persona_uid_np.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hw_set_add_addr
_hw_set_add_addr: ## @hw_set_add_addr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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 _ADDITIONAL_ENTRIES@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_6
## %bb.1:
movq %rdi, %r14
xorl %ebx, %ebx
movq _ADD_ADDR_INCR@GOTPCREL(%rip), %r12
movq _KS_ADD_ADDR_0_HI@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rax
movl (%rax,%rbx,4), %edx
movq %r14, %rdi
movl %ebx, %esi
callq _hw_ena_add_addr
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jge LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movl (%rax,%rbx,4), %edi
callq _empty_addr
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq (%r12), %rax
movslq %ebx, %rcx
imulq %rax, %rcx
movq (%r13), %rsi
addq 8(%r14), %rsi
addq %rcx, %rsi
xorl %edi, %edi
callq _writel
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
.comm _ADDITIONAL_ENTRIES,4,2 ## @ADDITIONAL_ENTRIES
.comm _ADD_ADDR_INCR,4,2 ## @ADD_ADDR_INCR
.comm _KS_ADD_ADDR_0_HI,8,3 ## @KS_ADD_ADDR_0_HI
.no_dead_strip _hw_set_add_addr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hw_set_add_addr
_hw_set_add_addr: ; @hw_set_add_addr
.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
Lloh0:
adrp x21, _ADDITIONAL_ENTRIES@GOTPAGE
Lloh1:
ldr x21, [x21, _ADDITIONAL_ENTRIES@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov x19, x0
mov x20, #0
Lloh2:
adrp x22, _ADD_ADDR_INCR@GOTPAGE
Lloh3:
ldr x22, [x22, _ADD_ADDR_INCR@GOTPAGEOFF]
Lloh4:
adrp x23, _KS_ADD_ADDR_0_HI@GOTPAGE
Lloh5:
ldr x23, [x23, _KS_ADD_ADDR_0_HI@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19]
ldr w2, [x8, x20, lsl #2]
mov x0, x19
mov x1, x20
bl _hw_ena_add_addr
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x20, x20, #1
ldrsw x8, [x21]
cmp x20, x8
b.ge LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr w0, [x8, x20, lsl #2]
bl _empty_addr
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19, #8]
ldrsw x9, [x22]
sxtw x10, w20
ldr x11, [x23]
add x8, x11, x8
madd x1, x9, x10, x8
mov w0, #0
bl _writel
b LBB0_3
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _ADDITIONAL_ENTRIES,4,2 ; @ADDITIONAL_ENTRIES
.comm _ADD_ADDR_INCR,4,2 ; @ADD_ADDR_INCR
.comm _KS_ADD_ADDR_0_HI,8,3 ; @KS_ADD_ADDR_0_HI
.no_dead_strip _hw_set_add_addr
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_hw_set_add_addr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___tm_to_time ## -- Begin function __tm_to_time
.p2align 4, 0x90
___tm_to_time: ## @__tm_to_time
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq 20(%rdi), %rdx
addq $-100, %rdx
movl 16(%rdi), %r9d
cmpl $12, %r9d
jl LBB0_2
## %bb.1:
movl %r9d, %eax
movl $2863311531, %ecx ## imm = 0xAAAAAAAB
imulq %rax, %rcx
shrq $35, %rcx
addq %rcx, %rdx
shll $2, %ecx
leal (%rcx,%rcx,2), %eax
subl %eax, %r9d
movq %rdx, %r8
jmp LBB0_7
LBB0_2:
testl %r9d, %r9d
js LBB0_4
## %bb.3:
movq %rdx, %r8
jmp LBB0_7
LBB0_4:
negl %r9d
movl $2863311531, %eax ## imm = 0xAAAAAAAB
imulq %r9, %rax
shrq $35, %rax
movl %eax, %ecx
negl %ecx
movslq %ecx, %r8
addq %rdx, %r8
shll $2, %eax
leal (%rax,%rax,2), %eax
subl %eax, %r9d
je LBB0_5
## %bb.6:
movl $12, %eax
subl %r9d, %eax
decq %r8
movl %eax, %r9d
jmp LBB0_7
LBB0_5:
xorl %r9d, %r9d
LBB0_7:
movl 12(%rdi), %edx
cmpl $2, %r9d
movq %r8, %rax
sbbq $0, %rax
movq %rax, %rcx
shrq $2, %rcx
movl $3, %esi
subq %rax, %rsi
shrq $2, %rsi
negq %rsi
testq %rax, %rax
cmovgq %rcx, %rsi
testl %esi, %esi
jle LBB0_8
## %bb.10:
xorl %r10d, %r10d
cmpl $25, %esi
jb LBB0_9
## %bb.11:
movl %esi, %eax
imulq $1374389535, %rax, %rcx ## imm = 0x51EB851F
movq %rcx, %r10
shrq $35, %r10
shrq $37, %rcx
jmp LBB0_12
LBB0_8:
movl $24, %eax
subl %esi, %eax
imulq $1374389535, %rax, %r10 ## imm = 0x51EB851F
shrq $35, %r10
negl %r10d
LBB0_9:
movl $3, %ecx
subl %r10d, %ecx
shrl $2, %ecx
negl %ecx
LBB0_12:
imull $365, %r8d, %eax ## imm = 0x16D
addl %eax, %esi
addl %esi, %edx
subl %r10d, %edx
addl %ecx, %edx
movl %r9d, %eax
leaq l_constinit(%rip), %rcx
addl (%rcx,%rax,4), %edx
movslq %edx, %rax
imulq $86400, %rax, %rax ## imm = 0x15180
movslq 8(%rdi), %rcx
imulq $3600, %rcx, %rcx ## imm = 0xE10
addq %rax, %rcx
movslq 4(%rdi), %rax
imulq $60, %rax, %rax
movslq (%rdi), %rdx
addq %rcx, %rax
addq %rdx, %rax
addq $946684800, %rax ## imm = 0x386D4380
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @constinit
l_constinit:
.long 0 ## 0x0
.long 31 ## 0x1f
.long 59 ## 0x3b
.long 90 ## 0x5a
.long 120 ## 0x78
.long 151 ## 0x97
.long 181 ## 0xb5
.long 212 ## 0xd4
.long 243 ## 0xf3
.long 273 ## 0x111
.long 304 ## 0x130
.long 335 ## 0x14f
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___tm_to_time ; -- Begin function __tm_to_time
.p2align 2
___tm_to_time: ; @__tm_to_time
.cfi_startproc
; %bb.0:
ldp w9, w8, [x0, #16]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
sub x8, x8, #100
cmp w9, #12
b.lt LBB0_2
; %bb.1:
mov w10, #43691
movk w10, #43690, lsl #16
umull x10, w9, w10
lsr x10, x10, #35
add x8, x10, x8
mov w11, #12
msub w9, w10, w11, w9
b LBB0_6
LBB0_2:
tbz w9, #31, LBB0_6
; %bb.3:
neg w10, w9
mov w9, #43691
movk w9, #43690, lsl #16
umull x9, w10, w9
lsr x11, x9, #35
neg w9, w11
add x8, x8, w9, sxtw
mov w9, #12
msub w10, w11, w9, w10
cbz w10, LBB0_5
; %bb.4:
sub w9, w9, w10
sub x8, x8, #1
b LBB0_6
LBB0_5:
mov w9, #0
LBB0_6:
ldr w10, [x0, #12]
cmp w9, #2
cset w11, lo
mov w12, #3
sub x11, x8, x11
sub x12, x12, x11
lsr x13, x11, #2
lsr x12, x12, #2
cmp x11, #0
csneg x11, x13, x12, gt
cmp w11, #0
b.le LBB0_9
; %bb.7:
cmp w11, #25
b.hs LBB0_11
; %bb.8:
mov w12, #0
b LBB0_10
LBB0_9:
mov w12, #24
sub w12, w12, w11
mov w13, #34079
movk w13, #20971, lsl #16
umull x12, w12, w13
lsr x12, x12, #35
neg w12, w12
LBB0_10:
mov w13, #3
sub w13, w13, w12
neg w13, w13, lsr #2
b LBB0_12
LBB0_11:
mov w12, #34079
movk w12, #20971, lsl #16
umull x13, w11, w12
lsr x12, x13, #35
lsr x13, x13, #37
LBB0_12:
Lloh0:
adrp x14, l_constinit@PAGE
Lloh1:
add x14, x14, l_constinit@PAGEOFF
ldr w9, [x14, w9, uxtw #2]
mov w14, #365
madd w8, w8, w14, w11
add w8, w10, w8
sub w8, w8, w12
add w8, w8, w13
add w8, w8, w9
ldpsw x11, x9, [x0, #4]
mov w10, #3600
mul x9, x9, x10
mov w10, #60
ldrsw x12, [x0]
mov w13, #20864
movk w13, #1, lsl #16
smaddl x8, w8, w13, x9
madd x8, x11, x10, x8
mov w9, #17280
movk w9, #14445, lsl #16
add x8, x8, x12
add x0, x8, x9
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @constinit
l_constinit:
.long 0 ; 0x0
.long 31 ; 0x1f
.long 59 ; 0x3b
.long 90 ; 0x5a
.long 120 ; 0x78
.long 151 ; 0x97
.long 181 ; 0xb5
.long 212 ; 0xd4
.long 243 ; 0xf3
.long 273 ; 0x111
.long 304 ; 0x130
.long 335 ; 0x14f
.subsections_via_symbols
| the_stack_data/231393522.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function virt_efi_set_time
_virt_efi_set_time: ## @virt_efi_set_time
.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 _efi_runtime_lock@GOTPCREL(%rip), %rdi
callq _down_interruptible
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _EFI_ABORTED@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_2
LBB0_3:
movq _EFI_SET_TIME@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _efi_queue_work
movl %eax, %ebx
movq _efi_runtime_lock@GOTPCREL(%rip), %rdi
callq _up
movl %ebx, %eax
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _efi_runtime_lock,4,2 ## @efi_runtime_lock
.comm _EFI_ABORTED,4,2 ## @EFI_ABORTED
.comm _EFI_SET_TIME,4,2 ## @EFI_SET_TIME
.no_dead_strip _virt_efi_set_time
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function virt_efi_set_time
_virt_efi_set_time: ; @virt_efi_set_time
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, _efi_runtime_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _efi_runtime_lock@GOTPAGEOFF]
bl _down_interruptible
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _EFI_ABORTED@GOTPAGE
Lloh3:
ldr x8, [x8, _EFI_ABORTED@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
b LBB0_3
LBB0_2:
Lloh5:
adrp x8, _EFI_SET_TIME@GOTPAGE
Lloh6:
ldr x8, [x8, _EFI_SET_TIME@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
mov x1, x19
mov x2, #0
mov x3, #0
mov x4, #0
mov x5, #0
bl _efi_queue_work
mov x19, x0
Lloh8:
adrp x0, _efi_runtime_lock@GOTPAGE
Lloh9:
ldr x0, [x0, _efi_runtime_lock@GOTPAGEOFF]
bl _up
mov x0, x19
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _efi_runtime_lock,4,2 ; @efi_runtime_lock
.comm _EFI_ABORTED,4,2 ; @EFI_ABORTED
.comm _EFI_SET_TIME,4,2 ; @EFI_SET_TIME
.no_dead_strip _virt_efi_set_time
.subsections_via_symbols
| AnghaBench/linux/drivers/firmware/efi/extr_runtime-wrappers.c_virt_efi_set_time.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sortmembers ## -- Begin function sortmembers
.p2align 4, 0x90
_sortmembers: ## @sortmembers
.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 $0, (%rdi)
testq %r13, %r13
je LBB0_11
## %bb.1:
movq %rdi, %r14
xorl %esi, %esi
movq _GREATERTHAN@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq (%r13), %r12
testq %rsi, %rsi
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rbx
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rdi
callq _membercmp
movq (%rbx), %rcx
cmpq (%r15), %rax
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
movq (%rcx), %rsi
movq %rcx, %rbx
testq %rsi, %rsi
jne LBB0_5
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
jmp LBB0_9
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
movq %r14, %rcx
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq %rcx, %rax
movq %rbx, %rcx
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq %rax, (%r13)
movq %r13, (%rcx)
testq %r12, %r12
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq (%r14), %rsi
movq %r12, %r13
jmp LBB0_2
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GREATERTHAN,8,3 ## @GREATERTHAN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sortmembers ; -- Begin function sortmembers
.p2align 2
_sortmembers: ; @sortmembers
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr x20, [x0]
str xzr, [x0]
cbz x20, LBB0_10
; %bb.1:
mov x19, x0
mov x1, #0
Lloh0:
adrp x21, _GREATERTHAN@GOTPAGE
Lloh1:
ldr x21, [x21, _GREATERTHAN@GOTPAGEOFF]
ldr x22, [x20]
cbz x1, LBB0_6
LBB0_2:
mov x23, x19
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _membercmp
ldr x9, [x21]
ldr x8, [x23]
cmp x0, x9
b.eq LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x1, [x8]
mov x23, x8
cbnz x1, LBB0_3
; %bb.5:
mov x9, #0
b LBB0_8
LBB0_6:
mov x9, #0
mov x8, x19
b LBB0_8
LBB0_7:
mov x9, x8
mov x8, x23
LBB0_8:
str x9, [x20]
str x20, [x8]
cbz x22, LBB0_10
; %bb.9:
ldr x1, [x19]
mov x20, x22
ldr x22, [x20]
cbnz x1, LBB0_2
b LBB0_6
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _GREATERTHAN,8,3 ; @GREATERTHAN
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_sortmembers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function si_dma_ring_get_wptr
_si_dma_ring_get_wptr: ## @si_dma_ring_get_wptr
.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
xorl %ecx, %ecx
cmpq %rdi, (%rax)
setne %cl
movq _DMA_RB_WPTR@GOTPCREL(%rip), %rax
movq _sdma_offsets@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rdx,%rcx,8), %rdi
addq (%rax), %rdi
callq _RREG32
shrl $2, %eax
movzwl %ax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DMA_RB_WPTR,8,3 ## @DMA_RB_WPTR
.comm _sdma_offsets,8,3 ## @sdma_offsets
.no_dead_strip _si_dma_ring_get_wptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function si_dma_ring_get_wptr
_si_dma_ring_get_wptr: ; @si_dma_ring_get_wptr
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x8, [x0]
ldr x8, [x8]
cmp x8, x0
cset w8, ne
Lloh0:
adrp x9, _DMA_RB_WPTR@GOTPAGE
Lloh1:
ldr x9, [x9, _DMA_RB_WPTR@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _sdma_offsets@GOTPAGE
Lloh4:
ldr x10, [x10, _sdma_offsets@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
ldr x8, [x10, w8, uxtw #3]
add x0, x8, x9
bl _RREG32
ubfx w0, w0, #2, #16
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DMA_RB_WPTR,8,3 ; @DMA_RB_WPTR
.comm _sdma_offsets,8,3 ; @sdma_offsets
.no_dead_strip _si_dma_ring_get_wptr
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dma.c_si_dma_ring_get_wptr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ib_port_width_to_pvrdma
_ib_port_width_to_pvrdma: ## @ib_port_width_to_pvrdma
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ib_port_width_to_pvrdma
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ib_port_width_to_pvrdma
_ib_port_width_to_pvrdma: ; @ib_port_width_to_pvrdma
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _ib_port_width_to_pvrdma
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/vmw_pvrdma/extr_pvrdma.h_ib_port_width_to_pvrdma.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dvector ## -- Begin function dvector
.p2align 4, 0x90
_dvector: ## @dvector
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shlq $3, %rdi
popq %rbp
jmp _malloc ## TAILCALL
.cfi_endproc
## -- End function
.globl _ivector ## -- Begin function ivector
.p2align 4, 0x90
_ivector: ## @ivector
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shlq $2, %rdi
popq %rbp
jmp _malloc ## TAILCALL
.cfi_endproc
## -- End function
.globl _uivector ## -- Begin function uivector
.p2align 4, 0x90
_uivector: ## @uivector
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shlq $2, %rdi
popq %rbp
jmp _malloc ## TAILCALL
.cfi_endproc
## -- End function
.globl _dmatrix ## -- Begin function dmatrix
.p2align 4, 0x90
_dmatrix: ## @dmatrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
leaq (,%rdi,8), %r12
movq %r12, %rdi
callq _malloc
movq %rax, %rbx
imulq %r14, %r12
movq %r12, %rdi
callq _malloc
movq %rax, (%rbx)
cmpq $2, %r15
jl LBB3_9
## %bb.1:
leaq -1(%r15), %rsi
addq $-2, %r15
movl %esi, %r9d
andl $7, %r9d
cmpq $7, %r15
jae LBB3_3
## %bb.2:
movl $1, %edx
testq %r9, %r9
jne LBB3_7
jmp LBB3_9
LBB3_3:
andq $-8, %rsi
movq %r14, %r8
shlq $6, %r8
leaq (,%r14,8), %rdi
xorl %edx, %edx
.p2align 4, 0x90
LBB3_4: ## =>This Inner Loop Header: Depth=1
movq %rax, %rcx
addq %rdi, %rax
movq %rax, 8(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 16(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 24(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 32(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 40(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 48(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 56(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 64(%rbx,%rdx,8)
addq $8, %rdx
cmpq %rdx, %rsi
jne LBB3_4
## %bb.5:
addq %r8, %rcx
incq %rdx
movq %rcx, %rax
testq %r9, %r9
je LBB3_9
LBB3_7:
leaq (%rax,%r14,8), %rax
shlq $3, %r14
leaq (%rbx,%rdx,8), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB3_8: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rcx,%rdx,8)
incq %rdx
addq %r14, %rax
cmpq %rdx, %r9
jne LBB3_8
LBB3_9:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _imatrix ## -- Begin function imatrix
.p2align 4, 0x90
_imatrix: ## @imatrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
leaq (,%rdi,8), %rdi
callq _malloc
movq %rax, %rbx
movq %r15, %rdi
imulq %r14, %rdi
shlq $2, %rdi
callq _malloc
movq %rax, (%rbx)
cmpq $2, %r15
jl LBB4_9
## %bb.1:
leaq -1(%r15), %rsi
addq $-2, %r15
movl %esi, %r9d
andl $7, %r9d
cmpq $7, %r15
jae LBB4_3
## %bb.2:
movl $1, %edx
testq %r9, %r9
jne LBB4_7
jmp LBB4_9
LBB4_3:
andq $-8, %rsi
movq %r14, %r8
shlq $5, %r8
leaq (,%r14,4), %rdi
xorl %edx, %edx
.p2align 4, 0x90
LBB4_4: ## =>This Inner Loop Header: Depth=1
movq %rax, %rcx
addq %rdi, %rax
movq %rax, 8(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 16(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 24(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 32(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 40(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 48(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 56(%rbx,%rdx,8)
addq %rdi, %rax
movq %rax, 64(%rbx,%rdx,8)
addq $8, %rdx
cmpq %rdx, %rsi
jne LBB4_4
## %bb.5:
addq %r8, %rcx
incq %rdx
movq %rcx, %rax
testq %r9, %r9
je LBB4_9
LBB4_7:
leaq (%rax,%r14,4), %rax
shlq $2, %r14
leaq (%rbx,%rdx,8), %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB4_8: ## =>This Inner Loop Header: Depth=1
movq %rax, (%rcx,%rdx,8)
incq %rdx
addq %r14, %rax
cmpq %rdx, %r9
jne LBB4_8
LBB4_9:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _free_ivector ## -- Begin function free_ivector
.p2align 4, 0x90
_free_ivector: ## @free_ivector
.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 _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _free_uivector ## -- Begin function free_uivector
.p2align 4, 0x90
_free_uivector: ## @free_uivector
.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 _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _free_dvector ## -- Begin function free_dvector
.p2align 4, 0x90
_free_dvector: ## @free_dvector
.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 _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _free_dmatrix ## -- Begin function free_dmatrix
.p2align 4, 0x90
_free_dmatrix: ## @free_dmatrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _free_imatrix ## -- Begin function free_imatrix
.p2align 4, 0x90
_free_imatrix: ## @free_imatrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dvector ; -- Begin function dvector
.p2align 2
_dvector: ; @dvector
.cfi_startproc
; %bb.0:
lsl x0, x0, #3
b _malloc
.cfi_endproc
; -- End function
.globl _ivector ; -- Begin function ivector
.p2align 2
_ivector: ; @ivector
.cfi_startproc
; %bb.0:
lsl x0, x0, #2
b _malloc
.cfi_endproc
; -- End function
.globl _uivector ; -- Begin function uivector
.p2align 2
_uivector: ; @uivector
.cfi_startproc
; %bb.0:
lsl x0, x0, #2
b _malloc
.cfi_endproc
; -- End function
.globl _dmatrix ; -- Begin function dmatrix
.p2align 2
_dmatrix: ; @dmatrix
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
lsl x22, x0, #3
mov x0, x22
bl _malloc
mov x19, x0
mul x0, x22, x21
bl _malloc
str x0, [x19]
cmp x20, #2
b.lt LBB3_3
; %bb.1:
lsl x8, x21, #3
add x9, x0, x8
sub x10, x20, #1
add x11, x19, #8
LBB3_2: ; =>This Inner Loop Header: Depth=1
str x9, [x11], #8
add x9, x9, x8
subs x10, x10, #1
b.ne LBB3_2
LBB3_3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _imatrix ; -- Begin function imatrix
.p2align 2
_imatrix: ; @imatrix
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
lsl x0, x0, #3
bl _malloc
mov x19, x0
mul x8, x20, x21
lsl x0, x8, #2
bl _malloc
str x0, [x19]
cmp x20, #2
b.lt LBB4_3
; %bb.1:
lsl x8, x21, #2
add x9, x0, x8
sub x10, x20, #1
add x11, x19, #8
LBB4_2: ; =>This Inner Loop Header: Depth=1
str x9, [x11], #8
add x9, x9, x8
subs x10, x10, #1
b.ne LBB4_2
LBB4_3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _free_ivector ; -- Begin function free_ivector
.p2align 2
_free_ivector: ; @free_ivector
.cfi_startproc
; %bb.0:
b _free
.cfi_endproc
; -- End function
.globl _free_uivector ; -- Begin function free_uivector
.p2align 2
_free_uivector: ; @free_uivector
.cfi_startproc
; %bb.0:
b _free
.cfi_endproc
; -- End function
.globl _free_dvector ; -- Begin function free_dvector
.p2align 2
_free_dvector: ; @free_dvector
.cfi_startproc
; %bb.0:
b _free
.cfi_endproc
; -- End function
.globl _free_dmatrix ; -- Begin function free_dmatrix
.p2align 2
_free_dmatrix: ; @free_dmatrix
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.globl _free_imatrix ; -- Begin function free_imatrix
.p2align 2
_free_imatrix: ; @free_imatrix
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/104827550.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
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
brk #0x1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/247019533.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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%Q\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 x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%Q\n"
.subsections_via_symbols
| the_stack_data/140764602.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function b43_op_sta_notify
_b43_op_sta_notify: ## @b43_op_sta_notify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _hw_to_b43_wl
testq %rbx, %rbx
je LBB0_1
## %bb.2:
xorl %edi, %edi
cmpq %rbx, (%rax)
setne %dil
jmp LBB0_3
LBB0_1:
movl $1, %edi
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
jmp _B43_WARN_ON ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _b43_op_sta_notify
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function b43_op_sta_notify
_b43_op_sta_notify: ; @b43_op_sta_notify
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _hw_to_b43_wl
cbz x19, LBB0_2
; %bb.1:
ldr x8, [x0]
cmp x8, x19
cset w0, ne
b LBB0_3
LBB0_2:
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _B43_WARN_ON
.cfi_endproc
; -- End function
.no_dead_strip _b43_op_sta_notify
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_main.c_b43_op_sta_notify.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _a,1,0 ## @a
.comm _b,1,0 ## @b
.comm _c,1,0 ## @c
.comm _d,1,0 ## @d
.comm _e,1,0 ## @e
.comm _f,1,0 ## @f
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _a,1,0 ; @a
.comm _b,1,0 ; @b
.comm _c,1,0 ; @c
.comm _d,1,0 ; @d
.comm _e,1,0 ; @e
.comm _f,1,0 ; @f
.subsections_via_symbols
| the_stack_data/216071.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function TIFFReadDirEntryCheckedLong
_TIFFReadDirEntryCheckedLong: ## @TIFFReadDirEntryCheckedLong
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %eax
movl %eax, (%rdx)
movq _TIFF_SWAB@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_1
## %bb.2:
movq %rdx, %rdi
popq %rbp
jmp _TIFFSwabLong ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TIFF_SWAB,4,2 ## @TIFF_SWAB
.no_dead_strip _TIFFReadDirEntryCheckedLong
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function TIFFReadDirEntryCheckedLong
_TIFFReadDirEntryCheckedLong: ; @TIFFReadDirEntryCheckedLong
.cfi_startproc
; %bb.0:
ldr w8, [x1]
str w8, [x2]
ldr w8, [x0]
Lloh0:
adrp x9, _TIFF_SWAB@GOTPAGE
Lloh1:
ldr x9, [x9, _TIFF_SWAB@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov x0, x2
b _TIFFSwabLong
LBB0_2:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TIFF_SWAB,4,2 ; @TIFF_SWAB
.no_dead_strip _TIFFReadDirEntryCheckedLong
.subsections_via_symbols
| AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirread.c_TIFFReadDirEntryCheckedLong.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tomoyo_encode ## -- Begin function tomoyo_encode
.p2align 4, 0x90
_tomoyo_encode: ## @tomoyo_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r12, %rdi
movl %r15d, %esi
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %esi, %r15d
movq %rdi, %r12
movzbl (%r14), %ebx
incq %r14
movzbl %bl, %edi
callq _tomoyo_is_valid
testq %rax, %rax
je LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, %r15d
jl LBB0_12
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leal -1(%r15), %esi
leaq 1(%r12), %rdi
movb %bl, (%r12)
cmpb $92, %bl
jne LBB0_1
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, %r15d
jb LBB0_12
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
addl $-2, %r15d
movb $92, 1(%r12)
addq $2, %r12
jmp LBB0_6
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
testb %bl, %bl
je LBB0_8
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
cmpl $5, %r15d
jl LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
addl $-4, %r15d
movb $92, (%r12)
movl %ebx, %eax
shrb $6, %al
orb $48, %al
movb %al, 1(%r12)
movl %ebx, %eax
shrb $3, %al
andb $7, %al
orb $48, %al
movb %al, 2(%r12)
andb $7, %bl
orb $48, %bl
movb %bl, 3(%r12)
addq $4, %r12
jmp LBB0_6
LBB0_8:
cmpl $2, %r15d
jge LBB0_9
LBB0_12:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_13:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movb $0, (%r12)
xorl %eax, %eax
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tomoyo_encode ; -- Begin function tomoyo_encode
.p2align 2
_tomoyo_encode: ; @tomoyo_encode
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov w21, #92
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x23, x1
mov x22, x0
ldrb w20, [x19], #1
mov x0, x20
bl _tomoyo_is_valid
cbz x0, LBB0_6
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
subs w8, w23, #2
b.lt LBB0_10
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
sub w1, w23, #1
mov x0, x22
strb w20, [x0], #1
cmp w20, #92
b.ne LBB0_1
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
cmp w23, #3
b.lo LBB0_10
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
add x0, x22, #2
strb w21, [x22, #1]
mov x1, x8
b LBB0_1
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
cbz w20, LBB0_9
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
cmp w23, #5
b.lt LBB0_10
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
sub w1, w23, #4
strb w21, [x22]
lsr w8, w20, #6
orr w8, w8, #0x30
strb w8, [x22, #1]
mov w8, #48
bfxil w8, w20, #3, #3
strb w8, [x22, #2]
mov w8, #48
bfxil w8, w20, #0, #3
add x0, x22, #4
strb w8, [x22, #3]
b LBB0_1
LBB0_9:
cmp w23, #2
b.ge LBB0_12
LBB0_10:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_12:
mov w0, #0
strb wzr, [x22]
b LBB0_11
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/security/tomoyo/extr_realpath.c_tomoyo_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wifi_connected_state__get_packed_size ## -- Begin function wifi_connected_state__get_packed_size
.p2align 4, 0x90
_wifi_connected_state__get_packed_size: ## @wifi_connected_state__get_packed_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rax
xorl %edi, %edi
cmpq _wifi_connected_state__descriptor@GOTPCREL(%rip), %rax
sete %dil
callq _assert
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _protobuf_c_message_get_packed_size ## TAILCALL
.cfi_endproc
## -- End function
.comm _wifi_connected_state__descriptor,4,2 ## @wifi_connected_state__descriptor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wifi_connected_state__get_packed_size ; -- Begin function wifi_connected_state__get_packed_size
.p2align 2
_wifi_connected_state__get_packed_size: ; @wifi_connected_state__get_packed_size
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
Lloh0:
adrp x9, _wifi_connected_state__descriptor@GOTPAGE
Lloh1:
ldr x9, [x9, _wifi_connected_state__descriptor@GOTPAGEOFF]
cmp x8, x9
cset w0, eq
bl _assert
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _protobuf_c_message_get_packed_size
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _wifi_connected_state__descriptor,4,2 ; @wifi_connected_state__descriptor
.subsections_via_symbols
| AnghaBench/esp-idf/components/wifi_provisioning/proto-c/extr_wifi_constants.pb-c.c_wifi_connected_state__get_packed_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function print_action_spec
_print_action_spec: ## @print_action_spec
.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, %r15
movq (%rdx), %rax
movq _ACTION_SAVE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.1:
movq %rsi, %r13
cmpl $0, (%rsi)
je LBB0_15
## %bb.2:
xorl %ebx, %ebx
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
movl %eax, %eax
cmpq %rax, %rbx
jae LBB0_15
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%r13), %rax
movq (%rax,%rbx,8), %rax
movq (%rax), %rax
movl (%rax), %edx
movq %r15, %rdi
movq %r14, %rsi
callq _seq_printf
movl (%r13), %eax
leal -1(%rax), %ecx
cmpq %rcx, %rbx
jae LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movq %r12, %rsi
callq _seq_puts
movl (%r13), %eax
jmp LBB0_5
LBB0_6:
movq _ACTION_TRACE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_15
## %bb.7:
movq %rdx, %r14
cmpq $0, 24(%rdx)
je LBB0_9
## %bb.8:
movl 32(%r14), %edx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _seq_printf
LBB0_9:
cmpl $0, 8(%r14)
je LBB0_15
## %bb.10:
cmpq $0, 24(%r14)
je LBB0_12
## %bb.11:
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _seq_puts
LBB0_12:
movq 16(%r14), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _seq_printf
cmpl $2, 8(%r14)
jb LBB0_15
## %bb.13:
movl $1, %ebx
leaq L_.str.1(%rip), %r12
leaq L_.str(%rip), %r13
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r12, %rsi
callq _seq_puts
movq 16(%r14), %rax
movl (%rax,%rbx,4), %edx
movq %r15, %rdi
movq %r13, %rsi
callq _seq_printf
incq %rbx
movl 8(%r14), %eax
cmpq %rax, %rbx
jb LBB0_14
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ACTION_SAVE,8,3 ## @ACTION_SAVE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz ","
.comm _ACTION_TRACE,8,3 ## @ACTION_TRACE
.no_dead_strip _print_action_spec
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function print_action_spec
_print_action_spec: ; @print_action_spec
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x8, [x2]
Lloh0:
adrp x9, _ACTION_SAVE@GOTPAGE
Lloh1:
ldr x9, [x9, _ACTION_SAVE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_6
; %bb.1:
mov x21, x1
ldr w8, [x1]
cbz w8, LBB0_15
; %bb.2:
mov x23, #0
Lloh3:
adrp x20, l_.str@PAGE
Lloh4:
add x20, x20, l_.str@PAGEOFF
Lloh5:
adrp x22, l_.str.1@PAGE
Lloh6:
add x22, x22, l_.str.1@PAGEOFF
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x23, x23, #1
cmp x23, w8, uxtw
b.hs LBB0_15
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
ldr x8, [x8, x23, lsl #3]
ldr x8, [x8]
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl _seq_printf
ldr w8, [x21]
sub w9, w8, #1
cmp x23, x9
b.hs LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov x1, x22
bl _seq_puts
ldr w8, [x21]
b LBB0_3
LBB0_6:
Lloh7:
adrp x9, _ACTION_TRACE@GOTPAGE
Lloh8:
ldr x9, [x9, _ACTION_TRACE@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_15
; %bb.7:
mov x20, x2
ldr x8, [x2, #24]
cbz x8, LBB0_9
; %bb.8:
ldr w2, [x20, #32]
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _seq_printf
LBB0_9:
ldr w8, [x20, #8]
cbz w8, LBB0_15
; %bb.10:
ldr x8, [x20, #24]
cbz x8, LBB0_12
; %bb.11:
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _seq_puts
LBB0_12:
ldr x8, [x20, #16]
ldr w2, [x8]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _seq_printf
ldr w8, [x20, #8]
cmp w8, #2
b.lo LBB0_15
; %bb.13:
mov w23, #1
Lloh16:
adrp x21, l_.str.1@PAGE
Lloh17:
add x21, x21, l_.str.1@PAGEOFF
Lloh18:
adrp x22, l_.str@PAGE
Lloh19:
add x22, x22, l_.str@PAGEOFF
LBB0_14: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x21
bl _seq_puts
ldr x8, [x20, #16]
ldr w2, [x8, x23, lsl #2]
mov x0, x19
mov x1, x22
bl _seq_printf
add x23, x23, #1
ldr w8, [x20, #8]
cmp x23, x8
b.lo LBB0_14
LBB0_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _ACTION_SAVE,8,3 ; @ACTION_SAVE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz ","
.comm _ACTION_TRACE,8,3 ; @ACTION_TRACE
.no_dead_strip _print_action_spec
.subsections_via_symbols
| AnghaBench/linux/kernel/trace/extr_trace_events_hist.c_print_action_spec.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
leaq L_str.6(%rip), %r14
movq %r14, %rdi
callq _puts
movq %r14, %rdi
callq _puts
cmpl $0, -28(%rbp)
jle LBB0_3
## %bb.1:
leaq L_str.4(%rip), %r14
leaq L_str.6(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
movq %r15, %rdi
callq _puts
movq %r15, %rdi
callq _puts
incl %ebx
cmpl -28(%rbp), %ebx
jl LBB0_2
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_str.4: ## @str.4
.asciz "*****"
L_str.6: ## @str.6
.asciz "* *"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
Lloh2:
adrp x19, l_str.6@PAGE
Lloh3:
add x19, x19, l_str.6@PAGEOFF
mov x0, x19
bl _puts
mov x0, x19
bl _puts
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w21, #0
Lloh4:
adrp x19, l_str.4@PAGE
Lloh5:
add x19, x19, l_str.4@PAGEOFF
Lloh6:
adrp x20, l_str.6@PAGE
Lloh7:
add x20, x20, l_str.6@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
mov x0, x20
bl _puts
mov x0, x20
bl _puts
ldr w8, [sp, #12]
add w21, w21, #1
cmp w21, w8
b.lt LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_str.4: ; @str.4
.asciz "*****"
l_str.6: ; @str.6
.asciz "* *"
.subsections_via_symbols
| the_stack_data/142326722.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function skl_plane_ctl_rotate
_skl_plane_ctl_rotate: ## @skl_plane_ctl_rotate
.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
## kill: def $edi killed $edi def $rdi
xorl %ebx, %ebx
leal -128(%rdi), %eax
cmpl $3, %eax
ja LBB0_3
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movq _PLANE_CTL_ROTATE_270@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_3:
## kill: def $edi killed $edi killed $rdi
callq _MISSING_CASE
jmp LBB0_7
LBB0_4:
movq _PLANE_CTL_ROTATE_90@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _PLANE_CTL_ROTATE_180@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %ebx
LBB0_7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_7
.end_data_region
## -- End function
.comm _PLANE_CTL_ROTATE_270,4,2 ## @PLANE_CTL_ROTATE_270
.comm _PLANE_CTL_ROTATE_180,4,2 ## @PLANE_CTL_ROTATE_180
.comm _PLANE_CTL_ROTATE_90,4,2 ## @PLANE_CTL_ROTATE_90
.no_dead_strip _skl_plane_ctl_rotate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function skl_plane_ctl_rotate
_skl_plane_ctl_rotate: ; @skl_plane_ctl_rotate
.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
sub w8, w0, #128
cmp w8, #3
b.hi LBB0_3
; %bb.1:
mov w0, #0
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:
Lloh2:
adrp x8, _PLANE_CTL_ROTATE_270@GOTPAGE
Lloh3:
ldr x8, [x8, _PLANE_CTL_ROTATE_270@GOTPAGEOFF]
b LBB0_7
LBB0_3:
bl _MISSING_CASE
mov w0, #0
LBB0_4:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_5:
Lloh4:
adrp x8, _PLANE_CTL_ROTATE_90@GOTPAGE
Lloh5:
ldr x8, [x8, _PLANE_CTL_ROTATE_90@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh6:
adrp x8, _PLANE_CTL_ROTATE_180@GOTPAGE
Lloh7:
ldr x8, [x8, _PLANE_CTL_ROTATE_180@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
; -- End function
.comm _PLANE_CTL_ROTATE_270,4,2 ; @PLANE_CTL_ROTATE_270
.comm _PLANE_CTL_ROTATE_180,4,2 ; @PLANE_CTL_ROTATE_180
.comm _PLANE_CTL_ROTATE_90,4,2 ; @PLANE_CTL_ROTATE_90
.no_dead_strip _skl_plane_ctl_rotate
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_skl_plane_ctl_rotate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## @test
.zerofill __DATA,__common,_test,16,3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; @test
.zerofill __DATA,__common,_test,16,3
.subsections_via_symbols
| the_stack_data/68888864.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _skynet_mq_init ## -- Begin function skynet_mq_init
.p2align 4, 0x90
_skynet_mq_init: ## @skynet_mq_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $4, %edi
callq _skynet_malloc
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq %rbx, %rdi
callq _SPIN_INIT
movq _Q@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Q,8,3 ## @Q
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _skynet_mq_init ; -- Begin function skynet_mq_init
.p2align 2
_skynet_mq_init: ; @skynet_mq_init
.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 w0, #4
bl _skynet_malloc
mov x19, x0
mov w1, #0
mov w2, #4
bl _memset
mov x0, x19
bl _SPIN_INIT
Lloh0:
adrp x8, _Q@GOTPAGE
Lloh1:
ldr x8, [x8, _Q@GOTPAGEOFF]
Lloh2:
str x19, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Q,8,3 ; @Q
.subsections_via_symbols
| AnghaBench/skynet/skynet-src/extr_skynet_mq.c_skynet_mq_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libzfs_error_init ## -- Begin function libzfs_error_init
.p2align 4, 0x90
_libzfs_error_init: ## @libzfs_error_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-128, %edi
cmpl $3, %edi
ja LBB0_1
## %bb.2:
movslq %edi, %rax
leaq l_reltable.libzfs_error_init(%rip), %rcx
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
jmp LBB0_3
LBB0_1:
leaq L_.str.4(%rip), %rsi
LBB0_3:
movq _TEXT_DOMAIN@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _dgettext ## TAILCALL
.cfi_endproc
## -- End function
.comm _TEXT_DOMAIN,4,2 ## @TEXT_DOMAIN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The ZFS modules are not loaded.\nTry running '/sbin/modprobe zfs' as root to load them."
L_.str.1: ## @.str.1
.asciz "/dev/zfs and /proc/self/mounts are required.\nTry running 'udevadm trigger' and 'mount -t proc proc /proc' as root."
L_.str.2: ## @.str.2
.asciz "The ZFS modules cannot be auto-loaded.\nTry running '/sbin/modprobe zfs' as root to manually load them."
L_.str.3: ## @.str.3
.asciz "Permission denied the ZFS utilities must be run as root."
L_.str.4: ## @.str.4
.asciz "Failed to initialize the libzfs library."
.section __TEXT,__const
.p2align 2 ## @reltable.libzfs_error_init
l_reltable.libzfs_error_init:
.long L_.str-l_reltable.libzfs_error_init
.long L_.str.2-l_reltable.libzfs_error_init
.long L_.str.1-l_reltable.libzfs_error_init
.long L_.str.3-l_reltable.libzfs_error_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _libzfs_error_init ; -- Begin function libzfs_error_init
.p2align 2
_libzfs_error_init: ; @libzfs_error_init
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #3
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.libzfs_error_init@PAGE
Lloh1:
add x9, x9, l_switch.table.libzfs_error_init@PAGEOFF
ldr x1, [x9, w8, sxtw #3]
b LBB0_3
LBB0_2:
Lloh2:
adrp x1, l_.str.4@PAGE
Lloh3:
add x1, x1, l_.str.4@PAGEOFF
LBB0_3:
Lloh4:
adrp x8, _TEXT_DOMAIN@GOTPAGE
Lloh5:
ldr x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
b _dgettext
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _TEXT_DOMAIN,4,2 ; @TEXT_DOMAIN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The ZFS modules are not loaded.\nTry running '/sbin/modprobe zfs' as root to load them."
l_.str.1: ; @.str.1
.asciz "/dev/zfs and /proc/self/mounts are required.\nTry running 'udevadm trigger' and 'mount -t proc proc /proc' as root."
l_.str.2: ; @.str.2
.asciz "The ZFS modules cannot be auto-loaded.\nTry running '/sbin/modprobe zfs' as root to manually load them."
l_.str.3: ; @.str.3
.asciz "Permission denied the ZFS utilities must be run as root."
l_.str.4: ; @.str.4
.asciz "Failed to initialize the libzfs library."
.section __DATA,__const
.p2align 3 ; @switch.table.libzfs_error_init
l_switch.table.libzfs_error_init:
.quad l_.str
.quad l_.str.2
.quad l_.str.1
.quad l_.str.3
.subsections_via_symbols
| AnghaBench/zfs/lib/libzfs/os/linux/extr_libzfs_util_os.c_libzfs_error_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sh_bios_get_node_addr ## -- Begin function sh_bios_get_node_addr
.p2align 4, 0x90
_sh_bios_get_node_addr: ## @sh_bios_get_node_addr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rdx
movq _BIOS_CALL_ETH_NODE_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
popq %rbp
jmp _sh_bios_call ## TAILCALL
.cfi_endproc
## -- End function
.comm _BIOS_CALL_ETH_NODE_ADDR,4,2 ## @BIOS_CALL_ETH_NODE_ADDR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sh_bios_get_node_addr ; -- Begin function sh_bios_get_node_addr
.p2align 2
_sh_bios_get_node_addr: ; @sh_bios_get_node_addr
.cfi_startproc
; %bb.0:
mov x2, x0
Lloh0:
adrp x8, _BIOS_CALL_ETH_NODE_ADDR@GOTPAGE
Lloh1:
ldr x8, [x8, _BIOS_CALL_ETH_NODE_ADDR@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
mov w3, #0
mov w4, #0
b _sh_bios_call
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BIOS_CALL_ETH_NODE_ADDR,4,2 ; @BIOS_CALL_ETH_NODE_ADDR
.subsections_via_symbols
| AnghaBench/linux/arch/sh/kernel/extr_sh_bios.c_sh_bios_get_node_addr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netlbl_calipso_ops_register ## -- Begin function netlbl_calipso_ops_register
.p2align 4, 0x90
_netlbl_calipso_ops_register: ## @netlbl_calipso_ops_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rsi
movq _calipso_ops@GOTPCREL(%rip), %rdi
popq %rbp
jmp _xchg ## TAILCALL
.cfi_endproc
## -- End function
.comm _calipso_ops,4,2 ## @calipso_ops
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netlbl_calipso_ops_register ; -- Begin function netlbl_calipso_ops_register
.p2align 2
_netlbl_calipso_ops_register: ; @netlbl_calipso_ops_register
.cfi_startproc
; %bb.0:
mov x1, x0
Lloh0:
adrp x0, _calipso_ops@GOTPAGE
Lloh1:
ldr x0, [x0, _calipso_ops@GOTPAGEOFF]
b _xchg
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _calipso_ops,4,2 ; @calipso_ops
.subsections_via_symbols
| AnghaBench/linux/net/netlabel/extr_netlabel_calipso.c_netlbl_calipso_ops_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.12(%rip), %rdi
callq _puts
leaq L_str.13(%rip), %rdi
callq _puts
leaq L_str.14(%rip), %rdi
callq _puts
leaq L_str.15(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rdi
leaq -132(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -132(%rbp), %eax
decl %eax
cmpl $2, %eax
ja LBB0_26
## %bb.1:
leaq -128(%rbp), %r13
leaq L_.str.6(%rip), %r14
leaq -132(%rbp), %r15
xorl %r12d, %r12d
jmp LBB0_2
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rdi
callq _print_array
leaq L_str.16(%rip), %rdi
callq _puts
leaq L_str.12(%rip), %rdi
callq _puts
leaq L_str.13(%rip), %rdi
callq _puts
leaq L_str.14(%rip), %rdi
callq _puts
leaq L_str.15(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -132(%rbp), %eax
decl %eax
movl $0, %r12d
cmpl $3, %eax
jae LBB0_26
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_8 Depth 3
## Child Loop BB0_19 Depth 2
## Child Loop BB0_20 Depth 3
## Child Loop BB0_13 Depth 2
## Child Loop BB0_14 Depth 3
callq _rand
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $35, %rcx
addl %edx, %ecx
shll $2, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movl %eax, -128(%rbp,%r12,4)
incq %r12
cmpq $20, %r12
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rdi
callq _print_array
movl -132(%rbp), %eax
cmpl $1, %eax
je LBB0_12
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $2, %eax
je LBB0_18
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpl $3, %eax
jne LBB0_25
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl $1, %eax
xorl %ecx, %ecx
jmp LBB0_7
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movslq %esi, %rsi
movl %edx, -124(%rbp,%rsi,4)
incq %rax
incq %rcx
cmpq $21, %rax
je LBB0_25
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_8 Depth 3
movl -128(%rbp,%rax,4), %edx
movq %rcx, %rsi
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
movl %esi, %edi
movl -128(%rbp,%rdi,4), %edi
cmpl %edi, %edx
jge LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=3
movl %edi, -124(%rbp,%rsi,4)
decq %rsi
leal 1(%rsi), %edi
testl %edi, %edi
jg LBB0_8
## %bb.10: ## in Loop: Header=BB0_7 Depth=2
movl $-1, %esi
jmp LBB0_11
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
jmp LBB0_19
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_19 Depth=2
incq %rax
cmpq $20, %rax
je LBB0_25
LBB0_19: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_20 Depth 3
movl $20, %edx
movl -48(%rbp), %ecx
jmp LBB0_20
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_20 Depth=3
movl %edi, -128(%rbp,%rdx,4)
movl %ecx, -132(%rbp,%rdx,4)
LBB0_23: ## in Loop: Header=BB0_20 Depth=3
movq %rsi, %rdx
cmpq %rax, %rsi
jbe LBB0_24
LBB0_20: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_19 Depth=2
## => This Inner Loop Header: Depth=3
leaq -1(%rdx), %rsi
movl -132(%rbp,%rdx,4), %edi
cmpl %edi, %ecx
jl LBB0_22
## %bb.21: ## in Loop: Header=BB0_20 Depth=3
movl %edi, %ecx
jmp LBB0_23
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movl $1, %r8d
xorl %ecx, %ecx
jmp LBB0_13
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_13 Depth=2
movslq %edi, %rax
movl -128(%rbp,%rcx,4), %edx
movl -128(%rbp,%rax,4), %esi
movl %esi, -128(%rbp,%rcx,4)
leaq 1(%rcx), %rsi
movl %edx, -128(%rbp,%rax,4)
incq %r8
movq %rsi, %rcx
cmpq $20, %rsi
je LBB0_25
LBB0_13: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_14 Depth 3
movq %r8, %rdx
movl %ecx, %esi
jmp LBB0_14
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=3
incq %rdx
movl %edi, %esi
cmpq $21, %rdx
je LBB0_17
LBB0_14: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_13 Depth=2
## => This Inner Loop Header: Depth=3
movl -128(%rbp,%rdx,4), %ebx
movslq %esi, %rax
movl %edx, %edi
cmpl -128(%rbp,%rax,4), %ebx
jl LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=3
movl %esi, %edi
jmp LBB0_16
LBB0_26:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_28
## %bb.27:
xorl %eax, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_28:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _make_random_array ## -- Begin function make_random_array
.p2align 4, 0x90
_make_random_array: ## @make_random_array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _rand
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $35, %rcx
addl %edx, %ecx
shll $2, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movl %eax, (%r14,%rbx,4)
incq %rbx
cmpq $20, %rbx
jne LBB1_1
## %bb.2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_array ## -- Begin function print_array
.p2align 4, 0x90
_print_array: ## @print_array
.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
movl (%rdi), %esi
leaq L_.str.10(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 4(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 8(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 12(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 16(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 20(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 24(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 28(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 32(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 36(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 40(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 44(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 48(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 52(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 56(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 60(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 64(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 68(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 72(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 76(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
popq %rbx
popq %r14
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _sort_select ## -- Begin function sort_select
.p2align 4, 0x90
_sort_select: ## @sort_select
.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, %r9d
xorl %r10d, %r10d
jmp LBB3_1
.p2align 4, 0x90
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movslq %r11d, %rax
movl (%rdi,%r10,4), %ecx
movl (%rdi,%rax,4), %edx
movl %edx, (%rdi,%r10,4)
movl %ecx, (%rdi,%rax,4)
incq %r9
movq %r8, %r10
cmpq $20, %r8
je LBB3_6
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_2 Depth 2
leaq 1(%r10), %r8
movq %r9, %rsi
movl %r10d, %edx
jmp LBB3_2
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_2 Depth=2
incq %rsi
movl %r11d, %edx
cmpq $21, %rsi
je LBB3_5
LBB3_2: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdi,%rsi,4), %ecx
movslq %edx, %rax
movl %esi, %r11d
cmpl (%rdi,%rax,4), %ecx
jl LBB3_4
## %bb.3: ## in Loop: Header=BB3_2 Depth=2
movl %edx, %r11d
jmp LBB3_4
LBB3_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sort_bubble ## -- Begin function sort_bubble
.p2align 4, 0x90
_sort_bubble: ## @sort_bubble
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %r8d, %r8d
jmp LBB4_1
.p2align 4, 0x90
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
incq %r8
cmpq $20, %r8
je LBB4_7
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_2 Depth 2
movl 80(%rdi), %eax
movl $20, %esi
jmp LBB4_2
.p2align 4, 0x90
LBB4_4: ## in Loop: Header=BB4_2 Depth=2
movl %ecx, (%rdi,%rsi,4)
movl %eax, -4(%rdi,%rsi,4)
LBB4_5: ## in Loop: Header=BB4_2 Depth=2
movq %rdx, %rsi
cmpq %r8, %rdx
jbe LBB4_6
LBB4_2: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rsi), %rdx
movl -4(%rdi,%rsi,4), %ecx
cmpl %ecx, %eax
jl LBB4_4
## %bb.3: ## in Loop: Header=BB4_2 Depth=2
movl %ecx, %eax
jmp LBB4_5
LBB4_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sort_insert ## -- Begin function sort_insert
.p2align 4, 0x90
_sort_insert: ## @sort_insert
.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
xorl %r8d, %r8d
jmp LBB5_1
.p2align 4, 0x90
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movslq %esi, %rcx
movl %edx, 4(%rdi,%rcx,4)
incq %rax
incq %r8
cmpq $21, %rax
je LBB5_5
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_2 Depth 2
movl (%rdi,%rax,4), %edx
movq %r8, %rsi
.p2align 4, 0x90
LBB5_2: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %esi, %ecx
movl (%rdi,%rcx,4), %ecx
cmpl %ecx, %edx
jge LBB5_4
## %bb.3: ## in Loop: Header=BB5_2 Depth=2
movl %ecx, 4(%rdi,%rsi,4)
decq %rsi
leal 1(%rsi), %ecx
testl %ecx, %ecx
jg LBB5_2
jmp LBB5_4
LBB5_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl (%rsi), %ecx
movl %ecx, (%rdi)
movl %eax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "Choose the menu: "
L_.str.6: ## @.str.6
.asciz "%d"
L_.str.7: ## @.str.7
.asciz "Original array: "
L_.str.8: ## @.str.8
.asciz "Sorted array : "
L_.str.10: ## @.str.10
.asciz "%2d "
L_str: ## @str
.asciz "This program sorts array"
L_str.12: ## @str.12
.asciz "1. Selection sort"
L_str.13: ## @str.13
.asciz "2. Bubble sort"
L_str.14: ## @str.14
.asciz "3. Insertion sort"
L_str.15: ## @str.15
.asciz "4. Exit"
L_str.16: ## @str.16
.asciz "\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, #208
.cfi_def_cfa_offset 208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh5:
adrp x0, l_str.12@PAGE
Lloh6:
add x0, x0, l_str.12@PAGEOFF
bl _puts
Lloh7:
adrp x0, l_str.13@PAGE
Lloh8:
add x0, x0, l_str.13@PAGEOFF
bl _puts
Lloh9:
adrp x0, l_str.14@PAGE
Lloh10:
add x0, x0, l_str.14@PAGEOFF
bl _puts
Lloh11:
adrp x0, l_str.15@PAGE
Lloh12:
add x0, x0, l_str.15@PAGEOFF
bl _puts
Lloh13:
adrp x0, l_.str.5@PAGE
Lloh14:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add x28, sp, #20
str x28, [sp]
Lloh15:
adrp x0, l_.str.6@PAGE
Lloh16:
add x0, x0, l_.str.6@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
sub w8, w8, #1
cmp w8, #2
b.hi LBB0_22
; %bb.1:
add x19, sp, #24
add x20, x19, #4
Lloh17:
adrp x21, l_str.16@PAGE
Lloh18:
add x21, x21, l_str.16@PAGEOFF
Lloh19:
adrp x22, l_str.12@PAGE
Lloh20:
add x22, x22, l_str.12@PAGEOFF
Lloh21:
adrp x23, l_str.13@PAGE
Lloh22:
add x23, x23, l_str.13@PAGEOFF
Lloh23:
adrp x24, l_str.14@PAGE
Lloh24:
add x24, x24, l_str.14@PAGEOFF
Lloh25:
adrp x25, l_str.15@PAGE
Lloh26:
add x25, x25, l_str.15@PAGEOFF
Lloh27:
adrp x26, l_.str.5@PAGE
Lloh28:
add x26, x26, l_.str.5@PAGEOFF
Lloh29:
adrp x27, l_.str.6@PAGE
Lloh30:
add x27, x27, l_.str.6@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
Lloh31:
adrp x0, l_.str.8@PAGE
Lloh32:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
add x0, sp, #24
bl _print_array
mov x0, x21
bl _puts
mov x0, x22
bl _puts
mov x0, x23
bl _puts
mov x0, x24
bl _puts
mov x0, x25
bl _puts
mov x0, x26
bl _printf
str x28, [sp]
mov x0, x27
bl _scanf
ldr w8, [sp, #20]
sub w8, w8, #1
cmp w8, #3
b.hs LBB0_22
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_9 Depth 3
; Child Loop BB0_13 Depth 2
; Child Loop BB0_16 Depth 3
; Child Loop BB0_19 Depth 2
; Child Loop BB0_20 Depth 3
add x0, sp, #24
bl _make_random_array
Lloh33:
adrp x0, l_.str.7@PAGE
Lloh34:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add x0, sp, #24
bl _print_array
ldr w8, [sp, #20]
cmp w8, #1
b.eq LBB0_18
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #2
b.eq LBB0_11
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #3
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0
mov w9, #1
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x11, x19, w11, sxtw #2
str w10, [x11, #4]
add x9, x9, #1
add x8, x8, #1
cmp x9, #21
b.eq LBB0_2
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_9 Depth 3
ldr w10, [x19, x9, lsl #2]
mov x11, x8
LBB0_9: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_8 Depth=2
; => This Inner Loop Header: Depth=3
ldr w12, [x19, w11, uxtw #2]
cmp w10, w12
b.ge LBB0_7
; %bb.10: ; in Loop: Header=BB0_9 Depth=3
str w12, [x20, x11, lsl #2]
sub x11, x11, #1
add w12, w11, #1
cmp w12, #0
b.gt LBB0_9
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
add x8, x8, #1
cmp x8, #20
b.eq LBB0_2
LBB0_13: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_16 Depth 3
mov x9, #0
ldr w10, [sp, #104]
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=3
stp w10, w12, [x11, #76]
LBB0_15: ; in Loop: Header=BB0_16 Depth=3
add x11, x9, #19
sub x9, x9, #1
cmp x11, x8
b.ls LBB0_12
LBB0_16: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_13 Depth=2
; => This Inner Loop Header: Depth=3
add x11, x19, x9, lsl #2
ldr w12, [x11, #76]
cmp w10, w12
b.lt LBB0_14
; %bb.17: ; in Loop: Header=BB0_16 Depth=3
mov x10, x12
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
mov x9, #0
mov w8, #1
LBB0_19: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_20 Depth 3
mov x11, x8
mov x10, x9
LBB0_20: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_19 Depth=2
; => This Inner Loop Header: Depth=3
ldr w12, [x19, x11, lsl #2]
ldr w13, [x19, w10, sxtw #2]
cmp w12, w13
csel w10, w11, w10, lt
add x11, x11, #1
cmp x11, #21
b.ne LBB0_20
; %bb.21: ; in Loop: Header=BB0_19 Depth=2
lsl x11, x9, #2
sbfiz x10, x10, #2, #32
ldr w12, [x19, x11]
ldr w13, [x19, x10]
str w13, [x19, x11]
add x11, x9, #1
str w12, [x19, x10]
add x8, x8, #1
mov x9, x11
cmp x11, #20
b.ne LBB0_19
b LBB0_2
LBB0_22:
ldur x8, [x29, #-88]
Lloh35:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh36:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_24
; %bb.23:
mov w0, #0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB0_24:
bl ___stack_chk_fail
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.cfi_endproc
; -- End function
.globl _make_random_array ; -- Begin function make_random_array
.p2align 2
_make_random_array: ; @make_random_array
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _rand
mov w20, #26215
movk w20, #26214, lsl #16
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
mov w21, #20
msub w8, w8, w21, w0
str w8, [x19]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #4]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #8]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #12]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #16]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #20]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #24]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #28]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #32]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #36]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #40]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #44]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #48]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #52]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #56]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #60]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #64]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #68]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #72]
bl _rand
smull x8, w0, w20
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #3
msub w8, w8, w21, w0
str w8, [x19, #76]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_array ; -- Begin function print_array
.p2align 2
_print_array: ; @print_array
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0]
str x8, [sp]
Lloh38:
adrp x20, l_.str.10@PAGE
Lloh39:
add x20, x20, l_.str.10@PAGEOFF
mov x0, x20
bl _printf
ldr w8, [x19, #4]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #8]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #12]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #16]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #20]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #24]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #28]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #32]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #36]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #40]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #44]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #48]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #52]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #56]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #60]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #64]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #68]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #72]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #76]
str x8, [sp]
mov x0, x20
bl _printf
mov w0, #10
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _putchar
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.globl _sort_select ; -- Begin function sort_select
.p2align 2
_sort_select: ; @sort_select
.cfi_startproc
; %bb.0:
mov x9, #0
mov w8, #1
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_2 Depth 2
add x10, x9, #1
mov x12, x8
mov x11, x9
LBB3_2: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x0, x12, lsl #2]
ldr w14, [x0, w11, sxtw #2]
cmp w13, w14
csel w11, w12, w11, lt
add x12, x12, #1
cmp x12, #21
b.ne LBB3_2
; %bb.3: ; in Loop: Header=BB3_1 Depth=1
lsl x9, x9, #2
sbfiz x11, x11, #2, #32
ldr w12, [x0, x9]
ldr w13, [x0, x11]
str w13, [x0, x9]
str w12, [x0, x11]
add x8, x8, #1
mov x9, x10
cmp x10, #20
b.ne LBB3_1
; %bb.4:
ret
.cfi_endproc
; -- End function
.globl _sort_bubble ; -- Begin function sort_bubble
.p2align 2
_sort_bubble: ; @sort_bubble
.cfi_startproc
; %bb.0:
mov x8, #0
b LBB4_2
LBB4_1: ; in Loop: Header=BB4_2 Depth=1
add x8, x8, #1
cmp x8, #20
b.eq LBB4_7
LBB4_2: ; =>This Loop Header: Depth=1
; Child Loop BB4_5 Depth 2
mov x9, #0
ldr w10, [x0, #80]
b LBB4_5
LBB4_3: ; in Loop: Header=BB4_5 Depth=2
stp w10, w12, [x11, #76]
LBB4_4: ; in Loop: Header=BB4_5 Depth=2
add x11, x9, #19
sub x9, x9, #1
cmp x11, x8
b.ls LBB4_1
LBB4_5: ; Parent Loop BB4_2 Depth=1
; => This Inner Loop Header: Depth=2
add x11, x0, x9, lsl #2
ldr w12, [x11, #76]
cmp w10, w12
b.lt LBB4_3
; %bb.6: ; in Loop: Header=BB4_5 Depth=2
mov x10, x12
b LBB4_4
LBB4_7:
ret
.cfi_endproc
; -- End function
.globl _sort_insert ; -- Begin function sort_insert
.p2align 2
_sort_insert: ; @sort_insert
.cfi_startproc
; %bb.0:
mov x8, #0
add x9, x0, #4
mov w10, #1
b LBB5_2
LBB5_1: ; in Loop: Header=BB5_2 Depth=1
add w12, w12, #1
str w11, [x0, w12, sxtw #2]
add x10, x10, #1
add x8, x8, #1
cmp x10, #21
b.eq LBB5_5
LBB5_2: ; =>This Loop Header: Depth=1
; Child Loop BB5_3 Depth 2
ldr w11, [x0, x10, lsl #2]
mov x12, x8
LBB5_3: ; Parent Loop BB5_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x0, w12, uxtw #2]
cmp w11, w13
b.ge LBB5_1
; %bb.4: ; in Loop: Header=BB5_3 Depth=2
str w13, [x9, x12, lsl #2]
sub x12, x12, #1
add w13, w12, #1
cmp w13, #0
b.gt LBB5_3
b LBB5_1
LBB5_5:
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
str w9, [x0]
str w8, [x1]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "Choose the menu: "
l_.str.6: ; @.str.6
.asciz "%d"
l_.str.7: ; @.str.7
.asciz "Original array: "
l_.str.8: ; @.str.8
.asciz "Sorted array : "
l_.str.10: ; @.str.10
.asciz "%2d "
l_str: ; @str
.asciz "This program sorts array"
l_str.12: ; @str.12
.asciz "1. Selection sort"
l_str.13: ; @str.13
.asciz "2. Bubble sort"
l_str.14: ; @str.14
.asciz "3. Insertion sort"
l_str.15: ; @str.15
.asciz "4. Exit"
l_str.16: ; @str.16
.asciz "\n"
.subsections_via_symbols
| the_stack_data/151705816.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function via_fire_dmablit
_via_fire_dmablit: ## @via_fire_dmablit
.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, %ebx
movq %rsi, %r14
movq (%rdi), %r13
movq _VIA_PCI_DMA_MAR0@GOTPCREL(%rip), %rax
movl %edx, %ecx
shll $4, %ecx
movslq %ecx, %r12
movq (%rax), %rsi
addq %r12, %rsi
movq %r13, %rdi
xorl %edx, %edx
callq _via_write
movq _VIA_PCI_DMA_DAR0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %r12, %rsi
movq %r13, %rdi
xorl %edx, %edx
callq _via_write
movq _VIA_PCI_DMA_CSR0@GOTPCREL(%rip), %rax
shll $2, %ebx
movslq %ebx, %r15
movq (%rax), %rsi
movq %rax, %rbx
movq _VIA_DMA_CSR_DD@GOTPCREL(%rip), %rax
movq _VIA_DMA_CSR_TD@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
addq %r15, %rsi
movq _VIA_DMA_CSR_DE@GOTPCREL(%rip), %rax
orl (%rax), %edx
movq %r13, %rdi
callq _via_write
movq _VIA_PCI_DMA_MR0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %r15, %rsi
movq _VIA_DMA_MR_CM@GOTPCREL(%rip), %rax
movq _VIA_DMA_MR_TDIE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq %r13, %rdi
callq _via_write
movq _VIA_PCI_DMA_BCR0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq %r12, %rsi
movq %r13, %rdi
xorl %edx, %edx
callq _via_write
movq _VIA_PCI_DMA_DPR0@GOTPCREL(%rip), %rax
addq (%rax), %r12
movl (%r14), %edx
movq %r13, %rdi
movq %r12, %rsi
callq _via_write
xorl %eax, %eax
callq _wmb
movq (%rbx), %rsi
addq %r15, %rsi
movq _VIA_DMA_CSR_TS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _VIA_DMA_CSR_DE@GOTPCREL(%rip), %rax
orl (%rax), %edx
movq %r13, %rdi
callq _via_write
addq (%rbx), %r15
movq %r13, %rdi
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _via_read ## TAILCALL
.cfi_endproc
## -- End function
.comm _VIA_PCI_DMA_MAR0,8,3 ## @VIA_PCI_DMA_MAR0
.comm _VIA_PCI_DMA_DAR0,8,3 ## @VIA_PCI_DMA_DAR0
.comm _VIA_PCI_DMA_CSR0,8,3 ## @VIA_PCI_DMA_CSR0
.comm _VIA_DMA_CSR_DD,4,2 ## @VIA_DMA_CSR_DD
.comm _VIA_DMA_CSR_TD,4,2 ## @VIA_DMA_CSR_TD
.comm _VIA_DMA_CSR_DE,4,2 ## @VIA_DMA_CSR_DE
.comm _VIA_PCI_DMA_MR0,8,3 ## @VIA_PCI_DMA_MR0
.comm _VIA_DMA_MR_CM,4,2 ## @VIA_DMA_MR_CM
.comm _VIA_DMA_MR_TDIE,4,2 ## @VIA_DMA_MR_TDIE
.comm _VIA_PCI_DMA_BCR0,8,3 ## @VIA_PCI_DMA_BCR0
.comm _VIA_PCI_DMA_DPR0,8,3 ## @VIA_PCI_DMA_DPR0
.comm _VIA_DMA_CSR_TS,4,2 ## @VIA_DMA_CSR_TS
.no_dead_strip _via_fire_dmablit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function via_fire_dmablit
_via_fire_dmablit: ; @via_fire_dmablit
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x2
mov x20, x1
ldr x19, [x0]
Lloh0:
adrp x8, _VIA_PCI_DMA_MAR0@GOTPAGE
Lloh1:
ldr x8, [x8, _VIA_PCI_DMA_MAR0@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
lsl w9, w2, #4
sxtw x23, w9
add x1, x8, x23
mov x0, x19
mov w2, #0
bl _via_write
Lloh3:
adrp x8, _VIA_PCI_DMA_DAR0@GOTPAGE
Lloh4:
ldr x8, [x8, _VIA_PCI_DMA_DAR0@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
add x1, x8, x23
mov x0, x19
mov w2, #0
bl _via_write
Lloh6:
adrp x22, _VIA_PCI_DMA_CSR0@GOTPAGE
Lloh7:
ldr x22, [x22, _VIA_PCI_DMA_CSR0@GOTPAGEOFF]
ldr x8, [x22]
lsl w9, w21, #2
sxtw x21, w9
add x1, x8, x21
Lloh8:
adrp x8, _VIA_DMA_CSR_DD@GOTPAGE
Lloh9:
ldr x8, [x8, _VIA_DMA_CSR_DD@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _VIA_DMA_CSR_TD@GOTPAGE
Lloh12:
ldr x9, [x9, _VIA_DMA_CSR_TD@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w8, w9, w8
Lloh14:
adrp x24, _VIA_DMA_CSR_DE@GOTPAGE
Lloh15:
ldr x24, [x24, _VIA_DMA_CSR_DE@GOTPAGEOFF]
ldr w9, [x24]
orr w2, w8, w9
mov x0, x19
bl _via_write
Lloh16:
adrp x8, _VIA_PCI_DMA_MR0@GOTPAGE
Lloh17:
ldr x8, [x8, _VIA_PCI_DMA_MR0@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
Lloh19:
adrp x9, _VIA_DMA_MR_CM@GOTPAGE
Lloh20:
ldr x9, [x9, _VIA_DMA_MR_CM@GOTPAGEOFF]
add x1, x8, x21
Lloh21:
ldr w8, [x9]
Lloh22:
adrp x9, _VIA_DMA_MR_TDIE@GOTPAGE
Lloh23:
ldr x9, [x9, _VIA_DMA_MR_TDIE@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
orr w2, w9, w8
mov x0, x19
bl _via_write
Lloh25:
adrp x8, _VIA_PCI_DMA_BCR0@GOTPAGE
Lloh26:
ldr x8, [x8, _VIA_PCI_DMA_BCR0@GOTPAGEOFF]
Lloh27:
ldr x8, [x8]
add x1, x8, x23
mov x0, x19
mov w2, #0
bl _via_write
Lloh28:
adrp x8, _VIA_PCI_DMA_DPR0@GOTPAGE
Lloh29:
ldr x8, [x8, _VIA_PCI_DMA_DPR0@GOTPAGEOFF]
Lloh30:
ldr x8, [x8]
add x1, x8, x23
ldr w2, [x20]
mov x0, x19
bl _via_write
bl _wmb
ldr x8, [x22]
add x1, x8, x21
ldr w8, [x24]
Lloh31:
adrp x9, _VIA_DMA_CSR_TS@GOTPAGE
Lloh32:
ldr x9, [x9, _VIA_DMA_CSR_TS@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
orr w2, w9, w8
mov x0, x19
bl _via_write
ldr x8, [x22]
add x1, x8, x21
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _via_read
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VIA_PCI_DMA_MAR0,8,3 ; @VIA_PCI_DMA_MAR0
.comm _VIA_PCI_DMA_DAR0,8,3 ; @VIA_PCI_DMA_DAR0
.comm _VIA_PCI_DMA_CSR0,8,3 ; @VIA_PCI_DMA_CSR0
.comm _VIA_DMA_CSR_DD,4,2 ; @VIA_DMA_CSR_DD
.comm _VIA_DMA_CSR_TD,4,2 ; @VIA_DMA_CSR_TD
.comm _VIA_DMA_CSR_DE,4,2 ; @VIA_DMA_CSR_DE
.comm _VIA_PCI_DMA_MR0,8,3 ; @VIA_PCI_DMA_MR0
.comm _VIA_DMA_MR_CM,4,2 ; @VIA_DMA_MR_CM
.comm _VIA_DMA_MR_TDIE,4,2 ; @VIA_DMA_MR_TDIE
.comm _VIA_PCI_DMA_BCR0,8,3 ; @VIA_PCI_DMA_BCR0
.comm _VIA_PCI_DMA_DPR0,8,3 ; @VIA_PCI_DMA_DPR0
.comm _VIA_DMA_CSR_TS,4,2 ; @VIA_DMA_CSR_TS
.no_dead_strip _via_fire_dmablit
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/via/extr_via_dmablit.c_via_fire_dmablit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qpolicy_simple_push
_qpolicy_simple_push: ## @qpolicy_simple_push
.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 _skb_queue_tail ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _qpolicy_simple_push
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qpolicy_simple_push
_qpolicy_simple_push: ; @qpolicy_simple_push
.cfi_startproc
; %bb.0:
b _skb_queue_tail
.cfi_endproc
; -- End function
.no_dead_strip _qpolicy_simple_push
.subsections_via_symbols
| AnghaBench/linux/net/dccp/extr_qpolicy.c_qpolicy_simple_push.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sn9c102_stop_transfer
_sn9c102_stop_transfer: ## @sn9c102_stop_transfer
.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 _DEV_DISCONNECTED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_1
## %bb.3:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
movq %rdi, %r14
movq _SN9C102_URBS@GOTPCREL(%rip), %rax
movq (%rax), %rax
leaq -4(,%rax,4), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%r14), %rax
movl (%rax,%rbx), %edi
callq _usb_kill_urb
movq 16(%r14), %rax
movl (%rax,%rbx), %edi
callq _usb_free_urb
movq 8(%r14), %rax
movl (%rax,%rbx), %edi
callq _kfree
addq $-4, %rbx
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _DEV_DISCONNECTED,4,2 ## @DEV_DISCONNECTED
.comm _SN9C102_URBS,8,3 ## @SN9C102_URBS
.no_dead_strip _sn9c102_stop_transfer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sn9c102_stop_transfer
_sn9c102_stop_transfer: ; @sn9c102_stop_transfer
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w8, [x0]
Lloh0:
adrp x9, _DEV_DISCONNECTED@GOTPAGE
Lloh1:
ldr x9, [x9, _DEV_DISCONNECTED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
mov x19, x0
Lloh3:
adrp x8, _SN9C102_URBS@GOTPAGE
Lloh4:
ldr x8, [x8, _SN9C102_URBS@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
lsl x8, x8, #2
sub x20, x8, #4
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr w0, [x8, x20]
bl _usb_kill_urb
ldr x8, [x19, #16]
ldr w0, [x8, x20]
bl _usb_free_urb
ldr x8, [x19, #8]
ldr w0, [x8, x20]
bl _kfree
sub x20, x20, #4
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _DEV_DISCONNECTED,4,2 ; @DEV_DISCONNECTED
.comm _SN9C102_URBS,8,3 ; @SN9C102_URBS
.no_dead_strip _sn9c102_stop_transfer
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_core.c_sn9c102_stop_transfer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
LCPI0_1:
.quad 0x4066800000000000 ## double 180
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %ebx
cvtsi2sd %ebx, %xmm0
mulsd LCPI0_0(%rip), %xmm0
divsd LCPI0_1(%rip), %xmm0
callq _sin
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Introduceti unghiul in grade sexagesimale: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Sin(%d) = %.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #20
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w19, [x29, #-20]
scvtf d0, w19
mov x8, #11544
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16393, lsl #48
fmov d1, x8
fmul d0, d0, d1
mov x8, #140737488355328
movk x8, #16486, lsl #48
fmov d1, x8
fdiv d0, d0, d1
bl _sin
str x19, [sp]
str d0, [sp, #8]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Introduceti unghiul in grade sexagesimale: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Sin(%d) = %.2f"
.subsections_via_symbols
| the_stack_data/178266286.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function File_Definition
_File_Definition: ## @File_Definition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct File {\n FILE* file;\n};\n"
.no_dead_strip _File_Definition
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function File_Definition
_File_Definition: ; @File_Definition
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct File {\n FILE* file;\n};\n"
.no_dead_strip _File_Definition
.subsections_via_symbols
| AnghaBench/Cello/src/extr_File.c_File_Definition.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ov7670_write_smbus
_ov7670_write_smbus: ## @ov7670_write_smbus
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movl %esi, %ebx
callq _v4l2_get_subdevdata
movq %rax, %rdi
movl %ebx, %esi
movl %r15d, %edx
callq _i2c_smbus_write_byte_data
movl %eax, %r14d
movq _REG_COM7@GOTPCREL(%rip), %rax
cmpb %bl, (%rax)
jne LBB0_3
## %bb.1:
movq _COM7_RESET@GOTPCREL(%rip), %rax
testb %r15b, (%rax)
je LBB0_3
## %bb.2:
movl $5, %edi
callq _msleep
LBB0_3:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REG_COM7,1,0 ## @REG_COM7
.comm _COM7_RESET,1,0 ## @COM7_RESET
.no_dead_strip _ov7670_write_smbus
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ov7670_write_smbus
_ov7670_write_smbus: ; @ov7670_write_smbus
.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 x21, x1
bl _v4l2_get_subdevdata
mov x1, x21
mov x2, x19
bl _i2c_smbus_write_byte_data
mov x20, x0
Lloh0:
adrp x8, _REG_COM7@GOTPAGE
Lloh1:
ldr x8, [x8, _REG_COM7@GOTPAGEOFF]
ldrb w8, [x8]
cmp w8, w21
b.ne LBB0_3
; %bb.1:
Lloh2:
adrp x8, _COM7_RESET@GOTPAGE
Lloh3:
ldr x8, [x8, _COM7_RESET@GOTPAGEOFF]
ldrb w8, [x8]
tst w8, w19
b.eq LBB0_3
; %bb.2:
mov w0, #5
bl _msleep
LBB0_3:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _REG_COM7,1,0 ; @REG_COM7
.comm _COM7_RESET,1,0 ; @COM7_RESET
.no_dead_strip _ov7670_write_smbus
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/extr_ov7670.c_ov7670_write_smbus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lpfc_stop_vport_timers ## -- Begin function lpfc_stop_vport_timers
.p2align 4, 0x90
_lpfc_stop_vport_timers: ## @lpfc_stop_vport_timers
.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
addq $8, %rdi
callq _del_timer_sync
leaq 4(%rbx), %rdi
callq _del_timer_sync
movq %rbx, %rdi
callq _del_timer_sync
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lpfc_can_disctmo ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lpfc_stop_vport_timers ; -- Begin function lpfc_stop_vport_timers
.p2align 2
_lpfc_stop_vport_timers: ; @lpfc_stop_vport_timers
.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
add x0, x0, #8
bl _del_timer_sync
add x0, x19, #4
bl _del_timer_sync
mov x0, x19
bl _del_timer_sync
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lpfc_can_disctmo
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_stop_vport_timers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_ca_object_pos
_get_ca_object_pos: ## @get_ca_object_pos
.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
movl 28(%rax), %eax
movl %eax, %ecx
andl $127, %ecx
addl $8, %ecx
testb $-128, %al
movl $8, %eax
cmovnel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _get_ca_object_pos
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_ca_object_pos
_get_ca_object_pos: ; @get_ca_object_pos
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w8, [x8, #28]
and w9, w8, #0x7f
add w9, w9, #8
tst w8, #0x80
mov w8, #8
csel w0, w8, w9, eq
ret
.cfi_endproc
; -- End function
.no_dead_strip _get_ca_object_pos
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/dvb/firewire/extr_firedtv-avc.c_get_ca_object_pos.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function emit_alu_K
_emit_alu_K: ## @emit_alu_K
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -48(%rbp) ## 8-byte Spill
movl %edx, %r15d
movl %esi, %r12d
movl %edi, %r13d
movl %edx, %edi
callq _is_simm13
movl %eax, %r14d
movl %r12d, %edi
callq _RS1
movl %eax, %ebx
movl %r12d, %edi
callq _RD
orl %r13d, %ebx
orl %eax, %ebx
testl %r14d, %r14d
je LBB0_2
## %bb.1:
movq _IMMED@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movl %r15d, %edi
callq _S13
orl %ebx, %eax
movq -48(%rbp), %rsi ## 8-byte Reload
jmp LBB0_3
LBB0_2:
movq _bpf2sparc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _TMP_REG_1@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rax,%rcx,4), %r14d
movq -48(%rbp), %r12 ## 8-byte Reload
movl $1, (%r12)
movl %r15d, %edi
movl %r14d, %esi
movq %r12, %rdx
callq _emit_set_const_sext
movl %r14d, %edi
callq _RS2
orl %ebx, %eax
movq %r12, %rsi
LBB0_3:
movl %eax, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _emit ## TAILCALL
.cfi_endproc
## -- End function
.comm _IMMED,4,2 ## @IMMED
.comm _bpf2sparc,8,3 ## @bpf2sparc
.comm _TMP_REG_1,8,3 ## @TMP_REG_1
.no_dead_strip _emit_alu_K
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function emit_alu_K
_emit_alu_K: ; @emit_alu_K
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
mov x0, x2
bl _is_simm13
mov x23, x0
mov x0, x21
bl _RS1
mov x24, x0
mov x0, x21
bl _RD
orr w8, w24, w22
orr w22, w8, w0
cbz w23, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _IMMED@GOTPAGE
Lloh1:
ldr x8, [x8, _IMMED@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
orr w21, w8, w22
mov x0, x20
bl _S13
orr w0, w21, w0
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _bpf2sparc@GOTPAGE
Lloh4:
ldr x8, [x8, _bpf2sparc@GOTPAGEOFF]
Lloh5:
adrp x9, _TMP_REG_1@GOTPAGE
Lloh6:
ldr x9, [x9, _TMP_REG_1@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
Lloh8:
ldr x9, [x9]
ldr w21, [x8, x9, lsl #2]
mov w8, #1
str w8, [x19]
mov x0, x20
mov x1, x21
mov x2, x19
bl _emit_set_const_sext
mov x0, x21
bl _RS2
orr w0, w0, w22
LBB0_3:
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _emit
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.cfi_endproc
; -- End function
.comm _IMMED,4,2 ; @IMMED
.comm _bpf2sparc,8,3 ; @bpf2sparc
.comm _TMP_REG_1,8,3 ; @TMP_REG_1
.no_dead_strip _emit_alu_K
.subsections_via_symbols
| AnghaBench/linux/arch/sparc/net/extr_bpf_jit_comp_64.c_emit_alu_K.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nd_pfn_validate
_nd_pfn_validate: ## @nd_pfn_validate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.no_dead_strip _nd_pfn_validate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nd_pfn_validate
_nd_pfn_validate: ; @nd_pfn_validate
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ENODEV@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.no_dead_strip _nd_pfn_validate
.subsections_via_symbols
| AnghaBench/linux/drivers/dax/pmem/extr_....nvdimmnd.h_nd_pfn_validate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function copy_directory_fd
_copy_directory_fd: ## @copy_directory_fd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
popq %rbp
jmp _copy_directory_fd_full ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _copy_directory_fd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function copy_directory_fd
_copy_directory_fd: ; @copy_directory_fd
.cfi_startproc
; %bb.0:
mov x3, #0
mov x4, #0
mov x5, #0
b _copy_directory_fd_full
.cfi_endproc
; -- End function
.no_dead_strip _copy_directory_fd
.subsections_via_symbols
| AnghaBench/systemd/src/basic/extr_copy.h_copy_directory_fd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_ymfpci_gpio_sw_put
_snd_ymfpci_gpio_sw_put: ## @snd_ymfpci_gpio_sw_put
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _snd_kcontrol_chip
movq %rax, %r12
movl (%rbx), %r15d
movq %rax, %rdi
movl %r15d, %esi
callq _snd_ymfpci_get_gpio_out
movq %rax, %rcx
movq (%r14), %rax
movq (%rax), %rsi
xorl %eax, %eax
cmpq %rsi, %rcx
je LBB0_2
## %bb.1:
xorl %edx, %edx
testq %rsi, %rsi
setne %dl
movq %r12, %rdi
movl %r15d, %esi
callq _snd_ymfpci_set_gpio_out
movq %r12, %rdi
movl %r15d, %esi
callq _snd_ymfpci_get_gpio_out
movq (%r14), %rcx
movq %rax, (%rcx)
movl $1, %eax
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _snd_ymfpci_gpio_sw_put
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_ymfpci_gpio_sw_put
_snd_ymfpci_gpio_sw_put: ; @snd_ymfpci_gpio_sw_put
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
bl _snd_kcontrol_chip
mov x20, x0
ldr w21, [x21]
mov x1, x21
bl _snd_ymfpci_get_gpio_out
ldr x8, [x19]
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
cmp x8, #0
cset w2, ne
mov x0, x20
mov x1, x21
bl _snd_ymfpci_set_gpio_out
mov x0, x20
mov x1, x21
bl _snd_ymfpci_get_gpio_out
ldr x8, [x19]
str x0, [x8]
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _snd_ymfpci_gpio_sw_put
.subsections_via_symbols
| AnghaBench/linux/sound/pci/ymfpci/extr_ymfpci_main.c_snd_ymfpci_gpio_sw_put.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trailingZeroes ## -- Begin function trailingZeroes
.p2align 4, 0x90
_trailingZeroes: ## @trailingZeroes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
xorl %eax, %eax
testl %edi, %edi
je LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq %edi, %rcx
imulq $1717986919, %rcx, %rdi ## imm = 0x66666667
movq %rdi, %rdx
shrq $63, %rdx
sarq $33, %rdi
addl %edx, %edi
addl %edi, %eax
addl $4, %ecx
cmpl $8, %ecx
ja LBB0_1
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trailingZeroes ; -- Begin function trailingZeroes
.p2align 2
_trailingZeroes: ; @trailingZeroes
.cfi_startproc
; %bb.0:
cbz w0, LBB0_3
; %bb.1:
mov x8, x0
mov w0, #0
mov w9, #26215
movk w9, #26214, lsl #16
LBB0_2: ; =>This Inner Loop Header: Depth=1
smull x10, w8, w9
lsr x11, x10, #63
asr x10, x10, #33
add w12, w8, #4
add w8, w10, w11
add w0, w0, w8
cmp w12, #8
b.hi LBB0_2
LBB0_3:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/18288.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gen_crc16 ## -- Begin function gen_crc16
.p2align 4, 0x90
_gen_crc16: ## @gen_crc16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
je LBB0_1
## %bb.2:
movzwl %si, %r8d
xorl %r9d, %r9d
xorl %esi, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%r9), %eax
movl %eax, %edx
shrl $7, %edx
leal (%rdx,%rsi,2), %edx
movl %edx, %ecx
xorl $-32763, %ecx ## imm = 0x8005
testw %si, %si
cmovnsl %edx, %ecx
movl %eax, %edx
shrl $6, %edx
andl $1, %edx
leal (%rdx,%rcx,2), %edx
movl %edx, %esi
xorl $-32763, %esi ## imm = 0x8005
testw %cx, %cx
cmovnsl %edx, %esi
movl %eax, %ecx
shrl $5, %ecx
andl $1, %ecx
leal (%rcx,%rsi,2), %ecx
movl %ecx, %edx
xorl $-32763, %edx ## imm = 0x8005
testw %si, %si
cmovnsl %ecx, %edx
movl %eax, %ecx
shrl $4, %ecx
andl $1, %ecx
leal (%rcx,%rdx,2), %ecx
movl %ecx, %esi
xorl $-32763, %esi ## imm = 0x8005
testw %dx, %dx
cmovnsl %ecx, %esi
movl %eax, %ecx
shrl $3, %ecx
andl $1, %ecx
leal (%rcx,%rsi,2), %ecx
movl %ecx, %edx
xorl $-32763, %edx ## imm = 0x8005
testw %si, %si
cmovnsl %ecx, %edx
movl %eax, %ecx
shrl $2, %ecx
andl $1, %ecx
leal (%rcx,%rdx,2), %ecx
movl %ecx, %esi
xorl $-32763, %esi ## imm = 0x8005
testw %dx, %dx
cmovnsl %ecx, %esi
movl %eax, %ecx
shrl %ecx
andl $1, %ecx
leal (%rcx,%rsi,2), %ecx
movl %ecx, %edx
xorl $-32763, %edx ## imm = 0x8005
testw %si, %si
cmovnsl %ecx, %edx
andl $1, %eax
leal (%rax,%rdx,2), %eax
movl %eax, %esi
xorl $-32763, %esi ## imm = 0x8005
testw %dx, %dx
cmovnsl %eax, %esi
incq %r9
cmpw %r9w, %r8w
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %esi, %esi
LBB0_4:
movzwl %si, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gen_crc16 ; -- Begin function gen_crc16
.p2align 2
_gen_crc16: ; @gen_crc16
.cfi_startproc
; %bb.0:
mov w9, #0
cbz w1, LBB0_3
; %bb.1:
mov w8, #-32763
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x0], #1
sxth w11, w9
lsr w12, w10, #7
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
lsr w12, w10, #6
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
lsr w12, w10, #5
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
lsr w12, w10, #4
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
lsr w12, w10, #3
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
lsr w12, w10, #2
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
lsr w12, w10, #1
bfi w12, w9, #1, #31
eor w9, w12, w8
cmp w11, #0
csel w9, w9, w12, lt
sxth w11, w9
bfi w10, w9, #1, #31
eor w9, w10, w8
cmp w11, #0
csel w9, w9, w10, lt
sub w1, w1, #1
tst w1, #0xffff
b.ne LBB0_2
LBB0_3:
and w0, w9, #0xffff
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/36075525.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function decNaNs
_decNaNs: ## @decNaNs
.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
movl (%rsi), %eax
movq _DECSNAN@GOTPCREL(%rip), %r14
movl (%r14), %edi
testl %eax, %edi
je LBB0_2
## %bb.1:
movq _DEC_Invalid_operation@GOTPCREL(%rip), %rax
movq _DEC_sNaN@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rax), %edx
orl %edx, (%rcx)
LBB0_6:
movq %rbx, %rdi
callq _decNumberCopy
movl (%r14), %eax
notl %eax
andl (%rbx), %eax
movl %eax, (%rbx)
movq _DECNAN@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, (%rbx)
movq $0, 8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
testq %rdx, %rdx
je LBB0_6
## %bb.3:
testl %edi, (%rdx)
je LBB0_5
## %bb.4:
movq _DEC_Invalid_operation@GOTPCREL(%rip), %rax
movq _DEC_sNaN@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
orl (%rax), %esi
orl %esi, (%rcx)
movq %rdx, %rsi
jmp LBB0_6
LBB0_5:
movq _DECNAN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
cmoveq %rdx, %rsi
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _DECSNAN,4,2 ## @DECSNAN
.comm _DEC_Invalid_operation,4,2 ## @DEC_Invalid_operation
.comm _DEC_sNaN,4,2 ## @DEC_sNaN
.comm _DECNAN,4,2 ## @DECNAN
.no_dead_strip _decNaNs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function decNaNs
_decNaNs: ; @decNaNs
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w8, [x1]
Lloh0:
adrp x21, _DECSNAN@GOTPAGE
Lloh1:
ldr x21, [x21, _DECSNAN@GOTPAGEOFF]
ldr w9, [x21]
Lloh2:
adrp x20, _DECNAN@GOTPAGE
Lloh3:
ldr x20, [x20, _DECNAN@GOTPAGEOFF]
tst w9, w8
b.eq LBB0_3
; %bb.1:
Lloh4:
adrp x8, _DEC_Invalid_operation@GOTPAGE
Lloh5:
ldr x8, [x8, _DEC_Invalid_operation@GOTPAGEOFF]
Lloh6:
adrp x9, _DEC_sNaN@GOTPAGE
Lloh7:
ldr x9, [x9, _DEC_sNaN@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [x3]
orr w8, w8, w9
str w8, [x3]
LBB0_2:
mov x0, x19
bl _decNumberCopy
ldr w8, [x21]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
ldr w9, [x20]
orr w8, w9, w8
str w8, [x19]
str xzr, [x19, #8]
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
cbz x2, LBB0_2
; %bb.4:
ldr w10, [x2]
tst w10, w9
b.eq LBB0_6
; %bb.5:
Lloh10:
adrp x8, _DEC_Invalid_operation@GOTPAGE
Lloh11:
ldr x8, [x8, _DEC_Invalid_operation@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
Lloh13:
adrp x9, _DEC_sNaN@GOTPAGE
Lloh14:
ldr x9, [x9, _DEC_sNaN@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [x3]
orr w8, w8, w9
str w8, [x3]
mov x1, x2
b LBB0_2
LBB0_6:
ldr w9, [x20]
tst w9, w8
csel x1, x2, x1, eq
b LBB0_2
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh8
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _DECSNAN,4,2 ; @DECSNAN
.comm _DEC_Invalid_operation,4,2 ; @DEC_Invalid_operation
.comm _DEC_sNaN,4,2 ; @DEC_sNaN
.comm _DECNAN,4,2 ; @DECNAN
.no_dead_strip _decNaNs
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcclibs/libdecnumber/extr_decNumber.c_decNaNs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_temp_min
_set_temp_min: ## @set_temp_min
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r12
movq %rdi, %rbx
movq %rsi, %rdi
callq _to_sensor_dev_attr
movslq (%rax), %r13
movq %rbx, %rdi
callq _to_i2c_client
movq %rax, %r15
movq %rax, %rdi
callq _i2c_get_clientdata
movq %rax, %rbx
movq %r12, %rdi
xorl %esi, %esi
movl $10, %edx
callq _simple_strtol
movq %rax, %r12
movq %rbx, %rdi
callq _mutex_lock
movq %r12, %rdi
callq _TEMP_TO_REG
movq 8(%rbx), %rcx
movl %eax, (%rcx,%r13,4)
movq _SMSC47M192_REG_TEMP_MIN@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rcx,%r13,4), %esi
movq %r15, %rdi
movl %eax, %edx
callq _i2c_smbus_write_byte_data
movq %rbx, %rdi
callq _mutex_unlock
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SMSC47M192_REG_TEMP_MIN,8,3 ## @SMSC47M192_REG_TEMP_MIN
.no_dead_strip _set_temp_min
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_temp_min
_set_temp_min: ; @set_temp_min
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x2
mov x21, x0
mov x0, x1
bl _to_sensor_dev_attr
ldrsw x23, [x0]
mov x0, x21
bl _to_i2c_client
mov x21, x0
bl _i2c_get_clientdata
mov x22, x0
mov x0, x20
mov x1, #0
mov w2, #10
bl _simple_strtol
mov x20, x0
mov x0, x22
bl _mutex_lock
mov x0, x20
bl _TEMP_TO_REG
mov x2, x0
ldr x8, [x22, #8]
lsl x9, x23, #2
str w0, [x8, x9]
Lloh0:
adrp x8, _SMSC47M192_REG_TEMP_MIN@GOTPAGE
Lloh1:
ldr x8, [x8, _SMSC47M192_REG_TEMP_MIN@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w1, [x8, x9]
mov x0, x21
bl _i2c_smbus_write_byte_data
mov x0, x22
bl _mutex_unlock
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SMSC47M192_REG_TEMP_MIN,8,3 ; @SMSC47M192_REG_TEMP_MIN
.no_dead_strip _set_temp_min
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hwmon/extr_smsc47m192.c_set_temp_min.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mp_image_layout
_mp_image_layout: ## @mp_image_layout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -56(%rbp) ## 8-byte Spill
movq %r8, %r15
movl %ecx, %ebx
movl %edx, %r13d
movl %esi, %r12d
movl %edi, %r14d
leaq -112(%rbp), %rdi
movl %r14d, %esi
callq _mp_imgfmt_get_desc
movl %r14d, -72(%rbp)
movl %r12d, -44(%rbp) ## 4-byte Spill
movl %r12d, -68(%rbp)
movl %r13d, -48(%rbp) ## 4-byte Spill
movl %r13d, -64(%rbp)
leaq -72(%rbp), %rdi
callq _mp_image_params_valid
movl %eax, %ecx
movl $-1, %eax
testl %ecx, %ecx
je LBB0_16
## %bb.1:
movl -112(%rbp), %ecx
movq _MP_IMGFLAG_HWACCEL@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
movq -56(%rbp), %rsi ## 8-byte Reload
jne LBB0_16
## %bb.2:
movq 16(%rbp), %r8
movq _MP_MAX_PLANES@GOTPCREL(%rip), %r9
movl (%r9), %eax
testl %eax, %eax
jle LBB0_10
## %bb.3:
xorl %r13d, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
imull %r14d, %ecx
movl %ecx, (%r8,%r13,4)
incq %r13
movslq (%r9), %rax
cmpq %rax, %r13
jge LBB0_9
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq -80(%rbp), %rax
movl (%rax,%r13,4), %esi
movl -44(%rbp), %edi ## 4-byte Reload
callq _mp_chroma_div_up
movl %eax, %r12d
movl -48(%rbp), %edi ## 4-byte Reload
movl $32, %esi
callq _MP_ALIGN_UP
movl %eax, %r14d
movq -104(%rbp), %rax
movq -96(%rbp), %rdx
movb (%rax,%r13,4), %cl
sarl %cl, %r14d
imull (%rdx,%r13,4), %r12d
leal 7(%r12), %eax
addl $14, %r12d
testl %eax, %eax
cmovnsl %eax, %r12d
sarl $3, %r12d
movl %r12d, %edi
movl %ebx, %esi
callq _MP_ALIGN_UP
movl %eax, %ecx
movq -88(%rbp), %rsi
movl %eax, (%r15,%r13,4)
movl (%rsi,%r13,4), %edi
movq 16(%rbp), %r8
movq _MP_MAX_PLANES@GOTPCREL(%rip), %r9
testl %edi, %edi
je LBB0_8
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %eax
cltd
idivl %edi
testl %edx, %edx
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
addl %ebx, %ecx
movl %ecx, (%r15,%r13,4)
movl (%rsi,%r13,4), %edi
testl %edi, %edi
jne LBB0_6
jmp LBB0_8
LBB0_9:
movl -112(%rbp), %ecx
movq -56(%rbp), %rsi ## 8-byte Reload
LBB0_10:
movq _MP_IMGFLAG_PAL@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_12
## %bb.11:
movq _AVPALETTE_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%r8)
LBB0_12:
testl %eax, %eax
jle LBB0_13
## %bb.14:
xorl %ecx, %ecx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
cmpl $1, (%r8,%rcx,4)
movl $0, %edx
sbbl %edx, %edx
orl %eax, %edx
movl %edx, (%rsi,%rcx,4)
addl (%r8,%rcx,4), %eax
incq %rcx
movslq (%r9), %rdx
cmpq %rdx, %rcx
jl LBB0_15
jmp LBB0_16
LBB0_13:
xorl %eax, %eax
LBB0_16:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MP_MAX_PLANES,4,2 ## @MP_MAX_PLANES
.comm _MP_IMGFLAG_HWACCEL,4,2 ## @MP_IMGFLAG_HWACCEL
.comm _MP_IMGFLAG_PAL,4,2 ## @MP_IMGFLAG_PAL
.comm _AVPALETTE_SIZE,4,2 ## @AVPALETTE_SIZE
.no_dead_strip _mp_image_layout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mp_image_layout
_mp_image_layout: ; @mp_image_layout
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x6
mov x20, x5
mov x21, x4
mov x22, x3
mov x23, x2
mov x24, x1
mov x25, x0
add x8, sp, #40
bl _mp_imgfmt_get_desc
stp w25, w24, [sp, #24]
str w23, [sp, #20] ; 4-byte Folded Spill
str w23, [sp, #32]
add x0, sp, #24
bl _mp_image_params_valid
cbz w0, LBB0_2
; %bb.1:
ldr w9, [sp, #40]
Lloh0:
adrp x8, _MP_IMGFLAG_HWACCEL@GOTPAGE
Lloh1:
ldr x8, [x8, _MP_IMGFLAG_HWACCEL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w9
b.eq LBB0_4
LBB0_2:
mov w0, #-1
LBB0_3:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_4:
Lloh3:
adrp x23, _MP_MAX_PLANES@GOTPAGE
Lloh4:
ldr x23, [x23, _MP_MAX_PLANES@GOTPAGEOFF]
ldr w8, [x23]
cmp w8, #1
b.lt LBB0_12
; %bb.5:
str x20, [sp, #8] ; 8-byte Folded Spill
mov x28, #0
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
asr w8, w25, w27
mul w8, w0, w8
str w8, [x19, x28, lsl #2]
add x28, x28, #1
ldrsw x8, [x23]
cmp x28, x8
b.ge LBB0_11
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
ldr x8, [sp, #72]
lsl x20, x28, #2
ldr w1, [x8, x20]
mov x0, x24
bl _mp_chroma_div_up
mov x26, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
mov w1, #32
bl _MP_ALIGN_UP
mov x25, x0
ldp x8, x9, [sp, #48]
ldr w27, [x8, x20]
ldr w8, [x9, x20]
mul w8, w8, w26
add w9, w8, #7
add w8, w8, #14
cmp w9, #0
csel w8, w8, w9, lt
asr w0, w8, #3
mov x1, x22
bl _MP_ALIGN_UP
ldr x8, [sp, #64]
LBB0_8: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
str w0, [x21, x20]
ldr w9, [x8, x20]
cbz w9, LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
sdiv w10, w0, w9
msub w9, w10, w9, w0
cbz w9, LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
add w0, w0, w22
b LBB0_8
LBB0_11:
ldr w9, [sp, #40]
ldr x20, [sp, #8] ; 8-byte Folded Reload
LBB0_12:
Lloh5:
adrp x10, _MP_IMGFLAG_PAL@GOTPAGE
Lloh6:
ldr x10, [x10, _MP_IMGFLAG_PAL@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_14
; %bb.13:
Lloh8:
adrp x9, _AVPALETTE_SIZE@GOTPAGE
Lloh9:
ldr x9, [x9, _AVPALETTE_SIZE@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
str w9, [x19, #4]
LBB0_14:
cmp w8, #1
b.lt LBB0_17
; %bb.15:
mov x8, #0
mov w0, #0
LBB0_16: ; =>This Inner Loop Header: Depth=1
lsl x9, x8, #2
ldr w10, [x19, x9]
cmp w10, #0
csinv w10, w0, wzr, ne
str w10, [x20, x9]
ldr w9, [x19, x9]
add w0, w9, w0
add x8, x8, #1
ldrsw x9, [x23]
cmp x8, x9
b.lt LBB0_16
b LBB0_3
LBB0_17:
mov w0, #0
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _MP_MAX_PLANES,4,2 ; @MP_MAX_PLANES
.comm _MP_IMGFLAG_HWACCEL,4,2 ; @MP_IMGFLAG_HWACCEL
.comm _MP_IMGFLAG_PAL,4,2 ; @MP_IMGFLAG_PAL
.comm _AVPALETTE_SIZE,4,2 ; @AVPALETTE_SIZE
.no_dead_strip _mp_image_layout
.subsections_via_symbols
| AnghaBench/mpv/video/extr_mp_image.c_mp_image_layout.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.