x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3 values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _intern_test ## -- Begin function intern_test
.p2align 4, 0x90
_intern_test: ## @intern_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movw $111, -36(%rbp)
movl $1819043176, -40(%rbp) ## imm = 0x6C6C6568
leaq -40(%rbp), %rbx
movq %rbx, %rdi
callq _str_intern
movq %rbx, %rdi
movq %rax, %rsi
callq _strcmp
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
movq %rbx, %rdi
callq _str_intern
movq %rax, %r14
movq %rbx, %rdi
callq _str_intern
xorl %edi, %edi
cmpq %rax, %r14
sete %dil
callq _assert
movq %rbx, %rdi
callq _str_intern
movq %rax, %rdi
callq _str_intern
movq %rax, %r14
movq %rbx, %rdi
callq _str_intern
xorl %edi, %edi
cmpq %rax, %r14
sete %dil
callq _assert
movw $111, -28(%rbp)
movl $1819043176, -32(%rbp) ## imm = 0x6C6C6568
movl $1, %edi
callq _assert
movq %rbx, %rdi
callq _str_intern
movq %rax, %r14
leaq -32(%rbp), %rdi
callq _str_intern
xorl %edi, %edi
cmpq %rax, %r14
sete %dil
callq _assert
movl $2191212, -45(%rbp) ## imm = 0x216F6C
movl $1819043176, -48(%rbp) ## imm = 0x6C6C6568
movq %rbx, %rdi
callq _str_intern
movq %rax, %r14
leaq -48(%rbp), %rdi
callq _str_intern
xorl %edi, %edi
cmpq %rax, %r14
setne %dil
callq _assert
movb $0, -20(%rbp)
movl $1819043176, -24(%rbp) ## imm = 0x6C6C6568
movq %rbx, %rdi
callq _str_intern
movq %rax, %rbx
leaq -24(%rbp), %rdi
callq _str_intern
xorl %edi, %edi
cmpq %rax, %rbx
setne %dil
callq _assert
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___const.intern_test.b: ## @__const.intern_test.b
.asciz "hello"
L___const.intern_test.c: ## @__const.intern_test.c
.asciz "hello!"
L___const.intern_test.d: ## @__const.intern_test.d
.asciz "hell"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _intern_test ; -- Begin function intern_test
.p2align 2
_intern_test: ; @intern_test
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w21, #111 ; =0x6f
strh w21, [sp, #28]
mov w20, #25960 ; =0x6568
movk w20, #27756, lsl #16
str w20, [sp, #24]
add x0, sp, #24
bl _str_intern
mov x1, x0
add x0, sp, #24
bl _strcmp
cmp x0, #0
cset w0, eq
bl _assert
add x0, sp, #24
bl _str_intern
mov x19, x0
add x0, sp, #24
bl _str_intern
cmp x19, x0
cset w0, eq
bl _assert
add x0, sp, #24
bl _str_intern
bl _str_intern
mov x19, x0
add x0, sp, #24
bl _str_intern
cmp x19, x0
cset w0, eq
bl _assert
strh w21, [sp, #20]
str w20, [sp, #16]
mov w0, #1 ; =0x1
bl _assert
add x0, sp, #24
bl _str_intern
mov x19, x0
add x0, sp, #16
bl _str_intern
cmp x19, x0
cset w0, eq
bl _assert
mov w8, #28524 ; =0x6f6c
movk w8, #33, lsl #16
stur w8, [sp, #11]
str w20, [sp, #8]
add x0, sp, #24
bl _str_intern
mov x19, x0
add x0, sp, #8
bl _str_intern
cmp x19, x0
cset w0, ne
bl _assert
strb wzr, [sp, #4]
str w20, [sp]
add x0, sp, #24
bl _str_intern
mov x19, x0
mov x0, sp
bl _str_intern
cmp x19, x0
cset w0, ne
bl _assert
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
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.intern_test.b: ; @__const.intern_test.b
.asciz "hello"
l___const.intern_test.c: ; @__const.intern_test.c
.asciz "hello!"
l___const.intern_test.d: ; @__const.intern_test.d
.asciz "hell"
.subsections_via_symbols
| assembly_file_100585.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _err_exit ## -- Begin function err_exit
.p2align 4, 0x90
_err_exit: ## @err_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rdi, %r10
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB0_2
## %bb.1:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB0_2:
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq -32(%rbp), %rdx
movq %r10, %rsi
callq _vfprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _print_usage ## -- Begin function print_usage
.p2align 4, 0x90
_print_usage: ## @print_usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $1, %ebx
jne LBB1_2
## %bb.1:
movl $1, %edi
callq _exit
LBB1_2:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $4104, %eax ## imm = 0x1008
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
cmpl $2, %edi
jl LBB2_13
## %bb.1:
movl %edi, %ebx
movq 8(%r14), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB2_2
LBB2_13:
movq (%r14), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
LBB2_2:
leaq L_.str.2(%rip), %r15
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _getopt
cmpl $110, %eax
je LBB2_3
## %bb.4:
cmpl $-1, %eax
jne LBB2_14
## %bb.5:
movq _optind@GOTPCREL(%rip), %r15
movslq (%r15), %rax
cmpl %ebx, %eax
jne LBB2_6
## %bb.15:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _err_exit
LBB2_14:
movq (%r14), %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
LBB2_6:
movq (%r14,%rax,8), %rdi
movl $4, %esi
callq _access
movslq (%r15), %rcx
movq (%r14,%rcx,8), %rbx
cmpl $-1, %eax
jne LBB2_7
## %bb.16:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.4(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _err_exit
LBB2_7:
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _open
cmpl $-1, %eax
jne LBB2_8
## %bb.12:
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.8(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _err_exit
LBB2_8:
leaq L_.str.5(%rip), %rsi
movl %eax, %edi
callq _fdopen
movq %rax, %r15
leaq -4128(%rbp), %rbx
movl $4096, %ecx ## imm = 0x1000
movq %rax, %rdi
movq %rbx, %rsi
movl $1, %edx
callq _setvbuf
movq %rbx, %rdi
movl $4096, %esi ## imm = 0x1000
movq %r15, %rdx
callq _fgets
testq %rax, %rax
je LBB2_11
## %bb.9:
leaq L_str(%rip), %r14
leaq -4128(%rbp), %rbx
.p2align 4, 0x90
LBB2_10: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
movq %rbx, %rdi
callq _puts
movq %rbx, %rdi
movl $4096, %esi ## imm = 0x1000
movq %r15, %rdx
callq _fgets
testq %rax, %rax
jne LBB2_10
LBB2_11:
movq %r15, %rdi
callq _fclose
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s [-n num_lines] file\n"
L_.str.1: ## @.str.1
.asciz "--help"
L_.str.2: ## @.str.2
.asciz "n:"
L_.str.3: ## @.str.3
.asciz "missing file name\n"
L_.str.4: ## @.str.4
.asciz "cannot open %s for reading: %s\n"
L_.str.5: ## @.str.5
.asciz "r"
L_.str.8: ## @.str.8
.asciz "Error on open: %s"
L_str: ## @str
.asciz "read line"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _err_exit ; -- Begin function err_exit
.p2align 2
_err_exit: ; @err_exit
.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 x1, x0
add x8, x29, #16
str x8, [sp, #8]
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
add x2, x29, #16
bl _vfprintf
mov w0, #1
bl _exit
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _print_usage ; -- Begin function print_usage
.p2align 2
_print_usage: ; @print_usage
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
str x1, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
cmp w19, #1
b.ne LBB1_2
; %bb.1:
mov w0, #1
bl _exit
LBB1_2:
mov w0, #0
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w9, #4112
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #16
mov x19, x1
cmp w0, #2
b.lt LBB2_2
; %bb.1:
mov x20, x0
ldr x0, [x19, #8]
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbnz w0, LBB2_3
LBB2_2:
ldr x8, [x19]
str x8, [sp]
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB2_3:
Lloh11:
adrp x21, l_.str.2@PAGE
Lloh12:
add x21, x21, l_.str.2@PAGEOFF
LBB2_4: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
cmp w0, #110
b.eq LBB2_4
; %bb.5:
cmn w0, #1
b.ne LBB2_8
; %bb.6:
Lloh13:
adrp x21, _optind@GOTPAGE
Lloh14:
ldr x21, [x21, _optind@GOTPAGEOFF]
ldrsw x8, [x21]
cmp w8, w20
b.ne LBB2_9
; %bb.7:
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl _err_exit
LBB2_8:
ldr x8, [x19]
str x8, [sp]
Lloh17:
adrp x0, l_.str@PAGE
Lloh18:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB2_9:
ldr x0, [x19, x8, lsl #3]
mov w1, #4
bl _access
ldrsw x8, [x21]
ldr x19, [x19, x8, lsl #3]
cmn w0, #1
b.ne LBB2_11
; %bb.10:
bl ___error
ldr w0, [x0]
bl _strerror
stp x19, x0, [sp]
Lloh19:
adrp x0, l_.str.4@PAGE
Lloh20:
add x0, x0, l_.str.4@PAGEOFF
bl _err_exit
LBB2_11:
mov x0, x19
mov w1, #0
bl _open
cmn w0, #1
b.ne LBB2_13
; %bb.12:
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh21:
adrp x0, l_.str.8@PAGE
Lloh22:
add x0, x0, l_.str.8@PAGEOFF
bl _err_exit
LBB2_13:
Lloh23:
adrp x1, l_.str.5@PAGE
Lloh24:
add x1, x1, l_.str.5@PAGEOFF
bl _fdopen
mov x19, x0
add x1, sp, #16
mov w2, #1
mov w3, #4096
bl _setvbuf
add x0, sp, #16
mov w1, #4096
mov x2, x19
bl _fgets
cbz x0, LBB2_16
; %bb.14:
Lloh25:
adrp x20, l_str@PAGE
Lloh26:
add x20, x20, l_str@PAGEOFF
LBB2_15: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _puts
add x0, sp, #16
bl _puts
add x0, sp, #16
mov w1, #4096
mov x2, x19
bl _fgets
cbnz x0, LBB2_15
LBB2_16:
mov x0, x19
bl _fclose
mov w0, #0
bl _exit
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s [-n num_lines] file\n"
l_.str.1: ; @.str.1
.asciz "--help"
l_.str.2: ; @.str.2
.asciz "n:"
l_.str.3: ; @.str.3
.asciz "missing file name\n"
l_.str.4: ; @.str.4
.asciz "cannot open %s for reading: %s\n"
l_.str.5: ; @.str.5
.asciz "r"
l_.str.8: ; @.str.8
.asciz "Error on open: %s"
l_str: ; @str
.asciz "read line"
.subsections_via_symbols
| the_stack_data/168891982.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _initscr
movq _stdscr@GOTPCREL(%rip), %r13
movq (%r13), %rdi
callq _wclear
callq _noecho
callq _cbreak
movl $25, _startx(%rip)
movl $7, _starty(%rip)
movl $10, %edi
movl $30, %esi
movl $7, %edx
movl $25, %ecx
callq _newwin
movq %rax, %r15
movq %rax, %rdi
movl $1, %esi
callq _keypad
leaq L_.str.5(%rip), %rdx
xorl %edi, %edi
xorl %esi, %esi
xorl %eax, %eax
callq _mvprintw
movq (%r13), %rdi
callq _wrefresh
movq %r15, %rdi
movl $1, %esi
callq _print_menu
leaq L_.str.6(%rip), %r14
movl $1, %ebx
jmp LBB0_1
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
cmpl _n_choices(%rip), %ebx
leal 1(%rbx), %eax
movl $1, %ecx
cmovel %ecx, %eax
xorl %r12d, %r12d
movl %eax, %ebx
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movl %ebx, %esi
callq _print_menu
testl %r12d, %r12d
jne LBB0_11
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _wgetch
cmpl $10, %eax
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $258, %eax ## imm = 0x102
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpl $259, %eax ## imm = 0x103
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %ebx
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
movl _n_choices(%rip), %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %r12d
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
movl $24, %edi
xorl %esi, %esi
movq %r14, %rdx
movl %eax, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _mvprintw
movq (%r13), %rdi
callq _wrefresh
jmp LBB0_10
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
decl %ebx
xorl %r12d, %r12d
jmp LBB0_10
LBB0_11:
movslq %r12d, %rax
leaq _choices(%rip), %rcx
movq -8(%rcx,%rax,8), %r8
leaq L_.str.7(%rip), %rdx
movl $23, %edi
xorl %esi, %esi
movl %r12d, %ecx
xorl %eax, %eax
callq _mvprintw
movq (%r13), %rdi
callq _wclrtoeol
movq (%r13), %rdi
callq _wrefresh
callq _endwin
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_menu ## -- Begin function print_menu
.p2align 4, 0x90
_print_menu: ## @print_menu
.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, %ebx
movq %rdi, %r15
subq $8, %rsp
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0
pushq $0
pushq $0
callq _wborder
addq $32, %rsp
cmpl $0, _n_choices(%rip)
jle LBB1_6
## %bb.1:
movl %ebx, %r12d
decq %r12
leaq _choices(%rip), %rbx
xorl %r14d, %r14d
jmp LBB1_2
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
movq (%rbx), %r8
movq %r15, %rdi
movl %r13d, %esi
movl $2, %edx
leaq L_.str.8(%rip), %rcx
xorl %eax, %eax
callq _mvwprintw
LBB1_5: ## in Loop: Header=BB1_2 Depth=1
movslq _n_choices(%rip), %rax
addq $8, %rbx
cmpq %rax, %r14
jge LBB1_6
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rax
leaq 2(%r14), %r13
incq %r14
cmpq %rax, %r12
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movq %r15, %rdi
movl $262144, %esi ## imm = 0x40000
xorl %edx, %edx
callq _wattr_on
movq (%rbx), %r8
movq %r15, %rdi
movl %r13d, %esi
movl $2, %edx
leaq L_.str.8(%rip), %rcx
xorl %eax, %eax
callq _mvwprintw
movq %r15, %rdi
movl $262144, %esi ## imm = 0x40000
xorl %edx, %edx
callq _wattr_off
jmp LBB1_5
LBB1_6:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _wrefresh ## TAILCALL
.cfi_endproc
## -- End function
.globl _startx ## @startx
.zerofill __DATA,__common,_startx,4,2
.globl _starty ## @starty
.zerofill __DATA,__common,_starty,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Choice 1"
L_.str.1: ## @.str.1
.asciz "Choice 2"
L_.str.2: ## @.str.2
.asciz "Choice 3"
L_.str.3: ## @.str.3
.asciz "Choice 4"
L_.str.4: ## @.str.4
.asciz "Exit"
.section __DATA,__data
.globl _choices ## @choices
.p2align 4
_choices:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.globl _n_choices ## @n_choices
.p2align 2
_n_choices:
.long 5 ## 0x5
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "Use arrow keys to go up and down, Press enter to select a choice"
L_.str.6: ## @.str.6
.asciz "Charcter pressed is = %3d Hopefully it can be printed as '%c'"
L_.str.7: ## @.str.7
.asciz "You chose choice %d with choice string %s\n"
L_.str.8: ## @.str.8
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _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
bl _initscr
Lloh0:
adrp x22, _stdscr@GOTPAGE
Lloh1:
ldr x22, [x22, _stdscr@GOTPAGEOFF]
ldr x0, [x22]
bl _wclear
bl _noecho
bl _cbreak
mov w8, #25
Lloh2:
adrp x9, _startx@PAGE
str w8, [x9, _startx@PAGEOFF]
mov w8, #7
Lloh3:
adrp x9, _starty@PAGE
str w8, [x9, _starty@PAGEOFF]
mov w0, #10
mov w1, #30
mov w2, #7
mov w3, #25
bl _newwin
mov x19, x0
mov w23, #1
mov w1, #1
bl _keypad
Lloh4:
adrp x2, l_.str.5@PAGE
Lloh5:
add x2, x2, l_.str.5@PAGEOFF
mov w0, #0
mov w1, #0
bl _mvprintw
ldr x0, [x22]
bl _wrefresh
mov x0, x19
mov w1, #1
bl _print_menu
adrp x24, _n_choices@PAGE
Lloh6:
adrp x20, l_.str.6@PAGE
Lloh7:
add x20, x20, l_.str.6@PAGEOFF
mov w21, #1
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0
ldr w8, [x24, _n_choices@PAGEOFF]
cmp w21, w8
csinc w21, w23, w21, eq
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x21
bl _print_menu
cbnz w25, LBB0_11
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _wgetch
; kill: def $w0 killed $w0 def $x0
cmp w0, #10
b.eq LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w0, #258
b.eq LBB0_1
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w0, #259
b.ne LBB0_9
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
subs w21, w21, #1
b.ne LBB0_10
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0
ldr w21, [x24, _n_choices@PAGEOFF]
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
mov x25, x21
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
stp x0, x0, [sp]
mov w0, #24
mov w1, #0
mov x2, x20
bl _mvprintw
ldr x0, [x22]
bl _wrefresh
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
mov w25, #0
b LBB0_2
LBB0_11:
Lloh8:
adrp x8, _choices@PAGE
Lloh9:
add x8, x8, _choices@PAGEOFF
add x8, x8, w25, sxtw #3
ldur x8, [x8, #-8]
stp x25, x8, [sp]
Lloh10:
adrp x2, l_.str.7@PAGE
Lloh11:
add x2, x2, l_.str.7@PAGEOFF
mov w0, #23
mov w1, #0
bl _mvprintw
ldr x0, [x22]
bl _wclrtoeol
ldr x0, [x22]
bl _wrefresh
bl _endwin
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 Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdrp Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _print_menu ; -- Begin function print_menu
.p2align 2
_print_menu: ; @print_menu
.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 x20, x1
mov x19, x0
str wzr, [sp]
mov w1, #0
mov w2, #0
mov w3, #0
mov w4, #0
mov w5, #0
mov w6, #0
mov w7, #0
bl _wborder
adrp x22, _n_choices@PAGE
ldr w8, [x22, _n_choices@PAGEOFF]
cmp w8, #1
b.lt LBB1_6
; %bb.1:
mov x23, #0
mov w8, w20
sub x24, x8, #1
Lloh12:
adrp x25, _choices@PAGE
Lloh13:
add x25, x25, _choices@PAGEOFF
Lloh14:
adrp x20, l_.str.8@PAGE
Lloh15:
add x20, x20, l_.str.8@PAGEOFF
b LBB1_4
LBB1_2: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [x25, x23, lsl #3]
str x8, [sp]
mov x0, x19
mov x1, x21
mov w2, #2
mov x3, x20
bl _mvwprintw
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add x23, x23, #1
ldrsw x8, [x22, _n_choices@PAGEOFF]
cmp x23, x8
b.ge LBB1_6
LBB1_4: ; =>This Inner Loop Header: Depth=1
add x21, x23, #2
cmp x24, x23
b.ne LBB1_2
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
mov x0, x19
mov w1, #262144
mov x2, #0
bl _wattr_on
ldr x8, [x25, x23, lsl #3]
str x8, [sp]
mov x0, x19
mov x1, x21
mov w2, #2
mov x3, x20
bl _mvwprintw
mov x0, x19
mov w1, #262144
mov x2, #0
bl _wattr_off
b LBB1_3
LBB1_6:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _wrefresh
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _startx ; @startx
.zerofill __DATA,__common,_startx,4,2
.globl _starty ; @starty
.zerofill __DATA,__common,_starty,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Choice 1"
l_.str.1: ; @.str.1
.asciz "Choice 2"
l_.str.2: ; @.str.2
.asciz "Choice 3"
l_.str.3: ; @.str.3
.asciz "Choice 4"
l_.str.4: ; @.str.4
.asciz "Exit"
.section __DATA,__data
.globl _choices ; @choices
.p2align 3
_choices:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.globl _n_choices ; @n_choices
.p2align 2
_n_choices:
.long 5 ; 0x5
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "Use arrow keys to go up and down, Press enter to select a choice"
l_.str.6: ; @.str.6
.asciz "Charcter pressed is = %3d Hopefully it can be printed as '%c'"
l_.str.7: ; @.str.7
.asciz "You chose choice %d with choice string %s\n"
l_.str.8: ; @.str.8
.asciz "%s"
.subsections_via_symbols
| the_stack_data/59440.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Opcode_addi_Slot_xt_flix64_slot1_encode
_Opcode_addi_Slot_xt_flix64_slot1_encode: ## @Opcode_addi_Slot_xt_flix64_slot1_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $393216, (%rdi) ## imm = 0x60000
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Opcode_addi_Slot_xt_flix64_slot1_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Opcode_addi_Slot_xt_flix64_slot1_encode
_Opcode_addi_Slot_xt_flix64_slot1_encode: ; @Opcode_addi_Slot_xt_flix64_slot1_encode
.cfi_startproc
; %bb.0:
mov w8, #393216
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Opcode_addi_Slot_xt_flix64_slot1_encode
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_addi_Slot_xt_flix64_slot1_encode.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
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Go home, Yankee!"
.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 _puts
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 "Go home, Yankee!"
.subsections_via_symbols
| the_stack_data/97012300.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_context_size ## -- Begin function m68k_context_size
.p2align 4, 0x90
_m68k_context_size: ## @m68k_context_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 $4, %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 _m68k_context_size ; -- Begin function m68k_context_size
.p2align 2
_m68k_context_size: ; @m68k_context_size
.cfi_startproc
; %bb.0:
mov w0, #4
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kcpu.c_m68k_context_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_issue_161
_test_issue_161: ## @test_issue_161
.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, %edi
callq _cache_bulkalloc
movq _TEST_PASS@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_1
## %bb.2:
movl $512, %edi ## imm = 0x200
popq %rbp
jmp _cache_bulkalloc ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TEST_PASS,4,2 ## @TEST_PASS
.no_dead_strip _test_issue_161
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_issue_161
_test_issue_161: ; @test_issue_161
.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
mov w0, #1
bl _cache_bulkalloc
Lloh0:
adrp x8, _TEST_PASS@GOTPAGE
Lloh1:
ldr x8, [x8, _TEST_PASS@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_2
; %bb.1:
mov w0, #512
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _cache_bulkalloc
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TEST_PASS,4,2 ; @TEST_PASS
.no_dead_strip _test_issue_161
.subsections_via_symbols
| AnghaBench/memcached/extr_testapp.c_test_issue_161.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_fs__id_txn_reset ## -- Begin function svn_fs_fs__id_txn_reset
.p2align 4, 0x90
_svn_fs_fs__id_txn_reset: ## @svn_fs_fs__id_txn_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rdi)
movq $0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_INVALID_REVNUM,4,2 ## @SVN_INVALID_REVNUM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_fs__id_txn_reset ; -- Begin function svn_fs_fs__id_txn_reset
.p2align 2
_svn_fs_fs__id_txn_reset: ; @svn_fs_fs__id_txn_reset
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh1:
ldr x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #8]
str xzr, [x0]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SVN_INVALID_REVNUM,4,2 ; @SVN_INVALID_REVNUM
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_id.c_svn_fs_fs__id_txn_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rfcomm_sock_listen
_rfcomm_sock_listen: ## @rfcomm_sock_listen
.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, %r14d
movq (%rdi), %r13
leaq L_.str(%rip), %rdi
movq %r13, %rsi
movl %r14d, %edx
callq _BT_DBG
movq %r13, %rdi
callq _lock_sock
movq (%r13), %rax
movq _BT_BOUND@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.3:
movq 8(%r13), %rax
movq _SOCK_STREAM@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.5:
movq %r13, %rdi
callq _rfcomm_pi
xorl %r15d, %r15d
cmpl $0, (%rax)
jne LBB0_11
## %bb.6:
movq %r13, %rdi
callq _rfcomm_pi
movq %rax, %r12
addq $4, %r12
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movl %r15d, -44(%rbp) ## 4-byte Spill
negl %r15d
movq _rfcomm_sk_list@GOTPCREL(%rip), %rdi
callq _write_lock
movl $1, %ebx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movq %r12, %rsi
callq ___rfcomm_get_listen_sock_by_addr
testl %eax, %eax
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
incl %ebx
cmpl $31, %ebx
jne LBB0_7
## %bb.10:
movq _rfcomm_sk_list@GOTPCREL(%rip), %rdi
callq _write_unlock
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jg LBB0_12
jmp LBB0_11
LBB0_1:
movq _EBADFD@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
xorl %r15d, %r15d
subl (%rax), %r15d
jmp LBB0_12
LBB0_8:
movq %r13, %rdi
callq _rfcomm_pi
movl %ebx, (%rax)
movq _rfcomm_sk_list@GOTPCREL(%rip), %rdi
callq _write_unlock
xorl %r15d, %r15d
LBB0_11:
movl %r14d, 16(%r13)
movq $0, 24(%r13)
movq _BT_LISTEN@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r13)
LBB0_12:
movq %r13, %rdi
callq _release_sock
movl %r15d, %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 "sk %p backlog %d"
.comm _BT_BOUND,8,3 ## @BT_BOUND
.comm _EBADFD,4,2 ## @EBADFD
.comm _SOCK_STREAM,8,3 ## @SOCK_STREAM
.comm _EINVAL,4,2 ## @EINVAL
.comm _rfcomm_sk_list,4,2 ## @rfcomm_sk_list
.comm _BT_LISTEN,8,3 ## @BT_LISTEN
.no_dead_strip _rfcomm_sock_listen
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rfcomm_sock_listen
_rfcomm_sock_listen: ; @rfcomm_sock_listen
.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, x1
ldr x19, [x0]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x2, x20
bl _BT_DBG
mov x0, x19
bl _lock_sock
ldr x8, [x19]
Lloh2:
adrp x9, _BT_BOUND@GOTPAGE
Lloh3:
ldr x9, [x9, _BT_BOUND@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_7
; %bb.1:
ldr x8, [x19, #8]
Lloh5:
adrp x9, _SOCK_STREAM@GOTPAGE
Lloh6:
ldr x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_8
; %bb.2:
mov x0, x19
bl _rfcomm_pi
ldr w8, [x0]
cbnz w8, LBB0_11
; %bb.3:
mov x0, x19
bl _rfcomm_pi
add x22, x0, #4
Lloh8:
adrp x8, _EINVAL@GOTPAGE
Lloh9:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
ldr w24, [x8]
neg w21, w24
Lloh11:
adrp x0, _rfcomm_sk_list@GOTPAGE
Lloh12:
ldr x0, [x0, _rfcomm_sk_list@GOTPAGEOFF]
bl _write_lock
mov w23, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x22
bl ___rfcomm_get_listen_sock_by_addr
cbz w0, LBB0_10
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add w23, w23, #1
cmp w23, #31
b.ne LBB0_4
; %bb.6:
Lloh13:
adrp x0, _rfcomm_sk_list@GOTPAGE
Lloh14:
ldr x0, [x0, _rfcomm_sk_list@GOTPAGEOFF]
bl _write_unlock
cmp w24, #0
b.gt LBB0_13
b LBB0_12
LBB0_7:
Lloh15:
adrp x8, _EBADFD@GOTPAGE
Lloh16:
ldr x8, [x8, _EBADFD@GOTPAGEOFF]
b LBB0_9
LBB0_8:
Lloh17:
adrp x8, _EINVAL@GOTPAGE
Lloh18:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
ldr w8, [x8]
neg w21, w8
b LBB0_13
LBB0_10:
mov x0, x19
bl _rfcomm_pi
str w23, [x0]
Lloh19:
adrp x0, _rfcomm_sk_list@GOTPAGE
Lloh20:
ldr x0, [x0, _rfcomm_sk_list@GOTPAGEOFF]
bl _write_unlock
LBB0_11:
mov w21, #0
LBB0_12:
str w20, [x19, #16]
str xzr, [x19, #24]
Lloh21:
adrp x8, _BT_LISTEN@GOTPAGE
Lloh22:
ldr x8, [x8, _BT_LISTEN@GOTPAGEOFF]
Lloh23:
ldr x8, [x8]
str x8, [x19]
LBB0_13:
mov x0, x19
bl _release_sock
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sk %p backlog %d"
.comm _BT_BOUND,8,3 ; @BT_BOUND
.comm _EBADFD,4,2 ; @EBADFD
.comm _SOCK_STREAM,8,3 ; @SOCK_STREAM
.comm _EINVAL,4,2 ; @EINVAL
.comm _rfcomm_sk_list,4,2 ; @rfcomm_sk_list
.comm _BT_LISTEN,8,3 ; @BT_LISTEN
.no_dead_strip _rfcomm_sock_listen
.subsections_via_symbols
| AnghaBench/linux/net/bluetooth/rfcomm/extr_sock.c_rfcomm_sock_listen.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check ## -- Begin function check
.p2align 4, 0x90
_check: ## @check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $0, (%rdi)
jne LBB0_11
## %bb.1:
cmpl $0, 4(%rdi)
jne LBB0_11
## %bb.2:
cmpl $0, 8(%rdi)
jne LBB0_11
## %bb.3:
cmpl $0, 12(%rdi)
jne LBB0_11
## %bb.4:
cmpl $0, 16(%rdi)
jne LBB0_11
## %bb.5:
cmpl $6, 20(%rdi)
jne LBB0_11
## %bb.6:
cmpl $7, 24(%rdi)
jne LBB0_11
## %bb.7:
cmpl $8, 28(%rdi)
jne LBB0_11
## %bb.8:
cmpl $9, 32(%rdi)
jne LBB0_11
## %bb.9:
cmpl $10, 36(%rdi)
jne LBB0_11
## %bb.10:
popq %rbp
retq
LBB0_11:
callq _abort
.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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check ; -- Begin function check
.p2align 2
_check: ; @check
.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 w8, [x0]
cbnz w8, LBB0_11
; %bb.1:
ldr w8, [x0, #4]
cbnz w8, LBB0_11
; %bb.2:
ldr w8, [x0, #8]
cbnz w8, LBB0_11
; %bb.3:
ldr w8, [x0, #12]
cbnz w8, LBB0_11
; %bb.4:
ldr w8, [x0, #16]
cbnz w8, LBB0_11
; %bb.5:
ldr w8, [x0, #20]
cmp w8, #6
b.ne LBB0_11
; %bb.6:
ldr w8, [x0, #24]
cmp w8, #7
b.ne LBB0_11
; %bb.7:
ldr w8, [x0, #28]
cmp w8, #8
b.ne LBB0_11
; %bb.8:
ldr w8, [x0, #32]
cmp w8, #9
b.ne LBB0_11
; %bb.9:
ldr w8, [x0, #36]
cmp w8, #10
b.ne LBB0_11
; %bb.10:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_11:
bl _abort
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/156392391.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mcp4725_set_powerdown_mode
_mcp4725_set_powerdown_mode: ## @mcp4725_set_powerdown_mode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edx, %ebx
callq _iio_priv
movl %ebx, (%rax)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mcp4725_set_powerdown_mode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mcp4725_set_powerdown_mode
_mcp4725_set_powerdown_mode: ; @mcp4725_set_powerdown_mode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _iio_priv
str w19, [x0]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _mcp4725_set_powerdown_mode
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/dac/extr_mcp4725.c_mcp4725_set_powerdown_mode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _persistent_default_layer_set ## -- Begin function persistent_default_layer_set
.p2align 4, 0x90
_persistent_default_layer_set: ## @persistent_default_layer_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _eeconfig_update_default_layer
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _default_layer_set ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _persistent_default_layer_set ; -- Begin function persistent_default_layer_set
.p2align 2
_persistent_default_layer_set: ; @persistent_default_layer_set
.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 _eeconfig_update_default_layer
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _default_layer_set
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/lets_split/keymaps/heartrobotninja/extr_keymap.c_persistent_default_layer_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_keystroke ## -- Begin function get_keystroke
.p2align 4, 0x90
_get_keystroke: ## @get_keystroke
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -44(%rbp)
movq _mapped_ctrl_c@GOTPCREL(%rip), %rcx
movl (%rcx), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rcx)
movl $150, %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _cursor_on
xorl %eax, %eax
callq _out_flush
movl -44(%rbp), %eax
movl %r15d, %r14d
subl %eax, %r14d
addl $-6, %r14d
testq %r12, %r12
je LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $29, %r14d
jg LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
leal 100(%r15), %ebx
movq %r12, %rdi
movl %ebx, %esi
callq _vim_realloc
movq %rax, %r12
movl -44(%rbp), %eax
negl %eax
leal (%r15,%rax), %r14d
addl $94, %r14d
movl %ebx, %r15d
testq %r12, %r12
jne LBB0_6
jmp LBB0_32
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movl %r15d, %edi
callq _alloc
movq %rax, %r12
testq %r12, %r12
je LBB0_32
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movslq %r14d, %rcx
imulq $1431655766, %rcx, %rsi ## imm = 0x55555556
movq %rsi, %rcx
shrq $63, %rcx
shrq $32, %rsi
addl %ecx, %esi
cltq
leaq (%r12,%rax,8), %rdi
cmpl $1, %eax
movl $0, %edx
sbbq %rdx, %rdx
orq $100, %rdx
## kill: def $esi killed $esi killed $rsi
xorl %ecx, %ecx
callq _ui_inchar
movslq -44(%rbp), %rcx
testl %eax, %eax
jle LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
leaq (%r12,%rcx,8), %rdi
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %esi
callq _fix_input_buffer
addl %eax, -44(%rbp)
xorl %r13d, %r13d
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
testl %ecx, %ecx
setg %al
addl %eax, %r13d
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edi
movq %r12, %rsi
movl %r15d, %edx
leaq -44(%rbp), %rcx
callq _check_termcode
testl %eax, %eax
js LBB0_11
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movq _KEYLEN_REMOVED@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_20
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
movq _must_redraw@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_1
## %bb.17: ## in Loop: Header=BB0_1 Depth=1
movq _need_wait_return@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_1
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
movq _CMDLINE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _State@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_1
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
xorl %edi, %edi
callq _update_screen
xorl %eax, %eax
callq _setcursor
jmp LBB0_1
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq _p_ttimeout@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
je LBB0_1
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movslq %r13d, %rcx
imulq $100, %rcx, %rcx
movq _p_ttm@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, %edx
jns LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq _p_tm@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
movslq %edx, %rdx
cmpq %rdx, %rcx
jl LBB0_1
jmp LBB0_15
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
testl %eax, %eax
jle LBB0_22
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
movl %eax, -44(%rbp)
jmp LBB0_23
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -44(%rbp)
je LBB0_1
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
movq (%r12), %rbx
movq _K_SPECIAL@GOTPCREL(%rip), %rax
cmpl %ebx, (%rax)
jne LBB0_30
## %bb.24: ## in Loop: Header=BB0_1 Depth=1
movq 8(%r12), %rdi
movq 16(%r12), %rsi
callq _TO_SPECIAL
movl %eax, %ebx
movq 8(%r12), %rax
movq _KS_MODIFIER@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq %rcx, %rax
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movq _K_IGNORE@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ebx
jne LBB0_30
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
cmpq %rcx, %rax
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_1 Depth=1
movq 16(%r12), %rax
movq _mod_mask@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %ecx
leal -3(%rcx), %eax
movl %eax, -44(%rbp)
cmpl $4, %ecx
jl LBB0_1
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
leaq 24(%r12), %rsi
movl %eax, %edx
movq %r12, %rdi
callq _mch_memmove
jmp LBB0_1
LBB0_32:
movl %r15d, %edi
callq _do_outofmem_msg
movq _ESC@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_31
LBB0_30:
movq %r12, %rdi
callq _vim_free
movq _mapped_ctrl_c@GOTPCREL(%rip), %rax
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax)
LBB0_31:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mapped_ctrl_c,4,2 ## @mapped_ctrl_c
.comm _FALSE,4,2 ## @FALSE
.comm _ESC,4,2 ## @ESC
.comm _p_ttimeout,4,2 ## @p_ttimeout
.comm _p_ttm,4,2 ## @p_ttm
.comm _p_tm,4,2 ## @p_tm
.comm _KEYLEN_REMOVED,4,2 ## @KEYLEN_REMOVED
.comm _must_redraw,8,3 ## @must_redraw
.comm _need_wait_return,4,2 ## @need_wait_return
.comm _State,4,2 ## @State
.comm _CMDLINE,4,2 ## @CMDLINE
.comm _K_SPECIAL,4,2 ## @K_SPECIAL
.comm _KS_MODIFIER,8,3 ## @KS_MODIFIER
.comm _K_IGNORE,4,2 ## @K_IGNORE
.comm _mod_mask,8,3 ## @mod_mask
.comm _K_HOR_SCROLLBAR,4,2 ## @K_HOR_SCROLLBAR
.comm _K_LEFTMOUSE,4,2 ## @K_LEFTMOUSE
.comm _K_SWIPEDOWN,4,2 ## @K_SWIPEDOWN
.comm _K_SWIPELEFT,4,2 ## @K_SWIPELEFT
.comm _K_SWIPERIGHT,4,2 ## @K_SWIPERIGHT
.comm _K_SWIPEUP,4,2 ## @K_SWIPEUP
.comm _K_VER_SCROLLBAR,4,2 ## @K_VER_SCROLLBAR
.comm _NUL,8,3 ## @NUL
.comm _has_mbyte,8,3 ## @has_mbyte
.comm _intr_char,4,2 ## @intr_char
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_keystroke ; -- Begin function get_keystroke
.p2align 2
_get_keystroke: ; @get_keystroke
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, #0
mov w25, #0
str wzr, [sp, #12]
Lloh0:
adrp x9, _mapped_ctrl_c@GOTPAGE
Lloh1:
ldr x9, [x9, _mapped_ctrl_c@GOTPAGEOFF]
Lloh2:
adrp x24, _FALSE@GOTPAGE
Lloh3:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
ldr w8, [x9]
str w8, [sp, #8] ; 4-byte Folded Spill
ldr w8, [x24]
str w8, [x9]
mov w20, #150
mov w26, #21846
movk w26, #21845, lsl #16
mov w27, #100
Lloh4:
adrp x23, _KEYLEN_REMOVED@GOTPAGE
Lloh5:
ldr x23, [x23, _KEYLEN_REMOVED@GOTPAGEOFF]
Lloh6:
adrp x22, _must_redraw@GOTPAGE
Lloh7:
ldr x22, [x22, _must_redraw@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _cursor_on
bl _out_flush
ldr w8, [sp, #12]
sub w9, w20, w8
sub w28, w9, #6
cbz x19, LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp w28, #29
b.gt LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add w21, w20, #100
mov x0, x19
mov x1, x21
bl _vim_realloc
mov x19, x0
ldr w8, [sp, #12]
sub w8, w20, w8
add w28, w8, #94
mov x20, x21
cbnz x19, LBB0_5
b LBB0_27
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x0, x20
bl _alloc
mov x19, x0
cbz x19, LBB0_27
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
smull x9, w28, w26
lsr x10, x9, #63
lsr x9, x9, #32
add w1, w9, w10
add x0, x19, w8, sxtw #3
cmp w8, #0
csinv x2, x27, xzr, ne
mov w3, #0
bl _ui_inchar
ldrsw x8, [sp, #12]
cmp w0, #1
b.lt LBB0_8
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
mov x1, x0
add x0, x19, x8, lsl #3
ldr w2, [x24]
bl _fix_input_buffer
mov w25, #0
ldr w8, [sp, #12]
add w8, w8, w0
str w8, [sp, #12]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
cmp w8, #0
cinc w25, w25, gt
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
add x3, sp, #12
mov w0, #1
mov x1, x19
mov x2, x20
bl _check_termcode
tbnz w0, #31, LBB0_15
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x23]
cmp w0, w8
b.ne LBB0_17
; %bb.11: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x22]
cbz x8, LBB0_1
; %bb.12: ; in Loop: Header=BB0_1 Depth=1
Lloh8:
adrp x8, _need_wait_return@GOTPAGE
Lloh9:
ldr x8, [x8, _need_wait_return@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cbnz w8, LBB0_1
; %bb.13: ; in Loop: Header=BB0_1 Depth=1
Lloh11:
adrp x8, _State@GOTPAGE
Lloh12:
ldr x8, [x8, _State@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
Lloh14:
adrp x9, _CMDLINE@GOTPAGE
Lloh15:
ldr x9, [x9, _CMDLINE@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_1
; %bb.14: ; in Loop: Header=BB0_1 Depth=1
mov w0, #0
bl _update_screen
bl _setcursor
b LBB0_1
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
Lloh17:
adrp x8, _p_ttimeout@GOTPAGE
Lloh18:
ldr x8, [x8, _p_ttimeout@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
cbz w8, LBB0_1
; %bb.16: ; in Loop: Header=BB0_1 Depth=1
smull x8, w25, w27
Lloh20:
adrp x9, _p_ttm@GOTPAGE
Lloh21:
ldr x9, [x9, _p_ttm@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
Lloh23:
adrp x10, _p_tm@GOTPAGE
Lloh24:
ldr x10, [x10, _p_tm@GOTPAGEOFF]
Lloh25:
ldr w10, [x10]
cmp w9, #0
csel w9, w10, w9, lt
cmp x8, w9, sxtw
b.lt LBB0_1
b LBB0_10
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
cmp w0, #1
b.lt LBB0_19
; %bb.18: ; in Loop: Header=BB0_1 Depth=1
str w0, [sp, #12]
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
cbz w8, LBB0_1
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
ldr x21, [x19]
Lloh26:
adrp x8, _K_SPECIAL@GOTPAGE
Lloh27:
ldr x8, [x8, _K_SPECIAL@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
cmp w8, w21
b.ne LBB0_28
; %bb.21: ; in Loop: Header=BB0_1 Depth=1
ldp x0, x1, [x19, #8]
bl _TO_SPECIAL
ldr x8, [x19, #8]
Lloh29:
adrp x9, _KS_MODIFIER@GOTPAGE
Lloh30:
ldr x9, [x9, _KS_MODIFIER@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_23
; %bb.22: ; in Loop: Header=BB0_1 Depth=1
mov x21, x0
Lloh32:
adrp x10, _K_IGNORE@GOTPAGE
Lloh33:
ldr x10, [x10, _K_IGNORE@GOTPAGEOFF]
Lloh34:
ldr w10, [x10]
cmp w0, w10
b.ne LBB0_28
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
cmp x8, x9
b.ne LBB0_25
; %bb.24: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x19, #16]
Lloh35:
adrp x9, _mod_mask@GOTPAGE
Lloh36:
ldr x9, [x9, _mod_mask@GOTPAGEOFF]
Lloh37:
str x8, [x9]
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
sub w2, w8, #3
str w2, [sp, #12]
cmp w8, #4
b.lt LBB0_1
; %bb.26: ; in Loop: Header=BB0_1 Depth=1
add x1, x19, #24
mov x0, x19
bl _mch_memmove
b LBB0_1
LBB0_27:
mov x0, x20
bl _do_outofmem_msg
Lloh38:
adrp x8, _ESC@GOTPAGE
Lloh39:
ldr x8, [x8, _ESC@GOTPAGEOFF]
Lloh40:
ldr w21, [x8]
b LBB0_29
LBB0_28:
mov x0, x19
bl _vim_free
Lloh41:
adrp x8, _mapped_ctrl_c@GOTPAGE
Lloh42:
ldr x8, [x8, _mapped_ctrl_c@GOTPAGEOFF]
ldr w9, [sp, #8] ; 4-byte Folded Reload
Lloh43:
str w9, [x8]
LBB0_29:
mov x0, x21
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 Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotStr Lloh41, Lloh42, Lloh43
.cfi_endproc
; -- End function
.comm _mapped_ctrl_c,4,2 ; @mapped_ctrl_c
.comm _FALSE,4,2 ; @FALSE
.comm _ESC,4,2 ; @ESC
.comm _p_ttimeout,4,2 ; @p_ttimeout
.comm _p_ttm,4,2 ; @p_ttm
.comm _p_tm,4,2 ; @p_tm
.comm _KEYLEN_REMOVED,4,2 ; @KEYLEN_REMOVED
.comm _must_redraw,8,3 ; @must_redraw
.comm _need_wait_return,4,2 ; @need_wait_return
.comm _State,4,2 ; @State
.comm _CMDLINE,4,2 ; @CMDLINE
.comm _K_SPECIAL,4,2 ; @K_SPECIAL
.comm _KS_MODIFIER,8,3 ; @KS_MODIFIER
.comm _K_IGNORE,4,2 ; @K_IGNORE
.comm _mod_mask,8,3 ; @mod_mask
.comm _K_HOR_SCROLLBAR,4,2 ; @K_HOR_SCROLLBAR
.comm _K_LEFTMOUSE,4,2 ; @K_LEFTMOUSE
.comm _K_SWIPEDOWN,4,2 ; @K_SWIPEDOWN
.comm _K_SWIPELEFT,4,2 ; @K_SWIPELEFT
.comm _K_SWIPERIGHT,4,2 ; @K_SWIPERIGHT
.comm _K_SWIPEUP,4,2 ; @K_SWIPEUP
.comm _K_VER_SCROLLBAR,4,2 ; @K_VER_SCROLLBAR
.comm _NUL,8,3 ; @NUL
.comm _has_mbyte,8,3 ; @has_mbyte
.comm _intr_char,4,2 ; @intr_char
.subsections_via_symbols
| AnghaBench/macvim/src/extr_misc1.c_get_keystroke.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putchar ## -- Begin function putchar
.p2align 4, 0x90
_putchar: ## @putchar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
popq %rbp
jmp _fputc ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _putchar ; -- Begin function putchar
.p2align 2
_putchar: ; @putchar
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, ___stdoutp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh2:
ldr x1, [x8]
b _fputc
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/103264470.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hton16
_hton16: ## @hton16
.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 _htobe16
movl %eax, -12(%rbp)
leaq -12(%rbp), %rsi
movq %rbx, %rdi
movl $4, %edx
callq _memcpy
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _hton16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hton16
_hton16: ; @hton16
.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
bl _htobe16
str w0, [sp, #12]
add x1, sp, #12
mov x0, x19
mov w2, #4
bl _memcpy
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _hton16
.subsections_via_symbols
| AnghaBench/h2o/deps/libyrmcds/extr_send.c_hton16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xmalloc ## -- Begin function xmalloc
.p2align 4, 0x90
_xmalloc: ## @xmalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _malloc
testq %rax, %rax
je LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Out of memory.\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xmalloc ; -- Begin function xmalloc
.p2align 2
_xmalloc: ; @xmalloc
.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 _malloc
cbz x0, LBB0_2
; %bb.1:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Out of memory.\n"
.subsections_via_symbols
| AnghaBench/linux/scripts/kconfig/extr_util.c_xmalloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sata_pmp_revalidate_quick
_sata_pmp_revalidate_quick: ## @sata_pmp_revalidate_quick
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movl 8(%rdi), %edi
movq _SATA_PMP_GSCR_PROD_ID@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
leaq -24(%rbp), %rdx
callq _sata_pmp_read
testl %eax, %eax
je LBB0_2
## %bb.1:
movq _KERN_ERR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq L_.str(%rip), %rdx
xorl %ebx, %ebx
movq %r14, %rdi
movl %eax, %ecx
xorl %eax, %eax
callq _ata_dev_printk
jmp LBB0_4
LBB0_2:
movq -24(%rbp), %rax
movq (%r14), %rcx
movq (%rbx), %rdx
xorl %ebx, %ebx
cmpq (%rcx,%rdx,8), %rax
je LBB0_5
## %bb.3:
movq _KERN_ERR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq _ata_dev_printk
LBB0_4:
movq _EIO@GOTPCREL(%rip), %rax
subl (%rax), %ebx
LBB0_5:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SATA_PMP_GSCR_PROD_ID,8,3 ## @SATA_PMP_GSCR_PROD_ID
.comm _KERN_ERR,4,2 ## @KERN_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to read PMP product ID (Emask=0x%x)\n"
.comm _EIO,4,2 ## @EIO
L_.str.1: ## @.str.1
.asciz "PMP product ID mismatch\n"
.no_dead_strip _sata_pmp_revalidate_quick
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sata_pmp_revalidate_quick
_sata_pmp_revalidate_quick: ; @sata_pmp_revalidate_quick
.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 w0, [x0, #8]
Lloh0:
adrp x20, _SATA_PMP_GSCR_PROD_ID@GOTPAGE
Lloh1:
ldr x20, [x20, _SATA_PMP_GSCR_PROD_ID@GOTPAGEOFF]
ldr x1, [x20]
add x2, sp, #8
bl _sata_pmp_read
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _KERN_ERR@GOTPAGE
Lloh3:
ldr x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
str x0, [sp]
Lloh5:
adrp x2, l_.str@PAGE
Lloh6:
add x2, x2, l_.str@PAGEOFF
b LBB0_5
LBB0_2:
ldr x8, [sp, #8]
ldr x9, [x19]
ldr x10, [x20]
ldr x9, [x9, x10, lsl #3]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
mov w0, #0
b LBB0_6
LBB0_4:
Lloh7:
adrp x8, _KERN_ERR@GOTPAGE
Lloh8:
ldr x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
LBB0_5:
mov x0, x19
bl _ata_dev_printk
Lloh12:
adrp x8, _EIO@GOTPAGE
Lloh13:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w0, w8
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _SATA_PMP_GSCR_PROD_ID,8,3 ; @SATA_PMP_GSCR_PROD_ID
.comm _KERN_ERR,4,2 ; @KERN_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to read PMP product ID (Emask=0x%x)\n"
.comm _EIO,4,2 ; @EIO
l_.str.1: ; @.str.1
.asciz "PMP product ID mismatch\n"
.no_dead_strip _sata_pmp_revalidate_quick
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-pmp.c_sata_pmp_revalidate_quick.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dspi_rx_dma_callback
_dspi_rx_dma_callback: ## @dspi_rx_dma_callback
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %r14
cmpq $0, 8(%rdi)
je LBB0_5
## %bb.1:
cmpl $0, (%r14)
jle LBB0_5
## %bb.2:
movq %rdi, %r15
movq 8(%r14), %rax
movl (%rax), %esi
callq _dspi_push_rx
cmpl $2, (%r14)
jl LBB0_5
## %bb.3:
movl $1, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movq 8(%rax), %rax
movl (%rax,%rbx,4), %esi
movq %r15, %rdi
callq _dspi_push_rx
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_4
LBB0_5:
addq $4, %r14
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _complete ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dspi_rx_dma_callback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dspi_rx_dma_callback
_dspi_rx_dma_callback: ; @dspi_rx_dma_callback
.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
ldp x20, x8, [x0]
cbz x8, LBB0_5
; %bb.1:
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_5
; %bb.2:
mov x19, x0
ldr x8, [x20, #8]
ldr w1, [x8]
bl _dspi_push_rx
ldr w8, [x20]
cmp w8, #2
b.lt LBB0_5
; %bb.3:
mov w21, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr x8, [x8, #8]
ldr w1, [x8, x21, lsl #2]
mov x0, x19
bl _dspi_push_rx
add x21, x21, #1
ldrsw x8, [x20]
cmp x21, x8
b.lt LBB0_4
LBB0_5:
add x0, x20, #4
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 _complete
.cfi_endproc
; -- End function
.no_dead_strip _dspi_rx_dma_callback
.subsections_via_symbols
| AnghaBench/linux/drivers/spi/extr_spi-fsl-dspi.c_dspi_rx_dma_callback.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cifs_get_sb
_cifs_get_sb: ## @cifs_get_sb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
leaq L_.str(%rip), %rsi
movl $1, %edi
movl %r14d, %ecx
callq _cFYI
movq %r13, %rdi
movq %rbx, %rsi
callq _cifs_get_volume_info
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_1
## %bb.17:
movq %rbx, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_1:
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r12, -48(%rbp) ## 8-byte Spill
movq _GFP_KERNEL@GOTPCREL(%rip), %r15
movl (%r15), %esi
movl $8, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, %r12
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r15), %edx
movq %r13, %rdi
callq _kstrndup
movq %rax, (%r12)
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rbx, %rdi
movq %r12, %rsi
callq _cifs_setup_cifs_sb
movq %r12, %rdi
movq %rbx, %rsi
callq _cifs_mount
testl %eax, %eax
je LBB0_11
## %bb.6:
movl %eax, %r13d
movq _MS_SILENT@GOTPCREL(%rip), %rax
testl %r14d, (%rax)
jne LBB0_8
## %bb.7:
leaq L_.str.1(%rip), %rsi
movl $1, %edi
movl %r13d, %edx
callq _cERROR
LBB0_8:
movq (%r12), %rdi
callq _kfree
jmp LBB0_9
LBB0_2:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r13d, %r13d
subl (%rax), %r13d
jmp LBB0_10
LBB0_4:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r13d, %r13d
subl (%rax), %r13d
LBB0_9:
movq %r12, %rdi
callq _kfree
LBB0_10:
movl 4(%rbx), %edi
callq _unload_nls
LBB0_16:
movq %rbx, %rdi
callq _cifs_cleanup_volume_info
movl %r13d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq %rbx, -64(%rbp)
movq %r12, -72(%rbp)
movl %r14d, %r15d
movl %r14d, -80(%rbp)
movq _cifs_set_super@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -80(%rbp), %rcx
movq -56(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
callq _sget
movq %rax, %r14
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_13
## %bb.12:
movq %r14, %rdi
callq _PTR_ERR
movl %eax, %r13d
movq %r12, %rdi
callq _cifs_umount
jmp LBB0_16
LBB0_13:
movl %r15d, (%r14)
movq _MS_NODIRATIME@GOTPCREL(%rip), %rax
orl (%rax), %r15d
movq _MS_NOATIME@GOTPCREL(%rip), %rax
orl (%rax), %r15d
movl %r15d, (%r14)
movq %r14, %rdi
callq _cifs_read_super
testl %eax, %eax
je LBB0_14
## %bb.15:
movl %eax, %r13d
movq %r14, %rdi
callq _deactivate_locked_super
jmp LBB0_16
LBB0_14:
movq _MS_ACTIVE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
callq _simple_set_mnt
xorl %r13d, %r13d
jmp LBB0_16
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Devname: %s flags: %d "
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.comm _MS_SILENT,4,2 ## @MS_SILENT
L_.str.1: ## @.str.1
.asciz "cifs_mount failed w/return code = %d"
.comm _cifs_set_super,4,2 ## @cifs_set_super
.comm _MS_NODIRATIME,4,2 ## @MS_NODIRATIME
.comm _MS_NOATIME,4,2 ## @MS_NOATIME
.comm _MS_ACTIVE,4,2 ## @MS_ACTIVE
.no_dead_strip _cifs_get_sb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cifs_get_sb
_cifs_get_sb: ; @cifs_get_sb
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x4
mov x24, x3
mov x19, x2
mov x21, x1
mov x23, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
mov x3, x21
bl _cFYI
mov x0, x24
mov x1, x19
bl _cifs_get_volume_info
mov x19, x0
bl _IS_ERR
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
b _PTR_ERR
LBB0_2:
Lloh2:
adrp x25, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x25]
mov w0, #8
bl _kzalloc
cbz x0, LBB0_8
; %bb.3:
mov x22, x0
Lloh4:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh5:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
ldr w2, [x25]
mov x0, x24
bl _kstrndup
str x0, [x22]
cbz x0, LBB0_9
; %bb.4:
mov x0, x19
mov x1, x22
bl _cifs_setup_cifs_sb
mov x0, x22
mov x1, x19
bl _cifs_mount
cbz w0, LBB0_13
; %bb.5:
mov x24, x0
Lloh7:
adrp x8, _MS_SILENT@GOTPAGE
Lloh8:
ldr x8, [x8, _MS_SILENT@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
tst w8, w21
b.ne LBB0_7
; %bb.6:
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1
mov x2, x24
bl _cERROR
LBB0_7:
ldr x0, [x22]
bl _kfree
b LBB0_10
LBB0_8:
Lloh12:
adrp x8, _ENOMEM@GOTPAGE
Lloh13:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w24, w8
b LBB0_11
LBB0_9:
Lloh15:
adrp x8, _ENOMEM@GOTPAGE
Lloh16:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
neg w24, w8
LBB0_10:
mov x0, x22
bl _kfree
LBB0_11:
ldr w0, [x19, #4]
bl _unload_nls
LBB0_12:
mov x0, x19
bl _cifs_cleanup_volume_info
mov x0, x24
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_13:
stp x22, x19, [sp, #16]
str w21, [sp, #8]
Lloh18:
adrp x8, _cifs_set_super@GOTPAGE
Lloh19:
ldr x8, [x8, _cifs_set_super@GOTPAGEOFF]
Lloh20:
ldr w2, [x8]
add x3, sp, #8
mov x0, x23
mov x1, #0
bl _sget
mov x23, x0
bl _IS_ERR
cbz x0, LBB0_15
; %bb.14:
mov x0, x23
bl _PTR_ERR
mov x24, x0
mov x0, x22
bl _cifs_umount
b LBB0_12
LBB0_15:
str w21, [x23]
Lloh21:
adrp x8, _MS_NODIRATIME@GOTPAGE
Lloh22:
ldr x8, [x8, _MS_NODIRATIME@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
Lloh24:
adrp x9, _MS_NOATIME@GOTPAGE
Lloh25:
ldr x9, [x9, _MS_NOATIME@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
orr w8, w8, w21
orr w8, w8, w9
str w8, [x23]
mov x0, x23
bl _cifs_read_super
mov x24, x0
cbz w0, LBB0_17
; %bb.16:
mov x0, x23
bl _deactivate_locked_super
b LBB0_12
LBB0_17:
Lloh27:
adrp x8, _MS_ACTIVE@GOTPAGE
Lloh28:
ldr x8, [x8, _MS_ACTIVE@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
ldr w9, [x23]
orr w8, w9, w8
str w8, [x23]
mov x0, x20
mov x1, x23
bl _simple_set_mnt
b LBB0_12
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Devname: %s flags: %d "
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.comm _MS_SILENT,4,2 ; @MS_SILENT
l_.str.1: ; @.str.1
.asciz "cifs_mount failed w/return code = %d"
.comm _cifs_set_super,4,2 ; @cifs_set_super
.comm _MS_NODIRATIME,4,2 ; @MS_NODIRATIME
.comm _MS_NOATIME,4,2 ; @MS_NOATIME
.comm _MS_ACTIVE,4,2 ; @MS_ACTIVE
.no_dead_strip _cifs_get_sb
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/cifs/extr_cifsfs.c_cifs_get_sb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _go_back_based_on_tag ## -- Begin function go_back_based_on_tag
.p2align 4, 0x90
_go_back_based_on_tag: ## @go_back_based_on_tag
.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 _strlen
cmpl $-2, %eax
jl LBB0_3
## %bb.1:
movl $-1, %ebx
movq _KC_LEFT@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
callq _send_key
movq %r14, %rdi
callq _strlen
addl $2, %eax
incl %ebx
cmpl %eax, %ebx
jl LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KC_LEFT,4,2 ## @KC_LEFT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _go_back_based_on_tag ; -- Begin function go_back_based_on_tag
.p2align 2
_go_back_based_on_tag: ; @go_back_based_on_tag
.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 _strlen
cmn w0, #2
b.lt LBB0_3
; %bb.1:
mov w20, #-1
Lloh0:
adrp x21, _KC_LEFT@GOTPAGE
Lloh1:
ldr x21, [x21, _KC_LEFT@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x21]
bl _send_key
mov x0, x19
bl _strlen
add w8, w0, #2
add w20, w20, #1
cmp w20, w8
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _KC_LEFT,4,2 ; @KC_LEFT
.subsections_via_symbols
| AnghaBench/qmk_firmware/layouts/community/ergodox/swissgerman/extr_keymap.c_go_back_based_on_tag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _cpu_warm_setup
__cpu_warm_setup: ## @_cpu_warm_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
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl 8(%rdi), %esi
movl 12(%rdi), %edi
movq _TIMER_CALL_SYS_CRITICAL@GOTPCREL(%rip), %rax
movq _TIMER_CALL_LOCAL@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
callq _timer_call_enter
movq $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TIMER_CALL_SYS_CRITICAL,4,2 ## @TIMER_CALL_SYS_CRITICAL
.comm _TIMER_CALL_LOCAL,4,2 ## @TIMER_CALL_LOCAL
.no_dead_strip __cpu_warm_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _cpu_warm_setup
__cpu_warm_setup: ; @_cpu_warm_setup
.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, _TIMER_CALL_SYS_CRITICAL@GOTPAGE
Lloh1:
ldr x8, [x8, _TIMER_CALL_SYS_CRITICAL@GOTPAGEOFF]
ldr w0, [x0, #12]
ldr w1, [x19, #8]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _TIMER_CALL_LOCAL@GOTPAGE
Lloh4:
ldr x9, [x9, _TIMER_CALL_LOCAL@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w2, w9, w8
bl _timer_call_enter
str xzr, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TIMER_CALL_SYS_CRITICAL,4,2 ; @TIMER_CALL_SYS_CRITICAL
.comm _TIMER_CALL_LOCAL,4,2 ; @TIMER_CALL_LOCAL
.no_dead_strip __cpu_warm_setup
.subsections_via_symbols
| AnghaBench/darwin-xnu/osfmk/i386/extr_mp.c__cpu_warm_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function offload_close
_offload_close: ## @offload_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
callq _tdev2adap
movq %rax, %r14
movq %r12, %rdi
callq _T3C_DATA
movq %rax, %r15
movq _OFFLOAD_DEVMAP_BIT@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq %r14, %rsi
callq _test_bit
testl %eax, %eax
je LBB0_4
## %bb.1:
movq %r12, %rdi
callq _cxgb3_remove_clients
movq (%r12), %rdi
movq _offload_attr_group@GOTPCREL(%rip), %rsi
callq _sysfs_remove_group
movq %r15, %rdi
callq _spin_lock_bh
movq %r15, %rbx
addq $4, %rbx
movq %rbx, %rdi
callq _flush_work
movq %rbx, %rdi
callq _cancel_work_sync
movq %r15, %rdi
callq _spin_unlock_bh
movq $0, (%r12)
movq %r12, %rdi
callq _cxgb3_set_dummy_ops
movq %r14, %rdi
xorl %esi, %esi
callq _t3_tp_set_offload_mode
movl (%r13), %edi
movq %r14, %rsi
callq _clear_bit
cmpl $0, (%r14)
jne LBB0_3
## %bb.2:
movq %r14, %rdi
xorl %esi, %esi
callq _cxgb_down
LBB0_3:
movq %r14, %rdi
callq _cxgb3_offload_deactivate
LBB0_4:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OFFLOAD_DEVMAP_BIT,4,2 ## @OFFLOAD_DEVMAP_BIT
.comm _offload_attr_group,4,2 ## @offload_attr_group
.no_dead_strip _offload_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function offload_close
_offload_close: ; @offload_close
.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
bl _tdev2adap
mov x19, x0
mov x0, x20
bl _T3C_DATA
mov x21, x0
Lloh0:
adrp x23, _OFFLOAD_DEVMAP_BIT@GOTPAGE
Lloh1:
ldr x23, [x23, _OFFLOAD_DEVMAP_BIT@GOTPAGEOFF]
ldr w0, [x23]
mov x1, x19
bl _test_bit
cbz w0, LBB0_4
; %bb.1:
mov x0, x20
bl _cxgb3_remove_clients
ldr x0, [x20]
Lloh2:
adrp x1, _offload_attr_group@GOTPAGE
Lloh3:
ldr x1, [x1, _offload_attr_group@GOTPAGEOFF]
bl _sysfs_remove_group
mov x0, x21
bl _spin_lock_bh
add x22, x21, #4
mov x0, x22
bl _flush_work
mov x0, x22
bl _cancel_work_sync
mov x0, x21
bl _spin_unlock_bh
str xzr, [x20]
mov x0, x20
bl _cxgb3_set_dummy_ops
mov x0, x19
mov w1, #0
bl _t3_tp_set_offload_mode
ldr w0, [x23]
mov x1, x19
bl _clear_bit
ldr w8, [x19]
cbnz w8, LBB0_3
; %bb.2:
mov x0, x19
mov w1, #0
bl _cxgb_down
LBB0_3:
mov x0, x19
bl _cxgb3_offload_deactivate
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _OFFLOAD_DEVMAP_BIT,4,2 ; @OFFLOAD_DEVMAP_BIT
.comm _offload_attr_group,4,2 ; @offload_attr_group
.no_dead_strip _offload_close
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_offload_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_or_16_re_di ## -- Begin function m68k_op_or_16_re_di
.p2align 4, 0x90
_m68k_op_or_16_re_di: ## @m68k_op_or_16_re_di
.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
xorl %eax, %eax
callq _EA_AY_DI_16
movl %eax, %r14d
movq _DX@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %r14d, %edi
callq _m68ki_read_16
orl %eax, %ebx
movl %ebx, %edi
callq _MASK_OUT_ABOVE_16
movl %eax, %ebx
movl %r14d, %edi
movl %eax, %esi
callq _m68ki_write_16
movl %ebx, %edi
callq _NFLAG_16
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DX,4,2 ## @DX
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_or_16_re_di ; -- Begin function m68k_op_or_16_re_di
.p2align 2
_m68k_op_or_16_re_di: ; @m68k_op_or_16_re_di
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _EA_AY_DI_16
mov x19, x0
Lloh0:
adrp x8, _DX@GOTPAGE
Lloh1:
ldr x8, [x8, _DX@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
bl _m68ki_read_16
orr w0, w0, w20
bl _MASK_OUT_ABOVE_16
mov x20, x0
mov x0, x19
mov x1, x20
bl _m68ki_write_16
mov x0, x20
bl _NFLAG_16
Lloh3:
adrp x8, _FLAG_N@GOTPAGE
Lloh4:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh5:
str w0, [x8]
Lloh6:
adrp x8, _FLAG_Z@GOTPAGE
Lloh7:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh8:
str w20, [x8]
Lloh9:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh10:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x9, _FLAG_C@GOTPAGE
Lloh13:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh14:
str w8, [x9]
Lloh15:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh16:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x9, _FLAG_V@GOTPAGE
Lloh19:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh20:
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DX,4,2 ; @DX
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_or_16_re_di.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/127945.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ext4_chunk_trans_blocks ## -- Begin function ext4_chunk_trans_blocks
.p2align 4, 0x90
_ext4_chunk_trans_blocks: ## @ext4_chunk_trans_blocks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %edx
popq %rbp
jmp _ext4_meta_trans_blocks ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ext4_chunk_trans_blocks ; -- Begin function ext4_chunk_trans_blocks
.p2align 2
_ext4_chunk_trans_blocks: ; @ext4_chunk_trans_blocks
.cfi_startproc
; %bb.0:
mov w2, #1
b _ext4_meta_trans_blocks
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ext4/extr_inode.c_ext4_chunk_trans_blocks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function myprint_status
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI0_1:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_myprint_status: ## @myprint_status
.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 %rdi, %r15
movq 24(%rdi), %rbx
movl (%rdi), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl 4(%rdi), %r12d
movl 8(%rdi), %eax
movq %rax, -88(%rbp) ## 8-byte Spill
movq $0, -72(%rbp)
movq _MARGIN@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _getyx
movq %r15, -64(%rbp) ## 8-byte Spill
cmpl $0, 12(%r15)
jle LBB0_22
## %bb.1:
movq -88(%rbp), %rax ## 8-byte Reload
leal -2(%rax), %ecx
movl %r12d, %edx
subl %eax, %edx
movq %rdx, -96(%rbp) ## 8-byte Spill
decl %edx
addl %r14d, %r14d
subl %r14d, -52(%rbp) ## 4-byte Folded Spill
cvtsi2sd %ecx, %xmm0
movsd %xmm0, -112(%rbp) ## 8-byte Spill
addl $-3, %r12d
movl %r12d, -76(%rbp) ## 4-byte Spill
xorl %r13d, %r13d
movq _A_NORMAL@GOTPCREL(%rip), %r14
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %edx, -48(%rbp) ## 4-byte Spill
jmp LBB0_2
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rdi
callq _free
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
movl %r15d, %esi
movl -76(%rbp), %edx ## 4-byte Reload
callq _wmove
movq _dialog_attr@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _dlg_attrset
movq %rbx, %rdi
movl $93, %esi
callq _waddch
movq %rbx, %rdi
callq _wnoutrefresh
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
incq %r13
movq -64(%rbp), %rax ## 8-byte Reload
movslq 12(%rax), %rax
cmpq %rax, %r13
jge LBB0_22
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_15 Depth 2
movl (%r14), %eax
movl %eax, -80(%rbp)
movq _MARGIN@GOTPCREL(%rip), %rax
movl (%rax), %r15d
leal (%r15,%r13), %eax
cmpl -52(%rbp), %eax ## 4-byte Folded Reload
jge LBB0_21
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rax
movl 4(%rax,%r13,8), %edi
leaq -72(%rbp), %rsi
callq _status_string
movl -48(%rbp), %edx ## 4-byte Reload
testq %rax, %rax
je LBB0_21
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r12
leal (%r15,%r13), %r14d
incl %r14d
movq _MARGIN@GOTPCREL(%rip), %rax
movl %edx, %r15d
movl (%rax), %edx
addl %edx, %edx
movq %rbx, %rdi
movl %r14d, %esi
callq _wmove
movq _dialog_attr@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _dlg_attrset
movq -64(%rbp), %rax ## 8-byte Reload
movq 16(%rax), %rax
movl (%rax,%r13,8), %esi
movq %rbx, %rdi
movl %r15d, %edx
leaq -80(%rbp), %rcx
callq _dlg_print_text
movq %rbx, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq _wmove
movq %rbx, %rdi
movl $91, %esi
callq _waddch
movq %r12, -104(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _strlen
movl -44(%rbp), %ecx ## 4-byte Reload
movl %ecx, %r12d
subl %eax, %ecx
movl %ecx, %edx
shrl $31, %edx
addl %ecx, %edx
sarl %edx
addl %r15d, %edx
movq %rbx, %rdi
movl %r14d, %esi
callq _wmove
cmpq $0, -72(%rbp)
je LBB0_19
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq -104(%rbp), %r12 ## 8-byte Reload
movq %rbx, %rdi
movl %r14d, %esi
movq -96(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _wmove
movq _title_attr@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _dlg_attrset
cmpl $3, -88(%rbp) ## 4-byte Folded Reload
movl %r14d, %r15d
jl LBB0_8
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl -44(%rbp), %r14d ## 4-byte Reload
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
movl $32, %esi
callq _waddch
decl %r14d
jne LBB0_7
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _strlen
movl -44(%rbp), %ecx ## 4-byte Reload
subl %eax, %ecx
movl %ecx, %edx
shrl $31, %edx
addl %ecx, %edx
sarl %edx
addl -48(%rbp), %edx ## 4-byte Folded Reload
movq %rbx, %rdi
movl %r15d, %esi
callq _wmove
movq %rbx, %rdi
movq %r12, %rsi
callq _waddstr
movq _A_REVERSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _title_attr@GOTPCREL(%rip), %rax
testl %esi, (%rax)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _dlg_attroff
jmp LBB0_11
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movq -104(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _strlen
subl %eax, %r12d
movl %r12d, %edx
shrl $31, %edx
addl %r12d, %edx
sarl %edx
addl -48(%rbp), %edx ## 4-byte Folded Reload
movq %rbx, %rdi
movl %r14d, %r12d
movl %r14d, %esi
callq _wmove
movq %rbx, %rdi
movq %r15, %rsi
callq _waddstr
movq _A_NORMAL@GOTPCREL(%rip), %r14
movl %r12d, %r15d
jmp LBB0_20
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _dlg_attrset
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq _A_NORMAL@GOTPCREL(%rip), %r14
movq %rbx, %rdi
movl %r15d, %esi
movq -96(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _wmove
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
leaq -56(%rbp), %rdx
callq _sscanf
cmpl $1, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movss -56(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jmp LBB0_14
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl $0, -56(%rbp)
xorpd %xmm0, %xmm0
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
cvtss2sd %xmm0, %xmm0
addsd LCPI0_0(%rip), %xmm0
mulsd -112(%rbp), %xmm0 ## 8-byte Folded Reload
divsd LCPI0_1(%rip), %xmm0
cvttsd2si %xmm0, %r12d
testl %r12d, %r12d
jg LBB0_15
jmp LBB0_18
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_15 Depth=2
andl %eax, %ecx
movsbl %cl, %esi
movq %rbx, %rdi
callq _waddch
decl %r12d
je LBB0_18
LBB0_15: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
callq _winch
movq _A_REVERSE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl $255, %ecx
movq _title_attr@GOTPCREL(%rip), %rsi
testl %edx, (%rsi)
je LBB0_17
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
notl %edx
movl %edx, %ecx
jmp LBB0_17
LBB0_22:
testq %rbx, %rbx
je LBB0_24
## %bb.23:
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
LBB0_24:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_2679 ## @g_aug_volatile_2679
.p2align 2, 0x0
_g_aug_volatile_2679:
.long 10 ## 0xa
.comm _MARGIN,4,2 ## @MARGIN
.comm _A_NORMAL,4,2 ## @A_NORMAL
.comm _dialog_attr,4,2 ## @dialog_attr
.comm _title_attr,4,2 ## @title_attr
.comm _A_REVERSE,4,2 ## @A_REVERSE
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%f%%"
.no_dead_strip _myprint_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function myprint_status
_myprint_status: ; @myprint_status
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x20, x0
ldr x19, [x0, #24]
ldp w21, w24, [x0]
ldr w8, [x0, #8]
str w8, [sp] ; 4-byte Folded Spill
str xzr, [sp, #32]
Lloh0:
adrp x26, _MARGIN@GOTPAGE
Lloh1:
ldr x26, [x26, _MARGIN@GOTPAGEOFF]
ldr w23, [x26]
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _getyx
ldr w8, [x20, #12]
cmp w8, #1
b.lt LBB0_20
; %bb.1:
mov x28, #0 ; =0x0
ldr w8, [sp] ; 4-byte Folded Reload
sub w9, w8, #2
sub w8, w24, w8
stp w8, w9, [sp, #16] ; 8-byte Folded Spill
sub w22, w8, #1
sub w8, w21, w23, lsl #1
str w8, [sp, #24] ; 4-byte Folded Spill
scvtf d8, w9
Lloh2:
adrp x21, _title_attr@GOTPAGE
Lloh3:
ldr x21, [x21, _title_attr@GOTPAGEOFF]
Lloh4:
adrp x23, _A_REVERSE@GOTPAGE
Lloh5:
ldr x23, [x23, _A_REVERSE@GOTPAGEOFF]
sub w8, w24, #3
str w8, [sp, #4] ; 4-byte Folded Spill
fmov d9, #0.50000000
mov w27, #255 ; =0xff
str x20, [sp, #8] ; 8-byte Folded Spill
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
bl _strlen
sub w8, w20, w0
add w8, w8, w8, lsr #31
add w2, w22, w8, asr #1
add w1, w24, #1
mov x0, x19
bl _wmove
mov x0, x19
mov x1, x25
bl _waddstr
ldr x20, [sp, #8] ; 8-byte Folded Reload
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
add w1, w24, #1
mov x0, x19
ldr w2, [sp, #4] ; 4-byte Folded Reload
bl _wmove
Lloh6:
adrp x8, _dialog_attr@GOTPAGE
Lloh7:
ldr x8, [x8, _dialog_attr@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _dlg_attrset
mov x0, x19
mov w1, #93 ; =0x5d
bl _waddch
mov x0, x19
bl _wnoutrefresh
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x28, x28, #1
ldrsw x8, [x20, #12]
cmp x28, x8
b.ge LBB0_20
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_18 Depth 2
Lloh9:
adrp x8, _A_NORMAL@GOTPAGE
Lloh10:
ldr x8, [x8, _A_NORMAL@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
str w8, [sp, #28]
ldr w8, [x26]
add w24, w8, w28
ldr w8, [sp, #24] ; 4-byte Folded Reload
cmp w24, w8
b.ge LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #16]
add x8, x8, x28, lsl #3
ldr w0, [x8, #4]
add x1, sp, #32
bl _status_string
cbz x0, LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x25, x0
ldr w8, [x26]
lsl w2, w8, #1
add w1, w24, #1
mov x0, x19
bl _wmove
Lloh12:
adrp x8, _dialog_attr@GOTPAGE
Lloh13:
ldr x8, [x8, _dialog_attr@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
bl _dlg_attrset
ldr x8, [x20, #16]
lsl x9, x28, #3
ldr w1, [x8, x9]
add x3, sp, #28
mov x0, x19
mov x2, x22
bl _dlg_print_text
add w1, w24, #1
mov x0, x19
mov x2, x22
bl _wmove
mov x0, x19
mov w1, #91 ; =0x5b
bl _waddch
mov x0, x25
bl _strlen
ldr w20, [sp, #20] ; 4-byte Folded Reload
sub w8, w20, w0
add w8, w8, w8, lsr #31
add w2, w22, w8, asr #1
add w1, w24, #1
mov x0, x19
bl _wmove
ldr x8, [sp, #32]
cbz x8, LBB0_2
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
add w1, w24, #1
mov x0, x19
ldr w2, [sp, #16] ; 4-byte Folded Reload
bl _wmove
ldr w1, [x21]
mov x0, x19
bl _dlg_attrset
ldr w8, [sp] ; 4-byte Folded Reload
cmp w8, #3
b.lt LBB0_11
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
ldr w26, [sp, #20] ; 4-byte Folded Reload
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
mov w1, #32 ; =0x20
bl _waddch
subs w26, w26, #1
b.ne LBB0_10
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
bl _strlen
ldr w8, [sp, #20] ; 4-byte Folded Reload
sub w8, w8, w0
add w8, w8, w8, lsr #31
add w2, w22, w8, asr #1
add w1, w24, #1
mov x0, x19
bl _wmove
mov x0, x19
mov x1, x25
bl _waddstr
ldr w8, [x21]
ldr w1, [x23]
tst w1, w8
ldr x20, [sp, #8] ; 8-byte Folded Reload
mov x0, x19
b.eq LBB0_13
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
bl _dlg_attroff
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
bl _dlg_attrset
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
add w1, w24, #1
mov x0, x19
ldr w2, [sp, #16] ; 4-byte Folded Reload
bl _wmove
add x2, sp, #44
mov x0, x25
Lloh15:
adrp x1, l_.str.1@PAGE
Lloh16:
add x1, x1, l_.str.1@PAGEOFF
bl _sscanf
cmp w0, #1
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
ldr s0, [sp, #44]
b LBB0_17
LBB0_16: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #44]
movi d0, #0000000000000000
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
Lloh17:
adrp x26, _MARGIN@GOTPAGE
Lloh18:
ldr x26, [x26, _MARGIN@GOTPAGEOFF]
fcvt d0, s0
fadd d0, d0, d9
fmul d0, d0, d8
mov x8, #4636737291354636288 ; =0x4059000000000000
fmov d1, x8
fdiv d0, d0, d1
fcvtzs w25, d0
cmp w25, #1
b.lt LBB0_19
LBB0_18: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
bl _winch
ldr w8, [x21]
ldr w9, [x23]
tst w9, w8
csinv w8, w27, w9, eq
and w8, w8, w0
sxtb w1, w8
mov x0, x19
bl _waddch
subs w25, w25, #1
b.ne LBB0_18
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [sp, #32]
bl _free
b LBB0_3
LBB0_20:
cbz x19, LBB0_22
; %bb.21:
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _wmove
LBB0_22:
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
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_2679 ; @g_aug_volatile_2679
.p2align 2, 0x0
_g_aug_volatile_2679:
.long 10 ; 0xa
.comm _MARGIN,4,2 ; @MARGIN
.comm _A_NORMAL,4,2 ; @A_NORMAL
.comm _dialog_attr,4,2 ; @dialog_attr
.comm _title_attr,4,2 ; @title_attr
.comm _A_REVERSE,4,2 ; @A_REVERSE
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%f%%"
.no_dead_strip _myprint_status
.subsections_via_symbols
| assembly_file_147617.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function div_from_reg
_div_from_reg: ## @div_from_reg
.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 _BIT ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _div_from_reg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function div_from_reg
_div_from_reg: ; @div_from_reg
.cfi_startproc
; %bb.0:
b _BIT
.cfi_endproc
; -- End function
.no_dead_strip _div_from_reg
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_nct6775.c_div_from_reg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reg_dev_ignore_cell_hint
_reg_dev_ignore_cell_hint: ## @reg_dev_ignore_cell_hint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _reg_dev_ignore_cell_hint
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reg_dev_ignore_cell_hint
_reg_dev_ignore_cell_hint: ; @reg_dev_ignore_cell_hint
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.no_dead_strip _reg_dev_ignore_cell_hint
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_reg_dev_ignore_cell_hint.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _friends_replay_logevent ## -- Begin function friends_replay_logevent
.p2align 4, 0x90
_friends_replay_logevent: ## @friends_replay_logevent
.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 $-2, %r12d
cmpl $4, %esi
jl LBB0_15
## %bb.1:
movl %esi, %ebx
movq %rdi, %r15
movl (%rdi), %r14d
movl %r14d, %edi
movq %r15, %rsi
movl %ebx, %edx
callq _get_logrec_size
cmpl %ebx, %eax
jg LBB0_15
## %bb.2:
movl %eax, %r13d
cmpl $-2, %eax
je LBB0_15
## %bb.3:
testl %r13d, %r13d
js LBB0_4
## %bb.5:
movq _targ_existed@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_6
LBB0_9:
movq _rd_bytes@GOTPCREL(%rip), %rax
addl %r13d, (%rax)
movq _rd_rec@GOTPCREL(%rip), %rax
incl (%rax)
movl %r14d, _friends_replay_logevent.type_ok(%rip)
addl $3, %r13d
movl %r13d, %r12d
andl $-4, %r12d
movl %r14d, %edi
movq %r15, %rsi
callq _want_write
testq %rax, %rax
je LBB0_15
## %bb.10:
movq _LogTs@GOTPCREL(%rip), %rbx
cmpq $0, 24(%rbx)
je LBB0_12
## %bb.11:
movl $8, %edi
callq _write_alloc
movq %rax, %rdi
movq %rbx, %rsi
movl $8, %edx
callq _memcpy
movq _wr_bytes@GOTPCREL(%rip), %rax
addq $8, (%rax)
movq _wr_rec@GOTPCREL(%rip), %rax
incl (%rax)
movq $0, 24(%rbx)
LBB0_12:
movl %r12d, %edi
callq _write_alloc
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
movl %r12d, %edx
callq _memcpy
movq _LEV_START@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
jne LBB0_14
## %bb.13:
movq _copy_mod@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq _copy_rem@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%rbx)
incq %rax
movq %rax, (%rbx)
LBB0_14:
movl %r12d, %eax
movq _wr_bytes@GOTPCREL(%rip), %rcx
addq %rax, (%rcx)
movq _wr_rec@GOTPCREL(%rip), %rax
incl (%rax)
jmp LBB0_15
LBB0_4:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %eax, %eax
callq _log_cur_pos
movq _wr_bytes@GOTPCREL(%rip), %rcx
movq _targ_orig_size@GOTPCREL(%rip), %rdx
movq (%rdx), %r8
addq (%rcx), %r8
movl _friends_replay_logevent.type_ok(%rip), %ecx
movl %ecx, (%rsp)
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movl %r13d, %edx
movl %eax, %ecx
movl %r14d, %r9d
xorl %eax, %eax
callq _fprintf
movl %r13d, %r12d
jmp LBB0_15
LBB0_6:
movq _LEV_START@GOTPCREL(%rip), %rax
cmpl (%rax), %r14d
je LBB0_9
## %bb.7:
movq _jump_log_pos@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_9
## %bb.8:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $-1, %r12d
LBB0_15:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 2 ## @friends_replay_logevent.type_ok
_friends_replay_logevent.type_ok:
.long 4294967295 ## 0xffffffff
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error %d reading binlog at position %lld, write position %lld, type %08x (prev type %08x)\n"
.comm _wr_bytes,8,3 ## @wr_bytes
.comm _targ_orig_size,8,3 ## @targ_orig_size
.comm _targ_existed,4,2 ## @targ_existed
.comm _LEV_START,4,2 ## @LEV_START
.comm _jump_log_pos,8,3 ## @jump_log_pos
L_.str.1: ## @.str.1
.asciz "error: first record must be a LEV_START\n"
.comm _rd_bytes,4,2 ## @rd_bytes
.comm _rd_rec,4,2 ## @rd_rec
.comm _LogTs,32,3 ## @LogTs
.comm _wr_rec,4,2 ## @wr_rec
.comm _copy_mod,4,2 ## @copy_mod
.comm _copy_rem,8,3 ## @copy_rem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _friends_replay_logevent ; -- Begin function friends_replay_logevent
.p2align 2
_friends_replay_logevent: ; @friends_replay_logevent
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
cmp w1, #4
b.lt LBB0_2
; %bb.1:
mov x22, x1
mov x21, x0
ldr w20, [x0]
mov x0, x20
mov x1, x21
mov x2, x22
bl _get_logrec_size
cmp w0, w22
ccmn w0, #2, #4, le
b.ne LBB0_4
LBB0_2:
mov w19, #-2
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_4:
mov x19, x0
tbnz w0, #31, LBB0_13
; %bb.5:
Lloh0:
adrp x8, _targ_existed@GOTPAGE
Lloh1:
ldr x8, [x8, _targ_existed@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbnz w8, LBB0_7
; %bb.6:
Lloh3:
adrp x8, _LEV_START@GOTPAGE
Lloh4:
ldr x8, [x8, _LEV_START@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _jump_log_pos@GOTPAGE
Lloh7:
ldr x9, [x9, _jump_log_pos@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp w20, w8
ccmp x9, #0, #0, ne
b.eq LBB0_14
LBB0_7:
Lloh9:
adrp x8, _rd_bytes@GOTPAGE
Lloh10:
ldr x8, [x8, _rd_bytes@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, w19
str w9, [x8]
Lloh11:
adrp x8, _rd_rec@GOTPAGE
Lloh12:
ldr x8, [x8, _rd_rec@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
adrp x8, _friends_replay_logevent.type_ok@PAGE
str w20, [x8, _friends_replay_logevent.type_ok@PAGEOFF]
add w8, w19, #3
and w19, w8, #0xfffffffc
mov x0, x20
mov x1, x21
bl _want_write
cbz x0, LBB0_3
; %bb.8:
Lloh13:
adrp x22, _LogTs@GOTPAGE
Lloh14:
ldr x22, [x22, _LogTs@GOTPAGEOFF]
ldr x8, [x22, #24]
Lloh15:
adrp x24, _wr_bytes@GOTPAGE
Lloh16:
ldr x24, [x24, _wr_bytes@GOTPAGEOFF]
Lloh17:
adrp x23, _wr_rec@GOTPAGE
Lloh18:
ldr x23, [x23, _wr_rec@GOTPAGEOFF]
cbz x8, LBB0_10
; %bb.9:
mov w0, #8
bl _write_alloc
mov x1, x22
mov w2, #8
bl _memcpy
ldr x8, [x24]
add x8, x8, #8
str x8, [x24]
ldr w8, [x23]
add w8, w8, #1
str w8, [x23]
str xzr, [x22, #24]
LBB0_10:
mov x0, x19
bl _write_alloc
mov x22, x0
mov x1, x21
mov x2, x19
bl _memcpy
Lloh19:
adrp x8, _LEV_START@GOTPAGE
Lloh20:
ldr x8, [x8, _LEV_START@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
cmp w20, w8
b.ne LBB0_12
; %bb.11:
Lloh22:
adrp x8, _copy_mod@GOTPAGE
Lloh23:
ldr x8, [x8, _copy_mod@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
str w8, [x22, #16]
Lloh25:
adrp x8, _copy_rem@GOTPAGE
Lloh26:
ldr x8, [x8, _copy_rem@GOTPAGEOFF]
Lloh27:
ldr x8, [x8]
add x9, x8, #1
stp x9, x8, [x22]
LBB0_12:
ldr x8, [x24]
add x8, x8, w19, uxtw
str x8, [x24]
ldr w8, [x23]
add w8, w8, #1
str w8, [x23]
b LBB0_3
LBB0_13:
Lloh28:
adrp x8, _stderr@GOTPAGE
Lloh29:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
ldr w21, [x8]
bl _log_cur_pos
; kill: def $w0 killed $w0 def $x0
Lloh31:
adrp x8, _wr_bytes@GOTPAGE
Lloh32:
ldr x8, [x8, _wr_bytes@GOTPAGEOFF]
Lloh33:
ldr x8, [x8]
Lloh34:
adrp x9, _targ_orig_size@GOTPAGE
Lloh35:
ldr x9, [x9, _targ_orig_size@GOTPAGEOFF]
Lloh36:
ldr x9, [x9]
add x8, x9, x8
Lloh37:
adrp x9, _friends_replay_logevent.type_ok@PAGE
Lloh38:
ldr w9, [x9, _friends_replay_logevent.type_ok@PAGEOFF]
stp x20, x9, [sp, #24]
stp x0, x8, [sp, #8]
str x19, [sp]
Lloh39:
adrp x1, l_.str@PAGE
Lloh40:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _fprintf
b LBB0_3
LBB0_14:
Lloh41:
adrp x8, _stderr@GOTPAGE
Lloh42:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
ldr w0, [x8]
Lloh44:
adrp x1, l_.str.1@PAGE
Lloh45:
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
mov w19, #-1
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdr Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @friends_replay_logevent.type_ok
_friends_replay_logevent.type_ok:
.long 4294967295 ; 0xffffffff
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error %d reading binlog at position %lld, write position %lld, type %08x (prev type %08x)\n"
.comm _wr_bytes,8,3 ; @wr_bytes
.comm _targ_orig_size,8,3 ; @targ_orig_size
.comm _targ_existed,4,2 ; @targ_existed
.comm _LEV_START,4,2 ; @LEV_START
.comm _jump_log_pos,8,3 ; @jump_log_pos
l_.str.1: ; @.str.1
.asciz "error: first record must be a LEV_START\n"
.comm _rd_bytes,4,2 ; @rd_bytes
.comm _rd_rec,4,2 ; @rd_rec
.comm _LogTs,32,3 ; @LogTs
.comm _wr_rec,4,2 ; @wr_rec
.comm _copy_mod,4,2 ; @copy_mod
.comm _copy_rem,8,3 ; @copy_rem
.subsections_via_symbols
| AnghaBench/kphp-kdb/friend/extr_friend-log-split.c_friends_replay_logevent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xfs_rtbuf_get ## -- Begin function xfs_rtbuf_get
.p2align 4, 0x90
_xfs_rtbuf_get: ## @xfs_rtbuf_get
.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 %r8, %r14
movl %ecx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
movl $1, -44(%rbp)
xorl %eax, %eax
testl %ecx, %ecx
setne %al
movq 8(%rdi,%rax,8), %rdi
movq _XFS_DATA_FORK@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq -56(%rbp), %rcx
leaq -44(%rbp), %r8
movl %edx, %esi
movl $1, %edx
callq _xfs_bmapi_read
testl %eax, %eax
jne LBB0_9
## %bb.1:
cmpl $0, -44(%rbp)
je LBB0_3
## %bb.2:
leaq -56(%rbp), %rdi
callq _xfs_bmap_is_real_extent
testl %eax, %eax
je LBB0_3
## %bb.4:
movq -56(%rbp), %rax
movq _NULLFSBLOCK@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
setne %dil
callq _ASSERT
movl 4(%rbx), %r13d
movq -56(%rbp), %rsi
movq %rbx, %rdi
callq _XFS_FSB_TO_DADDR
movl (%rbx), %r8d
movq _xfs_rtbuf_ops@GOTPCREL(%rip), %r10
leaq -64(%rbp), %r11
movq %rbx, %rdi
movq %r15, %rsi
movl %r13d, %edx
movl %eax, %ecx
xorl %r9d, %r9d
pushq %r10
pushq %r11
callq _xfs_trans_read_buf
addq $16, %rsp
testl %eax, %eax
jne LBB0_9
## %bb.5:
movq -64(%rbp), %rsi
testl %r12d, %r12d
jne LBB0_6
## %bb.7:
movq _XFS_BLFT_RTBITMAP_BUF@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_3:
movq _EFSCORRUPTED@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_9:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq _XFS_BLFT_RTSUMMARY_BUF@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %edx
movq %r15, %rdi
callq _xfs_trans_buf_set_type
movq -64(%rbp), %rax
movq %rax, (%r14)
xorl %eax, %eax
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _XFS_DATA_FORK,4,2 ## @XFS_DATA_FORK
.comm _EFSCORRUPTED,4,2 ## @EFSCORRUPTED
.comm _NULLFSBLOCK,8,3 ## @NULLFSBLOCK
.comm _xfs_rtbuf_ops,4,2 ## @xfs_rtbuf_ops
.comm _XFS_BLFT_RTSUMMARY_BUF,4,2 ## @XFS_BLFT_RTSUMMARY_BUF
.comm _XFS_BLFT_RTBITMAP_BUF,4,2 ## @XFS_BLFT_RTBITMAP_BUF
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xfs_rtbuf_get ; -- Begin function xfs_rtbuf_get
.p2align 2
_xfs_rtbuf_get: ; @xfs_rtbuf_get
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x21, x3
mov x20, x1
mov x22, x0
mov w8, #1
str w8, [sp, #12]
cmp w3, #0
mov w8, #16
mov w9, #8
csel x8, x9, x8, eq
ldr x0, [x0, x8]
Lloh0:
adrp x8, _XFS_DATA_FORK@GOTPAGE
Lloh1:
ldr x8, [x8, _XFS_DATA_FORK@GOTPAGEOFF]
Lloh2:
ldr w5, [x8]
add x3, sp, #16
add x4, sp, #12
mov x1, x2
mov w2, #1
bl _xfs_bmapi_read
cbnz w0, LBB0_6
; %bb.1:
ldr w8, [sp, #12]
cbz w8, LBB0_5
; %bb.2:
add x0, sp, #16
bl _xfs_bmap_is_real_extent
cbz w0, LBB0_5
; %bb.3:
ldr x8, [sp, #16]
Lloh3:
adrp x9, _NULLFSBLOCK@GOTPAGE
Lloh4:
ldr x9, [x9, _NULLFSBLOCK@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
cset w0, ne
bl _ASSERT
ldr w23, [x22, #4]
ldr x1, [sp, #16]
mov x0, x22
bl _XFS_FSB_TO_DADDR
mov x3, x0
ldr w4, [x22]
Lloh6:
adrp x7, _xfs_rtbuf_ops@GOTPAGE
Lloh7:
ldr x7, [x7, _xfs_rtbuf_ops@GOTPAGEOFF]
add x6, sp, #24
mov x0, x22
mov x1, x20
mov x2, x23
mov w5, #0
bl _xfs_trans_read_buf
cbnz w0, LBB0_6
; %bb.4:
Lloh8:
adrp x8, _XFS_BLFT_RTSUMMARY_BUF@GOTPAGE
Lloh9:
ldr x8, [x8, _XFS_BLFT_RTSUMMARY_BUF@GOTPAGEOFF]
ldr x1, [sp, #24]
Lloh10:
adrp x9, _XFS_BLFT_RTBITMAP_BUF@GOTPAGE
Lloh11:
ldr x9, [x9, _XFS_BLFT_RTBITMAP_BUF@GOTPAGEOFF]
cmp w21, #0
csel x8, x9, x8, eq
ldr w2, [x8]
mov x0, x20
bl _xfs_trans_buf_set_type
mov w0, #0
ldr x8, [sp, #24]
str x8, [x19]
b LBB0_6
LBB0_5:
Lloh12:
adrp x8, _EFSCORRUPTED@GOTPAGE
Lloh13:
ldr x8, [x8, _EFSCORRUPTED@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
neg w0, w8
LBB0_6:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _XFS_DATA_FORK,4,2 ; @XFS_DATA_FORK
.comm _EFSCORRUPTED,4,2 ; @EFSCORRUPTED
.comm _NULLFSBLOCK,8,3 ; @NULLFSBLOCK
.comm _xfs_rtbuf_ops,4,2 ; @xfs_rtbuf_ops
.comm _XFS_BLFT_RTSUMMARY_BUF,4,2 ; @XFS_BLFT_RTSUMMARY_BUF
.comm _XFS_BLFT_RTBITMAP_BUF,4,2 ; @XFS_BLFT_RTBITMAP_BUF
.subsections_via_symbols
| AnghaBench/linux/fs/xfs/libxfs/extr_xfs_rtbitmap.c_xfs_rtbuf_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ToHex ## -- Begin function ToHex
.p2align 4, 0x90
_ToHex: ## @ToHex
.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, %ebx
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
testq %r15, %r15
je LBB0_3
## %bb.1:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_6
## %bb.2:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
leaq L_.str(%rip), %rdx
xorl %r12d, %r12d
movq %r14, %rdi
xorl %esi, %esi
callq _StrCpy
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movl %r12d, %r15d
leal 15(%rdi), %r13d
testl %ebx, %ebx
movl %ebx, %eax
cmovsl %r13d, %eax
movl %eax, %ebx
sarl $4, %ebx
andl $-16, %eax
subl %eax, %edi
## kill: def $edi killed $edi killed $rdi
callq _FourBitToHex
movslq %r12d, %r12
movb %al, (%r14,%r12)
incq %r12
cmpl $30, %r13d
ja LBB0_4
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
addl $2, %r15d
movb $0, (%r14,%r12)
movl %r15d, %r12d
jmp LBB0_4
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_SIZE,4,2 ## @MAX_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ToHex ; -- Begin function ToHex
.p2align 2
_ToHex: ; @ToHex
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _MAX_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x20, x9, x8
mov sp, x20
cbz x0, LBB0_3
; %bb.1:
ldur x8, [x29, #-40]
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_6
; %bb.2:
sub sp, x29, #32
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh11:
adrp x2, l_.str@PAGE
Lloh12:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _StrCpy
mov w8, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x21, x8
add w22, w19, #15
cmp w19, #0
csel w8, w22, w19, lt
and w9, w8, #0xfffffff0
sub w0, w19, w9
asr w19, w8, #4
bl _FourBitToHex
sxtw x9, w21
add x8, x9, #1
strb w0, [x20, x9]
cmp w22, #30
b.hi LBB0_4
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x20, x8]
add w8, w21, #2
; kill: def $w8 killed $w8 def $x8
b LBB0_4
LBB0_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MAX_SIZE,4,2 ; @MAX_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.subsections_via_symbols
| assembly_file_123687.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_lpm_multi_thread
_test_lpm_multi_thread: ## @test_lpm_multi_thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _BPF_MAP_TYPE_LPM_TRIE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _BPF_F_NO_PREALLOC@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl $4, %edx
xorl %esi, %esi
movl $100, %ecx
callq _bpf_create_map
leaq -64(%rbp), %rbx
movq %rbx, %rdi
movl %eax, %esi
callq _setup_lpm_mt_test_info
movl $0, -64(%rbp)
movq _lpm_test_command@GOTPCREL(%rip), %r14
leaq -80(%rbp), %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %rbx, %rcx
callq _pthread_create
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
leaq -68(%rbp), %r15
movl $-1, %r13d
leaq -84(%rbp), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
movl $4, %edx
callq _memcpy
movl %r13d, (%r15)
movq %r12, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %r15, %rcx
callq _pthread_create
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
addq $-4, %r15
addq $-4, %r12
decl %r13d
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _BPF_MAP_TYPE_LPM_TRIE,4,2 ## @BPF_MAP_TYPE_LPM_TRIE
.comm _BPF_F_NO_PREALLOC,4,2 ## @BPF_F_NO_PREALLOC
.comm _lpm_test_command,4,2 ## @lpm_test_command
.no_dead_strip _test_lpm_multi_thread
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_lpm_multi_thread
_test_lpm_multi_thread: ; @test_lpm_multi_thread
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, _BPF_MAP_TYPE_LPM_TRIE@GOTPAGE
Lloh1:
ldr x8, [x8, _BPF_MAP_TYPE_LPM_TRIE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _BPF_F_NO_PREALLOC@GOTPAGE
Lloh4:
ldr x8, [x8, _BPF_F_NO_PREALLOC@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
mov x1, #0 ; =0x0
mov w2, #4 ; =0x4
mov w3, #100 ; =0x64
bl _bpf_create_map
mov x1, x0
add x20, sp, #16
add x0, sp, #16
bl _setup_lpm_mt_test_info
str wzr, [sp, #16]
Lloh6:
adrp x19, _lpm_test_command@GOTPAGE
Lloh7:
ldr x19, [x19, _lpm_test_command@GOTPAGEOFF]
mov x22, sp
mov x0, sp
add x3, sp, #16
mov x1, #0 ; =0x0
mov x2, x19
bl _pthread_create
cmp x0, #0
cset w0, eq
bl _assert
sub x21, x20, #4
sub x20, x22, #4
mov w22, #-1 ; =0xffffffff
mov x23, x21
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x1, sp, #16
mov x0, x21
mov w2, #4 ; =0x4
bl _memcpy
str w22, [x23], #-4
mov x0, x20
mov x1, #0 ; =0x0
mov x2, x19
mov x3, x21
bl _pthread_create
cmp x0, #0
cset w0, eq
bl _assert
sub x20, x20, #4
sub w22, w22, #1
mov x21, x23
b LBB0_1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BPF_MAP_TYPE_LPM_TRIE,4,2 ; @BPF_MAP_TYPE_LPM_TRIE
.comm _BPF_F_NO_PREALLOC,4,2 ; @BPF_F_NO_PREALLOC
.comm _lpm_test_command,4,2 ; @lpm_test_command
.no_dead_strip _test_lpm_multi_thread
.subsections_via_symbols
| assembly_file_17779.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _IniExtractSectionName ## -- Begin function IniExtractSectionName
.p2align 4, 0x90
_IniExtractSectionName: ## @IniExtractSectionName
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $-2, %rdx
jb LBB0_1
## %bb.2:
leaq (%rdx,%rsi), %rcx
addq $2, %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rax), %edx
testl %edx, %edx
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $93, %edx
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movb %dl, (%rdi,%rax)
incq %rax
cmpq $-2, %rax
jne LBB0_3
## %bb.6:
movq $-2, %rax
jmp LBB0_7
LBB0_1:
xorl %eax, %eax
LBB0_7:
movb $0, (%rdi,%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _IniExtractSectionName ; -- Begin function IniExtractSectionName
.p2align 2
_IniExtractSectionName: ; @IniExtractSectionName
.cfi_startproc
; %bb.0:
cmn x2, #2
b.lo LBB0_6
; %bb.1:
mov x8, #0 ; =0x0
add x9, x2, x1
add x9, x9, #2
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x9, x8]
cbz w10, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w10, #93
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
strb w10, [x0, x8]
add x8, x8, #1
cmn x8, #2
b.ne LBB0_2
LBB0_5:
strb wzr, [x0, x8]
ret
LBB0_6:
strb wzr, [x0, xzr]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_3753.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function add_remain_files
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_add_remain_files: ## @add_remain_files
.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 %r9, -112(%rbp) ## 8-byte Spill
movq %r8, -104(%rbp) ## 8-byte Spill
movq %rcx, %rbx
movq %rdx, -136(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rcx, %rdi
callq _g_queue_pop_head
testq %rax, %rax
je LBB0_9
## %bb.1:
movq %rax, %r15
movq %r12, -128(%rbp) ## 8-byte Spill
movq %rbx, -120(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rdi
movq %r13, %rsi
movl %eax, %edx
callq _seaf_warning
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _g_free
movq %r13, %rdi
callq _g_free
movq %rbx, %rdi
callq _g_queue_pop_head
movq %rax, %r15
testq %rax, %rax
je LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 20(%r14), %edi
movq %r15, %rsi
xorl %edx, %edx
callq _g_build_filename
movq %rax, %r13
movq %rax, %rdi
leaq -96(%rbp), %rsi
callq _seaf_stat
testq %rax, %rax
js LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -96(%rbp), %edi
callq _S_ISREG
testq %rax, %rax
je LBB0_15
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp)
movl 4(%r14), %edi
movl 16(%r14), %esi
movq _index_cb@GOTPCREL(%rip), %rax
movl (%rax), %eax
subq $8, %rsp
movq %r12, %rdx
movq %r15, %rcx
movq %r13, %r8
leaq -96(%rbp), %r9
leaq -80(%rbp), %rbx
pushq %rbx
pushq 8(%r14)
pushq %rax
pushq -136(%rbp) ## 8-byte Folded Reload
pushq $0
callq _add_to_index
addq $48, %rsp
movq %r12, %rbx
movl %eax, %r12d
cmpq $0, -80(%rbp)
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _strlen
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
xorl %ecx, %ecx
callq _index_name_exists
movl (%r14), %edi
movq _DIFF_STATUS_ADDED@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq (%rax), %rdx
movq 8(%r14), %r8
subq $8, %rsp
leaq -96(%rbp), %rcx
movq %r15, %r9
pushq $0
callq _add_to_changeset
addq $16, %rsp
movq -112(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rax
addq -88(%rbp), %rax
movq %rax, (%rcx)
movq _MAX_COMMIT_SIZE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_8
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
testl %r12d, %r12d
js LBB0_13
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq -128(%rbp), %r12 ## 8-byte Reload
movq -120(%rbp), %rbx ## 8-byte Reload
jmp LBB0_4
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movl -96(%rbp), %edi
callq _S_ISDIR
testq %rax, %rax
je LBB0_4
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
callq _is_empty_dir
testq %rax, %rax
je LBB0_4
## %bb.17: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
movq %r15, %rsi
leaq -96(%rbp), %rdx
callq _add_empty_dir_to_index
cmpl $1, %eax
jne LBB0_4
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
xorps %xmm0, %xmm0
movaps %xmm0, -80(%rbp)
movl $0, -64(%rbp)
movl (%r14), %edi
movq _DIFF_STATUS_DIR_ADDED@GOTPCREL(%rip), %rax
movl (%rax), %esi
subq $8, %rsp
leaq -80(%rbp), %rdx
leaq -96(%rbp), %rcx
xorl %r8d, %r8d
movq %r15, %r9
pushq $0
callq _add_to_changeset
addq $16, %rsp
jmp LBB0_4
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq _seaf@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %edi
movl 4(%r14), %esi
movq _S_IFREG@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _SYNC_STATUS_SYNCED@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r15, %rdx
callq _seaf_sync_manager_update_active_path
testl %r12d, %r12d
jns LBB0_14
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq _seaf@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %edi
movl 4(%r14), %esi
movq _S_IFREG@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _SYNC_STATUS_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r15, %rdx
callq _seaf_sync_manager_update_active_path
movl 4(%r14), %edi
movq _SYNC_ERROR_ID_INDEX_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %esi, %esi
movq %r15, %rdx
callq _send_file_sync_error_notification
jmp LBB0_14
LBB0_8:
movq %r15, %rdi
callq _g_free
movq %r13, %rdi
callq _g_free
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.19:
xorl %eax, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to stat %s: %s.\n"
.comm _errno,4,2 ## @errno
.comm _FALSE,8,3 ## @FALSE
.comm _index_cb,4,2 ## @index_cb
.comm _DIFF_STATUS_ADDED,4,2 ## @DIFF_STATUS_ADDED
.comm _MAX_COMMIT_SIZE,8,3 ## @MAX_COMMIT_SIZE
.comm _seaf,8,3 ## @seaf
.comm _S_IFREG,4,2 ## @S_IFREG
.comm _SYNC_STATUS_SYNCED,4,2 ## @SYNC_STATUS_SYNCED
.comm _SYNC_STATUS_ERROR,4,2 ## @SYNC_STATUS_ERROR
.comm _SYNC_ERROR_ID_INDEX_ERROR,4,2 ## @SYNC_ERROR_ID_INDEX_ERROR
.comm _DIFF_STATUS_DIR_ADDED,4,2 ## @DIFF_STATUS_DIR_ADDED
.no_dead_strip _add_remain_files
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_remain_files
_add_remain_files: ; @add_remain_files
.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, x5
str x4, [sp, #24] ; 8-byte Folded Spill
mov x21, x3
mov x22, x2
mov x23, x1
mov x24, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
mov x0, x3
bl _g_queue_pop_head
cbz x0, LBB0_16
; %bb.1:
mov x25, x0
Lloh3:
adrp x26, _FALSE@GOTPAGE
Lloh4:
ldr x26, [x26, _FALSE@GOTPAGEOFF]
Lloh5:
adrp x20, _index_cb@GOTPAGE
Lloh6:
ldr x20, [x20, _index_cb@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
Lloh7:
adrp x8, _errno@GOTPAGE
Lloh8:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
mov x1, x27
bl _seaf_warning
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
bl _g_free
mov x0, x27
bl _g_free
mov x0, x21
bl _g_queue_pop_head
mov x25, x0
cbz x0, LBB0_16
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [x24, #20]
mov x1, x25
mov x2, #0
bl _g_build_filename
mov x27, x0
add x1, sp, #32
bl _seaf_stat
tbnz x0, #63, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #32]
bl _S_ISREG
cbz x0, LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x26]
str x8, [sp, #48]
ldr w0, [x24, #4]
ldr w1, [x24, #16]
ldr w8, [x20]
ldr x9, [x24, #8]
add x10, sp, #48
stp x9, x10, [sp, #8]
add x5, sp, #32
str w8, [sp]
mov x2, x23
mov x3, x25
mov x4, x27
mov w6, #0
mov x7, x22
bl _add_to_index
mov x28, x0
ldr x8, [sp, #48]
cbz x8, LBB0_13
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
bl _strlen
mov x2, x0
mov x0, x23
mov x1, x25
mov w3, #0
bl _index_name_exists
ldr w8, [x24]
Lloh12:
adrp x9, _DIFF_STATUS_ADDED@GOTPAGE
Lloh13:
ldr x9, [x9, _DIFF_STATUS_ADDED@GOTPAGEOFF]
Lloh14:
ldr w1, [x9]
ldr x2, [x0]
ldr x4, [x24, #8]
add x3, sp, #32
mov x0, x8
mov x5, x25
mov x6, #0
bl _add_to_changeset
ldr x8, [sp, #40]
ldr x9, [x19]
add x8, x9, x8
str x8, [x19]
Lloh15:
adrp x9, _MAX_COMMIT_SIZE@GOTPAGE
Lloh16:
ldr x9, [x9, _MAX_COMMIT_SIZE@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_15
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
tbz w28, #31, LBB0_3
b LBB0_14
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [sp, #32]
bl _S_ISDIR
cbz x0, LBB0_3
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
mov x0, x27
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _is_empty_dir
cbz x0, LBB0_3
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
add x2, sp, #32
mov x0, x23
mov x1, x25
bl _add_empty_dir_to_index
cmp w0, #1
b.ne LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
stp xzr, xzr, [sp, #48]
str wzr, [sp, #64]
ldr w0, [x24]
Lloh18:
adrp x8, _DIFF_STATUS_DIR_ADDED@GOTPAGE
Lloh19:
ldr x8, [x8, _DIFF_STATUS_DIR_ADDED@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
add x2, sp, #48
add x3, sp, #32
mov x4, #0
mov x5, x25
mov x6, #0
bl _add_to_changeset
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
Lloh21:
adrp x8, _seaf@GOTPAGE
Lloh22:
ldr x8, [x8, _seaf@GOTPAGEOFF]
Lloh23:
ldr x8, [x8]
ldr w0, [x8]
ldr w1, [x24, #4]
Lloh24:
adrp x8, _S_IFREG@GOTPAGE
Lloh25:
ldr x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh26:
ldr w3, [x8]
Lloh27:
adrp x8, _SYNC_STATUS_SYNCED@GOTPAGE
Lloh28:
ldr x8, [x8, _SYNC_STATUS_SYNCED@GOTPAGEOFF]
Lloh29:
ldr w4, [x8]
mov x2, x25
bl _seaf_sync_manager_update_active_path
tbz w28, #31, LBB0_3
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
Lloh30:
adrp x8, _seaf@GOTPAGE
Lloh31:
ldr x8, [x8, _seaf@GOTPAGEOFF]
Lloh32:
ldr x8, [x8]
ldr w0, [x8]
ldr w1, [x24, #4]
Lloh33:
adrp x8, _S_IFREG@GOTPAGE
Lloh34:
ldr x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh35:
ldr w3, [x8]
Lloh36:
adrp x8, _SYNC_STATUS_ERROR@GOTPAGE
Lloh37:
ldr x8, [x8, _SYNC_STATUS_ERROR@GOTPAGEOFF]
Lloh38:
ldr w4, [x8]
mov x2, x25
bl _seaf_sync_manager_update_active_path
ldr w0, [x24, #4]
Lloh39:
adrp x8, _SYNC_ERROR_ID_INDEX_ERROR@GOTPAGE
Lloh40:
ldr x8, [x8, _SYNC_ERROR_ID_INDEX_ERROR@GOTPAGEOFF]
Lloh41:
ldr w3, [x8]
mov x1, #0
mov x2, x25
bl _send_file_sync_error_notification
b LBB0_3
LBB0_15:
mov x0, x25
bl _g_free
mov x0, x27
bl _g_free
LBB0_16:
ldr x8, [sp, #72]
Lloh42:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh43:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_18
; %bb.17:
mov w0, #0
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_18:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to stat %s: %s.\n"
.comm _errno,4,2 ; @errno
.comm _FALSE,8,3 ; @FALSE
.comm _index_cb,4,2 ; @index_cb
.comm _DIFF_STATUS_ADDED,4,2 ; @DIFF_STATUS_ADDED
.comm _MAX_COMMIT_SIZE,8,3 ; @MAX_COMMIT_SIZE
.comm _seaf,8,3 ; @seaf
.comm _S_IFREG,4,2 ; @S_IFREG
.comm _SYNC_STATUS_SYNCED,4,2 ; @SYNC_STATUS_SYNCED
.comm _SYNC_STATUS_ERROR,4,2 ; @SYNC_STATUS_ERROR
.comm _SYNC_ERROR_ID_INDEX_ERROR,4,2 ; @SYNC_ERROR_ID_INDEX_ERROR
.comm _DIFF_STATUS_DIR_ADDED,4,2 ; @DIFF_STATUS_DIR_ADDED
.no_dead_strip _add_remain_files
.subsections_via_symbols
| AnghaBench/seafile/daemon/extr_repo-mgr.c_add_remain_files.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
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq _runner(%rip), %rbx
leaq -48(%rbp), %rdi
movl $1, %ecx
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
leaq -40(%rbp), %rdi
movl $2, %ecx
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
movq -48(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movq -40(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
cmpl $1001, %r15d ## imm = 0x3E9
jl LBB0_2
## %bb.1:
movq (%r14), %rax
movsbl (%rax), %eax
jmp LBB0_3
LBB0_2:
movl _res(%rip), %eax
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB0_5
## %bb.4:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _runner ## -- Begin function runner
.p2align 4, 0x90
_runner: ## @runner
.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
leaq L_.str(%rip), %r14
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $3, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $4, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $5, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $6, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $7, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $8, %edx
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl %ebx, %esi
movl $9, %edx
xorl %eax, %eax
callq _printf
incl _res(%rip)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _res ## @res
.zerofill __DATA,__common,_res,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d CC: %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, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x21, _runner@PAGE
Lloh4:
add x21, x21, _runner@PAGEOFF
add x22, sp, #8
add x0, sp, #8
mov x1, #0
mov x2, x21
mov w3, #1
bl _pthread_create
add x0, x22, #8
mov x1, #0
mov x2, x21
mov w3, #2
bl _pthread_create
ldr x0, [sp, #8]
mov x1, #0
bl _pthread_join
ldr x0, [sp, #16]
mov x1, #0
bl _pthread_join
cmp w20, #1001
b.lt LBB0_2
; %bb.1:
ldr x8, [x19]
ldrsb w0, [x8]
b LBB0_3
LBB0_2:
Lloh5:
adrp x8, _res@PAGE
Lloh6:
ldr w0, [x8, _res@PAGEOFF]
LBB0_3:
ldr x8, [sp, #24]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.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
LBB0_5:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _runner ; -- Begin function runner
.p2align 2
_runner: ; @runner
.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
stp x0, xzr, [sp]
Lloh10:
adrp x20, l_.str@PAGE
Lloh11:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _printf
mov w8, #1
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #2
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #3
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #4
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #5
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #6
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #7
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #8
stp x19, x8, [sp]
mov x0, x20
bl _printf
mov w8, #9
stp x19, x8, [sp]
mov x0, x20
bl _printf
adrp x8, _res@PAGE
ldr w9, [x8, _res@PAGEOFF]
add w9, w9, #1
str w9, [x8, _res@PAGEOFF]
mov x0, #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 Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _res ; @res
.zerofill __DATA,__common,_res,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d CC: %d\n"
.subsections_via_symbols
| the_stack_data/225143980.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function update_filter
LCPI0_0:
.long 0x80000000 ## float -0
LCPI0_1:
.long 0x5f000000 ## float 9.22337203E+18
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_update_filter: ## @update_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %r14
movq 16(%rdi), %rax
movq _quality_map@GOTPCREL(%rip), %r15
movq (%r15), %rcx
shlq $5, %rax
movl (%rcx,%rax), %r9d
movl %r9d, 8(%rdi)
movq 8(%rcx,%rax), %rdx
movq %rdx, (%rdi)
movslq 24(%rdi), %r11
movl 28(%rdi), %edi
movslq %edi, %r10
cmpl %r10d, %r11d
jle LBB0_64
## %bb.1:
movl 16(%rcx,%rax), %eax
imull %r10d, %eax
movq %rdx, %rcx
cltd
idivl %r11d
movl %eax, 32(%rbx)
imulq %r11, %rcx
movq %rcx, %rax
orq %r10, %rax
shrq $32, %rax
je LBB0_2
## %bb.3:
movq %rcx, %rax
xorl %edx, %edx
divq %r10
movq %rax, %rdx
jmp LBB0_4
LBB0_64:
movl 20(%rcx,%rax), %eax
movl %eax, 32(%rbx)
jmp LBB0_6
LBB0_2:
movl %ecx, %eax
xorl %edx, %edx
divl %edi
movl %eax, %edx
LBB0_4:
andq $-4, %rdx
leal (%rdi,%rdi), %eax
cmpl %r11d, %eax
setl %al
movl %eax, %ecx
sarl %cl, %r9d
leal (,%rdi,4), %ecx
cmpl %r11d, %ecx
setl %sil
movl %esi, %ecx
sarl %cl, %r9d
leal (,%rdi,8), %ecx
cmpl %r11d, %ecx
setl %r8b
movl %r8d, %ecx
sarl %cl, %r9d
movl %edi, %ecx
shll $4, %ecx
cmpl %r11d, %ecx
setl %cl
movl %r9d, %r11d
sarl %cl, %r11d
movq %rdx, (%rbx)
testl %r11d, %r11d
setle %r12b
cmpl $2, %r11d
movl $1, %r9d
cmovgel %r11d, %r9d
orb %al, %sil
orb %r8b, %sil
orb %cl, %sil
orb %r12b, %sil
je LBB0_6
## %bb.5:
movl %r9d, 8(%rbx)
LBB0_6:
movq 104(%rbx), %rax
cmpl %r9d, %edi
jle LBB0_7
## %bb.21:
testq %rax, %rax
je LBB0_22
## %bb.23:
movslq 36(%rbx), %rcx
movslq %r9d, %rsi
imulq %rdx, %rsi
addq $8, %rsi
cmpq %rcx, %rsi
jbe LBB0_25
## %bb.24:
shll $3, %esi
movq %rax, %rdi
## kill: def $esi killed $esi killed $rsi
callq _speex_realloc
movq %rax, 104(%rbx)
movq (%rbx), %rdx
movl 8(%rbx), %r9d
movl %edx, %eax
imull %r9d, %eax
addl $8, %eax
movl %eax, 36(%rbx)
jmp LBB0_25
LBB0_7:
testq %rax, %rax
je LBB0_8
## %bb.9:
movslq 36(%rbx), %rcx
imulq %r10, %rdx
cmpq %rcx, %rdx
jbe LBB0_11
## %bb.10:
shll $3, %edx
movq %rax, %rdi
movl %edx, %esi
callq _speex_realloc
movq %rax, 104(%rbx)
movl 28(%rbx), %edi
movl (%rbx), %eax
imull %edi, %eax
movl %eax, 36(%rbx)
LBB0_11:
testl %edi, %edi
jne LBB0_12
jmp LBB0_18
LBB0_22:
imull %edx, %r9d
leal 64(,%r9,8), %edi
callq _speex_alloc
movq %rax, 104(%rbx)
movl 8(%rbx), %r9d
movq (%rbx), %rdx
LBB0_25:
movslq %r9d, %rax
imulq %rdx, %rax
addq $7, %rax
cmpq $2, %rax
ja LBB0_31
## %bb.26:
movq $-4, %r12
jmp LBB0_27
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_27 Depth=1
xorps %xmm0, %xmm0
cvtsi2ss %r12, %xmm0
LBB0_30: ## in Loop: Header=BB0_27 Depth=1
xorps %xmm1, %xmm1
cvtsi2ss %r9d, %xmm1
movq %rdx, %rax
shrq %rax
xorps %xmm2, %xmm2
cvtsi2ss %rax, %xmm2
divss %xmm1, %xmm0
subss %xmm2, %xmm0
cvttss2si %xmm0, %rax
movl 32(%rbx), %edi
movq %rax, %rcx
sarq $63, %rcx
subss LCPI0_1(%rip), %xmm0
cvttss2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq (%r15), %rax
movq 16(%rbx), %rcx
shlq $5, %rcx
movl 24(%rax,%rcx), %ecx
callq _sinc
movq 104(%rbx), %rcx
movq %rax, 32(%rcx,%r12,8)
incq %r12
movslq 8(%rbx), %r9
movq (%rbx), %rdx
movq %r9, %rax
imulq %rdx, %rax
addq $4, %rax
cmpq %rax, %r12
jae LBB0_31
LBB0_27: ## =>This Inner Loop Header: Depth=1
testq %r12, %r12
jns LBB0_29
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movq %r12, %rax
shrq %rax
movl %r12d, %ecx
andl $1, %ecx
orq %rax, %rcx
xorps %xmm0, %xmm0
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
jmp LBB0_30
LBB0_31:
cmpq $9, 16(%rbx)
jb LBB0_32
## %bb.33:
movq _resampler_basic_interpolate_double@GOTPCREL(%rip), %rax
jmp LBB0_34
LBB0_32:
movq _resampler_basic_interpolate_single@GOTPCREL(%rip), %rax
jmp LBB0_34
LBB0_8:
imull %edx, %edi
shll $3, %edi
## kill: def $edi killed $edi killed $rdi
callq _speex_alloc
movq %rax, 104(%rbx)
movl 28(%rbx), %edi
testl %edi, %edi
je LBB0_18
LBB0_12:
movq (%rbx), %rdx
testq %rdx, %rdx
je LBB0_18
## %bb.13:
xorl %r12d, %r12d
jmp LBB0_14
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
movl 32(%rbx), %edi
xorps %xmm1, %xmm1
cvtsi2ssl 28(%rbx), %xmm1
movss LCPI0_0(%rip), %xmm2 ## xmm2 = [-0.0E+0,0.0E+0,0.0E+0,0.0E+0]
divss %xmm1, %xmm2
addss %xmm0, %xmm2
cvttss2si %xmm2, %rax
leaq 1(%r12), %r13
movq %rax, %rcx
sarq $63, %rcx
subss LCPI0_1(%rip), %xmm2
cvttss2si %xmm2, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq (%r15), %rax
movq 16(%rbx), %rcx
shlq $5, %rcx
movl 24(%rax,%rcx), %ecx
callq _sinc
movq 104(%rbx), %rcx
movq %rax, (%rcx,%r12,8)
movq (%rbx), %rdx
movq %r13, %r12
cmpq %rdx, %r13
jae LBB0_18
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rax
shrq %rax
negq %rax
addq %r12, %rax
incq %rax
testq %rax, %rax
jns LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq %rax, %rcx
shrq %rcx
andl $1, %eax
orq %rcx, %rax
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
jmp LBB0_17
LBB0_18:
cmpq $9, 16(%rbx)
jb LBB0_19
## %bb.20:
movq _resampler_basic_direct_double@GOTPCREL(%rip), %rax
jmp LBB0_34
LBB0_19:
movq _resampler_basic_direct_single@GOTPCREL(%rip), %rax
LBB0_34:
movq (%rax), %rax
movq %rax, 96(%rbx)
movl 24(%rbx), %eax
cltd
idivl 28(%rbx)
movl %eax, 40(%rbx)
movl %edx, 44(%rbx)
movq 80(%rbx), %rdi
testq %rdi, %rdi
je LBB0_35
## %bb.42:
cmpl $0, 88(%rbx)
movq (%rbx), %rax
je LBB0_43
## %bb.50:
movq %r14, %rcx
subq %rax, %rcx
jae LBB0_56
## %bb.51:
movslq 48(%rbx), %r15
movslq 52(%rbx), %rcx
leaq (%rax,%rcx), %rsi
decq %rsi
cmpq %r15, %rsi
jbe LBB0_52
## %bb.53:
movl %esi, 48(%rbx)
imull 56(%rbx), %esi
shll $3, %esi
## kill: def $esi killed $esi killed $rsi
callq _speex_realloc
movq %rax, %rdi
movq %rax, 80(%rbx)
movslq 48(%rbx), %rdx
jmp LBB0_54
LBB0_35:
movl 52(%rbx), %edi
notl %edi
addl (%rbx), %edi
movl %edi, 48(%rbx)
imull 56(%rbx), %edi
shll $3, %edi
callq _speex_alloc
movq %rax, 80(%rbx)
movslq 56(%rbx), %rax
movslq 48(%rbx), %rdx
imulq %rax, %rdx
testl %edx, %edx
je LBB0_63
## %bb.36:
movl %edx, %eax
andl $3, %eax
cmpl $4, %edx
jae LBB0_38
## %bb.37:
xorl %ecx, %ecx
jmp LBB0_40
LBB0_43:
movl 52(%rbx), %ecx
leal (%rax,%rcx), %esi
decl %esi
movl %esi, 48(%rbx)
imull 56(%rbx), %esi
shll $3, %esi
callq _speex_realloc
movq %rax, 80(%rbx)
movslq 56(%rbx), %rax
movslq 48(%rbx), %rdx
imulq %rax, %rdx
testl %edx, %edx
je LBB0_63
## %bb.44:
movl %edx, %eax
andl $3, %eax
cmpl $4, %edx
jae LBB0_46
## %bb.45:
xorl %ecx, %ecx
jmp LBB0_48
LBB0_56:
jbe LBB0_63
## %bb.57:
cmpl $0, 56(%rbx)
je LBB0_63
## %bb.58:
shrq %rcx
decq %rax
movq 64(%rbx), %r9
movslq %ecx, %rsi
movq %rsi, -48(%rbp) ## 8-byte Spill
negq %rsi
xorl %edi, %edi
xorl %r8d, %r8d
jmp LBB0_59
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_59 Depth=1
addl %r12d, %r10d
movl %r10d, (%r9,%r8,4)
incq %r8
movslq 56(%rbx), %rdx
addq $8, %rdi
cmpq %rdx, %r8
jae LBB0_63
LBB0_59: ## =>This Loop Header: Depth=1
## Child Loop BB0_61 Depth 2
movslq (%r9,%r8,4), %r10
movl %ecx, (%r9,%r8,4)
leaq (%rax,%r10), %r11
movl %ecx, %r12d
cmpq %rsi, %r11
je LBB0_62
## %bb.60: ## in Loop: Header=BB0_59 Depth=1
movslq 48(%rbx), %r14
imulq %rdi, %r14
movq -48(%rbp), %r13 ## 8-byte Reload
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_61: ## Parent Loop BB0_59 Depth=1
## => This Inner Loop Header: Depth=2
movq 80(%rbx), %r9
addq %r14, %r9
leaq (%r9,%r15,8), %r12
movq (%r12,%r13,8), %r12
movq %r12, (%r9,%r15,8)
incq %r15
movq 64(%rbx), %r9
movl (%r9,%r8,4), %r12d
movslq %r12d, %r13
leaq (%r11,%r13), %rdx
cmpq %rdx, %r15
jb LBB0_61
jmp LBB0_62
LBB0_38:
andq $-4, %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_39: ## =>This Inner Loop Header: Depth=1
movq 80(%rbx), %rsi
movq $0, (%rsi,%rcx,8)
movq 80(%rbx), %rsi
movq $0, 8(%rsi,%rcx,8)
movq 80(%rbx), %rsi
movq $0, 16(%rsi,%rcx,8)
movq 80(%rbx), %rsi
movq $0, 24(%rsi,%rcx,8)
addq $4, %rcx
cmpq %rcx, %rdx
jne LBB0_39
LBB0_40:
testq %rax, %rax
je LBB0_63
.p2align 4, 0x90
LBB0_41: ## =>This Inner Loop Header: Depth=1
movq 80(%rbx), %rdx
movq $0, (%rdx,%rcx,8)
incq %rcx
decq %rax
jne LBB0_41
jmp LBB0_63
LBB0_52:
movq %r15, %rdx
LBB0_54:
movslq 56(%rbx), %rax
leaq -1(%rax), %rsi
movq 64(%rbx), %rcx
movslq -4(%rcx,%rax,4), %rcx
imulq %rsi, %r15
imulq %rsi, %rdx
addq %r14, %rdx
addq %rcx, %rdx
leaq -16(,%rdx,8), %rdx
addq %r14, %r15
addq %rcx, %r15
leaq -16(,%r15,8), %rsi
.p2align 4, 0x90
LBB0_55: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rsi), %r8
movslq %ecx, %rcx
leaq (%rdi,%rcx,8), %rcx
movq %r8, (%rdx,%rcx)
movq 64(%rbx), %rcx
movq 80(%rbx), %rdi
movl -4(%rcx,%rax,4), %ecx
addq $-8, %rdx
addq $-8, %rsi
jmp LBB0_55
LBB0_46:
andq $-4, %rdx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_47: ## =>This Inner Loop Header: Depth=1
movq 80(%rbx), %rsi
movq $0, (%rsi,%rcx,8)
movq 80(%rbx), %rsi
movq $0, 8(%rsi,%rcx,8)
movq 80(%rbx), %rsi
movq $0, 16(%rsi,%rcx,8)
movq 80(%rbx), %rsi
movq $0, 24(%rsi,%rcx,8)
addq $4, %rcx
cmpq %rcx, %rdx
jne LBB0_47
LBB0_48:
testq %rax, %rax
je LBB0_63
.p2align 4, 0x90
LBB0_49: ## =>This Inner Loop Header: Depth=1
movq 80(%rbx), %rdx
movq $0, (%rdx,%rcx,8)
incq %rcx
decq %rax
jne LBB0_49
LBB0_63:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _quality_map,8,3 ## @quality_map
.comm _resampler_basic_direct_double,8,3 ## @resampler_basic_direct_double
.comm _resampler_basic_direct_single,8,3 ## @resampler_basic_direct_single
.comm _resampler_basic_interpolate_double,8,3 ## @resampler_basic_interpolate_double
.comm _resampler_basic_interpolate_single,8,3 ## @resampler_basic_interpolate_single
.no_dead_strip _update_filter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function update_filter
_update_filter: ; @update_filter
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
mov x19, x0
Lloh0:
adrp x21, _quality_map@GOTPAGE
Lloh1:
ldr x21, [x21, _quality_map@GOTPAGEOFF]
ldr x20, [x0]
ldr x8, [x21]
ldr x9, [x0, #16]
add x12, x8, x9, lsl #5
ldr w8, [x12]
str w8, [x0, #8]
ldr x2, [x12, #8]
str x2, [x0]
ldp w11, w9, [x0, #24]
; kill: def $w11 killed $w11 def $x11
sxtw x11, w11
sxtw x10, w9
cmp w11, w9
b.le LBB0_7
; %bb.1:
lsl w13, w9, #1
cmp w13, w11
cset w14, lt
asr w8, w8, w14
lsl w17, w9, #2
cmp w17, w11
cset w14, lt
asr w8, w8, w14
lsl w14, w9, #3
cmp w14, w11
cset w15, lt
asr w8, w8, w15
lsl w15, w9, #4
cmp w15, w11
cset w16, lt
asr w16, w8, w16
cmp w16, #1
csinc w8, w16, wzr, gt
ldr w12, [x12, #16]
mul w12, w12, w9
sdiv w12, w12, w11
str w12, [x19, #32]
mul x12, x2, x11
udiv x12, x12, x10
and x2, x12, #0xfffffffffffffffc
str x2, [x19]
cmp w17, w11
b.lt LBB0_6
; %bb.2:
cmp w16, #1
b.lt LBB0_6
; %bb.3:
cmp w13, w11
b.lt LBB0_6
; %bb.4:
cmp w14, w11
b.lt LBB0_6
; %bb.5:
cmp w15, w11
b.ge LBB0_8
LBB0_6:
str w8, [x19, #8]
b LBB0_8
LBB0_7:
ldr w11, [x12, #20]
str w11, [x19, #32]
LBB0_8:
ldr x0, [x19, #104]
cmp w9, w8
b.le LBB0_12
; %bb.9:
cbz x0, LBB0_16
; %bb.10:
ldrsw x10, [x19, #36]
mov x9, x8
sxtw x9, w9
mov x11, #8 ; =0x8
madd x9, x2, x9, x11
cmp x9, x10
b.ls LBB0_17
; %bb.11:
lsl w1, w9, #3
bl _speex_realloc
str x0, [x19, #104]
ldr x2, [x19]
ldr w8, [x19, #8]
mov w9, #8 ; =0x8
madd w9, w8, w2, w9
str w9, [x19, #36]
b LBB0_17
LBB0_12:
cbz x0, LBB0_22
; %bb.13:
ldrsw x11, [x19, #36]
mul x8, x2, x10
cmp x8, x11
b.ls LBB0_15
; %bb.14:
lsl w1, w8, #3
bl _speex_realloc
str x0, [x19, #104]
ldr w8, [x19]
ldr w9, [x19, #28]
mul w8, w9, w8
str w8, [x19, #36]
LBB0_15:
cbnz w9, LBB0_23
b LBB0_26
LBB0_16:
mul w8, w8, w2
lsl w8, w8, #3
add w0, w8, #64
bl _speex_alloc
str x0, [x19, #104]
ldr w8, [x19, #8]
ldr x2, [x19]
LBB0_17:
sxtw x9, w8
mov x10, #7 ; =0x7
madd x9, x2, x9, x10
cmp x9, #2
b.hi LBB0_21
; %bb.18:
ldr w0, [x19, #32]
scvtf s0, w8
mov w8, #1602224128 ; =0x5f800000
fmov s1, w8
fdiv s0, s1, s0
lsr x8, x2, #1
ucvtf s1, x8
fsub s0, s0, s1
fcvtzu x1, s0
ldr x8, [x21]
ldr x9, [x19, #16]
add x8, x8, x9, lsl #5
ldr w3, [x8, #24]
bl _sinc
ldr x8, [x19, #104]
str x0, [x8]
ldrsw x8, [x19, #8]
ldr x2, [x19]
mul x9, x2, x8
and x9, x9, #0xfffffffffffffffe
cmn x9, #6
b.ne LBB0_21
; %bb.19:
ldr w0, [x19, #32]
scvtf s0, w8
mov w8, #1602224128 ; =0x5f800000
fmov s1, w8
fdiv s0, s1, s0
lsr x8, x2, #1
ucvtf s1, x8
fsub s0, s0, s1
fcvtzu x1, s0
ldr x8, [x21]
ldr x9, [x19, #16]
add x8, x8, x9, lsl #5
ldr w3, [x8, #24]
bl _sinc
ldr x8, [x19, #104]
str x0, [x8, #8]
ldrsw x8, [x19, #8]
ldr x2, [x19]
mul x9, x2, x8
cmn x9, #5
b.ne LBB0_21
; %bb.20:
ldr w0, [x19, #32]
scvtf s0, w8
mov w8, #1602224128 ; =0x5f800000
fmov s1, w8
fdiv s0, s1, s0
lsr x8, x2, #1
ucvtf s1, x8
fsub s0, s0, s1
fcvtzu x1, s0
ldr x8, [x21]
ldr x9, [x19, #16]
add x8, x8, x9, lsl #5
ldr w3, [x8, #24]
bl _sinc
ldr x8, [x19, #104]
str x0, [x8, #16]
LBB0_21:
ldr x8, [x19, #16]
Lloh2:
adrp x9, _resampler_basic_interpolate_single@GOTPAGE
Lloh3:
ldr x9, [x9, _resampler_basic_interpolate_single@GOTPAGEOFF]
Lloh4:
adrp x10, _resampler_basic_interpolate_double@GOTPAGE
Lloh5:
ldr x10, [x10, _resampler_basic_interpolate_double@GOTPAGEOFF]
b LBB0_27
LBB0_22:
mul w8, w9, w2
lsl w0, w8, #3
bl _speex_alloc
str x0, [x19, #104]
ldr w9, [x19, #28]
cbz w9, LBB0_26
LBB0_23:
ldr x2, [x19]
cbz x2, LBB0_26
; %bb.24:
mov x22, #0 ; =0x0
movi.2s v8, #128, lsl #24
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #32]
add x23, x22, #1
sub x8, x23, x2, lsr #1
ucvtf s0, x8
ldr s1, [x19, #28]
scvtf s1, s1
fdiv s1, s8, s1
fadd s0, s0, s1
fcvtzu x1, s0
ldr x8, [x21]
ldr x9, [x19, #16]
add x8, x8, x9, lsl #5
ldr w3, [x8, #24]
bl _sinc
ldr x8, [x19, #104]
str x0, [x8, x22, lsl #3]
ldr x2, [x19]
mov x22, x23
cmp x23, x2
b.lo LBB0_25
LBB0_26:
ldr x8, [x19, #16]
Lloh6:
adrp x9, _resampler_basic_direct_single@GOTPAGE
Lloh7:
ldr x9, [x9, _resampler_basic_direct_single@GOTPAGEOFF]
Lloh8:
adrp x10, _resampler_basic_direct_double@GOTPAGE
Lloh9:
ldr x10, [x10, _resampler_basic_direct_double@GOTPAGEOFF]
LBB0_27:
cmp x8, #8
csel x8, x10, x9, hi
ldr x8, [x8]
str x8, [x19, #96]
ldp w8, w9, [x19, #24]
sdiv w10, w8, w9
msub w8, w10, w9, w8
stp w10, w8, [x19, #40]
ldr x0, [x19, #80]
cbz x0, LBB0_32
; %bb.28:
ldr w8, [x19, #88]
ldr x11, [x19]
cbz w8, LBB0_35
; %bb.29:
subs x12, x20, x11
b.hs LBB0_38
; %bb.30:
ldpsw x21, x8, [x19, #48]
add x8, x11, x8
sub x8, x8, #1
cmp x8, x21
b.ls LBB0_46
; %bb.31:
str w8, [x19, #48]
ldr w9, [x19, #56]
mul w8, w8, w9
lsl w1, w8, #3
bl _speex_realloc
str x0, [x19, #80]
ldrsw x10, [x19, #48]
b LBB0_47
LBB0_32:
ldr w8, [x19]
ldp w9, w10, [x19, #52]
mvn w9, w9
add w8, w8, w9
str w8, [x19, #48]
mul w8, w8, w10
lsl w0, w8, #3
bl _speex_alloc
str x0, [x19, #80]
ldrsw x8, [x19, #56]
ldrsw x9, [x19, #48]
smull x8, w9, w8
cbz w8, LBB0_45
; %bb.33:
mov x9, #0 ; =0x0
LBB0_34: ; =>This Inner Loop Header: Depth=1
ldr x10, [x19, #80]
str xzr, [x10, x9, lsl #3]
add x9, x9, #1
cmp x8, x9
b.ne LBB0_34
b LBB0_45
LBB0_35:
ldp w8, w9, [x19, #52]
add w8, w11, w8
sub w8, w8, #1
str w8, [x19, #48]
mul w8, w8, w9
lsl w1, w8, #3
bl _speex_realloc
str x0, [x19, #80]
ldrsw x8, [x19, #56]
ldrsw x9, [x19, #48]
smull x8, w9, w8
cbz w8, LBB0_45
; %bb.36:
mov x9, #0 ; =0x0
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldr x10, [x19, #80]
str xzr, [x10, x9, lsl #3]
add x9, x9, #1
cmp x8, x9
b.ne LBB0_37
b LBB0_45
LBB0_38:
b.ls LBB0_45
; %bb.39:
ldr w8, [x19, #56]
cbz w8, LBB0_45
; %bb.40:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
lsr x10, x12, #1
sub x11, x11, #1
ldr x14, [x19, #64]
sbfx x12, x12, #1, #32
neg x13, x12
b LBB0_42
LBB0_41: ; in Loop: Header=BB0_42 Depth=1
add w15, w1, w15
str w15, [x14, x9, lsl #2]
add x9, x9, #1
ldrsw x15, [x19, #56]
add x8, x8, #8
cmp x9, x15
b.hs LBB0_45
LBB0_42: ; =>This Loop Header: Depth=1
; Child Loop BB0_44 Depth 2
ldrsw x15, [x14, x9, lsl #2]
str w10, [x14, x9, lsl #2]
add x16, x11, x15
cmp x16, x13
mov x1, x10
b.eq LBB0_41
; %bb.43: ; in Loop: Header=BB0_42 Depth=1
mov x17, #0 ; =0x0
ldrsw x14, [x19, #48]
mul x0, x8, x14
mov x2, x12
LBB0_44: ; Parent Loop BB0_42 Depth=1
; => This Inner Loop Header: Depth=2
ldr x14, [x19, #80]
add x14, x14, x0
add x14, x14, x17, lsl #3
ldr x1, [x14, x2, lsl #3]
str x1, [x14]
add x17, x17, #1
ldr x14, [x19, #64]
ldr w1, [x14, x9, lsl #2]
sxtw x2, w1
add x3, x16, x2
cmp x17, x3
b.lo LBB0_44
b LBB0_41
LBB0_45:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_46:
mov x10, x21
LBB0_47:
ldrsw x8, [x19, #56]
sub x8, x8, #1
ldr x9, [x19, #64]
ldrsw x9, [x9, x8, lsl #2]
madd x10, x10, x8, x20
add x10, x10, x9
lsl x10, x10, #3
sub x10, x10, #16
madd x11, x8, x21, x20
add x11, x11, x9
lsl x11, x11, #3
sub x11, x11, #16
LBB0_48: ; =>This Inner Loop Header: Depth=1
ldr x12, [x0, x11]
add x9, x0, w9, sxtw #3
str x12, [x9, x10]
ldr x0, [x19, #80]
ldr x9, [x19, #64]
ldr w9, [x9, x8, lsl #2]
sub x10, x10, #8
sub x11, x11, #8
b LBB0_48
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _quality_map,8,3 ; @quality_map
.comm _resampler_basic_direct_double,8,3 ; @resampler_basic_direct_double
.comm _resampler_basic_direct_single,8,3 ; @resampler_basic_direct_single
.comm _resampler_basic_interpolate_double,8,3 ; @resampler_basic_interpolate_double
.comm _resampler_basic_interpolate_single,8,3 ; @resampler_basic_interpolate_single
.no_dead_strip _update_filter
.subsections_via_symbols
| assembly_file_174106.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function __kernel_cos
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__text,regular,pure_instructions
.globl ___kernel_cos
.p2align 4, 0x90
___kernel_cos: ## @__kernel_cos
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
mulsd %xmm0, %xmm1
movapd %xmm0, %xmm2
mulsd %xmm0, %xmm2
movapd %xmm2, %xmm3
movq _C2@GOTPCREL(%rip), %rax
movq _C3@GOTPCREL(%rip), %rcx
movsd (%rcx), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm2, %xmm0
addsd (%rax), %xmm0
movq _C1@GOTPCREL(%rip), %rax
mulsd %xmm2, %xmm0
addsd (%rax), %xmm0
mulsd %xmm2, %xmm3
mulsd %xmm3, %xmm3
movq _C5@GOTPCREL(%rip), %rax
movq _C6@GOTPCREL(%rip), %rcx
movsd (%rcx), %xmm4 ## xmm4 = mem[0],zero
mulsd %xmm2, %xmm4
addsd (%rax), %xmm4
movq _C4@GOTPCREL(%rip), %rax
mulsd %xmm2, %xmm4
addsd (%rax), %xmm4
mulsd %xmm3, %xmm4
mulsd %xmm2, %xmm0
addsd %xmm4, %xmm0
movsd LCPI0_0(%rip), %xmm3 ## xmm3 = [5.0E-1,0.0E+0]
mulsd %xmm2, %xmm3
movq _one@GOTPCREL(%rip), %rax
movsd (%rax), %xmm4 ## xmm4 = mem[0],zero
movapd %xmm4, %xmm5
subsd %xmm3, %xmm5
subsd %xmm5, %xmm4
subsd %xmm3, %xmm4
mulsd %xmm2, %xmm0
subsd %xmm1, %xmm0
addsd %xmm4, %xmm0
addsd %xmm5, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_6519 ## @g_aug_volatile_6519
.p2align 2, 0x0
_g_aug_volatile_6519:
.long 8 ## 0x8
.comm _C1,8,3 ## @C1
.comm _C2,8,3 ## @C2
.comm _C3,8,3 ## @C3
.comm _C4,8,3 ## @C4
.comm _C5,8,3 ## @C5
.comm _C6,8,3 ## @C6
.comm _one,8,3 ## @one
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl ___kernel_cos ; -- Begin function __kernel_cos
.p2align 2
___kernel_cos: ; @__kernel_cos
.cfi_startproc
; %bb.0:
fmul d2, d0, d0
fmul d3, d2, d2
Lloh0:
adrp x8, _C1@GOTPAGE
Lloh1:
ldr x8, [x8, _C1@GOTPAGEOFF]
Lloh2:
ldr d4, [x8]
Lloh3:
adrp x8, _C2@GOTPAGE
Lloh4:
ldr x8, [x8, _C2@GOTPAGEOFF]
Lloh5:
ldr d5, [x8]
Lloh6:
adrp x8, _C3@GOTPAGE
Lloh7:
ldr x8, [x8, _C3@GOTPAGEOFF]
Lloh8:
ldr d6, [x8]
fmadd d5, d2, d6, d5
fmadd d4, d2, d5, d4
fmul d3, d3, d3
Lloh9:
adrp x8, _C4@GOTPAGE
Lloh10:
ldr x8, [x8, _C4@GOTPAGEOFF]
Lloh11:
ldr d5, [x8]
Lloh12:
adrp x8, _C5@GOTPAGE
Lloh13:
ldr x8, [x8, _C5@GOTPAGEOFF]
Lloh14:
ldr d6, [x8]
Lloh15:
adrp x8, _C6@GOTPAGE
Lloh16:
ldr x8, [x8, _C6@GOTPAGEOFF]
Lloh17:
ldr d7, [x8]
fmadd d6, d2, d7, d6
fmadd d5, d2, d6, d5
fmul d3, d3, d5
fmadd d3, d2, d4, d3
fmov d4, #0.50000000
fmul d4, d2, d4
Lloh18:
adrp x8, _one@GOTPAGE
Lloh19:
ldr x8, [x8, _one@GOTPAGEOFF]
Lloh20:
ldr d5, [x8]
fsub d6, d5, d4
fsub d5, d5, d6
fsub d4, d5, d4
fnmul d0, d0, d1
fmadd d0, d2, d3, d0
fadd d0, d4, d0
fadd d0, d6, d0
ret
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_6519 ; @g_aug_volatile_6519
.p2align 2, 0x0
_g_aug_volatile_6519:
.long 8 ; 0x8
.comm _C1,8,3 ; @C1
.comm _C2,8,3 ; @C2
.comm _C3,8,3 ; @C3
.comm _C4,8,3 ; @C4
.comm _C5,8,3 ; @C5
.comm _C6,8,3 ; @C6
.comm _one,8,3 ; @one
.subsections_via_symbols
| assembly_file_20198.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setLikeOptFlag
_setLikeOptFlag: ## @setLikeOptFlag
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edx, %r14d
movq _SQLITE_UTF8@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $2, %edx
xorl %r8d, %r8d
callq _sqlite3FindFunction
movq %rax, %rbx
movq %rax, %rdi
callq _ALWAYS
testq %rax, %rax
je LBB0_2
## %bb.1:
orl %r14d, (%rbx)
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_UTF8,4,2 ## @SQLITE_UTF8
.no_dead_strip _setLikeOptFlag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setLikeOptFlag
_setLikeOptFlag: ; @setLikeOptFlag
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
Lloh0:
adrp x8, _SQLITE_UTF8@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
mov w2, #2
mov w4, #0
bl _sqlite3FindFunction
mov x20, x0
bl _ALWAYS
cbz x0, LBB0_2
; %bb.1:
ldr w8, [x20]
orr w8, w8, w19
str w8, [x20]
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SQLITE_UTF8,4,2 ; @SQLITE_UTF8
.no_dead_strip _setLikeOptFlag
.subsections_via_symbols
| AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_setLikeOptFlag.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
movl $25, %r14d
leaq -52(%rbp), %r15
leaq -44(%rbp), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpl $255, %eax
je LBB0_13
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
decl %r14d
je LBB0_13
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $0, -52(%rbp)
movl $1, %edx
xorl %edi, %edi
movq %r15, %rsi
callq _read
cmpq $1, %rax
jne LBB0_13
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %eax
cmpl $1, %eax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, %eax
jne LBB0_4
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movl $4, %edx
xorl %edi, %edi
movq %r13, %rsi
callq _read
movl $4, %edx
xorl %edi, %edi
leaq -48(%rbp), %rsi
callq _read
movslq -44(%rbp), %rax
leaq _g_cache(%rip), %rcx
movq (%rcx,%rax,8), %rax
testq %rax, %rax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq (%rax), %rsi
movslq -48(%rbp), %rdx
movl $1, %edi
callq _write
jmp LBB0_12
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl $0, -44(%rbp)
movl $0, -48(%rbp)
movl $4, %edx
xorl %edi, %edi
movq %r13, %r12
movq %r13, %rsi
callq _read
movl $4, %edx
xorl %edi, %edi
leaq -48(%rbp), %rsi
callq _read
movl $17, %edi
callq _malloc
testq %rax, %rax
je LBB0_13
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %r13
movslq -48(%rbp), %rbx
leaq 1(%rbx), %rdi
callq _malloc
movq %rax, (%r13)
testq %rax, %rax
je LBB0_13
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
xorl %edi, %edi
movq %rax, %rsi
movq %rbx, %rdx
callq _read
movslq -44(%rbp), %rax
leaq _g_cache(%rip), %rbx
movq (%rbx,%rax,8), %rcx
testq %rcx, %rcx
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq (%rcx), %rdi
callq _free
movslq -44(%rbp), %rax
movq (%rbx,%rax,8), %rdi
callq _free
movslq -44(%rbp), %rax
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movq %r13, (%rbx,%rax,8)
movq %r12, %r13
jmp LBB0_12
LBB0_13:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_g_cache,808,4 ## @g_cache
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w21, #25
Lloh0:
adrp x22, _g_cache@PAGE
Lloh1:
add x22, x22, _g_cache@PAGEOFF
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #255
b.eq LBB0_13
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
subs w21, w21, #1
b.eq LBB0_13
LBB0_3: ; =>This Inner Loop Header: Depth=1
str wzr, [sp, #4]
add x1, sp, #4
mov w0, #0
mov w2, #1
bl _read
cmp x0, #1
b.ne LBB0_13
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #4]
cmp w8, #1
b.eq LBB0_8
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #2
b.ne LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
str xzr, [sp, #8]
add x1, sp, #12
mov w0, #0
mov w2, #4
bl _read
add x1, sp, #8
mov w0, #0
mov w2, #4
bl _read
ldrsw x8, [sp, #12]
ldr x8, [x22, x8, lsl #3]
cbz x8, LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x1, [x8]
ldrsw x2, [sp, #8]
mov w0, #1
bl _write
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
str xzr, [sp, #8]
add x1, sp, #12
mov w0, #0
mov w2, #4
bl _read
add x1, sp, #8
mov w0, #0
mov w2, #4
bl _read
mov w0, #17
bl _malloc
cbz x0, LBB0_13
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov x19, x0
ldrsw x20, [sp, #8]
add x0, x20, #1
bl _malloc
str x0, [x19]
cbz x0, LBB0_13
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
mov x1, x0
mov w0, #0
mov x2, x20
bl _read
ldrsw x8, [sp, #12]
ldr x9, [x22, x8, lsl #3]
cbz x9, LBB0_12
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x9]
bl _free
ldrsw x8, [sp, #12]
ldr x0, [x22, x8, lsl #3]
bl _free
ldrsw x8, [sp, #12]
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
str x19, [x22, x8, lsl #3]
b LBB0_2
LBB0_13:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_g_cache,808,3 ; @g_cache
.subsections_via_symbols
| the_stack_data/22115.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function altera_pcie_init_irq_domain
_altera_pcie_init_irq_domain: ## @altera_pcie_init_irq_domain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq 8(%rdi), %r14
movq (%r14), %rdi
movq _PCI_NUM_INTX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _intx_domain_ops@GOTPCREL(%rip), %rdx
movq %rbx, %rcx
callq _irq_domain_add_linear
movl %eax, %ecx
movl %eax, (%rbx)
xorl %eax, %eax
testl %ecx, %ecx
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCI_NUM_INTX,4,2 ## @PCI_NUM_INTX
.comm _intx_domain_ops,4,2 ## @intx_domain_ops
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to get a INTx IRQ domain\n"
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _altera_pcie_init_irq_domain
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function altera_pcie_init_irq_domain
_altera_pcie_init_irq_domain: ; @altera_pcie_init_irq_domain
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
ldr x19, [x0, #8]
ldr x0, [x19]
Lloh0:
adrp x8, _PCI_NUM_INTX@GOTPAGE
Lloh1:
ldr x8, [x8, _PCI_NUM_INTX@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, _intx_domain_ops@GOTPAGE
Lloh4:
ldr x2, [x2, _intx_domain_ops@GOTPAGEOFF]
mov x3, x20
bl _irq_domain_add_linear
str w0, [x20]
cbz w0, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _dev_err
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w0, w8
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _PCI_NUM_INTX,4,2 ; @PCI_NUM_INTX
.comm _intx_domain_ops,4,2 ; @intx_domain_ops
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to get a INTx IRQ domain\n"
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _altera_pcie_init_irq_domain
.subsections_via_symbols
| AnghaBench/linux/drivers/pci/controller/extr_pcie-altera.c_altera_pcie_init_irq_domain.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _list_config_fsck_msg_ids ## -- Begin function list_config_fsck_msg_ids
.p2align 4, 0x90
_list_config_fsck_msg_ids: ## @list_config_fsck_msg_ids
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r12
xorl %eax, %eax
callq _prepare_msg_ids
movq _FSCK_MSG_MAX@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_3
## %bb.1:
xorl %ebx, %ebx
movq _msg_id_info@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movl (%rax,%rbx,4), %edx
movq %r12, %rdi
movq %r14, %rsi
callq _list_config_item
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FSCK_MSG_MAX,4,2 ## @FSCK_MSG_MAX
.comm _msg_id_info,8,3 ## @msg_id_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _list_config_fsck_msg_ids ; -- Begin function list_config_fsck_msg_ids
.p2align 2
_list_config_fsck_msg_ids: ; @list_config_fsck_msg_ids
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
bl _prepare_msg_ids
Lloh0:
adrp x21, _FSCK_MSG_MAX@GOTPAGE
Lloh1:
ldr x21, [x21, _FSCK_MSG_MAX@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x22, #0
Lloh2:
adrp x23, _msg_id_info@GOTPAGE
Lloh3:
ldr x23, [x23, _msg_id_info@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
ldr w2, [x8, x22, lsl #2]
mov x0, x20
mov x1, x19
bl _list_config_item
add x22, x22, #1
ldrsw x8, [x21]
cmp x22, x8
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _FSCK_MSG_MAX,4,2 ; @FSCK_MSG_MAX
.comm _msg_id_info,8,3 ; @msg_id_info
.subsections_via_symbols
| AnghaBench/git/extr_fsck.c_list_config_fsck_msg_ids.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input_cmd_xkb_options ## -- Begin function input_cmd_xkb_options
.p2align 4, 0x90
_input_cmd_xkb_options: ## @input_cmd_xkb_options
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq _EXPECTED_EQUAL_TO@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movl $1, %ecx
callq _checkarg
testq %rax, %rax
je LBB0_1
## %bb.5:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
movq _config@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_2
## %bb.3:
movq (%r14), %rdi
callq _strdup
movl %eax, (%rbx)
movq _SWAY_DEBUG@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl 4(%rbx), %edx
leaq L_.str.2(%rip), %rsi
movl %eax, %ecx
callq _sway_log
movq _CMD_SUCCESS@GOTPCREL(%rip), %rax
xorl %esi, %esi
jmp LBB0_4
LBB0_2:
leaq L_.str.1(%rip), %rsi
movq _CMD_FAILURE@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _cmd_results_new ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "xkb_options"
.comm _EXPECTED_EQUAL_TO,4,2 ## @EXPECTED_EQUAL_TO
.comm _config,8,3 ## @config
.comm _CMD_FAILURE,4,2 ## @CMD_FAILURE
L_.str.1: ## @.str.1
.asciz "No input device defined."
.comm _SWAY_DEBUG,4,2 ## @SWAY_DEBUG
L_.str.2: ## @.str.2
.asciz "set-xkb_options for config: %s options: %s"
.comm _CMD_SUCCESS,4,2 ## @CMD_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input_cmd_xkb_options ; -- Begin function input_cmd_xkb_options
.p2align 2
_input_cmd_xkb_options: ; @input_cmd_xkb_options
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x8, _EXPECTED_EQUAL_TO@GOTPAGE
Lloh1:
ldr x8, [x8, _EXPECTED_EQUAL_TO@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov w3, #1
bl _checkarg
cbz x0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh5:
adrp x8, _config@GOTPAGE
Lloh6:
ldr x8, [x8, _config@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldr x20, [x8]
cbz x20, LBB0_4
; %bb.3:
ldr x0, [x19]
bl _strdup
mov x3, x0
str w0, [x20]
Lloh8:
adrp x8, _SWAY_DEBUG@GOTPAGE
Lloh9:
ldr x8, [x8, _SWAY_DEBUG@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ldr w2, [x20, #4]
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
bl _sway_log
mov x1, #0
Lloh13:
adrp x8, _CMD_SUCCESS@GOTPAGE
Lloh14:
ldr x8, [x8, _CMD_SUCCESS@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh15:
adrp x1, l_.str.1@PAGE
Lloh16:
add x1, x1, l_.str.1@PAGEOFF
Lloh17:
adrp x8, _CMD_FAILURE@GOTPAGE
Lloh18:
ldr x8, [x8, _CMD_FAILURE@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _cmd_results_new
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "xkb_options"
.comm _EXPECTED_EQUAL_TO,4,2 ; @EXPECTED_EQUAL_TO
.comm _config,8,3 ; @config
.comm _CMD_FAILURE,4,2 ; @CMD_FAILURE
l_.str.1: ; @.str.1
.asciz "No input device defined."
.comm _SWAY_DEBUG,4,2 ; @SWAY_DEBUG
l_.str.2: ; @.str.2
.asciz "set-xkb_options for config: %s options: %s"
.comm _CMD_SUCCESS,4,2 ; @CMD_SUCCESS
.subsections_via_symbols
| AnghaBench/sway/sway/commands/input/extr_xkb_options.c_input_cmd_xkb_options.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atimeIsUpdated
_atimeIsUpdated: ## @atimeIsUpdated
.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
leaq L_.str.1(%rip), %rdx
movl $438, %esi ## imm = 0x1B6
callq _assertMakeFile
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
movl $1, %esi
xorl %edx, %edx
movl $1, %ecx
xorl %r8d, %r8d
callq _assertUtimes
testl %eax, %eax
je LBB0_6
## %bb.3:
leaq L_.str.1(%rip), %rdi
leaq L_.str(%rip), %rsi
callq _assertTextFileContents
testl %eax, %eax
je LBB0_6
## %bb.4:
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
callq _stat
testq %rax, %rax
jne LBB0_6
## %bb.5:
xorl %ebx, %ebx
cmpl $2, -16(%rbp)
setge %bl
jmp LBB0_6
LBB0_1:
xorl %ebx, %ebx
LBB0_6:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fs_noatime"
L_.str.1: ## @.str.1
.asciz "a"
.no_dead_strip _atimeIsUpdated
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atimeIsUpdated
_atimeIsUpdated: ; @atimeIsUpdated
.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
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov w1, #438
bl _assertMakeFile
cbz w0, LBB0_6
; %bb.1:
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
mov w1, #1
mov w2, #0
mov w3, #1
mov w4, #0
bl _assertUtimes
cbz w0, LBB0_6
; %bb.2:
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _assertTextFileContents
cbz w0, LBB0_6
; %bb.3:
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
add x1, sp, #8
bl _stat
cbz x0, LBB0_5
; %bb.4:
mov w0, #0
b LBB0_6
LBB0_5:
ldr w8, [sp, #8]
cmp w8, #1
cset w0, gt
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fs_noatime"
l_.str.1: ; @.str.1
.asciz "a"
.no_dead_strip _atimeIsUpdated
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_disk_directory_traversals.c_atimeIsUpdated.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function hom
LCPI0_0:
.quad 0x408f400000000000 ## double 1000
LCPI0_1:
.quad 0xbfe999999999999a ## double -0.80000000000000004
LCPI0_2:
.quad 0xc00b333333333333 ## double -3.3999999999999999
LCPI0_3:
.quad 0xbfe3333333333333 ## double -0.59999999999999998
LCPI0_4:
.quad 0x401b333333333333 ## double 6.7999999999999998
LCPI0_5:
.quad 0xc00d1eb851eb851f ## double -3.6400000000000001
LCPI0_6:
.quad 0xc021666666666666 ## double -8.6999999999999993
LCPI0_7:
.quad 0xbfc3333333333333 ## double -0.14999999999999999
LCPI0_8:
.quad 0xc018000000000000 ## double -6
LCPI0_9:
.quad 0xbf43a92a30553261 ## double -5.9999999999999995E-4
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_hom: ## @hom
.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
divsd LCPI0_0(%rip), %xmm0
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [-8.0000000000000004E-1,0.0E+0]
callq _pow
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = [-3.3999999999999999E+0,0.0E+0]
addsd -16(%rbp), %xmm1 ## 8-byte Folded Reload
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = [-5.9999999999999998E-1,0.0E+0]
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
callq _exp
mulsd LCPI0_4(%rip), %xmm0
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd LCPI0_5(%rip), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movsd LCPI0_6(%rip), %xmm1 ## xmm1 = [-8.6999999999999993E+0,0.0E+0]
addsd -16(%rbp), %xmm1 ## 8-byte Folded Reload
movsd LCPI0_7(%rip), %xmm0 ## xmm0 = [-1.4999999999999999E-1,0.0E+0]
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
callq _exp
mulsd LCPI0_8(%rip), %xmm0
addsd -8(%rbp), %xmm0 ## 8-byte Folded Reload
movsd -16(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
mulsd %xmm2, %xmm2
movsd LCPI0_9(%rip), %xmm1 ## xmm1 = [-5.9999999999999995E-4,0.0E+0]
mulsd %xmm2, %xmm1
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_4798 ## @g_aug_volatile_4798
.p2align 2, 0x0
_g_aug_volatile_4798:
.long 9 ## 0x9
.no_dead_strip _hom
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function hom
_hom: ; @hom
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-32]! ; 16-byte Folded Spill
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 b8, -24
.cfi_offset b9, -32
mov x8, #70368744177664 ; =0x400000000000
movk x8, #16527, lsl #48
fmov d1, x8
fdiv d8, d0, d1
mov x8, #-7378697629483820647 ; =0x9999999999999999
movk x8, #39322
movk x8, #49129, lsl #48
fmov d1, x8
fmov d0, d8
bl _pow
fmov d9, d0
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #49163, lsl #48
fmov d0, x8
fadd d0, d8, d0
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #49123, lsl #48
fmov d1, x8
fmul d1, d0, d1
fmul d0, d0, d1
bl _exp
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #16411, lsl #48
fmov d1, x8
fmul d0, d0, d1
mov x8, #34079 ; =0x851f
movk x8, #20971, lsl #16
movk x8, #7864, lsl #32
movk x8, #49165, lsl #48
fmov d1, x8
fmadd d9, d9, d1, d0
mov x8, #7378697629483820646 ; =0x6666666666666666
movk x8, #49185, lsl #48
fmov d0, x8
fadd d0, d8, d0
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #49091, lsl #48
fmov d1, x8
fmul d1, d0, d1
fmul d0, d0, d1
bl _exp
fmov d1, #-6.00000000
fmadd d0, d0, d1, d9
fmul d1, d8, d8
mov x8, #12897 ; =0x3261
movk x8, #12373, lsl #16
movk x8, #43306, lsl #32
movk x8, #48963, lsl #48
fmov d2, x8
fmul d2, d1, d2
fmadd d0, d2, d1, d0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_4798 ; @g_aug_volatile_4798
.p2align 2, 0x0
_g_aug_volatile_4798:
.long 9 ; 0x9
.no_dead_strip _hom
.subsections_via_symbols
| assembly_file_170484.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfp_meid
_nfp_meid: ## @nfp_meid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
movl %edi, %ecx
shll $4, %ecx
leal 4(%rsi), %eax
orl %ecx, %eax
cmpl $12, %esi
movl $-1, %ecx
cmovgel %ecx, %eax
cmpl $64, %edi
cmovael %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nfp_meid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfp_meid
_nfp_meid: ; @nfp_meid
.cfi_startproc
; %bb.0:
cmp w1, #12
mov w8, #64
ccmp w0, w8, #2, lt
add w8, w1, #4
orr w8, w8, w0, lsl #4
csinv w0, w8, wzr, lo
ret
.cfi_endproc
; -- End function
.no_dead_strip _nfp_meid
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nfpcore/extr_nfp_rtsym.c_nfp_meid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ksft_inc_pass_cnt
_ksft_inc_pass_cnt: ## @ksft_inc_pass_cnt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ksft_cnt@GOTPCREL(%rip), %rax
incl (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ksft_cnt,4,2 ## @ksft_cnt
.no_dead_strip _ksft_inc_pass_cnt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ksft_inc_pass_cnt
_ksft_inc_pass_cnt: ; @ksft_inc_pass_cnt
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ksft_cnt@GOTPAGE
Lloh1:
ldr x8, [x8, _ksft_cnt@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ksft_cnt,4,2 ; @ksft_cnt
.no_dead_strip _ksft_inc_pass_cnt
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/breakpoints/extr_..kselftest.h_ksft_inc_pass_cnt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _powerOfTwo ## -- Begin function powerOfTwo
.p2align 4, 0x90
_powerOfTwo: ## @powerOfTwo
.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
andl $-2147483647, %eax ## imm = 0x80000001
cmpl $1, %eax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
LBB0_6:
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB0_2:
movb $1, %al
cmpl $2, %edi
je LBB0_6
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %edi, %eax
andl $-2147483647, %eax ## imm = 0x80000001
cmpl $1, %eax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %edi, %ecx
shrl $31, %ecx
addl %edi, %ecx
sarl %ecx
andl $-2, %edi
cmpl $4, %edi
movl %ecx, %edi
jne LBB0_3
LBB0_5:
cmpl $1, %eax
setne %al
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _powerOfTwo ; -- Begin function powerOfTwo
.p2align 2
_powerOfTwo: ; @powerOfTwo
.cfi_startproc
; %bb.0:
and w8, w0, #0x80000001
cmp w8, #1
b.ne LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
cmp w0, #2
b.ne LBB0_4
; %bb.3:
mov w0, #1
ret
LBB0_4: ; =>This Inner Loop Header: Depth=1
and w8, w0, #0x80000001
cmp w8, #1
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w0, #0
cinc w9, w0, lt
and w10, w0, #0xfffffffe
asr w0, w9, #1
cmp w10, #4
b.ne LBB0_4
LBB0_6:
cmp w8, #1
cset w0, ne
ret
.cfi_endproc
; -- End function
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/195899.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wm8996_update_bclk
_wm8996_update_bclk: ## @wm8996_update_bclk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _snd_soc_component_get_drvdata
cmpl $64000, (%rax) ## imm = 0xFA00
jl LBB0_15
## %bb.1:
movq %rax, %r13
movq _WM8996_AIFS@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_15
## %bb.2:
xorl %r15d, %r15d
movq _bclk_divs@GOTPCREL(%rip), %r12
## implicit-def: $eax
## kill: killed $eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
decl %ebx
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %eax
movq (%r12), %rcx
movl %ebx, %edx
movl (%rcx,%rdx,4), %ecx
cltd
idivl %ecx
movq -56(%rbp), %r14 ## 8-byte Reload
movl (%r14), %edi
leaq L_.str(%rip), %rsi
movl %ecx, %edx
movl %eax, %ecx
callq _dev_dbg
movq _WM8996_AIF1_BCLK_DIV_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %ecx
callq _snd_soc_component_update_bits
incq %r15
movq _WM8996_AIFS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r15
jge LBB0_15
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
cmpl $1, %r15d
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
testl %r15d, %r15d
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq _WM8996_AIF1_BCLK@GOTPCREL(%rip), %rax
jmp LBB0_7
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq _WM8996_AIF2_BCLK@GOTPCREL(%rip), %rax
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r13), %rax
movl (%rax,%r15,4), %r14d
movq (%r12), %rdi
callq _ARRAY_SIZE
xorl %ebx, %ebx
testl %eax, %eax
jle LBB0_14
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movl (%r13), %eax
movq (%r12), %rdi
cltd
idivl (%rdi)
cmpl %r14d, %eax
jl LBB0_14
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movl $1, %ecx
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %rbx
callq _ARRAY_SIZE
cltq
cmpq %rax, %rbx
jge LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl (%r13), %eax
movq (%r12), %rdi
cltd
idivl (%rdi,%rbx,4)
leaq 1(%rbx), %rcx
cmpl %r14d, %eax
jge LBB0_11
jmp LBB0_13
LBB0_15:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WM8996_AIFS,4,2 ## @WM8996_AIFS
.comm _WM8996_AIF1_BCLK,4,2 ## @WM8996_AIF1_BCLK
.comm _WM8996_AIF2_BCLK,4,2 ## @WM8996_AIF2_BCLK
.comm _bclk_divs,8,3 ## @bclk_divs
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Using BCLK_DIV %d for actual BCLK %dHz\n"
.comm _WM8996_AIF1_BCLK_DIV_MASK,4,2 ## @WM8996_AIF1_BCLK_DIV_MASK
.no_dead_strip _wm8996_update_bclk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wm8996_update_bclk
_wm8996_update_bclk: ; @wm8996_update_bclk
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
bl _snd_soc_component_get_drvdata
ldr w8, [x0]
Lloh0:
adrp x24, _WM8996_AIFS@GOTPAGE
Lloh1:
ldr x24, [x24, _WM8996_AIFS@GOTPAGEOFF]
ldr w9, [x24]
mov w10, #64000
cmp w8, w10
ccmp w9, #1, #8, ge
b.ge LBB0_2
LBB0_1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_2:
mov x20, x0
mov x25, #0
Lloh2:
adrp x27, _bclk_divs@GOTPAGE
Lloh3:
ldr x27, [x27, _bclk_divs@GOTPAGEOFF]
Lloh4:
adrp x21, l_.str@PAGE
Lloh5:
add x21, x21, l_.str@PAGEOFF
Lloh6:
adrp x28, _WM8996_AIF1_BCLK_DIV_MASK@GOTPAGE
Lloh7:
ldr x28, [x28, _WM8996_AIF1_BCLK_DIV_MASK@GOTPAGEOFF]
; implicit-def: $w22
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w23, #0
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x20]
ldr x9, [x27]
ldr w2, [x9, w23, uxtw #2]
ldr w0, [x19]
sdiv w3, w8, w2
mov x1, x21
bl _dev_dbg
ldr w2, [x28]
mov x0, x19
mov x1, x22
mov x3, x23
bl _snd_soc_component_update_bits
add x25, x25, #1
ldrsw x8, [x24]
cmp x25, x8
b.ge LBB0_1
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
cmp w25, #1
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cbnz w25, LBB0_10
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
Lloh8:
adrp x8, _WM8996_AIF1_BCLK@GOTPAGE
Lloh9:
ldr x8, [x8, _WM8996_AIF1_BCLK@GOTPAGEOFF]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
Lloh10:
adrp x8, _WM8996_AIF2_BCLK@GOTPAGE
Lloh11:
ldr x8, [x8, _WM8996_AIF2_BCLK@GOTPAGEOFF]
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr w22, [x8]
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #8]
ldr w23, [x8, x25, lsl #2]
ldr x0, [x27]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_3
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x20]
ldr x0, [x27]
ldr w9, [x0]
sdiv w8, w8, w9
cmp w8, w23
b.lt LBB0_3
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
mov w8, #1
LBB0_13: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x26, x8
bl _ARRAY_SIZE
cmp x26, w0, sxtw
b.ge LBB0_15
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
ldr w8, [x20]
ldr x0, [x27]
ldr w9, [x0, x26, lsl #2]
sdiv w9, w8, w9
add x8, x26, #1
cmp w9, w23
b.ge LBB0_13
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
sub w23, w26, #1
b LBB0_4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _WM8996_AIFS,4,2 ; @WM8996_AIFS
.comm _WM8996_AIF1_BCLK,4,2 ; @WM8996_AIF1_BCLK
.comm _WM8996_AIF2_BCLK,4,2 ; @WM8996_AIF2_BCLK
.comm _bclk_divs,8,3 ; @bclk_divs
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Using BCLK_DIV %d for actual BCLK %dHz\n"
.comm _WM8996_AIF1_BCLK_DIV_MASK,4,2 ; @WM8996_AIF1_BCLK_DIV_MASK
.no_dead_strip _wm8996_update_bclk
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_wm8996.c_wm8996_update_bclk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function console_init
_console_init: ## @console_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _original_termios_settings(%rip), %rsi
xorl %edi, %edi
popq %rbp
jmp _tcgetattr ## TAILCALL
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function console_cleanup
_console_cleanup: ## @console_cleanup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _original_termios_settings(%rip), %rdx
xorl %edi, %edi
xorl %esi, %esi
popq %rbp
jmp _tcsetattr ## TAILCALL
.cfi_endproc
## -- End function
.globl _console_ansi_raw ## -- Begin function console_ansi_raw
.p2align 4, 0x90
_console_ansi_raw: ## @console_ansi_raw
.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 $88, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %esi, %esi
callq _setbuf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %esi, %esi
callq _setbuf
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %esi, %esi
callq _setbuf
leaq -88(%rbp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq _tcgetattr
movq $-385, %rax ## imm = 0xFE7F
andq -88(%rbp), %rax
orq $128, %rax
movq %rax, -88(%rbp)
andq $-393, -64(%rbp) ## imm = 0xFE77
orb $3, -80(%rbp)
movw $256, -40(%rbp) ## imm = 0x100
xorl %edi, %edi
movl $2, %esi
movq %rbx, %rdx
callq _tcsetattr
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB2_2
## %bb.1:
addq $88, %rsp
popq %rbx
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _raw_read ## -- Begin function raw_read
.p2align 4, 0x90
_raw_read: ## @raw_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 $152, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -120(%rbp), %r12
movq %r12, %rsi
callq _tcgetattr
leaq -192(%rbp), %r13
movq %r13, %rdi
callq _cfmakeraw
movl %ebx, %edi
xorl %esi, %esi
movq %r13, %rdx
callq _tcsetattr
movl %ebx, %edi
movq %r15, %rsi
movq %r14, %rdx
callq _read
movq %rax, %r14
movl %ebx, %edi
xorl %esi, %esi
movq %r12, %rdx
callq _tcsetattr
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_2
## %bb.1:
movl %r14d, %eax
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__StaticInit,regular,pure_instructions
.p2align 4, 0x90 ## -- Begin function __GLOBAL_init_65535
___GLOBAL_init_65535: ## @__GLOBAL_init_65535
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _console_cleanup(%rip), %rdi
leaq ___dso_handle(%rip), %rdx
xorl %esi, %esi
popq %rbp
jmp ___cxa_atexit ## TAILCALL
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_original_termios_settings,72,3 ## @original_termios_settings
.section __DATA,__mod_init_func,mod_init_funcs
.p2align 3
.quad _console_init
.quad ___GLOBAL_init_65535
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function console_init
_console_init: ; @console_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _original_termios_settings@PAGE
Lloh1:
add x1, x1, _original_termios_settings@PAGEOFF
mov w0, #0
b _tcgetattr
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function console_cleanup
_console_cleanup: ; @console_cleanup
.cfi_startproc
; %bb.0:
Lloh2:
adrp x2, _original_termios_settings@PAGE
Lloh3:
add x2, x2, _original_termios_settings@PAGEOFF
mov w0, #0
mov w1, #0
b _tcsetattr
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _console_ansi_raw ; -- Begin function console_ansi_raw
.p2align 2
_console_ansi_raw: ; @console_ansi_raw
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
Lloh4:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
stur x8, [x29, #-8]
Lloh7:
adrp x8, ___stdinp@GOTPAGE
Lloh8:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh9:
ldr x0, [x8]
mov x1, #0
bl _setbuf
Lloh10:
adrp x8, ___stdoutp@GOTPAGE
Lloh11:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh12:
ldr x0, [x8]
mov x1, #0
bl _setbuf
Lloh13:
adrp x8, ___stderrp@GOTPAGE
Lloh14:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh15:
ldr x0, [x8]
mov x1, #0
bl _setbuf
mov x1, sp
mov w0, #0
bl _tcgetattr
ldp x8, x9, [sp]
and x8, x8, #0xfffffffffffffe7f
orr x8, x8, #0x80
ldr x10, [sp, #24]
mov x11, #-393
and x10, x10, x11
str x10, [sp, #24]
orr x9, x9, #0x3
stp x8, x9, [sp]
mov w8, #256
strh w8, [sp, #48]
mov x2, sp
mov w0, #0
mov w1, #2
bl _tcsetattr
ldur x8, [x29, #-8]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_2
; %bb.1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB2_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.globl _raw_read ; -- Begin function raw_read
.p2align 2
_raw_read: ; @raw_read
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
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
mov x19, x2
mov x20, x1
mov x21, x0
Lloh19:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
stur x8, [x29, #-40]
add x1, sp, #80
bl _tcgetattr
add x0, sp, #8
bl _cfmakeraw
add x2, sp, #8
mov x0, x21
mov w1, #0
bl _tcsetattr
mov x0, x21
mov x1, x20
mov x2, x19
bl _read
mov x19, x0
add x2, sp, #80
mov x0, x21
mov w1, #0
bl _tcsetattr
ldur x8, [x29, #-40]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_2
; %bb.1:
mov x0, x19
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
add sp, sp, #208
ret
LBB3_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__StaticInit,regular,pure_instructions
.p2align 2 ; -- Begin function __GLOBAL_init_65535
___GLOBAL_init_65535: ; @__GLOBAL_init_65535
.cfi_startproc
; %bb.0:
Lloh25:
adrp x0, _console_cleanup@PAGE
Lloh26:
add x0, x0, _console_cleanup@PAGEOFF
Lloh27:
adrp x2, ___dso_handle@PAGE
Lloh28:
add x2, x2, ___dso_handle@PAGEOFF
mov x1, #0
b ___cxa_atexit
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_original_termios_settings,72,3 ; @original_termios_settings
.section __DATA,__mod_init_func,mod_init_funcs
.p2align 3
.quad _console_init
.quad ___GLOBAL_init_65535
.subsections_via_symbols
| the_stack_data/28355.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ngx_http_tfs_raw_fsname_encode ## -- Begin function ngx_http_tfs_raw_fsname_encode
.p2align 4, 0x90
_ngx_http_tfs_raw_fsname_encode: ## @ngx_http_tfs_raw_fsname_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
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN@GOTPCREL(%rip), %r12
movl (%r12), %r15d
leaq (,%r15,4), %rax
callq ____chkstk_darwin
movq %r14, %rdi
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
testq %rdi, %rdi
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne LBB0_4
## %bb.1:
movl %r15d, %esi
movq %r14, %rdx
callq _xor_mask
cmpl $0, (%r12)
js LBB0_4
## %bb.2:
movq _enc_table@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r14,%rcx,4), %edx
movl 4(%r14,%rcx,4), %esi
shll $16, %edx
orl $16711680, %edx ## imm = 0xFF0000
shll $8, %esi
movzwl %si, %esi
subl %esi, %edx
movl 8(%r14,%rcx,4), %esi
movl %esi, %edi
andl $192, %edi
orl %edx, %edi
movl %edx, %r8d
sarl $18, %r8d
movslq %r8d, %r8
movl (%rax,%r8,4), %r8d
movl %r8d, (%rbx)
shrl $10, %edx
andl $252, %edx
movl (%rax,%rdx), %edx
movl %edx, -4(%rbx)
shrl $4, %edi
movzbl %dil, %edx
movl (%rax,%rdx), %edx
movl %edx, (%rbx)
andl $63, %esi
movl (%rax,%rsi,4), %edx
movl %edx, 4(%rbx)
addq $3, %rcx
movslq (%r12), %rdx
addq $8, %rbx
cmpq %rdx, %rcx
jle LBB0_3
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_6
## %bb.5:
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN,4,2 ## @NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN
.comm _enc_table,8,3 ## @enc_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ngx_http_tfs_raw_fsname_encode ; -- Begin function ngx_http_tfs_raw_fsname_encode
.p2align 2
_ngx_http_tfs_raw_fsname_encode: ; @ngx_http_tfs_raw_fsname_encode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
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 x21, _NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN@GOTPAGE
Lloh4:
ldr x21, [x21, _NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN@GOTPAGEOFF]
ldr w1, [x21]
lsl x8, x1, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
cbz x0, LBB0_5
; %bb.1:
cbz x19, LBB0_5
; %bb.2:
; kill: def $w1 killed $w1 killed $x1
mov x2, x20
bl _xor_mask
ldr w8, [x21]
tbnz w8, #31, LBB0_5
; %bb.3:
mov x8, #0 ; =0x0
Lloh7:
adrp x9, _enc_table@GOTPAGE
Lloh8:
ldr x9, [x9, _enc_table@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
add x10, x20, #4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldp w11, w12, [x10, #-4]
lsl w11, w11, #16
orr w11, w11, #0xff0000
ldr w13, [x10, #4]
ubfiz w12, w12, #8, #8
sub w11, w11, w12
asr w12, w11, #18
ubfx w14, w11, #12, #6
ldr w12, [x9, w12, sxtw #2]
bfxil w11, w13, #0, #8
str w12, [x19]
ldr w12, [x9, w14, uxtw #2]
stur w12, [x19, #-4]
ubfx w11, w11, #6, #6
ldr w11, [x9, w11, uxtw #2]
str w11, [x19]
and x11, x13, #0x3f
ldr w11, [x9, x11, lsl #2]
str w11, [x19, #4]
add x8, x8, #3
ldrsw x11, [x21]
add x19, x19, #8
add x10, x10, #12
cmp x8, x11
b.le LBB0_4
LBB0_5:
ldur x8, [x29, #-40]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
sub sp, x29, #32
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN,4,2 ; @NGX_HTTP_TFS_FILE_NAME_EXCEPT_SUFFIX_LEN
.comm _enc_table,8,3 ; @enc_table
.subsections_via_symbols
| assembly_file_35853.c | assembly_dataset |
.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
movq %rsi, %r14
movl %edi, %ebx
movq _SRexpect@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _RRexpect@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _EXIT_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _exit_code@GOTPCREL(%rip), %r15
movl %eax, (%r15)
xorl %eax, %eax
callq _set_signals
movl %ebx, %edi
movq %r14, %rsi
callq _getargs
xorl %eax, %eax
callq _open_files
xorl %eax, %eax
callq _reader
xorl %eax, %eax
callq _lr0
xorl %eax, %eax
callq _lalr
xorl %eax, %eax
callq _make_parser
xorl %eax, %eax
callq _graph
xorl %eax, %eax
callq _finalize_closure
xorl %eax, %eax
callq _verbose
xorl %eax, %eax
callq _output
movl (%r15), %edi
callq _done
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SRexpect,4,2 ## @SRexpect
.comm _RRexpect,4,2 ## @RRexpect
.comm _EXIT_SUCCESS,4,2 ## @EXIT_SUCCESS
.comm _exit_code,4,2 ## @exit_code
.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 x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _SRexpect@GOTPAGE
Lloh1:
ldr x8, [x8, _SRexpect@GOTPAGEOFF]
mov w9, #-1
Lloh2:
str w9, [x8]
Lloh3:
adrp x8, _RRexpect@GOTPAGE
Lloh4:
ldr x8, [x8, _RRexpect@GOTPAGEOFF]
Lloh5:
str w9, [x8]
Lloh6:
adrp x8, _EXIT_SUCCESS@GOTPAGE
Lloh7:
ldr x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x21, _exit_code@GOTPAGE
Lloh10:
ldr x21, [x21, _exit_code@GOTPAGEOFF]
str w8, [x21]
bl _set_signals
mov x0, x20
mov x1, x19
bl _getargs
bl _open_files
bl _reader
bl _lr0
bl _lalr
bl _make_parser
bl _graph
bl _finalize_closure
bl _verbose
bl _output
ldr w0, [x21]
bl _done
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SRexpect,4,2 ; @SRexpect
.comm _RRexpect,4,2 ; @RRexpect
.comm _EXIT_SUCCESS,4,2 ; @EXIT_SUCCESS
.comm _exit_code,4,2 ; @exit_code
.subsections_via_symbols
| AnghaBench/freebsd/contrib/byacc/extr_main.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_module_enum ## -- Begin function get_module_enum
.p2align 4, 0x90
_get_module_enum: ## @get_module_enum
.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 $240, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -256(%rbp)
movq _VISITORS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -248(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -240(%rbp)
movq _REQUESTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -232(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -224(%rbp)
movq _REQUESTS_STATIC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -216(%rbp)
leaq L_.str.3(%rip), %rax
movq %rax, -208(%rbp)
movq _NOT_FOUND@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -200(%rbp)
leaq L_.str.4(%rip), %rax
movq %rax, -192(%rbp)
movq _HOSTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -184(%rbp)
leaq L_.str.5(%rip), %rax
movq %rax, -176(%rbp)
movq _OS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -168(%rbp)
leaq L_.str.6(%rip), %rax
movq %rax, -160(%rbp)
movq _BROWSERS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -152(%rbp)
leaq L_.str.7(%rip), %rax
movq %rax, -144(%rbp)
movq _VISIT_TIMES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -136(%rbp)
leaq L_.str.8(%rip), %rax
movq %rax, -128(%rbp)
movq _VIRTUAL_HOSTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -120(%rbp)
leaq L_.str.9(%rip), %rax
movq %rax, -112(%rbp)
movq _REFERRERS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -104(%rbp)
leaq L_.str.10(%rip), %rax
movq %rax, -96(%rbp)
movq _REFERRING_SITES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -88(%rbp)
leaq L_.str.11(%rip), %rax
movq %rax, -80(%rbp)
movq _KEYPHRASES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -72(%rbp)
leaq L_.str.12(%rip), %rax
movq %rax, -64(%rbp)
movq _STATUS_CODES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
leaq L_.str.13(%rip), %rax
movq %rax, -48(%rbp)
movq _REMOTE_USER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
leaq -256(%rbp), %rbx
movq %rbx, %rdi
callq _ARRAY_SIZE
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
callq _str2enum
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $240, %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 "VISITORS"
.comm _VISITORS,4,2 ## @VISITORS
L_.str.1: ## @.str.1
.asciz "REQUESTS"
.comm _REQUESTS,4,2 ## @REQUESTS
L_.str.2: ## @.str.2
.asciz "REQUESTS_STATIC"
.comm _REQUESTS_STATIC,4,2 ## @REQUESTS_STATIC
L_.str.3: ## @.str.3
.asciz "NOT_FOUND"
.comm _NOT_FOUND,4,2 ## @NOT_FOUND
L_.str.4: ## @.str.4
.asciz "HOSTS"
.comm _HOSTS,4,2 ## @HOSTS
L_.str.5: ## @.str.5
.asciz "OS"
.comm _OS,4,2 ## @OS
L_.str.6: ## @.str.6
.asciz "BROWSERS"
.comm _BROWSERS,4,2 ## @BROWSERS
L_.str.7: ## @.str.7
.asciz "VISIT_TIMES"
.comm _VISIT_TIMES,4,2 ## @VISIT_TIMES
L_.str.8: ## @.str.8
.asciz "VIRTUAL_HOSTS"
.comm _VIRTUAL_HOSTS,4,2 ## @VIRTUAL_HOSTS
L_.str.9: ## @.str.9
.asciz "REFERRERS"
.comm _REFERRERS,4,2 ## @REFERRERS
L_.str.10: ## @.str.10
.asciz "REFERRING_SITES"
.comm _REFERRING_SITES,4,2 ## @REFERRING_SITES
L_.str.11: ## @.str.11
.asciz "KEYPHRASES"
.comm _KEYPHRASES,4,2 ## @KEYPHRASES
L_.str.12: ## @.str.12
.asciz "STATUS_CODES"
.comm _STATUS_CODES,4,2 ## @STATUS_CODES
L_.str.13: ## @.str.13
.asciz "REMOTE_USER"
.comm _REMOTE_USER,4,2 ## @REMOTE_USER
.comm _GEO_LOCATION,4,2 ## @GEO_LOCATION
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_module_enum ; -- Begin function get_module_enum
.p2align 2
_get_module_enum: ; @get_module_enum
.cfi_startproc
; %bb.0:
sub sp, sp, #272
.cfi_def_cfa_offset 272
stp x20, x19, [sp, #240] ; 16-byte Folded Spill
stp x29, x30, [sp, #256] ; 16-byte Folded Spill
add x29, sp, #256
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, l_.str@PAGE
Lloh4:
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
Lloh5:
adrp x8, _VISITORS@GOTPAGE
Lloh6:
ldr x8, [x8, _VISITORS@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
adrp x9, l_.str.1@PAGE
Lloh9:
add x9, x9, l_.str.1@PAGEOFF
str w8, [sp, #16]
str x9, [sp, #24]
Lloh10:
adrp x8, _REQUESTS@GOTPAGE
Lloh11:
ldr x8, [x8, _REQUESTS@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
str w8, [sp, #32]
Lloh13:
adrp x8, l_.str.2@PAGE
Lloh14:
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #40]
Lloh15:
adrp x8, _REQUESTS_STATIC@GOTPAGE
Lloh16:
ldr x8, [x8, _REQUESTS_STATIC@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
str w8, [sp, #48]
Lloh18:
adrp x8, l_.str.3@PAGE
Lloh19:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp, #56]
Lloh20:
adrp x8, _NOT_FOUND@GOTPAGE
Lloh21:
ldr x8, [x8, _NOT_FOUND@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
str w8, [sp, #64]
Lloh23:
adrp x8, l_.str.4@PAGE
Lloh24:
add x8, x8, l_.str.4@PAGEOFF
Lloh25:
adrp x9, _HOSTS@GOTPAGE
Lloh26:
ldr x9, [x9, _HOSTS@GOTPAGEOFF]
str x8, [sp, #72]
Lloh27:
ldr w8, [x9]
str w8, [sp, #80]
Lloh28:
adrp x8, l_.str.5@PAGE
Lloh29:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp, #88]
Lloh30:
adrp x8, _OS@GOTPAGE
Lloh31:
ldr x8, [x8, _OS@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
str w8, [sp, #96]
Lloh33:
adrp x8, l_.str.6@PAGE
Lloh34:
add x8, x8, l_.str.6@PAGEOFF
str x8, [sp, #104]
Lloh35:
adrp x8, _BROWSERS@GOTPAGE
Lloh36:
ldr x8, [x8, _BROWSERS@GOTPAGEOFF]
Lloh37:
ldr w8, [x8]
Lloh38:
adrp x9, l_.str.7@PAGE
Lloh39:
add x9, x9, l_.str.7@PAGEOFF
str w8, [sp, #112]
str x9, [sp, #120]
Lloh40:
adrp x8, _VISIT_TIMES@GOTPAGE
Lloh41:
ldr x8, [x8, _VISIT_TIMES@GOTPAGEOFF]
Lloh42:
ldr w8, [x8]
str w8, [sp, #128]
Lloh43:
adrp x8, l_.str.8@PAGE
Lloh44:
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp, #136]
Lloh45:
adrp x8, _VIRTUAL_HOSTS@GOTPAGE
Lloh46:
ldr x8, [x8, _VIRTUAL_HOSTS@GOTPAGEOFF]
Lloh47:
ldr w8, [x8]
str w8, [sp, #144]
Lloh48:
adrp x8, l_.str.9@PAGE
Lloh49:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp, #152]
Lloh50:
adrp x8, _REFERRERS@GOTPAGE
Lloh51:
ldr x8, [x8, _REFERRERS@GOTPAGEOFF]
Lloh52:
ldr w8, [x8]
str w8, [sp, #160]
Lloh53:
adrp x8, l_.str.10@PAGE
Lloh54:
add x8, x8, l_.str.10@PAGEOFF
Lloh55:
adrp x9, _REFERRING_SITES@GOTPAGE
Lloh56:
ldr x9, [x9, _REFERRING_SITES@GOTPAGEOFF]
str x8, [sp, #168]
Lloh57:
ldr w8, [x9]
str w8, [sp, #176]
Lloh58:
adrp x8, l_.str.11@PAGE
Lloh59:
add x8, x8, l_.str.11@PAGEOFF
str x8, [sp, #184]
Lloh60:
adrp x8, _KEYPHRASES@GOTPAGE
Lloh61:
ldr x8, [x8, _KEYPHRASES@GOTPAGEOFF]
Lloh62:
ldr w8, [x8]
str w8, [sp, #192]
Lloh63:
adrp x8, l_.str.12@PAGE
Lloh64:
add x8, x8, l_.str.12@PAGEOFF
str x8, [sp, #200]
Lloh65:
adrp x8, _STATUS_CODES@GOTPAGE
Lloh66:
ldr x8, [x8, _STATUS_CODES@GOTPAGEOFF]
Lloh67:
ldr w8, [x8]
Lloh68:
adrp x9, l_.str.13@PAGE
Lloh69:
add x9, x9, l_.str.13@PAGEOFF
str w8, [sp, #208]
str x9, [sp, #216]
Lloh70:
adrp x8, _REMOTE_USER@GOTPAGE
Lloh71:
ldr x8, [x8, _REMOTE_USER@GOTPAGEOFF]
Lloh72:
ldr w8, [x8]
str w8, [sp, #224]
add x0, sp, #8
bl _ARRAY_SIZE
mov x1, x0
add x0, sp, #8
mov x2, x19
bl _str2enum
ldur x8, [x29, #-24]
Lloh73:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh74:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh75:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #256] ; 16-byte Folded Reload
ldp x20, x19, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #272
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VISITORS"
.comm _VISITORS,4,2 ; @VISITORS
l_.str.1: ; @.str.1
.asciz "REQUESTS"
.comm _REQUESTS,4,2 ; @REQUESTS
l_.str.2: ; @.str.2
.asciz "REQUESTS_STATIC"
.comm _REQUESTS_STATIC,4,2 ; @REQUESTS_STATIC
l_.str.3: ; @.str.3
.asciz "NOT_FOUND"
.comm _NOT_FOUND,4,2 ; @NOT_FOUND
l_.str.4: ; @.str.4
.asciz "HOSTS"
.comm _HOSTS,4,2 ; @HOSTS
l_.str.5: ; @.str.5
.asciz "OS"
.comm _OS,4,2 ; @OS
l_.str.6: ; @.str.6
.asciz "BROWSERS"
.comm _BROWSERS,4,2 ; @BROWSERS
l_.str.7: ; @.str.7
.asciz "VISIT_TIMES"
.comm _VISIT_TIMES,4,2 ; @VISIT_TIMES
l_.str.8: ; @.str.8
.asciz "VIRTUAL_HOSTS"
.comm _VIRTUAL_HOSTS,4,2 ; @VIRTUAL_HOSTS
l_.str.9: ; @.str.9
.asciz "REFERRERS"
.comm _REFERRERS,4,2 ; @REFERRERS
l_.str.10: ; @.str.10
.asciz "REFERRING_SITES"
.comm _REFERRING_SITES,4,2 ; @REFERRING_SITES
l_.str.11: ; @.str.11
.asciz "KEYPHRASES"
.comm _KEYPHRASES,4,2 ; @KEYPHRASES
l_.str.12: ; @.str.12
.asciz "STATUS_CODES"
.comm _STATUS_CODES,4,2 ; @STATUS_CODES
l_.str.13: ; @.str.13
.asciz "REMOTE_USER"
.comm _REMOTE_USER,4,2 ; @REMOTE_USER
.comm _GEO_LOCATION,4,2 ; @GEO_LOCATION
.subsections_via_symbols
| AnghaBench/goaccess/src/extr_commons.c_get_module_enum.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function subn_get_opa_sma
_subn_get_opa_sma: ## @subn_get_opa_sma
.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 %r9d, %r15d
movq %r8, %rbx
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r14
movl %edi, %r12d
movl 24(%rbp), %r13d
movq 16(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r8, %rdi
movl %r9d, %esi
callq _to_iport
addl $-128, %r12d
cmpl $17, %r12d
ja LBB0_22
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%r12,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
LBB0_5:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_sl_to_sc
jmp LBB0_24
LBB0_7:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_sc_to_vlt
jmp LBB0_24
LBB0_8:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_sc_to_vlnt
jmp LBB0_24
LBB0_6:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_sc_to_sl
jmp LBB0_24
LBB0_9:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_psi
jmp LBB0_24
LBB0_14:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_cong_setting
jmp LBB0_24
LBB0_15:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_hfi1_cong_log
jmp LBB0_24
LBB0_13:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_cong_info
jmp LBB0_24
LBB0_16:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_cc_table
jmp LBB0_24
LBB0_11:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_cable_info
jmp LBB0_24
LBB0_10:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_bct
jmp LBB0_24
LBB0_12:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_vl_arb
jmp LBB0_24
LBB0_18:
movl (%rax), %eax
movq _IB_PORT_SM_DISABLED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_20
## %bb.19:
movq _IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rcx
movq _IB_MAD_RESULT_CONSUMED@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
jmp LBB0_24
LBB0_3:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_portinfo
jmp LBB0_24
LBB0_4:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_pkeytable
jmp LBB0_24
LBB0_2:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_nodeinfo
jmp LBB0_24
LBB0_23:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_nodedesc
jmp LBB0_24
LBB0_17:
movl %r13d, (%rsp)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rbx, %rcx
movl %r15d, %r8d
movq -64(%rbp), %r9 ## 8-byte Reload
callq ___subn_get_opa_led_info
jmp LBB0_24
LBB0_20:
movq _IB_PORT_SM@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_22
## %bb.21:
movq _IB_MAD_RESULT_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_24:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
movq _IB_SMP_UNSUP_METH_ATTR@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
movq %r14, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _reply ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_6
.long L0_0_set_9
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_13
.long L0_0_set_16
.long L0_0_set_11
.long L0_0_set_10
.long L0_0_set_12
.long L0_0_set_18
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_2
.long L0_0_set_23
.long L0_0_set_17
.end_data_region
## -- End function
.comm _IB_PORT_SM_DISABLED,4,2 ## @IB_PORT_SM_DISABLED
.comm _IB_MAD_RESULT_SUCCESS,4,2 ## @IB_MAD_RESULT_SUCCESS
.comm _IB_MAD_RESULT_CONSUMED,4,2 ## @IB_MAD_RESULT_CONSUMED
.comm _IB_PORT_SM,4,2 ## @IB_PORT_SM
.comm _IB_SMP_UNSUP_METH_ATTR,4,2 ## @IB_SMP_UNSUP_METH_ATTR
.no_dead_strip _subn_get_opa_sma
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function subn_get_opa_sma
_subn_get_opa_sma: ; @subn_get_opa_sma
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x7
mov x20, x6
mov x21, x5
mov x22, x4
mov x23, x3
mov x25, x2
mov x24, x1
mov x26, x0
mov x0, x4
mov x1, x5
bl _to_iport
sub w8, w26, #128
cmp w8, #17
b.hi LBB0_24
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrh w11, [x9, x8, lsl #1]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_sl_to_sc
LBB0_3:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_sc_to_vlt
LBB0_4:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_sc_to_vlnt
LBB0_5:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_sc_to_sl
LBB0_6:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_psi
LBB0_7:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_cong_setting
LBB0_8:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_hfi1_cong_log
LBB0_9:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_cong_info
LBB0_10:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_cc_table
LBB0_11:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_cable_info
LBB0_12:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_bct
LBB0_13:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_vl_arb
LBB0_14:
ldr w8, [x0]
Lloh2:
adrp x9, _IB_PORT_SM_DISABLED@GOTPAGE
Lloh3:
ldr x9, [x9, _IB_PORT_SM_DISABLED@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_21
; %bb.15:
Lloh5:
adrp x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh6:
ldr x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
adrp x9, _IB_MAD_RESULT_CONSUMED@GOTPAGE
Lloh9:
ldr x9, [x9, _IB_MAD_RESULT_CONSUMED@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
orr w0, w9, w8
b LBB0_23
LBB0_16:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_portinfo
LBB0_17:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_pkeytable
LBB0_18:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_nodeinfo
LBB0_19:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_nodedesc
LBB0_20:
mov x0, x24
mov x1, x25
mov x2, x23
mov x3, x22
mov x4, x21
mov x5, x20
mov x6, 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 ___subn_get_opa_led_info
LBB0_21:
Lloh11:
adrp x9, _IB_PORT_SM@GOTPAGE
Lloh12:
ldr x9, [x9, _IB_PORT_SM@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_24
; %bb.22:
Lloh14:
adrp x8, _IB_MAD_RESULT_SUCCESS@GOTPAGE
Lloh15:
ldr x8, [x8, _IB_MAD_RESULT_SUCCESS@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
LBB0_23:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_24:
Lloh17:
adrp x8, _IB_SMP_UNSUP_METH_ATTR@GOTPAGE
Lloh18:
ldr x8, [x8, _IB_SMP_UNSUP_METH_ATTR@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
ldr w9, [x24]
orr w8, w9, w8
str w8, [x24]
mov x0, x24
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 _reply
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_2-LBB0_2)>>2
.short (LBB0_3-LBB0_2)>>2
.short (LBB0_4-LBB0_2)>>2
.short (LBB0_5-LBB0_2)>>2
.short (LBB0_6-LBB0_2)>>2
.short (LBB0_7-LBB0_2)>>2
.short (LBB0_8-LBB0_2)>>2
.short (LBB0_9-LBB0_2)>>2
.short (LBB0_10-LBB0_2)>>2
.short (LBB0_11-LBB0_2)>>2
.short (LBB0_12-LBB0_2)>>2
.short (LBB0_13-LBB0_2)>>2
.short (LBB0_14-LBB0_2)>>2
.short (LBB0_16-LBB0_2)>>2
.short (LBB0_17-LBB0_2)>>2
.short (LBB0_18-LBB0_2)>>2
.short (LBB0_19-LBB0_2)>>2
.short (LBB0_20-LBB0_2)>>2
; -- End function
.comm _IB_PORT_SM_DISABLED,4,2 ; @IB_PORT_SM_DISABLED
.comm _IB_MAD_RESULT_SUCCESS,4,2 ; @IB_MAD_RESULT_SUCCESS
.comm _IB_MAD_RESULT_CONSUMED,4,2 ; @IB_MAD_RESULT_CONSUMED
.comm _IB_PORT_SM,4,2 ; @IB_PORT_SM
.comm _IB_SMP_UNSUP_METH_ATTR,4,2 ; @IB_SMP_UNSUP_METH_ATTR
.no_dead_strip _subn_get_opa_sma
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c_subn_get_opa_sma.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bhnd_pmu_write_chipctrl
_bhnd_pmu_write_chipctrl: ## @bhnd_pmu_write_chipctrl
.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 _BHND_PMU_WRITE_CHIPCTRL ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _bhnd_pmu_write_chipctrl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bhnd_pmu_write_chipctrl
_bhnd_pmu_write_chipctrl: ; @bhnd_pmu_write_chipctrl
.cfi_startproc
; %bb.0:
b _BHND_PMU_WRITE_CHIPCTRL
.cfi_endproc
; -- End function
.no_dead_strip _bhnd_pmu_write_chipctrl
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bhnd/cores/pmu/extr_bhnd_pmu.h_bhnd_pmu_write_chipctrl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mem_command
_mem_command: ## @mem_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 %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
testq %rdi, %rdi
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rax
movq %rdi, %rbx
movq %rax, %rdi
callq _error_no_arg
movq %rbx, %rdi
LBB0_2:
leaq L_.str.1(%rip), %rsi
callq _strtok
movq %rax, %rbx
testq %rax, %rax
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _error
LBB0_4:
movq %rbx, %rdi
callq _parse_and_eval_address
movl %eax, %r15d
leaq L_.str.1(%rip), %rsi
xorl %edi, %edi
callq _strtok
movq %rax, %rbx
testq %rax, %rax
jne LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _error
LBB0_6:
movq %rbx, %rdi
callq _parse_and_eval_address
movl %eax, %ebx
movq _default_mem_attrib@GOTPCREL(%rip), %rax
movups (%rax), %xmm0
movaps %xmm0, -80(%rbp)
movl 16(%rax), %eax
movl %eax, -64(%rbp)
leaq L_.str.1(%rip), %rsi
xorl %edi, %edi
callq _strtok
testq %rax, %rax
je LBB0_37
## %bb.7:
movq %rax, %r14
movl %r15d, %eax
orl %ebx, %eax
testb $7, %al
sete -41(%rbp) ## 1-byte Folded Spill
testb $3, %al
sete -42(%rbp) ## 1-byte Folded Spill
movl %ebx, -56(%rbp) ## 4-byte Spill
testb $1, %bl
sete %al
movl %r15d, -60(%rbp) ## 4-byte Spill
andb %r15b, %al
movb %al, -43(%rbp) ## 1-byte Spill
movl -76(%rbp), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl -68(%rbp), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl -64(%rbp), %ebx
leaq L_.str.4(%rip), %r15
leaq L_.str.1(%rip), %r12
leaq L_.str.5(%rip), %r13
jmp LBB0_11
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_RW@GOTPCREL(%rip), %rax
LBB0_9: ## in Loop: Header=BB0_11 Depth=1
movl (%rax), %ebx
LBB0_10: ## in Loop: Header=BB0_11 Depth=1
xorl %edi, %edi
movq %r12, %rsi
callq _strtok
movq %rax, %r14
testq %rax, %rax
je LBB0_36
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_8
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
movq %r13, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_21
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.6(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_22
## %bb.14: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.7(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_23
## %bb.15: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.8(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_24
## %bb.16: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.10(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_27
## %bb.17: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.12(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_30
## %bb.18: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_34
## %bb.19: ## in Loop: Header=BB0_11 Depth=1
movq %r14, %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_35
## %bb.20: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.16(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _error
jmp LBB0_10
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_RO@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_22: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_WO@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_23: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_WIDTH_8@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_24: ## in Loop: Header=BB0_11 Depth=1
cmpb $0, -43(%rbp) ## 1-byte Folded Reload
jne LBB0_26
## %bb.25: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _error
LBB0_26: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_WIDTH_16@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_27: ## in Loop: Header=BB0_11 Depth=1
cmpb $0, -42(%rbp) ## 1-byte Folded Reload
jne LBB0_29
## %bb.28: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _error
LBB0_29: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_WIDTH_32@GOTPCREL(%rip), %rax
jmp LBB0_33
LBB0_30: ## in Loop: Header=BB0_11 Depth=1
cmpb $0, -41(%rbp) ## 1-byte Folded Reload
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_11 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _error
LBB0_32: ## in Loop: Header=BB0_11 Depth=1
movq _MEM_WIDTH_64@GOTPCREL(%rip), %rax
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_11 Depth=1
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB0_10
LBB0_34: ## in Loop: Header=BB0_11 Depth=1
movl $1, -52(%rbp) ## 4-byte Folded Spill
jmp LBB0_10
LBB0_35: ## in Loop: Header=BB0_11 Depth=1
movl $0, -52(%rbp) ## 4-byte Folded Spill
jmp LBB0_10
LBB0_36:
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, -76(%rbp)
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, -68(%rbp)
movl %ebx, -64(%rbp)
movl -60(%rbp), %r15d ## 4-byte Reload
movl -56(%rbp), %ebx ## 4-byte Reload
LBB0_37:
leaq -80(%rbp), %rdx
movl %r15d, %edi
movl %ebx, %esi
callq _create_mem_region
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No mem"
L_.str.1: ## @.str.1
.asciz " \t"
L_.str.2: ## @.str.2
.asciz "no lo address"
L_.str.3: ## @.str.3
.asciz "no hi address"
.comm _default_mem_attrib,20,2 ## @default_mem_attrib
L_.str.4: ## @.str.4
.asciz "rw"
.comm _MEM_RW,4,2 ## @MEM_RW
L_.str.5: ## @.str.5
.asciz "ro"
.comm _MEM_RO,4,2 ## @MEM_RO
L_.str.6: ## @.str.6
.asciz "wo"
.comm _MEM_WO,4,2 ## @MEM_WO
L_.str.7: ## @.str.7
.asciz "8"
.comm _MEM_WIDTH_8,4,2 ## @MEM_WIDTH_8
L_.str.8: ## @.str.8
.asciz "16"
L_.str.9: ## @.str.9
.asciz "region bounds not 16 bit aligned"
.comm _MEM_WIDTH_16,4,2 ## @MEM_WIDTH_16
L_.str.10: ## @.str.10
.asciz "32"
L_.str.11: ## @.str.11
.asciz "region bounds not 32 bit aligned"
.comm _MEM_WIDTH_32,4,2 ## @MEM_WIDTH_32
L_.str.12: ## @.str.12
.asciz "64"
L_.str.13: ## @.str.13
.asciz "region bounds not 64 bit aligned"
.comm _MEM_WIDTH_64,4,2 ## @MEM_WIDTH_64
L_.str.14: ## @.str.14
.asciz "cache"
L_.str.15: ## @.str.15
.asciz "nocache"
L_.str.16: ## @.str.16
.asciz "unknown attribute: %s"
.no_dead_strip _mem_command
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mem_command
_mem_command: ; @mem_command
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
mov x19, x0
mov x0, x8
bl _error_no_arg
mov x0, x19
LBB0_2:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _strtok
cbnz x0, LBB0_4
; %bb.3:
Lloh4:
adrp x8, l_.str.2@PAGE
Lloh5:
add x8, x8, l_.str.2@PAGEOFF
mov x19, x0
mov x0, x8
bl _error
mov x0, x19
LBB0_4:
bl _parse_and_eval_address
mov x21, x0
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
mov x0, #0 ; =0x0
bl _strtok
cbnz x0, LBB0_6
; %bb.5:
Lloh8:
adrp x8, l_.str.3@PAGE
Lloh9:
add x8, x8, l_.str.3@PAGEOFF
mov x19, x0
mov x0, x8
bl _error
mov x0, x19
LBB0_6:
bl _parse_and_eval_address
mov x20, x0
Lloh10:
adrp x8, _default_mem_attrib@GOTPAGE
Lloh11:
ldr x8, [x8, _default_mem_attrib@GOTPAGEOFF]
ldr q0, [x8]
str q0, [sp, #32]
ldr w8, [x8, #16]
str w8, [sp, #48]
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
mov x0, #0 ; =0x0
bl _strtok
cbz x0, LBB0_35
; %bb.7:
mov x27, x0
orr w8, w21, w20
tst w8, #0x7
cset w9, eq
stp w9, w21, [sp, #12] ; 8-byte Folded Spill
tst w8, #0x3
cset w9, eq
tst w20, #0x1
cset w8, eq
and w8, w21, w8
str w8, [sp, #28] ; 4-byte Folded Spill
ldr w8, [sp, #36]
stp w9, w8, [sp, #20] ; 8-byte Folded Spill
ldp w19, w28, [sp, #44]
Lloh14:
adrp x21, l_.str.4@PAGE
Lloh15:
add x21, x21, l_.str.4@PAGEOFF
Lloh16:
adrp x26, _MEM_RW@GOTPAGE
Lloh17:
ldr x26, [x26, _MEM_RW@GOTPAGEOFF]
Lloh18:
adrp x22, l_.str.1@PAGE
Lloh19:
add x22, x22, l_.str.1@PAGEOFF
Lloh20:
adrp x23, l_.str.5@PAGE
Lloh21:
add x23, x23, l_.str.5@PAGEOFF
Lloh22:
adrp x24, l_.str.6@PAGE
Lloh23:
add x24, x24, l_.str.6@PAGEOFF
Lloh24:
adrp x25, l_.str.7@PAGE
Lloh25:
add x25, x25, l_.str.7@PAGEOFF
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
ldr w28, [x26]
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
mov x0, #0 ; =0x0
mov x1, x22
bl _strtok
mov x27, x0
cbz x0, LBB0_34
LBB0_10: ; =>This Inner Loop Header: Depth=1
mov x0, x27
mov x1, x21
bl _strcmp
cbz x0, LBB0_8
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
mov x1, x23
bl _strcmp
cbz x0, LBB0_20
; %bb.12: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
mov x1, x24
bl _strcmp
cbz x0, LBB0_21
; %bb.13: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
mov x1, x25
bl _strcmp
cbz x0, LBB0_22
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
Lloh26:
adrp x1, l_.str.8@PAGE
Lloh27:
add x1, x1, l_.str.8@PAGEOFF
bl _strcmp
cbz x0, LBB0_23
; %bb.15: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
Lloh28:
adrp x1, l_.str.10@PAGE
Lloh29:
add x1, x1, l_.str.10@PAGEOFF
bl _strcmp
cbz x0, LBB0_26
; %bb.16: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
Lloh30:
adrp x1, l_.str.12@PAGE
Lloh31:
add x1, x1, l_.str.12@PAGEOFF
bl _strcmp
cbz x0, LBB0_29
; %bb.17: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
Lloh32:
adrp x1, l_.str.14@PAGE
Lloh33:
add x1, x1, l_.str.14@PAGEOFF
bl _strcmp
cbz x0, LBB0_32
; %bb.18: ; in Loop: Header=BB0_10 Depth=1
mov x0, x27
Lloh34:
adrp x1, l_.str.15@PAGE
Lloh35:
add x1, x1, l_.str.15@PAGEOFF
bl _strcmp
cbz x0, LBB0_33
; %bb.19: ; in Loop: Header=BB0_10 Depth=1
str x27, [sp]
Lloh36:
adrp x0, l_.str.16@PAGE
Lloh37:
add x0, x0, l_.str.16@PAGEOFF
bl _error
b LBB0_9
LBB0_20: ; in Loop: Header=BB0_10 Depth=1
Lloh38:
adrp x8, _MEM_RO@GOTPAGE
Lloh39:
ldr x8, [x8, _MEM_RO@GOTPAGEOFF]
Lloh40:
ldr w28, [x8]
b LBB0_9
LBB0_21: ; in Loop: Header=BB0_10 Depth=1
Lloh41:
adrp x8, _MEM_WO@GOTPAGE
Lloh42:
ldr x8, [x8, _MEM_WO@GOTPAGEOFF]
Lloh43:
ldr w28, [x8]
b LBB0_9
LBB0_22: ; in Loop: Header=BB0_10 Depth=1
Lloh44:
adrp x8, _MEM_WIDTH_8@GOTPAGE
Lloh45:
ldr x8, [x8, _MEM_WIDTH_8@GOTPAGEOFF]
Lloh46:
ldr w19, [x8]
b LBB0_9
LBB0_23: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_25
; %bb.24: ; in Loop: Header=BB0_10 Depth=1
Lloh47:
adrp x0, l_.str.9@PAGE
Lloh48:
add x0, x0, l_.str.9@PAGEOFF
bl _error
LBB0_25: ; in Loop: Header=BB0_10 Depth=1
Lloh49:
adrp x8, _MEM_WIDTH_16@GOTPAGE
Lloh50:
ldr x8, [x8, _MEM_WIDTH_16@GOTPAGEOFF]
Lloh51:
ldr w19, [x8]
b LBB0_9
LBB0_26: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_28
; %bb.27: ; in Loop: Header=BB0_10 Depth=1
Lloh52:
adrp x0, l_.str.11@PAGE
Lloh53:
add x0, x0, l_.str.11@PAGEOFF
bl _error
LBB0_28: ; in Loop: Header=BB0_10 Depth=1
Lloh54:
adrp x8, _MEM_WIDTH_32@GOTPAGE
Lloh55:
ldr x8, [x8, _MEM_WIDTH_32@GOTPAGEOFF]
Lloh56:
ldr w19, [x8]
b LBB0_9
LBB0_29: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [sp, #12] ; 4-byte Folded Reload
tbnz w8, #0, LBB0_31
; %bb.30: ; in Loop: Header=BB0_10 Depth=1
Lloh57:
adrp x0, l_.str.13@PAGE
Lloh58:
add x0, x0, l_.str.13@PAGEOFF
bl _error
LBB0_31: ; in Loop: Header=BB0_10 Depth=1
Lloh59:
adrp x8, _MEM_WIDTH_64@GOTPAGE
Lloh60:
ldr x8, [x8, _MEM_WIDTH_64@GOTPAGEOFF]
Lloh61:
ldr w19, [x8]
b LBB0_9
LBB0_32: ; in Loop: Header=BB0_10 Depth=1
mov w8, #1 ; =0x1
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB0_9
LBB0_33: ; in Loop: Header=BB0_10 Depth=1
str wzr, [sp, #24] ; 4-byte Folded Spill
b LBB0_9
LBB0_34:
ldr w8, [sp, #24] ; 4-byte Folded Reload
str w8, [sp, #36]
stp w19, w28, [sp, #44]
ldr w21, [sp, #16] ; 4-byte Folded Reload
LBB0_35:
add x2, sp, #32
mov x0, x21
mov x1, x20
bl _create_mem_region
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No mem"
l_.str.1: ; @.str.1
.asciz " \t"
l_.str.2: ; @.str.2
.asciz "no lo address"
l_.str.3: ; @.str.3
.asciz "no hi address"
.comm _default_mem_attrib,20,2 ; @default_mem_attrib
l_.str.4: ; @.str.4
.asciz "rw"
.comm _MEM_RW,4,2 ; @MEM_RW
l_.str.5: ; @.str.5
.asciz "ro"
.comm _MEM_RO,4,2 ; @MEM_RO
l_.str.6: ; @.str.6
.asciz "wo"
.comm _MEM_WO,4,2 ; @MEM_WO
l_.str.7: ; @.str.7
.asciz "8"
.comm _MEM_WIDTH_8,4,2 ; @MEM_WIDTH_8
l_.str.8: ; @.str.8
.asciz "16"
l_.str.9: ; @.str.9
.asciz "region bounds not 16 bit aligned"
.comm _MEM_WIDTH_16,4,2 ; @MEM_WIDTH_16
l_.str.10: ; @.str.10
.asciz "32"
l_.str.11: ; @.str.11
.asciz "region bounds not 32 bit aligned"
.comm _MEM_WIDTH_32,4,2 ; @MEM_WIDTH_32
l_.str.12: ; @.str.12
.asciz "64"
l_.str.13: ; @.str.13
.asciz "region bounds not 64 bit aligned"
.comm _MEM_WIDTH_64,4,2 ; @MEM_WIDTH_64
l_.str.14: ; @.str.14
.asciz "cache"
l_.str.15: ; @.str.15
.asciz "nocache"
l_.str.16: ; @.str.16
.asciz "unknown attribute: %s"
.no_dead_strip _mem_command
.subsections_via_symbols
| assembly_file_137436.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq _nondet_float
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 _nondet_float
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/167329637.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _x ## @x
_x:
.asciz "\001\000\000\000\000\000\000"
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl _x ; @x
_x:
.asciz "\001\000\000\000\000\000\000"
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.space 8
.subsections_via_symbols
| the_stack_data/882913.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mmap_rnd
_mmap_rnd: ## @mmap_rnd
.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 _current@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _PF_RANDOMIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_1
## %bb.2:
xorl %eax, %eax
callq _get_random_long
movq %rax, %rbx
movq _TIF_32BIT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _test_thread_flag
testq %rax, %rax
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $30, %eax
movl $23, %ecx
cmovel %eax, %ecx
subl %edx, %ecx
movq $-1, %rax
## kill: def $cl killed $cl killed $ecx
shlq %cl, %rax
notq %rax
andq %rbx, %rax
jmp LBB0_3
LBB0_1:
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movq (%rax), %rdx
xorl %eax, %eax
LBB0_3:
movl %edx, %ecx
shlq %cl, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _current,8,3 ## @current
.comm _PF_RANDOMIZE,4,2 ## @PF_RANDOMIZE
.comm _TIF_32BIT,4,2 ## @TIF_32BIT
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.no_dead_strip _mmap_rnd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mmap_rnd
_mmap_rnd: ; @mmap_rnd
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _current@GOTPAGE
Lloh1:
ldr x8, [x8, _current@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w8, [x8]
Lloh3:
adrp x9, _PF_RANDOMIZE@GOTPAGE
Lloh4:
ldr x9, [x9, _PF_RANDOMIZE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
bl _get_random_long
mov x19, x0
Lloh6:
adrp x8, _TIF_32BIT@GOTPAGE
Lloh7:
ldr x8, [x8, _TIF_32BIT@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _test_thread_flag
Lloh9:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh10:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
mov w9, #23
mov w10, #30
cmp x0, #0
csel x9, x10, x9, eq
sub x9, x9, x8
mov x10, #-1
lsl x9, x10, x9
bic x9, x19, x9
b LBB0_3
LBB0_2:
mov x9, #0
Lloh12:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh13:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
LBB0_3:
lsl x0, x9, x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _current,8,3 ; @current
.comm _PF_RANDOMIZE,4,2 ; @PF_RANDOMIZE
.comm _TIF_32BIT,4,2 ; @TIF_32BIT
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.no_dead_strip _mmap_rnd
.subsections_via_symbols
| AnghaBench/linux/arch/sparc/kernel/extr_sys_sparc_64.c_mmap_rnd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rmt_set_rx_filter ## -- Begin function rmt_set_rx_filter
.p2align 4, 0x90
_rmt_set_rx_filter: ## @rmt_set_rx_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movq _RMT_CHANNEL_MAX@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpq %rbx, (%rax)
seta %dil
movq _RMT_CHANNEL_ERROR_STR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ESP_ERR_INVALID_ARG@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _RMT_CHECK
movq _rmt_spinlock@GOTPCREL(%rip), %r12
movq %r12, %rdi
callq _portENTER_CRITICAL
movq _RMT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %r15d, (%rax,%rbx,8)
movl %r14d, 4(%rax,%rbx,8)
movq %r12, %rdi
callq _portEXIT_CRITICAL
movq _ESP_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RMT_CHANNEL_MAX,8,3 ## @RMT_CHANNEL_MAX
.comm _RMT_CHANNEL_ERROR_STR,4,2 ## @RMT_CHANNEL_ERROR_STR
.comm _ESP_ERR_INVALID_ARG,4,2 ## @ESP_ERR_INVALID_ARG
.comm _rmt_spinlock,4,2 ## @rmt_spinlock
.comm _RMT,8,3 ## @RMT
.comm _ESP_OK,4,2 ## @ESP_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rmt_set_rx_filter ; -- Begin function rmt_set_rx_filter
.p2align 2
_rmt_set_rx_filter: ; @rmt_set_rx_filter
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _RMT_CHANNEL_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _RMT_CHANNEL_MAX@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x0
cset w0, hi
Lloh3:
adrp x8, _RMT_CHANNEL_ERROR_STR@GOTPAGE
Lloh4:
ldr x8, [x8, _RMT_CHANNEL_ERROR_STR@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _ESP_ERR_INVALID_ARG@GOTPAGE
Lloh7:
ldr x8, [x8, _ESP_ERR_INVALID_ARG@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
bl _RMT_CHECK
Lloh9:
adrp x22, _rmt_spinlock@GOTPAGE
Lloh10:
ldr x22, [x22, _rmt_spinlock@GOTPAGEOFF]
mov x0, x22
bl _portENTER_CRITICAL
Lloh11:
adrp x8, _RMT@GOTPAGE
Lloh12:
ldr x8, [x8, _RMT@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
add x8, x8, x21, lsl #3
stp w20, w19, [x8]
mov x0, x22
bl _portEXIT_CRITICAL
Lloh14:
adrp x8, _ESP_OK@GOTPAGE
Lloh15:
ldr x8, [x8, _ESP_OK@GOTPAGEOFF]
Lloh16:
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 Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RMT_CHANNEL_MAX,8,3 ; @RMT_CHANNEL_MAX
.comm _RMT_CHANNEL_ERROR_STR,4,2 ; @RMT_CHANNEL_ERROR_STR
.comm _ESP_ERR_INVALID_ARG,4,2 ; @ESP_ERR_INVALID_ARG
.comm _rmt_spinlock,4,2 ; @rmt_spinlock
.comm _RMT,8,3 ; @RMT
.comm _ESP_OK,4,2 ; @ESP_OK
.subsections_via_symbols
| AnghaBench/esp-idf/components/driver/extr_rmt.c_rmt_set_rx_filter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaopen_stream ## -- Begin function luaopen_stream
.p2align 4, 0x90
_luaopen_stream: ## @luaopen_stream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _vlclua_stream_new@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _lua_pushcfunction
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setfield
movq _vlclua_memory_stream_new@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _lua_pushcfunction
leaq L_.str.1(%rip), %rdx
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setfield
movq _vlclua_directory_stream_new@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _lua_pushcfunction
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
movl $-2, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lua_setfield ## TAILCALL
.cfi_endproc
## -- End function
.comm _vlclua_stream_new,4,2 ## @vlclua_stream_new
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "stream"
.comm _vlclua_memory_stream_new,4,2 ## @vlclua_memory_stream_new
L_.str.1: ## @.str.1
.asciz "memory_stream"
.comm _vlclua_directory_stream_new,4,2 ## @vlclua_directory_stream_new
L_.str.2: ## @.str.2
.asciz "directory_stream"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaopen_stream ; -- Begin function luaopen_stream
.p2align 2
_luaopen_stream: ; @luaopen_stream
.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, _vlclua_stream_new@GOTPAGE
Lloh1:
ldr x8, [x8, _vlclua_stream_new@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _lua_pushcfunction
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #-2
bl _lua_setfield
Lloh5:
adrp x8, _vlclua_memory_stream_new@GOTPAGE
Lloh6:
ldr x8, [x8, _vlclua_memory_stream_new@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _lua_pushcfunction
Lloh8:
adrp x2, l_.str.1@PAGE
Lloh9:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
mov w1, #-2
bl _lua_setfield
Lloh10:
adrp x8, _vlclua_directory_stream_new@GOTPAGE
Lloh11:
ldr x8, [x8, _vlclua_directory_stream_new@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mov x0, x19
bl _lua_pushcfunction
Lloh13:
adrp x2, l_.str.2@PAGE
Lloh14:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
mov w1, #-2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_setfield
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _vlclua_stream_new,4,2 ; @vlclua_stream_new
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stream"
.comm _vlclua_memory_stream_new,4,2 ; @vlclua_memory_stream_new
l_.str.1: ; @.str.1
.asciz "memory_stream"
.comm _vlclua_directory_stream_new,4,2 ; @vlclua_directory_stream_new
l_.str.2: ; @.str.2
.asciz "directory_stream"
.subsections_via_symbols
| AnghaBench/vlc/modules/lua/libs/extr_stream.c_luaopen_stream.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function md_geninit
_md_geninit: ## @md_geninit
.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 $4, %esi
callq _pr_debug
movq _S_IRUGO@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movq _md_seq_fops@GOTPCREL(%rip), %rcx
xorl %edx, %edx
popq %rbp
jmp _proc_create ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "md: sizeof(mdp_super_t) = %d\n"
L_.str.1: ## @.str.1
.asciz "mdstat"
.comm _S_IRUGO,4,2 ## @S_IRUGO
.comm _md_seq_fops,4,2 ## @md_seq_fops
.no_dead_strip _md_geninit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function md_geninit
_md_geninit: ; @md_geninit
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov w1, #4
bl _pr_debug
Lloh2:
adrp x8, _S_IRUGO@GOTPAGE
Lloh3:
ldr x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
Lloh7:
adrp x3, _md_seq_fops@GOTPAGE
Lloh8:
ldr x3, [x3, _md_seq_fops@GOTPAGEOFF]
mov x2, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _proc_create
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "md: sizeof(mdp_super_t) = %d\n"
l_.str.1: ; @.str.1
.asciz "mdstat"
.comm _S_IRUGO,4,2 ; @S_IRUGO
.comm _md_seq_fops,4,2 ; @md_seq_fops
.no_dead_strip _md_geninit
.subsections_via_symbols
| AnghaBench/linux/drivers/md/extr_md.c_md_geninit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function event_end_dialog
_event_end_dialog: ## @event_end_dialog
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq _event_end_dialog.exitW(%rip), %rsi
movq %rbx, %rdi
callq _strcmpW
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq _event_end_dialog.retryW(%rip), %rsi
movq %rbx, %rdi
callq _strcmpW
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq _event_end_dialog.ignoreW(%rip), %rsi
movq %rbx, %rdi
callq _strcmpW
testl %eax, %eax
je LBB0_5
## %bb.6:
leaq _event_end_dialog.returnW(%rip), %rsi
movq %rbx, %rdi
callq _strcmpW
testl %eax, %eax
je LBB0_7
## %bb.8:
movq %rbx, %rdi
callq _debugstr_w
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _ERR
movq _IDABORT@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_1:
movq _IDCANCEL@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_3:
movq _IDRETRY@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_5:
movq _IDOK@GOTPCREL(%rip), %rax
LBB0_9:
movq (%rax), %rax
LBB0_10:
movq %rax, 8(%r14)
movl (%r14), %esi
movl 4(%r14), %edi
callq _event_cleanup_subscriptions
movq %r14, %rdi
callq _msi_dialog_end_dialog
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
xorl %eax, %eax
jmp LBB0_10
.cfi_endproc
## -- End function
.section __TEXT,__const
_event_end_dialog.exitW: ## @event_end_dialog.exitW
.asciz "Exit"
_event_end_dialog.retryW: ## @event_end_dialog.retryW
.asciz "Retry"
_event_end_dialog.ignoreW: ## @event_end_dialog.ignoreW
.asciz "Ignore"
_event_end_dialog.returnW: ## @event_end_dialog.returnW
.asciz "Return"
.comm _IDCANCEL,8,3 ## @IDCANCEL
.comm _IDRETRY,8,3 ## @IDRETRY
.comm _IDOK,8,3 ## @IDOK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unknown argument string %s\n"
.comm _IDABORT,8,3 ## @IDABORT
.comm _ERROR_SUCCESS,4,2 ## @ERROR_SUCCESS
.no_dead_strip _event_end_dialog
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function event_end_dialog
_event_end_dialog: ; @event_end_dialog
.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
Lloh0:
adrp x1, _event_end_dialog.exitW@PAGE
Lloh1:
add x1, x1, _event_end_dialog.exitW@PAGEOFF
mov x0, x20
bl _strcmpW
cbz w0, LBB0_5
; %bb.1:
Lloh2:
adrp x1, _event_end_dialog.retryW@PAGE
Lloh3:
add x1, x1, _event_end_dialog.retryW@PAGEOFF
mov x0, x20
bl _strcmpW
cbz w0, LBB0_6
; %bb.2:
Lloh4:
adrp x1, _event_end_dialog.ignoreW@PAGE
Lloh5:
add x1, x1, _event_end_dialog.ignoreW@PAGEOFF
mov x0, x20
bl _strcmpW
cbz w0, LBB0_7
; %bb.3:
Lloh6:
adrp x1, _event_end_dialog.returnW@PAGE
Lloh7:
add x1, x1, _event_end_dialog.returnW@PAGEOFF
mov x0, x20
bl _strcmpW
cbz w0, LBB0_10
; %bb.4:
mov x0, x20
bl _debugstr_w
mov x1, x0
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
bl _ERR
Lloh10:
adrp x8, _IDABORT@GOTPAGE
Lloh11:
ldr x8, [x8, _IDABORT@GOTPAGEOFF]
b LBB0_8
LBB0_5:
Lloh12:
adrp x8, _IDCANCEL@GOTPAGE
Lloh13:
ldr x8, [x8, _IDCANCEL@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh14:
adrp x8, _IDRETRY@GOTPAGE
Lloh15:
ldr x8, [x8, _IDRETRY@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh16:
adrp x8, _IDOK@GOTPAGE
Lloh17:
ldr x8, [x8, _IDOK@GOTPAGEOFF]
LBB0_8:
ldr x8, [x8]
LBB0_9:
str x8, [x19, #8]
ldp w1, w0, [x19]
bl _event_cleanup_subscriptions
mov x0, x19
bl _msi_dialog_end_dialog
Lloh18:
adrp x8, _ERROR_SUCCESS@GOTPAGE
Lloh19:
ldr x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_10:
mov x8, #0
b LBB0_9
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.section __TEXT,__const
_event_end_dialog.exitW: ; @event_end_dialog.exitW
.asciz "Exit"
_event_end_dialog.retryW: ; @event_end_dialog.retryW
.asciz "Retry"
_event_end_dialog.ignoreW: ; @event_end_dialog.ignoreW
.asciz "Ignore"
_event_end_dialog.returnW: ; @event_end_dialog.returnW
.asciz "Return"
.comm _IDCANCEL,8,3 ; @IDCANCEL
.comm _IDRETRY,8,3 ; @IDRETRY
.comm _IDOK,8,3 ; @IDOK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unknown argument string %s\n"
.comm _IDABORT,8,3 ; @IDABORT
.comm _ERROR_SUCCESS,4,2 ; @ERROR_SUCCESS
.no_dead_strip _event_end_dialog
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/msi/extr_dialog.c_event_end_dialog.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_remote_fileio_request
_do_remote_fileio_request: ## @do_remote_fileio_request
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq _remote_fileio_ctrl_c_signal_handler@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _remote_fileio_sig_set
incq %r12
movq %r12, %rdi
movl $44, %esi
callq _strchr
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %r14
incq %r14
movb $0, (%rax)
jmp LBB0_3
LBB0_2:
movq %r12, %rdi
callq _strlen
movq %rax, %r14
addq %r12, %r14
LBB0_3:
movq _remote_fio_func_map@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq 8(%rax), %rdi
testq %rdi, %rdi
je LBB0_9
## %bb.4:
movl $24, %ebx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r12, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
incq %r13
movq (%r15), %rcx
movq (%rcx,%rbx), %rdi
addq $16, %rbx
testq %rdi, %rdi
jne LBB0_5
jmp LBB0_8
LBB0_6:
movq (%r15), %rcx
LBB0_8:
movl %r13d, %edx
shlq $4, %rdx
cmpq $0, 8(%rcx,%rdx)
je LBB0_9
## %bb.10:
movq %r14, %rdi
callq *(%rcx,%rdx)
xorl %eax, %eax
jmp LBB0_11
LBB0_9:
movq _RETURN_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _remote_fileio_ctrl_c_signal_handler,4,2 ## @remote_fileio_ctrl_c_signal_handler
.comm _remote_fio_func_map,8,3 ## @remote_fio_func_map
.comm _RETURN_ERROR,4,2 ## @RETURN_ERROR
.no_dead_strip _do_remote_fileio_request
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_remote_fileio_request
_do_remote_fileio_request: ; @do_remote_fileio_request
.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
Lloh0:
adrp x8, _remote_fileio_ctrl_c_signal_handler@GOTPAGE
Lloh1:
ldr x8, [x8, _remote_fileio_ctrl_c_signal_handler@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _remote_fileio_sig_set
add x20, x19, #1
mov x0, x20
mov w1, #44
bl _strchr
cbz x0, LBB0_2
; %bb.1:
mov x19, x0
strb wzr, [x19], #1
b LBB0_3
LBB0_2:
mov x0, x20
bl _strlen
add x19, x20, x0
LBB0_3:
Lloh3:
adrp x22, _remote_fio_func_map@GOTPAGE
Lloh4:
ldr x22, [x22, _remote_fio_func_map@GOTPAGEOFF]
ldr x8, [x22]
ldr x0, [x8, #8]
cbz x0, LBB0_10
; %bb.4:
mov x21, #0
mov w23, #24
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x1, x20
bl _strcmp
cbz w0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x21, x21, #1
ldr x8, [x22]
ldr x0, [x8, x23]
add x23, x23, #16
cbnz x0, LBB0_5
b LBB0_8
LBB0_7:
ldr x8, [x22]
LBB0_8:
add x9, x8, w21, uxtw #4
ldr x9, [x9, #8]
cbz x9, LBB0_10
; %bb.9:
and x9, x21, #0xffffffff
lsl x9, x9, #4
ldr x8, [x8, x9]
mov x0, x19
blr x8
mov w0, #0
b LBB0_11
LBB0_10:
Lloh5:
adrp x8, _RETURN_ERROR@GOTPAGE
Lloh6:
ldr x8, [x8, _RETURN_ERROR@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _remote_fileio_ctrl_c_signal_handler,4,2 ; @remote_fileio_ctrl_c_signal_handler
.comm _remote_fio_func_map,8,3 ; @remote_fio_func_map
.comm _RETURN_ERROR,4,2 ; @RETURN_ERROR
.no_dead_strip _do_remote_fileio_request
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_do_remote_fileio_request.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_rsa_crt_fc ## -- Begin function get_rsa_crt_fc
.p2align 4, 0x90
_get_rsa_crt_fc: ## @get_rsa_crt_fc
.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
testl %eax, %eax
je LBB0_1
## %bb.2:
cmpl $128, %eax
jg LBB0_4
## %bb.3:
movq _CRT_1K@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
LBB0_4:
cmpl $256, %eax ## imm = 0x100
ja LBB0_6
## %bb.5:
movq _CRT_2K@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _CRT_4K@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
movl %eax, (%rsi)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _CRT_1K,4,2 ## @CRT_1K
.comm _CRT_2K,4,2 ## @CRT_2K
.comm _CRT_4K,4,2 ## @CRT_4K
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_rsa_crt_fc ; -- Begin function get_rsa_crt_fc
.p2align 2
_get_rsa_crt_fc: ; @get_rsa_crt_fc
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cbz w8, LBB0_3
; %bb.1:
cmp w8, #128
b.gt LBB0_4
; %bb.2:
mov w0, #0
Lloh0:
adrp x8, _CRT_1K@GOTPAGE
Lloh1:
ldr x8, [x8, _CRT_1K@GOTPAGEOFF]
b LBB0_7
LBB0_3:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
ret
LBB0_4:
cmp w8, #256
b.hi LBB0_6
; %bb.5:
mov w0, #0
Lloh5:
adrp x8, _CRT_2K@GOTPAGE
Lloh6:
ldr x8, [x8, _CRT_2K@GOTPAGEOFF]
b LBB0_7
LBB0_6:
mov w0, #0
Lloh7:
adrp x8, _CRT_4K@GOTPAGE
Lloh8:
ldr x8, [x8, _CRT_4K@GOTPAGEOFF]
LBB0_7:
ldr w8, [x8]
str w8, [x1]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _CRT_1K,4,2 ; @CRT_1K
.comm _CRT_2K,4,2 ; @CRT_2K
.comm _CRT_4K,4,2 ; @CRT_4K
.subsections_via_symbols
| AnghaBench/linux/drivers/s390/crypto/extr_zcrypt_msgtype50.c_get_rsa_crt_fc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function INIT_LIST_HEAD
_INIT_LIST_HEAD: ## @INIT_LIST_HEAD
.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, 8(%rdi)
movq %rdi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _INIT_LIST_HEAD
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function INIT_LIST_HEAD
_INIT_LIST_HEAD: ; @INIT_LIST_HEAD
.cfi_startproc
; %bb.0:
stp x0, x0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _INIT_LIST_HEAD
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_mkregtable.c_INIT_LIST_HEAD.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _b43_lo_g_init ## -- Begin function b43_lo_g_init
.p2align 4, 0x90
_b43_lo_g_init: ## @b43_lo_g_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
callq _b43_has_hardware_pctl
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _lo_read_power_vector
movq %rbx, %rdi
movl $1, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _b43_gphy_dc_lt_init ## TAILCALL
LBB0_1:
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 _b43_lo_g_init ; -- Begin function b43_lo_g_init
.p2align 2
_b43_lo_g_init: ; @b43_lo_g_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 _b43_has_hardware_pctl
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _lo_read_power_vector
mov x0, x19
mov w1, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _b43_gphy_dc_lt_init
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_lo.c_b43_lo_g_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rdma_gid_table
_rdma_gid_table: ## @rdma_gid_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq (%rax,%rsi,8), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rdma_gid_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rdma_gid_table
_rdma_gid_table: ; @rdma_gid_table
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x0, [x8, x1, lsl #3]
ret
.cfi_endproc
; -- End function
.no_dead_strip _rdma_gid_table
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/core/extr_cache.c_rdma_gid_table.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _initializeGraph ## -- Begin function initializeGraph
.p2align 4, 0x90
_initializeGraph: ## @initializeGraph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movl $16, %edi
callq _malloc
movq %rax, %rbx
movl %r14d, (%rax)
movl $0, 4(%rax)
movslq %r14d, %r14
leaq (,%r14,8), %rdi
callq _malloc
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %rax, 8(%rbx)
testl %r14d, %r14d
jle LBB0_3
## %bb.1:
movq %rax, %r15
leaq (,%r14,4), %r12
movl %r14d, %r13d
leaq (,%r13,4), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _malloc
movq %rax, (%r15,%r14,8)
movq %rax, %rdi
movq %rbx, %rsi
callq ___bzero
incq %r14
cmpq %r14, %r13
jne LBB0_2
LBB0_3:
movq -48(%rbp), %rax ## 8-byte Reload
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addEdge ## -- Begin function addEdge
.p2align 4, 0x90
_addEdge: ## @addEdge
.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
js LBB1_5
## %bb.1:
movl (%rdi), %eax
cmpl %edx, %eax
jle LBB1_5
## %bb.2:
testl %edx, %edx
jle LBB1_5
## %bb.3:
cmpl %esi, %eax
jle LBB1_5
## %bb.4:
movq 8(%rdi), %rax
movl %esi, %ecx
movq (%rax,%rcx,8), %rsi
movl %edx, %edx
movl $1, (%rsi,%rdx,4)
movq (%rax,%rdx,8), %rax
movl $1, (%rax,%rcx,4)
popq %rbp
retq
LBB1_5:
leaq L_str.1(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _removeEdge ## -- Begin function removeEdge
.p2align 4, 0x90
_removeEdge: ## @removeEdge
.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
js LBB2_5
## %bb.1:
movl (%rdi), %eax
cmpl %edx, %eax
jle LBB2_5
## %bb.2:
testl %edx, %edx
jle LBB2_5
## %bb.3:
cmpl %esi, %eax
jle LBB2_5
## %bb.4:
movq 8(%rdi), %rax
movl %esi, %ecx
movq (%rax,%rcx,8), %rsi
movl %edx, %edx
movl $0, (%rsi,%rdx,4)
movq (%rax,%rdx,8), %rax
movl $0, (%rax,%rcx,4)
popq %rbp
retq
LBB2_5:
leaq L_str.1(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _isEdge ## -- Begin function isEdge
.p2align 4, 0x90
_isEdge: ## @isEdge
.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
testl %esi, %esi
js LBB3_5
## %bb.1:
movl (%rdi), %ecx
cmpl %edx, %ecx
jle LBB3_5
## %bb.2:
testl %edx, %edx
jle LBB3_5
## %bb.3:
cmpl %esi, %ecx
jle LBB3_5
## %bb.4:
movq 8(%rdi), %rax
movl %esi, %ecx
movq (%rax,%rcx,8), %rax
movl %edx, %ecx
movl (%rax,%rcx,4), %eax
LBB3_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _deleteGraph ## -- Begin function deleteGraph
.p2align 4, 0x90
_deleteGraph: ## @deleteGraph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
cmpl $0, (%rdi)
jle LBB4_3
## %bb.1:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movq (%rax,%rbx,8), %rdi
callq _free
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB4_2
LBB4_3:
movq 8(%r14), %rdi
callq _free
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str.1: ## @str.1
.asciz "Invalid arguments"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _initializeGraph ; -- Begin function initializeGraph
.p2align 2
_initializeGraph: ; @initializeGraph
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x0
mov w0, #16
bl _malloc
mov x19, x0
stp w22, wzr, [x0]
sbfiz x0, x22, #3, #32
bl _malloc
str x0, [x19, #8]
cmp w22, #1
b.lt LBB0_3
; %bb.1:
mov x20, x0
sxtw x8, w22
lsl x21, x8, #2
mov w23, w22
lsl x22, x23, #2
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _malloc
str x0, [x20], #8
mov x1, x22
bl _bzero
subs x23, x23, #1
b.ne LBB0_2
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _addEdge ; -- Begin function addEdge
.p2align 2
_addEdge: ; @addEdge
.cfi_startproc
; %bb.0:
tbnz w1, #31, LBB1_2
; %bb.1:
ldr w8, [x0]
cmp w8, w2
ccmp w2, #1, #8, gt
ccmp w8, w1, #4, ge
b.gt LBB1_3
LBB1_2:
Lloh0:
adrp x0, l_str.1@PAGE
Lloh1:
add x0, x0, l_str.1@PAGEOFF
b _puts
LBB1_3:
ldr x8, [x0, #8]
ldr x9, [x8, w1, uxtw #3]
mov w10, #1
str w10, [x9, w2, uxtw #2]
ldr x8, [x8, w2, uxtw #3]
str w10, [x8, w1, uxtw #2]
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _removeEdge ; -- Begin function removeEdge
.p2align 2
_removeEdge: ; @removeEdge
.cfi_startproc
; %bb.0:
tbnz w1, #31, LBB2_2
; %bb.1:
ldr w8, [x0]
cmp w8, w2
ccmp w2, #1, #8, gt
ccmp w8, w1, #4, ge
b.gt LBB2_3
LBB2_2:
Lloh2:
adrp x0, l_str.1@PAGE
Lloh3:
add x0, x0, l_str.1@PAGEOFF
b _puts
LBB2_3:
ldr x8, [x0, #8]
ldr x9, [x8, w1, uxtw #3]
str wzr, [x9, w2, uxtw #2]
ldr x8, [x8, w2, uxtw #3]
str wzr, [x8, w1, uxtw #2]
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _isEdge ; -- Begin function isEdge
.p2align 2
_isEdge: ; @isEdge
.cfi_startproc
; %bb.0:
tbnz w1, #31, LBB3_2
; %bb.1:
ldr w8, [x0]
cmp w8, w2
ccmp w2, #1, #8, gt
ccmp w8, w1, #4, ge
b.gt LBB3_3
LBB3_2:
mov w0, #0
ret
LBB3_3:
ldr x8, [x0, #8]
ldr x8, [x8, w1, uxtw #3]
ldr w0, [x8, w2, uxtw #2]
ret
.cfi_endproc
; -- End function
.globl _deleteGraph ; -- Begin function deleteGraph
.p2align 2
_deleteGraph: ; @deleteGraph
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0]
cmp w8, #1
b.lt LBB4_3
; %bb.1:
mov x20, #0
LBB4_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr x0, [x8, x20, lsl #3]
bl _free
add x20, x20, #1
ldrsw x8, [x19]
cmp x20, x8
b.lt LBB4_2
LBB4_3:
ldr x0, [x19, #8]
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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str.1: ; @str.1
.asciz "Invalid arguments"
.subsections_via_symbols
| the_stack_data/263606.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_controller_start_complete ## -- Begin function is_controller_start_complete
.p2align 4, 0x90
_is_controller_start_complete: ## @is_controller_start_complete
.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, -48(%rbp) ## 8-byte Spill
movq _SCI_MAX_PHYS@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_12
## %bb.1:
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdi ## 8-byte Reload
movq 16(%rdi), %r15
leaq (%r15,%rbx), %r14
movq 8(%r15,%rbx), %r13
callq _is_port_config_apc
testq %rax, %rax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _phy_get_non_dummy_port
testl %eax, %eax
je LBB0_11
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl (%r15,%rbx), %eax
xorl %r15d, %r15d
testl %eax, %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq _SCI_PHY_INITIAL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r13
je LBB0_13
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
testl %eax, %eax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq _SCI_PHY_STOPPED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r13
je LBB0_13
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _is_phy_starting
testq %rax, %rax
jne LBB0_13
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rax
cmpq 8(%rcx), %rax
jne LBB0_13
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
incq %r12
movq _SCI_MAX_PHYS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $16, %rbx
cmpq %rax, %r12
jl LBB0_2
LBB0_12:
movl $1, %r15d
LBB0_13:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SCI_MAX_PHYS,4,2 ## @SCI_MAX_PHYS
.comm _SCI_PHY_INITIAL,8,3 ## @SCI_PHY_INITIAL
.comm _SCI_PHY_STOPPED,8,3 ## @SCI_PHY_STOPPED
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_controller_start_complete ; -- Begin function is_controller_start_complete
.p2align 2
_is_controller_start_complete: ; @is_controller_start_complete
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x21, _SCI_MAX_PHYS@GOTPAGE
Lloh1:
ldr x21, [x21, _SCI_MAX_PHYS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_10
; %bb.1:
mov x19, x0
mov x22, #0
mov x23, #0
Lloh2:
adrp x24, _SCI_PHY_INITIAL@GOTPAGE
Lloh3:
ldr x24, [x24, _SCI_PHY_INITIAL@GOTPAGEOFF]
Lloh4:
adrp x25, _SCI_PHY_STOPPED@GOTPAGE
Lloh5:
ldr x25, [x25, _SCI_PHY_STOPPED@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x27, [x19, #16]
add x20, x27, x22
ldr x26, [x20, #8]
mov x0, x19
bl _is_port_config_apc
cbnz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _phy_get_non_dummy_port
cbz w0, LBB0_9
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x27, x22]
ldr x9, [x24]
cmp w8, #0
ccmp x26, x9, #0, eq
b.eq LBB0_11
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x25]
cmp w8, #0
ccmp x26, x9, #0, eq
b.eq LBB0_11
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #1
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _is_phy_starting
cbnz x0, LBB0_11
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
ldp x8, x9, [x19]
cmp x8, x9
b.ne LBB0_11
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
add x23, x23, #1
ldrsw x8, [x21]
add x22, x22, #16
cmp x23, x8
b.lt LBB0_2
LBB0_10:
mov w0, #1
b LBB0_12
LBB0_11:
mov w0, #0
LBB0_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _SCI_MAX_PHYS,4,2 ; @SCI_MAX_PHYS
.comm _SCI_PHY_INITIAL,8,3 ; @SCI_PHY_INITIAL
.comm _SCI_PHY_STOPPED,8,3 ; @SCI_PHY_STOPPED
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/isci/extr_host.c_is_controller_start_complete.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _r(%rip), %eax
movq _a@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
addl %ecx, %eax
incl %eax
movl %eax, _r(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _r ## @r
.zerofill __DATA,__common,_r,4,2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
adrp x8, _r@PAGE
ldr w9, [x8, _r@PAGEOFF]
Lloh0:
adrp x10, _a@GOTPAGE
Lloh1:
ldr x10, [x10, _a@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
add w9, w9, w10
add w9, w9, #1
str w9, [x8, _r@PAGEOFF]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _r ; @r
.zerofill __DATA,__common,_r,4,2
.subsections_via_symbols
| the_stack_data/132953980.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl92de_resume ## -- Begin function rtl92de_resume
.p2align 4, 0x90
_rtl92de_resume: ## @rtl92de_resume
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _rtl_priv
movq _REG_MAC_PHY_CTRL_NORMAL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl (%rax), %edx
movq %rax, %rdi
popq %rbp
jmp _rtl_write_byte ## TAILCALL
.cfi_endproc
## -- End function
.comm _REG_MAC_PHY_CTRL_NORMAL,4,2 ## @REG_MAC_PHY_CTRL_NORMAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtl92de_resume ; -- Begin function rtl92de_resume
.p2align 2
_rtl92de_resume: ; @rtl92de_resume
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _rtl_priv
Lloh0:
adrp x8, _REG_MAC_PHY_CTRL_NORMAL@GOTPAGE
Lloh1:
ldr x8, [x8, _REG_MAC_PHY_CTRL_NORMAL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _rtl_write_byte
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _REG_MAC_PHY_CTRL_NORMAL,4,2 ; @REG_MAC_PHY_CTRL_NORMAL
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_hw.c_rtl92de_resume.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ReorderBufferXidSetCatalogChanges ## -- Begin function ReorderBufferXidSetCatalogChanges
.p2align 4, 0x90
_ReorderBufferXidSetCatalogChanges: ## @ReorderBufferXidSetCatalogChanges
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %r8d
movl $1, %edx
xorl %ecx, %ecx
movl $1, %r9d
callq _ReorderBufferTXNByXid
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ReorderBufferXidSetCatalogChanges ; -- Begin function ReorderBufferXidSetCatalogChanges
.p2align 2
_ReorderBufferXidSetCatalogChanges: ; @ReorderBufferXidSetCatalogChanges
.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 x4, x2
mov w19, #1
mov w2, #1
mov x3, #0
mov w5, #1
bl _ReorderBufferTXNByXid
str w19, [x0]
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/postgres/src/backend/replication/logical/extr_reorderbuffer.c_ReorderBufferXidSetCatalogChanges.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function acquireMonitor
_acquireMonitor: ## @acquireMonitor
.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 $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rdi), %edi
leaq 8(%rbx), %rsi
callq __glfwSetVideoModeWin32
movl %eax, %r14d
movl (%rbx), %edi
leaq -32(%rbp), %rsi
callq __glfwPlatformGetVideoMode
movl (%rbx), %edi
leaq -24(%rbp), %rsi
leaq -20(%rbp), %rdx
callq __glfwPlatformGetMonitorPos
movl 4(%rbx), %edi
movq _HWND_TOPMOST@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
movl -32(%rbp), %r9d
movl -28(%rbp), %r8d
movq _SWP_NOACTIVATE@GOTPCREL(%rip), %r10
movq _SWP_NOCOPYBITS@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%r10), %eax
movl %eax, (%rsp)
callq _SetWindowPos
movl (%rbx), %edi
movq %rbx, %rsi
callq __glfwInputMonitorWindowChange
movl %r14d, %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HWND_TOPMOST,4,2 ## @HWND_TOPMOST
.comm _SWP_NOACTIVATE,4,2 ## @SWP_NOACTIVATE
.comm _SWP_NOCOPYBITS,4,2 ## @SWP_NOCOPYBITS
.no_dead_strip _acquireMonitor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function acquireMonitor
_acquireMonitor: ; @acquireMonitor
.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 w0, [x0]
add x1, x19, #8
bl __glfwSetVideoModeWin32
mov x20, x0
ldr w0, [x19]
add x1, sp, #8
bl __glfwPlatformGetVideoMode
ldr w0, [x19]
add x1, sp, #4
mov x2, sp
bl __glfwPlatformGetMonitorPos
ldr w0, [x19, #4]
Lloh0:
adrp x8, _HWND_TOPMOST@GOTPAGE
Lloh1:
ldr x8, [x8, _HWND_TOPMOST@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldp w3, w2, [sp]
Lloh3:
adrp x8, _SWP_NOACTIVATE@GOTPAGE
Lloh4:
ldr x8, [x8, _SWP_NOACTIVATE@GOTPAGEOFF]
ldp w5, w4, [sp, #8]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _SWP_NOCOPYBITS@GOTPAGE
Lloh7:
ldr x9, [x9, _SWP_NOCOPYBITS@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w6, w9, w8
bl _SetWindowPos
ldr w0, [x19]
mov x1, x19
bl __glfwInputMonitorWindowChange
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _HWND_TOPMOST,4,2 ; @HWND_TOPMOST
.comm _SWP_NOACTIVATE,4,2 ; @SWP_NOACTIVATE
.comm _SWP_NOCOPYBITS,4,2 ; @SWP_NOCOPYBITS
.no_dead_strip _acquireMonitor
.subsections_via_symbols
| AnghaBench/Cinder/src/glfw/src/extr_win32_window.c_acquireMonitor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlx4_en_get_coalesce
_mlx4_en_get_coalesce: ## @mlx4_en_get_coalesce
.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 _netdev_priv
movl 40(%rax), %ecx
movl %ecx, 40(%rbx)
movl 36(%rax), %ecx
movl %ecx, 36(%rbx)
movl 32(%rax), %ecx
movl %ecx, 32(%rbx)
movups 16(%rax), %xmm0
movups %xmm0, 16(%rbx)
movups (%rax), %xmm0
movups %xmm0, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mlx4_en_get_coalesce
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlx4_en_get_coalesce
_mlx4_en_get_coalesce: ; @mlx4_en_get_coalesce
.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 _netdev_priv
ldr w8, [x0, #40]
str w8, [x19, #40]
ldr d0, [x0, #32]
str d0, [x19, #32]
ldr q0, [x0, #16]
str q0, [x19, #16]
ldr q0, [x0]
str q0, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _mlx4_en_get_coalesce
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_ethtool.c_mlx4_en_get_coalesce.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function br_mispredictib
LCPI0_0:
.quad 0x4010000000000000 ## double 4
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_br_mispredictib: ## @br_mispredictib
.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 %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, %r15
leaq L_.str(%rip), %rsi
callq _find_counter
movq %rax, -72(%rbp) ## 8-byte Spill
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
callq _find_counter
movq %rax, -64(%rbp) ## 8-byte Spill
leaq L_.str.2(%rip), %rsi
movq %r15, %rdi
callq _find_counter
movq %rax, -56(%rbp) ## 8-byte Spill
leaq L_.str.3(%rip), %rsi
movq %r15, %rdi
callq _find_counter
movq %rax, %r12
leaq L_.str.4(%rip), %rsi
movq %r15, %rdi
callq _find_counter
movq %rax, %r13
leaq L_.str.5(%rip), %rsi
movq %r15, %rdi
callq _find_counter
movq %rax, %rbx
leaq L_.str.6(%rip), %rsi
movq %r15, %rdi
callq _find_counter
movq %rax, %r14
leaq L_.str.7(%rip), %rsi
movq %r15, %rdi
callq _find_counter
cmpl $-1, -44(%rbp) ## 4-byte Folded Reload
je LBB0_1
## %bb.2:
movq -64(%rbp), %rdx ## 8-byte Reload
addq $8, %rdx
movq -56(%rbp), %rsi ## 8-byte Reload
addq $8, %rsi
addq $8, %r12
addq $8, %r13
addq $8, %rbx
addq $8, %rax
addq $8, %r14
movq -72(%rbp), %rcx ## 8-byte Reload
addq $8, %rcx
jmp LBB0_3
LBB0_1:
movq -64(%rbp), %rdx ## 8-byte Reload
movq (%rdx), %rdx
addq $-8, %rdx
movq -56(%rbp), %rsi ## 8-byte Reload
movq (%rsi), %rsi
addq $-8, %rsi
movq (%r12), %r12
addq $-8, %r12
movq (%r13), %r13
addq $-8, %r13
movq (%rbx), %rbx
addq $-8, %rbx
movq (%rax), %rax
addq $-8, %rax
movq (%r14), %r14
addq $-8, %r14
movq -72(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rcx
addq $-8, %rcx
LBB0_3:
movsd (%r14), %xmm0 ## xmm0 = mem[0],zero
movsd (%rdx), %xmm1 ## xmm1 = mem[0],zero
movsd (%rsi), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm1, %xmm2
addsd (%r12), %xmm2
addsd (%r13), %xmm2
subsd (%rbx), %xmm0
movsd LCPI0_0(%rip), %xmm3 ## xmm3 = [4.0E+0,0.0E+0]
movsd (%rax), %xmm4 ## xmm4 = mem[0],zero
mulsd %xmm3, %xmm4
addsd %xmm0, %xmm4
mulsd (%rcx), %xmm3
unpcklpd %xmm2, %xmm3 ## xmm3 = xmm3[0],xmm2[0]
unpcklpd %xmm1, %xmm4 ## xmm4 = xmm4[0],xmm1[0]
divpd %xmm3, %xmm4
movapd %xmm4, %xmm0
unpckhpd %xmm4, %xmm0 ## xmm0 = xmm0[1],xmm4[1]
mulsd %xmm4, %xmm0
leaq L_.str.8(%rip), %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_5248 ## @g_aug_volatile_5248
.p2align 2, 0x0
_g_aug_volatile_5248:
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CPU_CLK_UNHALTED.THREAD_P"
L_.str.1: ## @.str.1
.asciz "BR_MISP_RETIRED.ALL_BRANCHES"
L_.str.2: ## @.str.2
.asciz "MACHINE_CLEARS.MEMORY_ORDERING"
L_.str.3: ## @.str.3
.asciz "MACHINE_CLEARS.SMC"
L_.str.4: ## @.str.4
.asciz "MACHINE_CLEARS.MASKMOV"
L_.str.5: ## @.str.5
.asciz "UOPS_RETIRED.RETIRE_SLOTS"
L_.str.6: ## @.str.6
.asciz "UOPS_ISSUED.ANY"
L_.str.7: ## @.str.7
.asciz "INT_MISC.RECOVERY_CYCLES"
L_.str.8: ## @.str.8
.asciz "%1.3f"
.no_dead_strip _br_mispredictib
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function br_mispredictib
_br_mispredictib: ; @br_mispredictib
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x26, x1
mov x27, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _find_counter
mov x19, x0
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x27
bl _find_counter
mov x20, x0
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x27
bl _find_counter
mov x21, x0
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x27
bl _find_counter
mov x22, x0
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x27
bl _find_counter
mov x24, x0
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x27
bl _find_counter
mov x25, x0
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x27
bl _find_counter
mov x23, x0
Lloh14:
adrp x1, l_.str.7@PAGE
Lloh15:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x27
bl _find_counter
cmn w26, #1
b.eq LBB0_2
; %bb.1:
add x8, x20, #8
add x10, x21, #8
add x9, x22, #8
add x11, x24, #8
add x12, x25, #8
add x13, x0, #8
add x14, x23, #8
add x15, x19, #8
b LBB0_3
LBB0_2:
ldr x8, [x20]
sub x8, x8, #8
ldr x9, [x21]
sub x10, x9, #8
ldr x9, [x22]
sub x9, x9, #8
ldr x11, [x24]
sub x11, x11, #8
ldr x12, [x25]
sub x12, x12, #8
ldr x13, [x0]
sub x13, x13, #8
ldr x14, [x23]
sub x14, x14, #8
ldr x15, [x19]
sub x15, x15, #8
LBB0_3:
ldr d0, [x14]
ldr d1, [x8]
ldr d2, [x10]
ldr d3, [x15]
ldr d4, [x13]
ldr d5, [x12]
ldr d6, [x11]
ldr d7, [x9]
fadd d2, d1, d2
fadd d2, d2, d7
fadd d2, d6, d2
fdiv d1, d1, d2
fsub d0, d0, d5
fmov d2, #4.00000000
fmadd d0, d4, d2, d0
fmul d2, d3, d2
fdiv d0, d0, d2
fmul d0, d0, d1
Lloh16:
adrp x0, l_.str.8@PAGE
Lloh17:
add x0, x0, l_.str.8@PAGEOFF
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _printf
.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
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_5248 ; @g_aug_volatile_5248
.p2align 2, 0x0
_g_aug_volatile_5248:
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CPU_CLK_UNHALTED.THREAD_P"
l_.str.1: ; @.str.1
.asciz "BR_MISP_RETIRED.ALL_BRANCHES"
l_.str.2: ; @.str.2
.asciz "MACHINE_CLEARS.MEMORY_ORDERING"
l_.str.3: ; @.str.3
.asciz "MACHINE_CLEARS.SMC"
l_.str.4: ; @.str.4
.asciz "MACHINE_CLEARS.MASKMOV"
l_.str.5: ; @.str.5
.asciz "UOPS_RETIRED.RETIRE_SLOTS"
l_.str.6: ; @.str.6
.asciz "UOPS_ISSUED.ANY"
l_.str.7: ; @.str.7
.asciz "INT_MISC.RECOVERY_CYCLES"
l_.str.8: ; @.str.8
.asciz "%1.3f"
.no_dead_strip _br_mispredictib
.subsections_via_symbols
| assembly_file_137829.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _shell ## -- Begin function shell
.p2align 4, 0x90
_shell: ## @shell
.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 $1040, %rsp ## imm = 0x410
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %ebx
movq _id@GOTPCREL(%rip), %rax
cmpl $6, (%rax)
jne LBB0_1
## %bb.2:
movq _WINCMD@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _COMMAND@GOTPCREL(%rip), %rax
LBB0_3:
movq (%rax), %r15
leaq -36(%rbp), %r14
movq %r14, %rdi
callq _FD_ZERO
movl %ebx, %edi
movq %r14, %rsi
callq _FD_SET
xorl %edi, %edi
movq %r14, %rsi
callq _FD_SET
movq %r15, %rdi
callq _strlen
movl %ebx, %edi
movq %r15, %rsi
movl %eax, %edx
xorl %ecx, %ecx
callq _send
movl %ebx, %edi
movq %r14, %rsi
callq _FD_SET
xorl %edi, %edi
movq %r14, %rsi
callq _FD_SET
movq _FD_SETSIZE@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _select
testq %rax, %rax
jns LBB0_4
LBB0_12:
movq _REMDOWN@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _NPRINTINFO
xorl %edi, %edi
callq _exit
LBB0_4:
leaq -1072(%rbp), %r15
jmp LBB0_5
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl $30, %edi
callq _usleep
movl %ebx, %edi
movq %r14, %rsi
callq _FD_SET
xorl %edi, %edi
movq %r14, %rsi
callq _FD_SET
movl (%r12), %edi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _select
testq %rax, %rax
js LBB0_12
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movq %r14, %rsi
callq _FD_ISSET
testq %rax, %rax
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl %ebx, %edi
movq %r15, %rsi
movl $1024, %edx ## imm = 0x400
xorl %ecx, %ecx
callq _recv
testl %eax, %eax
js LBB0_13
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl $1, %edi
movq %r15, %rsi
movl %eax, %edx
callq _write
testq %rax, %rax
js LBB0_12
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
xorl %edi, %edi
movq %r14, %rsi
callq _FD_ISSET
testq %rax, %rax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
xorl %edi, %edi
movq %r15, %rsi
movl $1024, %edx ## imm = 0x400
callq _read
testl %eax, %eax
js LBB0_13
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
movl %ebx, %edi
movq %r15, %rsi
movl %eax, %edx
xorl %ecx, %ecx
callq _send
testq %rax, %rax
jns LBB0_11
jmp LBB0_12
LBB0_13:
movq _NODATA@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _NPRINTINFO
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _id,4,2 ## @id
.comm _WINCMD,8,3 ## @WINCMD
.comm _COMMAND,8,3 ## @COMMAND
.comm _FD_SETSIZE,4,2 ## @FD_SETSIZE
.comm _NODATA,4,2 ## @NODATA
.comm _REMDOWN,4,2 ## @REMDOWN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _shell ; -- Begin function shell
.p2align 2
_shell: ; @shell
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
sub sp, sp, #1040
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w27, -40
.cfi_offset w28, -48
mov x19, x0
Lloh0:
adrp x8, _id@GOTPAGE
Lloh1:
ldr x8, [x8, _id@GOTPAGEOFF]
Lloh2:
adrp x9, _WINCMD@GOTPAGE
Lloh3:
ldr x9, [x9, _WINCMD@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
adrp x10, _COMMAND@GOTPAGE
Lloh6:
ldr x10, [x10, _COMMAND@GOTPAGEOFF]
cmp w8, #6
csel x8, x9, x10, eq
ldr x20, [x8]
sub x0, x29, #36
bl _FD_ZERO
sub x1, x29, #36
mov x0, x19
bl _FD_SET
sub x1, x29, #36
mov w0, #0 ; =0x0
bl _FD_SET
mov x0, x20
bl _strlen
mov x2, x0
mov x0, x19
mov x1, x20
mov w3, #0 ; =0x0
bl _send
sub x1, x29, #36
mov x0, x19
bl _FD_SET
sub x1, x29, #36
mov w0, #0 ; =0x0
bl _FD_SET
Lloh7:
adrp x20, _FD_SETSIZE@GOTPAGE
Lloh8:
ldr x20, [x20, _FD_SETSIZE@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov w0, #30 ; =0x1e
bl _usleep
sub x1, x29, #36
mov x0, x19
bl _FD_SET
sub x1, x29, #36
mov w0, #0 ; =0x0
bl _FD_SET
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
sub x1, x29, #36
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
bl _select
tbnz x0, #63, LBB0_9
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub x1, x29, #36
mov x0, x19
bl _FD_ISSET
cbz x0, LBB0_6
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x1, sp, #12
mov x0, x19
mov w2, #1024 ; =0x400
mov w3, #0 ; =0x0
bl _recv
tbnz w0, #31, LBB0_10
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov x2, x0
add x1, sp, #12
mov w0, #1 ; =0x1
bl _write
tbnz x0, #63, LBB0_9
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
sub x1, x29, #36
mov w0, #0 ; =0x0
bl _FD_ISSET
cbz x0, LBB0_1
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
add x1, sp, #12
mov w0, #0 ; =0x0
mov w2, #1024 ; =0x400
bl _read
tbnz w0, #31, LBB0_10
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
mov x2, x0
add x1, sp, #12
mov x0, x19
mov w3, #0 ; =0x0
bl _send
tbz x0, #63, LBB0_1
LBB0_9:
Lloh9:
adrp x8, _REMDOWN@GOTPAGE
Lloh10:
ldr x8, [x8, _REMDOWN@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
bl _NPRINTINFO
mov w0, #0 ; =0x0
bl _exit
LBB0_10:
Lloh12:
adrp x8, _NODATA@GOTPAGE
Lloh13:
ldr x8, [x8, _NODATA@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _NPRINTINFO
mov w0, #1 ; =0x1
bl _exit
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _id,4,2 ; @id
.comm _WINCMD,8,3 ; @WINCMD
.comm _COMMAND,8,3 ; @COMMAND
.comm _FD_SETSIZE,4,2 ; @FD_SETSIZE
.comm _NODATA,4,2 ; @NODATA
.comm _REMDOWN,4,2 ; @REMDOWN
.subsections_via_symbols
| assembly_file_102006.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fdt_setprop_inplace_cell
_fdt_setprop_inplace_cell: ## @fdt_setprop_inplace_cell
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
movl %ecx, %edi
callq _cpu_to_fdt32
movl %eax, -28(%rbp)
leaq -28(%rbp), %rcx
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
movl $4, %r8d
callq _fdt_setprop_inplace
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fdt_setprop_inplace_cell
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fdt_setprop_inplace_cell
_fdt_setprop_inplace_cell: ; @fdt_setprop_inplace_cell
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, x3
bl _cpu_to_fdt32
str w0, [sp, #12]
add x3, sp, #12
mov x0, x21
mov x1, x20
mov x2, x19
mov w4, #4
bl _fdt_setprop_inplace
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.no_dead_strip _fdt_setprop_inplace_cell
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/scripts/dtc/libfdt/extr_libfdt.h_fdt_setprop_inplace_cell.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_cong_updated_since ## -- Begin function rds_cong_updated_since
.p2align 4, 0x90
_rds_cong_updated_since: ## @rds_cong_updated_since
.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 _rds_cong_generation@GOTPCREL(%rip), %rdi
callq _atomic_read
movq %rax, %rbx
xorl %edi, %edi
cmpq %rax, (%r14)
sete %dil
callq _likely
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jne LBB0_2
## %bb.1:
movq %rbx, (%r14)
movl $1, %eax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _rds_cong_generation,4,2 ## @rds_cong_generation
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rds_cong_updated_since ; -- Begin function rds_cong_updated_since
.p2align 2
_rds_cong_updated_since: ; @rds_cong_updated_since
.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, _rds_cong_generation@GOTPAGE
Lloh1:
ldr x0, [x0, _rds_cong_generation@GOTPAGEOFF]
bl _atomic_read
mov x20, x0
ldr x8, [x19]
cmp x8, x0
cset w0, eq
bl _likely
cbz x0, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_3
LBB0_2:
str x20, [x19]
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _rds_cong_generation,4,2 ; @rds_cong_generation
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/rds/extr_cong.c_rds_cong_updated_since.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_core_reserved_gid_free ## -- Begin function mlx5_core_reserved_gid_free
.p2align 4, 0x90
_mlx5_core_reserved_gid_free: ## @mlx5_core_reserved_gid_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
movl %r14d, %edx
callq _mlx5_core_dbg
movq %rbx, %rdi
movl %r14d, %esi
popq %rbx
popq %r14
popq %rbp
jmp _ida_simple_remove ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Freeing reserved GID %u\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlx5_core_reserved_gid_free ; -- Begin function mlx5_core_reserved_gid_free
.p2align 2
_mlx5_core_reserved_gid_free: ; @mlx5_core_reserved_gid_free
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _mlx5_core_dbg
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ida_simple_remove
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Freeing reserved GID %u\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_gid.c_mlx5_core_reserved_gid_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _h2o_url_resolve_path ## -- Begin function h2o_url_resolve_path
.p2align 4, 0x90
_h2o_url_resolve_path: ## @h2o_url_resolve_path
.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 (%rdi), %rcx
movq (%rsi), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq 8(%rbx), %rax
cmpb $47, (%rax)
jne LBB0_3
## %bb.2:
xorl %r8d, %r8d
xorl %ecx, %ecx
jmp LBB0_25
LBB0_3:
movq 8(%rdi), %rsi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpb $47, 1(%rsi,%rcx)
leaq 1(%rcx), %rcx
jne LBB0_4
## %bb.5:
movq 8(%rbx), %rax
testq %rdx, %rdx
je LBB0_22
## %bb.6:
xorl %r10d, %r10d
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_18 Depth 2
movq %r10, %r8
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_10 Depth=2
movl $2, %r10d
cmpb $47, 1(%rax,%r8)
jne LBB0_24
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
addq %r10, %r8
cmpq %rdx, %r8
je LBB0_23
LBB0_10: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $46, (%rax,%r8)
jne LBB0_24
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movq %rdx, %r9
subq %r8, %r9
cmpq $2, %r9
jb LBB0_15
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
cmpb $46, -1(%rax,%r8)
jne LBB0_8
## %bb.13: ## in Loop: Header=BB0_10 Depth=2
cmpq $2, %r9
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_10 Depth=2
cmpb $47, 2(%rax,%r8)
jne LBB0_8
jmp LBB0_16
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_10 Depth=2
movl $1, %r10d
cmpq $1, %r9
je LBB0_9
jmp LBB0_8
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
testq %rcx, %rcx
je LBB0_19
## %bb.17: ## in Loop: Header=BB0_7 Depth=1
movq %rcx, %r10
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%r10), %rcx
cmpb $47, -1(%rsi,%r10)
movq %rcx, %r10
jne LBB0_18
jmp LBB0_20
LBB0_19: ## in Loop: Header=BB0_7 Depth=1
xorl %ecx, %ecx
LBB0_20: ## in Loop: Header=BB0_7 Depth=1
xorl %r10d, %r10d
cmpq $2, %r9
sete %r10b
xorq $3, %r10
addq %r8, %r10
cmpq %rdx, %r10
jne LBB0_7
LBB0_23:
movq %rdx, %r8
jmp LBB0_24
LBB0_22:
xorl %r8d, %r8d
LBB0_24:
incq %rcx
LBB0_25:
movq %rcx, (%rdi)
addq %r8, %rax
movq (%rbx), %rsi
subq %r8, %rsi
movq %rax, %rdi
callq _h2o_iovec_init
movq %rax, (%rbx)
movq %rdx, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _h2o_url_resolve_path ; -- Begin function h2o_url_resolve_path
.p2align 2
_h2o_url_resolve_path: ; @h2o_url_resolve_path
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
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
ldr x9, [x0]
ldr x11, [x1]
cbz x11, LBB0_3
; %bb.1:
ldr x8, [x19, #8]
ldrb w10, [x8]
cmp w10, #47
b.ne LBB0_3
; %bb.2:
mov x10, #0 ; =0x0
mov x9, #0 ; =0x0
b LBB0_22
LBB0_3:
ldr x12, [x0, #8]
add x8, x12, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x8, x9]
add x9, x9, #1
cmp w10, #47
b.ne LBB0_4
; %bb.5:
ldr x8, [x19, #8]
mov x10, #0 ; =0x0
cbz x11, LBB0_21
; %bb.6:
sub x12, x12, #1
mov w13, #2 ; =0x2
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x10, x10, x14
cmp x10, x11
b.eq LBB0_20
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
add x15, x8, x10
ldrb w14, [x15]
cmp w14, #46
b.ne LBB0_21
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
sub x14, x11, x10
cmp x14, #2
b.lo LBB0_17
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
ldurb w16, [x15, #-1]
cmp w16, #46
b.ne LBB0_18
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
cmp x14, #2
b.eq LBB0_13
; %bb.12: ; in Loop: Header=BB0_8 Depth=1
ldrb w16, [x15, #2]
cmp w16, #47
b.ne LBB0_18
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
cbz x9, LBB0_16
; %bb.14: ; in Loop: Header=BB0_8 Depth=1
mov x15, x9
LBB0_15: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
sub x9, x15, #1
ldrb w16, [x12, x15]
mov x15, x9
cmp w16, #47
b.ne LBB0_15
LBB0_16: ; in Loop: Header=BB0_8 Depth=1
cmp x14, #2
cinc x14, x13, ne
add x10, x14, x10
cmp x10, x11
b.ne LBB0_8
b LBB0_20
LBB0_17: ; in Loop: Header=BB0_8 Depth=1
cmp x14, #1
b.eq LBB0_7
LBB0_18: ; in Loop: Header=BB0_8 Depth=1
ldrb w14, [x15, #1]
cmp w14, #47
b.ne LBB0_21
; %bb.19: ; in Loop: Header=BB0_8 Depth=1
mov w14, #2 ; =0x2
b LBB0_7
LBB0_20:
mov x10, x11
LBB0_21:
add x9, x9, #1
LBB0_22:
str x9, [x0]
ldr x9, [x19]
sub x1, x9, x10
add x0, x8, x10
bl _h2o_iovec_init
stp x0, x1, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_12025.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nondet_signed_int ## -- Begin function nondet_signed_int
.p2align 4, 0x90
_nondet_signed_int: ## @nondet_signed_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %ebx
movl $1, %edi
callq ___VERIFIER_assume
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl $1, %edi
callq ___VERIFIER_assume
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nondet_signed_int ; -- Begin function nondet_signed_int
.p2align 2
_nondet_signed_int: ; @nondet_signed_int
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl ___VERIFIER_nondet_int
mov x19, x0
mov w0, #1
bl ___VERIFIER_assume
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl ___VERIFIER_nondet_int
mov w0, #1
bl ___VERIFIER_assume
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/1197477.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function csv_escape
_csv_escape: ## @csv_escape
.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
testq %rsi, %rsi
je LBB0_5
## %bb.1:
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
addq %rsi, %rbx
leaq L_.str(%rip), %r15
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
incq %rax
movl %eax, %edx
subl %r12d, %edx
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %r12
callq _xo_buf_append
movq %r14, %rdi
movq %r15, %rsi
movl $1, %edx
callq _xo_buf_append
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movl $34, %esi
callq _strchr
testq %rax, %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl %ebx, %edx
subl %r12d, %edx
movq %r14, %rdi
movq %r12, %rsi
callq _xo_buf_append
xorl %r12d, %r12d
jmp LBB0_2
LBB0_5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\""
.no_dead_strip _csv_escape
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function csv_escape
_csv_escape: ; @csv_escape
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
cbz x1, LBB0_5
; %bb.1:
mov x21, x1
mov x19, x0
add x22, x1, x2
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x0, #1
sub w2, w23, w21
mov x0, x19
mov x1, x21
bl _xo_buf_append
mov x0, x19
mov x1, x20
mov w2, #1 ; =0x1
bl _xo_buf_append
mov x21, x23
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov w1, #34 ; =0x22
bl _strchr
cbnz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub w2, w22, w21
mov x0, x19
mov x1, x21
bl _xo_buf_append
mov x21, #0 ; =0x0
b LBB0_3
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\""
.no_dead_strip _csv_escape
.subsections_via_symbols
| assembly_file_65570.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function test_heightgivendpi
LCPI0_0:
.quad 0x40421b000431bde8 ## double 36.210937999999999
LCPI0_1:
.quad 0x4048240000000000 ## double 48.28125
LCPI0_2:
.quad 0x40ab288000000000 ## double 3476.25
LCPI0_3:
.quad 0x40272ccccccccccd ## double 11.5875
LCPI0_4:
.quad 0x40611b872085b185 ## double 136.86024499999999
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_test_heightgivendpi: ## @test_heightgivendpi
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq $0, -56(%rbp)
movq $0, -72(%rbp)
movq _Tahoma@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -72(%rbp), %rdx
xorl %esi, %esi
callq _GdipCreateFontFamilyFromName
movq _Ok@GOTPCREL(%rip), %r13
movl (%r13), %edi
movl %eax, %esi
callq _expect
movq -72(%rbp), %rdi
movq _FontStyleRegular@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rax, %r15
movq _UnitPixel@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -56(%rbp), %r14
movl $30, %esi
movq %r14, %r8
callq _GdipCreateFont
movl (%r13), %edi
movl %eax, %esi
callq _expect
leaq -44(%rbp), %r12
xorl %edi, %edi
movl $96, %esi
movq %r12, %rdx
callq _GdipGetFontHeightGivenDPI
movq _InvalidParameter@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
xorl %edx, %edx
callq _GdipGetFontHeightGivenDPI
movl (%rbx), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
movq %r12, %rdx
callq _GdipGetFontHeightGivenDPI
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl -44(%rbp), %edi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _expectf
movq -56(%rbp), %rdi
callq _GdipDeleteFont
movl $12345, -44(%rbp) ## imm = 0x3039
movq -72(%rbp), %rdi
movq %r15, %rbx
movl (%r15), %edx
movq _UnitWorld@GOTPCREL(%rip), %r15
movl (%r15), %ecx
movl $30, %esi
movq %r14, %r8
callq _GdipCreateFont
movl (%r13), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
leaq -60(%rbp), %rsi
callq _GdipGetFontUnit
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl (%r15), %edi
movl -60(%rbp), %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
movq %r12, %rdx
callq _GdipGetFontHeightGivenDPI
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl -44(%rbp), %edi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _expectf
movq -56(%rbp), %rdi
callq _GdipDeleteFont
movl $12345, -44(%rbp) ## imm = 0x3039
movq -72(%rbp), %rdi
movl (%rbx), %edx
movq _UnitPoint@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $30, %esi
movq %r14, %r8
movq %r14, %r15
callq _GdipCreateFont
movl (%r13), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
movq %r12, %rdx
callq _GdipGetFontHeightGivenDPI
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl -44(%rbp), %edi
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _expectf
movq -56(%rbp), %rdi
callq _GdipDeleteFont
movl $12345, -44(%rbp) ## imm = 0x3039
movq -72(%rbp), %rdi
movl (%rbx), %edx
movq %rbx, %r14
movq _UnitInch@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
movl $30, %esi
movq %r15, %r8
movq %r15, %r12
callq _GdipCreateFont
movl (%r13), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
leaq -60(%rbp), %r15
movq %r15, %rsi
callq _GdipGetFontUnit
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl (%rbx), %edi
movl -60(%rbp), %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
leaq -44(%rbp), %rdx
callq _GdipGetFontHeightGivenDPI
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl -44(%rbp), %edi
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _expectf
movq -56(%rbp), %rdi
callq _GdipDeleteFont
movl $12345, -44(%rbp) ## imm = 0x3039
movq -72(%rbp), %rdi
movl (%r14), %edx
movq _UnitDocument@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
movl $30, %esi
movq %r12, %r8
callq _GdipCreateFont
movl (%r13), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
movq %r15, %rsi
callq _GdipGetFontUnit
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl (%rbx), %edi
movl -60(%rbp), %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
leaq -44(%rbp), %rdx
callq _GdipGetFontHeightGivenDPI
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl -44(%rbp), %edi
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _expectf
movq -56(%rbp), %rdi
callq _GdipDeleteFont
movl $12345, -44(%rbp) ## imm = 0x3039
movq -72(%rbp), %rdi
movl (%r14), %edx
movq _UnitMillimeter@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
movl $30, %esi
movq %r12, %r8
callq _GdipCreateFont
movl (%r13), %edi
movl %eax, %esi
callq _expect
movq -56(%rbp), %rdi
movq %r15, %rsi
callq _GdipGetFontUnit
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl (%rbx), %edi
movl -60(%rbp), %esi
callq _expect
movq -56(%rbp), %rdi
movl $96, %esi
leaq -44(%rbp), %rdx
callq _GdipGetFontHeightGivenDPI
movl (%r13), %edi
movl %eax, %esi
callq _expect
movl -44(%rbp), %edi
movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _expectf
movq -56(%rbp), %rdi
callq _GdipDeleteFont
movq -72(%rbp), %rdi
callq _GdipDeleteFontFamily
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Tahoma,4,2 ## @Tahoma
.comm _Ok,4,2 ## @Ok
.comm _FontStyleRegular,4,2 ## @FontStyleRegular
.comm _UnitPixel,4,2 ## @UnitPixel
.comm _InvalidParameter,4,2 ## @InvalidParameter
.comm _UnitWorld,4,2 ## @UnitWorld
.comm _UnitPoint,4,2 ## @UnitPoint
.comm _UnitInch,4,2 ## @UnitInch
.comm _UnitDocument,4,2 ## @UnitDocument
.comm _UnitMillimeter,4,2 ## @UnitMillimeter
.no_dead_strip _test_heightgivendpi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_heightgivendpi
_test_heightgivendpi: ; @test_heightgivendpi
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
stp xzr, xzr, [sp, #16]
Lloh0:
adrp x8, _Tahoma@GOTPAGE
Lloh1:
ldr x8, [x8, _Tahoma@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x2, sp, #16
mov x1, #0
bl _GdipCreateFontFamilyFromName
mov x1, x0
Lloh3:
adrp x19, _Ok@GOTPAGE
Lloh4:
ldr x19, [x19, _Ok@GOTPAGEOFF]
ldr w0, [x19]
bl _expect
ldr x0, [sp, #16]
Lloh5:
adrp x20, _FontStyleRegular@GOTPAGE
Lloh6:
ldr x20, [x20, _FontStyleRegular@GOTPAGEOFF]
ldr w2, [x20]
Lloh7:
adrp x8, _UnitPixel@GOTPAGE
Lloh8:
ldr x8, [x8, _UnitPixel@GOTPAGEOFF]
Lloh9:
ldr w3, [x8]
add x4, sp, #24
mov w1, #30
bl _GdipCreateFont
mov x1, x0
ldr w0, [x19]
bl _expect
add x2, sp, #12
mov x0, #0
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
Lloh10:
adrp x21, _InvalidParameter@GOTPAGE
Lloh11:
ldr x21, [x21, _InvalidParameter@GOTPAGEOFF]
ldr w0, [x21]
bl _expect
ldr x0, [sp, #24]
mov w1, #96
mov x2, #0
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x21]
bl _expect
ldr x0, [sp, #24]
add x2, sp, #12
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [sp, #12]
mov x8, #48616
movk x8, #1073, lsl #16
movk x8, #6912, lsl #32
movk x8, #16450, lsl #48
fmov d8, x8
fmov d0, d8
bl _expectf
ldr x0, [sp, #24]
bl _GdipDeleteFont
mov w21, #12345
str w21, [sp, #12]
ldr x0, [sp, #16]
ldr w2, [x20]
Lloh12:
adrp x22, _UnitWorld@GOTPAGE
Lloh13:
ldr x22, [x22, _UnitWorld@GOTPAGEOFF]
ldr w3, [x22]
add x4, sp, #24
mov w1, #30
bl _GdipCreateFont
mov x1, x0
ldr w0, [x19]
bl _expect
ldr x0, [sp, #24]
add x1, sp, #8
bl _GdipGetFontUnit
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [x22]
ldr w1, [sp, #8]
bl _expect
ldr x0, [sp, #24]
add x2, sp, #12
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [sp, #12]
fmov d0, d8
bl _expectf
ldr x0, [sp, #24]
bl _GdipDeleteFont
str w21, [sp, #12]
ldr x0, [sp, #16]
ldr w2, [x20]
Lloh14:
adrp x8, _UnitPoint@GOTPAGE
Lloh15:
ldr x8, [x8, _UnitPoint@GOTPAGEOFF]
Lloh16:
ldr w3, [x8]
add x4, sp, #24
mov w1, #30
bl _GdipCreateFont
mov x1, x0
ldr w0, [x19]
bl _expect
ldr x0, [sp, #24]
add x2, sp, #12
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [sp, #12]
mov x8, #39582418599936
movk x8, #16456, lsl #48
fmov d0, x8
bl _expectf
ldr x0, [sp, #24]
bl _GdipDeleteFont
str w21, [sp, #12]
ldr x0, [sp, #16]
ldr w2, [x20]
Lloh17:
adrp x22, _UnitInch@GOTPAGE
Lloh18:
ldr x22, [x22, _UnitInch@GOTPAGEOFF]
ldr w3, [x22]
add x4, sp, #24
mov w1, #30
bl _GdipCreateFont
mov x1, x0
ldr w0, [x19]
bl _expect
ldr x0, [sp, #24]
add x1, sp, #8
bl _GdipGetFontUnit
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [x22]
ldr w1, [sp, #8]
bl _expect
ldr x0, [sp, #24]
add x2, sp, #12
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [sp, #12]
mov x8, #44530220924928
movk x8, #16555, lsl #48
fmov d0, x8
bl _expectf
ldr x0, [sp, #24]
bl _GdipDeleteFont
str w21, [sp, #12]
ldr x0, [sp, #16]
ldr w2, [x20]
Lloh19:
adrp x22, _UnitDocument@GOTPAGE
Lloh20:
ldr x22, [x22, _UnitDocument@GOTPAGEOFF]
ldr w3, [x22]
add x4, sp, #24
mov w1, #30
bl _GdipCreateFont
mov x1, x0
ldr w0, [x19]
bl _expect
ldr x0, [sp, #24]
add x1, sp, #8
bl _GdipGetFontUnit
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [x22]
ldr w1, [sp, #8]
bl _expect
ldr x0, [sp, #24]
add x2, sp, #12
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [sp, #12]
mov x8, #52429
movk x8, #52428, lsl #16
movk x8, #11468, lsl #32
movk x8, #16423, lsl #48
fmov d0, x8
bl _expectf
ldr x0, [sp, #24]
bl _GdipDeleteFont
str w21, [sp, #12]
ldr x0, [sp, #16]
ldr w2, [x20]
Lloh21:
adrp x20, _UnitMillimeter@GOTPAGE
Lloh22:
ldr x20, [x20, _UnitMillimeter@GOTPAGEOFF]
ldr w3, [x20]
add x4, sp, #24
mov w1, #30
bl _GdipCreateFont
mov x1, x0
ldr w0, [x19]
bl _expect
ldr x0, [sp, #24]
add x1, sp, #8
bl _GdipGetFontUnit
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [x20]
ldr w1, [sp, #8]
bl _expect
ldr x0, [sp, #24]
add x2, sp, #12
mov w1, #96
bl _GdipGetFontHeightGivenDPI
mov x1, x0
ldr w0, [x19]
bl _expect
ldr w0, [sp, #12]
mov x8, #45445
movk x8, #8325, lsl #16
movk x8, #7047, lsl #32
movk x8, #16481, lsl #48
fmov d0, x8
bl _expectf
ldr x0, [sp, #24]
bl _GdipDeleteFont
ldr x0, [sp, #16]
bl _GdipDeleteFontFamily
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 d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Tahoma,4,2 ; @Tahoma
.comm _Ok,4,2 ; @Ok
.comm _FontStyleRegular,4,2 ; @FontStyleRegular
.comm _UnitPixel,4,2 ; @UnitPixel
.comm _InvalidParameter,4,2 ; @InvalidParameter
.comm _UnitWorld,4,2 ; @UnitWorld
.comm _UnitPoint,4,2 ; @UnitPoint
.comm _UnitInch,4,2 ; @UnitInch
.comm _UnitDocument,4,2 ; @UnitDocument
.comm _UnitMillimeter,4,2 ; @UnitMillimeter
.no_dead_strip _test_heightgivendpi
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_font.c_test_heightgivendpi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wlp_neighbors_release
_wlp_neighbors_release: ## @wlp_neighbors_release
.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 _mutex_lock
movq %rbx, %rdi
callq ___wlp_neighbors_release
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _mutex_unlock ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _wlp_neighbors_release
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wlp_neighbors_release
_wlp_neighbors_release: ; @wlp_neighbors_release
.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 _mutex_lock
mov x0, x19
bl ___wlp_neighbors_release
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _mutex_unlock
.cfi_endproc
; -- End function
.no_dead_strip _wlp_neighbors_release
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/uwb/wlp/extr_wlp-lc.c_wlp_neighbors_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_redact
_test_redact: ## @test_redact
.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, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %eax, %eax
callq _fnvlist_alloc
movq %rax, %r12
xorl %eax, %eax
callq _fnvlist_alloc
movq %rax, %r13
movq _MAXNAMELEN@GOTPCREL(%rip), %rax
movl (%rax), %ebx
addl $32, %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
movq %r12, %rdi
callq _fnvlist_add_string
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _fnvlist_add_boolean
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
movq %r13, %rdx
callq _fnvlist_add_nvlist
movq _ZFS_IOC_REDACT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _IOC_INPUT_TEST
movq %r13, %rdi
callq _nvlist_free
movq %r12, %rdi
callq _nvlist_free
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _strlcpy
movq %r14, %rdi
movl $64, %esi
callq _strchr
movb $0, (%rax)
movq %r14, %rdi
callq _strlen
subq %rax, %rbx
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq _strlcat
movq %r14, %rdi
callq _zfs_destroy
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAXNAMELEN,4,2 ## @MAXNAMELEN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bookname"
L_.str.1: ## @.str.1
.asciz "testbookmark"
L_.str.2: ## @.str.2
.asciz "snapnv"
.comm _ZFS_IOC_REDACT,4,2 ## @ZFS_IOC_REDACT
L_.str.3: ## @.str.3
.asciz "#testbookmark"
.no_dead_strip _test_redact
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_redact
_test_redact: ; @test_redact
.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 x22, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
bl _fnvlist_alloc
mov x23, x0
bl _fnvlist_alloc
mov x24, x0
Lloh3:
adrp x8, _MAXNAMELEN@GOTPAGE
Lloh4:
ldr x8, [x8, _MAXNAMELEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
add w20, w8, #32
mov x9, x20
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x20, #15
and x9, x9, #0x1fffffff0
sub x19, x8, x9
mov sp, x19
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x23
bl _fnvlist_add_string
mov x0, x24
mov x1, x22
bl _fnvlist_add_boolean
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x23
mov x2, x24
bl _fnvlist_add_nvlist
Lloh14:
adrp x8, _ZFS_IOC_REDACT@GOTPAGE
Lloh15:
ldr x8, [x8, _ZFS_IOC_REDACT@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
mov x1, x21
mov x2, x23
mov x3, #0
mov w4, #0
bl _IOC_INPUT_TEST
mov x0, x24
bl _nvlist_free
mov x0, x23
bl _nvlist_free
mov x0, x19
mov x1, x21
mov x2, x20
bl _strlcpy
mov x0, x19
mov w1, #64
bl _strchr
strb wzr, [x0]
mov x0, x19
bl _strlen
sub x2, x20, x0
Lloh17:
adrp x1, l_.str.3@PAGE
Lloh18:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _strlcat
mov x0, x19
bl _zfs_destroy
ldur x8, [x29, #-56]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
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_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MAXNAMELEN,4,2 ; @MAXNAMELEN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "bookname"
l_.str.1: ; @.str.1
.asciz "testbookmark"
l_.str.2: ; @.str.2
.asciz "snapnv"
.comm _ZFS_IOC_REDACT,4,2 ; @ZFS_IOC_REDACT
l_.str.3: ; @.str.3
.asciz "#testbookmark"
.no_dead_strip _test_redact
.subsections_via_symbols
| AnghaBench/zfs/tests/zfs-tests/cmd/libzfs_input_check/extr_libzfs_input_check.c_test_redact.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function writefile
_writefile: ## @writefile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %r15
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.2:
addq $8, %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rsi
callq _fputs
testq %rax, %rax
js LBB0_4
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq -8(%rbx), %rdi
callq _free
movq (%rbx), %rdi
addq $8, %rbx
testq %rdi, %rdi
jne LBB0_3
LBB0_8:
movq %r15, %rdi
callq _fclose
testq %rax, %rax
jne LBB0_4
## %bb.9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
leaq L_.str.2(%rip), %rdi
LBB0_6:
movq %r14, %rsi
callq _pg_log_error
movl $1, %edi
callq _exit
LBB0_5:
leaq L_.str.1(%rip), %rdi
jmp LBB0_6
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "w"
L_.str.1: ## @.str.1
.asciz "could not open file \"%s\" for writing: %m"
L_.str.2: ## @.str.2
.asciz "could not write file \"%s\": %m"
.no_dead_strip _writefile
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function writefile
_writefile: ; @writefile
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fopen
cbz x0, LBB0_9
; %bb.1:
mov x20, x0
ldr x0, [x21]
cbz x0, LBB0_5
; %bb.2:
add x21, x21, #8
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x1, x20
bl _fputs
tbnz x0, #63, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldur x0, [x21, #-8]
bl _free
ldr x0, [x21], #8
cbnz x0, LBB0_3
LBB0_5:
mov x0, x20
bl _fclose
cbnz x0, LBB0_7
; %bb.6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_7:
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
LBB0_8:
mov x1, x19
bl _pg_log_error
mov w0, #1
bl _exit
LBB0_9:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_8
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "w"
l_.str.1: ; @.str.1
.asciz "could not open file \"%s\" for writing: %m"
l_.str.2: ; @.str.2
.asciz "could not write file \"%s\": %m"
.no_dead_strip _writefile
.subsections_via_symbols
| AnghaBench/postgres/src/bin/initdb/extr_initdb.c_writefile.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _httpd_resp_send_err ## -- Begin function httpd_resp_send_err
.p2align 4, 0x90
_httpd_resp_send_err: ## @httpd_resp_send_err
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
addl $-128, %esi
cmpl $9, %esi
ja LBB0_1
## %bb.2:
movl %esi, %eax
leaq l_switch.table.httpd_resp_send_err.rel(%rip), %rcx
movslq (%rcx,%rax,4), %r14
addq %rcx, %r14
leaq l_switch.table.httpd_resp_send_err.21.rel(%rip), %rcx
movslq (%rcx,%rax,4), %r15
addq %rcx, %r15
jmp LBB0_3
LBB0_1:
leaq L_.str.18(%rip), %r15
leaq L_.str.19(%rip), %r14
LBB0_3:
testq %rdx, %rdx
cmovneq %rdx, %r14
movq _TAG@GOTPCREL(%rip), %rax
movl (%rax), %r12d
leaq L_.str.20(%rip), %rdi
callq _LOG_FMT
movl %r12d, %edi
movl %eax, %esi
movq %r15, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq _ESP_LOGW
movq %rbx, %rdi
movq %r15, %rsi
callq _httpd_resp_set_status
movq _HTTPD_TYPE_TEXT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _httpd_resp_set_type
movq %r14, %rdi
callq _strlen
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _httpd_resp_send ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "501 Method Not Implemented"
L_.str.1: ## @.str.1
.asciz "Request method is not supported by server"
L_.str.2: ## @.str.2
.asciz "505 Version Not Supported"
L_.str.3: ## @.str.3
.asciz "HTTP version not supported by server"
L_.str.4: ## @.str.4
.asciz "400 Bad Request"
L_.str.5: ## @.str.5
.asciz "Server unable to understand request due to invalid syntax"
L_.str.6: ## @.str.6
.asciz "404 Not Found"
L_.str.7: ## @.str.7
.asciz "This URI does not exist"
L_.str.8: ## @.str.8
.asciz "405 Method Not Allowed"
L_.str.9: ## @.str.9
.asciz "Request method for this URI is not handled by server"
L_.str.10: ## @.str.10
.asciz "408 Request Timeout"
L_.str.11: ## @.str.11
.asciz "Server closed this connection"
L_.str.12: ## @.str.12
.asciz "414 URI Too Long"
L_.str.13: ## @.str.13
.asciz "URI is too long for server to interpret"
L_.str.14: ## @.str.14
.asciz "411 Length Required"
L_.str.15: ## @.str.15
.asciz "Chunked encoding not supported by server"
L_.str.16: ## @.str.16
.asciz "431 Request Header Fields Too Large"
L_.str.17: ## @.str.17
.asciz "Header fields are too long for server to interpret"
L_.str.18: ## @.str.18
.asciz "500 Internal Server Error"
L_.str.19: ## @.str.19
.asciz "Server has encountered an unexpected error"
.comm _TAG,4,2 ## @TAG
L_.str.20: ## @.str.20
.asciz "%s + %s"
.comm _HTTPD_TYPE_TEXT,4,2 ## @HTTPD_TYPE_TEXT
.comm _ESP_ERR_INVALID_STATE,4,2 ## @ESP_ERR_INVALID_STATE
.comm _IPPROTO_TCP,4,2 ## @IPPROTO_TCP
.comm _TCP_NODELAY,4,2 ## @TCP_NODELAY
.comm _errno,4,2 ## @errno
.section __TEXT,__const
.p2align 2, 0x0 ## @switch.table.httpd_resp_send_err.rel
l_switch.table.httpd_resp_send_err.rel:
.long L_.str.3-l_switch.table.httpd_resp_send_err.rel
.long L_.str.1-l_switch.table.httpd_resp_send_err.rel
.long L_.str.19-l_switch.table.httpd_resp_send_err.rel
.long L_.str.17-l_switch.table.httpd_resp_send_err.rel
.long L_.str.13-l_switch.table.httpd_resp_send_err.rel
.long L_.str.15-l_switch.table.httpd_resp_send_err.rel
.long L_.str.11-l_switch.table.httpd_resp_send_err.rel
.long L_.str.9-l_switch.table.httpd_resp_send_err.rel
.long L_.str.7-l_switch.table.httpd_resp_send_err.rel
.long L_.str.5-l_switch.table.httpd_resp_send_err.rel
.p2align 2, 0x0 ## @switch.table.httpd_resp_send_err.21.rel
l_switch.table.httpd_resp_send_err.21.rel:
.long L_.str.2-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.18-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.16-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.12-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.14-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.10-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.8-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.6-l_switch.table.httpd_resp_send_err.21.rel
.long L_.str.4-l_switch.table.httpd_resp_send_err.21.rel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _httpd_resp_send_err ; -- Begin function httpd_resp_send_err
.p2align 2
_httpd_resp_send_err: ; @httpd_resp_send_err
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
sub w9, w1, #128
cmp w9, #9
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_switch.table.httpd_resp_send_err@PAGE
Lloh1:
add x8, x8, l_switch.table.httpd_resp_send_err@PAGEOFF
ldr x8, [x8, w9, uxtw #3]
Lloh2:
adrp x10, l_switch.table.httpd_resp_send_err.21@PAGE
Lloh3:
add x10, x10, l_switch.table.httpd_resp_send_err.21@PAGEOFF
ldr x20, [x10, w9, uxtw #3]
b LBB0_3
LBB0_2:
Lloh4:
adrp x20, l_.str.18@PAGE
Lloh5:
add x20, x20, l_.str.18@PAGEOFF
Lloh6:
adrp x8, l_.str.19@PAGE
Lloh7:
add x8, x8, l_.str.19@PAGEOFF
LBB0_3:
cmp x2, #0
csel x21, x8, x2, eq
Lloh8:
adrp x8, _TAG@GOTPAGE
Lloh9:
ldr x8, [x8, _TAG@GOTPAGEOFF]
Lloh10:
ldr w22, [x8]
Lloh11:
adrp x0, l_.str.20@PAGE
Lloh12:
add x0, x0, l_.str.20@PAGEOFF
bl _LOG_FMT
mov x1, x0
str x21, [sp]
mov x0, x22
mov x2, x20
bl _ESP_LOGW
mov x0, x19
mov x1, x20
bl _httpd_resp_set_status
Lloh13:
adrp x8, _HTTPD_TYPE_TEXT@GOTPAGE
Lloh14:
ldr x8, [x8, _HTTPD_TYPE_TEXT@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
mov x0, x19
bl _httpd_resp_set_type
mov x0, x21
bl _strlen
mov x2, x0
mov x0, x19
mov x1, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _httpd_resp_send
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "501 Method Not Implemented"
l_.str.1: ; @.str.1
.asciz "Request method is not supported by server"
l_.str.2: ; @.str.2
.asciz "505 Version Not Supported"
l_.str.3: ; @.str.3
.asciz "HTTP version not supported by server"
l_.str.4: ; @.str.4
.asciz "400 Bad Request"
l_.str.5: ; @.str.5
.asciz "Server unable to understand request due to invalid syntax"
l_.str.6: ; @.str.6
.asciz "404 Not Found"
l_.str.7: ; @.str.7
.asciz "This URI does not exist"
l_.str.8: ; @.str.8
.asciz "405 Method Not Allowed"
l_.str.9: ; @.str.9
.asciz "Request method for this URI is not handled by server"
l_.str.10: ; @.str.10
.asciz "408 Request Timeout"
l_.str.11: ; @.str.11
.asciz "Server closed this connection"
l_.str.12: ; @.str.12
.asciz "414 URI Too Long"
l_.str.13: ; @.str.13
.asciz "URI is too long for server to interpret"
l_.str.14: ; @.str.14
.asciz "411 Length Required"
l_.str.15: ; @.str.15
.asciz "Chunked encoding not supported by server"
l_.str.16: ; @.str.16
.asciz "431 Request Header Fields Too Large"
l_.str.17: ; @.str.17
.asciz "Header fields are too long for server to interpret"
l_.str.18: ; @.str.18
.asciz "500 Internal Server Error"
l_.str.19: ; @.str.19
.asciz "Server has encountered an unexpected error"
.comm _TAG,4,2 ; @TAG
l_.str.20: ; @.str.20
.asciz "%s + %s"
.comm _HTTPD_TYPE_TEXT,4,2 ; @HTTPD_TYPE_TEXT
.comm _ESP_ERR_INVALID_STATE,4,2 ; @ESP_ERR_INVALID_STATE
.comm _IPPROTO_TCP,4,2 ; @IPPROTO_TCP
.comm _TCP_NODELAY,4,2 ; @TCP_NODELAY
.comm _errno,4,2 ; @errno
.section __DATA,__const
.p2align 3, 0x0 ; @switch.table.httpd_resp_send_err
l_switch.table.httpd_resp_send_err:
.quad l_.str.3
.quad l_.str.1
.quad l_.str.19
.quad l_.str.17
.quad l_.str.13
.quad l_.str.15
.quad l_.str.11
.quad l_.str.9
.quad l_.str.7
.quad l_.str.5
.p2align 3, 0x0 ; @switch.table.httpd_resp_send_err.21
l_switch.table.httpd_resp_send_err.21:
.quad l_.str.2
.quad l_.str
.quad l_.str.18
.quad l_.str.16
.quad l_.str.12
.quad l_.str.14
.quad l_.str.10
.quad l_.str.8
.quad l_.str.6
.quad l_.str.4
.subsections_via_symbols
| assembly_file_148457.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _be_cmd_get_regs ## -- Begin function be_cmd_get_regs
.p2align 4, 0x90
_be_cmd_get_regs: ## @be_cmd_get_regs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -80(%rbp) ## 8-byte Spill
testq %rsi, %rsi
je LBB0_9
## %bb.1:
movq %rsi, %r12
movq %rdi, %r14
movl $61488, -56(%rbp) ## imm = 0xF030
movq 8(%rdi), %rdi
leaq -52(%rbp), %rdx
movl $61488, %esi ## imm = 0xF030
callq _pci_alloc_consistent
movq %rax, -48(%rbp)
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %r14, %rdi
callq _spin_lock_bh
movl $8, %r15d
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %r14, -72(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl $61440, %esi ## imm = 0xF000
movq %r12, %rdi
callq _min
movq %rax, %r13
movq %r14, %rdi
callq _wrb_from_mccq
testq %rax, %rax
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -48(%rbp), %rbx
leaq 48(%r13), %rcx
leaq 40(%rbx), %rdi
movq _CMD_SUBSYSTEM_COMMON@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
movq _OPCODE_COMMON_MANAGE_FAT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movq %rax, %r8
leaq -56(%rbp), %r9
callq _be_wrb_cmd_hdr_prepare
movq _RETRIEVE_FAT@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _cpu_to_le32
movq %rax, 32(%rbx)
movq %r15, %rdi
callq _cpu_to_le32
movq %rax, 24(%rbx)
movq %r13, %rdi
callq _cpu_to_le32
movq %rax, (%rbx)
movq %r13, %rdi
callq _cpu_to_le32
movq %rax, 16(%rbx)
movq %r14, %rdi
callq _be_mcc_notify_wait
testl %eax, %eax
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
subq %r13, %r12
movq %r12, -88(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rbx ## 8-byte Reload
leaq (%rcx,%rbx), %r14
movq %r15, %r12
movl 8(%rax), %r15d
movq (%rax), %rdi
callq _le32_to_cpu
movq %r14, %rdi
movq -72(%rbp), %r14 ## 8-byte Reload
movl %r15d, %esi
movq %r12, %r15
movq -88(%rbp), %r12 ## 8-byte Reload
movl %eax, %edx
callq _memcpy
addq %r13, %rbx
movq %rbx, -64(%rbp) ## 8-byte Spill
addq %r13, %r15
testq %r12, %r12
jne LBB0_4
jmp LBB0_8
LBB0_2:
movq 8(%r14), %rdi
leaq L_.str(%rip), %rsi
callq _dev_err
jmp LBB0_9
LBB0_7:
movq 8(%r14), %rdi
leaq L_.str.1(%rip), %rsi
callq _dev_err
LBB0_8:
movq 8(%r14), %rdi
movq -48(%rbp), %rdx
movl -56(%rbp), %esi
movl -52(%rbp), %ecx
callq _pci_free_consistent
movq %r14, %rdi
callq _spin_unlock_bh
LBB0_9:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Memory allocation failure while retrieving FAT data\n"
.comm _EBUSY,4,2 ## @EBUSY
.comm _CMD_SUBSYSTEM_COMMON,4,2 ## @CMD_SUBSYSTEM_COMMON
.comm _OPCODE_COMMON_MANAGE_FAT,4,2 ## @OPCODE_COMMON_MANAGE_FAT
.comm _RETRIEVE_FAT,8,3 ## @RETRIEVE_FAT
L_.str.1: ## @.str.1
.asciz "FAT Table Retrieve error\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _be_cmd_get_regs ; -- Begin function be_cmd_get_regs
.p2align 2
_be_cmd_get_regs: ; @be_cmd_get_regs
.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
cbz x1, LBB0_9
; %bb.1:
mov x20, x2
mov x21, x1
mov x19, x0
mov w8, #61488
str w8, [sp]
ldr x0, [x0, #8]
mov x8, sp
orr x2, x8, #0x4
mov w1, #61488
bl _pci_alloc_consistent
str x0, [sp, #8]
cbz x0, LBB0_6
; %bb.2:
mov x0, x19
bl _spin_lock_bh
mov x26, #0
mov w22, #8
Lloh0:
adrp x28, _OPCODE_COMMON_MANAGE_FAT@GOTPAGE
Lloh1:
ldr x28, [x28, _OPCODE_COMMON_MANAGE_FAT@GOTPAGEOFF]
Lloh2:
adrp x27, _RETRIEVE_FAT@GOTPAGE
Lloh3:
ldr x27, [x27, _RETRIEVE_FAT@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov w1, #61440
bl _min
mov x23, x0
mov x0, x19
bl _wrb_from_mccq
cbz x0, LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x4, x0
ldr x24, [sp, #8]
add x3, x23, #48
add x0, x24, #40
Lloh4:
adrp x8, _CMD_SUBSYSTEM_COMMON@GOTPAGE
Lloh5:
ldr x8, [x8, _CMD_SUBSYSTEM_COMMON@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
ldr w2, [x28]
mov x5, sp
bl _be_wrb_cmd_hdr_prepare
ldr x0, [x27]
bl _cpu_to_le32
str x0, [x24, #32]
mov x0, x22
bl _cpu_to_le32
str x0, [x24, #24]
mov x0, x23
bl _cpu_to_le32
str x0, [x24]
mov x0, x23
bl _cpu_to_le32
str x0, [x24, #16]
mov x0, x19
bl _be_mcc_notify_wait
cbnz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sub x21, x21, x23
ldr x8, [sp, #8]
add x24, x20, x26
ldr w25, [x8, #8]
ldr x0, [x8]
bl _le32_to_cpu
mov x2, x0
mov x0, x24
mov x1, x25
bl _memcpy
add x26, x23, x26
add x22, x23, x22
cbnz x21, LBB0_3
b LBB0_8
LBB0_6:
ldr x0, [x19, #8]
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
b LBB0_9
LBB0_7:
ldr x0, [x19, #8]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_err
LBB0_8:
ldr x0, [x19, #8]
ldr x2, [sp, #8]
ldp w1, w3, [sp]
bl _pci_free_consistent
mov x0, x19
bl _spin_unlock_bh
LBB0_9:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Memory allocation failure while retrieving FAT data\n"
.comm _EBUSY,4,2 ; @EBUSY
.comm _CMD_SUBSYSTEM_COMMON,4,2 ; @CMD_SUBSYSTEM_COMMON
.comm _OPCODE_COMMON_MANAGE_FAT,4,2 ; @OPCODE_COMMON_MANAGE_FAT
.comm _RETRIEVE_FAT,8,3 ; @RETRIEVE_FAT
l_.str.1: ; @.str.1
.asciz "FAT Table Retrieve error\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_cmds.c_be_cmd_get_regs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sati_ata_write_uncorrectable_construct ## -- Begin function sati_ata_write_uncorrectable_construct
.p2align 4, 0x90
_sati_ata_write_uncorrectable_construct: ## @sati_ata_write_uncorrectable_construct
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
callq _sati_cb_get_h2d_register_fis_address
movq %rax, %rbx
movq _ATA_WRITE_UNCORRECTABLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _sati_set_ata_command
movq %rbx, %rdi
movl %r15d, %esi
callq _sati_set_ata_features
movq %rbx, %rdi
movl $1, %esi
callq _sati_set_ata_sector_count
movq %r12, %rdi
movq %r14, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _sati_ata_non_data_command ## TAILCALL
.cfi_endproc
## -- End function
.comm _ATA_WRITE_UNCORRECTABLE,4,2 ## @ATA_WRITE_UNCORRECTABLE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sati_ata_write_uncorrectable_construct ; -- Begin function sati_ata_write_uncorrectable_construct
.p2align 2
_sati_ata_write_uncorrectable_construct: ; @sati_ata_write_uncorrectable_construct
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
bl _sati_cb_get_h2d_register_fis_address
mov x22, x0
Lloh0:
adrp x8, _ATA_WRITE_UNCORRECTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _ATA_WRITE_UNCORRECTABLE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _sati_set_ata_command
mov x0, x22
mov x1, x19
bl _sati_set_ata_features
mov x0, x22
mov w1, #1
bl _sati_set_ata_sector_count
mov x0, x21
mov x1, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _sati_ata_non_data_command
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ATA_WRITE_UNCORRECTABLE,4,2 ; @ATA_WRITE_UNCORRECTABLE
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_util.c_sati_ata_write_uncorrectable_construct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _puzzle_piece_foreground ## -- Begin function puzzle_piece_foreground
.p2align 4, 0x90
_puzzle_piece_foreground: ## @puzzle_piece_foreground
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq (%rdi), %r13
movq (%r13), %rax
movq (%rax,%rsi,8), %r14
movl 8(%r13), %edi
shll $3, %edi
callq _malloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r15
movq %r14, -64(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
leaq (,%rbx,8), %rsi
addq (%r13), %rsi
movq %rax, %rdi
movl $8, %edx
callq _memcpy
movl 8(%r13), %eax
testl %eax, %eax
je LBB0_13
## %bb.3:
movq %r15, -48(%rbp) ## 8-byte Spill
movl $1, %r12d
xorl %r14d, %r14d
xorl %r15d, %r15d
movq -64(%rbp), %rbx ## 8-byte Reload
movq -56(%rbp), %rdx ## 8-byte Reload
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
incq %r15
movslq %eax, %rcx
addq $8, %r14
cmpq %rcx, %r15
jae LBB0_8
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rsi
cmpq %rbx, (%rsi,%r14)
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpq %r15, %rdx
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
addq %r14, %rsi
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,8), %rdi
movl $8, %edx
callq _memcpy
movq -56(%rbp), %rdx ## 8-byte Reload
incq %r12
movl 8(%r13), %eax
jmp LBB0_7
LBB0_1:
movq _VLC_ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_8:
testl %eax, %eax
movq -48(%rbp), %r15 ## 8-byte Reload
je LBB0_13
## %bb.9:
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
incq %rbx
movslq %eax, %rcx
addq $8, %r14
cmpq %rcx, %rbx
jae LBB0_13
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rsi
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, (%rsi,%r14)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
addq %r14, %rsi
leaq (%r15,%r12,8), %rdi
movl $8, %edx
callq _memcpy
incq %r12
movl 8(%r13), %eax
jmp LBB0_12
LBB0_13:
movq (%r13), %rdi
callq _free
movq %r15, (%r13)
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_14:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _puzzle_piece_foreground ; -- Begin function puzzle_piece_foreground
.p2align 2
_puzzle_piece_foreground: ; @puzzle_piece_foreground
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
ldr x21, [x0]
ldr x8, [x21]
ldr x22, [x8, x1, lsl #3]
ldr w8, [x21, #8]
lsl w0, w8, #3
bl _malloc
cbz x0, LBB0_6
; %bb.1:
mov x19, x0
ldr x8, [x21]
add x1, x8, x20, lsl #3
mov w2, #8
bl _memcpy
ldr w8, [x21, #8]
cbz w8, LBB0_12
; %bb.2:
mov x24, #0
mov x25, #0
mov w23, #1
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
add x24, x24, #8
cmp x25, w8, sxtw
b.hs LBB0_7
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
add x1, x9, x24
ldr x9, [x1]
cmp x9, x22
ccmp x20, x25, #4, eq
b.eq LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x0, x19, x23, lsl #3
mov w2, #8
bl _memcpy
add x23, x23, #1
ldr w8, [x21, #8]
b LBB0_3
LBB0_6:
Lloh0:
adrp x8, _VLC_ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF]
b LBB0_13
LBB0_7:
cbz w8, LBB0_12
; %bb.8:
mov x20, #0
mov x24, #0
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x24, x24, #1
add x20, x20, #8
cmp x24, w8, sxtw
b.hs LBB0_12
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
add x1, x9, x20
ldr x9, [x1]
cmp x9, x22
b.eq LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
add x0, x19, x23, lsl #3
mov w2, #8
bl _memcpy
add x23, x23, #1
ldr w8, [x21, #8]
b LBB0_9
LBB0_12:
ldr x0, [x21]
bl _free
str x19, [x21]
Lloh2:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh3:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
LBB0_13:
ldr w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.subsections_via_symbols
| AnghaBench/vlc/modules/video_filter/extr_puzzle_mgt.c_puzzle_piece_foreground.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GrantLock ## -- Begin function GrantLock
.p2align 4, 0x90
_GrantLock: ## @GrantLock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
incq (%rdi)
movq 8(%rdi), %rax
incq (%rax,%rdx,8)
movq %rdx, %rdi
callq _LOCKBIT_ON
orl %eax, 36(%rbx)
movq 8(%rbx), %rax
movq 16(%rbx), %rcx
movq (%rax,%r14,8), %rax
cmpq (%rcx,%r14,8), %rax
jne LBB0_2
## %bb.1:
movq %r14, %rdi
callq _LOCKBIT_OFF
andl %eax, 32(%rbx)
LBB0_2:
movq %r14, %rdi
callq _LOCKBIT_ON
orl %eax, (%r15)
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq _LOCK_PRINT
cmpq $0, (%rbx)
jle LBB0_3
## %bb.4:
movq 8(%rbx), %rax
xorl %edi, %edi
cmpq $0, (%rax,%r14,8)
setg %dil
jmp LBB0_5
LBB0_3:
xorl %edi, %edi
LBB0_5:
callq _Assert
movq (%rbx), %rax
xorl %edi, %edi
cmpq 24(%rbx), %rax
setle %dil
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _Assert ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "GrantLock"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GrantLock ; -- Begin function GrantLock
.p2align 2
_GrantLock: ; @GrantLock
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
ldp x8, x9, [x0]
add x8, x8, #1
str x8, [x0]
lsl x22, x2, #3
ldr x8, [x9, x22]
add x8, x8, #1
str x8, [x9, x22]
mov x0, x2
bl _LOCKBIT_ON
ldr w8, [x19, #36]
orr w8, w8, w0
str w8, [x19, #36]
ldp x8, x9, [x19, #8]
ldr x8, [x8, x22]
ldr x9, [x9, x22]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov x0, x20
bl _LOCKBIT_OFF
ldr w8, [x19, #32]
and w8, w8, w0
str w8, [x19, #32]
LBB0_2:
mov x0, x20
bl _LOCKBIT_ON
ldr w8, [x21]
orr w8, w8, w0
str w8, [x21]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x2, x20
bl _LOCK_PRINT
ldr x8, [x19]
cmp x8, #1
b.lt LBB0_4
; %bb.3:
ldr x8, [x19, #8]
ldr x8, [x8, x20, lsl #3]
cmp x8, #0
cset w0, gt
b LBB0_5
LBB0_4:
mov w0, #0
LBB0_5:
bl _Assert
ldr x8, [x19]
ldr x9, [x19, #24]
cmp x8, x9
cset w0, le
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 _Assert
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "GrantLock"
.subsections_via_symbols
| AnghaBench/postgres/src/backend/storage/lmgr/extr_lock.c_GrantLock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function address_from_rva
_address_from_rva: ## @address_from_rva
.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, %r15
movq %rdx, %r14
movq %rdi, %rbx
callq _section_from_rva
testq %rax, %rax
je LBB0_3
## %bb.1:
addq %r14, %r15
movq (%rax), %rcx
movq 8(%rax), %rdx
addq %rcx, %rdx
cmpq %rdx, %r15
jle LBB0_4
LBB0_3:
xorl %ebx, %ebx
jmp LBB0_5
LBB0_4:
addq %r14, %rbx
subq %rcx, %rbx
addq 16(%rax), %rbx
LBB0_5:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _address_from_rva
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function address_from_rva
_address_from_rva: ; @address_from_rva
.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 x19, x2
mov x20, x0
bl _section_from_rva
cbz x0, LBB0_4
; %bb.1:
add x9, x21, x19
ldp x8, x10, [x0]
add x10, x10, x8
cmp x9, x10
b.le LBB0_3
; %bb.2:
mov x0, #0
b LBB0_4
LBB0_3:
ldr x9, [x0, #16]
add x10, x20, x19
sub x8, x10, x8
add x0, x8, x9
LBB0_4:
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 _address_from_rva
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/kernel32/wine/extr_res.c_address_from_rva.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
movslq %edi, %rax
leaq _features(%rip), %rcx
movsbl (%rax,%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _features ## @features
.p2align 4
_features:
.asciz "\nC_FEATURE:0c_function_prototypes\nC_FEATURE:0c_restrict\nC_FEATURE:0c_static_assert\nC_FEATURE:0c_variadic_macros\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:
Lloh0:
adrp x8, _features@PAGE
Lloh1:
add x8, x8, _features@PAGEOFF
ldrsb w0, [x8, w0, sxtw]
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _features ; @features
_features:
.asciz "\nC_FEATURE:0c_function_prototypes\nC_FEATURE:0c_restrict\nC_FEATURE:0c_static_assert\nC_FEATURE:0c_variadic_macros\n"
.subsections_via_symbols
| the_stack_data/26699761.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _skiplistDeleteNode ## -- Begin function skiplistDeleteNode
.p2align 4, 0x90
_skiplistDeleteNode: ## @skiplistDeleteNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $0, (%rdi)
jle LBB0_6
## %bb.1:
xorl %eax, %eax
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl (%rcx,%rax,2), %edi
decl %edi
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl %edi, (%rcx,%rax,2)
addq $-8, %rax
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%rax), %rcx
movq 8(%rcx), %rcx
cmpq %rsi, 8(%rcx,%rax,2)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rsi), %r8
movl (%r8,%rax,2), %edi
movl (%rcx,%rax,2), %r9d
addl %r9d, %edi
incl %edi
movq 8(%r8,%rax,2), %r8
movq %r8, 8(%rcx,%rax,2)
jmp LBB0_5
LBB0_6:
movq 8(%rsi), %rax
movq 8(%rax), %rax
leaq 16(%rdi), %rcx
testq %rax, %rax
cmovneq %rax, %rcx
movl (%rsi), %eax
movl %eax, (%rcx)
movl (%rdi), %eax
cmpl $2, %eax
jl LBB0_10
## %bb.7:
movq 8(%rdi), %rcx
movq (%rcx), %rcx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
cmpq $0, -8(%rcx,%rdx,8)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
leal -1(%rax), %edx
movl %edx, (%rdi)
cmpl $2, %eax
movl %edx, %eax
jg LBB0_8
LBB0_10:
decl 4(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _skiplistDeleteNode ; -- Begin function skiplistDeleteNode
.p2align 2
_skiplistDeleteNode: ; @skiplistDeleteNode
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_6
; %bb.1:
mov x8, #0 ; =0x0
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr w10, [x9]
sub w10, w10, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str w10, [x9]
sub x2, x2, #8
sub x8, x8, #16
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x2]
ldr x9, [x9, #8]
add x9, x9, x8
ldr x10, [x9, #8]
cmp x10, x1
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x10, [x1, #8]
add x11, x10, x8
ldr w10, [x11]
ldr w12, [x9]
add w10, w10, w12
add w10, w10, #1
ldr x11, [x11, #8]
str x11, [x9, #8]
b LBB0_3
LBB0_6:
ldr x8, [x1, #8]
ldr x8, [x8, #8]
ldr w9, [x1]
add x10, x0, #16
cmp x8, #0
csel x8, x10, x8, eq
str w9, [x8]
ldr w8, [x0]
cmp w8, #1
b.le LBB0_10
; %bb.7:
ldr x9, [x0, #8]
ldr x9, [x9]
sub x9, x9, #8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x10, [x9, w8, uxtw #3]
cbz x10, LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
sub w10, w8, #1
str w10, [x0]
cmp w8, #2
mov x8, x10
b.gt LBB0_8
LBB0_10:
ldr w8, [x0, #4]
sub w8, w8, #1
str w8, [x0, #4]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_76443.c | assembly_dataset |
.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/59450.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _block_take_imports ## -- Begin function block_take_imports
.p2align 4, 0x90
_block_take_imports: ## @block_take_imports
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _jv_array
movl %eax, %r14d
xorl %edi, %edi
callq _assert
movq (%rbx), %rax
testq %rax, %rax
je LBB0_7
## %bb.1:
movq _MODULEMETA@GOTPCREL(%rip), %r12
movq _DEPS@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _inst_free
movq (%rbx), %rax
testq %rax, %rax
je LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rax), %rax
cmpq (%r12), %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpq (%r13), %rax
jne LBB0_7
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _block_take
movq %rax, %r15
movq (%rax), %rax
cmpq (%r13), %rax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl 8(%r15), %edi
callq _jv_copy
movl %r14d, %edi
movl %eax, %esi
callq _jv_array_append
movl %eax, %r14d
jmp LBB0_6
LBB0_7:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TOP,8,3 ## @TOP
.comm _MODULEMETA,8,3 ## @MODULEMETA
.comm _DEPS,8,3 ## @DEPS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _block_take_imports ; -- Begin function block_take_imports
.p2align 2
_block_take_imports: ; @block_take_imports
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
bl _jv_array
mov x19, x0
mov w0, #0 ; =0x0
bl _assert
ldr x8, [x20]
cbz x8, LBB0_6
; %bb.1:
Lloh0:
adrp x21, _MODULEMETA@GOTPAGE
Lloh1:
ldr x21, [x21, _MODULEMETA@GOTPAGEOFF]
Lloh2:
adrp x22, _DEPS@GOTPAGE
Lloh3:
ldr x22, [x22, _DEPS@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
bl _inst_free
ldr x8, [x20]
cbz x8, LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8]
ldr x9, [x21]
ldr x10, [x22]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _block_take
ldr x8, [x0]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x0, #8]
mov x23, x0
mov x0, x8
bl _jv_copy
mov x1, x0
mov x0, x19
bl _jv_array_append
mov x19, x0
mov x0, x23
b LBB0_2
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TOP,8,3 ; @TOP
.comm _MODULEMETA,8,3 ; @MODULEMETA
.comm _DEPS,8,3 ; @DEPS
.subsections_via_symbols
| assembly_file_40551.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hostapd_cli_cmd_remove_neighbor
_hostapd_cli_cmd_remove_neighbor: ## @hostapd_cli_cmd_remove_neighbor
.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 $408, %rsp ## imm = 0x198
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
cmpl $2, %esi
jne LBB0_1
## %bb.3:
movq %rdi, %rbx
movq (%rdx), %rcx
movq 8(%rdx), %r8
leaq L_.str.1(%rip), %rdx
leaq -416(%rbp), %rdi
movl $400, %esi ## imm = 0x190
callq _os_snprintf
movl $400, %edi ## imm = 0x190
movl %eax, %esi
callq _os_snprintf_error
testq %rax, %rax
je LBB0_5
## %bb.4:
leaq L_str(%rip), %rdi
jmp LBB0_2
LBB0_1:
leaq L_str.3(%rip), %rdi
LBB0_2:
callq _puts
movl $-1, %eax
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -16(%rbp), %rcx
jne LBB0_8
## %bb.7:
addq $408, %rsp ## imm = 0x198
popq %rbx
popq %rbp
retq
LBB0_5:
leaq -416(%rbp), %rsi
movq %rbx, %rdi
callq _wpa_ctrl_command
jmp LBB0_6
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "REMOVE_NEIGHBOR %s %s"
L_str: ## @str
.asciz "Too long REMOVE_NEIGHBOR command."
L_str.3: ## @str.3
.asciz "Invalid remove_neighbor command: needs 2 arguments"
.no_dead_strip _hostapd_cli_cmd_remove_neighbor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hostapd_cli_cmd_remove_neighbor
_hostapd_cli_cmd_remove_neighbor: ; @hostapd_cli_cmd_remove_neighbor
.cfi_startproc
; %bb.0:
sub sp, sp, #448
.cfi_def_cfa_offset 448
stp x20, x19, [sp, #416] ; 16-byte Folded Spill
stp x29, x30, [sp, #432] ; 16-byte Folded Spill
add x29, sp, #432
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
cmp w1, #2
b.ne LBB0_3
; %bb.1:
mov x19, x0
ldp x3, x4, [x2]
Lloh3:
adrp x2, l_.str.1@PAGE
Lloh4:
add x2, x2, l_.str.1@PAGEOFF
add x0, sp, #8
mov w1, #400
bl _os_snprintf
mov x1, x0
mov w0, #400
bl _os_snprintf_error
cbz x0, LBB0_7
; %bb.2:
Lloh5:
adrp x0, l_str@PAGE
Lloh6:
add x0, x0, l_str@PAGEOFF
b LBB0_4
LBB0_3:
Lloh7:
adrp x0, l_str.3@PAGE
Lloh8:
add x0, x0, l_str.3@PAGEOFF
LBB0_4:
bl _puts
mov w0, #-1
LBB0_5:
ldur x8, [x29, #-24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.6:
ldp x29, x30, [sp, #432] ; 16-byte Folded Reload
ldp x20, x19, [sp, #416] ; 16-byte Folded Reload
add sp, sp, #448
ret
LBB0_7:
add x1, sp, #8
mov x0, x19
bl _wpa_ctrl_command
b LBB0_5
LBB0_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "REMOVE_NEIGHBOR %s %s"
l_str: ; @str
.asciz "Too long REMOVE_NEIGHBOR command."
l_str.3: ; @str.3
.asciz "Invalid remove_neighbor command: needs 2 arguments"
.no_dead_strip _hostapd_cli_cmd_remove_neighbor
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_hostapd_cli_cmd_remove_neighbor.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 qcom_glink_smem_register
LCPI0_0:
.quad 24 ## 0x18
.quad 16 ## 0x10
.section __TEXT,__text,regular,pure_instructions
.globl _qcom_glink_smem_register
.p2align 4, 0x90
_qcom_glink_smem_register: ## @qcom_glink_smem_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _GFP_KERNEL@GOTPCREL(%rip), %r15
movl (%r15), %esi
movl $24, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %r13
movq %rbx, 8(%rax)
movq %r14, (%rax)
movq _qcom_glink_smem_release@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r13)
movq 8(%rbx), %rdi
callq _dev_name
leaq L_.str(%rip), %rsi
movq %r13, %rdi
movl %eax, %edx
movq %r14, %rcx
callq _dev_set_name
movq %r13, %rdi
callq _device_register
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %ebx
leaq L_.str.1(%rip), %rdi
callq _pr_err
movq %r13, %rdi
callq _put_device
movl %ebx, %edi
jmp LBB0_2
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
LBB0_2:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_5:
movq (%r13), %rdi
leaq L_.str.2(%rip), %rsi
leaq -48(%rbp), %rdx
callq _of_property_read_u32
testl %eax, %eax
je LBB0_7
## %bb.6:
movl %eax, %r12d
leaq L_.str.3(%rip), %rsi
LBB0_14:
movq %r13, %rdi
callq _dev_err
jmp LBB0_27
LBB0_7:
movl (%r15), %edx
movq %r13, %rdi
movl $56, %esi
callq _devm_kzalloc
movq %rax, %r14
movl (%r15), %edx
movq %r13, %rdi
movl $56, %esi
callq _devm_kzalloc
testq %r14, %r14
je LBB0_9
## %bb.8:
movq %rax, %r15
testq %rax, %rax
je LBB0_9
## %bb.11:
movq -48(%rbp), %rdi
movq _SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movl $32, %edx
callq _qcom_smem_alloc
testl %eax, %eax
je LBB0_15
## %bb.12:
movl %eax, %r12d
movq _EEXIST@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r12d, %eax
jne LBB0_13
LBB0_15:
movq -48(%rbp), %rdi
movl (%rbx), %esi
leaq -56(%rbp), %rdx
callq _qcom_smem_get
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_17
## %bb.16:
leaq L_.str.5(%rip), %rsi
movq %r13, %rdi
callq _dev_err
LBB0_25:
movq %rbx, %rdi
LBB0_26:
callq _PTR_ERR
movl %eax, %r12d
jmp LBB0_27
LBB0_9:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
xorl %r12d, %r12d
subl (%rax), %r12d
LBB0_27:
movq %r13, %rdi
callq _device_unregister
movl %r12d, %edi
callq _ERR_PTR
movq %rax, %rbx
LBB0_28:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
leaq L_.str.4(%rip), %rsi
jmp LBB0_14
LBB0_17:
cmpq $32, -56(%rbp)
jne LBB0_18
## %bb.19:
movq %rbx, 32(%r15)
leaq 8(%rbx), %rax
movq %rax, 24(%r15)
movq %rbx, %xmm0
pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1]
paddq LCPI0_0(%rip), %xmm0
movdqu %xmm0, 24(%r14)
movq -48(%rbp), %rdi
movq _SMEM_GLINK_NATIVE_XPRT_FIFO_0@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq _SZ_16K@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _qcom_smem_alloc
testl %eax, %eax
je LBB0_22
## %bb.20:
movl %eax, %r12d
movq _EEXIST@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r12d, %eax
jne LBB0_21
LBB0_22:
movq -48(%rbp), %rdi
movl (%rbx), %esi
movq %r15, %rdx
callq _qcom_smem_get
movq %rax, 48(%r15)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_24
## %bb.23:
leaq L_.str.8(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq 48(%r15), %rdi
jmp LBB0_26
LBB0_18:
leaq L_.str.6(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_21:
leaq L_.str.7(%rip), %rsi
jmp LBB0_14
LBB0_24:
movq _glink_smem_rx_avail@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%r14)
movq _glink_smem_rx_peak@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%r14)
movq _glink_smem_rx_advance@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r14)
movq -48(%rbp), %rax
movq %rax, 40(%r14)
movq _glink_smem_tx_avail@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%r15)
movq _glink_smem_tx_write@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%r15)
movq %rax, 40(%r15)
movq 32(%r14), %rax
movq $0, (%rax)
movq 24(%r15), %rax
movq $0, (%rax)
movq _GLINK_FEATURE_INTENT_REUSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
movq %r14, %rdx
movq %r15, %rcx
xorl %r8d, %r8d
callq _qcom_glink_native_probe
movq %rax, %rbx
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
jne LBB0_25
jmp LBB0_28
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _qcom_glink_smem_release,4,2 ## @qcom_glink_smem_release
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s:%pOFn"
L_.str.1: ## @.str.1
.asciz "failed to register glink edge\n"
L_.str.2: ## @.str.2
.asciz "qcom,remote-pid"
L_.str.3: ## @.str.3
.asciz "failed to parse qcom,remote-pid\n"
.comm _SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR,4,2 ## @SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR
.comm _EEXIST,4,2 ## @EEXIST
L_.str.4: ## @.str.4
.asciz "failed to allocate glink descriptors\n"
L_.str.5: ## @.str.5
.asciz "failed to acquire xprt descriptor\n"
L_.str.6: ## @.str.6
.asciz "glink descriptor of invalid size\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _SMEM_GLINK_NATIVE_XPRT_FIFO_0,4,2 ## @SMEM_GLINK_NATIVE_XPRT_FIFO_0
.comm _SZ_16K,4,2 ## @SZ_16K
L_.str.7: ## @.str.7
.asciz "failed to allocate TX fifo\n"
L_.str.8: ## @.str.8
.asciz "failed to acquire TX fifo\n"
.comm _glink_smem_rx_avail,4,2 ## @glink_smem_rx_avail
.comm _glink_smem_rx_peak,4,2 ## @glink_smem_rx_peak
.comm _glink_smem_rx_advance,4,2 ## @glink_smem_rx_advance
.comm _glink_smem_tx_avail,4,2 ## @glink_smem_tx_avail
.comm _glink_smem_tx_write,4,2 ## @glink_smem_tx_write
.comm _GLINK_FEATURE_INTENT_REUSE,4,2 ## @GLINK_FEATURE_INTENT_REUSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _qcom_glink_smem_register ; -- Begin function qcom_glink_smem_register
.p2align 2
_qcom_glink_smem_register: ; @qcom_glink_smem_register
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
mov x21, x0
Lloh0:
adrp x23, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x23]
mov w0, #24
bl _kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
stp x20, x21, [x0]
Lloh2:
adrp x8, _qcom_glink_smem_release@GOTPAGE
Lloh3:
ldr x8, [x8, _qcom_glink_smem_release@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [x0, #16]
ldr x0, [x21, #8]
bl _dev_name
mov x2, x0
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov x3, x20
bl _dev_set_name
mov x0, x19
bl _device_register
cbz w0, LBB0_5
; %bb.2:
mov x20, x0
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_err
mov x0, x19
bl _put_device
mov x0, x20
b LBB0_4
LBB0_3:
Lloh9:
adrp x8, _ENOMEM@GOTPAGE
Lloh10:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
neg w0, w8
LBB0_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
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _ERR_PTR
LBB0_5:
ldr x0, [x19]
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
add x2, sp, #8
bl _of_property_read_u32
cbz w0, LBB0_8
; %bb.6:
mov x22, x0
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
LBB0_7:
mov x0, x19
bl _dev_err
b LBB0_16
LBB0_8:
ldr w2, [x23]
mov x0, x19
mov w1, #56
bl _devm_kzalloc
mov x21, x0
ldr w2, [x23]
mov x0, x19
mov w1, #56
bl _devm_kzalloc
cmp x21, #0
ccmp x0, #0, #4, ne
b.ne LBB0_11
; %bb.9:
Lloh16:
adrp x8, _ENOMEM@GOTPAGE
Lloh17:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
ldr w8, [x8]
neg w22, w8
b LBB0_16
LBB0_11:
mov x20, x0
ldr x0, [sp, #8]
Lloh18:
adrp x23, _SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR@GOTPAGE
Lloh19:
ldr x23, [x23, _SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR@GOTPAGEOFF]
ldr w1, [x23]
mov w2, #32
bl _qcom_smem_alloc
cbz w0, LBB0_13
; %bb.12:
mov x22, x0
Lloh20:
adrp x8, _EEXIST@GOTPAGE
Lloh21:
ldr x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh22:
ldr w8, [x8]
cmn w0, w8
b.ne LBB0_18
LBB0_13:
ldr x0, [sp, #8]
ldr w1, [x23]
mov x2, sp
bl _qcom_smem_get
mov x22, x0
bl _IS_ERR
cbz x0, LBB0_19
; %bb.14:
Lloh23:
adrp x1, l_.str.5@PAGE
Lloh24:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _dev_err
mov x0, x22
LBB0_15:
bl _PTR_ERR
mov x22, x0
LBB0_16:
mov x0, x19
bl _device_unregister
mov x0, x22
bl _ERR_PTR
mov x20, x0
LBB0_17:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_18:
Lloh25:
adrp x1, l_.str.4@PAGE
Lloh26:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_7
LBB0_19:
ldr x8, [sp]
cmp x8, #32
b.ne LBB0_24
; %bb.20:
add x8, x22, #8
stp x8, x22, [x20, #24]
add x8, x22, #16
add x9, x22, #24
stp x9, x8, [x21, #24]
ldr x0, [sp, #8]
Lloh27:
adrp x23, _SMEM_GLINK_NATIVE_XPRT_FIFO_0@GOTPAGE
Lloh28:
ldr x23, [x23, _SMEM_GLINK_NATIVE_XPRT_FIFO_0@GOTPAGEOFF]
ldr w1, [x23]
Lloh29:
adrp x8, _SZ_16K@GOTPAGE
Lloh30:
ldr x8, [x8, _SZ_16K@GOTPAGEOFF]
Lloh31:
ldr w2, [x8]
bl _qcom_smem_alloc
cbz w0, LBB0_22
; %bb.21:
mov x22, x0
Lloh32:
adrp x8, _EEXIST@GOTPAGE
Lloh33:
ldr x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
cmn w0, w8
b.ne LBB0_25
LBB0_22:
ldr x0, [sp, #8]
ldr w1, [x23]
mov x2, x20
bl _qcom_smem_get
str x0, [x20, #48]
bl _IS_ERR
cbz x0, LBB0_26
; %bb.23:
Lloh35:
adrp x1, l_.str.8@PAGE
Lloh36:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _dev_err
ldr x0, [x20, #48]
b LBB0_15
LBB0_24:
Lloh37:
adrp x1, l_.str.6@PAGE
Lloh38:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _dev_err
Lloh39:
adrp x8, _EINVAL@GOTPAGE
Lloh40:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_10
LBB0_25:
Lloh41:
adrp x1, l_.str.7@PAGE
Lloh42:
add x1, x1, l_.str.7@PAGEOFF
b LBB0_7
LBB0_26:
Lloh43:
adrp x8, _glink_smem_rx_avail@GOTPAGE
Lloh44:
ldr x8, [x8, _glink_smem_rx_avail@GOTPAGEOFF]
Lloh45:
ldr w8, [x8]
Lloh46:
adrp x9, _glink_smem_rx_peak@GOTPAGE
Lloh47:
ldr x9, [x9, _glink_smem_rx_peak@GOTPAGEOFF]
Lloh48:
ldr w9, [x9]
str w9, [x21, #20]
Lloh49:
adrp x9, _glink_smem_rx_advance@GOTPAGE
Lloh50:
ldr x9, [x9, _glink_smem_rx_advance@GOTPAGEOFF]
Lloh51:
ldr w9, [x9]
stp w8, w9, [x21, #12]
ldr x8, [sp, #8]
str x8, [x21, #40]
Lloh52:
adrp x9, _glink_smem_tx_avail@GOTPAGE
Lloh53:
ldr x9, [x9, _glink_smem_tx_avail@GOTPAGEOFF]
Lloh54:
adrp x10, _glink_smem_tx_write@GOTPAGE
Lloh55:
ldr x10, [x10, _glink_smem_tx_write@GOTPAGEOFF]
Lloh56:
ldr w9, [x9]
Lloh57:
ldr w10, [x10]
stp w10, w9, [x20, #8]
str x8, [x20, #40]
ldr x8, [x21, #32]
str xzr, [x8]
ldr x8, [x20, #24]
str xzr, [x8]
Lloh58:
adrp x8, _GLINK_FEATURE_INTENT_REUSE@GOTPAGE
Lloh59:
ldr x8, [x8, _GLINK_FEATURE_INTENT_REUSE@GOTPAGEOFF]
Lloh60:
ldr w1, [x8]
mov x0, x19
mov x2, x21
mov x3, x20
mov w4, #0
bl _qcom_glink_native_probe
mov x20, x0
bl _IS_ERR
cbz x0, LBB0_17
; %bb.27:
mov x0, x20
b LBB0_15
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh57
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh56
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _qcom_glink_smem_release,4,2 ; @qcom_glink_smem_release
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s:%pOFn"
l_.str.1: ; @.str.1
.asciz "failed to register glink edge\n"
l_.str.2: ; @.str.2
.asciz "qcom,remote-pid"
l_.str.3: ; @.str.3
.asciz "failed to parse qcom,remote-pid\n"
.comm _SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR,4,2 ; @SMEM_GLINK_NATIVE_XPRT_DESCRIPTOR
.comm _EEXIST,4,2 ; @EEXIST
l_.str.4: ; @.str.4
.asciz "failed to allocate glink descriptors\n"
l_.str.5: ; @.str.5
.asciz "failed to acquire xprt descriptor\n"
l_.str.6: ; @.str.6
.asciz "glink descriptor of invalid size\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _SMEM_GLINK_NATIVE_XPRT_FIFO_0,4,2 ; @SMEM_GLINK_NATIVE_XPRT_FIFO_0
.comm _SZ_16K,4,2 ; @SZ_16K
l_.str.7: ; @.str.7
.asciz "failed to allocate TX fifo\n"
l_.str.8: ; @.str.8
.asciz "failed to acquire TX fifo\n"
.comm _glink_smem_rx_avail,4,2 ; @glink_smem_rx_avail
.comm _glink_smem_rx_peak,4,2 ; @glink_smem_rx_peak
.comm _glink_smem_rx_advance,4,2 ; @glink_smem_rx_advance
.comm _glink_smem_tx_avail,4,2 ; @glink_smem_tx_avail
.comm _glink_smem_tx_write,4,2 ; @glink_smem_tx_write
.comm _GLINK_FEATURE_INTENT_REUSE,4,2 ; @GLINK_FEATURE_INTENT_REUSE
.subsections_via_symbols
| AnghaBench/linux/drivers/rpmsg/extr_qcom_glink_smem.c_qcom_glink_smem_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function totypeAtoi64
_totypeAtoi64: ## @totypeAtoi64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movslq %edx, %rax
movq %rdi, %r15
subq %rax, %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
incq %r14
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %r15, %r14
jbe LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl (%r14), %edi
callq _totypeIsspace
testq %rax, %rax
jne LBB0_3
## %bb.4:
movq _LARGEST_INT64@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jns LBB0_5
## %bb.6:
movq _SMALLEST_INT64@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_7
LBB0_5:
xorl %eax, %eax
LBB0_7:
movq %rax, (%rbx)
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LARGEST_INT64,4,2 ## @LARGEST_INT64
.comm _SMALLEST_INT64,8,3 ## @SMALLEST_INT64
.no_dead_strip _totypeAtoi64
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function totypeAtoi64
_totypeAtoi64: ; @totypeAtoi64
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
sub x21, x0, w2, sxtw
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x20, x20, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x20, x21
b.ls LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrsb w0, [x20]
bl _totypeIsspace
cbnz x0, LBB0_1
; %bb.4:
Lloh0:
adrp x8, _LARGEST_INT64@GOTPAGE
Lloh1:
ldr x8, [x8, _LARGEST_INT64@GOTPAGEOFF]
Lloh2:
adrp x9, _SMALLEST_INT64@GOTPAGE
Lloh3:
ldr x9, [x9, _SMALLEST_INT64@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr x9, [x9]
cmp w8, #0
csel x8, x9, xzr, lt
str x8, [x19]
mov w0, #1 ; =0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.cfi_endproc
; -- End function
.comm _LARGEST_INT64,4,2 ; @LARGEST_INT64
.comm _SMALLEST_INT64,8,3 ; @SMALLEST_INT64
.no_dead_strip _totypeAtoi64
.subsections_via_symbols
| assembly_file_56712.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aica_dma_transfer
_aica_dma_transfer: ## @aica_dma_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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rcx
movl %esi, -44(%rbp) ## 4-byte Spill
movl %edi, %r15d
movq 8(%rdx), %rax
movq (%rax), %rax
movl (%rax), %esi
movq _AICA_PERIOD_NUMBER@GOTPCREL(%rip), %rax
movl (%rax), %eax
cltd
idivl %edi
movl %eax, %edi
movl %esi, %eax
cltd
idivl %edi
testl %r15d, %r15d
jle LBB0_1
## %bb.2:
movq (%rcx), %r12
xorl %ebx, %ebx
movslq %edx, %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
callq _local_irq_save
movq _AICA_DMA_CHANNEL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _AICA_BUFFER_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
imull %ebx, %eax
cltd
idivl %r15d
movslq %eax, %rsi
addq (%r12), %rsi
movq _AICA_PERIOD_SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %rcx
imulq %r14, %rcx
addq %rcx, %rsi
movq _CHANNEL_OFFSET@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movslq %ebx, %rdx
imulq %rax, %rdx
movq _AICA_CHANNEL0_OFFSET@GOTPCREL(%rip), %rax
addq (%rax), %rcx
addq %rdx, %rcx
movl -44(%rbp), %eax ## 4-byte Reload
cltd
idivl %r15d
movq _AICA_DMA_MODE@GOTPCREL(%rip), %rdx
movl (%rdx), %r8d
movq %rcx, %rdx
movl %eax, %ecx
callq _dma_xfer
movl %eax, %r13d
movl %eax, %edi
shrl $31, %edi
callq _unlikely
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq _AICA_DMA_CHANNEL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _dma_wait_for_completion
callq _local_irq_restore
incl %ebx
cmpl %ebx, %r15d
jne LBB0_3
jmp LBB0_6
LBB0_1:
xorl %r13d, %r13d
jmp LBB0_6
LBB0_4:
callq _local_irq_restore
LBB0_6:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AICA_PERIOD_NUMBER,4,2 ## @AICA_PERIOD_NUMBER
.comm _AICA_DMA_CHANNEL,4,2 ## @AICA_DMA_CHANNEL
.comm _AICA_BUFFER_SIZE,4,2 ## @AICA_BUFFER_SIZE
.comm _AICA_PERIOD_SIZE,4,2 ## @AICA_PERIOD_SIZE
.comm _AICA_CHANNEL0_OFFSET,8,3 ## @AICA_CHANNEL0_OFFSET
.comm _CHANNEL_OFFSET,4,2 ## @CHANNEL_OFFSET
.comm _AICA_DMA_MODE,4,2 ## @AICA_DMA_MODE
.no_dead_strip _aica_dma_transfer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aica_dma_transfer
_aica_dma_transfer: ; @aica_dma_transfer
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
cmp w0, #1
b.lt LBB0_4
; %bb.1:
mov x19, x0
mov w22, #0
ldp x23, x8, [x2]
ldr x8, [x8]
ldr w8, [x8]
Lloh0:
adrp x9, _AICA_PERIOD_NUMBER@GOTPAGE
Lloh1:
ldr x9, [x9, _AICA_PERIOD_NUMBER@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
sdiv w9, w9, w0
sdiv w10, w8, w9
msub w8, w10, w9, w8
Lloh3:
adrp x24, _AICA_DMA_CHANNEL@GOTPAGE
Lloh4:
ldr x24, [x24, _AICA_DMA_CHANNEL@GOTPAGEOFF]
Lloh5:
adrp x27, _AICA_CHANNEL0_OFFSET@GOTPAGE
Lloh6:
ldr x27, [x27, _AICA_CHANNEL0_OFFSET@GOTPAGEOFF]
sxtw x28, w8
Lloh7:
adrp x25, _CHANNEL_OFFSET@GOTPAGE
Lloh8:
ldr x25, [x25, _CHANNEL_OFFSET@GOTPAGEOFF]
sdiv w20, w1, w0
Lloh9:
adrp x26, _AICA_DMA_MODE@GOTPAGE
Lloh10:
ldr x26, [x26, _AICA_DMA_MODE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _local_irq_save
ldr w0, [x24]
ldr x8, [x23]
Lloh11:
adrp x9, _AICA_BUFFER_SIZE@GOTPAGE
Lloh12:
ldr x9, [x9, _AICA_BUFFER_SIZE@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
mul w9, w9, w22
sdiv w9, w9, w19
add x8, x8, w9, sxtw
Lloh14:
adrp x9, _AICA_PERIOD_SIZE@GOTPAGE
Lloh15:
ldr x9, [x9, _AICA_PERIOD_SIZE@GOTPAGEOFF]
Lloh16:
ldrsw x9, [x9]
mul x9, x9, x28
add x1, x8, x9
ldr x8, [x27]
ldrsw x10, [x25]
sxtw x11, w22
add x8, x8, x9
madd x2, x10, x11, x8
ldr w4, [x26]
mov x3, x20
bl _dma_xfer
mov x21, x0
lsr w0, w0, #31
bl _unlikely
cbnz x0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x24]
bl _dma_wait_for_completion
bl _local_irq_restore
add w22, w22, #1
cmp w19, w22
b.ne LBB0_2
b LBB0_6
LBB0_4:
mov w21, #0
b LBB0_6
LBB0_5:
bl _local_irq_restore
LBB0_6:
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _AICA_PERIOD_NUMBER,4,2 ; @AICA_PERIOD_NUMBER
.comm _AICA_DMA_CHANNEL,4,2 ; @AICA_DMA_CHANNEL
.comm _AICA_BUFFER_SIZE,4,2 ; @AICA_BUFFER_SIZE
.comm _AICA_PERIOD_SIZE,4,2 ; @AICA_PERIOD_SIZE
.comm _AICA_CHANNEL0_OFFSET,8,3 ; @AICA_CHANNEL0_OFFSET
.comm _CHANNEL_OFFSET,4,2 ; @CHANNEL_OFFSET
.comm _AICA_DMA_MODE,4,2 ; @AICA_DMA_MODE
.no_dead_strip _aica_dma_transfer
.subsections_via_symbols
| AnghaBench/linux/sound/sh/extr_aica.c_aica_dma_transfer.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.