x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function init_io_condition_met
_init_io_condition_met: ## @init_io_condition_met
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movq (%rdi), %rax
movq (%rax), %rax
movq (%rax), %r13
callq _init_io_condition_table
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
leal (%r14,%r14,4), %eax
movq %r14, -64(%rbp) ## 8-byte Spill
movslq %eax, %r14
leaq (%rbx,%r14), %rsi
movq %r13, %rdi
callq _nvbios_rd16
movq %rax, -56(%rbp) ## 8-byte Spill
leaq (%rbx,%r14), %rsi
addq $2, %rsi
movq %r13, %rdi
callq _nvbios_rd08
movl %eax, -44(%rbp) ## 4-byte Spill
leaq (%rbx,%r14), %rsi
addq $3, %rsi
movq %r13, %rdi
callq _nvbios_rd08
movl %eax, %r12d
leaq (%rbx,%r14), %rsi
addq $4, %rsi
movq %r13, %rdi
callq _nvbios_rd08
movl %eax, %r14d
leaq L_.str(%rip), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
movl -44(%rbp), %r13d ## 4-byte Reload
movl %r13d, %ecx
movl %r12d, %r8d
movl %eax, %r9d
callq _trace
movq %r15, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq _init_rdvgai
movl %eax, %ecx
andl %r12d, %ecx
xorl %eax, %eax
cmpl %r14d, %ecx
sete %al
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\t[0x%02x] (0x%04x[0x%02x] & 0x%02x) == 0x%02x\n"
.no_dead_strip _init_io_condition_met
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function init_io_condition_met
_init_io_condition_met: ; @init_io_condition_met
.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
mov x19, x0
ldr x8, [x0]
ldr x8, [x8]
ldr x21, [x8]
bl _init_io_condition_table
cbz x0, LBB0_2
; %bb.1:
add w8, w20, w20, lsl #2
add x22, x0, w8, sxtw
mov x0, x21
mov x1, x22
bl _nvbios_rd16
mov x23, x0
add x1, x22, #2
mov x0, x21
bl _nvbios_rd08
mov x24, x0
add x1, x22, #3
mov x0, x21
bl _nvbios_rd08
mov x25, x0
add x1, x22, #4
mov x0, x21
bl _nvbios_rd08
mov x21, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
mov x2, x23
mov x3, x24
mov x4, x25
mov x5, x21
bl _trace
mov x0, x19
mov x1, x23
mov x2, x24
bl _init_rdvgai
and w8, w0, w25
cmp w8, w21
cset w0, eq
LBB0_2:
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 AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\t[0x%02x] (0x%04x[0x%02x] & 0x%02x) == 0x%02x\n"
.no_dead_strip _init_io_condition_met
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_io_condition_met.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GetInfoTable ## -- Begin function GetInfoTable
.p2align 4, 0x90
_GetInfoTable: ## @GetInfoTable
.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 %edi, %r14d
leaq L_.str(%rip), %rdi
callq _GetModuleHandle
leaq L_.str.1(%rip), %rsi
movl %eax, %edi
callq _GetProcAddress
movl %eax, %r12d
movl $16384, %ebx ## imm = 0x4000
movl $16384, %edi ## imm = 0x4000
callq _malloc
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r15
movslq %r12d, %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
movq %r15, %rsi
movl %ebx, %edx
xorl %ecx, %ecx
callq *%r12
cmpl $-1073741820, %eax ## imm = 0xC0000004
jne LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _free
addl %ebx, %ebx
movl %ebx, %edi
callq _malloc
movq %rax, %r15
testq %rax, %rax
jne LBB0_2
jmp LBB0_6
LBB0_3:
testl %eax, %eax
je LBB0_7
## %bb.4:
movq %r15, %rdi
callq _free
LBB0_6:
xorl %r15d, %r15d
LBB0_7:
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ntdll.dll"
L_.str.1: ## @.str.1
.asciz "ZwQuerySystemInformation"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GetInfoTable ; -- Begin function GetInfoTable
.p2align 2
_GetInfoTable: ; @GetInfoTable
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _GetModuleHandle
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _GetProcAddress
mov x21, x0
mov w0, #16384
bl _malloc
mov x20, x0
cbz x0, LBB0_6
; %bb.1:
sxtw x22, w21
mov w21, #16384
mov w23, #4
movk w23, #49152, lsl #16
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
mov x2, x21
mov w3, #0
blr x22
cmp w0, w23
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _free
lsl w21, w21, #1
mov x0, x21
bl _malloc
mov x20, x0
cbnz x0, LBB0_2
b LBB0_6
LBB0_4:
cbz w0, LBB0_6
; %bb.5:
mov x0, x20
bl _free
mov x20, #0
LBB0_6:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ntdll.dll"
l_.str.1: ; @.str.1
.asciz "ZwQuerySystemInformation"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/windows/local/extr_26950.c_GetInfoTable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_fs__rep_contents_dir_entry ## -- Begin function svn_fs_fs__rep_contents_dir_entry
.p2align 4, 0x90
_svn_fs_fs__rep_contents_dir_entry: ## @svn_fs_fs__rep_contents_dir_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r13
movq %r8, %r12
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, -72(%rbp) ## 8-byte Spill
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movl $0, -56(%rbp)
leaq -80(%rbp), %rsi
leaq -56(%rbp), %rdx
movq %r15, %rdi
movq %r14, %rcx
movq %r9, %r8
callq _locate_dir_cache
movq %rax, %rbx
testq %rax, %rax
je LBB0_3
## %bb.1:
leaq -48(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq _get_txn_dir_info
movl %eax, %edi
callq _SVN_ERR
movl -48(%rbp), %eax
movl %eax, -88(%rbp)
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, -104(%rbp)
movq -80(%rbp), %rcx
movq _svn_fs_fs__extract_dir_entry@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r12, (%rsp)
leaq -52(%rbp), %rsi
leaq -104(%rbp), %r9
movq -72(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rdx
callq _svn_cache__get_partial
movl %eax, %edi
callq _SVN_ERR
cmpl $0, -52(%rbp)
je LBB0_3
## %bb.2:
cmpq $0, -96(%rbp)
je LBB0_9
LBB0_3:
leaq -48(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r13, %rcx
movq %r13, %r8
callq _get_dir_contents
movl %eax, %edi
callq _SVN_ERR
testq %rbx, %rbx
je LBB0_6
## %bb.4:
movq -48(%rbp), %rax
imull $150, (%rax), %esi
movq %rbx, %rdi
callq _svn_cache__is_cachable
testq %rax, %rax
je LBB0_6
## %bb.5:
movq -80(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %rbx, %rdi
movq %r13, %rcx
callq _svn_cache__set
movl %eax, %edi
callq _SVN_ERR
LBB0_6:
movq -48(%rbp), %rdi
xorl %ebx, %ebx
movq -64(%rbp), %rsi ## 8-byte Reload
xorl %edx, %edx
callq _svn_fs_fs__find_dir_entry
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %rax, %r14
movq %r12, %rdi
movl $12, %esi
callq _apr_palloc
movq %rax, %rbx
movl 8(%r14), %esi
movq %r12, %rdi
callq _apr_pstrdup
movl %eax, 8(%rbx)
movl 4(%r14), %edi
movq %r12, %rsi
callq _svn_fs_fs__id_copy
movl %eax, 4(%rbx)
movl (%r14), %eax
movl %eax, (%rbx)
LBB0_8:
movq -72(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
LBB0_9:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _svn_fs_fs__extract_dir_entry,4,2 ## @svn_fs_fs__extract_dir_entry
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_fs__rep_contents_dir_entry ; -- Begin function svn_fs_fs__rep_contents_dir_entry
.p2align 2
_svn_fs_fs__rep_contents_dir_entry: ; @svn_fs_fs__rep_contents_dir_entry
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x5
mov x20, x4
mov x21, x3
mov x24, x2
mov x25, x1
mov x19, x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
stp wzr, w8, [sp, #16]
add x1, sp, #8
add x2, sp, #16
mov x0, x25
mov x3, x24
mov x4, x5
bl _locate_dir_cache
mov x23, x0
cbz x0, LBB0_3
; %bb.1:
mov x0, sp
mov x1, x25
mov x2, x24
mov x3, x22
bl _get_txn_dir_info
bl _SVN_ERR
ldr w8, [sp]
str w8, [sp, #40]
str x21, [sp, #24]
ldr x3, [sp, #8]
Lloh3:
adrp x8, _svn_fs_fs__extract_dir_entry@GOTPAGE
Lloh4:
ldr x8, [x8, _svn_fs_fs__extract_dir_entry@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
add x1, sp, #20
add x5, sp, #24
mov x0, x19
mov x2, x23
mov x6, x20
bl _svn_cache__get_partial
bl _SVN_ERR
ldr w8, [sp, #20]
cbz w8, LBB0_3
; %bb.2:
ldr x8, [sp, #32]
cbz x8, LBB0_10
LBB0_3:
mov x0, sp
mov x1, x25
mov x2, x24
mov x3, x22
mov x4, x22
bl _get_dir_contents
bl _SVN_ERR
cbz x23, LBB0_6
; %bb.4:
ldr x8, [sp]
ldr w8, [x8]
mov w9, #150
mul w1, w8, w9
mov x0, x23
bl _svn_cache__is_cachable
cbz x0, LBB0_6
; %bb.5:
ldr x1, [sp, #8]
mov x2, sp
mov x0, x23
mov x3, x22
bl _svn_cache__set
bl _SVN_ERR
LBB0_6:
ldr x0, [sp]
mov x1, x21
mov x2, #0
bl _svn_fs_fs__find_dir_entry
cbz x0, LBB0_8
; %bb.7:
mov x21, x0
mov x0, x20
mov w1, #12
bl _apr_palloc
mov x22, x0
ldr w1, [x21, #8]
mov x0, x20
bl _apr_pstrdup
str w0, [x22, #8]
ldr w0, [x21, #4]
mov x1, x20
bl _svn_fs_fs__id_copy
str w0, [x22, #4]
ldr w8, [x21]
str w8, [x22]
b LBB0_9
LBB0_8:
mov x22, #0
LBB0_9:
str x22, [x19]
LBB0_10:
Lloh6:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
ldr x0, [x8]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _svn_fs_fs__extract_dir_entry,4,2 ; @svn_fs_fs__extract_dir_entry
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_cached_data.c_svn_fs_fs__rep_contents_dir_entry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _perror_with_name ## -- Begin function perror_with_name
.p2align 4, 0x90
_perror_with_name: ## @perror_with_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _errno@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _safe_strerror
movq %rax, %r14
movq %rax, %rdi
callq _strlen
movq %rax, %rbx
movq %r15, %rdi
callq _strlen
leaq (%rbx,%rax), %rdi
addq $3, %rdi
callq _alloca
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
callq _strcpy
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strcat
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
movq _bfd_error_no_error@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_set_error
movq $0, (%r12)
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _error ## TAILCALL
.cfi_endproc
## -- End function
.comm _errno,8,3 ## @errno
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ": "
.comm _bfd_error_no_error,4,2 ## @bfd_error_no_error
L_.str.1: ## @.str.1
.asciz "%s."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _perror_with_name ; -- Begin function perror_with_name
.p2align 2
_perror_with_name: ; @perror_with_name
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x22, _errno@GOTPAGE
Lloh1:
ldr x22, [x22, _errno@GOTPAGEOFF]
ldr x0, [x22]
bl _safe_strerror
mov x20, x0
bl _strlen
mov x21, x0
mov x0, x19
bl _strlen
add x8, x21, x0
add x0, x8, #3
bl _alloca
mov x21, x0
mov x1, x19
bl _strcpy
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _strcat
mov x0, x21
mov x1, x20
bl _strcat
Lloh4:
adrp x8, _bfd_error_no_error@GOTPAGE
Lloh5:
ldr x8, [x8, _bfd_error_no_error@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
bl _bfd_set_error
str xzr, [x22]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _error
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _errno,8,3 ; @errno
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ": "
.comm _bfd_error_no_error,4,2 ; @bfd_error_no_error
l_.str.1: ; @.str.1
.asciz "%s."
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_utils.c_perror_with_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function query_formats
_query_formats: ## @query_formats
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq (%rdi), %rax
movq (%rax), %rax
movq _MODE_WIRES@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
leaq _query_formats.wires_pix_fmts(%rip), %rbx
jmp LBB0_7
LBB0_2:
movq _MODE_COLORMIX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
leaq _query_formats.colormix_pix_fmts(%rip), %rbx
jmp LBB0_7
LBB0_4:
movq _MODE_CANNY@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.5:
leaq _query_formats.canny_pix_fmts(%rip), %rbx
jmp LBB0_7
LBB0_6:
xorl %ebx, %ebx
xorl %edi, %edi
callq _av_assert0
LBB0_7:
movq %rbx, %rdi
callq _ff_make_format_list
testq %rax, %rax
je LBB0_8
## %bb.9:
movq %r14, %rdi
movq %rax, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _ff_set_common_formats ## TAILCALL
LBB0_8:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @query_formats.wires_pix_fmts
_query_formats.wires_pix_fmts:
.long 132 ## 0x84
.long 131 ## 0x83
.p2align 4 ## @query_formats.canny_pix_fmts
_query_formats.canny_pix_fmts:
.long 130 ## 0x82
.long 129 ## 0x81
.long 128 ## 0x80
.long 133 ## 0x85
.long 132 ## 0x84
.long 131 ## 0x83
.p2align 2 ## @query_formats.colormix_pix_fmts
_query_formats.colormix_pix_fmts:
.long 133 ## 0x85
.long 132 ## 0x84
.long 131 ## 0x83
.comm _MODE_WIRES,8,3 ## @MODE_WIRES
.comm _MODE_COLORMIX,8,3 ## @MODE_COLORMIX
.comm _MODE_CANNY,8,3 ## @MODE_CANNY
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _query_formats
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function query_formats
_query_formats: ; @query_formats
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
ldr x8, [x8]
Lloh0:
adrp x9, _MODE_WIRES@GOTPAGE
Lloh1:
ldr x9, [x9, _MODE_WIRES@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x0, _query_formats.wires_pix_fmts@PAGE
Lloh4:
add x0, x0, _query_formats.wires_pix_fmts@PAGEOFF
bl _ff_make_format_list
cbnz x0, LBB0_6
b LBB0_8
LBB0_2:
Lloh5:
adrp x9, _MODE_COLORMIX@GOTPAGE
Lloh6:
ldr x9, [x9, _MODE_COLORMIX@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
Lloh8:
adrp x0, _query_formats.colormix_pix_fmts@PAGE
Lloh9:
add x0, x0, _query_formats.colormix_pix_fmts@PAGEOFF
bl _ff_make_format_list
cbnz x0, LBB0_6
b LBB0_8
LBB0_4:
Lloh10:
adrp x9, _MODE_CANNY@GOTPAGE
Lloh11:
ldr x9, [x9, _MODE_CANNY@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_7
; %bb.5:
Lloh13:
adrp x0, _query_formats.canny_pix_fmts@PAGE
Lloh14:
add x0, x0, _query_formats.canny_pix_fmts@PAGEOFF
bl _ff_make_format_list
cbz x0, LBB0_8
LBB0_6:
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ff_set_common_formats
LBB0_7:
mov w0, #0
bl _av_assert0
mov x0, #0
bl _ff_make_format_list
cbnz x0, LBB0_6
LBB0_8:
Lloh15:
adrp x8, _ENOMEM@GOTPAGE
Lloh16:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _AVERROR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @query_formats.wires_pix_fmts
_query_formats.wires_pix_fmts:
.long 132 ; 0x84
.long 131 ; 0x83
.p2align 2 ; @query_formats.canny_pix_fmts
_query_formats.canny_pix_fmts:
.long 130 ; 0x82
.long 129 ; 0x81
.long 128 ; 0x80
.long 133 ; 0x85
.long 132 ; 0x84
.long 131 ; 0x83
.p2align 2 ; @query_formats.colormix_pix_fmts
_query_formats.colormix_pix_fmts:
.long 133 ; 0x85
.long 132 ; 0x84
.long 131 ; 0x83
.comm _MODE_WIRES,8,3 ; @MODE_WIRES
.comm _MODE_COLORMIX,8,3 ; @MODE_COLORMIX
.comm _MODE_CANNY,8,3 ; @MODE_CANNY
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _query_formats
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_vf_edgedetect.c_query_formats.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tty_pgsignal ## -- Begin function tty_pgsignal
.p2align 4, 0x90
_tty_pgsignal: ## @tty_pgsignal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, -16(%rbp)
movl %edx, -12(%rbp)
callq _tty_pgrp
movq %rax, %rbx
movq _PGRP_NULL@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
je LBB0_2
## %bb.1:
movq _pgsignal_callback@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _pgsignal_filt@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -16(%rbp), %rcx
leaq -12(%rbp), %r9
movq %rbx, %rdi
xorl %esi, %esi
callq _pgrp_iterate
movq %rbx, %rdi
callq _pg_rele
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PGRP_NULL,8,3 ## @PGRP_NULL
.comm _pgsignal_callback,4,2 ## @pgsignal_callback
.comm _pgsignal_filt,4,2 ## @pgsignal_filt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tty_pgsignal ; -- Begin function tty_pgsignal
.p2align 2
_tty_pgsignal: ; @tty_pgsignal
.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
stp w2, w1, [sp, #8]
bl _tty_pgrp
Lloh0:
adrp x8, _PGRP_NULL@GOTPAGE
Lloh1:
ldr x8, [x8, _PGRP_NULL@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_2
; %bb.1:
mov x19, x0
Lloh3:
adrp x8, _pgsignal_callback@GOTPAGE
Lloh4:
ldr x8, [x8, _pgsignal_callback@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
Lloh6:
adrp x8, _pgsignal_filt@GOTPAGE
Lloh7:
ldr x8, [x8, _pgsignal_filt@GOTPAGEOFF]
Lloh8:
ldr w4, [x8]
add x3, sp, #12
add x5, sp, #8
mov w1, #0
bl _pgrp_iterate
mov x0, x19
bl _pg_rele
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PGRP_NULL,8,3 ; @PGRP_NULL
.comm _pgsignal_callback,4,2 ; @pgsignal_callback
.comm _pgsignal_filt,4,2 ; @pgsignal_filt
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/kern/extr_kern_sig.c_tty_pgsignal.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_slice_thread_init ## -- Begin function ff_slice_thread_init
.p2align 4, 0x90
_ff_slice_thread_init: ## @ff_slice_thread_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl (%rdi), %r14d
movq 48(%rdi), %rdi
callq _av_codec_is_encoder
testq %rax, %rax
je LBB0_4
## %bb.1:
movq 8(%rbx), %rax
movq _AV_CODEC_ID_MPEG1VIDEO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.2:
cmpl $2801, 16(%rbx) ## imm = 0xAF1
jge LBB0_3
LBB0_4:
testl %r14d, %r14d
je LBB0_7
## %bb.5:
cmpl $1, %r14d
jg LBB0_12
LBB0_6:
movq $0, 32(%rbx)
jmp LBB0_20
LBB0_7:
xorl %eax, %eax
callq _av_cpu_count
## kill: def $eax killed $eax def $rax
movl 16(%rbx), %esi
testl %esi, %esi
je LBB0_9
## %bb.8:
leal 15(%rsi), %ecx
addl $30, %esi
testl %ecx, %ecx
cmovnsl %ecx, %esi
sarl $4, %esi
movl %eax, %edi
## kill: def $esi killed $esi killed $rsi
callq _FFMIN
LBB0_9:
movl $1, %r14d
cmpl $2, %eax
jl LBB0_11
## %bb.10:
incl %eax
movq _MAX_AUTO_THREADS@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %eax, %edi
callq _FFMIN
movq %rax, %r14
LBB0_11:
movl %r14d, (%rbx)
cmpl $1, %r14d
jle LBB0_6
LBB0_12:
movl $4, %edi
callq _av_mallocz
movq %rax, %r15
movq 40(%rbx), %rdi
movq %rax, (%rdi)
movq 48(%rbx), %rax
movq _FF_CODEC_CAP_SLICE_THREAD_HAS_MF@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
andl (%rax), %ecx
je LBB0_14
## %bb.13:
movq _main_function@GOTPCREL(%rip), %rcx
jmp LBB0_15
LBB0_14:
xorl %ecx, %ecx
LBB0_15:
movq %rcx, _ff_slice_thread_init.mainfunc(%rip)
testq %r15, %r15
je LBB0_18
## %bb.16:
movq _worker_func@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
movq %rbx, %rsi
movl %r14d, %r8d
callq _avpriv_slicethread_create
cmpl $1, %eax
jg LBB0_19
## %bb.17:
movq %r15, %rdi
callq _avpriv_slicethread_free
movq 40(%rbx), %rdi
LBB0_18:
callq _av_freep
LBB0_3:
movl $1, (%rbx)
movq $0, 32(%rbx)
jmp LBB0_20
LBB0_19:
movl %eax, (%rbx)
movq _thread_execute@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
movq _thread_execute2@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%rbx)
LBB0_20:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_ff_slice_thread_init.mainfunc,8,3 ## @ff_slice_thread_init.mainfunc
.comm _AV_CODEC_ID_MPEG1VIDEO,8,3 ## @AV_CODEC_ID_MPEG1VIDEO
.comm _MAX_AUTO_THREADS,4,2 ## @MAX_AUTO_THREADS
.comm _FF_CODEC_CAP_SLICE_THREAD_HAS_MF,4,2 ## @FF_CODEC_CAP_SLICE_THREAD_HAS_MF
.comm _worker_func,4,2 ## @worker_func
.comm _thread_execute,4,2 ## @thread_execute
.comm _thread_execute2,4,2 ## @thread_execute2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_slice_thread_init ; -- Begin function ff_slice_thread_init
.p2align 2
_ff_slice_thread_init: ; @ff_slice_thread_init
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w20, [x0]
ldr x0, [x0, #48]
bl _av_codec_is_encoder
cbz x0, LBB0_3
; %bb.1:
ldr x8, [x19, #8]
Lloh0:
adrp x9, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGE
Lloh1:
ldr x9, [x9, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
ldr w8, [x19, #16]
cmp w8, #2801
b.ge LBB0_16
LBB0_3:
cbz w20, LBB0_6
; %bb.4:
cmp w20, #1
b.gt LBB0_12
LBB0_5:
str xzr, [x19, #32]
b LBB0_18
LBB0_6:
bl _av_cpu_count
; kill: def $w0 killed $w0 def $x0
ldr w8, [x19, #16]
cbz w8, LBB0_8
; %bb.7:
add w9, w8, #15
add w8, w8, #30
cmp w9, #0
csel w8, w8, w9, lt
asr w1, w8, #4
; kill: def $w0 killed $w0 killed $x0
bl _FFMIN
LBB0_8:
cmp w0, #2
b.lt LBB0_10
; %bb.9:
add w0, w0, #1
Lloh3:
adrp x8, _MAX_AUTO_THREADS@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_AUTO_THREADS@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _FFMIN
mov x20, x0
b LBB0_11
LBB0_10:
mov w20, #1
LBB0_11:
str w20, [x19]
cmp w20, #1
b.le LBB0_5
LBB0_12:
mov w0, #4
bl _av_mallocz
mov x21, x0
ldp x0, x8, [x19, #40]
str x21, [x0]
ldr w8, [x8]
Lloh6:
adrp x9, _FF_CODEC_CAP_SLICE_THREAD_HAS_MF@GOTPAGE
Lloh7:
ldr x9, [x9, _FF_CODEC_CAP_SLICE_THREAD_HAS_MF@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _main_function@GOTPAGE
Lloh10:
ldr x10, [x10, _main_function@GOTPAGEOFF]
tst w9, w8
csel x3, xzr, x10, eq
adrp x8, _ff_slice_thread_init.mainfunc@PAGE
str x3, [x8, _ff_slice_thread_init.mainfunc@PAGEOFF]
cbz x21, LBB0_15
; %bb.13:
Lloh11:
adrp x8, _worker_func@GOTPAGE
Lloh12:
ldr x8, [x8, _worker_func@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
mov x0, x21
mov x1, x19
mov x4, x20
bl _avpriv_slicethread_create
cmp w0, #1
b.gt LBB0_17
; %bb.14:
mov x0, x21
bl _avpriv_slicethread_free
ldr x0, [x19, #40]
LBB0_15:
bl _av_freep
LBB0_16:
mov w8, #1
str w8, [x19]
str xzr, [x19, #32]
b LBB0_18
LBB0_17:
str w0, [x19]
Lloh14:
adrp x8, _thread_execute@GOTPAGE
Lloh15:
ldr x8, [x8, _thread_execute@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _thread_execute2@GOTPAGE
Lloh18:
ldr x9, [x9, _thread_execute2@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
stp w9, w8, [x19, #20]
LBB0_18:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_ff_slice_thread_init.mainfunc,8,3 ; @ff_slice_thread_init.mainfunc
.comm _AV_CODEC_ID_MPEG1VIDEO,8,3 ; @AV_CODEC_ID_MPEG1VIDEO
.comm _MAX_AUTO_THREADS,4,2 ; @MAX_AUTO_THREADS
.comm _FF_CODEC_CAP_SLICE_THREAD_HAS_MF,4,2 ; @FF_CODEC_CAP_SLICE_THREAD_HAS_MF
.comm _worker_func,4,2 ; @worker_func
.comm _thread_execute,4,2 ; @thread_execute
.comm _thread_execute2,4,2 ; @thread_execute2
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_pthread_slice.c_ff_slice_thread_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dane_match
_dane_match: ## @dane_match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, -120(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq %rsp, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 8(%rdi), %r12
movq _DANETLS_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl $0, -88(%rbp)
movq _EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -128(%rbp) ## 8-byte Spill
movl $0, -72(%rbp)
testl %r15d, %r15d
jne LBB0_1
## %bb.2:
movq _DANETLS_EE_MASK@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _DANETLS_TA_MASK@GOTPCREL(%rip), %rax
LBB0_3:
cmpl %r15d, (%rbx)
movq _DANETLS_PKIX_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl $-1, %ecx
movl %esi, %edx
cmovgl %ecx, %edx
andl (%rax), %edx
notl %esi
cmpl $0, (%r12)
cmovsl %ecx, %esi
andl %edx, %esi
movl %esi, -108(%rbp) ## 4-byte Spill
testl %esi, 4(%r12)
je LBB0_4
## %bb.5:
movl 32(%r12), %edi
callq _sk_danetls_record_num
movl %eax, -104(%rbp) ## 4-byte Spill
testl %eax, %eax
jle LBB0_4
## %bb.6:
movl %r15d, -100(%rbp) ## 4-byte Spill
movq %r14, -80(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %eax, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl -52(%rbp), %eax ## 4-byte Reload
movl %eax, -84(%rbp) ## 4-byte Spill
movl %eax, -68(%rbp) ## 4-byte Spill
xorl %ecx, %ecx
movq %rcx, -64(%rbp) ## 8-byte Spill
movl %eax, %r14d
jmp LBB0_7
LBB0_4:
xorl %edi, %edi
xorl %r15d, %r15d
jmp LBB0_31
LBB0_16: ## in Loop: Header=BB0_7 Depth=1
movl %ecx, %r14d
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_7 Depth=1
incl %r15d
cmpl %r15d, -104(%rbp) ## 4-byte Folded Reload
je LBB0_18
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl 32(%r12), %edi
movl %r15d, %esi
callq _sk_danetls_record_value
movq %rax, %r13
movl (%rax), %edi
callq _DANETLS_USAGE_BIT
testl %eax, -108(%rbp) ## 4-byte Folded Reload
je LBB0_17
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl (%r13), %eax
cmpl -52(%rbp), %eax ## 4-byte Folded Reload
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq _DANETLS_NONE@GOTPCREL(%rip), %rcx
movl (%rcx), %r14d
movq 24(%r12), %rcx
movq (%rcx), %rcx
movq 8(%r13), %rdx
movl (%rcx,%rdx,4), %ecx
movl %ecx, -68(%rbp) ## 4-byte Spill
movl %eax, -52(%rbp) ## 4-byte Spill
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movl %r14d, %edx
movq %r12, %r14
movl 16(%r13), %r12d
cmpl -84(%rbp), %r12d ## 4-byte Folded Reload
jne LBB0_11
## %bb.13: ## in Loop: Header=BB0_7 Depth=1
movq 8(%r13), %rbx
movq _DANETLS_MATCHING_FULL@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_7 Depth=1
movq %r14, %r12
movl %edx, %ecx
jmp LBB0_20
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
callq _OPENSSL_free
movq -120(%rbp), %rdi ## 8-byte Reload
movl %r12d, %esi
leaq -88(%rbp), %rdx
callq _dane_i2d
testq %rax, %rax
je LBB0_12
## %bb.19: ## in Loop: Header=BB0_7 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
movq _DANETLS_NONE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq 24(%r14), %rax
movq (%rax), %rax
movq 8(%r13), %rbx
movl (%rax,%rbx,4), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movl %r12d, -84(%rbp) ## 4-byte Spill
movq %r14, %r12
jmp LBB0_20
LBB0_15: ## in Loop: Header=BB0_7 Depth=1
movq %r14, %r12
movq 24(%r14), %rax
movq (%rax), %rax
movl -68(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax,%rbx,4)
movl %edx, %ecx
jb LBB0_16
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_7 Depth=1
movl %ecx, %eax
cmpq %rax, %rbx
movl %ecx, %r14d
je LBB0_23
## %bb.21: ## in Loop: Header=BB0_7 Depth=1
movq 24(%r12), %rax
movq 8(%rax), %rax
movl %ebx, %ecx
movq (%rax,%rcx,8), %r8
movl -88(%rbp), %esi
movl %esi, -72(%rbp)
testq %r8, %r8
je LBB0_22
## %bb.28: ## in Loop: Header=BB0_7 Depth=1
movq -64(%rbp), %rdi ## 8-byte Reload
movq -128(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdx
leaq -72(%rbp), %rcx
xorl %r9d, %r9d
callq _EVP_Digest
movl %ebx, %ecx
movq %r14, -96(%rbp) ## 8-byte Spill
movl %ebx, %r14d
testl %eax, %eax
jne LBB0_23
jmp LBB0_29
LBB0_22: ## in Loop: Header=BB0_7 Depth=1
movl %ebx, %r14d
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, -96(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_7 Depth=1
movl -72(%rbp), %edx
cmpl 20(%r13), %edx
jne LBB0_17
## %bb.24: ## in Loop: Header=BB0_7 Depth=1
movl 24(%r13), %esi
movq -96(%rbp), %rdi ## 8-byte Reload
callq _memcmp
testq %rax, %rax
jne LBB0_17
## %bb.25:
movl -52(%rbp), %edi ## 4-byte Reload
callq _DANETLS_USAGE_BIT
movq _DANETLS_DANE_MASK@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
testl %eax, (%rcx)
setne %al
je LBB0_26
LBB0_27:
movb %al, %bl
movl -100(%rbp), %eax ## 4-byte Reload
movl %eax, (%r12)
movq %r13, 16(%r12)
movq 8(%r12), %rdi
callq _OPENSSL_free
movq -120(%rbp), %rdi ## 8-byte Reload
movq %rdi, 8(%r12)
callq _X509_up_ref
movl %ebx, %r15d
jmp LBB0_30
LBB0_18:
xorl %r15d, %r15d
LBB0_30:
movq -80(%rbp), %r14 ## 8-byte Reload
movq -64(%rbp), %rdi ## 8-byte Reload
LBB0_31:
callq _OPENSSL_free
LBB0_32:
movq %r14, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_34
## %bb.33:
movl %r15d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movl $-1, %r15d
movq -80(%rbp), %r14 ## 8-byte Reload
jmp LBB0_32
LBB0_29:
movl $-1, %r15d
jmp LBB0_30
LBB0_26:
xorl %r15d, %r15d
cmpl $0, (%r12)
jns LBB0_30
jmp LBB0_27
LBB0_34:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _DANETLS_NONE,4,2 ## @DANETLS_NONE
.comm _EVP_MAX_MD_SIZE,4,2 ## @EVP_MAX_MD_SIZE
.comm _DANETLS_EE_MASK,4,2 ## @DANETLS_EE_MASK
.comm _DANETLS_TA_MASK,4,2 ## @DANETLS_TA_MASK
.comm _DANETLS_PKIX_MASK,4,2 ## @DANETLS_PKIX_MASK
.comm _DANETLS_MATCHING_FULL,8,3 ## @DANETLS_MATCHING_FULL
.comm _DANETLS_DANE_MASK,4,2 ## @DANETLS_DANE_MASK
.no_dead_strip _dane_match
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dane_match
_dane_match: ; @dane_match
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #64
mov x21, x2
stur x1, [x29, #-120] ; 8-byte Folded Spill
mov x23, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _DANETLS_NONE@GOTPAGE
Lloh4:
ldr x8, [x8, _DANETLS_NONE@GOTPAGEOFF]
ldr x20, [x0, #8]
Lloh5:
ldr w8, [x8]
stur w8, [x29, #-100] ; 4-byte Folded Spill
stur wzr, [x29, #-92]
Lloh6:
adrp x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh7:
ldr x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x8, x9, x8
stur x8, [x29, #-128] ; 8-byte Folded Spill
mov sp, x8
Lloh11:
adrp x8, _DANETLS_EE_MASK@GOTPAGE
Lloh12:
ldr x8, [x8, _DANETLS_EE_MASK@GOTPAGEOFF]
Lloh13:
adrp x9, _DANETLS_TA_MASK@GOTPAGE
Lloh14:
ldr x9, [x9, _DANETLS_TA_MASK@GOTPAGEOFF]
stur wzr, [x29, #-96]
cmp w2, #0
csel x8, x8, x9, eq
ldr w8, [x8]
Lloh15:
adrp x9, _DANETLS_PKIX_MASK@GOTPAGE
Lloh16:
ldr x9, [x9, _DANETLS_PKIX_MASK@GOTPAGEOFF]
ldr w10, [x0]
Lloh17:
ldr w9, [x9]
cmp w10, w2
csinv w10, w9, wzr, le
and w8, w10, w8
ldp w10, w11, [x20]
cmp w10, #0
mov w10, #-1
csinv w9, w10, w9, lt
and w19, w8, w9
tst w19, w11
b.eq LBB0_20
; %bb.1:
ldr w0, [x20, #32]
bl _sk_danetls_record_num
cmp w0, #1
b.lt LBB0_20
; %bb.2:
mov x24, x0
stur w21, [x29, #-140] ; 4-byte Folded Spill
stur x23, [x29, #-136] ; 8-byte Folded Spill
mov w25, #0
stur xzr, [x29, #-112] ; 8-byte Folded Spill
mov x21, #0
ldur w23, [x29, #-100] ; 4-byte Folded Reload
mov x22, x23
stur w23, [x29, #-104] ; 4-byte Folded Spill
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w25, w25, #1
cmp w24, w25
b.eq LBB0_24
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20, #32]
mov x1, x25
bl _sk_danetls_record_value
mov x27, x0
ldr w0, [x0]
bl _DANETLS_USAGE_BIT
tst w0, w19
b.eq LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x27]
ldur w9, [x29, #-100] ; 4-byte Folded Reload
cmp w8, w9
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
Lloh18:
adrp x9, _DANETLS_NONE@GOTPAGE
Lloh19:
ldr x9, [x9, _DANETLS_NONE@GOTPAGEOFF]
Lloh20:
ldr w23, [x9]
ldr x9, [x20, #24]
ldr x9, [x9]
ldr x10, [x27, #8]
ldr w9, [x9, x10, lsl #2]
stp w9, w8, [x29, #-104] ; 8-byte Folded Spill
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w28, [x27, #16]
cmp w28, w22
b.ne LBB0_11
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x26, [x27, #8]
Lloh21:
adrp x8, _DANETLS_MATCHING_FULL@GOTPAGE
Lloh22:
ldr x8, [x8, _DANETLS_MATCHING_FULL@GOTPAGEOFF]
Lloh23:
ldr x8, [x8]
cmp x26, x8
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20, #24]
ldr x8, [x8]
ldr w8, [x8, x26, lsl #2]
ldur w9, [x29, #-104] ; 4-byte Folded Reload
cmp w8, w9
b.lo LBB0_3
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
cmp x26, w23, uxtw
b.ne LBB0_13
b LBB0_16
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _OPENSSL_free
sub x2, x29, #92
ldur x0, [x29, #-120] ; 8-byte Folded Reload
mov x1, x28
bl _dane_i2d
cbz x0, LBB0_21
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
mov x21, x0
Lloh24:
adrp x8, _DANETLS_NONE@GOTPAGE
Lloh25:
ldr x8, [x8, _DANETLS_NONE@GOTPAGEOFF]
Lloh26:
ldr w23, [x8]
ldr x8, [x20, #24]
ldr x8, [x8]
ldr x26, [x27, #8]
ldr w8, [x8, x26, lsl #2]
stur w8, [x29, #-104] ; 4-byte Folded Spill
mov x22, x28
cmp x26, w23, uxtw
b.eq LBB0_16
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x20, #24]
ldr x8, [x8, #8]
ldr x4, [x8, w26, uxtw #3]
ldur w1, [x29, #-92]
stur w1, [x29, #-96]
cbz x4, LBB0_15
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
sub x3, x29, #96
mov x0, x21
ldur x28, [x29, #-128] ; 8-byte Folded Reload
mov x2, x28
mov w5, #0
bl _EVP_Digest
mov x23, x26
stur x28, [x29, #-112] ; 8-byte Folded Spill
cbnz w0, LBB0_16
b LBB0_22
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
mov x23, x26
stur x21, [x29, #-112] ; 8-byte Folded Spill
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
ldur w2, [x29, #-96]
ldr w8, [x27, #20]
cmp w2, w8
b.ne LBB0_3
; %bb.17: ; in Loop: Header=BB0_4 Depth=1
ldr w1, [x27, #24]
ldur x0, [x29, #-112] ; 8-byte Folded Reload
bl _memcmp
cbnz x0, LBB0_3
; %bb.18:
ldur w0, [x29, #-100] ; 4-byte Folded Reload
bl _DANETLS_USAGE_BIT
Lloh27:
adrp x8, _DANETLS_DANE_MASK@GOTPAGE
Lloh28:
ldr x8, [x8, _DANETLS_DANE_MASK@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
ands w8, w8, w0
cset w22, ne
cbz w8, LBB0_23
LBB0_19:
ldur w8, [x29, #-140] ; 4-byte Folded Reload
str w8, [x20]
str x27, [x20, #16]
ldr x0, [x20, #8]
bl _OPENSSL_free
ldur x0, [x29, #-120] ; 8-byte Folded Reload
str x0, [x20, #8]
bl _X509_up_ref
b LBB0_25
LBB0_20:
mov x21, #0
mov w22, #0
b LBB0_26
LBB0_21:
mov w22, #-1
ldur x23, [x29, #-136] ; 8-byte Folded Reload
b LBB0_27
LBB0_22:
mov w22, #-1
b LBB0_25
LBB0_23:
ldr w8, [x20]
tbnz w8, #31, LBB0_19
LBB0_24:
mov w22, #0
LBB0_25:
ldur x23, [x29, #-136] ; 8-byte Folded Reload
LBB0_26:
mov x0, x21
bl _OPENSSL_free
LBB0_27:
mov sp, x23
ldur x8, [x29, #-88]
Lloh30:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh31:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_29
; %bb.28:
mov x0, x22
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_29:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _DANETLS_NONE,4,2 ; @DANETLS_NONE
.comm _EVP_MAX_MD_SIZE,4,2 ; @EVP_MAX_MD_SIZE
.comm _DANETLS_EE_MASK,4,2 ; @DANETLS_EE_MASK
.comm _DANETLS_TA_MASK,4,2 ; @DANETLS_TA_MASK
.comm _DANETLS_PKIX_MASK,4,2 ; @DANETLS_PKIX_MASK
.comm _DANETLS_MATCHING_FULL,8,3 ; @DANETLS_MATCHING_FULL
.comm _DANETLS_DANE_MASK,4,2 ; @DANETLS_DANE_MASK
.no_dead_strip _dane_match
.subsections_via_symbols
| AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_dane_match.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function b43_gpio_init
_b43_gpio_init: ## @b43_gpio_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _B43_MMIO_MACCTL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _B43_MACCTL_GPOUTSMSK@GOTPCREL(%rip), %rax
movl (%rax), %edx
notl %edx
xorl %ecx, %ecx
callq _b43_maskset32
movq _B43_MMIO_GPIO_MASK@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
movl $-1, %edx
movl $15, %ecx
callq _b43_maskset16
movq (%rbx), %rax
movq 16(%rax), %rax
movq _B43_BFL_PACTRL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_2
## %bb.1:
movl (%r14), %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq _b43_read16
orl $512, %eax ## imm = 0x200
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
callq _b43_write16
LBB0_2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _B43_MMIO_MACCTL,4,2 ## @B43_MMIO_MACCTL
.comm _B43_MACCTL_GPOUTSMSK,4,2 ## @B43_MACCTL_GPOUTSMSK
.comm _B43_MMIO_GPIO_MASK,4,2 ## @B43_MMIO_GPIO_MASK
.comm _B43_BFL_PACTRL,4,2 ## @B43_BFL_PACTRL
.comm _B43_GPIO_CONTROL,4,2 ## @B43_GPIO_CONTROL
.no_dead_strip _b43_gpio_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function b43_gpio_init
_b43_gpio_init: ; @b43_gpio_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
Lloh0:
adrp x8, _B43_MMIO_MACCTL@GOTPAGE
Lloh1:
ldr x8, [x8, _B43_MMIO_MACCTL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _B43_MACCTL_GPOUTSMSK@GOTPAGE
Lloh4:
ldr x8, [x8, _B43_MACCTL_GPOUTSMSK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mvn w2, w8
mov w3, #0
bl _b43_maskset32
Lloh6:
adrp x20, _B43_MMIO_GPIO_MASK@GOTPAGE
Lloh7:
ldr x20, [x20, _B43_MMIO_GPIO_MASK@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x19
mov w2, #-1
mov w3, #15
bl _b43_maskset16
ldr x8, [x19]
ldr x8, [x8, #16]
ldr w8, [x8]
Lloh8:
adrp x9, _B43_BFL_PACTRL@GOTPAGE
Lloh9:
ldr x9, [x9, _B43_BFL_PACTRL@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
ldr w20, [x20]
mov x0, x19
mov x1, x20
bl _b43_read16
orr w2, w0, #0x200
mov x0, x19
mov x1, x20
bl _b43_write16
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _B43_MMIO_MACCTL,4,2 ; @B43_MMIO_MACCTL
.comm _B43_MACCTL_GPOUTSMSK,4,2 ; @B43_MACCTL_GPOUTSMSK
.comm _B43_MMIO_GPIO_MASK,4,2 ; @B43_MMIO_GPIO_MASK
.comm _B43_BFL_PACTRL,4,2 ; @B43_BFL_PACTRL
.comm _B43_GPIO_CONTROL,4,2 ; @B43_GPIO_CONTROL
.no_dead_strip _b43_gpio_init
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_main.c_b43_gpio_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function omap_crtc_mode_valid
_omap_crtc_mode_valid: ## @omap_crtc_mode_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq (%rdi), %rax
movq (%rax), %r15
callq _to_omap_crtc
movq %rax, %rbx
movl $0, -32(%rbp)
leaq -32(%rbp), %rsi
movq %r14, %rdi
callq _drm_display_mode_to_videomode
movq 8(%rbx), %rax
movq (%rax), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%rax), %rax
movq _OMAP_DISPLAY_TYPE_DSI@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_3
LBB0_2:
movq 8(%r15), %rax
movl 4(%r15), %edi
movl (%rbx), %esi
leaq -32(%rbp), %rdx
callq *(%rax)
testl %eax, %eax
jne LBB0_8
LBB0_3:
cmpl $0, (%r15)
je LBB0_6
## %bb.4:
movl (%r14), %eax
imull 4(%r14), %eax
imull 8(%r14), %eax
movl 16(%r14), %esi
imull $4000, %eax, %edi ## imm = 0xFA0
imull 12(%r14), %esi
callq _div_u64
cmpl %eax, (%r15)
jae LBB0_6
## %bb.5:
movq _MODE_BAD@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _MODE_OK@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OMAP_DISPLAY_TYPE_DSI,8,3 ## @OMAP_DISPLAY_TYPE_DSI
.comm _MODE_BAD,4,2 ## @MODE_BAD
.comm _MODE_OK,4,2 ## @MODE_OK
.no_dead_strip _omap_crtc_mode_valid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function omap_crtc_mode_valid
_omap_crtc_mode_valid: ; @omap_crtc_mode_valid
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
ldr x8, [x0]
ldr x21, [x8]
bl _to_omap_crtc
mov x20, x0
str wzr, [sp, #8]
add x1, sp, #8
mov x0, x19
bl _drm_display_mode_to_videomode
ldr x8, [x20, #8]
ldr x8, [x8]
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
ldr x8, [x8]
Lloh0:
adrp x9, _OMAP_DISPLAY_TYPE_DSI@GOTPAGE
Lloh1:
ldr x9, [x9, _OMAP_DISPLAY_TYPE_DSI@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_3
LBB0_2:
ldr x8, [x21, #8]
ldr x8, [x8]
ldr w0, [x21, #4]
ldr w1, [x20]
add x2, sp, #8
blr x8
cbnz w0, LBB0_8
LBB0_3:
ldr w8, [x21]
cbz w8, LBB0_6
; %bb.4:
ldp w8, w9, [x19]
mul w8, w8, w9
ldp w9, w10, [x19, #8]
mul w8, w8, w9
mov w9, #4000
mul w0, w8, w9
ldr w8, [x19, #16]
mul w1, w8, w10
bl _div_u64
ldr w8, [x21]
cmp w8, w0
b.hs LBB0_6
; %bb.5:
Lloh3:
adrp x8, _MODE_BAD@GOTPAGE
Lloh4:
ldr x8, [x8, _MODE_BAD@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh5:
adrp x8, _MODE_OK@GOTPAGE
Lloh6:
ldr x8, [x8, _MODE_OK@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _OMAP_DISPLAY_TYPE_DSI,8,3 ; @OMAP_DISPLAY_TYPE_DSI
.comm _MODE_BAD,4,2 ; @MODE_BAD
.comm _MODE_OK,4,2 ; @MODE_OK
.no_dead_strip _omap_crtc_mode_valid
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_crtc.c_omap_crtc_mode_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function drv_read
_drv_read: ## @drv_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 $56, %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
xorl %eax, %eax
callq _AssertTCB
movq %r14, %rdi
callq _assert
xorl %eax, %eax
callq _SetSP
leaq -88(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
leaq L_.str(%rip), %rdi
callq _T_CALLED
movl %ebx, %edi
callq _T
movl (%rbx), %edi
leaq -48(%rbp), %rcx
movq %r15, %rsi
movl $1, %edx
callq _ReadConsoleInput
testq %rax, %rax
je LBB0_11
## %bb.1:
movq _KEY_EVENT@GOTPCREL(%rip), %r13
leaq -88(%rbp), %r15
leaq -48(%rbp), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl (%rbx), %edi
movq %r15, %rsi
movl $1, %edx
movq %r12, %rcx
callq _ReadConsoleInput
testq %rax, %rax
je LBB0_11
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, -48(%rbp)
jle LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rax
cmpq (%r13), %rax
jne LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -56(%rbp)
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -64(%rbp), %eax
movl %eax, (%r14)
testl %eax, %eax
jne LBB0_11
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl -72(%rbp), %esi
movq %rbx, %rdi
callq _MapKey
movl %eax, (%r14)
testl %eax, %eax
js LBB0_7
jmp LBB0_11
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movq _MOUSE_EVENT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movl -80(%rbp), %esi
movq %rbx, %rdi
callq _handle_mouse
testq %rax, %rax
je LBB0_7
## %bb.10:
movq _KEY_MOUSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
LBB0_11:
movl $1, %edi
callq _returnCode
addq $56, %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 "win32con::drv_read(%p)"
.comm _KEY_EVENT,8,3 ## @KEY_EVENT
.comm _MOUSE_EVENT,8,3 ## @MOUSE_EVENT
.comm _KEY_MOUSE,4,2 ## @KEY_MOUSE
.no_dead_strip _drv_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function drv_read
_drv_read: ; @drv_read
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _AssertTCB
mov x0, x19
bl _assert
bl _SetSP
add x0, sp, #8
mov w1, #0
mov w2, #40
bl _memset
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _T_CALLED
mov x0, x20
bl _T
ldr w0, [x20]
add x1, sp, #8
mov x3, sp
mov w2, #1
bl _ReadConsoleInput
cbz x0, LBB0_11
; %bb.1:
Lloh2:
adrp x21, _KEY_EVENT@GOTPAGE
Lloh3:
ldr x21, [x21, _KEY_EVENT@GOTPAGEOFF]
Lloh4:
adrp x22, _MOUSE_EVENT@GOTPAGE
Lloh5:
ldr x22, [x22, _MOUSE_EVENT@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x20]
add x1, sp, #8
mov x3, sp
mov w2, #1
bl _ReadConsoleInput
cbz x0, LBB0_11
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
cmp x8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #8]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_8
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #40]
cbz w8, LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #32]
str w8, [x19]
cbnz w8, LBB0_11
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr w1, [sp, #24]
mov x0, x20
bl _MapKey
str w0, [x19]
tbnz w0, #31, LBB0_2
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_2
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr w1, [sp, #16]
mov x0, x20
bl _handle_mouse
cbz x0, LBB0_2
; %bb.10:
Lloh6:
adrp x8, _KEY_MOUSE@GOTPAGE
Lloh7:
ldr x8, [x8, _KEY_MOUSE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
str w8, [x19]
LBB0_11:
mov w0, #1
bl _returnCode
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "win32con::drv_read(%p)"
.comm _KEY_EVENT,8,3 ; @KEY_EVENT
.comm _MOUSE_EVENT,8,3 ; @MOUSE_EVENT
.comm _KEY_MOUSE,4,2 ; @KEY_MOUSE
.no_dead_strip _drv_read
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ncurses/ncurses/win32con/extr_win_driver.c_drv_read.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/132952855.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GspWriteMemSafe
_GspWriteMemSafe: ## @GspWriteMemSafe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %esi, -4(%rbp)
movq _MMDBG_COPY_UNSAFE@GOTPCREL(%rip), %rax
movq _MMDBG_COPY_WRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
leaq -4(%rbp), %rsi
## kill: def $edi killed $edi killed $rdi
movl $1, %edx
callq _MmDbgCopyMemory
movl %eax, %edi
callq _NT_SUCCESS
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _GspMemoryError@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
LBB0_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MMDBG_COPY_UNSAFE,4,2 ## @MMDBG_COPY_UNSAFE
.comm _MMDBG_COPY_WRITE,4,2 ## @MMDBG_COPY_WRITE
.comm _TRUE,4,2 ## @TRUE
.comm _GspMemoryError,4,2 ## @GspMemoryError
.no_dead_strip _GspWriteMemSafe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GspWriteMemSafe
_GspWriteMemSafe: ; @GspWriteMemSafe
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _MMDBG_COPY_UNSAFE@GOTPAGE
Lloh1:
ldr x8, [x8, _MMDBG_COPY_UNSAFE@GOTPAGEOFF]
stur w1, [x29, #-4]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _MMDBG_COPY_WRITE@GOTPAGE
Lloh4:
ldr x9, [x9, _MMDBG_COPY_WRITE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w3, w9, w8
sub x1, x29, #4
; kill: def $w0 killed $w0 killed $x0
mov w2, #1
bl _MmDbgCopyMemory
bl _NT_SUCCESS
cbnz w0, LBB0_2
; %bb.1:
Lloh6:
adrp x8, _TRUE@GOTPAGE
Lloh7:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _GspMemoryError@GOTPAGE
Lloh10:
ldr x9, [x9, _GspMemoryError@GOTPAGEOFF]
Lloh11:
str w8, [x9]
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _MMDBG_COPY_UNSAFE,4,2 ; @MMDBG_COPY_UNSAFE
.comm _MMDBG_COPY_WRITE,4,2 ; @MMDBG_COPY_WRITE
.comm _TRUE,4,2 ; @TRUE
.comm _GspMemoryError,4,2 ; @GspMemoryError
.no_dead_strip _GspWriteMemSafe
.subsections_via_symbols
| AnghaBench/reactos/ntoskrnl/kd/wrappers/extr_gdbstub.c_GspWriteMemSafe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ukbd__probe
_ukbd__probe: ## @ukbd__probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.no_dead_strip _ukbd__probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ukbd__probe
_ukbd__probe: ; @ukbd__probe
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ENXIO@GOTPAGE
Lloh1:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENXIO,4,2 ; @ENXIO
.no_dead_strip _ukbd__probe
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/input/extr_ukbd.c_ukbd__probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bdevname ## -- Begin function bdevname
.p2align 4, 0x90
_bdevname: ## @bdevname
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rdx
movl 8(%rdi), %eax
movq (%rdi), %rcx
movl (%rcx), %esi
movl %eax, %edi
popq %rbp
jmp _disk_name ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bdevname ; -- Begin function bdevname
.p2align 2
_bdevname: ; @bdevname
.cfi_startproc
; %bb.0:
mov x2, x1
ldr w8, [x0, #8]
ldr x9, [x0]
ldr w1, [x9]
mov x0, x8
b _disk_name
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/block/extr_partition-generic.c_bdevname.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ena_com_unmask_intr
_ena_com_unmask_intr: ## @ena_com_unmask_intr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %eax
movl (%rdi), %esi
movl %eax, %edi
popq %rbp
jmp _writel ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ena_com_unmask_intr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ena_com_unmask_intr
_ena_com_unmask_intr: ; @ena_com_unmask_intr
.cfi_startproc
; %bb.0:
ldr w8, [x1]
ldr w1, [x0]
mov x0, x8
b _writel
.cfi_endproc
; -- End function
.no_dead_strip _ena_com_unmask_intr
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/amazon/ena/extr_ena_eth_com.h_ena_com_unmask_intr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movl $100, %esi
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
movl $100, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movl $101, %esi
xorl %eax, %eax
callq _printf
leaq L_str.12(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
movl $102, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
leaq L_str.13(%rip), %rdi
callq _puts
leaq L_.str.8(%rip), %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
leaq L_str.14(%rip), %rdi
callq _puts
leaq L_.str.11(%rip), %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Valor inicial de x: %d \n"
L_.str.2: ## @.str.2
.asciz "Valor de x na mesma linha do pos-incremento: %d \n"
L_.str.3: ## @.str.3
.asciz "Valor de x na linha seguinte ao pos-incremento: %d \n"
L_.str.5: ## @.str.5
.asciz "Valor de x na mesma linha do pre-incremento: %d \n"
L_.str.6: ## @.str.6
.asciz "Valor inicial de y: %d \n"
L_.str.8: ## @.str.8
.asciz "Valor de y na mesma linha do pos-decremento: %d \n"
L_.str.9: ## @.str.9
.asciz "Valor de y na linha seguinte ao pos-decremento: %d \n"
L_.str.11: ## @.str.11
.asciz "Valor de y na mesma linha do pre-decremento: %d \n"
L_str: ## @str
.asciz "\n-------------------- Pos-incremento --------------------- \n"
L_str.12: ## @str.12
.asciz "\n-------------------- Pre-incremento --------------------- \n"
L_str.13: ## @str.13
.asciz "\n-------------------- Pos-decremento --------------------- \n"
L_str.14: ## @str.14
.asciz "\n-------------------- Pre-decremento --------------------- \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w19, #100
str x19, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x0, l_str@PAGE
Lloh3:
add x0, x0, l_str@PAGEOFF
bl _puts
str x19, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #101
str x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
Lloh8:
adrp x0, l_str.12@PAGE
Lloh9:
add x0, x0, l_str.12@PAGEOFF
bl _puts
mov w8, #102
str x8, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w19, #10
str x19, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
Lloh14:
adrp x0, l_str.13@PAGE
Lloh15:
add x0, x0, l_str.13@PAGEOFF
bl _puts
str x19, [sp]
Lloh16:
adrp x0, l_.str.8@PAGE
Lloh17:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w8, #9
str x8, [sp]
Lloh18:
adrp x0, l_.str.9@PAGE
Lloh19:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
Lloh20:
adrp x0, l_str.14@PAGE
Lloh21:
add x0, x0, l_str.14@PAGEOFF
bl _puts
mov w8, #8
str x8, [sp]
Lloh22:
adrp x0, l_.str.11@PAGE
Lloh23:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Valor inicial de x: %d \n"
l_.str.2: ; @.str.2
.asciz "Valor de x na mesma linha do pos-incremento: %d \n"
l_.str.3: ; @.str.3
.asciz "Valor de x na linha seguinte ao pos-incremento: %d \n"
l_.str.5: ; @.str.5
.asciz "Valor de x na mesma linha do pre-incremento: %d \n"
l_.str.6: ; @.str.6
.asciz "Valor inicial de y: %d \n"
l_.str.8: ; @.str.8
.asciz "Valor de y na mesma linha do pos-decremento: %d \n"
l_.str.9: ; @.str.9
.asciz "Valor de y na linha seguinte ao pos-decremento: %d \n"
l_.str.11: ; @.str.11
.asciz "Valor de y na mesma linha do pre-decremento: %d \n"
l_str: ; @str
.asciz "\n-------------------- Pos-incremento --------------------- \n"
l_str.12: ; @str.12
.asciz "\n-------------------- Pre-incremento --------------------- \n"
l_str.13: ; @str.13
.asciz "\n-------------------- Pos-decremento --------------------- \n"
l_str.14: ; @str.14
.asciz "\n-------------------- Pre-decremento --------------------- \n"
.subsections_via_symbols
| the_stack_data/122015774.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_mesg ## -- Begin function print_mesg
.p2align 4, 0x90
_print_mesg: ## @print_mesg
.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 %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, -104(%rbp) ## 8-byte Spill
movq %rsp, -112(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _N_LINES@GOTPCREL(%rip), %r13
movl (%r13), %eax
movq _N_CHARS@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
imulq %r12, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movl (%r13), %ebx
movq %rbx, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq %r15, -72(%rbp) ## 8-byte Spill
movq _N_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %eax
imull %ebx, %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -96(%rbp) ## 8-byte Spill
leaq -124(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq _gettimeofday
movq %rbx, %rdi
callq _localtime
movq %rax, %rbx
movq _N_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq _snprintf
movq %r14, %rdi
callq _strlen
movl %eax, (%r15)
xorl %edi, %edi
movl %eax, %esi
callq _max
movl %eax, -52(%rbp) ## 4-byte Spill
leaq (%r14,%r12), %r15
movq _N_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _hostname@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl (%rbx), %r8d
movl $1900, %r10d ## imm = 0x76C
addl 8(%rbx), %r10d
movl 4(%rbx), %r9d
movl 12(%rbx), %r11d
incl %r11d
movl 16(%rbx), %ebx
subq $8, %rsp
leaq L_.str.1(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
pushq %rbx
pushq %r11
pushq %r10
callq _snprintf
addq $32, %rsp
movq %r15, %rdi
callq _strlen
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, 4(%rcx)
movl -52(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, -52(%rbp) ## 4-byte Spill
movq -80(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rdi
callq _strlen
## kill: def $eax killed $eax def $rax
leal 1(,%rax,4), %edi
callq _malloc
movq %rax, %r15
movq (%rbx), %rsi
movq _VIS_CSTYLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _strvis
movq %r14, -88(%rbp) ## 8-byte Spill
leaq (%r14,%r12,2), %rbx
movq _N_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
movq %r15, %rcx
movq -64(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _snprintf
movq %rbx, %rdi
callq _strlen
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, 8(%rcx)
movl -52(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, -80(%rbp) ## 4-byte Spill
leaq (%r12,%r12,2), %rbx
addq %r14, %rbx
movq _N_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdx
movq %rbx, %rdi
movq %r15, %rcx
movq -64(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _snprintf
movq %rbx, %rdi
callq _strlen
movq -72(%rbp), %r14 ## 8-byte Reload
movl %eax, 12(%r14)
movl -80(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %r15d
movq -88(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,4), %rbx
movq _N_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _snprintf
movq %rbx, %rdi
callq _strlen
movl %eax, 16(%r14)
movl %r15d, %edi
movl %eax, %esi
callq _max
movq -96(%rbp), %rbx ## 8-byte Reload
movw $3335, (%rbx) ## imm = 0xD07
movb $10, 2(%rbx)
addq $3, %rbx
cmpl $0, (%r13)
jle LBB0_8
## %bb.1:
movl %eax, %edx
leal 2(%rdx), %edi
incl %edx
movq -88(%rbp), %rsi ## 8-byte Reload
movq %rsi, %r14
incq %r14
xorl %r15d, %r15d
movq %r12, -120(%rbp) ## 8-byte Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movw $2573, (%rbx) ## imm = 0xA0D
addq $2, %rbx
incq %r15
movslq (%r13), %rax
addq %r12, %r14
cmpq %rax, %r15
jge LBB0_8
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %r15, %rax
imulq %r12, %rax
movb (%rsi,%rax), %al
testb %al, %al
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rcx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movb %al, (%rbx)
incq %rbx
movzbl (%rcx), %eax
incq %rcx
testb %al, %al
jne LBB0_4
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl (%rax,%r15,4), %eax
cmpl %edi, %eax
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl %edx, %r13d
subl %eax, %r13d
leaq 1(%r13), %rdx
movl %edi, %r12d
movq %rbx, %rdi
movl $32, %esi
callq _memset
movl %r12d, %edi
movq -64(%rbp), %rdx ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
addq %r13, %rbx
incq %rbx
movq _N_LINES@GOTPCREL(%rip), %r13
movq -120(%rbp), %r12 ## 8-byte Reload
jmp LBB0_7
LBB0_8:
movb $0, (%rbx)
movq -96(%rbp), %rax ## 8-byte Reload
movq %rax, -144(%rbp)
subl %eax, %ebx
movl %ebx, -136(%rbp)
movq _RING_WAIT@GOTPCREL(%rip), %rax
movq (%rax), %rcx
addq $-5, %rcx
leaq -144(%rbp), %rdi
movl $1, %esi
movq -104(%rbp), %rdx ## 8-byte Reload
callq _ttymsg
testq %rax, %rax
jne LBB0_9
## %bb.10:
movq _SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_9:
movq _FAILED@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
movq -112(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_13
## %bb.12:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _N_LINES,4,2 ## @N_LINES
.comm _N_CHARS,4,2 ## @N_CHARS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " "
L_.str.1: ## @.str.1
.asciz "Message from Talk_Daemon@%s at %d:%02d on %d/%.2d/%.2d ..."
.comm _hostname,8,3 ## @hostname
.comm _VIS_CSTYLE,4,2 ## @VIS_CSTYLE
L_.str.2: ## @.str.2
.asciz "talk: connection requested by %s@%s"
L_.str.3: ## @.str.3
.asciz "talk: respond with: talk %s@%s"
.comm _RING_WAIT,8,3 ## @RING_WAIT
.comm _FAILED,4,2 ## @FAILED
.comm _SUCCESS,4,2 ## @SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_mesg ; -- Begin function print_mesg
.p2align 2
_print_mesg: ; @print_mesg
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #64
stur x2, [x29, #-120] ; 8-byte Folded Spill
mov x23, x1
mov x8, sp
stp x0, x8, [x29, #-144] ; 16-byte Folded Spill
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x28, _N_LINES@GOTPAGE
Lloh4:
ldr x28, [x28, _N_LINES@GOTPAGEOFF]
ldr w8, [x28]
Lloh5:
adrp x21, _N_CHARS@GOTPAGE
Lloh6:
ldr x21, [x21, _N_CHARS@GOTPAGEOFF]
ldr w27, [x21]
mul x9, x27, x8
add x8, x9, #15
and x8, x8, #0xfffffffffffffff0
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x8
mov sp, x20
ldr w12, [x28]
lsl x8, x12, #2
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x19, x9, x8
mov sp, x19
ldr w8, [x21]
mul w9, w8, w12
add x8, x9, #15
and x8, x8, #0x1fffffff0
Lloh11:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh12:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x8, x9, x8
stur x8, [x29, #-128] ; 8-byte Folded Spill
mov sp, x8
sub x0, x29, #92
mov x1, #0
bl _gettimeofday
sub x0, x29, #92
bl _localtime
mov x24, x0
ldr w1, [x21]
Lloh13:
adrp x2, l_.str@PAGE
Lloh14:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _snprintf
mov x0, x20
bl _strlen
mov x1, x0
str w0, [x19]
mov w0, #0
bl _max
mov x25, x0
add x26, x20, x27
ldr w1, [x21]
Lloh15:
adrp x8, _hostname@GOTPAGE
Lloh16:
ldr x8, [x8, _hostname@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
ldp w9, w10, [x24, #8]
add w9, w9, #1900
add w10, w10, #1
ldp w11, w12, [x24]
ldr w13, [x24, #16]
sub sp, sp, #48
stp x10, x13, [sp, #32]
stp x12, x9, [sp, #16]
stp x8, x11, [sp]
Lloh18:
adrp x2, l_.str.1@PAGE
Lloh19:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x26
bl _snprintf
add sp, sp, #48
mov x0, x26
bl _strlen
mov x1, x0
str w0, [x19, #4]
mov x0, x25
bl _max
mov x24, x0
ldr x0, [x23]
bl _strlen
mov w8, #1
bfi w8, w0, #2, #30
mov x0, x8
bl _malloc
mov x25, x0
ldr x1, [x23]
Lloh20:
adrp x8, _VIS_CSTYLE@GOTPAGE
Lloh21:
ldr x8, [x8, _VIS_CSTYLE@GOTPAGEOFF]
Lloh22:
ldr w2, [x8]
bl _strvis
lsl x22, x27, #1
add x23, x20, x22
ldr w1, [x21]
ldur x26, [x29, #-120] ; 8-byte Folded Reload
stp x25, x26, [sp, #-16]!
Lloh23:
adrp x2, l_.str.2@PAGE
Lloh24:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x23
bl _snprintf
add sp, sp, #16
mov x0, x23
bl _strlen
mov x1, x0
str w0, [x19, #8]
mov x0, x24
bl _max
mov x23, x0
add x8, x22, x27
add x24, x20, x8
ldr w1, [x21]
mov x22, x21
stp x25, x26, [sp, #-16]!
Lloh25:
adrp x2, l_.str.3@PAGE
Lloh26:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x24
bl _snprintf
add sp, sp, #16
mov x0, x24
bl _strlen
mov x1, x0
str w0, [x19, #12]
mov x0, x23
bl _max
mov x21, x0
add x23, x20, x27, lsl #2
ldr w1, [x22]
mov x0, x23
Lloh27:
adrp x2, l_.str@PAGE
Lloh28:
add x2, x2, l_.str@PAGEOFF
bl _snprintf
mov x0, x23
bl _strlen
mov x1, x0
str w0, [x19, #16]
mov x0, x21
bl _max
mov w8, #3335
ldur x9, [x29, #-128] ; 8-byte Folded Reload
strh w8, [x9]
add x21, x9, #3
mov w8, #10
strb w8, [x9, #2]
ldr w8, [x28]
cmp w8, #1
b.lt LBB0_8
; %bb.1:
mov x23, #0
add w24, w0, #2
add w8, w0, #1
stur w8, [x29, #-120] ; 4-byte Folded Spill
add x26, x20, #1
mov w22, #2573
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
strh w22, [x21], #2
add x23, x23, #1
ldrsw x8, [x28]
add x26, x26, x27
cmp x23, x8
b.ge LBB0_8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
mul x8, x23, x27
ldrb w8, [x20, x8]
cbz w8, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x9, x26
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
strb w8, [x21], #1
ldrb w8, [x9], #1
cbnz w8, LBB0_5
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x19, x23, lsl #2]
cmp w8, w24
b.ge LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x25, x20
mov x20, x19
mov x19, x28
ldur w9, [x29, #-120] ; 4-byte Folded Reload
sub w28, w9, w8
add x2, x28, #1
mov x0, x21
mov w1, #32
bl _memset
add x8, x21, x28
mov x28, x19
mov x19, x20
mov x20, x25
add x21, x8, #1
b LBB0_2
LBB0_8:
strb wzr, [x21]
ldur x8, [x29, #-128] ; 8-byte Folded Reload
stur x8, [x29, #-112]
sub w8, w21, w8
stur w8, [x29, #-104]
Lloh29:
adrp x8, _RING_WAIT@GOTPAGE
Lloh30:
ldr x8, [x8, _RING_WAIT@GOTPAGEOFF]
Lloh31:
ldr x8, [x8]
sub x3, x8, #5
sub x0, x29, #112
mov w1, #1
ldur x2, [x29, #-144] ; 8-byte Folded Reload
bl _ttymsg
Lloh32:
adrp x8, _SUCCESS@GOTPAGE
Lloh33:
ldr x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh34:
adrp x9, _FAILED@GOTPAGE
Lloh35:
ldr x9, [x9, _FAILED@GOTPAGEOFF]
cmp x0, #0
csel x8, x8, x9, eq
ldr w0, [x8]
ldur x8, [x29, #-136] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh36:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh37:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.9:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _N_LINES,4,2 ; @N_LINES
.comm _N_CHARS,4,2 ; @N_CHARS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " "
l_.str.1: ; @.str.1
.asciz "Message from Talk_Daemon@%s at %d:%02d on %d/%.2d/%.2d ..."
.comm _hostname,8,3 ; @hostname
.comm _VIS_CSTYLE,4,2 ; @VIS_CSTYLE
l_.str.2: ; @.str.2
.asciz "talk: connection requested by %s@%s"
l_.str.3: ; @.str.3
.asciz "talk: respond with: talk %s@%s"
.comm _RING_WAIT,8,3 ; @RING_WAIT
.comm _FAILED,4,2 ; @FAILED
.comm _SUCCESS,4,2 ; @SUCCESS
.subsections_via_symbols
| AnghaBench/freebsd/libexec/talkd/extr_announce.c_print_mesg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bhndb_child_location_str
_bhndb_child_location_str: ## @bhndb_child_location_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %r14
movq %rdx, %rbx
callq _device_get_softc
movq (%rax), %rcx
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq _snprintf
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "base=0x%llx"
.no_dead_strip _bhndb_child_location_str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bhndb_child_location_str
_bhndb_child_location_str: ; @bhndb_child_location_str
.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, x3
mov x20, x2
bl _device_get_softc
ldr x3, [x0]
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov x1, x19
bl _snprintf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "base=0x%llx"
.no_dead_strip _bhndb_child_location_str
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bhnd/bhndb/extr_bhndb.c_bhndb_child_location_str.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __ufshcd_suspend_clkscaling
___ufshcd_suspend_clkscaling: ## @__ufshcd_suspend_clkscaling
.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 16(%rdi), %edi
callq _devfreq_suspend_device
movq (%rbx), %rax
movl (%rax), %edi
callq _spin_lock_irqsave
movq $0, 8(%rbx)
movq (%rbx), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip ___ufshcd_suspend_clkscaling
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __ufshcd_suspend_clkscaling
___ufshcd_suspend_clkscaling: ; @__ufshcd_suspend_clkscaling
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #16]
bl _devfreq_suspend_device
ldr x8, [x19]
ldr w0, [x8]
bl _spin_lock_irqsave
str xzr, [x19, #8]
ldr x8, [x19]
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
.cfi_endproc
; -- End function
.no_dead_strip ___ufshcd_suspend_clkscaling
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c___ufshcd_suspend_clkscaling.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/62636570.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function FillDistancesPrices
_FillDistancesPrices: ## @FillDistancesPrices
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _kNumFullDistances@GOTPCREL(%rip), %r13
movl (%r13), %r12d
movq %r12, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq _kStartPosModelIndex@GOTPCREL(%rip), %rax
movslq (%rax), %r14
cmpl %r12d, %r14d
jge LBB0_1
.p2align 4, 0x90
LBB0_20: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
callq _GetPosSlot1
movl %eax, %ecx
sarl %ecx
decl %ecx
movl %eax, %esi
andl $1, %esi
orl $2, %esi
shll %cl, %esi
notl %eax
addl (%r15), %eax
leal (%rax,%rsi), %edi
movl %r14d, %edx
subl %esi, %edx
movl 40(%r15), %eax
movl %ecx, %esi
movl %eax, %ecx
callq _RcTree_ReverseGetPrice
movl %eax, (%rbx,%r14,4)
incq %r14
movslq (%r13), %rax
cmpq %rax, %r14
jl LBB0_20
LBB0_1:
movq %rbx, -64(%rbp) ## 8-byte Spill
movq _kNumLenToPosStates@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_15
## %bb.2:
xorl %r13d, %r13d
movq _kNumAlignBits@GOTPCREL(%rip), %rsi
movq _kNumBitPriceShiftBits@GOTPCREL(%rip), %rdi
movq %r15, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %r13 ## 8-byte Reload
incq %r13
movq _kNumLenToPosStates@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r13
movq _kNumAlignBits@GOTPCREL(%rip), %rsi
movq _kNumBitPriceShiftBits@GOTPCREL(%rip), %rdi
movq -56(%rbp), %r15 ## 8-byte Reload
jge LBB0_15
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_8 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_13 Depth 2
movq 8(%r15), %rax
movq (%rax,%r13,8), %r12
movl 16(%r15), %ecx
testl %ecx, %ecx
jle LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 48(%r15), %rax
movq (%rax,%r13,8), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq _kNumPosSlotBits@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 40(%r15), %ecx
movq %r14, %rdi
movl %ebx, %edx
callq _RcTree_GetPrice
movl %eax, (%r12,%rbx,4)
incq %rbx
movslq 16(%r15), %rcx
cmpq %rcx, %rbx
jl LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq _kNumAlignBits@GOTPCREL(%rip), %rsi
movq _kNumBitPriceShiftBits@GOTPCREL(%rip), %rdi
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq _kEndPosModelIndex@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpl %ecx, %eax
jge LBB0_9
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %eax, %ecx
sarl %ecx
movl (%rsi), %edx
notl %edx
addl %ecx, %edx
movzbl (%rdi), %ecx
shll %cl, %edx
addl %edx, (%r12,%rax,4)
incq %rax
movslq 16(%r15), %rcx
cmpq %rcx, %rax
jl LBB0_8
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
movq 24(%r15), %rax
movq (%rax,%r13,8), %r14
movq _kStartPosModelIndex@GOTPCREL(%rip), %rdx
cmpl $0, (%rdx)
movq %r13, -72(%rbp) ## 8-byte Spill
jle LBB0_10
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r12,%rax,4), %ecx
movl %ecx, (%r14,%rax,4)
incq %rax
movslq (%rdx), %rcx
cmpq %rcx, %rax
jl LBB0_18
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq _kNumFullDistances@GOTPCREL(%rip), %r15
cmpl (%r15), %eax
movq -64(%rbp), %r13 ## 8-byte Reload
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %ebx
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %edi
callq _GetPosSlot1
movl (%r13,%rbx,4), %ecx
addl (%r12,%rax,4), %ecx
movl %ecx, (%r14,%rbx,4)
incq %rbx
cmpl %ebx, (%r15)
jg LBB0_13
jmp LBB0_14
LBB0_15:
movq $0, 32(%r15)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.19:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _kNumFullDistances,4,2 ## @kNumFullDistances
.comm _kStartPosModelIndex,4,2 ## @kStartPosModelIndex
.comm _kNumLenToPosStates,4,2 ## @kNumLenToPosStates
.comm _kNumPosSlotBits,4,2 ## @kNumPosSlotBits
.comm _kEndPosModelIndex,4,2 ## @kEndPosModelIndex
.comm _kNumAlignBits,4,2 ## @kNumAlignBits
.comm _kNumBitPriceShiftBits,4,2 ## @kNumBitPriceShiftBits
.no_dead_strip _FillDistancesPrices
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function FillDistancesPrices
_FillDistancesPrices: ; @FillDistancesPrices
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #16
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, #-88]
Lloh3:
adrp x21, _kNumFullDistances@GOTPAGE
Lloh4:
ldr x21, [x21, _kNumFullDistances@GOTPAGEOFF]
ldr w12, [x21]
lsl x8, x12, #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 x23, x9, x8
mov sp, x23
Lloh7:
adrp x24, _kStartPosModelIndex@GOTPAGE
Lloh8:
ldr x24, [x24, _kStartPosModelIndex@GOTPAGEOFF]
ldrsw x20, [x24]
cmp w20, w12
b.ge LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _GetPosSlot1
asr w8, w0, #1
sub w1, w8, #1
mov w8, #2
bfxil w8, w0, #0, #1
lsl w8, w8, w1
ldr w9, [x19]
mvn w10, w0
add w9, w9, w10
add w0, w9, w8
sub w2, w20, w8
ldr w3, [x19, #40]
bl _RcTree_ReverseGetPrice
str w0, [x23, x20, lsl #2]
add x20, x20, #1
ldrsw x8, [x21]
cmp x20, x8
b.lt LBB0_1
LBB0_2:
Lloh9:
adrp x8, _kNumLenToPosStates@GOTPAGE
Lloh10:
ldr x8, [x8, _kNumLenToPosStates@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_17
; %bb.3:
mov x26, #0
Lloh12:
adrp x27, _kNumPosSlotBits@GOTPAGE
Lloh13:
ldr x27, [x27, _kNumPosSlotBits@GOTPAGEOFF]
Lloh14:
adrp x28, _kNumAlignBits@GOTPAGE
Lloh15:
ldr x28, [x28, _kNumAlignBits@GOTPAGEOFF]
Lloh16:
adrp x25, _kNumBitPriceShiftBits@GOTPAGE
Lloh17:
ldr x25, [x25, _kNumBitPriceShiftBits@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x26, x26, #1
Lloh18:
adrp x8, _kNumLenToPosStates@GOTPAGE
Lloh19:
ldr x8, [x8, _kNumLenToPosStates@GOTPAGEOFF]
Lloh20:
ldrsw x8, [x8]
cmp x26, x8
Lloh21:
adrp x24, _kStartPosModelIndex@GOTPAGE
Lloh22:
ldr x24, [x24, _kStartPosModelIndex@GOTPAGEOFF]
b.ge LBB0_17
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_9 Depth 2
; Child Loop BB0_12 Depth 2
; Child Loop BB0_16 Depth 2
lsl x8, x26, #3
ldr x9, [x19, #8]
ldr x22, [x9, x8]
ldr w9, [x19, #16]
cmp w9, #1
b.lt LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x20, #0
ldr x9, [x19, #48]
ldr x21, [x9, x8]
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w1, [x27]
ldr w3, [x19, #40]
mov x0, x21
mov x2, x20
bl _RcTree_GetPrice
str w0, [x22, x20, lsl #2]
add x20, x20, #1
ldrsw x9, [x19, #16]
cmp x20, x9
b.lt LBB0_7
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
Lloh23:
adrp x8, _kEndPosModelIndex@GOTPAGE
Lloh24:
ldr x8, [x8, _kEndPosModelIndex@GOTPAGEOFF]
Lloh25:
ldrsw x8, [x8]
cmp w8, w9
b.ge LBB0_10
LBB0_9: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x28]
mvn w9, w9
add w9, w9, w8, asr #1
ldr w10, [x25]
lsl w9, w9, w10
lsl x10, x8, #2
ldr w11, [x22, x10]
add w9, w11, w9
str w9, [x22, x10]
add x8, x8, #1
ldrsw x9, [x19, #16]
cmp x8, x9
b.lt LBB0_9
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #24]
ldr x21, [x8, x26, lsl #3]
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_13
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
mov x8, #0
LBB0_12: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
lsl x9, x8, #2
ldr w10, [x22, x9]
str w10, [x21, x9]
add x8, x8, #1
ldrsw x9, [x24]
cmp x8, x9
b.lt LBB0_12
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
mov w8, #0
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
Lloh26:
adrp x24, _kNumFullDistances@GOTPAGE
Lloh27:
ldr x24, [x24, _kNumFullDistances@GOTPAGEOFF]
ldr w9, [x24]
cmp w8, w9
b.ge LBB0_4
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
mov w20, w8
LBB0_16: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
bl _GetPosSlot1
ldr w8, [x22, x0, lsl #2]
lsl x9, x20, #2
ldr w10, [x23, x9]
add w8, w10, w8
str w8, [x21, x9]
add x20, x20, #1
ldr w8, [x24]
cmp w8, w20
b.gt LBB0_16
b LBB0_4
LBB0_17:
str xzr, [x19, #32]
ldur x8, [x29, #-88]
Lloh28:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh29:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_19
; %bb.18:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_19:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _kNumFullDistances,4,2 ; @kNumFullDistances
.comm _kStartPosModelIndex,4,2 ; @kStartPosModelIndex
.comm _kNumLenToPosStates,4,2 ; @kNumLenToPosStates
.comm _kNumPosSlotBits,4,2 ; @kNumPosSlotBits
.comm _kEndPosModelIndex,4,2 ; @kEndPosModelIndex
.comm _kNumAlignBits,4,2 ; @kNumAlignBits
.comm _kNumBitPriceShiftBits,4,2 ; @kNumBitPriceShiftBits
.no_dead_strip _FillDistancesPrices
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/lzma/C/extr_LzmaEnc.c_FillDistancesPrices.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ia64_hpux_reloc_rw_mask
_ia64_hpux_reloc_rw_mask: ## @ia64_hpux_reloc_rw_mask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $3, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ia64_hpux_reloc_rw_mask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ia64_hpux_reloc_rw_mask
_ia64_hpux_reloc_rw_mask: ; @ia64_hpux_reloc_rw_mask
.cfi_startproc
; %bb.0:
mov w0, #3
ret
.cfi_endproc
; -- End function
.no_dead_strip _ia64_hpux_reloc_rw_mask
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_ia64_hpux_reloc_rw_mask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ceph_client_gid ## -- Begin function ceph_client_gid
.p2align 4, 0x90
_ceph_client_gid: ## @ceph_client_gid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movl (%rax), %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 _ceph_client_gid ; -- Begin function ceph_client_gid
.p2align 2
_ceph_client_gid: ; @ceph_client_gid
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w0, [x8]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/net/ceph/extr_ceph_common.c_ceph_client_gid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function emu_midiattach
_emu_midiattach: ## @emu_midiattach
.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 _EMU_INTE@GOTPCREL(%rip), %r14
movl (%r14), %esi
movl $4, %edx
callq _emu_rd
movq _EMU_INTE_MIDIRXENABLE@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl (%r14), %esi
movq %rbx, %rdi
movl %eax, %edx
movl $4, %ecx
callq _emu_wr
movq _emu_intr2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _emu_mpu_class@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
movq %rbx, %rcx
callq _mpu401_init
movl %eax, 4(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EMU_INTE,4,2 ## @EMU_INTE
.comm _EMU_INTE_MIDIRXENABLE,4,2 ## @EMU_INTE_MIDIRXENABLE
.comm _emu_mpu_class,4,2 ## @emu_mpu_class
.comm _emu_intr2,4,2 ## @emu_intr2
.no_dead_strip _emu_midiattach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function emu_midiattach
_emu_midiattach: ; @emu_midiattach
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x20, _EMU_INTE@GOTPAGE
Lloh1:
ldr x20, [x20, _EMU_INTE@GOTPAGEOFF]
ldr w1, [x20]
mov w2, #4
bl _emu_rd
Lloh2:
adrp x8, _EMU_INTE_MIDIRXENABLE@GOTPAGE
Lloh3:
ldr x8, [x8, _EMU_INTE_MIDIRXENABLE@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
orr w2, w8, w0
ldr w1, [x20]
mov x0, x19
mov w3, #4
bl _emu_wr
Lloh5:
adrp x8, _emu_intr2@GOTPAGE
Lloh6:
ldr x8, [x8, _emu_intr2@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
Lloh8:
adrp x0, _emu_mpu_class@GOTPAGE
Lloh9:
ldr x0, [x0, _emu_mpu_class@GOTPAGEOFF]
mov x1, x19
mov x3, x19
bl _mpu401_init
str w0, [x19, #4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _EMU_INTE,4,2 ; @EMU_INTE
.comm _EMU_INTE_MIDIRXENABLE,4,2 ; @EMU_INTE_MIDIRXENABLE
.comm _emu_mpu_class,4,2 ; @emu_mpu_class
.comm _emu_intr2,4,2 ; @emu_intr2
.no_dead_strip _emu_midiattach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/pci/extr_emu10k1.c_emu_midiattach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function release_swap_reader
_release_swap_reader: ## @release_swap_reader
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _free_page
LBB0_2:
movq $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _release_swap_reader
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function release_swap_reader
_release_swap_reader: ; @release_swap_reader
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
bl _free_page
LBB0_2:
str xzr, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _release_swap_reader
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/power/extr_swap.c_release_swap_reader.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _climbStairs ## -- Begin function climbStairs
.p2align 4, 0x90
_climbStairs: ## @climbStairs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
movl $1, %eax
cmpl $2, %edi
jl LBB0_7
## %bb.1:
leal -1(%rdi), %eax
addl $-2, %edi
movl %eax, %ecx
andl $7, %ecx
cmpl $7, %edi
jae LBB0_3
## %bb.2:
movl $1, %edx
movl $1, %esi
jmp LBB0_5
LBB0_3:
andl $-8, %eax
movl $1, %edx
movl $1, %esi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
addl %esi, %edx
addl %edx, %esi
addl %esi, %edx
addl %edx, %esi
addl %esi, %edx
addl %edx, %esi
addl %esi, %edx
addl %edx, %esi
addl $-8, %eax
jne LBB0_4
LBB0_5:
movl %esi, %eax
testl %ecx, %ecx
je LBB0_7
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl %edx, %eax
addl %esi, %eax
movl %esi, %edx
movl %eax, %esi
decl %ecx
jne LBB0_6
LBB0_7:
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 _climbStairs ; -- Begin function climbStairs
.p2align 2
_climbStairs: ; @climbStairs
.cfi_startproc
; %bb.0:
cmp w0, #2
b.ge LBB0_2
; %bb.1:
mov w0, #1
ret
LBB0_2:
sub w8, w0, #1
mov w9, #1
mov w10, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
add w0, w9, w10
mov x9, x10
mov x10, x0
subs w8, w8, #1
b.ne LBB0_3
; %bb.4:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/73575480.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_vorbis_inverse_coupling ## -- Begin function ff_vorbis_inverse_coupling
.p2align 4, 0x90
_ff_vorbis_inverse_coupling: ## @ff_vorbis_inverse_coupling
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdx, %rdx
jle LBB0_10
## %bb.1:
xorl %eax, %eax
xorps %xmm0, %xmm0
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movss %xmm2, (%rsi,%rax,4)
movss (%rdi,%rax,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
subss %xmm1, %xmm2
movss %xmm2, (%rdi,%rax,4)
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
incq %rax
cmpq %rax, %rdx
je LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
movss (%rdi,%rax,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero
ucomiss %xmm0, %xmm2
movss (%rsi,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
jbe LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
ucomiss %xmm0, %xmm1
jbe LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
subss %xmm1, %xmm2
movss %xmm2, (%rsi,%rax,4)
jmp LBB0_9
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
ucomiss %xmm0, %xmm1
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
addss %xmm1, %xmm2
movss %xmm2, (%rsi,%rax,4)
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movss %xmm2, (%rsi,%rax,4)
addss (%rdi,%rax,4), %xmm1
movss %xmm1, (%rdi,%rax,4)
jmp LBB0_9
LBB0_10:
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 _ff_vorbis_inverse_coupling ; -- Begin function ff_vorbis_inverse_coupling
.p2align 2
_ff_vorbis_inverse_coupling: ; @ff_vorbis_inverse_coupling
.cfi_startproc
; %bb.0:
cmp x2, #1
b.ge LBB0_5
LBB0_1:
ret
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
str s1, [x1]
ldr s1, [x0]
fsub s0, s1, s0
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str s0, [x0]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x1, x1, #4
add x0, x0, #4
subs x2, x2, #1
b.eq LBB0_1
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr s1, [x0]
ldr s0, [x1]
fcmp s1, #0.0
b.le LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
fcmp s0, #0.0
b.le LBB0_10
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
fsub s0, s1, s0
str s0, [x1]
b LBB0_4
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
fcmp s0, #0.0
b.le LBB0_2
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
fadd s0, s1, s0
str s0, [x1]
b LBB0_4
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
str s1, [x1]
ldr s1, [x0]
fadd s0, s0, s1
b LBB0_3
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_vorbisdec.c_ff_vorbis_inverse_coupling.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function luaK_exp2val
_luaK_exp2val: ## @luaK_exp2val
.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
movq %rsi, %rdi
callq _hasjumps
movq %r14, %rdi
movq %rbx, %rsi
testq %rax, %rax
je LBB0_2
## %bb.1:
popq %rbx
popq %r14
popq %rbp
jmp _luaK_exp2anyreg ## TAILCALL
LBB0_2:
popq %rbx
popq %r14
popq %rbp
jmp _luaK_dischargevars ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _luaK_exp2val
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function luaK_exp2val
_luaK_exp2val: ; @luaK_exp2val
.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
mov x0, x1
bl _hasjumps
cbz x0, LBB0_2
; %bb.1:
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 _luaK_exp2anyreg
LBB0_2:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _luaK_dischargevars
.cfi_endproc
; -- End function
.no_dead_strip _luaK_exp2val
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_luaK_exp2val.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _find_insn ## -- Begin function find_insn
.p2align 4, 0x90
_find_insn: ## @find_insn
.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, %r14
movq _opcode_offset@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _ARRAY_SIZE
xorl %eax, %eax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rax, %r12
movq (%r15), %r13
movzbl (%r13,%rax), %eax
cmpb (%r14), %al
je LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movq %r13, %rdi
callq _ARRAY_SIZE
movslq %eax, %rcx
leaq 32(%r12), %rax
cmpq %rcx, %rbx
jl LBB0_2
LBB0_3:
movl 24(%r13,%r12), %ecx
testl %ecx, %ecx
jle LBB0_7
## %bb.4:
movslq 4(%r13,%r12), %rax
movb 8(%r13,%r12), %dl
andb (%r14,%rax), %dl
movq _opcode@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq 16(%r13,%r12), %rax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpb %dl, (%rax)
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
incq %rax
decl %ecx
jne LBB0_5
LBB0_7:
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _opcode_offset,8,3 ## @opcode_offset
.comm _opcode,8,3 ## @opcode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _find_insn ; -- Begin function find_insn
.p2align 2
_find_insn: ; @find_insn
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x21, _opcode_offset@GOTPAGE
Lloh1:
ldr x21, [x21, _opcode_offset@GOTPAGEOFF]
ldr x0, [x21]
bl _ARRAY_SIZE
mov x8, #0
mov x22, #0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x23, x8
ldr x20, [x21]
ldrb w8, [x20, x8]
ldrb w9, [x19]
cmp w8, w9
b.eq LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x22, x22, #1
mov x0, x20
bl _ARRAY_SIZE
add x8, x23, #32
cmp x22, w0, sxtw
b.lt LBB0_1
LBB0_3:
add x10, x20, x23
ldr w8, [x10, #24]
cmp w8, #1
b.lt LBB0_7
; %bb.4:
ldrsw x9, [x10, #4]
ldrb w9, [x19, x9]
ldrb w11, [x10, #8]
and w9, w11, w9
Lloh2:
adrp x11, _opcode@GOTPAGE
Lloh3:
ldr x11, [x11, _opcode@GOTPAGEOFF]
Lloh4:
ldr x11, [x11]
ldr x10, [x10, #16]
add x0, x11, x10
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x0]
cmp w10, w9
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x0, x0, #1
subs w8, w8, #1
b.ne LBB0_5
LBB0_7:
mov x0, #0
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _opcode_offset,8,3 ; @opcode_offset
.comm _opcode,8,3 ; @opcode
.subsections_via_symbols
| AnghaBench/linux/arch/s390/kernel/extr_dis.c_find_insn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function is_pseudo_instr_nop
_is_pseudo_instr_nop: ## @is_pseudo_instr_nop
.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), %rcx
movq _lm32_op_addi@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jne LBB0_4
## %bb.1:
cmpl $0, 16(%rdi)
je LBB0_2
LBB0_4:
popq %rbp
retq
LBB0_2:
cmpl $0, 12(%rdi)
jne LBB0_4
## %bb.3:
xorl %eax, %eax
cmpl $0, 8(%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _lm32_op_addi,8,3 ## @lm32_op_addi
.no_dead_strip _is_pseudo_instr_nop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function is_pseudo_instr_nop
_is_pseudo_instr_nop: ; @is_pseudo_instr_nop
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _lm32_op_addi@GOTPAGE
Lloh1:
ldr x9, [x9, _lm32_op_addi@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.1:
ldr w8, [x0, #16]
cbnz w8, LBB0_3
; %bb.2:
ldr w8, [x0, #12]
cbz w8, LBB0_4
LBB0_3:
mov w0, #0
ret
LBB0_4:
ldr w8, [x0, #8]
cmp w8, #0
cset w0, eq
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _lm32_op_addi,8,3 ; @lm32_op_addi
.no_dead_strip _is_pseudo_instr_nop
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/p/extr_asm_lm32.c_is_pseudo_instr_nop.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/52446.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function octeon_flush_cache_mm
_octeon_flush_cache_mm: ## @octeon_flush_cache_mm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _octeon_flush_cache_mm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function octeon_flush_cache_mm
_octeon_flush_cache_mm: ; @octeon_flush_cache_mm
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _octeon_flush_cache_mm
.subsections_via_symbols
| AnghaBench/linux/arch/mips/mm/extr_c-octeon.c_octeon_flush_cache_mm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_s
_add_s: ## @add_s
.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 %rcx, -64(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %r12
movq %rdi, -88(%rbp) ## 8-byte Spill
movq (%rdi), %rdi
leaq -80(%rbp), %rdx
movq %rdi, -72(%rbp) ## 8-byte Spill
movl $3, %esi
callq _lua_tolstring
cmpq $0, -80(%rbp)
je LBB0_12
## %bb.1:
movq %rax, %r14
movq -64(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
subl -48(%rbp), %eax ## 4-byte Folded Reload
movl %eax, -52(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movq _L_ESC@GOTPCREL(%rip), %rbx
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movsbl %al, %esi
movq %r12, %rdi
callq _luaL_addchar
movq %r15, %r13
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
incq %r13
movq %r13, %r15
cmpq -80(%rbp), %r13
jae LBB0_12
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%r15), %eax
cmpb (%rbx), %al
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
leaq 1(%r15), %r13
movsbl 1(%r14,%r15), %edi
callq _uchar
addl $-48, %eax
movzbl 1(%r14,%r15), %ecx
cmpl $10, %eax
jae LBB0_5
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
cmpb $48, %cl
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movl -52(%rbp), %edx ## 4-byte Reload
callq _luaL_addlstring
jmp LBB0_11
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movzbl (%rbx), %eax
cmpb %al, %cl
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movsbl %al, %edx
movq -72(%rbp), %rdi ## 8-byte Reload
leaq L_.str(%rip), %rsi
callq _luaL_error
movzbl (%r14,%r13), %ecx
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movsbl %cl, %esi
movq %r12, %rdi
callq _luaL_addchar
jmp LBB0_11
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
addb $-49, %cl
movsbl %cl, %esi
movq -88(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
callq _push_onecapture
movq %rbx, %r15
movq -72(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl $-1, %esi
xorl %edx, %edx
callq _luaL_tolstring
movq %rbx, %rdi
movq %r15, %rbx
movl $-2, %esi
callq _lua_remove
movq %r12, %rdi
callq _luaL_addvalue
jmp LBB0_11
LBB0_12:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _L_ESC,1,0 ## @L_ESC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid use of '%c' in replacement string"
.no_dead_strip _add_s
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_s
_add_s: ; @add_s
.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, x3
mov x20, x2
mov x21, x1
mov x22, x0
ldr x23, [x0]
add x2, sp, #8
mov x0, x23
mov w1, #3
bl _lua_tolstring
ldr x8, [sp, #8]
cbz x8, LBB0_11
; %bb.1:
mov x24, x0
mov x27, #0
sub w25, w19, w20
Lloh0:
adrp x28, _L_ESC@GOTPAGE
Lloh1:
ldr x28, [x28, _L_ESC@GOTPAGEOFF]
Lloh2:
adrp x26, l_.str@PAGE
Lloh3:
add x26, x26, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
sxtb w1, w8
mov x0, x21
bl _luaL_addchar
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x27, x27, #1
ldr x8, [sp, #8]
cmp x27, x8
b.hs LBB0_11
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x24, x27]
ldrb w9, [x28]
cmp w8, w9
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x27, x27, #1
ldrsb w0, [x24, x27]
bl _uchar
sub w9, w0, #48
ldrb w8, [x24, x27]
cmp w9, #10
b.hs LBB0_8
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w8, #48
b.ne LBB0_10
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
mov x1, x20
mov x2, x25
bl _luaL_addlstring
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldrb w9, [x28]
cmp w8, w9
b.eq LBB0_2
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
sxtb w2, w9
mov x0, x23
mov x1, x26
bl _luaL_error
ldrb w8, [x24, x27]
b LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
sub w8, w8, #49
sxtb w1, w8
mov x0, x22
mov x2, x20
mov x3, x19
bl _push_onecapture
mov x0, x23
mov w1, #-1
mov x2, #0
bl _luaL_tolstring
mov x0, x23
mov w1, #-2
bl _lua_remove
mov x0, x21
bl _luaL_addvalue
b LBB0_3
LBB0_11:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _L_ESC,1,0 ; @L_ESC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid use of '%c' in replacement string"
.no_dead_strip _add_s
.subsections_via_symbols
| AnghaBench/xLua/WebGLPlugins/extr_lstrlib.c_add_s.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function zx_vga_i2c_write
_zx_vga_i2c_write: ## @zx_vga_i2c_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $1, (%rsi)
jne LBB0_2
## %bb.1:
movq 8(%rsi), %rsi
movq _DDC_ADDR@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_2
## %bb.3:
movq _VGA_DEVICE_ADDR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq (%rdi), %rax
movq %rax, %rdi
callq _zx_writel
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DDC_ADDR,8,3 ## @DDC_ADDR
.comm _EINVAL,4,2 ## @EINVAL
.comm _VGA_DEVICE_ADDR,8,3 ## @VGA_DEVICE_ADDR
.no_dead_strip _zx_vga_i2c_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function zx_vga_i2c_write
_zx_vga_i2c_write: ; @zx_vga_i2c_write
.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, [x1]
cmp w8, #1
b.ne LBB0_3
; %bb.1:
ldr x1, [x1, #8]
Lloh0:
adrp x8, _DDC_ADDR@GOTPAGE
Lloh1:
ldr x8, [x8, _DDC_ADDR@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x1, x8
b.ne LBB0_3
; %bb.2:
ldr x8, [x0]
Lloh3:
adrp x9, _VGA_DEVICE_ADDR@GOTPAGE
Lloh4:
ldr x9, [x9, _VGA_DEVICE_ADDR@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x0, x9, x8
bl _zx_writel
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _DDC_ADDR,8,3 ; @DDC_ADDR
.comm _EINVAL,4,2 ; @EINVAL
.comm _VGA_DEVICE_ADDR,8,3 ; @VGA_DEVICE_ADDR
.no_dead_strip _zx_vga_i2c_write
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/zte/extr_zx_vga.c_zx_vga_i2c_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netdev_port_same_parent_id ## -- Begin function netdev_port_same_parent_id
.p2align 4, 0x90
_netdev_port_same_parent_id: ## @netdev_port_same_parent_id
.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 %rsi, %r14
movl $0, -32(%rbp)
movl $0, -24(%rbp)
leaq -32(%rbp), %rsi
movl $1, %edx
callq _dev_get_port_parent_id
xorl %ebx, %ebx
testq %rax, %rax
jne LBB0_3
## %bb.1:
leaq -24(%rbp), %rsi
movq %r14, %rdi
movl $1, %edx
callq _dev_get_port_parent_id
testq %rax, %rax
jne LBB0_3
## %bb.2:
leaq -32(%rbp), %rdi
leaq -24(%rbp), %rsi
callq _netdev_phys_item_id_same
movl %eax, %ebx
LBB0_3:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _netdev_port_same_parent_id ; -- Begin function netdev_port_same_parent_id
.p2align 2
_netdev_port_same_parent_id: ; @netdev_port_same_parent_id
.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
str wzr, [sp, #8]
str wzr, [sp]
add x1, sp, #8
mov w2, #1
bl _dev_get_port_parent_id
mov x8, x0
mov w0, #0
cbnz x8, LBB0_4
; %bb.1:
mov x1, sp
mov x0, x19
mov w2, #1
bl _dev_get_port_parent_id
cbz x0, LBB0_3
; %bb.2:
mov w0, #0
b LBB0_4
LBB0_3:
add x0, sp, #8
mov x1, sp
bl _netdev_phys_item_id_same
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/net/core/extr_dev.c_netdev_port_same_parent_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nft_cmp_offload
_nft_cmp_offload: ## @nft_cmp_offload
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %rdi
callq _nft_expr_priv
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
popq %rbx
popq %r14
popq %rbp
jmp ___nft_cmp_offload ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nft_cmp_offload
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nft_cmp_offload
_nft_cmp_offload: ; @nft_cmp_offload
.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
mov x0, x2
bl _nft_expr_priv
mov x2, x0
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 ___nft_cmp_offload
.cfi_endproc
; -- End function
.no_dead_strip _nft_cmp_offload
.subsections_via_symbols
| AnghaBench/linux/net/netfilter/extr_nft_cmp.c_nft_cmp_offload.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_function ## -- Begin function thread_function
.p2align 4, 0x90
_thread_function: ## @thread_function
.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
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $80, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq L_str(%rip), %rdi
callq _puts
callq _getchar
movl $1, %ebx
leaq -104(%rbp), %r14
leaq _thread_function(%rip), %r15
leaq -112(%rbp), %r12
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _pthread_attr_init
testl %eax, %eax
jne LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movl $1, %esi
callq _pthread_attr_setdetachstate
testl %eax, %eax
jne LBB1_4
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jne LBB1_6
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movq -112(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
testl %eax, %eax
jne LBB1_8
## %bb.9: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
callq _pthread_attr_destroy
testl %eax, %eax
jne LBB1_10
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
incl %ebx
cmpl $104857601, %ebx ## imm = 0x6400001
jne LBB1_1
## %bb.12:
movl $1, %edi
callq _sleep
leaq L_str.7(%rip), %rdi
jmp LBB1_13
LBB1_2:
leaq L_str.11(%rip), %rdi
jmp LBB1_13
LBB1_4:
leaq L_str.10(%rip), %rdi
jmp LBB1_13
LBB1_6:
leaq L_.str.3(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
jmp LBB1_14
LBB1_8:
leaq L_str.9(%rip), %rdi
jmp LBB1_13
LBB1_10:
leaq L_str.8(%rip), %rdi
LBB1_13:
callq _puts
LBB1_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB1_16
## %bb.15:
xorl %eax, %eax
addq $80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "%d - \345\210\233\345\273\272\347\272\277\347\250\213\345\244\261\350\264\245\n"
L_str: ## @str
.asciz "\350\276\223\345\205\245\344\273\273\344\275\225\345\255\227\347\254\246\345\274\200\345\247\213\346\211\247\350\241\214"
L_str.7: ## @str.7
.asciz "\350\277\233\347\250\213\346\211\247\350\241\214\345\256\214\346\210\220\357\274\214\345\215\263\345\260\206\351\200\200\345\207\272"
L_str.8: ## @str.8
.asciz "\345\261\236\346\200\247\351\224\200\346\257\201\345\244\261\350\264\245"
L_str.9: ## @str.9
.asciz "pthread_join()\350\260\203\347\224\250\345\207\272\347\216\260\345\274\202\345\270\270"
L_str.10: ## @str.10
.asciz "\350\256\276\347\275\256\345\217\257\345\210\206\347\246\273\347\212\266\346\200\201\345\244\261\350\264\245"
L_str.11: ## @str.11
.asciz "\345\261\236\346\200\247\350\256\276\347\275\256\345\210\235\345\247\213\345\214\226\345\244\261\350\264\245"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thread_function ; -- Begin function thread_function
.p2align 2
_thread_function: ; @thread_function
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
bl _getchar
mov w20, #0
Lloh5:
adrp x19, _thread_function@PAGE
Lloh6:
add x19, x19, _thread_function@PAGEOFF
mov w21, #104857600
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #24
bl _pthread_attr_init
cbnz w0, LBB1_8
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
add x0, sp, #24
mov w1, #1
bl _pthread_attr_setdetachstate
cbnz w0, LBB1_9
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
add x0, sp, #16
add x1, sp, #24
mov x2, x19
mov x3, #0
bl _pthread_create
cbnz w0, LBB1_10
; %bb.4: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16]
mov x1, #0
bl _pthread_join
cbnz w0, LBB1_11
; %bb.5: ; in Loop: Header=BB1_1 Depth=1
add x0, sp, #24
bl _pthread_attr_destroy
cbnz w0, LBB1_12
; %bb.6: ; in Loop: Header=BB1_1 Depth=1
add w20, w20, #1
cmp w20, w21
b.ne LBB1_1
; %bb.7:
mov w0, #1
bl _sleep
Lloh7:
adrp x0, l_str.7@PAGE
Lloh8:
add x0, x0, l_str.7@PAGEOFF
b LBB1_13
LBB1_8:
Lloh9:
adrp x0, l_str.11@PAGE
Lloh10:
add x0, x0, l_str.11@PAGEOFF
b LBB1_13
LBB1_9:
Lloh11:
adrp x0, l_str.10@PAGE
Lloh12:
add x0, x0, l_str.10@PAGEOFF
b LBB1_13
LBB1_10:
add w8, w20, #1
str x8, [sp]
Lloh13:
adrp x0, l_.str.3@PAGE
Lloh14:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB1_14
LBB1_11:
Lloh15:
adrp x0, l_str.9@PAGE
Lloh16:
add x0, x0, l_str.9@PAGEOFF
b LBB1_13
LBB1_12:
Lloh17:
adrp x0, l_str.8@PAGE
Lloh18:
add x0, x0, l_str.8@PAGEOFF
LBB1_13:
bl _puts
LBB1_14:
ldur x8, [x29, #-40]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_16
; %bb.15:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB1_16:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "%d - \345\210\233\345\273\272\347\272\277\347\250\213\345\244\261\350\264\245\n"
l_str: ; @str
.asciz "\350\276\223\345\205\245\344\273\273\344\275\225\345\255\227\347\254\246\345\274\200\345\247\213\346\211\247\350\241\214"
l_str.7: ; @str.7
.asciz "\350\277\233\347\250\213\346\211\247\350\241\214\345\256\214\346\210\220\357\274\214\345\215\263\345\260\206\351\200\200\345\207\272"
l_str.8: ; @str.8
.asciz "\345\261\236\346\200\247\351\224\200\346\257\201\345\244\261\350\264\245"
l_str.9: ; @str.9
.asciz "pthread_join()\350\260\203\347\224\250\345\207\272\347\216\260\345\274\202\345\270\270"
l_str.10: ; @str.10
.asciz "\350\256\276\347\275\256\345\217\257\345\210\206\347\246\273\347\212\266\346\200\201\345\244\261\350\264\245"
l_str.11: ; @str.11
.asciz "\345\261\236\346\200\247\350\256\276\347\275\256\345\210\235\345\247\213\345\214\226\345\244\261\350\264\245"
.subsections_via_symbols
| the_stack_data/39610.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_all_bytes ## -- Begin function read_all_bytes
.p2align 4, 0x90
_read_all_bytes: ## @read_all_bytes
.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 %rsi, %r13
movq %rdi, %rbx
movq $0, (%rsi)
leaq -184(%rbp), %rsi
callq _stat$INODE64
testl %eax, %eax
je LBB0_1
LBB0_9:
xorl %eax, %eax
LBB0_10:
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _fopen
testq %rax, %rax
je LBB0_2
## %bb.4:
movq %rax, %r14
movq -88(%rbp), %r12
leaq 1(%r12), %rdi
callq _malloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %r15
movb $0, (%rax,%r12)
movl $1, %esi
movq %rax, %rdi
movq %r12, %rdx
movq %r14, %rcx
callq _fread
cmpq %rax, %r12
jne LBB0_8
## %bb.7:
movq %r15, (%r13)
movq -88(%rbp), %rax
jmp LBB0_10
LBB0_2:
leaq L_str(%rip), %rdi
callq _puts
jmp LBB0_9
LBB0_5:
leaq L_str.3(%rip), %rdi
callq _puts
jmp LBB0_9
LBB0_8:
movq %r15, %rdi
callq _free
jmp LBB0_9
.cfi_endproc
## -- End function
.globl _free_all_bytes ## -- Begin function free_all_bytes
.p2align 4, 0x90
_free_all_bytes: ## @free_all_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
L_str: ## @str
.asciz "Read file failed."
L_str.3: ## @str.3
.asciz "Malloc failed."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_all_bytes ; -- Begin function read_all_bytes
.p2align 2
_read_all_bytes: ; @read_all_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.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
str xzr, [x1]
mov x1, sp
bl _stat
mov x8, x0
mov x0, #0
cbnz w8, LBB0_9
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _fopen
cbz x0, LBB0_5
; %bb.2:
mov x21, x0
ldr x22, [sp, #96]
add x0, x22, #1
bl _malloc
cbz x0, LBB0_6
; %bb.3:
mov x20, x0
strb wzr, [x0, x22]
mov w1, #1
mov x2, x22
mov x3, x21
bl _fread
cmp x22, x0
b.ne LBB0_7
; %bb.4:
str x20, [x19]
ldr x0, [sp, #96]
b LBB0_9
LBB0_5:
Lloh2:
adrp x0, l_str@PAGE
Lloh3:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB0_8
LBB0_6:
Lloh4:
adrp x0, l_str.3@PAGE
Lloh5:
add x0, x0, l_str.3@PAGEOFF
bl _puts
b LBB0_8
LBB0_7:
mov x0, x20
bl _free
LBB0_8:
mov x0, #0
LBB0_9:
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #192
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _free_all_bytes ; -- Begin function free_all_bytes
.p2align 2
_free_all_bytes: ; @free_all_bytes
.cfi_startproc
; %bb.0:
b _free
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rb"
l_str: ; @str
.asciz "Read file failed."
l_str.3: ; @str.3
.asciz "Malloc failed."
.subsections_via_symbols
| the_stack_data/656440.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function drm_gtf2_hbreak
_drm_gtf2_hbreak: ## @drm_gtf2_hbreak
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq $0, -8(%rbp)
movq _find_gtf2@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -8(%rbp), %rdx
callq _drm_for_each_detailed_block
movq -8(%rbp), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movl 48(%rax), %eax
addl %eax, %eax
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _find_gtf2,4,2 ## @find_gtf2
.no_dead_strip _drm_gtf2_hbreak
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function drm_gtf2_hbreak
_drm_gtf2_hbreak: ; @drm_gtf2_hbreak
.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
str xzr, [sp, #8]
Lloh0:
adrp x8, _find_gtf2@GOTPAGE
Lloh1:
ldr x8, [x8, _find_gtf2@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #8
bl _drm_for_each_detailed_block
ldr x8, [sp, #8]
cbz x8, LBB0_2
; %bb.1:
ldr w8, [x8, #48]
lsl w0, w8, #1
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _find_gtf2,4,2 ; @find_gtf2
.no_dead_strip _drm_gtf2_hbreak
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/extr_drm_edid.c_drm_gtf2_hbreak.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rcx
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _mkdir_with_parents ## -- Begin function mkdir_with_parents
.p2align 4, 0x90
_mkdir_with_parents: ## @mkdir_with_parents
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r15
movl $47, %esi
callq _strrchr
movzwl %bx, %r14d
testq %rax, %rax
je LBB1_3
## %bb.1:
movq %r15, %rdi
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
testq %rax, %rax
je LBB1_4
## %bb.2:
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
callq _strcpy
movq %rbx, %rdi
movl $47, %esi
callq _strrchr
movb $0, (%rax)
movq %rbx, %rdi
movl %r14d, %esi
callq _mkdir_with_parents
movq %rbx, %rdi
callq _free
LBB1_3:
movq %r15, %rdi
movl %r14d, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _mkdir ## TAILCALL
LBB1_4:
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
movw $493, %r12w ## imm = 0x1ED
leaq L_.str.1(%rip), %rbx
movq _optarg@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl %r15d, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq _getopt
cmpl $112, %eax
je LBB2_1
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
cmpl $-1, %eax
je LBB2_8
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
cmpl $109, %eax
jne LBB2_15
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movq %r13, %r12
movq (%r13), %rdi
callq _setmode
testq %rax, %rax
je LBB2_5
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movq %rax, %r13
movq %rax, %rdi
movl $493, %esi ## imm = 0x1ED
callq _getmode
movw %ax, -42(%rbp) ## 2-byte Spill
movq %r13, %rdi
callq _free
movq %r12, %r13
movzwl -42(%rbp), %r12d ## 2-byte Folded Reload
jmp LBB2_1
LBB2_8:
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %r15d, %eax
je LBB2_15
## %bb.9:
xorl %ebx, %ebx
cmpl %r15d, %eax
jge LBB2_6
## %bb.10:
movl %eax, %r13d
notl %r13d
addl %r15d, %r13d
xorl %ebx, %ebx
movzwl %r12w, %r15d
.p2align 4, 0x90
LBB2_11: ## =>This Inner Loop Header: Depth=1
cltq
movq (%r14,%rax,8), %rdi
movl %r15d, %esi
callq _mkdir_with_parents
movl %eax, %r12d
testl %eax, %eax
jne LBB2_12
LBB2_13: ## in Loop: Header=BB2_11 Depth=1
addl %r12d, %ebx
subl $1, %r13d
jb LBB2_6
## %bb.14: ## in Loop: Header=BB2_11 Depth=1
movq _optind@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB2_11
LBB2_12: ## in Loop: Header=BB2_11 Depth=1
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq (%r14,%rax,8), %rdi
callq _perror
jmp LBB2_13
LBB2_5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%r14), %rdx
movq (%r12), %rcx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %ebx
LBB2_6:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_15:
movq (%r14), %rcx
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: usage: %s [-m mode] [-p] dirname ...\n"
L_.str.1: ## @.str.1
.asciz "m:p"
L_.str.2: ## @.str.2
.asciz "%s: invalid mode '%s'\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stp x0, x0, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x8
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _mkdir_with_parents ; -- Begin function mkdir_with_parents
.p2align 2
_mkdir_with_parents: ; @mkdir_with_parents
.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
mov w1, #47
bl _strrchr
cbz x0, LBB1_3
; %bb.1:
mov x0, x20
bl _strlen
add x0, x0, #1
bl _malloc
cbz x0, LBB1_4
; %bb.2:
mov x21, x0
mov x1, x20
bl _strcpy
mov w1, #47
bl _strrchr
strb wzr, [x0]
mov x0, x21
mov x1, x19
bl _mkdir_with_parents
mov x0, x21
bl _free
LBB1_3:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _mkdir
LBB1_4:
mov w0, #-1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
mov w22, #493
Lloh5:
adrp x24, _optarg@GOTPAGE
Lloh6:
ldr x24, [x24, _optarg@GOTPAGEOFF]
Lloh7:
adrp x21, l_.str.1@PAGE
Lloh8:
add x21, x21, l_.str.1@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
cmp w0, #112
b.eq LBB2_1
; %bb.2: ; in Loop: Header=BB2_1 Depth=1
cmn w0, #1
b.eq LBB2_6
; %bb.3: ; in Loop: Header=BB2_1 Depth=1
cmp w0, #109
b.ne LBB2_15
; %bb.4: ; in Loop: Header=BB2_1 Depth=1
ldr x0, [x24]
bl _setmode
cbz x0, LBB2_13
; %bb.5: ; in Loop: Header=BB2_1 Depth=1
mov x23, x0
mov w1, #493
bl _getmode
mov x22, x0
mov x0, x23
bl _free
b LBB2_1
LBB2_6:
Lloh9:
adrp x23, _optind@GOTPAGE
Lloh10:
ldr x23, [x23, _optind@GOTPAGEOFF]
ldr w8, [x23]
cmp w8, w20
b.eq LBB2_15
; %bb.7:
mov w21, #0
b.ge LBB2_14
; %bb.8:
mvn w9, w8
add w24, w9, w20
and w20, w22, #0xffff
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, w8, sxtw #3]
mov x1, x20
bl _mkdir_with_parents
mov x22, x0
cbnz w0, LBB2_12
; %bb.10: ; in Loop: Header=BB2_9 Depth=1
add w21, w22, w21
cbz w24, LBB2_14
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
ldr w8, [x23]
sub w24, w24, #1
b LBB2_9
LBB2_12: ; in Loop: Header=BB2_9 Depth=1
ldrsw x8, [x23]
ldr x0, [x19, x8, lsl #3]
bl _perror
add w21, w22, w21
cbnz w24, LBB2_11
b LBB2_14
LBB2_13:
Lloh11:
adrp x8, ___stderrp@GOTPAGE
Lloh12:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh13:
ldr x0, [x8]
ldr x8, [x19]
ldr x9, [x24]
stp x8, x9, [sp]
Lloh14:
adrp x1, l_.str.2@PAGE
Lloh15:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w21, #1
LBB2_14:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB2_15:
ldr x8, [x19]
Lloh16:
adrp x9, ___stderrp@GOTPAGE
Lloh17:
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
Lloh18:
ldr x0, [x9]
stp x8, x8, [sp]
Lloh19:
adrp x1, l_.str@PAGE
Lloh20:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: usage: %s [-m mode] [-p] dirname ...\n"
l_.str.1: ; @.str.1
.asciz "m:p"
l_.str.2: ; @.str.2
.asciz "%s: invalid mode '%s'\n"
.subsections_via_symbols
| the_stack_data/678398.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function m5602_dump_bridge
_m5602_dump_bridge: ## @m5602_dump_bridge
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
leaq -33(%rbp), %r14
leaq L_.str(%rip), %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movb $0, -33(%rbp)
movq %r12, %rdi
movl %ebx, %esi
movq %r14, %rdx
callq _m5602_read_bridge
movzbl -33(%rbp), %edx
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _info
incl %ebx
cmpl $128, %ebx
jne LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _info
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ALi m5602 address 0x%x contains 0x%x"
L_.str.1: ## @.str.1
.asciz "Warning: The ALi m5602 webcam probably won't work until it's power cycled"
.no_dead_strip _m5602_dump_bridge
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function m5602_dump_bridge
_m5602_dump_bridge: ; @m5602_dump_bridge
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w20, #0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
strb wzr, [sp, #31]
add x2, sp, #31
mov x0, x19
mov x1, x20
bl _m5602_read_bridge
ldrb w8, [sp, #31]
stp x20, x8, [sp]
mov x0, x21
bl _info
add w20, w20, #1
cmp w20, #128
b.ne LBB0_1
; %bb.2:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _info
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ALi m5602 address 0x%x contains 0x%x"
l_.str.1: ; @.str.1
.asciz "Warning: The ALi m5602 webcam probably won't work until it's power cycled"
.no_dead_strip _m5602_dump_bridge
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_core.c_m5602_dump_bridge.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fun_5 ## -- Begin function fun_5
.p2align 4, 0x90
_fun_5: ## @fun_5
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $5, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fun_6 ## -- Begin function fun_6
.p2align 4, 0x90
_fun_6: ## @fun_6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $6, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fun_5b ## -- Begin function fun_5b
.p2align 4, 0x90
_fun_5b: ## @fun_5b
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $5, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
pushq $40
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "15761788.c"
L_.str.4: ## @.str.4
.asciz "a[0] == 0"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fun_5 ; -- Begin function fun_5
.p2align 2
_fun_5: ; @fun_5
.cfi_startproc
; %bb.0:
mov w0, #5
ret
.cfi_endproc
; -- End function
.globl _fun_6 ; -- Begin function fun_6
.p2align 2
_fun_6: ; @fun_6
.cfi_startproc
; %bb.0:
mov w0, #6
ret
.cfi_endproc
; -- End function
.globl _fun_5b ; -- Begin function fun_5b
.p2align 2
_fun_5b: ; @fun_5b
.cfi_startproc
; %bb.0:
mov w0, #5
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
Lloh0:
adrp x0, l___func__.main@PAGE
Lloh1:
add x0, x0, l___func__.main@PAGEOFF
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
Lloh4:
adrp x3, l_.str.4@PAGE
Lloh5:
add x3, x3, l_.str.4@PAGEOFF
mov w2, #40
bl ___assert_rtn
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "15761788.c"
l_.str.4: ; @.str.4
.asciz "a[0] == 0"
.subsections_via_symbols
| the_stack_data/15761788.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __WLocale_abbrev_monthname ## -- Begin function _WLocale_abbrev_monthname
.p2align 4, 0x90
__WLocale_abbrev_monthname: ## @_WLocale_abbrev_monthname
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %r14
movq %rdx, %rbx
callq __Locale_abbrev_monthname
movl %eax, %edi
movq %rbx, %rsi
movq %r14, %rdx
popq %rbx
popq %r14
popq %rbp
jmp __ToWChar ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __WLocale_abbrev_monthname ; -- Begin function _WLocale_abbrev_monthname
.p2align 2
__WLocale_abbrev_monthname: ; @_WLocale_abbrev_monthname
.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, x3
mov x20, x2
bl __Locale_abbrev_monthname
mov x1, x20
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b __ToWChar
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_abbrev_monthname.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %ebx
leal 32767(%rbx), %esi
testl %ebx, %ebx
cmovnsl %ebx, %esi
leal 4095(%rbx), %edx
testl %ebx, %ebx
cmovnsl %ebx, %edx
leal 511(%rbx), %ecx
testl %ebx, %ebx
cmovnsl %ebx, %ecx
leal 63(%rbx), %r8d
testl %ebx, %ebx
cmovnsl %ebx, %r8d
leal 7(%rbx), %r9d
testl %ebx, %ebx
cmovnsl %ebx, %r9d
movl %r9d, %edi
andl $-8, %edi
movl %ebx, %eax
subl %edi, %eax
sarl $3, %r9d
leal 7(%r9), %edi
testl %r9d, %r9d
cmovnsl %r9d, %edi
andl $-8, %edi
subl %edi, %r9d
sarl $6, %r8d
leal 7(%r8), %edi
testl %r8d, %r8d
cmovnsl %r8d, %edi
andl $-8, %edi
subl %edi, %r8d
sarl $9, %ecx
leal 7(%rcx), %edi
testl %ecx, %ecx
cmovnsl %ecx, %edi
andl $-8, %edi
subl %edi, %ecx
sarl $12, %edx
leal 7(%rdx), %edi
testl %edx, %edx
cmovnsl %edx, %edi
andl $-8, %edi
subl %edi, %edx
sarl $15, %esi
movl %esi, -12(%rbp)
leal 7(%rsi), %edi
testl %esi, %esi
cmovnsl %esi, %edi
andl $-8, %edi
subl %edi, %esi
movl %eax, (%rsp)
leaq L_.str.2(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
## kill: def $edx killed $edx killed $rdx
## kill: def $ecx killed $ecx killed $rcx
## kill: def $r8d killed $r8d killed $r8
## kill: def $r9d killed $r9d killed $r9
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a number: between 0 and 32767:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "In octal, your number is: %d%d%d%d%d%d\n"
L_.str.3: ## @.str.3
.asciz "In octal, your number is: %d\n"
L_.str.4: ## @.str.4
.asciz "In octal, your number is: %x\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, #96
.cfi_def_cfa_offset 96
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #20
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w19, [x29, #-20]
add w8, w19, #7
cmp w19, #0
csel w8, w8, w19, lt
asr w9, w8, #3
and w8, w8, #0xfffffff8
sub w8, w19, w8
and w10, w9, #0x7
negs w9, w9
and w9, w9, #0x7
csneg w9, w10, w9, mi
add w10, w19, #63
cmp w19, #0
csel w10, w10, w19, lt
asr w10, w10, #6
and w11, w10, #0x7
add w12, w19, #511
csel w12, w12, w19, lt
add w13, w19, #4095
csel w13, w13, w19, lt
mov w14, #32767
add w14, w19, w14
csel w14, w14, w19, lt
negs w10, w10
and w10, w10, #0x7
asr w12, w12, #9
and w15, w12, #0x7
csneg w10, w11, w10, mi
negs w11, w12
and w11, w11, #0x7
asr w12, w13, #12
and w13, w12, #0x7
csneg w11, w15, w11, mi
negs w12, w12
and w12, w12, #0x7
csneg w12, w13, w12, mi
asr w13, w14, #15
stur w13, [x29, #-20]
and w14, w13, #0x7
negs w13, w13
and w13, w13, #0x7
csneg w13, w14, w13, mi
stp x11, x10, [sp, #16]
stp x13, x12, [sp]
stp x9, x8, [sp, #32]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x19, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
str x19, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a number: between 0 and 32767:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "In octal, your number is: %d%d%d%d%d%d\n"
l_.str.3: ; @.str.3
.asciz "In octal, your number is: %d\n"
l_.str.4: ; @.str.4
.asciz "In octal, your number is: %x\n"
.subsections_via_symbols
| the_stack_data/187643304.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvkm_gpio_fini
_nvkm_gpio_fini: ## @nvkm_gpio_fini
.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
callq _nvkm_gpio
movq %rax, %rbx
movq (%rax), %rax
movb (%rax), %cl
movq $-1, %rdx
shlq %cl, %rdx
notq %rdx
movq %rdx, -16(%rbp)
movq _NVKM_GPIO_TOGGLED@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rbx, %rdi
xorl %ecx, %ecx
callq *16(%rax)
movq (%rbx), %rax
leaq -16(%rbp), %rdx
movq %rbx, %rdi
movq %rdx, %rsi
callq *8(%rax)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NVKM_GPIO_TOGGLED,4,2 ## @NVKM_GPIO_TOGGLED
.no_dead_strip _nvkm_gpio_fini
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvkm_gpio_fini
_nvkm_gpio_fini: ; @nvkm_gpio_fini
.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
bl _nvkm_gpio
mov x19, x0
ldr x8, [x0]
ldr x9, [x8]
mov x10, #-1
lsl x9, x10, x9
mvn x2, x9
str x2, [sp, #8]
ldr x8, [x8, #16]
Lloh0:
adrp x9, _NVKM_GPIO_TOGGLED@GOTPAGE
Lloh1:
ldr x9, [x9, _NVKM_GPIO_TOGGLED@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
mov w3, #0
blr x8
ldr x8, [x19]
ldr x8, [x8, #8]
add x1, sp, #8
add x2, sp, #8
mov x0, x19
blr x8
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NVKM_GPIO_TOGGLED,4,2 ; @NVKM_GPIO_TOGGLED
.no_dead_strip _nvkm_gpio_fini
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/extr_base.c_nvkm_gpio_fini.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvme_fc_init_io_queues
_nvme_fc_init_io_queues: ## @nvme_fc_init_io_queues
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
cmpl $2, (%rdi)
jl LBB0_3
## %bb.1:
movq %rdi, %r14
movl $1, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _nvme_fc_init_queue
incl %ebx
cmpl (%r14), %ebx
jl LBB0_2
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _nvme_fc_init_io_queues
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvme_fc_init_io_queues
_nvme_fc_init_io_queues: ; @nvme_fc_init_io_queues
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w8, [x0]
cmp w8, #2
b.lt LBB0_3
; %bb.1:
mov x19, x0
mov w20, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _nvme_fc_init_queue
add w20, w20, #1
ldr w8, [x19]
cmp w20, w8
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _nvme_fc_init_io_queues
.subsections_via_symbols
| AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_init_io_queues.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcpoptstrip_tg4
_tcpoptstrip_tg4: ## @tcpoptstrip_tg4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rsi), %r14d
callq _ip_hdrlen
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
movl $8, %ecx
popq %rbx
popq %r14
popq %rbp
jmp _tcpoptstrip_mangle_packet ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _tcpoptstrip_tg4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcpoptstrip_tg4
_tcpoptstrip_tg4: ; @tcpoptstrip_tg4
.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 w20, [x1]
bl _ip_hdrlen
mov x2, x0
mov x0, x19
mov x1, x20
mov w3, #8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _tcpoptstrip_mangle_packet
.cfi_endproc
; -- End function
.no_dead_strip _tcpoptstrip_tg4
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_TCPOPTSTRIP.c_tcpoptstrip_tg4.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 $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $1, %ebx
leaq _calc_elapsed_time.res(%rip), %r12
leaq L_.str(%rip), %r14
movabsq $1000000000000, %r13 ## imm = 0xE8D4A51000
jmp LBB0_1
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.1(%rip), %r15
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
leaq -56(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
movq -56(%rbp), %rax
subq -72(%rbp), %rax
movslq -48(%rbp), %rcx
movslq -64(%rbp), %rdx
subq %rdx, %rcx
imulq $1000000, %rax, %r8 ## imm = 0xF4240
addq %rcx, %r8
movq %r8, %rax
movabsq $4835703278458516699, %rcx ## imm = 0x431BDE82D7B634DB
imulq %rcx
movq %rdx, %rcx
shrq $63, %rcx
sarq $18, %rdx
addq %rdx, %rcx
imulq $1000000, %rcx, %rax ## imm = 0xF4240
subq %rax, %r8
movl $127, %esi
movq %r12, %rdi
leaq L_.str.3(%rip), %rdx
xorl %eax, %eax
callq _snprintf
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq _printf
leaq (%rbx,%rbx,4), %rax
leaq (%rbx,%rax,2), %rbx
cmpq %r13, %rbx
jge LBB0_10
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leaq -72(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
incq %rbx
cmpq $3, %rbx
movl $2, %ecx
movl $2, %esi
cmovgeq %rbx, %rsi
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=2
movq %rbx, %rax
cqto
idivq %rcx
LBB0_7: ## in Loop: Header=BB0_2 Depth=2
incq %rcx
testq %rdx, %rdx
je LBB0_8
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rcx, %rsi
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=2
movq %rbx, %rax
orq %rcx, %rax
shrq $32, %rax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=2
movl %ebx, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %r15
jmp LBB0_9
LBB0_10:
xorl %eax, %eax
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 "%s seconds: %12jd %s prime.\n"
L_.str.1: ## @.str.1
.asciz "is"
L_.str.2: ## @.str.2
.asciz "is not"
.zerofill __DATA,__bss,_calc_elapsed_time.res,128,4 ## @calc_elapsed_time.res
L_.str.3: ## @.str.3
.asciz "%3jd.%06jd"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w22, #16960
movk w22, #15, lsl #16
mov w24, #1
mov w23, #2
Lloh0:
adrp x19, _calc_elapsed_time.res@PAGE
Lloh1:
add x19, x19, _calc_elapsed_time.res@PAGEOFF
Lloh2:
adrp x20, l_.str.3@PAGE
Lloh3:
add x20, x20, l_.str.3@PAGEOFF
Lloh4:
adrp x21, l_.str@PAGE
Lloh5:
add x21, x21, l_.str@PAGEOFF
mov w25, #11
mov x26, #4096
movk x26, #54437, lsl #16
movk x26, #232, lsl #32
Lloh6:
adrp x27, l_.str.2@PAGE
Lloh7:
add x27, x27, l_.str.2@PAGEOFF
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
Lloh8:
adrp x24, l_.str.1@PAGE
Lloh9:
add x24, x24, l_.str.1@PAGEOFF
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #32
mov x1, #0
bl _gettimeofday
ldr x8, [sp, #32]
ldr x9, [sp, #48]
sub x8, x8, x9
ldrsw x9, [sp, #40]
ldrsw x10, [sp, #56]
sub x9, x9, x10
madd x8, x8, x22, x9
sdiv x9, x8, x22
msub x8, x9, x22, x8
stp x9, x8, [sp]
mov x0, x19
mov w1, #127
mov x2, x20
bl _snprintf
stp x28, x24, [sp, #8]
str x19, [sp]
mov x0, x21
bl _printf
mul x24, x28, x25
cmp x24, x26
b.ge LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
add x0, sp, #48
mov x1, #0
bl _gettimeofday
add x28, x24, #1
cmp x28, #2
csinc x8, x23, x24, le
mov w9, #2
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp x8, x9
b.eq LBB0_1
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
sdiv x10, x28, x9
msub x10, x10, x9, x28
add x9, x9, #1
cbnz x10, LBB0_4
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x24, x27
b LBB0_2
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s seconds: %12jd %s prime.\n"
l_.str.1: ; @.str.1
.asciz "is"
l_.str.2: ; @.str.2
.asciz "is not"
.zerofill __DATA,__bss,_calc_elapsed_time.res,128,0 ; @calc_elapsed_time.res
l_.str.3: ; @.str.3
.asciz "%3jd.%06jd"
.subsections_via_symbols
| the_stack_data/9513761.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signal_handler ## -- Begin function signal_handler
.p2align 4, 0x90
_signal_handler: ## @signal_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r15d
movq _signals@GOTPCREL(%rip), %rax
movq (%rax), %rbx
addq $-4, %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl 4(%rbx), %eax
addq $8, %rbx
testl %eax, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl %r15d, %eax
jne LBB0_1
LBB0_3:
xorl %edi, %edi
testl %eax, %eax
setne %dil
callq _ASSERT
leaq L_.str(%rip), %r14
leal -128(%r15), %eax
cmpl $6, %eax
ja LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %rcx
movq _log_level_up@GOTPCREL(%rip), %rsi
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_7:
leaq L_.str.2(%rip), %rcx
movq _log_level_down@GOTPCREL(%rip), %rsi
jmp LBB0_8
LBB0_6:
xorl %eax, %eax
callq _NOT_REACHED
jmp LBB0_10
LBB0_9:
xorl %eax, %eax
callq _log_stacktrace
movl $132, %edi
callq _raise
leaq L_.str.5(%rip), %r14
LBB0_10:
movl (%rbx), %edx
leaq L_.str.6(%rip), %rdi
movl %r15d, %esi
movq %r14, %rcx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _log_safe ## TAILCALL
LBB0_5:
leaq L_.str.3(%rip), %rcx
movq _log_reopen@GOTPCREL(%rip), %rsi
LBB0_8:
movl (%rbx), %edx
leaq L_.str.6(%rip), %rdi
movq %rsi, %rbx
movl %r15d, %esi
callq _log_safe
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_11:
movl (%rbx), %edx
leaq L_.str.6(%rip), %rdi
leaq L_.str.4(%rip), %rcx
movl $133, %esi
callq _log_safe
movl $1, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_10
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_11
.long L0_0_set_5
.end_data_region
## -- End function
.comm _signals,8,3 ## @signals
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz ", up logging level"
L_.str.2: ## @.str.2
.asciz ", down logging level"
L_.str.3: ## @.str.3
.asciz ", reopening log file"
L_.str.4: ## @.str.4
.asciz ", exiting"
L_.str.5: ## @.str.5
.asciz ", core dumping"
L_.str.6: ## @.str.6
.asciz "signal %d (%s) received%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _signal_handler ; -- Begin function signal_handler
.p2align 2
_signal_handler: ; @signal_handler
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _signals@GOTPAGE
Lloh1:
ldr x8, [x8, _signals@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
sub x20, x8, #4
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, #4]
add x20, x20, #8
cmp w8, #0
ccmp w8, w19, #4, ne
b.ne LBB0_1
; %bb.2:
cmp w8, #0
cset w0, ne
bl _ASSERT
sub w9, w19, #128
cmp w9, #6
b.hi LBB0_5
; %bb.3:
Lloh3:
adrp x3, l_.str.1@PAGE
Lloh4:
add x3, x3, l_.str.1@PAGEOFF
Lloh5:
adrp x0, _log_level_up@GOTPAGE
Lloh6:
ldr x0, [x0, _log_level_up@GOTPAGEOFF]
Lloh7:
adrp x8, l_.str@PAGE
Lloh8:
add x8, x8, l_.str@PAGEOFF
Lloh9:
adrp x10, lJTI0_0@PAGE
Lloh10:
add x10, x10, lJTI0_0@PAGEOFF
adr x11, LBB0_4
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_4:
Lloh11:
adrp x3, l_.str.2@PAGE
Lloh12:
add x3, x3, l_.str.2@PAGEOFF
Lloh13:
adrp x0, _log_level_down@GOTPAGE
Lloh14:
ldr x0, [x0, _log_level_down@GOTPAGEOFF]
b LBB0_9
LBB0_5:
bl _NOT_REACHED
Lloh15:
adrp x8, l_.str@PAGE
Lloh16:
add x8, x8, l_.str@PAGEOFF
b LBB0_7
LBB0_6:
bl _log_stacktrace
mov w0, #132
bl _raise
Lloh17:
adrp x8, l_.str.5@PAGE
Lloh18:
add x8, x8, l_.str.5@PAGEOFF
LBB0_7:
ldr w2, [x20]
Lloh19:
adrp x0, l_.str.6@PAGE
Lloh20:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x19
mov x3, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _log_safe
LBB0_8:
Lloh21:
adrp x3, l_.str.3@PAGE
Lloh22:
add x3, x3, l_.str.3@PAGEOFF
Lloh23:
adrp x0, _log_reopen@GOTPAGE
Lloh24:
ldr x0, [x0, _log_reopen@GOTPAGEOFF]
LBB0_9:
str x0, [sp, #8] ; 8-byte Folded Spill
ldr w2, [x20]
Lloh25:
adrp x0, l_.str.6@PAGE
Lloh26:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x19
bl _log_safe
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
br x0
LBB0_10:
ldr w2, [x20]
Lloh27:
adrp x0, l_.str.6@PAGE
Lloh28:
add x0, x0, l_.str.6@PAGEOFF
Lloh29:
adrp x3, l_.str.4@PAGE
Lloh30:
add x3, x3, l_.str.4@PAGEOFF
mov w1, #133
bl _log_safe
mov w0, #1
bl _exit
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_7-LBB0_4)>>2
.byte (LBB0_7-LBB0_4)>>2
.byte (LBB0_4-LBB0_4)>>2
.byte (LBB0_9-LBB0_4)>>2
.byte (LBB0_6-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_8-LBB0_4)>>2
; -- End function
.comm _signals,8,3 ; @signals
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz ", up logging level"
l_.str.2: ; @.str.2
.asciz ", down logging level"
l_.str.3: ; @.str.3
.asciz ", reopening log file"
l_.str.4: ; @.str.4
.asciz ", exiting"
l_.str.5: ; @.str.5
.asciz ", core dumping"
l_.str.6: ; @.str.6
.asciz "signal %d (%s) received%s"
.subsections_via_symbols
| AnghaBench/twemproxy/src/extr_nc_signal.c_signal_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SHA1Final ## -- Begin function SHA1Final
.p2align 4, 0x90
_SHA1Final: ## @SHA1Final
.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, %r13
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq (%rsi), %rax
movl 4(%rax), %ecx
bswapl %ecx
movl %ecx, -56(%rbp)
movb 3(%rax), %cl
movb %cl, -52(%rbp)
movb 2(%rax), %cl
movb %cl, -51(%rbp)
movb 1(%rax), %cl
movb %cl, -50(%rbp)
movb (%rax), %al
movb %al, -49(%rbp)
leaq L_.str(%rip), %rsi
movq %r13, %rdi
movl $1, %edx
callq _SHA1Update
movq (%r13), %rax
movl $504, %r12d ## imm = 0x1F8
movl (%rax), %eax
andl %r12d, %eax
cmpl $448, %eax ## imm = 0x1C0
je LBB0_3
## %bb.1:
leaq l_.str.1(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %r15, %rsi
movl $1, %edx
callq _SHA1Update
movq (%r13), %rax
movl (%rax), %eax
andl %r12d, %eax
cmpl $448, %eax ## imm = 0x1C0
jne LBB0_2
LBB0_3:
leaq -56(%rbp), %rsi
movq %r13, %rdi
movl $8, %edx
callq _SHA1Update
xorl %edx, %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 8(%r13), %rax
movl %esi, %edi
andl $-4, %edi
movl (%rax,%rdi), %ebx
movl %edx, %eax
andb $16, %al
movl %eax, %ecx
xorb $24, %cl
sarl %cl, %ebx
movb %bl, (%r14,%rsi)
movq 8(%r13), %rcx
movl (%rcx,%rdi), %edi
xorb $16, %al
movl %eax, %ecx
sarl %cl, %edi
movb %dil, 1(%r14,%rsi)
addq $2, %rsi
addl $16, %edx
cmpq $20, %rsi
jne LBB0_4
## %bb.5:
movq 16(%r13), %rdi
xorl %esi, %esi
movl $64, %edx
callq _os_memset
movq 8(%r13), %rdi
xorl %esi, %esi
movl $20, %edx
callq _os_memset
movq (%r13), %rdi
xorl %esi, %esi
movl $8, %edx
callq _os_memset
leaq -56(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _os_memset
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_7
## %bb.6:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\200"
.section __TEXT,__const
l_.str.1: ## @.str.1
.space 2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SHA1Final ; -- Begin function SHA1Final
.p2align 2
_SHA1Final: ; @SHA1Final
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
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, #8]
ldr x8, [x1]
ldr w9, [x8, #4]
rev w9, w9
str w9, [sp]
ldrb w9, [x8, #3]
strb w9, [sp, #4]
ldrh w9, [x8, #2]
strb w9, [sp, #5]
ldr w9, [x8]
lsr w9, w9, #8
strb w9, [sp, #6]
ldr w8, [x8]
strb w8, [sp, #7]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov w2, #1
bl _SHA1Update
ldr x8, [x19]
ldr w8, [x8]
and w8, w8, #0x1f8
cmp w8, #448
b.eq LBB0_3
; %bb.1:
Lloh5:
adrp x21, l_.str.1@PAGE
Lloh6:
add x21, x21, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x21
mov w2, #1
bl _SHA1Update
ldr x8, [x19]
ldr w8, [x8]
and w8, w8, #0x1f8
cmp w8, #448
b.ne LBB0_2
LBB0_3:
mov x1, sp
mov x0, x19
mov w2, #8
bl _SHA1Update
mov w8, #0
mov x9, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x10, [x19, #8]
ubfx x11, x9, #2, #30
ldr w10, [x10, x11, lsl #2]
mvn w11, w8
and w11, w11, #0x18
asr w10, w10, w11
strb w10, [x20, x9]
add x9, x9, #1
add w8, w8, #8
cmp x9, #20
b.ne LBB0_4
; %bb.5:
ldr x0, [x19, #16]
mov w1, #0
mov w2, #64
bl _os_memset
ldr x0, [x19, #8]
mov w1, #0
mov w2, #20
bl _os_memset
ldr x0, [x19]
mov w1, #0
mov w2, #8
bl _os_memset
mov x0, sp
mov w1, #0
mov w2, #8
bl _os_memset
ldr x8, [sp, #8]
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_7
; %bb.6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\200"
.section __TEXT,__const
l_.str.1: ; @.str.1
.space 2
.subsections_via_symbols
| AnghaBench/esp-idf/components/wpa_supplicant/src/crypto/extr_sha1-internal.c_SHA1Final.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function twl4030_bci_property_is_writeable
_twl4030_bci_property_is_writeable: ## @twl4030_bci_property_is_writeable
.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
cmpl $128, %esi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _twl4030_bci_property_is_writeable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function twl4030_bci_property_is_writeable
_twl4030_bci_property_is_writeable: ; @twl4030_bci_property_is_writeable
.cfi_startproc
; %bb.0:
cmp w1, #128
cset w0, eq
ret
.cfi_endproc
; -- End function
.no_dead_strip _twl4030_bci_property_is_writeable
.subsections_via_symbols
| AnghaBench/linux/drivers/power/supply/extr_twl4030_charger.c_twl4030_bci_property_is_writeable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -52(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movq %rsp, -64(%rbp) ## 8-byte Spill
movl -52(%rbp), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movl -52(%rbp), %ebx
leaq (,%rbx,4), %r15
movq %r15, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
testl %ebx, %ebx
jle LBB0_2
## %bb.1:
movq %r14, %rdi
movq %r15, %rsi
callq ___bzero
LBB0_2:
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
cmpl $0, -52(%rbp)
jle LBB0_5
## %bb.3:
leaq L_.str.1(%rip), %r15
movq %r13, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -52(%rbp), %rax
addq $4, %r12
cmpq %rax, %rbx
jl LBB0_4
LBB0_5:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -56(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -56(%rbp), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %ebx, %ebx
xorl %r12d, %r12d
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
addl (%r13,%r15,4), %ebx
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
cmpl -56(%rbp), %r12d
je LBB0_11
LBB0_6: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
callq _rand
cltd
idivl -52(%rbp)
movslq %edx, %r15
cmpl $0, (%r14,%r15,4)
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl $1, (%r14,%r15,4)
incl %r12d
movl (%r13,%r15,4), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl -56(%rbp), %r12d
jge LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_9
LBB0_11:
leaq L_.str.7(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq -64(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number(> 2): "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter %d numbers: "
L_.str.3: ## @.str.3
.asciz "Enter random number: "
L_.str.4: ## @.str.4
.asciz "Sum of %d random numbers = "
L_.str.5: ## @.str.5
.asciz "%d "
L_.str.6: ## @.str.6
.asciz "+ "
L_.str.7: ## @.str.7
.asciz "= %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #16
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #92
str x8, [sp, #-16]!
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
mov x22, sp
ldur w8, [x29, #-92]
lsl x8, x8, #2
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x23, x9, x8
mov sp, x23
ldur w20, [x29, #-92]
lsl x1, x20, #2
mov x9, x1
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x1, #15
and x9, x9, #0x7fffffff0
sub x19, x8, x9
mov sp, x19
cmp w20, #1
b.lt LBB0_2
; %bb.1:
mov x0, x19
bl _bzero
LBB0_2:
str x20, [sp, #-16]!
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add sp, sp, #16
ldur w8, [x29, #-92]
cmp w8, #1
b.lt LBB0_5
; %bb.3:
mov x21, #0
Lloh13:
adrp x20, l_.str.1@PAGE
Lloh14:
add x20, x20, l_.str.1@PAGEOFF
mov x24, x23
LBB0_4: ; =>This Inner Loop Header: Depth=1
str x24, [sp, #-16]!
mov x0, x20
bl _scanf
add sp, sp, #16
add x21, x21, #1
ldursw x8, [x29, #-92]
add x24, x24, #4
cmp x21, x8
b.lt LBB0_4
LBB0_5:
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub x8, x29, #96
str x8, [sp, #-16]!
Lloh17:
adrp x0, l_.str.1@PAGE
Lloh18:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-96]
str x8, [sp, #-16]!
Lloh19:
adrp x0, l_.str.4@PAGE
Lloh20:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #16
mov w24, #0
mov w25, #0
mov w26, #1
Lloh21:
adrp x20, l_.str.5@PAGE
Lloh22:
add x20, x20, l_.str.5@PAGEOFF
Lloh23:
adrp x21, l_.str.6@PAGE
Lloh24:
add x21, x21, l_.str.6@PAGEOFF
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [x23, x27, lsl #2]
add w24, w8, w24
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
ldur w8, [x29, #-96]
cmp w25, w8
b.eq LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _rand
ldur w8, [x29, #-92]
sdiv w9, w0, w8
msub w8, w9, w8, w0
ldr w9, [x19, w8, sxtw #2]
cbnz w9, LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
sxtw x27, w8
lsl x8, x27, #2
str w26, [x19, x8]
add w25, w25, #1
ldr w8, [x23, x8]
str x8, [sp, #-16]!
mov x0, x20
bl _printf
add sp, sp, #16
ldur w8, [x29, #-96]
cmp w25, w8
b.ge LBB0_6
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov x0, x21
bl _printf
b LBB0_6
LBB0_11:
str x24, [sp, #-16]!
Lloh25:
adrp x0, l_.str.7@PAGE
Lloh26:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
add sp, sp, #16
mov sp, x22
ldur x8, [x29, #-88]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
mov w0, #0
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number(> 2): "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter %d numbers: "
l_.str.3: ; @.str.3
.asciz "Enter random number: "
l_.str.4: ; @.str.4
.asciz "Sum of %d random numbers = "
l_.str.5: ; @.str.5
.asciz "%d "
l_.str.6: ; @.str.6
.asciz "+ "
l_.str.7: ; @.str.7
.asciz "= %d\n"
.subsections_via_symbols
| the_stack_data/59511880.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mrb_dump_irep_cfunc ## -- Begin function mrb_dump_irep_cfunc
.p2align 4, 0x90
_mrb_dump_irep_cfunc: ## @mrb_dump_irep_cfunc
.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 $0, -48(%rbp)
movq $0, -64(%rbp)
testq %rcx, %rcx
je LBB0_6
## %bb.1:
movq %r8, %r13
testq %r8, %r8
je LBB0_6
## %bb.2:
cmpb $0, (%r13)
je LBB0_6
## %bb.3:
movq %rcx, %r12
movq %rsi, %r15
movq %rdi, %rbx
movq _FLAG_BYTEORDER_NATIVE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %edx, %edi
callq _dump_flags
movl %eax, %r14d
leaq -48(%rbp), %rcx
leaq -64(%rbp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
callq _dump_irep
movl %eax, %r15d
movq _MRB_DUMP_OK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jne LBB0_22
## %bb.4:
movq %rbx, -56(%rbp) ## 8-byte Spill
movl %r14d, %edi
callq _dump_bigendian_p
testl %eax, %eax
je LBB0_9
## %bb.5:
leaq L_.str.1(%rip), %rsi
jmp LBB0_10
LBB0_6:
movq _MRB_DUMP_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %r15d
LBB0_8:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
leaq L_.str(%rip), %rsi
LBB0_10:
movq %r12, %rdi
xorl %eax, %eax
callq _fprintf
testq %rax, %rax
js LBB0_18
## %bb.11:
leaq L_.str.2(%rip), %rsi
movq %r12, %rdi
xorl %eax, %eax
callq _fprintf
testq %rax, %rax
js LBB0_18
## %bb.12:
movq _MRB_DUMP_ALIGNMENT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.3(%rip), %rsi
movq %r12, %rdi
movq %r13, %rdx
movl %ecx, %r8d
movq %r13, %r9
xorl %eax, %eax
callq _fprintf
testq %rax, %rax
js LBB0_18
## %bb.13:
leaq L_.str.4(%rip), %r13
leaq L_.str.5(%rip), %rbx
xorl %r14d, %r14d
jmp LBB0_15
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_15 Depth=1
movq -48(%rbp), %rax
movl (%rax,%r14,4), %edx
incq %r14
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _fprintf
testq %rax, %rax
js LBB0_18
LBB0_15: ## =>This Inner Loop Header: Depth=1
cmpq -64(%rbp), %r14
jae LBB0_20
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
testb $15, %r14b
jne LBB0_14
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movq %r13, %rdi
movq %r12, %rsi
callq _fputs
movq _EOF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_14
LBB0_18:
movq -48(%rbp), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
LBB0_19:
callq _mrb_free
movq _MRB_DUMP_WRITE_FAULT@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_20:
leaq L_.str.6(%rip), %rdi
movq %r12, %rsi
callq _fputs
movq _EOF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movq -56(%rbp), %rbx ## 8-byte Reload
jne LBB0_22
## %bb.21:
movq -48(%rbp), %rsi
movq %rbx, %rdi
jmp LBB0_19
LBB0_22:
movq -48(%rbp), %rsi
movq %rbx, %rdi
callq _mrb_free
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _MRB_DUMP_INVALID_ARGUMENT,4,2 ## @MRB_DUMP_INVALID_ARGUMENT
.comm _FLAG_BYTEORDER_NATIVE,4,2 ## @FLAG_BYTEORDER_NATIVE
.comm _MRB_DUMP_OK,4,2 ## @MRB_DUMP_OK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/* dumped in little endian order.\n use `mrbc -E` option for big endian CPU. */\n"
.comm _MRB_DUMP_WRITE_FAULT,4,2 ## @MRB_DUMP_WRITE_FAULT
L_.str.1: ## @.str.1
.asciz "/* dumped in big endian order.\n use `mrbc -e` option for better performance on little endian CPU. */\n"
L_.str.2: ## @.str.2
.asciz "#include <stdint.h>\n"
L_.str.3: ## @.str.3
.asciz "extern const uint8_t %s[];\nconst uint8_t\n#if defined __GNUC__\n__attribute__((aligned(%u)))\n#elif defined _MSC_VER\n__declspec(align(%u))\n#endif\n%s[] = {"
.comm _MRB_DUMP_ALIGNMENT,8,3 ## @MRB_DUMP_ALIGNMENT
L_.str.4: ## @.str.4
.asciz "\n"
.comm _EOF,8,3 ## @EOF
L_.str.5: ## @.str.5
.asciz "0x%02x,"
L_.str.6: ## @.str.6
.asciz "\n};\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mrb_dump_irep_cfunc ; -- Begin function mrb_dump_irep_cfunc
.p2align 2
_mrb_dump_irep_cfunc: ; @mrb_dump_irep_cfunc
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
stp xzr, xzr, [sp, #32]
cbz x3, LBB0_6
; %bb.1:
mov x22, x4
cbz x4, LBB0_6
; %bb.2:
ldrb w8, [x22]
cbz w8, LBB0_6
; %bb.3:
mov x21, x3
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _FLAG_BYTEORDER_NATIVE@GOTPAGE
Lloh1:
ldr x8, [x8, _FLAG_BYTEORDER_NATIVE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x2
bl _dump_flags
mov x23, x0
add x3, sp, #40
add x4, sp, #32
mov x0, x19
mov x1, x20
mov x2, x23
bl _dump_irep
mov x20, x0
Lloh3:
adrp x8, _MRB_DUMP_OK@GOTPAGE
Lloh4:
ldr x8, [x8, _MRB_DUMP_OK@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_20
; %bb.4:
mov x0, x23
bl _dump_bigendian_p
cbz w0, LBB0_9
; %bb.5:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_10
LBB0_6:
Lloh8:
adrp x8, _MRB_DUMP_INVALID_ARGUMENT@GOTPAGE
Lloh9:
ldr x8, [x8, _MRB_DUMP_INVALID_ARGUMENT@GOTPAGEOFF]
LBB0_7:
ldr w20, [x8]
LBB0_8:
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_9:
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
LBB0_10:
mov x0, x21
bl _fprintf
tbnz x0, #63, LBB0_19
; %bb.11:
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x21
bl _fprintf
tbnz x0, #63, LBB0_19
; %bb.12:
Lloh14:
adrp x8, _MRB_DUMP_ALIGNMENT@GOTPAGE
Lloh15:
ldr x8, [x8, _MRB_DUMP_ALIGNMENT@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
stp x8, x22, [sp, #16]
stp x22, x8, [sp]
Lloh17:
adrp x1, l_.str.3@PAGE
Lloh18:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _fprintf
tbnz x0, #63, LBB0_19
; %bb.13:
mov x25, #0
Lloh19:
adrp x22, l_.str.4@PAGE
Lloh20:
add x22, x22, l_.str.4@PAGEOFF
Lloh21:
adrp x24, _EOF@GOTPAGE
Lloh22:
ldr x24, [x24, _EOF@GOTPAGEOFF]
Lloh23:
adrp x23, l_.str.5@PAGE
Lloh24:
add x23, x23, l_.str.5@PAGEOFF
b LBB0_15
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #40]
add x26, x25, #1
ldr w8, [x8, x25, lsl #2]
str x8, [sp]
mov x0, x21
mov x1, x23
bl _fprintf
mov x25, x26
tbnz x0, #63, LBB0_19
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
cmp x25, x8
b.hs LBB0_18
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
tst x25, #0xf
b.ne LBB0_14
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
mov x0, x22
mov x1, x21
bl _fputs
ldr x8, [x24]
cmp x0, x8
b.ne LBB0_14
b LBB0_19
LBB0_18:
Lloh25:
adrp x0, l_.str.6@PAGE
Lloh26:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x21
bl _fputs
ldr x8, [x24]
cmp x0, x8
b.ne LBB0_20
LBB0_19:
ldr x1, [sp, #40]
mov x0, x19
bl _mrb_free
Lloh27:
adrp x8, _MRB_DUMP_WRITE_FAULT@GOTPAGE
Lloh28:
ldr x8, [x8, _MRB_DUMP_WRITE_FAULT@GOTPAGEOFF]
b LBB0_7
LBB0_20:
ldr x1, [sp, #40]
mov x0, x19
bl _mrb_free
b LBB0_8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.cfi_endproc
; -- End function
.comm _MRB_DUMP_INVALID_ARGUMENT,4,2 ; @MRB_DUMP_INVALID_ARGUMENT
.comm _FLAG_BYTEORDER_NATIVE,4,2 ; @FLAG_BYTEORDER_NATIVE
.comm _MRB_DUMP_OK,4,2 ; @MRB_DUMP_OK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/* dumped in little endian order.\n use `mrbc -E` option for big endian CPU. */\n"
.comm _MRB_DUMP_WRITE_FAULT,4,2 ; @MRB_DUMP_WRITE_FAULT
l_.str.1: ; @.str.1
.asciz "/* dumped in big endian order.\n use `mrbc -e` option for better performance on little endian CPU. */\n"
l_.str.2: ; @.str.2
.asciz "#include <stdint.h>\n"
l_.str.3: ; @.str.3
.asciz "extern const uint8_t %s[];\nconst uint8_t\n#if defined __GNUC__\n__attribute__((aligned(%u)))\n#elif defined _MSC_VER\n__declspec(align(%u))\n#endif\n%s[] = {"
.comm _MRB_DUMP_ALIGNMENT,8,3 ; @MRB_DUMP_ALIGNMENT
l_.str.4: ; @.str.4
.asciz "\n"
.comm _EOF,8,3 ; @EOF
l_.str.5: ; @.str.5
.asciz "0x%02x,"
l_.str.6: ; @.str.6
.asciz "\n};\n"
.subsections_via_symbols
| AnghaBench/h2o/deps/mruby/src/extr_dump.c_mrb_dump_irep_cfunc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vorbis_book_decodev_set ## -- Begin function vorbis_book_decodev_set
.p2align 4, 0x90
_vorbis_book_decodev_set: ## @vorbis_book_decodev_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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rsi, %r13
cmpq $0, (%rdi)
jle LBB0_23
## %bb.1:
xorl %eax, %eax
testl %r15d, %r15d
jle LBB0_27
## %bb.2:
movl %r15d, %r14d
leaq 112(%r13), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq 16(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movl %r15d, -44(%rbp) ## 4-byte Spill
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
cmpl %r15d, %r12d
jge LBB0_25
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_21 Depth 2
movq %rdi, %rbx
movq -80(%rbp), %rsi ## 8-byte Reload
callq _decode_packed_entry_number
cmpl $-1, %eax
je LBB0_26
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl %r15d, %r12d
jge LBB0_3
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq %rbx, %rdi
movl 16(%rbx), %ecx
testl %ecx, %ecx
jle LBB0_4
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rdi), %r8
imull %ecx, %eax
cltq
leaq (%r8,%rax,4), %r9
movslq %r12d, %r12
movq %r12, %rdx
notq %rdx
addq %r14, %rdx
leaq -1(%rcx), %r11
cmpq %rdx, %r11
cmovaeq %rdx, %r11
incq %r11
testq %rdx, %rdx
movl $1, %edx
cmoveq %rdx, %r11
cmpq $8, %r11
jb LBB0_9
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
leaq (,%r12,4), %rdx
addq %r13, %rdx
subq %r9, %rdx
cmpq $32, %rdx
jae LBB0_12
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
xorl %edx, %edx
LBB0_20: ## in Loop: Header=BB0_5 Depth=1
incq %rdx
.p2align 4, 0x90
LBB0_21: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movss -4(%r9,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%r13,%r12,4)
incq %r12
cmpq %r14, %r12
jge LBB0_4
## %bb.22: ## in Loop: Header=BB0_21 Depth=2
leaq 1(%rdx), %rsi
cmpq %rcx, %rdx
movq %rsi, %rdx
jb LBB0_21
jmp LBB0_4
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq %r11, %rdx
andq $-8, %rdx
leaq -8(%rdx), %rsi
movq %rsi, %rdi
shrq $3, %rdi
incq %rdi
movl %edi, %r10d
andl $3, %r10d
cmpq $24, %rsi
movq %r8, -72(%rbp) ## 8-byte Spill
jae LBB0_14
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
xorl %esi, %esi
jmp LBB0_16
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
andq $-4, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r8, %r15
leaq (%rsi,%r12,4), %r8
leaq (%r15,%rax,4), %r15
addq $112, %r15
xorl %esi, %esi
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movups -112(%r15,%rsi,4), %xmm0
movups -96(%r15,%rsi,4), %xmm1
movups %xmm0, -112(%r8,%rsi,4)
movups %xmm1, -96(%r8,%rsi,4)
movups -80(%r15,%rsi,4), %xmm0
movups -64(%r15,%rsi,4), %xmm1
movups %xmm0, -80(%r8,%rsi,4)
movups %xmm1, -64(%r8,%rsi,4)
movups -48(%r15,%rsi,4), %xmm0
movups -32(%r15,%rsi,4), %xmm1
movups %xmm0, -48(%r8,%rsi,4)
movups %xmm1, -32(%r8,%rsi,4)
movups -16(%r15,%rsi,4), %xmm0
movups (%r15,%rsi,4), %xmm1
movups %xmm0, -16(%r8,%rsi,4)
movups %xmm1, (%r8,%rsi,4)
addq $32, %rsi
addq $-4, %rdi
jne LBB0_15
LBB0_16: ## in Loop: Header=BB0_5 Depth=1
testq %r10, %r10
movq %rbx, %rdi
je LBB0_19
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
addq %rsi, %rax
movq -72(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rax,4), %rax
addq $16, %rax
addq %r12, %rsi
movq -64(%rbp), %rbx ## 8-byte Reload
leaq (%rbx,%rsi,4), %rsi
shlq $5, %r10
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movups -16(%rax,%rbx), %xmm0
movups (%rax,%rbx), %xmm1
movups %xmm0, -16(%rsi,%rbx)
movups %xmm1, (%rsi,%rbx)
addq $32, %rbx
cmpq %rbx, %r10
jne LBB0_18
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
addq %rdx, %r12
cmpq %rdx, %r11
movl -44(%rbp), %r15d ## 4-byte Reload
je LBB0_4
jmp LBB0_20
LBB0_23:
testl %r15d, %r15d
jle LBB0_25
## %bb.24:
movl %r15d, %esi
shlq $2, %rsi
movq %r13, %rdi
callq ___bzero
LBB0_25:
xorl %eax, %eax
jmp LBB0_27
LBB0_26:
movq $-1, %rax
LBB0_27:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vorbis_book_decodev_set ; -- Begin function vorbis_book_decodev_set
.p2align 2
_vorbis_book_decodev_set: ; @vorbis_book_decodev_set
.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, x3
mov x19, x1
ldr x8, [x0]
cmp x8, #0
b.le LBB0_16
; %bb.1:
cmp w20, #1
b.lt LBB0_18
; %bb.2:
mov x21, x2
mov x22, x0
mov w26, #0
add x23, x19, #32
mov w24, #1
mov w25, w20
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
cmp w26, w20
b.ge LBB0_18
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_11 Depth 2
mov x0, x22
mov x1, x21
bl _decode_packed_entry_number
cmn w0, #1
b.eq LBB0_19
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w26, w20
b.ge LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x22, #16]
cmp w8, #1
b.lt LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x22, #8]
mul w10, w8, w0
; kill: def $w26 killed $w26 killed $x26 def $x26
sxtw x13, w26
mvn x11, x13
sub x12, x8, #1
add x11, x11, x25
cmp x12, x11
csel x12, x12, x11, lo
cmp x11, #0
csinc x12, x24, x12, eq
cmp x12, #16
b.lo LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
sxtw x11, w10
add x15, x19, x13, lsl #2
add x14, x9, x11, lsl #2
sub x11, x15, x14
cmp x11, #64
b.hs LBB0_13
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x11, #0
mov x26, x13
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x9, x9, w10, sxtw #2
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x9, x11, lsl #2]
str s0, [x19, x26, lsl #2]
add x26, x26, #1
cmp x26, x25
b.ge LBB0_3
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
add x11, x11, #1
cmp x11, x8
b.lo LBB0_11
b LBB0_3
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
and x11, x12, #0xfffffffffffffff0
add x26, x11, x13
add x13, x23, x13, lsl #2
add x14, x14, #32
mov x15, x11
LBB0_14: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x14, #-32]
ldp q2, q3, [x14], #64
stp q0, q1, [x13, #-32]
stp q2, q3, [x13], #64
subs x15, x15, #16
b.ne LBB0_14
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
cmp x12, x11
b.eq LBB0_3
b LBB0_10
LBB0_16:
cmp w20, #1
b.lt LBB0_18
; %bb.17:
mov w8, w20
lsl x1, x8, #2
mov x0, x19
bl _bzero
LBB0_18:
mov x0, #0
b LBB0_20
LBB0_19:
mov x0, #-1
LBB0_20:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Cinder/src/oggvorbis/vorbis/extr_codebook.c_vorbis_book_decodev_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hermes_set_irqmask
_hermes_set_irqmask: ## @hermes_set_irqmask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %edx
movl %esi, (%rdi)
movq _INTEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _hermes_write_regn ## TAILCALL
.cfi_endproc
## -- End function
.comm _INTEN,4,2 ## @INTEN
.no_dead_strip _hermes_set_irqmask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hermes_set_irqmask
_hermes_set_irqmask: ; @hermes_set_irqmask
.cfi_startproc
; %bb.0:
mov x2, x1
str w1, [x0]
Lloh0:
adrp x8, _INTEN@GOTPAGE
Lloh1:
ldr x8, [x8, _INTEN@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _hermes_write_regn
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _INTEN,4,2 ; @INTEN
.no_dead_strip _hermes_set_irqmask
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_hermes.h_hermes_set_irqmask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _print_addr
__print_addr: ## @_print_addr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
leaq L_.str.2(%rip), %rax
leaq L_.str.1(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str(%rip), %rdi
movq %rsi, %rcx
popq %rbp
jmp _pr_info ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " [<%08lx>] %s%pS\n"
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz "? "
.no_dead_strip __print_addr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _print_addr
__print_addr: ; @_print_addr
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, l_.str.1@PAGE
Lloh1:
add x8, x8, l_.str.1@PAGEOFF
Lloh2:
adrp x9, l_.str.2@PAGE
Lloh3:
add x9, x9, l_.str.2@PAGEOFF
cmp w2, #0
csel x2, x9, x8, eq
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
mov x3, x1
b _pr_info
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " [<%08lx>] %s%pS\n"
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz "? "
.no_dead_strip __print_addr
.subsections_via_symbols
| AnghaBench/linux/arch/um/kernel/extr_sysrq.c__print_addr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function maple_detach_driver
_maple_detach_driver: ## @maple_detach_driver
.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 _device_unregister ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _maple_detach_driver
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function maple_detach_driver
_maple_detach_driver: ; @maple_detach_driver
.cfi_startproc
; %bb.0:
b _device_unregister
.cfi_endproc
; -- End function
.no_dead_strip _maple_detach_driver
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/sh/maple/extr_maple.c_maple_detach_driver.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %eax
decl %eax
cmpl $6, %eax
ja LBB0_1
## %bb.2:
cltq
leaq l_reltable.main(%rip), %rcx
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
jmp LBB0_3
LBB0_1:
leaq L_.str.9(%rip), %rdi
LBB0_3:
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a number between 1 to 7 to check its weekday "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Its Monday"
L_.str.3: ## @.str.3
.asciz "Its Tuesday"
L_.str.4: ## @.str.4
.asciz "Its Wednesday"
L_.str.5: ## @.str.5
.asciz "Its Thursday"
L_.str.6: ## @.str.6
.asciz "Its Friday"
L_.str.7: ## @.str.7
.asciz "Its Saturday"
L_.str.8: ## @.str.8
.asciz "Its Sunday"
L_.str.9: ## @.str.9
.asciz "You have not entered a valid number please enter a valid number"
.section __TEXT,__const
.p2align 2 ## @reltable.main
l_reltable.main:
.long L_.str.2-l_reltable.main
.long L_.str.3-l_reltable.main
.long L_.str.4-l_reltable.main
.long L_.str.5-l_reltable.main
.long L_.str.6-l_reltable.main
.long L_.str.7-l_reltable.main
.long L_.str.8-l_reltable.main
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
sub w8, w8, #1
cmp w8, #6
b.hi LBB0_2
; %bb.1:
Lloh4:
adrp x9, l_switch.table.main@PAGE
Lloh5:
add x9, x9, l_switch.table.main@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
b LBB0_3
LBB0_2:
Lloh6:
adrp x0, l_.str.9@PAGE
Lloh7:
add x0, x0, l_.str.9@PAGEOFF
LBB0_3:
bl _printf
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a number between 1 to 7 to check its weekday "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Its Monday"
l_.str.3: ; @.str.3
.asciz "Its Tuesday"
l_.str.4: ; @.str.4
.asciz "Its Wednesday"
l_.str.5: ; @.str.5
.asciz "Its Thursday"
l_.str.6: ; @.str.6
.asciz "Its Friday"
l_.str.7: ; @.str.7
.asciz "Its Saturday"
l_.str.8: ; @.str.8
.asciz "Its Sunday"
l_.str.9: ; @.str.9
.asciz "You have not entered a valid number please enter a valid number"
.section __DATA,__const
.p2align 3 ; @switch.table.main
l_switch.table.main:
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.subsections_via_symbols
| the_stack_data/161079671.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function load_plugins_dir
_load_plugins_dir: ## @load_plugins_dir
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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, %r13
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, -80(%rbp) ## 8-byte Spill
leaq -48(%rbp), %rsi
movq %rdx, %rdi
callq _stat
testl %eax, %eax
js LBB0_11
## %bb.1:
movl -48(%rbp), %edi
callq _S_ISDIR
testl %eax, %eax
je LBB0_11
## %bb.2:
movq %rbx, %rdi
callq _opendir
testq %rax, %rax
je LBB0_11
## %bb.3:
movq %rax, %r14
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
movq %r13, -72(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _readdir
testq %rax, %rax
je LBB0_10
## %bb.4:
leaq L_.str(%rip), %rbx
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq %r14, %rdi
callq _readdir
testq %rax, %rax
je LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rax), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testq %rax, %rax
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %rdi
callq _strlen
movl %eax, %r12d
movq %r15, %rdi
callq _strlen
subl %eax, %r12d
movslq %r12d, %rdi
addq %r13, %rdi
movq %r15, %rsi
callq _strcmp
testq %rax, %rax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
movq -72(%rbp), %rcx ## 8-byte Reload
callq *-64(%rbp) ## 8-byte Folded Reload
jmp LBB0_9
LBB0_11:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq %r14, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _closedir ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
L_.str.1: ## @.str.1
.asciz ".."
.no_dead_strip _load_plugins_dir
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function load_plugins_dir
_load_plugins_dir: ; @load_plugins_dir
.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, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
add x1, sp, #8
mov x0, x2
bl _stat
tbnz w0, #31, LBB0_10
; %bb.1:
ldr w0, [sp, #8]
bl _S_ISDIR
cbz w0, LBB0_10
; %bb.2:
mov x0, x21
bl _opendir
cbz x0, LBB0_10
; %bb.3:
mov x24, x0
bl _readdir
cbz x0, LBB0_11
; %bb.4:
Lloh0:
adrp x25, l_.str@PAGE
Lloh1:
add x25, x25, l_.str@PAGEOFF
Lloh2:
adrp x26, l_.str.1@PAGE
Lloh3:
add x26, x26, l_.str.1@PAGEOFF
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x0, x24
bl _readdir
cbz x0, LBB0_11
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x27, [x0]
mov x0, x27
mov x1, x25
bl _strcmp
cbz x0, LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x27
mov x1, x26
bl _strcmp
cbz x0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x0, x27
bl _strlen
mov x28, x0
mov x0, x22
bl _strlen
sub w8, w28, w0
add x0, x27, w8, sxtw
mov x1, x22
bl _strcmp
cbnz x0, LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov x0, x23
mov x1, x21
mov x2, x27
mov x3, x19
blr x20
b LBB0_5
LBB0_10:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_11:
mov x0, x24
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _closedir
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "."
l_.str.1: ; @.str.1
.asciz ".."
.no_dead_strip _load_plugins_dir
.subsections_via_symbols
| AnghaBench/linux/tools/lib/traceevent/extr_event-plugin.c_load_plugins_dir.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _free ## -- Begin function free
.p2align 4, 0x90
_free: ## @free
.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
movl $256, %edi ## imm = 0x100
callq _malloc
testq %rax, %rax
jne LBB1_1
LBB1_2:
xorl %eax, %eax
popq %rbp
retq
LBB1_1:
movq %rax, %rdi
callq _main.cold.1
jmp LBB1_2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1970037062, (%rdi) ## imm = 0x756C6146
movl $2192501, 3(%rdi) ## imm = 0x217475
movb $83, (%rdi)
callq _puts
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Falut!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _free ; -- Begin function free
.p2align 2
_free: ; @free
.cfi_startproc
; %bb.0:
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
mov w0, #256
bl _malloc
cbnz x0, LBB1_2
; %bb.1:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB1_2:
bl _main.cold.1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #24902
movk w8, #30060, lsl #16
str w8, [x0]
mov w8, #29813
movk w8, #33, lsl #16
stur w8, [x0, #3]
mov w8, #83
strb w8, [x0]
bl _puts
brk #0x1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Falut!"
.subsections_via_symbols
| the_stack_data/456127.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bh_uptodate_or_lock ## -- Begin function bh_uptodate_or_lock
.p2align 4, 0x90
_bh_uptodate_or_lock: ## @bh_uptodate_or_lock
.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
callq _buffer_uptodate
movl $1, %r14d
testl %eax, %eax
jne LBB0_4
## %bb.1:
movq %rbx, %rdi
callq _lock_buffer
movq %rbx, %rdi
callq _buffer_uptodate
testl %eax, %eax
je LBB0_2
## %bb.3:
movq %rbx, %rdi
callq _unlock_buffer
jmp LBB0_4
LBB0_2:
xorl %r14d, %r14d
LBB0_4:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bh_uptodate_or_lock ; -- Begin function bh_uptodate_or_lock
.p2align 2
_bh_uptodate_or_lock: ; @bh_uptodate_or_lock
.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 _buffer_uptodate
cbnz w0, LBB0_3
; %bb.1:
mov x0, x19
bl _lock_buffer
mov x0, x19
bl _buffer_uptodate
cbz w0, LBB0_4
; %bb.2:
mov x0, x19
bl _unlock_buffer
LBB0_3:
mov w0, #1
LBB0_4:
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/fs/extr_buffer.c_bh_uptodate_or_lock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcpci_probe
_tcpci_probe: ## @tcpci_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r14
movl $0, -48(%rbp)
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $8, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %r15
movq _tcpci_regmap_config@GOTPCREL(%rip), %rsi
movq %r14, %rdi
callq _devm_regmap_init_i2c
movq %r15, %r12
addq $4, %r12
movl %eax, 4(%r15)
movl %eax, %edi
callq _IS_ERR
testq %rax, %rax
je LBB0_5
## %bb.2:
movl (%r12), %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_4
LBB0_5:
movq %r14, %rdi
movq %r15, %rsi
callq _i2c_set_clientdata
movl 4(%r15), %edi
movq _TCPC_ALERT_MASK@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
movl $4, %ecx
callq _regmap_raw_write
testl %eax, %eax
js LBB0_8
## %bb.6:
movq %r14, %rdi
movq %r12, %rsi
callq _tcpci_register_port
movl %eax, (%r15)
movl %eax, %edi
callq _IS_ERR
testq %rax, %rax
je LBB0_9
## %bb.7:
movl (%r15), %edi
callq _PTR_ERR
LBB0_8:
movl %eax, %ebx
LBB0_4:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movl 4(%r14), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq __tcpci_irq@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movq _IRQF_ONESHOT@GOTPCREL(%rip), %rax
movq _IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
orl (%rax), %r12d
movq %r14, %rdi
callq _dev_name
movq %r15, (%rsp)
xorl %ebx, %ebx
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
xorl %edx, %edx
movl %r13d, %ecx
movl %r12d, %r8d
movl %eax, %r9d
callq _devm_request_threaded_irq
testl %eax, %eax
jns LBB0_4
## %bb.10:
movl %eax, %r14d
movl (%r15), %edi
callq _tcpci_unregister_port
movl %r14d, %ebx
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _tcpci_regmap_config,4,2 ## @tcpci_regmap_config
.comm _TCPC_ALERT_MASK,4,2 ## @TCPC_ALERT_MASK
.comm __tcpci_irq,4,2 ## @_tcpci_irq
.comm _IRQF_ONESHOT,4,2 ## @IRQF_ONESHOT
.comm _IRQF_TRIGGER_LOW,4,2 ## @IRQF_TRIGGER_LOW
.no_dead_strip _tcpci_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcpci_probe
_tcpci_probe: ; @tcpci_probe
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
str wzr, [sp, #12]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #8
bl _devm_kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
Lloh3:
adrp x1, _tcpci_regmap_config@GOTPAGE
Lloh4:
ldr x1, [x1, _tcpci_regmap_config@GOTPAGEOFF]
mov x0, x20
bl _devm_regmap_init_i2c
mov x21, x19
str w0, [x21, #4]!
bl _IS_ERR
cbz x0, LBB0_4
; %bb.2:
ldr w0, [x21]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _PTR_ERR
LBB0_3:
Lloh5:
adrp x8, _ENOMEM@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w22, w8
b LBB0_8
LBB0_4:
mov x0, x20
mov x1, x19
bl _i2c_set_clientdata
ldr w0, [x19, #4]
Lloh8:
adrp x8, _TCPC_ALERT_MASK@GOTPAGE
Lloh9:
ldr x8, [x8, _TCPC_ALERT_MASK@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
add x2, sp, #12
mov w3, #4
bl _regmap_raw_write
tbnz w0, #31, LBB0_7
; %bb.5:
mov x0, x20
mov x1, x21
bl _tcpci_register_port
str w0, [x19]
bl _IS_ERR
cbz x0, LBB0_9
; %bb.6:
ldr w0, [x19]
bl _PTR_ERR
LBB0_7:
mov x22, x0
LBB0_8:
mov x0, x22
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_9:
ldr w21, [x20, #4]
Lloh11:
adrp x8, __tcpci_irq@GOTPAGE
Lloh12:
ldr x8, [x8, __tcpci_irq@GOTPAGEOFF]
Lloh13:
adrp x9, _IRQF_ONESHOT@GOTPAGE
Lloh14:
ldr x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh15:
ldr w22, [x8]
Lloh16:
ldr w8, [x9]
Lloh17:
adrp x9, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh18:
ldr x9, [x9, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w23, w9, w8
mov x0, x20
bl _dev_name
mov x5, x0
mov x0, x20
mov x1, x21
mov x2, #0
mov x3, x22
mov x4, x23
mov x6, x19
bl _devm_request_threaded_irq
tbnz w0, #31, LBB0_11
; %bb.10:
mov w22, #0
b LBB0_8
LBB0_11:
mov x22, x0
ldr w0, [x19]
bl _tcpci_unregister_port
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh15
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _tcpci_regmap_config,4,2 ; @tcpci_regmap_config
.comm _TCPC_ALERT_MASK,4,2 ; @TCPC_ALERT_MASK
.comm __tcpci_irq,4,2 ; @_tcpci_irq
.comm _IRQF_ONESHOT,4,2 ; @IRQF_ONESHOT
.comm _IRQF_TRIGGER_LOW,4,2 ; @IRQF_TRIGGER_LOW
.no_dead_strip _tcpci_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/typec/tcpm/extr_tcpci.c_tcpci_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function flow_divert_send_close
_flow_divert_send_close: ## @flow_divert_send_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 %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
movl %esi, -36(%rbp)
movq $0, -32(%rbp)
movl $0, -40(%rbp)
movq _FLOW_DIVERT_PKT_CLOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -32(%rbp), %rdx
callq _flow_divert_packet_init
testl %eax, %eax
je LBB0_3
## %bb.1:
movl %eax, %ebx
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
jmp LBB0_2
LBB0_3:
movq -32(%rbp), %rdi
movq _FLOW_DIVERT_TLV_ERROR_CODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -40(%rbp), %rcx
movl $4, %edx
callq _flow_divert_packet_append_tlv
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %ebx
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rdx
jmp LBB0_2
LBB0_5:
movl %r15d, %edi
callq _htonl
movl %eax, -36(%rbp)
movq -32(%rbp), %rdi
movq _FLOW_DIVERT_TLV_HOW@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -36(%rbp), %rcx
movl $4, %edx
callq _flow_divert_packet_append_tlv
testl %eax, %eax
je LBB0_7
## %bb.6:
movl %eax, %ebx
movq _LOG_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rdx
LBB0_2:
movq %r14, %rsi
movl %ebx, %ecx
callq _FDLOG
testl %ebx, %ebx
je LBB0_11
LBB0_9:
movq -32(%rbp), %rdi
testq %rdi, %rdi
je LBB0_11
## %bb.10:
callq _mbuf_free
LBB0_11:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq -32(%rbp), %rsi
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _flow_divert_send_packet
movl %eax, %ebx
testl %ebx, %ebx
jne LBB0_9
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _FLOW_DIVERT_PKT_CLOSE,4,2 ## @FLOW_DIVERT_PKT_CLOSE
.comm _LOG_ERR,4,2 ## @LOG_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to create a close packet: %d"
.comm _FLOW_DIVERT_TLV_ERROR_CODE,4,2 ## @FLOW_DIVERT_TLV_ERROR_CODE
L_.str.1: ## @.str.1
.asciz "failed to add the error code TLV: %d"
.comm _FLOW_DIVERT_TLV_HOW,4,2 ## @FLOW_DIVERT_TLV_HOW
L_.str.2: ## @.str.2
.asciz "failed to add the how flag: %d"
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _flow_divert_send_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function flow_divert_send_close
_flow_divert_send_close: ; @flow_divert_send_close
.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 x21, x1
mov x19, x0
str w1, [sp, #28]
str xzr, [sp, #16]
str wzr, [sp, #12]
Lloh0:
adrp x8, _FLOW_DIVERT_PKT_CLOSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FLOW_DIVERT_PKT_CLOSE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #16
bl _flow_divert_packet_init
cbz w0, LBB0_2
; %bb.1:
mov x20, x0
Lloh3:
adrp x8, _LOG_ERR@GOTPAGE
Lloh4:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
b LBB0_6
LBB0_2:
ldr x0, [sp, #16]
Lloh8:
adrp x8, _FLOW_DIVERT_TLV_ERROR_CODE@GOTPAGE
Lloh9:
ldr x8, [x8, _FLOW_DIVERT_TLV_ERROR_CODE@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
add x3, sp, #12
mov w2, #4
bl _flow_divert_packet_append_tlv
cbz w0, LBB0_4
; %bb.3:
mov x20, x0
Lloh11:
adrp x8, _LOG_ERR@GOTPAGE
Lloh12:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
Lloh14:
adrp x2, l_.str.1@PAGE
Lloh15:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_6
LBB0_4:
mov x0, x21
bl _htonl
str w0, [sp, #28]
ldr x0, [sp, #16]
Lloh16:
adrp x8, _FLOW_DIVERT_TLV_HOW@GOTPAGE
Lloh17:
ldr x8, [x8, _FLOW_DIVERT_TLV_HOW@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
add x3, sp, #28
mov w2, #4
bl _flow_divert_packet_append_tlv
cbz w0, LBB0_10
; %bb.5:
mov x20, x0
Lloh19:
adrp x8, _LOG_ERR@GOTPAGE
Lloh20:
ldr x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
Lloh22:
adrp x2, l_.str.2@PAGE
Lloh23:
add x2, x2, l_.str.2@PAGEOFF
LBB0_6:
mov x1, x19
mov x3, x20
bl _FDLOG
LBB0_7:
ldr x0, [sp, #16]
cmp w20, #0
ccmp x0, #0, #4, ne
b.eq LBB0_9
; %bb.8:
bl _mbuf_free
LBB0_9:
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
add sp, sp, #80
ret
LBB0_10:
ldr x1, [sp, #16]
Lloh24:
adrp x8, _TRUE@GOTPAGE
Lloh25:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
ldr w2, [x8]
mov x0, x19
bl _flow_divert_send_packet
mov x20, x0
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _FLOW_DIVERT_PKT_CLOSE,4,2 ; @FLOW_DIVERT_PKT_CLOSE
.comm _LOG_ERR,4,2 ; @LOG_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to create a close packet: %d"
.comm _FLOW_DIVERT_TLV_ERROR_CODE,4,2 ; @FLOW_DIVERT_TLV_ERROR_CODE
l_.str.1: ; @.str.1
.asciz "failed to add the error code TLV: %d"
.comm _FLOW_DIVERT_TLV_HOW,4,2 ; @FLOW_DIVERT_TLV_HOW
l_.str.2: ; @.str.2
.asciz "failed to add the how flag: %d"
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _flow_divert_send_close
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/netinet/extr_flow_divert.c_flow_divert_send_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_cs4231_probe
_snd_cs4231_probe: ## @snd_cs4231_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r12
leaq 8(%rdi), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl $50, %r13d
movq _REGSEL@GOTPCREL(%rip), %r14
movq _CS4231_INIT@GOTPCREL(%rip), %r15
movl $0, -44(%rbp) ## 4-byte Folded Spill
xorl %ebx, %ebx
jmp LBB0_1
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movl $2, %edi
callq _msleep
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
decl %r13d
je LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _mb
movl (%r14), %esi
movq %r12, %rdi
callq _CS4231U
movq %r12, %rdi
movl %eax, %esi
callq ___cs4231_readb
testl %eax, (%r15)
jne LBB0_2
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _spin_lock_irqsave
movq _CS4231_MISC_INFO@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq _CS4231_MODE2@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
callq _snd_cs4231_out
movq (%rbx), %rsi
movq %r12, %rdi
callq _snd_cs4231_in
movl %eax, %ebx
andl $15, %ebx
movq _CS4231_VERSION@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %r12, %rdi
callq _snd_cs4231_in
movl %eax, -44(%rbp) ## 4-byte Spill
movq -56(%rbp), %rdi ## 8-byte Reload
callq _spin_unlock_irqrestore
cmpl $10, %ebx
jne LBB0_3
## %bb.7:
movl 12(%r12), %esi
leaq L_.str(%rip), %rdi
movl $10, %edx
callq _snd_printdd
jmp LBB0_8
LBB0_4:
movl 12(%r12), %esi
leaq L_.str(%rip), %rdi
movl %ebx, %edx
callq _snd_printdd
cmpl $10, %ebx
jne LBB0_5
LBB0_8:
movq -56(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _spin_lock_irqsave
movq _STATUS@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq %r12, %rdi
callq _CS4231U
movq %r12, %rdi
movl %eax, %esi
callq ___cs4231_readb
movl (%rbx), %esi
movq %r12, %rdi
callq _CS4231U
xorl %ebx, %ebx
movq %r12, %rdi
xorl %esi, %esi
movl %eax, %edx
callq ___cs4231_writeb
xorl %eax, %eax
callq _mb
movq %r14, %rdi
callq _spin_unlock_irqrestore
movq _CS4231_MODE2@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq (%r12), %rcx
movq _CS4231_MISC_INFO@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movl %eax, (%rcx,%rdx,4)
movq _CS4231_IFACE_CTRL@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _CS4231_SINGLE_DMA@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
notl %edx
andl %edx, (%rcx,%rax,4)
movq _CS4231_ALT_FEATURE_1@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $128, (%rcx,%rax,4)
movq _CS4231_ALT_FEATURE_2@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -44(%rbp), %edx ## 4-byte Reload
andl $32, %edx
shrl $4, %edx
orl $1, %edx
movl %edx, (%rcx,%rax,4)
movq %r12, %rdi
callq _snd_cs4231_mce_down
movq %r14, %rdi
callq _spin_lock_irqsave
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movzbl (%r12,%rbx), %edx
movq %r12, %rdi
movl %ebx, %esi
callq _snd_cs4231_out
incq %rbx
cmpl $32, %ebx
jne LBB0_9
## %bb.10:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _spin_unlock_irqrestore
movq %r12, %rdi
callq _snd_cs4231_mce_up
movq %r12, %rdi
callq _snd_cs4231_mce_down
movl $2, %edi
callq _mdelay
xorl %eax, %eax
jmp LBB0_11
LBB0_5:
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_11:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REGSEL,4,2 ## @REGSEL
.comm _CS4231_INIT,4,2 ## @CS4231_INIT
.comm _CS4231_MISC_INFO,8,3 ## @CS4231_MISC_INFO
.comm _CS4231_MODE2,4,2 ## @CS4231_MODE2
.comm _CS4231_VERSION,8,3 ## @CS4231_VERSION
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cs4231: port = %p, id = 0x%x\n"
.comm _ENODEV,4,2 ## @ENODEV
.comm _STATUS,4,2 ## @STATUS
.comm _CS4231_IFACE_CTRL,8,3 ## @CS4231_IFACE_CTRL
.comm _CS4231_SINGLE_DMA,4,2 ## @CS4231_SINGLE_DMA
.comm _CS4231_ALT_FEATURE_1,8,3 ## @CS4231_ALT_FEATURE_1
.comm _CS4231_ALT_FEATURE_2,8,3 ## @CS4231_ALT_FEATURE_2
.no_dead_strip _snd_cs4231_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_cs4231_probe
_snd_cs4231_probe: ; @snd_cs4231_probe
.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
mov w21, #0
mov w22, #0
add x20, x0, #8
mov w25, #50
Lloh0:
adrp x26, _REGSEL@GOTPAGE
Lloh1:
ldr x26, [x26, _REGSEL@GOTPAGEOFF]
Lloh2:
adrp x27, _CS4231_INIT@GOTPAGE
Lloh3:
ldr x27, [x27, _CS4231_INIT@GOTPAGEOFF]
Lloh4:
adrp x23, _CS4231_MISC_INFO@GOTPAGE
Lloh5:
ldr x23, [x23, _CS4231_MISC_INFO@GOTPAGEOFF]
Lloh6:
adrp x24, _CS4231_MODE2@GOTPAGE
Lloh7:
ldr x24, [x24, _CS4231_MODE2@GOTPAGEOFF]
Lloh8:
adrp x28, _CS4231_VERSION@GOTPAGE
Lloh9:
ldr x28, [x28, _CS4231_VERSION@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov w0, #2
bl _msleep
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
subs w25, w25, #1
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
bl _mb
ldr w1, [x26]
mov x0, x19
bl _CS4231U
mov x1, x0
mov x0, x19
bl ___cs4231_readb
ldr w8, [x27]
tst w8, w0
b.ne LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _spin_lock_irqsave
ldr w1, [x23]
ldr w2, [x24]
mov x0, x19
bl _snd_cs4231_out
ldr x1, [x23]
mov x0, x19
bl _snd_cs4231_in
and w22, w0, #0xf
ldr x1, [x28]
mov x0, x19
bl _snd_cs4231_in
mov x21, x0
mov x0, x20
bl _spin_unlock_irqrestore
cmp w22, #10
b.ne LBB0_2
; %bb.5:
ldr w1, [x19, #12]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
mov w2, #10
bl _snd_printdd
b LBB0_7
LBB0_6:
ldr w1, [x19, #12]
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
mov x2, x22
bl _snd_printdd
cmp w22, #10
b.ne LBB0_10
LBB0_7:
mov x0, x20
bl _spin_lock_irqsave
Lloh14:
adrp x22, _STATUS@GOTPAGE
Lloh15:
ldr x22, [x22, _STATUS@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x19
bl _CS4231U
mov x1, x0
mov x0, x19
bl ___cs4231_readb
ldr w1, [x22]
mov x0, x19
bl _CS4231U
mov x2, x0
mov x0, x19
mov w1, #0
bl ___cs4231_writeb
bl _mb
mov x0, x20
bl _spin_unlock_irqrestore
ldr w8, [x24]
ldr x9, [x19]
ldr x10, [x23]
str w8, [x9, x10, lsl #2]
Lloh16:
adrp x8, _CS4231_IFACE_CTRL@GOTPAGE
Lloh17:
ldr x8, [x8, _CS4231_IFACE_CTRL@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
lsl x8, x8, #2
ldr w10, [x9, x8]
Lloh19:
adrp x11, _CS4231_SINGLE_DMA@GOTPAGE
Lloh20:
ldr x11, [x11, _CS4231_SINGLE_DMA@GOTPAGEOFF]
Lloh21:
ldr w11, [x11]
bic w10, w10, w11
str w10, [x9, x8]
Lloh22:
adrp x8, _CS4231_ALT_FEATURE_1@GOTPAGE
Lloh23:
ldr x8, [x8, _CS4231_ALT_FEATURE_1@GOTPAGEOFF]
Lloh24:
ldr x8, [x8]
mov w10, #128
str w10, [x9, x8, lsl #2]
Lloh25:
adrp x8, _CS4231_ALT_FEATURE_2@GOTPAGE
Lloh26:
ldr x8, [x8, _CS4231_ALT_FEATURE_2@GOTPAGEOFF]
Lloh27:
ldr x8, [x8]
tst w21, #0x20
mov w10, #3
csinc w10, w10, wzr, ne
str w10, [x9, x8, lsl #2]
mov x0, x19
bl _snd_cs4231_mce_down
mov x0, x20
bl _spin_lock_irqsave
mov x21, #0
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w2, [x19, x21]
mov x0, x19
mov x1, x21
bl _snd_cs4231_out
add x21, x21, #1
cmp w21, #32
b.ne LBB0_8
; %bb.9:
mov x0, x20
bl _spin_unlock_irqrestore
mov x0, x19
bl _snd_cs4231_mce_up
mov x0, x19
bl _snd_cs4231_mce_down
mov w0, #2
bl _mdelay
mov w0, #0
b LBB0_11
LBB0_10:
Lloh28:
adrp x8, _ENODEV@GOTPAGE
Lloh29:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
neg w0, w8
LBB0_11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _REGSEL,4,2 ; @REGSEL
.comm _CS4231_INIT,4,2 ; @CS4231_INIT
.comm _CS4231_MISC_INFO,8,3 ; @CS4231_MISC_INFO
.comm _CS4231_MODE2,4,2 ; @CS4231_MODE2
.comm _CS4231_VERSION,8,3 ; @CS4231_VERSION
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cs4231: port = %p, id = 0x%x\n"
.comm _ENODEV,4,2 ; @ENODEV
.comm _STATUS,4,2 ; @STATUS
.comm _CS4231_IFACE_CTRL,8,3 ; @CS4231_IFACE_CTRL
.comm _CS4231_SINGLE_DMA,4,2 ; @CS4231_SINGLE_DMA
.comm _CS4231_ALT_FEATURE_1,8,3 ; @CS4231_ALT_FEATURE_1
.comm _CS4231_ALT_FEATURE_2,8,3 ; @CS4231_ALT_FEATURE_2
.no_dead_strip _snd_cs4231_probe
.subsections_via_symbols
| AnghaBench/linux/sound/sparc/extr_cs4231.c_snd_cs4231_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DSPCheckMailToDSP ## -- Begin function DSPCheckMailToDSP
.p2align 4, 0x90
_DSPCheckMailToDSP: ## @DSPCheckMailToDSP
.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 _DSPCheckMailFromDSP ## -- Begin function DSPCheckMailFromDSP
.p2align 4, 0x90
_DSPCheckMailFromDSP: ## @DSPCheckMailFromDSP
.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 _DSPReadCPUToDSPMbox ## -- Begin function DSPReadCPUToDSPMbox
.p2align 4, 0x90
_DSPReadCPUToDSPMbox: ## @DSPReadCPUToDSPMbox
.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 _DSPReadMailFromDSP ## -- Begin function DSPReadMailFromDSP
.p2align 4, 0x90
_DSPReadMailFromDSP: ## @DSPReadMailFromDSP
.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 _DSPSendMailToDSP ## -- Begin function DSPSendMailToDSP
.p2align 4, 0x90
_DSPSendMailToDSP: ## @DSPSendMailToDSP
.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 _DSPAssertInt ## -- Begin function DSPAssertInt
.p2align 4, 0x90
_DSPAssertInt: ## @DSPAssertInt
.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 _DSPInit ## -- Begin function DSPInit
.p2align 4, 0x90
_DSPInit: ## @DSPInit
.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 _DSPCheckInit ## -- Begin function DSPCheckInit
.p2align 4, 0x90
_DSPCheckInit: ## @DSPCheckInit
.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 _DSPReset ## -- Begin function DSPReset
.p2align 4, 0x90
_DSPReset: ## @DSPReset
.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 _DSPHalt ## -- Begin function DSPHalt
.p2align 4, 0x90
_DSPHalt: ## @DSPHalt
.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 _DSPUnhalt ## -- Begin function DSPUnhalt
.p2align 4, 0x90
_DSPUnhalt: ## @DSPUnhalt
.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 _DSPGetDMAStatus ## -- Begin function DSPGetDMAStatus
.p2align 4, 0x90
_DSPGetDMAStatus: ## @DSPGetDMAStatus
.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 _DSPCancelTask ## -- Begin function DSPCancelTask
.p2align 4, 0x90
_DSPCancelTask: ## @DSPCancelTask
.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 _DSPAssertTask ## -- Begin function DSPAssertTask
.p2align 4, 0x90
_DSPAssertTask: ## @DSPAssertTask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DSPCheckMailToDSP ; -- Begin function DSPCheckMailToDSP
.p2align 2
_DSPCheckMailToDSP: ; @DSPCheckMailToDSP
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPCheckMailFromDSP ; -- Begin function DSPCheckMailFromDSP
.p2align 2
_DSPCheckMailFromDSP: ; @DSPCheckMailFromDSP
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPReadCPUToDSPMbox ; -- Begin function DSPReadCPUToDSPMbox
.p2align 2
_DSPReadCPUToDSPMbox: ; @DSPReadCPUToDSPMbox
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPReadMailFromDSP ; -- Begin function DSPReadMailFromDSP
.p2align 2
_DSPReadMailFromDSP: ; @DSPReadMailFromDSP
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPSendMailToDSP ; -- Begin function DSPSendMailToDSP
.p2align 2
_DSPSendMailToDSP: ; @DSPSendMailToDSP
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPAssertInt ; -- Begin function DSPAssertInt
.p2align 2
_DSPAssertInt: ; @DSPAssertInt
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPInit ; -- Begin function DSPInit
.p2align 2
_DSPInit: ; @DSPInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPCheckInit ; -- Begin function DSPCheckInit
.p2align 2
_DSPCheckInit: ; @DSPCheckInit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPReset ; -- Begin function DSPReset
.p2align 2
_DSPReset: ; @DSPReset
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPHalt ; -- Begin function DSPHalt
.p2align 2
_DSPHalt: ; @DSPHalt
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPUnhalt ; -- Begin function DSPUnhalt
.p2align 2
_DSPUnhalt: ; @DSPUnhalt
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPGetDMAStatus ; -- Begin function DSPGetDMAStatus
.p2align 2
_DSPGetDMAStatus: ; @DSPGetDMAStatus
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPCancelTask ; -- Begin function DSPCancelTask
.p2align 2
_DSPCancelTask: ; @DSPCancelTask
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _DSPAssertTask ; -- Begin function DSPAssertTask
.p2align 2
_DSPAssertTask: ; @DSPAssertTask
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/103499.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 %rbx
subq $120, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %r14
leaq -144(%rbp), %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
xorl %ebx, %ebx
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _getchar
cmpl $-1, %eax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
cmpl $10, %eax
jne LBB0_4
LBB0_5: ## in Loop: Header=BB0_2 Depth=2
movl %ebx, %ecx
LBB0_6: ## in Loop: Header=BB0_2 Depth=2
cmpl $10, %eax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=2
movl %ecx, %eax
movb $10, -144(%rbp,%rax)
incl %ecx
LBB0_8: ## in Loop: Header=BB0_2 Depth=2
movslq %ecx, %rax
movb $0, -144(%rbp,%rax)
testl %eax, %eax
jle LBB0_11
## %bb.9: ## in Loop: Header=BB0_2 Depth=2
movl $0, %ebx
cmpl $81, %ecx
jb LBB0_2
jmp LBB0_10
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
movb %al, -144(%rbp,%rbx)
incq %rbx
movl $99, %ecx
cmpq $99, %rbx
jne LBB0_2
jmp LBB0_6
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_13
## %bb.12:
xorl %eax, %eax
addq $120, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _my_getline ## -- Begin function my_getline
.p2align 4, 0x90
_my_getline: ## @my_getline
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
xorl %ecx, %ecx
cmpl $2, %esi
jl LBB1_7
## %bb.1:
movl %esi, %r14d
decl %r14d
movl %r14d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
callq _getchar
cmpl $-1, %eax
je LBB1_5
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
cmpl $10, %eax
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
movb %al, (%r15,%rbx)
incq %rbx
cmpq %rbx, %r12
jne LBB1_2
jmp LBB1_6
LBB1_5:
movl %ebx, %r14d
LBB1_6:
movl %r14d, %ecx
cmpl $10, %eax
jne LBB1_8
LBB1_7:
movl %ecx, %eax
movb $10, (%r15,%rax)
incl %ecx
movl %ecx, %r14d
LBB1_8:
movslq %r14d, %rax
movb $0, (%r15,%rax)
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _copy ## -- Begin function copy
.p2align 4, 0x90
_copy: ## @copy
.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
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%rax), %ecx
movb %cl, (%rsi,%rax)
incq %rax
testb %cl, %cl
jne LBB2_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.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, #176
.cfi_def_cfa_offset 176
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
mov x22, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
add x20, sp, #20
mov w21, #10
Lloh3:
adrp x19, l_.str@PAGE
Lloh4:
add x19, x19, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
cmn w0, #1
b.eq LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp w0, #10
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
strb w0, [x20, x22]
add x22, x22, #1
cmp x22, #99
b.ne LBB0_1
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
cmp w0, #10
b.ne LBB0_6
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
strb w21, [x20, w22, uxtw]
add w22, w22, #1
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
strb wzr, [x20, w22, sxtw]
cmp w22, #1
b.lt LBB0_9
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
cmp w22, #81
mov x22, #0
b.lo LBB0_1
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
str x20, [sp]
mov x0, x19
bl _printf
mov x22, #0
b LBB0_1
LBB0_9:
ldur x8, [x29, #-40]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
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
add sp, sp, #176
ret
LBB0_11:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _my_getline ; -- Begin function my_getline
.p2align 2
_my_getline: ; @my_getline
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
cmp w1, #2
b.lt LBB1_6
; %bb.1:
mov x21, #0
sub w20, w1, #1
LBB1_2: ; =>This Inner Loop Header: Depth=1
bl _getchar
cmn w0, #1
b.eq LBB1_7
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
cmp w0, #10
b.eq LBB1_7
; %bb.4: ; in Loop: Header=BB1_2 Depth=1
strb w0, [x19, x21]
add x21, x21, #1
cmp x20, x21
b.ne LBB1_2
; %bb.5:
cmp w0, #10
b.eq LBB1_8
b LBB1_9
LBB1_6:
mov w20, #0
b LBB1_8
LBB1_7:
mov x20, x21
cmp w0, #10
b.ne LBB1_9
LBB1_8:
mov w8, #10
strb w8, [x19, w20, uxtw]
add w20, w20, #1
LBB1_9:
strb wzr, [x19, w20, sxtw]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _copy ; -- Begin function copy
.p2align 2
_copy: ; @copy
.cfi_startproc
; %bb.0:
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0], #1
strb w8, [x1], #1
cbnz w8, LBB2_1
; %bb.2:
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/92504.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $1096, %rsp ## imm = 0x448
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r12d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $256, %edi ## imm = 0x100
movl $1, %esi
callq _calloc
movq %rax, -1120(%rbp) ## 8-byte Spill
cmpl $1, %r12d
je LBB0_4
## %bb.1:
leaq L_.str(%rip), %r13
leaq LJTI0_0(%rip), %rbx
movq _optarg@GOTPCREL(%rip), %r15
xorl %eax, %eax
movq %rax, -1080(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -1096(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -1112(%rbp) ## 8-byte Spill
movl $0, -1100(%rbp) ## 4-byte Folded Spill
movl $0, -1088(%rbp) ## 4-byte Folded Spill
movl %r12d, -1104(%rbp) ## 4-byte Spill
jmp LBB0_2
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movl $1, _xflag(%rip)
movq (%r15), %rax
movq %rax, _xtra_stuff(%rip)
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r12d, %edi
movq %r14, %rsi
movq %r13, %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
leal -100(%rax), %ecx
cmpl $20, %ecx
ja LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movslq (%rbx,%rcx,4), %rax
addq %rbx, %rax
jmpq *%rax
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movl $1, _dflag(%rip)
jmp LBB0_2
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl $256, %edi ## imm = 0x100
movl $1, %esi
callq _calloc
movq %rax, _google_server(%rip)
testq %rax, %rax
je LBB0_17
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
movq %rax, _google_server(%rip)
jmp LBB0_2
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
movq %rax, -1096(%rbp) ## 8-byte Spill
movl $1, -1100(%rbp) ## 4-byte Folded Spill
jmp LBB0_2
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movl $1, _oflag(%rip)
movq (%r15), %rax
movq %rax, -1080(%rbp) ## 8-byte Spill
jmp LBB0_2
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %r12
movq %r13, %rbx
movl $256, %edi ## imm = 0x100
movl $1, %esi
callq _calloc
movq %rax, _proxyaddr(%rip)
testq %rax, %rax
je LBB0_8
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
movq (%r15), %r14
movq %r14, %rdi
movl $58, %esi
callq _strchr
testq %rax, %rax
je LBB0_82
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
movl $1, _pflag(%rip)
movq %r14, %rdi
leaq L_.str.2(%rip), %rsi
callq _strtok
movl $256, %esi ## imm = 0x100
movq %r13, %rdi
leaq L_.str.4(%rip), %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _snprintf
xorl %edi, %edi
leaq l_.str.5(%rip), %rsi
callq _strtok
movq %rax, %rdi
callq _atoi
movl %eax, _proxyport(%rip)
movq %rbx, %r13
movq %r12, %r14
movl -1104(%rbp), %r12d ## 4-byte Reload
leaq LJTI0_0(%rip), %rbx
jmp LBB0_2
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
movq %rax, -1112(%rbp) ## 8-byte Spill
movl $1, -1088(%rbp) ## 4-byte Folded Spill
jmp LBB0_2
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
movl $1, _sflag(%rip)
movq (%r15), %rax
movq %rax, _site(%rip)
jmp LBB0_2
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movl $1, _vflag(%rip)
jmp LBB0_2
LBB0_3:
cmpl $-1, %eax
jne LBB0_4
## %bb.21:
movq _google_server(%rip), %rbx
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_23
## %bb.22:
leaq 7(%rbx), %rsi
movl $256, %edx ## imm = 0x100
movq %rbx, %rdi
callq _strncpy
movq _google_server(%rip), %rbx
LBB0_23:
movq -1096(%rbp), %r12 ## 8-byte Reload
movl -1088(%rbp), %r14d ## 4-byte Reload
movq -1080(%rbp), %r15 ## 8-byte Reload
cmpb $0, (%rbx)
je LBB0_83
## %bb.24:
leaq L_.str.9(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB0_26
## %bb.25:
leaq L_str.129(%rip), %rdi
callq _puts
leaq L_str.130(%rip), %rdi
callq _puts
leaq L_str.131(%rip), %rdi
callq _puts
leaq L_str.132(%rip), %rdi
callq _puts
leaq L_str.133(%rip), %rdi
callq _puts
leaq L_str.134(%rip), %rdi
callq _puts
leaq L_str.135(%rip), %rdi
callq _puts
leaq L_str.136(%rip), %rdi
callq _puts
leaq L_str.137(%rip), %rdi
callq _puts
leaq L_str.138(%rip), %rdi
callq _puts
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
callq _getchar
cmpl $121, %eax
jne LBB0_84
LBB0_26:
movl %r14d, %eax
movl -1100(%rbp), %ebx ## 4-byte Reload
orl %ebx, %eax
je LBB0_85
## %bb.27:
testl %r14d, %r14d
je LBB0_29
## %bb.28:
testl %ebx, %ebx
jne LBB0_86
LBB0_29:
cmpl $0, _oflag(%rip)
movq %r12, -1096(%rbp) ## 8-byte Spill
je LBB0_30
## %bb.31:
leaq L_.str.25(%rip), %rsi
movq %r15, %rdi
callq _fopen
testq %rax, %rax
je LBB0_32
## %bb.35:
movq %rax, %r13
leaq L_.str.26(%rip), %rsi
leaq L_.str.27(%rip), %rdx
leaq L_.str.28(%rip), %r14
movq %rax, %rdi
xorl %ecx, %ecx
movq %r14, %r8
callq _writeit
cmpl $0, _sflag(%rip)
leaq L_.str.30(%rip), %r8
movq %r8, %rcx
je LBB0_37
## %bb.36:
movq _site(%rip), %rcx
LBB0_37:
testl %ebx, %ebx
cmovneq %r12, %r8
leaq L_.str.29(%rip), %rdx
movl $256, %esi ## imm = 0x100
movq -1120(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
xorl %eax, %eax
callq _snprintf
leaq L_.str.31(%rip), %r15
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
movq %r14, %r8
callq _writeit
xorl %edi, %edi
callq _time
movq %rax, -1128(%rbp)
leaq -1128(%rbp), %rdi
callq _localtime
movq %rax, %rdi
callq _asctime
leaq L_.str.32(%rip), %rdx
movl $256, %esi ## imm = 0x100
movq %r12, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq _snprintf
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
movq %r14, %r8
callq _writeit
leaq L_.str.33(%rip), %r8
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _writeit
movl -1088(%rbp), %r14d ## 4-byte Reload
testl %r14d, %r14d
je LBB0_41
LBB0_39:
leaq L_.str.28(%rip), %rdi
movq %rdi, %rsi
movq -1112(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
callq _google_query
movq %rax, _results(%rip)
leaq L_.str.34(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _printf
cmpl $0, _oflag(%rip)
je LBB0_33
## %bb.40:
movl _results(%rip), %ecx
movq _out_query@GOTPCREL(%rip), %rsi
movq _pretty_query@GOTPCREL(%rip), %rdx
leaq L_.str.35(%rip), %r8
movq %r13, %rdi
callq _writeit
jmp LBB0_80
LBB0_30:
## implicit-def: $r13
testl %r14d, %r14d
jne LBB0_39
LBB0_41:
testl %ebx, %ebx
je LBB0_80
## %bb.42:
cmpl $0, _sflag(%rip)
je LBB0_44
## %bb.43:
movq _site(%rip), %rsi
leaq L_.str.36(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_44:
leaq L_.str.37(%rip), %rsi
movq -1096(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _fopen
movq %rax, -1088(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_45
## %bb.47:
movb $1, %al
movl %eax, -1096(%rbp) ## 4-byte Spill
cmpl $0, _sflag(%rip)
movq %r13, -1080(%rbp) ## 8-byte Spill
je LBB0_51
## %bb.48:
leaq L_.str.28(%rip), %rdi
leaq L_.str.38(%rip), %rdx
movq %rdi, %rsi
callq _google_query
movq %rax, _results(%rip)
testq %rax, %rax
je LBB0_49
## %bb.50:
leaq L_.str.41(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_51
LBB0_49:
leaq L_str.124(%rip), %rdi
callq _puts
leaq L_str.125(%rip), %rdi
callq _puts
movl $0, -1096(%rbp) ## 4-byte Folded Spill
LBB0_51:
leaq -1072(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
movq -1088(%rbp), %rdx ## 8-byte Reload
callq _fgets
testq %rax, %rax
je LBB0_79
## %bb.52:
movq _out_query@GOTPCREL(%rip), %rbx
leaq -1072(%rbp), %r13
jmp LBB0_53
LBB0_75: ## in Loop: Header=BB0_53 Depth=1
movq _total_string@GOTPCREL(%rip), %rdi
callq _puts
.p2align 4, 0x90
LBB0_78: ## in Loop: Header=BB0_53 Depth=1
movq _description(%rip), %rdi
callq _free
movq %r14, %rdi
callq _free
movq %r12, %rdi
callq _free
movq %r13, %rdi
movl $1024, %esi ## imm = 0x400
movq -1088(%rbp), %rdx ## 8-byte Reload
callq _fgets
testq %rax, %rax
je LBB0_79
LBB0_53: ## =>This Inner Loop Header: Depth=1
movl $0, _total(%rip)
movl $0, _cooked(%rip)
xorps %xmm0, %xmm0
movq _total_string@GOTPCREL(%rip), %rax
movaps %xmm0, (%rax)
movaps %xmm0, 16(%rax)
movaps %xmm0, 32(%rax)
movaps %xmm0, 48(%rax)
movaps %xmm0, 64(%rax)
movaps %xmm0, 80(%rax)
movaps %xmm0, 96(%rax)
movaps %xmm0, 112(%rax)
movaps %xmm0, 128(%rax)
movaps %xmm0, 144(%rax)
movaps %xmm0, 160(%rax)
movaps %xmm0, 176(%rax)
movaps %xmm0, 192(%rax)
movaps %xmm0, 208(%rax)
movaps %xmm0, 224(%rax)
movaps %xmm0, 240(%rax)
movq _mid_query@GOTPCREL(%rip), %rax
movaps %xmm0, 240(%rax)
movaps %xmm0, 224(%rax)
movaps %xmm0, 208(%rax)
movaps %xmm0, 192(%rax)
movaps %xmm0, 176(%rax)
movaps %xmm0, 160(%rax)
movaps %xmm0, 144(%rax)
movaps %xmm0, 128(%rax)
movaps %xmm0, 112(%rax)
movaps %xmm0, 96(%rax)
movaps %xmm0, 80(%rax)
movaps %xmm0, 64(%rax)
movaps %xmm0, 48(%rax)
movaps %xmm0, 32(%rax)
movaps %xmm0, 16(%rax)
movaps %xmm0, (%rax)
movaps %xmm0, (%rbx)
movaps %xmm0, 16(%rbx)
movaps %xmm0, 32(%rbx)
movaps %xmm0, 48(%rbx)
movaps %xmm0, 64(%rbx)
movaps %xmm0, 80(%rbx)
movaps %xmm0, 96(%rbx)
movaps %xmm0, 112(%rbx)
movaps %xmm0, 128(%rbx)
movaps %xmm0, 144(%rbx)
movaps %xmm0, 160(%rbx)
movaps %xmm0, 176(%rbx)
movaps %xmm0, 192(%rbx)
movaps %xmm0, 208(%rbx)
movaps %xmm0, 224(%rbx)
movaps %xmm0, 240(%rbx)
movl $48, %edi
movl $1, %esi
callq _calloc
testq %rax, %rax
je LBB0_54
## %bb.55: ## in Loop: Header=BB0_53 Depth=1
movq %rax, %r14
movl $200, %edi
movl $1, %esi
callq _calloc
testq %rax, %rax
je LBB0_56
## %bb.57: ## in Loop: Header=BB0_53 Depth=1
movq %rax, %r12
movl $2048, %edi ## imm = 0x800
movl $1, %esi
callq _calloc
movq %rax, _description(%rip)
testq %rax, %rax
je LBB0_58
## %bb.59: ## in Loop: Header=BB0_53 Depth=1
movq %r13, %rdi
leaq L_.str.45(%rip), %r13
movq %r13, %rsi
callq _strtok
movl $48, %esi
movq %r14, %rdi
leaq L_.str.4(%rip), %r15
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _snprintf
xorl %edi, %edi
movq %r13, %rsi
callq _strtok
movl $200, %esi
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _snprintf
xorl %edi, %edi
movq %r13, %rsi
callq _strtok
movq %r14, %rdi
leaq L_.str.46(%rip), %rsi
callq _strcmp
testl %eax, %eax
jne LBB0_61
## %bb.60: ## in Loop: Header=BB0_53 Depth=1
movl $1, _cooked(%rip)
LBB0_61: ## in Loop: Header=BB0_53 Depth=1
movq %r14, %rdi
leaq L_.str.47(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_62
## %bb.70: ## in Loop: Header=BB0_53 Depth=1
movq %r14, %rdi
leaq L_.str.51(%rip), %rsi
movq %r12, %rdx
callq _google_query
movq %rax, _results(%rip)
testq %rax, %rax
js LBB0_76
## %bb.71: ## in Loop: Header=BB0_53 Depth=1
cmpl $0, _oflag(%rip)
leaq -1072(%rbp), %r13
je LBB0_73
## %bb.72: ## in Loop: Header=BB0_53 Depth=1
movq -1080(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq _pretty_query@GOTPCREL(%rip), %rdx
movl %eax, %ecx
leaq L_.str.35(%rip), %r8
callq _writeit
movq _results(%rip), %rax
LBB0_73: ## in Loop: Header=BB0_53 Depth=1
testq %rax, %rax
jg LBB0_75
## %bb.74: ## in Loop: Header=BB0_53 Depth=1
cmpl $0, _vflag(%rip)
je LBB0_78
jmp LBB0_75
.p2align 4, 0x90
LBB0_62: ## in Loop: Header=BB0_53 Depth=1
cmpb $0, -1096(%rbp) ## 1-byte Folded Reload
je LBB0_65
## %bb.63: ## in Loop: Header=BB0_53 Depth=1
leaq L_.str.48(%rip), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq _google_query
movq %rax, _results(%rip)
cmpl $0, _oflag(%rip)
je LBB0_65
## %bb.64: ## in Loop: Header=BB0_53 Depth=1
movq -1080(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq _pretty_query@GOTPCREL(%rip), %rdx
movl %eax, %ecx
leaq L_.str.35(%rip), %r8
callq _writeit
LBB0_65: ## in Loop: Header=BB0_53 Depth=1
leaq L_.str.49(%rip), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq _google_query
movq %rax, _results(%rip)
cmpl $0, _oflag(%rip)
leaq -1072(%rbp), %r13
je LBB0_67
## %bb.66: ## in Loop: Header=BB0_53 Depth=1
movq -1080(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
movq _pretty_query@GOTPCREL(%rip), %rdx
movl %eax, %ecx
leaq L_.str.35(%rip), %r8
callq _writeit
movq _results(%rip), %rax
LBB0_67: ## in Loop: Header=BB0_53 Depth=1
testq %rax, %rax
jg LBB0_69
## %bb.68: ## in Loop: Header=BB0_53 Depth=1
cmpl $0, _vflag(%rip)
je LBB0_78
LBB0_69: ## in Loop: Header=BB0_53 Depth=1
movl _total(%rip), %edx
leaq L_.str.50(%rip), %rdi
movq _total_string@GOTPCREL(%rip), %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_78
.p2align 4, 0x90
LBB0_76: ## in Loop: Header=BB0_53 Depth=1
cmpl $0, _vflag(%rip)
leaq -1072(%rbp), %r13
je LBB0_78
## %bb.77: ## in Loop: Header=BB0_53 Depth=1
leaq L_.str.53(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
jmp LBB0_78
LBB0_79:
movq -1088(%rbp), %rdi ## 8-byte Reload
callq _fclose
movq -1080(%rbp), %r13 ## 8-byte Reload
LBB0_80:
cmpl $0, _oflag(%rip)
je LBB0_33
## %bb.81:
leaq L_.str.54(%rip), %r8
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _writeit
movq %r13, %rdi
callq _fclose
LBB0_33:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_46
## %bb.34:
xorl %eax, %eax
addq $1096, %rsp ## imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
movq %r15, %rdi
callq _main.cold.2
jmp LBB0_33
LBB0_45:
movq %rbx, %rdi
callq _main.cold.1
jmp LBB0_33
LBB0_4:
callq _usage
LBB0_17:
leaq L_str.140(%rip), %rdi
jmp LBB0_9
LBB0_8:
leaq L_str.142(%rip), %rdi
LBB0_9:
callq _puts
movl $1, %edi
callq _exit
LBB0_82:
leaq L_str.141(%rip), %rdi
callq _puts
callq _usage
LBB0_54:
leaq L_str.123(%rip), %rdi
jmp LBB0_9
LBB0_56:
leaq L_str.122(%rip), %rdi
jmp LBB0_9
LBB0_58:
leaq L_str.121(%rip), %rdi
jmp LBB0_9
LBB0_83:
leaq L_str.139(%rip), %rdi
callq _puts
callq _usage
LBB0_85:
leaq L_str(%rip), %rdi
callq _puts
callq _usage
LBB0_86:
leaq L_str.126(%rip), %rdi
callq _puts
leaq L_str.127(%rip), %rdi
callq _puts
leaq L_str.128(%rip), %rdi
callq _puts
callq _usage
LBB0_46:
callq ___stack_chk_fail
LBB0_84:
movl $1, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_13
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_14
.long L0_0_set_7
.long L0_0_set_12
.long L0_0_set_4
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_4
.long L0_0_set_19
.long L0_0_set_4
.long L0_0_set_20
.end_data_region
## -- End function
.globl _writeit ## -- Begin function writeit
.p2align 4, 0x90
_writeit: ## @writeit
.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, %rbx
movl %ecx, %r15d
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r12
leaq L_.str.33(%rip), %rsi
movq %r8, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_1
## %bb.2:
leaq L_.str.35(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_3
## %bb.4:
leaq L_.str.54(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_5
## %bb.7:
leaq L_.str.28(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_10
## %bb.8:
addq $24, %rsp
jmp LBB1_9
LBB1_1:
leaq L_.str.71(%rip), %rdi
movl $69, %esi
movl $1, %edx
movq %r12, %rcx
callq _fwrite
leaq L_.str.72(%rip), %rdi
movl $25, %esi
movl $1, %edx
movq %r12, %rcx
callq _fwrite
leaq L_.str.73(%rip), %rdi
movl $53, %esi
jmp LBB1_6
LBB1_3:
testl %r15d, %r15d
leaq L_.str.26(%rip), %rax
leaq L_.str.74(%rip), %rbx
cmoveq %rax, %rbx
movq %r14, -56(%rbp) ## 8-byte Spill
leaq L_.str.75(%rip), %r14
cmoveq %rax, %r14
movq _google_server(%rip), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r13, %rdi
movl $1, %esi
callq _inet_convert
movq %rax, %r10
leaq L_.str.76(%rip), %rsi
movq %r12, %rdi
movq %rbx, %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
movq %r14, %r8
movq -48(%rbp), %r9 ## 8-byte Reload
xorl %eax, %eax
pushq %r15
pushq %r10
callq _fprintf
addq $40, %rsp
LBB1_9:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_5:
leaq L_.str.77(%rip), %rdi
movl $9, %esi
movl $1, %edx
movq %r12, %rcx
callq _fwrite
leaq L_.str.78(%rip), %rdi
movl $100, %esi
LBB1_6:
movl $1, %edx
movq %r12, %rcx
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fwrite ## TAILCALL
LBB1_10:
movq %r14, %rdi
movq %r12, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fputs ## TAILCALL
.cfi_endproc
## -- End function
.globl _google_query ## -- Begin function google_query
.p2align 4, 0x90
_google_query: ## @google_query
.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 $1048, %rsp ## imm = 0x418
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq _total_string@GOTPCREL(%rip), %rax
cmpb $0, (%rax)
jne LBB2_2
## %bb.1:
movq %rsi, %r8
movq _total_string@GOTPCREL(%rip), %rdi
leaq L_.str.55(%rip), %rcx
movl $256, %edx ## imm = 0x100
xorl %esi, %esi
movq %r15, %r9
xorl %eax, %eax
callq ___sprintf_chk
LBB2_2:
cmpl $0, _vflag(%rip)
je LBB2_4
## %bb.3:
leaq L_.str.56(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
LBB2_4:
leaq L_.str.48(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_5
## %bb.6:
leaq L_.str.49(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_7
## %bb.8:
leaq L_.str.59(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_9
## %bb.10:
leaq L_.str.28(%rip), %rsi
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB2_11
## %bb.12:
leaq L_.str.61(%rip), %rsi
movq %r14, %rdi
callq _strcmp
movl %eax, %ecx
movq $-1, %rax
testl %ecx, %ecx
jne LBB2_25
## %bb.13:
leaq L_.str.62(%rip), %rcx
jmp LBB2_14
LBB2_5:
leaq L_.str.57(%rip), %rcx
jmp LBB2_14
LBB2_7:
leaq L_.str.58(%rip), %rcx
jmp LBB2_14
LBB2_9:
leaq L_.str.60(%rip), %rcx
jmp LBB2_14
LBB2_11:
leaq L_.str.4(%rip), %rcx
LBB2_14:
movq _pretty_query@GOTPCREL(%rip), %rbx
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %r8
xorl %eax, %eax
callq ___sprintf_chk
movq _mid_query@GOTPCREL(%rip), %rdi
leaq L_.str.63(%rip), %rcx
movl $1024, %edx ## imm = 0x400
xorl %esi, %esi
movq %rbx, %r8
xorl %eax, %eax
callq ___sprintf_chk
cmpl $0, _sflag(%rip)
je LBB2_17
## %bb.15:
movq _site(%rip), %r9
leaq L_.str.64(%rip), %rcx
movq _mid_query@GOTPCREL(%rip), %r15
leaq -1056(%rbp), %rbx
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %r8
xorl %eax, %eax
callq ___sprintf_chk
movl $1024, %edx ## imm = 0x400
movq %r15, %rdi
movq %rbx, %rsi
callq _strncpy
cmpl $0, _vflag(%rip)
je LBB2_17
## %bb.16:
leaq L_.str.65(%rip), %rdi
movq _mid_query@GOTPCREL(%rip), %rsi
xorl %eax, %eax
callq _printf
LBB2_17:
cmpl $0, _xflag(%rip)
je LBB2_20
## %bb.18:
movq _xtra_stuff(%rip), %r9
leaq L_.str.66(%rip), %rcx
movq _mid_query@GOTPCREL(%rip), %r15
leaq -1056(%rbp), %rbx
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %r8
xorl %eax, %eax
callq ___sprintf_chk
movl $1024, %edx ## imm = 0x400
movq %r15, %rdi
movq %rbx, %rsi
callq _strncpy
cmpl $0, _vflag(%rip)
je LBB2_22
## %bb.19:
leaq L_.str.67(%rip), %rdi
movq _mid_query@GOTPCREL(%rip), %rsi
xorl %eax, %eax
callq _printf
LBB2_20:
cmpl $0, _vflag(%rip)
je LBB2_22
## %bb.21:
leaq L_.str.68(%rip), %rdi
movq _mid_query@GOTPCREL(%rip), %rsi
xorl %eax, %eax
callq _printf
LBB2_22:
movq _mid_query@GOTPCREL(%rip), %rdi
callq _inet_send
cmpl $1, %eax
jne LBB2_24
## %bb.23:
leaq L_str.143(%rip), %rdi
callq _puts
xorl %eax, %eax
jmp LBB2_25
LBB2_24:
movq _recvbuf@GOTPCREL(%rip), %rdi
callq _parse_results
movq %rax, _results(%rip)
movq %rax, (%rsp)
leaq L_.str.70(%rip), %rcx
movq _total_string@GOTPCREL(%rip), %r15
leaq -1056(%rbp), %rbx
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %r8
movq %r14, %r9
xorl %eax, %eax
callq ___sprintf_chk
movl $256, %edx ## imm = 0x100
movq %r15, %rdi
movq %rbx, %rsi
callq _strncpy
movq _results(%rip), %rax
addl %eax, _total(%rip)
LBB2_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -32(%rbp), %rcx
jne LBB2_27
## %bb.26:
addq $1048, %rsp ## imm = 0x418
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _inet_send ## -- Begin function inet_send
.p2align 4, 0x90
_inet_send: ## @inet_send
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
testq %rax, %rax
je LBB3_24
## %bb.1:
movq %rax, %r14
cmpl $0, _cooked(%rip)
je LBB3_3
## %bb.2:
movq _out_query@GOTPCREL(%rip), %rsi
movl $1024, %edx ## imm = 0x400
movq %r14, %rdi
callq _strncpy
cmpl $0, _vflag(%rip)
jne LBB3_7
jmp LBB3_8
LBB3_3:
movl _dflag(%rip), %esi
movq %rbx, %rdi
callq _inet_convert
movq _out_query@GOTPCREL(%rip), %rdi
movl $1024, %edx ## imm = 0x400
movq %rax, %rsi
callq _strncpy
cmpl $0, _pflag(%rip)
je LBB3_4
## %bb.5:
movq _google_server(%rip), %r8
leaq L_.str.93(%rip), %rcx
movq _out_query@GOTPCREL(%rip), %r9
movl $1024, %edx ## imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
cmpl $0, _vflag(%rip)
je LBB3_8
LBB3_7:
leaq L_.str.94(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
LBB3_8:
movq _he@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
jne LBB3_16
## %bb.9:
movq _google_server(%rip), %rsi
leaq L_.str.95(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, _pflag(%rip)
je LBB3_15
## %bb.10:
movq _proxyaddr(%rip), %rdi
callq _gethostbyname
movq %rax, (%r15)
testq %rax, %rax
jne LBB3_16
## %bb.11:
callq _inet_send.cold.2
jmp LBB3_12
LBB3_4:
leaq L_.str.92(%rip), %rcx
movq _out_query@GOTPCREL(%rip), %r8
movl $1024, %edx ## imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
cmpl $0, _vflag(%rip)
jne LBB3_7
jmp LBB3_8
LBB3_15:
movq _google_server(%rip), %rdi
callq _gethostbyname
movq %rax, (%r15)
testq %rax, %rax
je LBB3_25
LBB3_16:
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
cmpl $-1, %eax
je LBB3_17
## %bb.19:
movl %eax, %ebx
movzwl _proxyport(%rip), %eax
rolw $8, %ax
cmpl $0, _pflag(%rip)
movl $20480, %ecx ## imm = 0x5000
cmovnel %eax, %ecx
movb $2, -47(%rbp)
movw %cx, -46(%rbp)
movq (%r15), %rax
movq 24(%rax), %rax
movq (%rax), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movq $0, -40(%rbp)
leaq -48(%rbp), %rsi
movl %ebx, %edi
movl $16, %edx
callq _connect
cmpl $-1, %eax
je LBB3_20
## %bb.21:
movq %r14, %rdi
callq _strlen
xorl %r15d, %r15d
movl %ebx, %edi
movq %r14, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq _send
movq _recvbuf@GOTPCREL(%rip), %rsi
movl $65000, %edx ## imm = 0xFDE8
movl %ebx, %edi
movl $64, %ecx
callq _recv
movl %ebx, %edi
callq _close
LBB3_22:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB3_18
## %bb.23:
movl %r15d, %eax
LBB3_14:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB3_17:
callq _inet_send.cold.1
LBB3_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB3_18
## %bb.13:
xorl %eax, %eax
jmp LBB3_14
LBB3_20:
movl %ebx, %edi
callq _close
leaq L_.str.99(%rip), %rdi
callq _perror
movl $1, %r15d
jmp LBB3_22
LBB3_24:
leaq L_str.144(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
LBB3_18:
callq ___stack_chk_fail
LBB3_25:
movq _google_server(%rip), %rsi
leaq L_.str.97(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _parse_results ## -- Begin function parse_results
.p2align 4, 0x90
_parse_results: ## @parse_results
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, %r14
leaq L_.str.79(%rip), %rsi
movq %rbx, %rdi
callq _strcspn
leaq -1(%rax), %rdx
movl $1024, %ecx ## imm = 0x400
movq %r14, %rdi
movq %rbx, %rsi
callq ___strncat_chk
cmpl $0, _vflag(%rip)
je LBB4_2
## %bb.1:
leaq L_.str.80(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
LBB4_2:
leaq L_.str.81(%rip), %rsi
movq %r14, %rdi
callq _strstr
testq %rax, %rax
je LBB4_3
## %bb.4:
leaq L_.str.83(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB4_21
## %bb.5:
leaq L_.str.83(%rip), %rsi
movq %rax, %rdi
callq _strtok
leaq L_.str.84(%rip), %r14
xorl %ebx, %ebx
xorl %edi, %edi
movq %r14, %rsi
callq _strtok
xorl %edi, %edi
movq %r14, %rsi
callq _strtok
leaq L_.str.85(%rip), %r14
xorl %edi, %edi
movq %r14, %rsi
callq _strtok
xorl %edi, %edi
movq %r14, %rsi
callq _strtok
leaq L_.str.86(%rip), %rsi
xorl %edi, %edi
callq _strtok
testq %rax, %rax
je LBB4_19
## %bb.6:
movq %rax, %r14
movq %rax, %rdi
callq _strlen
testq %rax, %rax
je LBB4_18
## %bb.7:
cmpq $1, %rax
jne LBB4_9
## %bb.8:
xorl %ecx, %ecx
xorl %ebx, %ebx
LBB4_15:
testb $1, %al
je LBB4_18
## %bb.16:
movb (%r14,%rcx), %al
cmpb $44, %al
je LBB4_18
## %bb.17:
movslq %ebx, %rbx
movb %al, -64(%rbp,%rbx)
incl %ebx
LBB4_18:
movslq %ebx, %rax
movb $0, -64(%rbp,%rax)
leaq -64(%rbp), %rdi
callq _atol
movq %rax, %rbx
jmp LBB4_19
LBB4_3:
leaq L_.str.82(%rip), %rdi
xorl %ebx, %ebx
movq %r14, %rsi
xorl %eax, %eax
callq _printf
LBB4_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB4_25
## %bb.20:
movq %rbx, %rax
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB4_21:
leaq L_.str.87(%rip), %rsi
movq %rbx, %rdi
callq _strstr
testq %rax, %rax
je LBB4_22
## %bb.23:
leaq L_.str.87(%rip), %rsi
movq %rax, %rdi
callq _strtok
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB4_25
## %bb.24:
movq %rax, %rdi
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
jmp _atol ## TAILCALL
LBB4_22:
xorl %ebx, %ebx
jmp LBB4_19
LBB4_9:
movq %rax, %rsi
andq $-2, %rsi
xorl %ecx, %ecx
xorl %ebx, %ebx
jmp LBB4_10
.p2align 4, 0x90
LBB4_14: ## in Loop: Header=BB4_10 Depth=1
addq $2, %rcx
cmpq %rcx, %rsi
je LBB4_15
LBB4_10: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%rcx), %edx
cmpb $44, %dl
je LBB4_12
## %bb.11: ## in Loop: Header=BB4_10 Depth=1
movslq %ebx, %rbx
movb %dl, -64(%rbp,%rbx)
incl %ebx
LBB4_12: ## in Loop: Header=BB4_10 Depth=1
movzbl 1(%r14,%rcx), %edx
cmpb $44, %dl
je LBB4_14
## %bb.13: ## in Loop: Header=BB4_10 Depth=1
movslq %ebx, %rbx
movb %dl, -64(%rbp,%rbx)
incl %ebx
jmp LBB4_14
LBB4_25:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _inet_convert ## -- Begin function inet_convert
.p2align 4, 0x90
_inet_convert: ## @inet_convert
.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, -44(%rbp) ## 4-byte Spill
movq %rdi, %r12
movl $1, %r14d
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, %r15
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _calloc
movq %rax, %rbx
movb (%r12), %al
testb %al, %al
je LBB5_15
## %bb.1:
leaq LJTI5_0(%rip), %r13
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
leal -32(%rax), %ecx
cmpb $29, %cl
ja LBB5_7
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
movzbl %cl, %ecx
movslq (%r13,%rcx,4), %rcx
addq %r13, %rcx
jmpq *%rcx
LBB5_4: ## in Loop: Header=BB5_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
leaq L_.str.88(%rip), %rcx
movl $43, %r8d
jmp LBB5_12
.p2align 4, 0x90
LBB5_7: ## in Loop: Header=BB5_2 Depth=1
movl %eax, %ecx
andb $-33, %cl
addb $-65, %cl
cmpb $25, %cl
ja LBB5_8
.p2align 4, 0x90
LBB5_5: ## in Loop: Header=BB5_2 Depth=1
movzbl %al, %r8d
LBB5_6: ## in Loop: Header=BB5_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
leaq L_.str.88(%rip), %rcx
LBB5_12: ## in Loop: Header=BB5_2 Depth=1
xorl %eax, %eax
callq ___sprintf_chk
LBB5_13: ## in Loop: Header=BB5_2 Depth=1
movl $1024, %edx ## imm = 0x400
movq %r15, %rdi
movq %rbx, %rsi
callq ___strcat_chk
movq %r12, %rdi
callq _strlen
cmpq %r14, %rax
jbe LBB5_15
## %bb.14: ## in Loop: Header=BB5_2 Depth=1
movzbl (%r12,%r14), %eax
incq %r14
jmp LBB5_2
LBB5_8: ## in Loop: Header=BB5_2 Depth=1
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl $1, %ecx
je LBB5_11
## %bb.9: ## in Loop: Header=BB5_2 Depth=1
testl %ecx, %ecx
jne LBB5_13
## %bb.10: ## in Loop: Header=BB5_2 Depth=1
movsbl %al, %r8d
jmp LBB5_6
LBB5_11: ## in Loop: Header=BB5_2 Depth=1
movsbl %al, %r8d
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
leaq L_.str.89(%rip), %rcx
jmp LBB5_12
LBB5_15:
cmpl $0, _vflag(%rip)
je LBB5_17
## %bb.16:
leaq L_.str.90(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
LBB5_17:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L5_0_set_4, LBB5_4-LJTI5_0
.set L5_0_set_7, LBB5_7-LJTI5_0
.set L5_0_set_5, LBB5_5-LJTI5_0
LJTI5_0:
.long L5_0_set_4
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_5
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_4
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_7
.long L5_0_set_5
.end_data_region
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str.145(%rip), %rdi
callq _puts
leaq L_str.146(%rip), %rdi
callq _puts
leaq L_str.147(%rip), %rdi
callq _puts
leaq L_str.148(%rip), %rdi
callq _puts
leaq L_str.149(%rip), %rdi
callq _puts
leaq L_str.150(%rip), %rdi
callq _puts
leaq L_str.151(%rip), %rdi
callq _puts
leaq L_str.152(%rip), %rdi
callq _puts
leaq L_str.153(%rip), %rdi
callq _puts
leaq L_str.154(%rip), %rdi
callq _puts
leaq L_str.155(%rip), %rdi
callq _puts
leaq L_str.156(%rip), %rdi
callq _puts
leaq L_str.157(%rip), %rdi
callq _puts
leaq L_str.158(%rip), %rdi
callq _puts
leaq L_str.159(%rip), %rdi
callq _puts
leaq L_str.160(%rip), %rdi
callq _puts
leaq L_str.161(%rip), %rdi
callq _puts
leaq L_str.162(%rip), %rdi
callq _puts
leaq L_str.163(%rip), %rdi
callq _puts
leaq L_str.164(%rip), %rdi
callq _puts
leaq L_str.165(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.2
_main.cold.2: ## @main.cold.2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function inet_send.cold.1
_inet_send.cold.1: ## @inet_send.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.98(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function inet_send.cold.2
_inet_send.cold.2: ## @inet_send.cold.2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.96(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.globl _type ## @type
.zerofill __DATA,__common,_type,8,3
.globl _description ## @description
.zerofill __DATA,__common,_description,8,3
.globl _google_server ## @google_server
.zerofill __DATA,__common,_google_server,8,3
.globl _proxyaddr ## @proxyaddr
.zerofill __DATA,__common,_proxyaddr,8,3
.globl _site ## @site
.zerofill __DATA,__common,_site,8,3
.globl _xtra_stuff ## @xtra_stuff
.zerofill __DATA,__common,_xtra_stuff,8,3
.globl _aflag ## @aflag
.zerofill __DATA,__common,_aflag,4,2
.globl _dflag ## @dflag
.zerofill __DATA,__common,_dflag,4,2
.globl _oflag ## @oflag
.zerofill __DATA,__common,_oflag,4,2
.globl _pflag ## @pflag
.zerofill __DATA,__common,_pflag,4,2
.globl _sflag ## @sflag
.zerofill __DATA,__common,_sflag,4,2
.globl _vflag ## @vflag
.zerofill __DATA,__common,_vflag,4,2
.globl _xflag ## @xflag
.zerofill __DATA,__common,_xflag,4,2
.globl _total ## @total
.zerofill __DATA,__common,_total,4,2
.globl _cooked ## @cooked
.zerofill __DATA,__common,_cooked,4,2
.globl _proxyport ## @proxyport
.zerofill __DATA,__common,_proxyport,4,2
.globl _results ## @results
.zerofill __DATA,__common,_results,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "acdhvi:o:p:q:s:t:x:"
L_.str.2: ## @.str.2
.asciz ":"
L_.str.4: ## @.str.4
.asciz "%s"
.section __TEXT,__const
l_.str.5: ## @.str.5
.space 2
.section __TEXT,__cstring,cstring_literals
L_.str.7: ## @.str.7
.asciz "http://"
L_.str.9: ## @.str.9
.asciz "www.google.com"
L_.str.20: ## @.str.20
.asciz "Agree? (y/n) [n] "
L_.str.25: ## @.str.25
.asciz "a"
L_.str.26: ## @.str.26
.space 1
L_.str.27: ## @.str.27
.asciz "<br><CENTER><b>Gooscan Results</b></CENTER><br>"
L_.str.28: ## @.str.28
.asciz "raw"
L_.str.29: ## @.str.29
.asciz "<center>site: %s<br>input file: %s<br>"
L_.str.30: ## @.str.30
.asciz "none"
L_.str.31: ## @.str.31
.asciz " "
L_.str.32: ## @.str.32
.asciz "Executed: %s</CENTER><br>"
L_.str.33: ## @.str.33
.asciz "header"
L_.str.34: ## @.str.34
.asciz "\"%s\" returned %ld results.\n"
.comm _out_query,1024,4 ## @out_query
.comm _pretty_query,1024,4 ## @pretty_query
L_.str.35: ## @.str.35
.asciz "line"
L_.str.36: ## @.str.36
.asciz "Searching google for site %s...\n"
L_.str.37: ## @.str.37
.asciz "r"
L_.str.38: ## @.str.38
.asciz "intitle:index.of"
L_.str.41: ## @.str.41
.asciz "Generic index.of search returned %ld results\n"
.comm _total_string,256,4 ## @total_string
.comm _mid_query,1024,4 ## @mid_query
L_.str.45: ## @.str.45
.asciz "|"
L_.str.46: ## @.str.46
.asciz "cooked"
L_.str.47: ## @.str.47
.asciz "file"
L_.str.48: ## @.str.48
.asciz "indexof"
L_.str.49: ## @.str.49
.asciz "inurl"
L_.str.50: ## @.str.50
.asciz "%sTotal:%d\n"
L_.str.51: ## @.str.51
.asciz "Results"
L_.str.53: ## @.str.53
.asciz "Unknown type in data file (%s). Skipping...\n"
L_.str.54: ## @.str.54
.asciz "footer"
L_.str.55: ## @.str.55
.asciz "%s:%s"
L_.str.56: ## @.str.56
.asciz "(verbose) command line query => %s\n"
L_.str.57: ## @.str.57
.asciz "intitle:index.of+%s"
L_.str.58: ## @.str.58
.asciz "inurl:%s"
L_.str.59: ## @.str.59
.asciz "intitle"
L_.str.60: ## @.str.60
.asciz "intitle:%s"
L_.str.61: ## @.str.61
.asciz "filetype"
L_.str.62: ## @.str.62
.asciz "filetype:%s"
L_.str.63: ## @.str.63
.asciz "&q=%s"
L_.str.64: ## @.str.64
.asciz "%s+site:%s"
L_.str.65: ## @.str.65
.asciz "(verbose) site added. query is now: %s\n"
L_.str.66: ## @.str.66
.asciz "%s&%s"
L_.str.67: ## @.str.67
.asciz "(verbose) extra stuff added. query is now: %s\n"
L_.str.68: ## @.str.68
.asciz "(verbose) Sending query => %s\n"
.comm _recvbuf,65000,4 ## @recvbuf
L_.str.70: ## @.str.70
.asciz "%s %s:%ld "
L_.str.71: ## @.str.71
.asciz "<style>BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 12px}</style>"
L_.str.72: ## @.str.72
.asciz "<CENTER><TABLE BORDER=1>\n"
L_.str.73: ## @.str.73
.asciz "<TR><TD>Search</TD><TD>Link</TD><TD>Results</TD></TR>"
L_.str.74: ## @.str.74
.asciz "<b>"
L_.str.75: ## @.str.75
.asciz "</b>"
L_.str.76: ## @.str.76
.asciz "<TR><TD>%s%s%s</TD><TD><A HREF=\"http://%s/search?%s\">link</A></TD><TD align=\"RIGHT\">%d</TD></TR>\n"
L_.str.77: ## @.str.77
.asciz "</TABLE>\n"
L_.str.78: ## @.str.78
.asciz "<BR>gooscan by j0hnny<br><A HREF=\"http://johnny.ihackstuff.com\">http://johnny.ihackstuff.com</A><BR>"
L_.str.79: ## @.str.79
.asciz "\n"
L_.str.80: ## @.str.80
.asciz "(verbose) Status line from server: \"%s\"\n"
L_.str.81: ## @.str.81
.asciz "200"
L_.str.82: ## @.str.82
.asciz "Error! Received \"%s\" from server!\n"
L_.str.83: ## @.str.83
.asciz "Results <b>"
L_.str.84: ## @.str.84
.asciz " </b>"
L_.str.85: ## @.str.85
.asciz ">"
L_.str.86: ## @.str.86
.asciz "<"
L_.str.87: ## @.str.87
.asciz "of about <b>"
L_.str.88: ## @.str.88
.asciz "%c"
L_.str.89: ## @.str.89
.asciz "%%%x"
L_.str.90: ## @.str.90
.asciz "(verbose) post-converted string: \"%s\"\n"
L_.str.92: ## @.str.92
.asciz "GET /search?%s HTTP/1.0\n\n"
L_.str.93: ## @.str.93
.asciz "GET http://%s/search?%s HTTP/1.0\n\n"
L_.str.94: ## @.str.94
.asciz "(verbose) GET Line => %s\n"
.comm _he,8,3 ## @he
L_.str.95: ## @.str.95
.asciz "doing lookup of %s...\n"
L_.str.96: ## @.str.96
.asciz "gethostbyname"
L_.str.97: ## @.str.97
.asciz "Host not found: %s\n"
L_.str.98: ## @.str.98
.asciz "socket"
L_.str.99: ## @.str.99
.asciz "connect"
.comm _pr,8,3 ## @pr
L_str: ## @str
.asciz "Error: supply either -q or -f flag."
L_str.121: ## @str.121
.asciz "Error allocating memory for description. Aborting."
L_str.122: ## @str.122
.asciz "Error allocating memory for value. Aborting."
L_str.123: ## @str.123
.asciz "Error allocating memory for type. Aborting."
L_str.124: ## @str.124
.asciz "Generic index.of search returned no results."
L_str.125: ## @str.125
.asciz "Skipping index.of tests."
L_str.126: ## @str.126
.asciz "Error: -q and -f should not be used together."
L_str.127: ## @str.127
.asciz "-q allows for a single Google query from the command line,"
L_str.128: ## @str.128
.asciz "-f allows for multiple Google queries read from a file."
L_str.129: ## @str.129
.asciz "\n***!!! WARNING: You are querying a www.google.com server !!!***"
L_str.130: ## @str.130
.asciz "This tool was designed to query Google appliances, not the google.com website."
L_str.131: ## @str.131
.asciz "The google.com scanning functionality is included for EDUCATIONAL PURPOSES ONLY "
L_str.132: ## @str.132
.asciz "to help webmasters determine the potential Google exposure of their sites."
L_str.133: ## @str.133
.asciz "\nDo you acknowledge that: "
L_str.134: ## @str.134
.asciz " - You are knowingly violating Google's terms of service found at"
L_str.135: ## @str.135
.asciz " http://www.google.com/terms_of_service.html"
L_str.136: ## @str.136
.asciz " - You are using this tool to assess your own web site's exposure"
L_str.137: ## @str.137
.asciz " - The use of this tool in this way is not condoned by the author"
L_str.138: ## @str.138
.asciz " - You will not hold the author liable in any way for the use of this tool\n"
L_str.139: ## @str.139
.asciz "You must provide the google server with the -t argument!"
L_str.140: ## @str.140
.asciz "Error allocating memory for google_server. Aborting."
L_str.141: ## @str.141
.asciz "Error: Proxy address must be like address:port."
L_str.142: ## @str.142
.asciz "Error allocating memory for proxyaddr. Aborting."
L_str.143: ## @str.143
.asciz "Error sending query."
L_str.144: ## @str.144
.asciz "Error allocating memory for get_line. Aborting."
L_str.145: ## @str.145
.asciz "gooscan <-q query | -i query_file> <-t target>"
L_str.146: ## @str.146
.asciz " \t[-o output_file] [-p proxy:port] [-v] [-d] "
L_str.147: ## @str.147
.asciz " \t[-s site] [-x xtra_appliance_fields]"
L_str.148: ## @str.148
.asciz "\t----------------------------------------------------------------"
L_str.149: ## @str.149
.asciz " \t(query) is a standard google query (EX: \"intitle:index.of\")"
L_str.150: ## @str.150
.asciz " \t(query_file) is a list of google queries (see README)"
L_str.151: ## @str.151
.asciz "\t(target) is the Google appliance/server"
L_str.152: ## @str.152
.asciz "\t(output_file) is where the HTML-formatted list of results goes"
L_str.153: ## @str.153
.asciz "\t(proxy:port) address:port of a valid HTTP proxy for bouncing"
L_str.154: ## @str.154
.asciz "\t(site) restricts search to one domain, like microsoft.com"
L_str.155: ## @str.155
.asciz " (xtra_appliance_fields) are required for appliance scans"
L_str.156: ## @str.156
.asciz " \t-v turns on verbose mode"
L_str.157: ## @str.157
.asciz " \t-d hex-encodes all non-alpha characters"
L_str.158: ## @str.158
.asciz "Friendly example: "
L_str.159: ## @str.159
.asciz "gooscan -t google.fda.gov -q food "
L_str.160: ## @str.160
.asciz " -x \"&client=FDA&site=FDA&output=xml_no_dtd&oe=&lr=&proxystylesheet=FDA\""
L_str.161: ## @str.161
.asciz "Google terms-of-service violations:"
L_str.162: ## @str.162
.asciz "gooscan -t www.google.com -q \"linux\" "
L_str.163: ## @str.163
.asciz "gooscan -t www.google.com -q \"linux\" -s microsoft.com "
L_str.164: ## @str.164
.asciz "gooscan -t www.google.com -f gdork.gs\n"
L_str.165: ## @str.165
.asciz "Gooscan google scanner by j0hnny http://johnny.ihackstuff.com"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #1104
mov x19, x1
mov x24, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
mov w26, #1
mov w0, #256
mov w1, #1
bl _calloc
str x0, [sp, #16] ; 8-byte Folded Spill
cmp w24, #1
b.eq LBB0_71
; %bb.1:
stp xzr, xzr, [sp, #24] ; 16-byte Folded Spill
str xzr, [sp, #48] ; 8-byte Folded Spill
mov w23, #0
str wzr, [sp, #40] ; 4-byte Folded Spill
Lloh3:
adrp x25, l_.str@PAGE
Lloh4:
add x25, x25, l_.str@PAGEOFF
Lloh5:
adrp x21, lJTI0_0@PAGE
Lloh6:
add x21, x21, lJTI0_0@PAGEOFF
Lloh7:
adrp x28, _optarg@GOTPAGE
Lloh8:
ldr x28, [x28, _optarg@GOTPAGEOFF]
adrp x27, _google_server@PAGE
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _vflag@PAGE
str w26, [x8, _vflag@PAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x24
mov x1, x19
mov x2, x25
bl _getopt
sub w8, w0, #100
cmp w8, #20
b.hi LBB0_16
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
adr x9, LBB0_2
ldrh w10, [x21, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _dflag@PAGE
str w26, [x8, _dflag@PAGEOFF]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov w0, #256
mov w1, #1
bl _calloc
str x0, [x27, _google_server@PAGEOFF]
cbz x0, LBB0_72
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x28]
str x8, [x27, _google_server@PAGEOFF]
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x28]
str x8, [sp, #48] ; 8-byte Folded Spill
mov w23, #1
b LBB0_3
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _oflag@PAGE
str w26, [x8, _oflag@PAGEOFF]
ldr x8, [x28]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x28]
str x8, [sp, #24] ; 8-byte Folded Spill
mov w8, #1
str w8, [sp, #40] ; 4-byte Folded Spill
b LBB0_3
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov w0, #256
mov w1, #1
bl _calloc
adrp x8, _proxyaddr@PAGE
str x0, [x8, _proxyaddr@PAGEOFF]
cbz x0, LBB0_73
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
mov x22, x0
ldr x20, [x28]
mov x0, x20
mov w1, #58
bl _strchr
cbz x0, LBB0_75
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _pflag@PAGE
str w26, [x8, _pflag@PAGEOFF]
mov x0, x20
Lloh9:
adrp x1, l_.str.2@PAGE
Lloh10:
add x1, x1, l_.str.2@PAGEOFF
bl _strtok
str x0, [sp]
mov x0, x22
mov w1, #256
Lloh11:
adrp x2, l_.str.4@PAGE
Lloh12:
add x2, x2, l_.str.4@PAGEOFF
bl _snprintf
mov x0, #0
Lloh13:
adrp x1, l_.str.5@PAGE
Lloh14:
add x1, x1, l_.str.5@PAGEOFF
bl _strtok
bl _atoi
adrp x8, _proxyport@PAGE
str w0, [x8, _proxyport@PAGEOFF]
b LBB0_3
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _sflag@PAGE
str w26, [x8, _sflag@PAGEOFF]
ldr x8, [x28]
adrp x9, _site@PAGE
str x8, [x9, _site@PAGEOFF]
b LBB0_3
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
adrp x8, _xflag@PAGE
str w26, [x8, _xflag@PAGEOFF]
ldr x8, [x28]
adrp x9, _xtra_stuff@PAGE
str x8, [x9, _xtra_stuff@PAGEOFF]
b LBB0_3
LBB0_16:
cmn w0, #1
b.ne LBB0_71
; %bb.17:
ldr x19, [x27, _google_server@PAGEOFF]
Lloh15:
adrp x1, l_.str.7@PAGE
Lloh16:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_19
; %bb.18:
add x1, x19, #7
mov x0, x19
mov w2, #256
bl _strncpy
ldr x19, [x27, _google_server@PAGEOFF]
LBB0_19:
ldr x22, [sp, #48] ; 8-byte Folded Reload
mov x21, x23
ldr w24, [sp, #40] ; 4-byte Folded Reload
ldrb w8, [x19]
cbz w8, LBB0_79
; %bb.20:
Lloh17:
adrp x1, l_.str.9@PAGE
Lloh18:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB0_22
; %bb.21:
Lloh19:
adrp x0, l_str.129@PAGE
Lloh20:
add x0, x0, l_str.129@PAGEOFF
bl _puts
Lloh21:
adrp x0, l_str.130@PAGE
Lloh22:
add x0, x0, l_str.130@PAGEOFF
bl _puts
Lloh23:
adrp x0, l_str.131@PAGE
Lloh24:
add x0, x0, l_str.131@PAGEOFF
bl _puts
Lloh25:
adrp x0, l_str.132@PAGE
Lloh26:
add x0, x0, l_str.132@PAGEOFF
bl _puts
Lloh27:
adrp x0, l_str.133@PAGE
Lloh28:
add x0, x0, l_str.133@PAGEOFF
bl _puts
Lloh29:
adrp x0, l_str.134@PAGE
Lloh30:
add x0, x0, l_str.134@PAGEOFF
bl _puts
Lloh31:
adrp x0, l_str.135@PAGE
Lloh32:
add x0, x0, l_str.135@PAGEOFF
bl _puts
Lloh33:
adrp x0, l_str.136@PAGE
Lloh34:
add x0, x0, l_str.136@PAGEOFF
bl _puts
Lloh35:
adrp x0, l_str.137@PAGE
Lloh36:
add x0, x0, l_str.137@PAGEOFF
bl _puts
Lloh37:
adrp x0, l_str.138@PAGE
Lloh38:
add x0, x0, l_str.138@PAGEOFF
bl _puts
Lloh39:
adrp x0, l_.str.20@PAGE
Lloh40:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
bl _getchar
cmp w0, #121
b.ne LBB0_83
LBB0_22:
orr w8, w24, w21
ldr x19, [sp, #32] ; 8-byte Folded Reload
cbz w8, LBB0_80
; %bb.23:
cbz w24, LBB0_25
; %bb.24:
cbnz w21, LBB0_81
LBB0_25:
Lloh41:
adrp x8, _oflag@PAGE
Lloh42:
ldr w8, [x8, _oflag@PAGEOFF]
cbz w8, LBB0_30
; %bb.26:
Lloh43:
adrp x1, l_.str.25@PAGE
Lloh44:
add x1, x1, l_.str.25@PAGEOFF
mov x0, x19
bl _fopen
cbz x0, LBB0_84
; %bb.27:
mov x26, x0
Lloh45:
adrp x1, l_.str.26@PAGE
Lloh46:
add x1, x1, l_.str.26@PAGEOFF
Lloh47:
adrp x2, l_.str.27@PAGE
Lloh48:
add x2, x2, l_.str.27@PAGEOFF
Lloh49:
adrp x23, l_.str.28@PAGE
Lloh50:
add x23, x23, l_.str.28@PAGEOFF
mov w3, #0
mov x4, x23
bl _writeit
Lloh51:
adrp x8, _sflag@PAGE
Lloh52:
ldr w8, [x8, _sflag@PAGEOFF]
Lloh53:
adrp x9, _site@PAGE
Lloh54:
ldr x9, [x9, _site@PAGEOFF]
Lloh55:
adrp x10, l_.str.30@PAGE
Lloh56:
add x10, x10, l_.str.30@PAGEOFF
cmp w8, #0
csel x8, x10, x9, eq
cmp w21, #0
csel x9, x22, x10, ne
stp x8, x9, [sp]
Lloh57:
adrp x2, l_.str.29@PAGE
Lloh58:
add x2, x2, l_.str.29@PAGEOFF
ldr x25, [sp, #16] ; 8-byte Folded Reload
mov x0, x25
mov w1, #256
bl _snprintf
Lloh59:
adrp x20, l_.str.31@PAGE
Lloh60:
add x20, x20, l_.str.31@PAGEOFF
mov x0, x26
mov x1, x20
mov x2, x25
mov w3, #0
mov x4, x23
bl _writeit
mov x0, #0
bl _time
str x0, [sp, #56]
add x0, sp, #56
bl _localtime
bl _asctime
str x0, [sp]
Lloh61:
adrp x2, l_.str.32@PAGE
Lloh62:
add x2, x2, l_.str.32@PAGEOFF
mov x0, x25
mov w1, #256
bl _snprintf
mov x0, x26
mov x1, x20
mov x2, x25
mov w3, #0
mov x4, x23
bl _writeit
Lloh63:
adrp x4, l_.str.33@PAGE
Lloh64:
add x4, x4, l_.str.33@PAGEOFF
mov x0, x26
mov x1, #0
mov x2, #0
mov w3, #0
bl _writeit
cbz w24, LBB0_31
LBB0_28:
Lloh65:
adrp x0, l_.str.28@PAGE
Lloh66:
add x0, x0, l_.str.28@PAGEOFF
mov x1, x0
ldr x21, [sp, #24] ; 8-byte Folded Reload
mov x2, x21
bl _google_query
adrp x20, _results@PAGE
str x0, [x20, _results@PAGEOFF]
stp x21, x0, [sp]
Lloh67:
adrp x0, l_.str.34@PAGE
Lloh68:
add x0, x0, l_.str.34@PAGEOFF
bl _printf
Lloh69:
adrp x8, _oflag@PAGE
Lloh70:
ldr w8, [x8, _oflag@PAGEOFF]
cbz w8, LBB0_69
; %bb.29:
ldr w3, [x20, _results@PAGEOFF]
Lloh71:
adrp x1, _out_query@GOTPAGE
Lloh72:
ldr x1, [x1, _out_query@GOTPAGEOFF]
Lloh73:
adrp x2, _pretty_query@GOTPAGE
Lloh74:
ldr x2, [x2, _pretty_query@GOTPAGEOFF]
Lloh75:
adrp x4, l_.str.35@PAGE
Lloh76:
add x4, x4, l_.str.35@PAGEOFF
mov x0, x26
bl _writeit
b LBB0_67
LBB0_30:
; implicit-def: $x26
cbnz w24, LBB0_28
LBB0_31:
cbz w21, LBB0_67
; %bb.32:
Lloh77:
adrp x8, _sflag@PAGE
Lloh78:
ldr w8, [x8, _sflag@PAGEOFF]
cbz w8, LBB0_34
; %bb.33:
Lloh79:
adrp x8, _site@PAGE
Lloh80:
ldr x8, [x8, _site@PAGEOFF]
str x8, [sp]
Lloh81:
adrp x0, l_.str.36@PAGE
Lloh82:
add x0, x0, l_.str.36@PAGEOFF
bl _printf
LBB0_34:
Lloh83:
adrp x1, l_.str.37@PAGE
Lloh84:
add x1, x1, l_.str.37@PAGEOFF
mov x0, x22
bl _fopen
str x0, [sp, #48] ; 8-byte Folded Spill
cbz x0, LBB0_85
; %bb.35:
Lloh85:
adrp x8, _sflag@PAGE
Lloh86:
ldr w8, [x8, _sflag@PAGEOFF]
adrp x19, _results@PAGE
str x26, [sp, #40] ; 8-byte Folded Spill
cbz w8, LBB0_38
; %bb.36:
Lloh87:
adrp x0, l_.str.28@PAGE
Lloh88:
add x0, x0, l_.str.28@PAGEOFF
Lloh89:
adrp x2, l_.str.38@PAGE
Lloh90:
add x2, x2, l_.str.38@PAGEOFF
mov x1, x0
bl _google_query
str x0, [x19, _results@PAGEOFF]
cbz x0, LBB0_39
; %bb.37:
str x0, [sp]
Lloh91:
adrp x0, l_.str.41@PAGE
Lloh92:
add x0, x0, l_.str.41@PAGEOFF
bl _printf
LBB0_38:
mov w8, #1
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB0_40
LBB0_39:
Lloh93:
adrp x0, l_str.124@PAGE
Lloh94:
add x0, x0, l_str.124@PAGEOFF
bl _puts
Lloh95:
adrp x0, l_str.125@PAGE
Lloh96:
add x0, x0, l_str.125@PAGEOFF
bl _puts
str wzr, [sp, #32] ; 4-byte Folded Spill
LBB0_40:
add x0, sp, #64
mov w1, #1024
ldr x2, [sp, #48] ; 8-byte Folded Reload
bl _fgets
cbz x0, LBB0_66
; %bb.41:
adrp x19, _total@PAGE
Lloh97:
adrp x20, _total_string@GOTPAGE
Lloh98:
ldr x20, [x20, _total_string@GOTPAGEOFF]
adrp x25, _cooked@PAGE
Lloh99:
adrp x26, _mid_query@GOTPAGE
Lloh100:
ldr x26, [x26, _mid_query@GOTPAGEOFF]
Lloh101:
adrp x22, _out_query@GOTPAGE
Lloh102:
ldr x22, [x22, _out_query@GOTPAGEOFF]
adrp x24, _description@PAGE
Lloh103:
adrp x23, l_.str.45@PAGE
Lloh104:
add x23, x23, l_.str.45@PAGEOFF
b LBB0_44
LBB0_42: ; in Loop: Header=BB0_44 Depth=1
mov x0, x20
bl _puts
LBB0_43: ; in Loop: Header=BB0_44 Depth=1
ldr x0, [x24, _description@PAGEOFF]
bl _free
mov x0, x27
bl _free
mov x0, x28
bl _free
add x0, sp, #64
mov w1, #1024
ldr x2, [sp, #48] ; 8-byte Folded Reload
bl _fgets
cbz x0, LBB0_66
LBB0_44: ; =>This Inner Loop Header: Depth=1
str wzr, [x19, _total@PAGEOFF]
str wzr, [x25, _cooked@PAGEOFF]
movi.2d v0, #0000000000000000
stp q0, q0, [x20]
stp q0, q0, [x20, #32]
stp q0, q0, [x20, #64]
stp q0, q0, [x20, #96]
stp q0, q0, [x20, #128]
stp q0, q0, [x20, #160]
stp q0, q0, [x20, #192]
stp q0, q0, [x20, #224]
stp q0, q0, [x26, #224]
stp q0, q0, [x26, #192]
stp q0, q0, [x26, #160]
stp q0, q0, [x26, #128]
stp q0, q0, [x26, #96]
stp q0, q0, [x26, #64]
stp q0, q0, [x26, #32]
stp q0, q0, [x26]
stp q0, q0, [x22, #224]
stp q0, q0, [x22, #192]
stp q0, q0, [x22, #160]
stp q0, q0, [x22, #128]
stp q0, q0, [x22, #96]
stp q0, q0, [x22, #64]
stp q0, q0, [x22, #32]
stp q0, q0, [x22]
mov w0, #48
mov w1, #1
bl _calloc
cbz x0, LBB0_76
; %bb.45: ; in Loop: Header=BB0_44 Depth=1
mov x27, x0
mov w0, #200
mov w1, #1
bl _calloc
cbz x0, LBB0_77
; %bb.46: ; in Loop: Header=BB0_44 Depth=1
mov x28, x0
mov w0, #2048
mov w1, #1
bl _calloc
str x0, [x24, _description@PAGEOFF]
cbz x0, LBB0_78
; %bb.47: ; in Loop: Header=BB0_44 Depth=1
add x0, sp, #64
mov x1, x23
bl _strtok
str x0, [sp]
mov x0, x27
mov w1, #48
Lloh105:
adrp x21, l_.str.4@PAGE
Lloh106:
add x21, x21, l_.str.4@PAGEOFF
mov x2, x21
bl _snprintf
mov x0, #0
mov x1, x23
bl _strtok
str x0, [sp]
mov x0, x28
mov w1, #200
mov x2, x21
bl _snprintf
mov x0, #0
mov x1, x23
bl _strtok
mov x0, x27
Lloh107:
adrp x1, l_.str.46@PAGE
Lloh108:
add x1, x1, l_.str.46@PAGEOFF
bl _strcmp
cbnz w0, LBB0_49
; %bb.48: ; in Loop: Header=BB0_44 Depth=1
mov w8, #1
str w8, [x25, _cooked@PAGEOFF]
LBB0_49: ; in Loop: Header=BB0_44 Depth=1
mov x0, x27
Lloh109:
adrp x1, l_.str.47@PAGE
Lloh110:
add x1, x1, l_.str.47@PAGEOFF
bl _strcmp
cbz w0, LBB0_55
; %bb.50: ; in Loop: Header=BB0_44 Depth=1
mov x0, x27
Lloh111:
adrp x1, l_.str.51@PAGE
Lloh112:
add x1, x1, l_.str.51@PAGEOFF
mov x2, x28
bl _google_query
adrp x8, _results@PAGE
str x0, [x8, _results@PAGEOFF]
tbnz x0, #63, LBB0_63
; %bb.51: ; in Loop: Header=BB0_44 Depth=1
mov x3, x0
Lloh113:
adrp x8, _oflag@PAGE
Lloh114:
ldr w8, [x8, _oflag@PAGEOFF]
cbz w8, LBB0_53
; %bb.52: ; in Loop: Header=BB0_44 Depth=1
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov x1, x22
Lloh115:
adrp x2, _pretty_query@GOTPAGE
Lloh116:
ldr x2, [x2, _pretty_query@GOTPAGEOFF]
; kill: def $w3 killed $w3 killed $x3
Lloh117:
adrp x4, l_.str.35@PAGE
Lloh118:
add x4, x4, l_.str.35@PAGEOFF
bl _writeit
Lloh119:
adrp x8, _results@PAGE
Lloh120:
ldr x3, [x8, _results@PAGEOFF]
LBB0_53: ; in Loop: Header=BB0_44 Depth=1
cmp x3, #0
b.gt LBB0_42
; %bb.54: ; in Loop: Header=BB0_44 Depth=1
Lloh121:
adrp x8, _vflag@PAGE
Lloh122:
ldr w8, [x8, _vflag@PAGEOFF]
cbz w8, LBB0_43
b LBB0_42
LBB0_55: ; in Loop: Header=BB0_44 Depth=1
mov x23, x24
mov x24, x25
mov x21, x19
ldr w8, [sp, #32] ; 4-byte Folded Reload
cbz w8, LBB0_58
; %bb.56: ; in Loop: Header=BB0_44 Depth=1
Lloh123:
adrp x0, l_.str.48@PAGE
Lloh124:
add x0, x0, l_.str.48@PAGEOFF
mov x1, x27
mov x2, x28
bl _google_query
Lloh125:
adrp x8, _results@PAGE
str x0, [x8, _results@PAGEOFF]
Lloh126:
adrp x8, _oflag@PAGE
Lloh127:
ldr w8, [x8, _oflag@PAGEOFF]
cbz w8, LBB0_58
; %bb.57: ; in Loop: Header=BB0_44 Depth=1
mov x3, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov x1, x22
Lloh128:
adrp x2, _pretty_query@GOTPAGE
Lloh129:
ldr x2, [x2, _pretty_query@GOTPAGEOFF]
; kill: def $w3 killed $w3 killed $x3
Lloh130:
adrp x4, l_.str.35@PAGE
Lloh131:
add x4, x4, l_.str.35@PAGEOFF
bl _writeit
LBB0_58: ; in Loop: Header=BB0_44 Depth=1
Lloh132:
adrp x0, l_.str.49@PAGE
Lloh133:
add x0, x0, l_.str.49@PAGEOFF
mov x1, x27
mov x2, x28
bl _google_query
mov x3, x0
adrp x19, _results@PAGE
str x0, [x19, _results@PAGEOFF]
Lloh134:
adrp x8, _oflag@PAGE
Lloh135:
ldr w8, [x8, _oflag@PAGEOFF]
cbz w8, LBB0_60
; %bb.59: ; in Loop: Header=BB0_44 Depth=1
ldr x0, [sp, #40] ; 8-byte Folded Reload
mov x1, x22
Lloh136:
adrp x2, _pretty_query@GOTPAGE
Lloh137:
ldr x2, [x2, _pretty_query@GOTPAGEOFF]
; kill: def $w3 killed $w3 killed $x3
Lloh138:
adrp x4, l_.str.35@PAGE
Lloh139:
add x4, x4, l_.str.35@PAGEOFF
bl _writeit
ldr x3, [x19, _results@PAGEOFF]
LBB0_60: ; in Loop: Header=BB0_44 Depth=1
mov x19, x21
cmp x3, #0
mov x25, x24
mov x24, x23
Lloh140:
adrp x23, l_.str.45@PAGE
Lloh141:
add x23, x23, l_.str.45@PAGEOFF
b.gt LBB0_62
; %bb.61: ; in Loop: Header=BB0_44 Depth=1
Lloh142:
adrp x8, _vflag@PAGE
Lloh143:
ldr w8, [x8, _vflag@PAGEOFF]
cbz w8, LBB0_43
LBB0_62: ; in Loop: Header=BB0_44 Depth=1
ldr w8, [x19, _total@PAGEOFF]
stp x20, x8, [sp]
Lloh144:
adrp x0, l_.str.50@PAGE
Lloh145:
add x0, x0, l_.str.50@PAGEOFF
b LBB0_65
LBB0_63: ; in Loop: Header=BB0_44 Depth=1
Lloh146:
adrp x8, _vflag@PAGE
Lloh147:
ldr w8, [x8, _vflag@PAGEOFF]
cbz w8, LBB0_43
; %bb.64: ; in Loop: Header=BB0_44 Depth=1
str x27, [sp]
Lloh148:
adrp x0, l_.str.53@PAGE
Lloh149:
add x0, x0, l_.str.53@PAGEOFF
LBB0_65: ; in Loop: Header=BB0_44 Depth=1
bl _printf
b LBB0_43
LBB0_66:
ldr x0, [sp, #48] ; 8-byte Folded Reload
bl _fclose
ldr x26, [sp, #40] ; 8-byte Folded Reload
LBB0_67:
Lloh150:
adrp x8, _oflag@PAGE
Lloh151:
ldr w8, [x8, _oflag@PAGEOFF]
cbz w8, LBB0_69
; %bb.68:
Lloh152:
adrp x4, l_.str.54@PAGE
Lloh153:
add x4, x4, l_.str.54@PAGEOFF
mov x0, x26
mov x1, #0
mov x2, #0
mov w3, #0
bl _writeit
mov x0, x26
bl _fclose
LBB0_69:
ldur x8, [x29, #-96]
Lloh154:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh155:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh156:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_82
; %bb.70:
mov w0, #0
add sp, sp, #1104
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_71:
bl _usage
LBB0_72:
Lloh157:
adrp x0, l_str.140@PAGE
Lloh158:
add x0, x0, l_str.140@PAGEOFF
b LBB0_74
LBB0_73:
Lloh159:
adrp x0, l_str.142@PAGE
Lloh160:
add x0, x0, l_str.142@PAGEOFF
LBB0_74:
bl _puts
mov w0, #1
bl _exit
LBB0_75:
Lloh161:
adrp x0, l_str.141@PAGE
Lloh162:
add x0, x0, l_str.141@PAGEOFF
bl _puts
bl _usage
LBB0_76:
Lloh163:
adrp x0, l_str.123@PAGE
Lloh164:
add x0, x0, l_str.123@PAGEOFF
b LBB0_74
LBB0_77:
Lloh165:
adrp x0, l_str.122@PAGE
Lloh166:
add x0, x0, l_str.122@PAGEOFF
b LBB0_74
LBB0_78:
Lloh167:
adrp x0, l_str.121@PAGE
Lloh168:
add x0, x0, l_str.121@PAGEOFF
b LBB0_74
LBB0_79:
Lloh169:
adrp x0, l_str.139@PAGE
Lloh170:
add x0, x0, l_str.139@PAGEOFF
bl _puts
bl _usage
LBB0_80:
Lloh171:
adrp x0, l_str@PAGE
Lloh172:
add x0, x0, l_str@PAGEOFF
bl _puts
bl _usage
LBB0_81:
Lloh173:
adrp x0, l_str.126@PAGE
Lloh174:
add x0, x0, l_str.126@PAGEOFF
bl _puts
Lloh175:
adrp x0, l_str.127@PAGE
Lloh176:
add x0, x0, l_str.127@PAGEOFF
bl _puts
Lloh177:
adrp x0, l_str.128@PAGE
Lloh178:
add x0, x0, l_str.128@PAGEOFF
bl _puts
bl _usage
LBB0_82:
bl ___stack_chk_fail
LBB0_83:
mov w0, #1
bl _exit
LBB0_84:
mov x0, x19
bl _main.cold.2
LBB0_85:
mov x0, x22
bl _main.cold.1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdr Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdr Lloh53, Lloh54
.loh AdrpLdr Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpLdr Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpLdrGot Lloh73, Lloh74
.loh AdrpLdrGot Lloh71, Lloh72
.loh AdrpLdr Lloh77, Lloh78
.loh AdrpAdd Lloh81, Lloh82
.loh AdrpLdr Lloh79, Lloh80
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpLdr Lloh85, Lloh86
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpLdrGot Lloh101, Lloh102
.loh AdrpLdrGot Lloh99, Lloh100
.loh AdrpLdrGot Lloh97, Lloh98
.loh AdrpAdd Lloh107, Lloh108
.loh AdrpAdd Lloh105, Lloh106
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpLdr Lloh113, Lloh114
.loh AdrpLdr Lloh119, Lloh120
.loh AdrpAdd Lloh117, Lloh118
.loh AdrpLdrGot Lloh115, Lloh116
.loh AdrpLdr Lloh121, Lloh122
.loh AdrpLdr Lloh126, Lloh127
.loh AdrpAdrp Lloh125, Lloh126
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpLdrGot Lloh128, Lloh129
.loh AdrpLdr Lloh134, Lloh135
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpLdrGot Lloh136, Lloh137
.loh AdrpAdd Lloh140, Lloh141
.loh AdrpLdr Lloh142, Lloh143
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpLdr Lloh146, Lloh147
.loh AdrpAdd Lloh148, Lloh149
.loh AdrpLdr Lloh150, Lloh151
.loh AdrpAdd Lloh152, Lloh153
.loh AdrpLdrGotLdr Lloh154, Lloh155, Lloh156
.loh AdrpAdd Lloh157, Lloh158
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpAdd Lloh161, Lloh162
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpAdd Lloh165, Lloh166
.loh AdrpAdd Lloh167, Lloh168
.loh AdrpAdd Lloh169, Lloh170
.loh AdrpAdd Lloh171, Lloh172
.loh AdrpAdd Lloh177, Lloh178
.loh AdrpAdd Lloh175, Lloh176
.loh AdrpAdd Lloh173, Lloh174
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_5-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_8-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_9-LBB0_2)>>2
.short (LBB0_11-LBB0_2)>>2
.short (LBB0_10-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_14-LBB0_2)>>2
.short (LBB0_6-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_2-LBB0_2)>>2
.short (LBB0_71-LBB0_2)>>2
.short (LBB0_15-LBB0_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _writeit ; -- Begin function writeit
.p2align 2
_writeit: ; @writeit
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x4
mov x21, x3
mov x20, x2
mov x23, x1
mov x19, x0
Lloh179:
adrp x1, l_.str.33@PAGE
Lloh180:
add x1, x1, l_.str.33@PAGEOFF
mov x0, x4
bl _strcmp
cbz w0, LBB1_5
; %bb.1:
Lloh181:
adrp x1, l_.str.35@PAGE
Lloh182:
add x1, x1, l_.str.35@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB1_6
; %bb.2:
Lloh183:
adrp x1, l_.str.54@PAGE
Lloh184:
add x1, x1, l_.str.54@PAGEOFF
mov x0, x22
bl _strcmp
cbz w0, LBB1_8
; %bb.3:
Lloh185:
adrp x1, l_.str.28@PAGE
Lloh186:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x22
bl _strcmp
cbnz w0, LBB1_7
; %bb.4:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
b _fputs
LBB1_5:
Lloh187:
adrp x0, l_.str.71@PAGE
Lloh188:
add x0, x0, l_.str.71@PAGEOFF
mov w1, #69
mov w2, #1
mov x3, x19
bl _fwrite
Lloh189:
adrp x0, l_.str.72@PAGE
Lloh190:
add x0, x0, l_.str.72@PAGEOFF
mov w1, #25
mov w2, #1
mov x3, x19
bl _fwrite
Lloh191:
adrp x0, l_.str.73@PAGE
Lloh192:
add x0, x0, l_.str.73@PAGEOFF
mov w1, #53
b LBB1_9
LBB1_6:
Lloh193:
adrp x8, l_.str.74@PAGE
Lloh194:
add x8, x8, l_.str.74@PAGEOFF
Lloh195:
adrp x9, l_.str.26@PAGE
Lloh196:
add x9, x9, l_.str.26@PAGEOFF
cmp w21, #0
csel x22, x9, x8, eq
Lloh197:
adrp x8, l_.str.75@PAGE
Lloh198:
add x8, x8, l_.str.75@PAGEOFF
csel x24, x9, x8, eq
Lloh199:
adrp x8, _google_server@PAGE
Lloh200:
ldr x25, [x8, _google_server@PAGEOFF]
mov x0, x23
mov w1, #1
bl _inet_convert
stp x0, x21, [sp, #32]
stp x24, x25, [sp, #16]
stp x22, x20, [sp]
Lloh201:
adrp x1, l_.str.76@PAGE
Lloh202:
add x1, x1, l_.str.76@PAGEOFF
mov x0, x19
bl _fprintf
LBB1_7:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB1_8:
Lloh203:
adrp x0, l_.str.77@PAGE
Lloh204:
add x0, x0, l_.str.77@PAGEOFF
mov w1, #9
mov w2, #1
mov x3, x19
bl _fwrite
Lloh205:
adrp x0, l_.str.78@PAGE
Lloh206:
add x0, x0, l_.str.78@PAGEOFF
mov w1, #100
LBB1_9:
mov w2, #1
mov x3, x19
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #128
b _fwrite
.loh AdrpAdd Lloh179, Lloh180
.loh AdrpAdd Lloh181, Lloh182
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpAdd Lloh185, Lloh186
.loh AdrpAdd Lloh191, Lloh192
.loh AdrpAdd Lloh189, Lloh190
.loh AdrpAdd Lloh187, Lloh188
.loh AdrpAdd Lloh201, Lloh202
.loh AdrpLdr Lloh199, Lloh200
.loh AdrpAdd Lloh197, Lloh198
.loh AdrpAdd Lloh195, Lloh196
.loh AdrpAdd Lloh193, Lloh194
.loh AdrpAdd Lloh205, Lloh206
.loh AdrpAdd Lloh203, Lloh204
.cfi_endproc
; -- End function
.globl _google_query ; -- Begin function google_query
.p2align 2
_google_query: ; @google_query
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
sub sp, sp, #1056
mov x21, x2
mov x20, x0
Lloh207:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh208:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh209:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh210:
adrp x19, _total_string@GOTPAGE
Lloh211:
ldr x19, [x19, _total_string@GOTPAGEOFF]
ldrb w8, [x19]
cbnz w8, LBB2_2
; %bb.1:
stp x1, x21, [sp]
Lloh212:
adrp x0, _total_string@GOTPAGE
Lloh213:
ldr x0, [x0, _total_string@GOTPAGEOFF]
Lloh214:
adrp x3, l_.str.55@PAGE
Lloh215:
add x3, x3, l_.str.55@PAGEOFF
mov w1, #0
mov w2, #256
bl ___sprintf_chk
LBB2_2:
adrp x22, _vflag@PAGE
ldr w8, [x22, _vflag@PAGEOFF]
cbz w8, LBB2_4
; %bb.3:
str x21, [sp]
Lloh216:
adrp x0, l_.str.56@PAGE
Lloh217:
add x0, x0, l_.str.56@PAGEOFF
bl _printf
LBB2_4:
Lloh218:
adrp x1, l_.str.48@PAGE
Lloh219:
add x1, x1, l_.str.48@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB2_10
; %bb.5:
Lloh220:
adrp x1, l_.str.49@PAGE
Lloh221:
add x1, x1, l_.str.49@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB2_11
; %bb.6:
Lloh222:
adrp x1, l_.str.59@PAGE
Lloh223:
add x1, x1, l_.str.59@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB2_12
; %bb.7:
Lloh224:
adrp x1, l_.str.28@PAGE
Lloh225:
add x1, x1, l_.str.28@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB2_13
; %bb.8:
Lloh226:
adrp x1, l_.str.61@PAGE
Lloh227:
add x1, x1, l_.str.61@PAGEOFF
mov x0, x20
bl _strcmp
cbz w0, LBB2_14
; %bb.9:
mov x0, #-1
b LBB2_26
LBB2_10:
Lloh228:
adrp x3, l_.str.57@PAGE
Lloh229:
add x3, x3, l_.str.57@PAGEOFF
b LBB2_15
LBB2_11:
Lloh230:
adrp x3, l_.str.58@PAGE
Lloh231:
add x3, x3, l_.str.58@PAGEOFF
b LBB2_15
LBB2_12:
Lloh232:
adrp x3, l_.str.60@PAGE
Lloh233:
add x3, x3, l_.str.60@PAGEOFF
b LBB2_15
LBB2_13:
Lloh234:
adrp x3, l_.str.4@PAGE
Lloh235:
add x3, x3, l_.str.4@PAGEOFF
b LBB2_15
LBB2_14:
Lloh236:
adrp x3, l_.str.62@PAGE
Lloh237:
add x3, x3, l_.str.62@PAGEOFF
LBB2_15:
str x21, [sp]
Lloh238:
adrp x21, _pretty_query@GOTPAGE
Lloh239:
ldr x21, [x21, _pretty_query@GOTPAGEOFF]
mov x0, x21
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
str x21, [sp]
Lloh240:
adrp x21, _mid_query@GOTPAGE
Lloh241:
ldr x21, [x21, _mid_query@GOTPAGEOFF]
Lloh242:
adrp x3, l_.str.63@PAGE
Lloh243:
add x3, x3, l_.str.63@PAGEOFF
mov x0, x21
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
Lloh244:
adrp x8, _sflag@PAGE
Lloh245:
ldr w8, [x8, _sflag@PAGEOFF]
cbz w8, LBB2_18
; %bb.16:
Lloh246:
adrp x8, _site@PAGE
Lloh247:
ldr x8, [x8, _site@PAGEOFF]
stp x21, x8, [sp]
Lloh248:
adrp x3, l_.str.64@PAGE
Lloh249:
add x3, x3, l_.str.64@PAGEOFF
add x0, sp, #24
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
add x1, sp, #24
mov x0, x21
mov w2, #1024
bl _strncpy
ldr w8, [x22, _vflag@PAGEOFF]
cbz w8, LBB2_18
; %bb.17:
str x21, [sp]
Lloh250:
adrp x0, l_.str.65@PAGE
Lloh251:
add x0, x0, l_.str.65@PAGEOFF
bl _printf
LBB2_18:
Lloh252:
adrp x8, _xflag@PAGE
Lloh253:
ldr w8, [x8, _xflag@PAGEOFF]
cbz w8, LBB2_21
; %bb.19:
Lloh254:
adrp x8, _xtra_stuff@PAGE
Lloh255:
ldr x8, [x8, _xtra_stuff@PAGEOFF]
stp x21, x8, [sp]
Lloh256:
adrp x3, l_.str.66@PAGE
Lloh257:
add x3, x3, l_.str.66@PAGEOFF
add x0, sp, #24
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
add x1, sp, #24
mov x0, x21
mov w2, #1024
bl _strncpy
ldr w8, [x22, _vflag@PAGEOFF]
cbz w8, LBB2_23
; %bb.20:
str x21, [sp]
Lloh258:
adrp x0, l_.str.67@PAGE
Lloh259:
add x0, x0, l_.str.67@PAGEOFF
bl _printf
LBB2_21:
ldr w8, [x22, _vflag@PAGEOFF]
cbz w8, LBB2_23
; %bb.22:
str x21, [sp]
Lloh260:
adrp x0, l_.str.68@PAGE
Lloh261:
add x0, x0, l_.str.68@PAGEOFF
bl _printf
LBB2_23:
Lloh262:
adrp x0, _mid_query@GOTPAGE
Lloh263:
ldr x0, [x0, _mid_query@GOTPAGEOFF]
bl _inet_send
cmp w0, #1
b.ne LBB2_25
; %bb.24:
Lloh264:
adrp x0, l_str.143@PAGE
Lloh265:
add x0, x0, l_str.143@PAGEOFF
bl _puts
mov x0, #0
b LBB2_26
LBB2_25:
Lloh266:
adrp x0, _recvbuf@GOTPAGE
Lloh267:
ldr x0, [x0, _recvbuf@GOTPAGEOFF]
bl _parse_results
adrp x21, _results@PAGE
str x0, [x21, _results@PAGEOFF]
stp x20, x0, [sp, #8]
str x19, [sp]
Lloh268:
adrp x3, l_.str.70@PAGE
Lloh269:
add x3, x3, l_.str.70@PAGEOFF
add x0, sp, #24
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
add x1, sp, #24
mov x0, x19
mov w2, #256
bl _strncpy
ldr x0, [x21, _results@PAGEOFF]
adrp x8, _total@PAGE
ldr w9, [x8, _total@PAGEOFF]
add w9, w9, w0
str w9, [x8, _total@PAGEOFF]
LBB2_26:
ldur x8, [x29, #-56]
Lloh270:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh271:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh272:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_28
; %bb.27:
add sp, sp, #1056
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB2_28:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh210, Lloh211
.loh AdrpLdrGotLdr Lloh207, Lloh208, Lloh209
.loh AdrpAdd Lloh214, Lloh215
.loh AdrpLdrGot Lloh212, Lloh213
.loh AdrpAdd Lloh216, Lloh217
.loh AdrpAdd Lloh218, Lloh219
.loh AdrpAdd Lloh220, Lloh221
.loh AdrpAdd Lloh222, Lloh223
.loh AdrpAdd Lloh224, Lloh225
.loh AdrpAdd Lloh226, Lloh227
.loh AdrpAdd Lloh228, Lloh229
.loh AdrpAdd Lloh230, Lloh231
.loh AdrpAdd Lloh232, Lloh233
.loh AdrpAdd Lloh234, Lloh235
.loh AdrpAdd Lloh236, Lloh237
.loh AdrpLdr Lloh244, Lloh245
.loh AdrpAdd Lloh242, Lloh243
.loh AdrpLdrGot Lloh240, Lloh241
.loh AdrpLdrGot Lloh238, Lloh239
.loh AdrpAdd Lloh248, Lloh249
.loh AdrpLdr Lloh246, Lloh247
.loh AdrpAdd Lloh250, Lloh251
.loh AdrpLdr Lloh252, Lloh253
.loh AdrpAdd Lloh256, Lloh257
.loh AdrpLdr Lloh254, Lloh255
.loh AdrpAdd Lloh258, Lloh259
.loh AdrpAdd Lloh260, Lloh261
.loh AdrpLdrGot Lloh262, Lloh263
.loh AdrpAdd Lloh264, Lloh265
.loh AdrpAdd Lloh268, Lloh269
.loh AdrpLdrGot Lloh266, Lloh267
.loh AdrpLdrGotLdr Lloh270, Lloh271, Lloh272
.cfi_endproc
; -- End function
.globl _inet_send ; -- Begin function inet_send
.p2align 2
_inet_send: ; @inet_send
.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
mov x20, x0
Lloh273:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh274:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh275:
ldr x8, [x8]
str x8, [sp, #40]
mov w0, #1024
mov w1, #1
bl _calloc
cbz x0, LBB3_20
; %bb.1:
mov x19, x0
Lloh276:
adrp x8, _cooked@PAGE
Lloh277:
ldr w8, [x8, _cooked@PAGEOFF]
adrp x21, _pflag@PAGE
cbz w8, LBB3_3
; %bb.2:
Lloh278:
adrp x1, _out_query@GOTPAGE
Lloh279:
ldr x1, [x1, _out_query@GOTPAGEOFF]
mov x0, x19
mov w2, #1024
bl _strncpy
b LBB3_7
LBB3_3:
Lloh280:
adrp x8, _dflag@PAGE
Lloh281:
ldr w1, [x8, _dflag@PAGEOFF]
mov x0, x20
bl _inet_convert
mov x1, x0
Lloh282:
adrp x0, _out_query@GOTPAGE
Lloh283:
ldr x0, [x0, _out_query@GOTPAGEOFF]
mov w2, #1024
bl _strncpy
ldr w8, [x21, _pflag@PAGEOFF]
cbz w8, LBB3_5
; %bb.4:
Lloh284:
adrp x8, _google_server@PAGE
Lloh285:
ldr x8, [x8, _google_server@PAGEOFF]
stp x8, x0, [sp]
Lloh286:
adrp x3, l_.str.93@PAGE
Lloh287:
add x3, x3, l_.str.93@PAGEOFF
b LBB3_6
LBB3_5:
str x0, [sp]
Lloh288:
adrp x3, l_.str.92@PAGE
Lloh289:
add x3, x3, l_.str.92@PAGEOFF
LBB3_6:
mov x0, x19
mov w1, #0
mov w2, #1024
bl ___sprintf_chk
LBB3_7:
Lloh290:
adrp x8, _vflag@PAGE
Lloh291:
ldr w8, [x8, _vflag@PAGEOFF]
cbz w8, LBB3_9
; %bb.8:
str x19, [sp]
Lloh292:
adrp x0, l_.str.94@PAGE
Lloh293:
add x0, x0, l_.str.94@PAGEOFF
bl _printf
LBB3_9:
Lloh294:
adrp x22, _he@GOTPAGE
Lloh295:
ldr x22, [x22, _he@GOTPAGEOFF]
ldr x8, [x22]
cbnz x8, LBB3_14
; %bb.10:
adrp x20, _google_server@PAGE
ldr x8, [x20, _google_server@PAGEOFF]
str x8, [sp]
Lloh296:
adrp x0, l_.str.95@PAGE
Lloh297:
add x0, x0, l_.str.95@PAGEOFF
bl _printf
ldr w8, [x21, _pflag@PAGEOFF]
cbz w8, LBB3_13
; %bb.11:
Lloh298:
adrp x8, _proxyaddr@PAGE
Lloh299:
ldr x0, [x8, _proxyaddr@PAGEOFF]
bl _gethostbyname
str x0, [x22]
cbnz x0, LBB3_14
; %bb.12:
bl _inet_send.cold.2
LBB3_13:
ldr x0, [x20, _google_server@PAGEOFF]
bl _gethostbyname
str x0, [x22]
cbz x0, LBB3_23
LBB3_14:
mov w23, #2
mov w0, #2
mov w1, #1
mov w2, #0
bl _socket
cmn w0, #1
b.eq LBB3_21
; %bb.15:
mov x20, x0
strb w23, [sp, #25]
ldr w8, [x21, _pflag@PAGEOFF]
adrp x9, _proxyport@PAGE
ldrh w9, [x9, _proxyport@PAGEOFF]
rev w9, w9
lsr w9, w9, #16
mov w10, #20480
cmp w8, #0
csel w8, w10, w9, eq
strh w8, [sp, #26]
ldr x8, [x22]
ldr x8, [x8, #24]
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp, #28]
str xzr, [sp, #32]
add x1, sp, #24
mov w2, #16
bl _connect
cmn w0, #1
b.eq LBB3_19
; %bb.16:
mov x0, x19
bl _strlen
mov x2, x0
mov x0, x20
mov x1, x19
mov w3, #0
bl _send
Lloh300:
adrp x1, _recvbuf@GOTPAGE
Lloh301:
ldr x1, [x1, _recvbuf@GOTPAGEOFF]
mov x0, x20
mov w2, #65000
mov w3, #64
bl _recv
mov x0, x20
bl _close
mov w0, #0
LBB3_17:
ldr x8, [sp, #40]
Lloh302:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh303:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh304:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_22
; %bb.18:
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
LBB3_19:
mov x0, x20
bl _close
Lloh305:
adrp x0, l_.str.99@PAGE
Lloh306:
add x0, x0, l_.str.99@PAGEOFF
bl _perror
mov w0, #1
b LBB3_17
LBB3_20:
Lloh307:
adrp x0, l_str.144@PAGE
Lloh308:
add x0, x0, l_str.144@PAGEOFF
bl _puts
mov w0, #1
bl _exit
LBB3_21:
bl _inet_send.cold.1
LBB3_22:
bl ___stack_chk_fail
LBB3_23:
ldr x8, [x20, _google_server@PAGEOFF]
str x8, [sp]
Lloh309:
adrp x0, l_.str.97@PAGE
Lloh310:
add x0, x0, l_.str.97@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.loh AdrpLdrGotLdr Lloh273, Lloh274, Lloh275
.loh AdrpLdr Lloh276, Lloh277
.loh AdrpLdrGot Lloh278, Lloh279
.loh AdrpLdrGot Lloh282, Lloh283
.loh AdrpLdr Lloh280, Lloh281
.loh AdrpAdd Lloh286, Lloh287
.loh AdrpLdr Lloh284, Lloh285
.loh AdrpAdd Lloh288, Lloh289
.loh AdrpLdr Lloh290, Lloh291
.loh AdrpAdd Lloh292, Lloh293
.loh AdrpLdrGot Lloh294, Lloh295
.loh AdrpAdd Lloh296, Lloh297
.loh AdrpLdr Lloh298, Lloh299
.loh AdrpLdrGot Lloh300, Lloh301
.loh AdrpLdrGotLdr Lloh302, Lloh303, Lloh304
.loh AdrpAdd Lloh305, Lloh306
.loh AdrpAdd Lloh307, Lloh308
.loh AdrpAdd Lloh309, Lloh310
.cfi_endproc
; -- End function
.globl _parse_results ; -- Begin function parse_results
.p2align 2
_parse_results: ; @parse_results
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh311:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh312:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh313:
ldr x8, [x8]
stur x8, [x29, #-24]
mov w0, #1024
mov w1, #1
bl _calloc
mov x20, x0
Lloh314:
adrp x1, l_.str.79@PAGE
Lloh315:
add x1, x1, l_.str.79@PAGEOFF
mov x0, x19
bl _strcspn
sub x2, x0, #1
mov x0, x20
mov x1, x19
mov w3, #1024
bl ___strncat_chk
Lloh316:
adrp x8, _vflag@PAGE
Lloh317:
ldr w8, [x8, _vflag@PAGEOFF]
cbz w8, LBB4_2
; %bb.1:
str x20, [sp]
Lloh318:
adrp x0, l_.str.80@PAGE
Lloh319:
add x0, x0, l_.str.80@PAGEOFF
bl _printf
LBB4_2:
Lloh320:
adrp x1, l_.str.81@PAGE
Lloh321:
add x1, x1, l_.str.81@PAGEOFF
mov x0, x20
bl _strstr
cbz x0, LBB4_10
; %bb.3:
Lloh322:
adrp x1, l_.str.83@PAGE
Lloh323:
add x1, x1, l_.str.83@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB4_12
; %bb.4:
Lloh324:
adrp x1, l_.str.83@PAGE
Lloh325:
add x1, x1, l_.str.83@PAGEOFF
bl _strtok
Lloh326:
adrp x19, l_.str.84@PAGE
Lloh327:
add x19, x19, l_.str.84@PAGEOFF
mov x0, #0
mov x1, x19
bl _strtok
mov x0, #0
mov x1, x19
bl _strtok
Lloh328:
adrp x19, l_.str.85@PAGE
Lloh329:
add x19, x19, l_.str.85@PAGEOFF
mov x0, #0
mov x1, x19
bl _strtok
mov x0, #0
mov x1, x19
bl _strtok
Lloh330:
adrp x1, l_.str.86@PAGE
Lloh331:
add x1, x1, l_.str.86@PAGEOFF
mov x0, #0
bl _strtok
cbz x0, LBB4_15
; %bb.5:
mov x19, x0
bl _strlen
mov w8, #0
cbz x0, LBB4_11
; %bb.6:
add x9, sp, #15
b LBB4_8
LBB4_7: ; in Loop: Header=BB4_8 Depth=1
add x19, x19, #1
subs x0, x0, #1
b.eq LBB4_11
LBB4_8: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x19]
cmp w10, #44
b.eq LBB4_7
; %bb.9: ; in Loop: Header=BB4_8 Depth=1
strb w10, [x9, w8, sxtw]
add w8, w8, #1
b LBB4_7
LBB4_10:
str x20, [sp]
Lloh332:
adrp x0, l_.str.82@PAGE
Lloh333:
add x0, x0, l_.str.82@PAGEOFF
bl _printf
mov x0, #0
b LBB4_15
LBB4_11:
add x9, sp, #15
strb wzr, [x9, w8, sxtw]
add x0, sp, #15
bl _atol
b LBB4_15
LBB4_12:
Lloh334:
adrp x1, l_.str.87@PAGE
Lloh335:
add x1, x1, l_.str.87@PAGEOFF
mov x0, x19
bl _strstr
cbz x0, LBB4_15
; %bb.13:
Lloh336:
adrp x1, l_.str.87@PAGE
Lloh337:
add x1, x1, l_.str.87@PAGEOFF
bl _strtok
ldur x8, [x29, #-24]
Lloh338:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh339:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh340:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_17
; %bb.14:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
b _atol
LBB4_15:
ldur x8, [x29, #-24]
Lloh341:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh342:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh343:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_17
; %bb.16:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB4_17:
bl ___stack_chk_fail
.loh AdrpLdr Lloh316, Lloh317
.loh AdrpAdd Lloh314, Lloh315
.loh AdrpLdrGotLdr Lloh311, Lloh312, Lloh313
.loh AdrpAdd Lloh318, Lloh319
.loh AdrpAdd Lloh320, Lloh321
.loh AdrpAdd Lloh322, Lloh323
.loh AdrpAdd Lloh330, Lloh331
.loh AdrpAdd Lloh328, Lloh329
.loh AdrpAdd Lloh326, Lloh327
.loh AdrpAdd Lloh324, Lloh325
.loh AdrpAdd Lloh332, Lloh333
.loh AdrpAdd Lloh334, Lloh335
.loh AdrpLdrGotLdr Lloh338, Lloh339, Lloh340
.loh AdrpAdd Lloh336, Lloh337
.loh AdrpLdrGotLdr Lloh341, Lloh342, Lloh343
.cfi_endproc
; -- End function
.globl _inet_convert ; -- Begin function inet_convert
.p2align 2
_inet_convert: ; @inet_convert
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x21, x0
mov w0, #1024
mov w1, #1
bl _calloc
mov x19, x0
mov w0, #1024
mov w1, #1
bl _calloc
ldrb w8, [x21]
cbz w8, LBB5_17
; %bb.1:
mov x22, x0
Lloh344:
adrp x23, l_.str.88@PAGE
Lloh345:
add x23, x23, l_.str.88@PAGEOFF
mov w25, #1
Lloh346:
adrp x24, l_.str.89@PAGE
Lloh347:
add x24, x24, l_.str.89@PAGEOFF
mov w26, #43
Lloh348:
adrp x27, lJTI5_0@PAGE
Lloh349:
add x27, x27, lJTI5_0@PAGEOFF
LBB5_2: ; =>This Inner Loop Header: Depth=1
and w9, w8, #0xff
sub w9, w9, #32
cmp w9, #29
b.hi LBB5_5
; %bb.3: ; in Loop: Header=BB5_2 Depth=1
adr x10, LBB5_4
ldrb w11, [x27, x9]
add x10, x10, x11, lsl #2
br x10
LBB5_4: ; in Loop: Header=BB5_2 Depth=1
str x26, [sp]
b LBB5_9
LBB5_5: ; in Loop: Header=BB5_2 Depth=1
and w9, w8, #0xffffffdf
sub w9, w9, #65
and w9, w9, #0xff
cmp w9, #25
b.hi LBB5_13
; %bb.6: ; in Loop: Header=BB5_2 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
LBB5_7: ; in Loop: Header=BB5_2 Depth=1
and x8, x8, #0xff
LBB5_8: ; in Loop: Header=BB5_2 Depth=1
str x8, [sp]
LBB5_9: ; in Loop: Header=BB5_2 Depth=1
mov x0, x22
mov w1, #0
mov w2, #1024
mov x3, x23
LBB5_10: ; in Loop: Header=BB5_2 Depth=1
bl ___sprintf_chk
LBB5_11: ; in Loop: Header=BB5_2 Depth=1
mov x0, x19
mov x1, x22
mov w2, #1024
bl ___strcat_chk
mov x0, x21
bl _strlen
cmp x0, x25
b.ls LBB5_17
; %bb.12: ; in Loop: Header=BB5_2 Depth=1
ldrb w8, [x21, x25]
add x25, x25, #1
b LBB5_2
LBB5_13: ; in Loop: Header=BB5_2 Depth=1
cmp w20, #1
b.eq LBB5_16
; %bb.14: ; in Loop: Header=BB5_2 Depth=1
cbnz w20, LBB5_11
; %bb.15: ; in Loop: Header=BB5_2 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtb x8, w8
b LBB5_8
LBB5_16: ; in Loop: Header=BB5_2 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtb x8, w8
str x8, [sp]
mov x0, x22
mov w1, #0
mov w2, #1024
mov x3, x24
b LBB5_10
LBB5_17:
Lloh350:
adrp x8, _vflag@PAGE
Lloh351:
ldr w8, [x8, _vflag@PAGEOFF]
cbz w8, LBB5_19
; %bb.18:
str x19, [sp]
Lloh352:
adrp x0, l_.str.90@PAGE
Lloh353:
add x0, x0, l_.str.90@PAGEOFF
bl _printf
LBB5_19:
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
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh348, Lloh349
.loh AdrpAdd Lloh346, Lloh347
.loh AdrpAdd Lloh344, Lloh345
.loh AdrpLdr Lloh350, Lloh351
.loh AdrpAdd Lloh352, Lloh353
.cfi_endproc
.section __TEXT,__const
lJTI5_0:
.byte (LBB5_4-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_7-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_4-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_5-LBB5_4)>>2
.byte (LBB5_7-LBB5_4)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @usage
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh354:
adrp x0, l_str.145@PAGE
Lloh355:
add x0, x0, l_str.145@PAGEOFF
bl _puts
Lloh356:
adrp x0, l_str.146@PAGE
Lloh357:
add x0, x0, l_str.146@PAGEOFF
bl _puts
Lloh358:
adrp x0, l_str.147@PAGE
Lloh359:
add x0, x0, l_str.147@PAGEOFF
bl _puts
Lloh360:
adrp x0, l_str.148@PAGE
Lloh361:
add x0, x0, l_str.148@PAGEOFF
bl _puts
Lloh362:
adrp x0, l_str.149@PAGE
Lloh363:
add x0, x0, l_str.149@PAGEOFF
bl _puts
Lloh364:
adrp x0, l_str.150@PAGE
Lloh365:
add x0, x0, l_str.150@PAGEOFF
bl _puts
Lloh366:
adrp x0, l_str.151@PAGE
Lloh367:
add x0, x0, l_str.151@PAGEOFF
bl _puts
Lloh368:
adrp x0, l_str.152@PAGE
Lloh369:
add x0, x0, l_str.152@PAGEOFF
bl _puts
Lloh370:
adrp x0, l_str.153@PAGE
Lloh371:
add x0, x0, l_str.153@PAGEOFF
bl _puts
Lloh372:
adrp x0, l_str.154@PAGE
Lloh373:
add x0, x0, l_str.154@PAGEOFF
bl _puts
Lloh374:
adrp x0, l_str.155@PAGE
Lloh375:
add x0, x0, l_str.155@PAGEOFF
bl _puts
Lloh376:
adrp x0, l_str.156@PAGE
Lloh377:
add x0, x0, l_str.156@PAGEOFF
bl _puts
Lloh378:
adrp x0, l_str.157@PAGE
Lloh379:
add x0, x0, l_str.157@PAGEOFF
bl _puts
Lloh380:
adrp x0, l_str.158@PAGE
Lloh381:
add x0, x0, l_str.158@PAGEOFF
bl _puts
Lloh382:
adrp x0, l_str.159@PAGE
Lloh383:
add x0, x0, l_str.159@PAGEOFF
bl _puts
Lloh384:
adrp x0, l_str.160@PAGE
Lloh385:
add x0, x0, l_str.160@PAGEOFF
bl _puts
Lloh386:
adrp x0, l_str.161@PAGE
Lloh387:
add x0, x0, l_str.161@PAGEOFF
bl _puts
Lloh388:
adrp x0, l_str.162@PAGE
Lloh389:
add x0, x0, l_str.162@PAGEOFF
bl _puts
Lloh390:
adrp x0, l_str.163@PAGE
Lloh391:
add x0, x0, l_str.163@PAGEOFF
bl _puts
Lloh392:
adrp x0, l_str.164@PAGE
Lloh393:
add x0, x0, l_str.164@PAGEOFF
bl _puts
Lloh394:
adrp x0, l_str.165@PAGE
Lloh395:
add x0, x0, l_str.165@PAGEOFF
bl _puts
mov w0, #1
bl _exit
.loh AdrpAdd Lloh394, Lloh395
.loh AdrpAdd Lloh392, Lloh393
.loh AdrpAdd Lloh390, Lloh391
.loh AdrpAdd Lloh388, Lloh389
.loh AdrpAdd Lloh386, Lloh387
.loh AdrpAdd Lloh384, Lloh385
.loh AdrpAdd Lloh382, Lloh383
.loh AdrpAdd Lloh380, Lloh381
.loh AdrpAdd Lloh378, Lloh379
.loh AdrpAdd Lloh376, Lloh377
.loh AdrpAdd Lloh374, Lloh375
.loh AdrpAdd Lloh372, Lloh373
.loh AdrpAdd Lloh370, Lloh371
.loh AdrpAdd Lloh368, Lloh369
.loh AdrpAdd Lloh366, Lloh367
.loh AdrpAdd Lloh364, Lloh365
.loh AdrpAdd Lloh362, Lloh363
.loh AdrpAdd Lloh360, Lloh361
.loh AdrpAdd Lloh358, Lloh359
.loh AdrpAdd Lloh356, Lloh357
.loh AdrpAdd Lloh354, Lloh355
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _perror
bl _OUTLINED_FUNCTION_0
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.2
_main.cold.2: ; @main.cold.2
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _perror
bl _OUTLINED_FUNCTION_0
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function inet_send.cold.1
_inet_send.cold.1: ; @inet_send.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh396:
adrp x0, l_.str.98@PAGE
Lloh397:
add x0, x0, l_.str.98@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh396, Lloh397
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function inet_send.cold.2
_inet_send.cold.2: ; @inet_send.cold.2
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh398:
adrp x0, l_.str.96@PAGE
Lloh399:
add x0, x0, l_.str.96@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh398, Lloh399
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk
.cfi_startproc
; %bb.0:
mov w0, #1
b _exit
.cfi_endproc
; -- End function
.globl _type ; @type
.zerofill __DATA,__common,_type,8,3
.globl _description ; @description
.zerofill __DATA,__common,_description,8,3
.globl _google_server ; @google_server
.zerofill __DATA,__common,_google_server,8,3
.globl _proxyaddr ; @proxyaddr
.zerofill __DATA,__common,_proxyaddr,8,3
.globl _site ; @site
.zerofill __DATA,__common,_site,8,3
.globl _xtra_stuff ; @xtra_stuff
.zerofill __DATA,__common,_xtra_stuff,8,3
.globl _aflag ; @aflag
.zerofill __DATA,__common,_aflag,4,2
.globl _dflag ; @dflag
.zerofill __DATA,__common,_dflag,4,2
.globl _oflag ; @oflag
.zerofill __DATA,__common,_oflag,4,2
.globl _pflag ; @pflag
.zerofill __DATA,__common,_pflag,4,2
.globl _sflag ; @sflag
.zerofill __DATA,__common,_sflag,4,2
.globl _vflag ; @vflag
.zerofill __DATA,__common,_vflag,4,2
.globl _xflag ; @xflag
.zerofill __DATA,__common,_xflag,4,2
.globl _total ; @total
.zerofill __DATA,__common,_total,4,2
.globl _cooked ; @cooked
.zerofill __DATA,__common,_cooked,4,2
.globl _proxyport ; @proxyport
.zerofill __DATA,__common,_proxyport,4,2
.globl _results ; @results
.zerofill __DATA,__common,_results,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "acdhvi:o:p:q:s:t:x:"
l_.str.2: ; @.str.2
.asciz ":"
l_.str.4: ; @.str.4
.asciz "%s"
.section __TEXT,__const
l_.str.5: ; @.str.5
.space 2
.section __TEXT,__cstring,cstring_literals
l_.str.7: ; @.str.7
.asciz "http://"
l_.str.9: ; @.str.9
.asciz "www.google.com"
l_.str.20: ; @.str.20
.asciz "Agree? (y/n) [n] "
l_.str.25: ; @.str.25
.asciz "a"
l_.str.26: ; @.str.26
.space 1
l_.str.27: ; @.str.27
.asciz "<br><CENTER><b>Gooscan Results</b></CENTER><br>"
l_.str.28: ; @.str.28
.asciz "raw"
l_.str.29: ; @.str.29
.asciz "<center>site: %s<br>input file: %s<br>"
l_.str.30: ; @.str.30
.asciz "none"
l_.str.31: ; @.str.31
.asciz " "
l_.str.32: ; @.str.32
.asciz "Executed: %s</CENTER><br>"
l_.str.33: ; @.str.33
.asciz "header"
l_.str.34: ; @.str.34
.asciz "\"%s\" returned %ld results.\n"
.comm _out_query,1024,0 ; @out_query
.comm _pretty_query,1024,0 ; @pretty_query
l_.str.35: ; @.str.35
.asciz "line"
l_.str.36: ; @.str.36
.asciz "Searching google for site %s...\n"
l_.str.37: ; @.str.37
.asciz "r"
l_.str.38: ; @.str.38
.asciz "intitle:index.of"
l_.str.41: ; @.str.41
.asciz "Generic index.of search returned %ld results\n"
.comm _total_string,256,0 ; @total_string
.comm _mid_query,1024,0 ; @mid_query
l_.str.45: ; @.str.45
.asciz "|"
l_.str.46: ; @.str.46
.asciz "cooked"
l_.str.47: ; @.str.47
.asciz "file"
l_.str.48: ; @.str.48
.asciz "indexof"
l_.str.49: ; @.str.49
.asciz "inurl"
l_.str.50: ; @.str.50
.asciz "%sTotal:%d\n"
l_.str.51: ; @.str.51
.asciz "Results"
l_.str.53: ; @.str.53
.asciz "Unknown type in data file (%s). Skipping...\n"
l_.str.54: ; @.str.54
.asciz "footer"
l_.str.55: ; @.str.55
.asciz "%s:%s"
l_.str.56: ; @.str.56
.asciz "(verbose) command line query => %s\n"
l_.str.57: ; @.str.57
.asciz "intitle:index.of+%s"
l_.str.58: ; @.str.58
.asciz "inurl:%s"
l_.str.59: ; @.str.59
.asciz "intitle"
l_.str.60: ; @.str.60
.asciz "intitle:%s"
l_.str.61: ; @.str.61
.asciz "filetype"
l_.str.62: ; @.str.62
.asciz "filetype:%s"
l_.str.63: ; @.str.63
.asciz "&q=%s"
l_.str.64: ; @.str.64
.asciz "%s+site:%s"
l_.str.65: ; @.str.65
.asciz "(verbose) site added. query is now: %s\n"
l_.str.66: ; @.str.66
.asciz "%s&%s"
l_.str.67: ; @.str.67
.asciz "(verbose) extra stuff added. query is now: %s\n"
l_.str.68: ; @.str.68
.asciz "(verbose) Sending query => %s\n"
.comm _recvbuf,65000,0 ; @recvbuf
l_.str.70: ; @.str.70
.asciz "%s %s:%ld "
l_.str.71: ; @.str.71
.asciz "<style>BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 12px}</style>"
l_.str.72: ; @.str.72
.asciz "<CENTER><TABLE BORDER=1>\n"
l_.str.73: ; @.str.73
.asciz "<TR><TD>Search</TD><TD>Link</TD><TD>Results</TD></TR>"
l_.str.74: ; @.str.74
.asciz "<b>"
l_.str.75: ; @.str.75
.asciz "</b>"
l_.str.76: ; @.str.76
.asciz "<TR><TD>%s%s%s</TD><TD><A HREF=\"http://%s/search?%s\">link</A></TD><TD align=\"RIGHT\">%d</TD></TR>\n"
l_.str.77: ; @.str.77
.asciz "</TABLE>\n"
l_.str.78: ; @.str.78
.asciz "<BR>gooscan by j0hnny<br><A HREF=\"http://johnny.ihackstuff.com\">http://johnny.ihackstuff.com</A><BR>"
l_.str.79: ; @.str.79
.asciz "\n"
l_.str.80: ; @.str.80
.asciz "(verbose) Status line from server: \"%s\"\n"
l_.str.81: ; @.str.81
.asciz "200"
l_.str.82: ; @.str.82
.asciz "Error! Received \"%s\" from server!\n"
l_.str.83: ; @.str.83
.asciz "Results <b>"
l_.str.84: ; @.str.84
.asciz " </b>"
l_.str.85: ; @.str.85
.asciz ">"
l_.str.86: ; @.str.86
.asciz "<"
l_.str.87: ; @.str.87
.asciz "of about <b>"
l_.str.88: ; @.str.88
.asciz "%c"
l_.str.89: ; @.str.89
.asciz "%%%x"
l_.str.90: ; @.str.90
.asciz "(verbose) post-converted string: \"%s\"\n"
l_.str.92: ; @.str.92
.asciz "GET /search?%s HTTP/1.0\n\n"
l_.str.93: ; @.str.93
.asciz "GET http://%s/search?%s HTTP/1.0\n\n"
l_.str.94: ; @.str.94
.asciz "(verbose) GET Line => %s\n"
.comm _he,8,3 ; @he
l_.str.95: ; @.str.95
.asciz "doing lookup of %s...\n"
l_.str.96: ; @.str.96
.asciz "gethostbyname"
l_.str.97: ; @.str.97
.asciz "Host not found: %s\n"
l_.str.98: ; @.str.98
.asciz "socket"
l_.str.99: ; @.str.99
.asciz "connect"
.comm _pr,8,3 ; @pr
l_str: ; @str
.asciz "Error: supply either -q or -f flag."
l_str.121: ; @str.121
.asciz "Error allocating memory for description. Aborting."
l_str.122: ; @str.122
.asciz "Error allocating memory for value. Aborting."
l_str.123: ; @str.123
.asciz "Error allocating memory for type. Aborting."
l_str.124: ; @str.124
.asciz "Generic index.of search returned no results."
l_str.125: ; @str.125
.asciz "Skipping index.of tests."
l_str.126: ; @str.126
.asciz "Error: -q and -f should not be used together."
l_str.127: ; @str.127
.asciz "-q allows for a single Google query from the command line,"
l_str.128: ; @str.128
.asciz "-f allows for multiple Google queries read from a file."
l_str.129: ; @str.129
.asciz "\n***!!! WARNING: You are querying a www.google.com server !!!***"
l_str.130: ; @str.130
.asciz "This tool was designed to query Google appliances, not the google.com website."
l_str.131: ; @str.131
.asciz "The google.com scanning functionality is included for EDUCATIONAL PURPOSES ONLY "
l_str.132: ; @str.132
.asciz "to help webmasters determine the potential Google exposure of their sites."
l_str.133: ; @str.133
.asciz "\nDo you acknowledge that: "
l_str.134: ; @str.134
.asciz " - You are knowingly violating Google's terms of service found at"
l_str.135: ; @str.135
.asciz " http://www.google.com/terms_of_service.html"
l_str.136: ; @str.136
.asciz " - You are using this tool to assess your own web site's exposure"
l_str.137: ; @str.137
.asciz " - The use of this tool in this way is not condoned by the author"
l_str.138: ; @str.138
.asciz " - You will not hold the author liable in any way for the use of this tool\n"
l_str.139: ; @str.139
.asciz "You must provide the google server with the -t argument!"
l_str.140: ; @str.140
.asciz "Error allocating memory for google_server. Aborting."
l_str.141: ; @str.141
.asciz "Error: Proxy address must be like address:port."
l_str.142: ; @str.142
.asciz "Error allocating memory for proxyaddr. Aborting."
l_str.143: ; @str.143
.asciz "Error sending query."
l_str.144: ; @str.144
.asciz "Error allocating memory for get_line. Aborting."
l_str.145: ; @str.145
.asciz "gooscan <-q query | -i query_file> <-t target>"
l_str.146: ; @str.146
.asciz " \t[-o output_file] [-p proxy:port] [-v] [-d] "
l_str.147: ; @str.147
.asciz " \t[-s site] [-x xtra_appliance_fields]"
l_str.148: ; @str.148
.asciz "\t----------------------------------------------------------------"
l_str.149: ; @str.149
.asciz " \t(query) is a standard google query (EX: \"intitle:index.of\")"
l_str.150: ; @str.150
.asciz " \t(query_file) is a list of google queries (see README)"
l_str.151: ; @str.151
.asciz "\t(target) is the Google appliance/server"
l_str.152: ; @str.152
.asciz "\t(output_file) is where the HTML-formatted list of results goes"
l_str.153: ; @str.153
.asciz "\t(proxy:port) address:port of a valid HTTP proxy for bouncing"
l_str.154: ; @str.154
.asciz "\t(site) restricts search to one domain, like microsoft.com"
l_str.155: ; @str.155
.asciz " (xtra_appliance_fields) are required for appliance scans"
l_str.156: ; @str.156
.asciz " \t-v turns on verbose mode"
l_str.157: ; @str.157
.asciz " \t-d hex-encodes all non-alpha characters"
l_str.158: ; @str.158
.asciz "Friendly example: "
l_str.159: ; @str.159
.asciz "gooscan -t google.fda.gov -q food "
l_str.160: ; @str.160
.asciz " -x \"&client=FDA&site=FDA&output=xml_no_dtd&oe=&lr=&proxystylesheet=FDA\""
l_str.161: ; @str.161
.asciz "Google terms-of-service violations:"
l_str.162: ; @str.162
.asciz "gooscan -t www.google.com -q \"linux\" "
l_str.163: ; @str.163
.asciz "gooscan -t www.google.com -q \"linux\" -s microsoft.com "
l_str.164: ; @str.164
.asciz "gooscan -t www.google.com -f gdork.gs\n"
l_str.165: ; @str.165
.asciz "Gooscan google scanner by j0hnny http://johnny.ihackstuff.com"
.subsections_via_symbols
| the_stack_data/190768429.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $2, %edi
jne LBB0_1
## %bb.2:
movq 8(%rsi), %rdi
callq _atoi
movl %eax, %ecx
xorl %eax, %eax
cmpl $3, %ecx
jl LBB0_12
## %bb.3:
movl %ecx, %eax
movl $2863311531, %edx ## imm = 0xAAAAAAAB
imulq %rax, %rdx
shrq $33, %rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
movl %ecx, %r13d
negl %r13d
leal -3(%rcx), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl $1, -44(%rbp) ## 4-byte Folded Spill
movl $4, %eax
movl $2, -48(%rbp) ## 4-byte Folded Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
addl $-2, -52(%rbp) ## 4-byte Folded Spill
movl -56(%rbp), %eax ## 4-byte Reload
addl %eax, -48(%rbp) ## 4-byte Folded Spill
addl $2, %eax
cmpl -72(%rbp), %r12d ## 4-byte Folded Reload
movq -80(%rbp), %rcx ## 8-byte Reload
je LBB0_11
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movl %eax, -56(%rbp) ## 4-byte Spill
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, %r12d
leal 1(%r12), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl %ecx, %r12d
jge LBB0_10
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl %r12d, %esi
imull %r12d, %esi
movl -48(%rbp), %r15d ## 4-byte Reload
movl -52(%rbp), %r14d ## 4-byte Reload
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, %ebx
movl %esi, -60(%rbp) ## 4-byte Spill
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=2
leal (%rbx,%r13), %eax
incl %eax
movl %ebx, %ecx
incl %ecx
decl %r14d
addl %r12d, %r15d
movl %ecx, %ebx
cmpl $1, %eax
je LBB0_10
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %ebx, %r14d
jle LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
movl %ebx, %eax
imull %ebx, %eax
addl %esi, %eax
movl %r14d, %ecx
imull %r14d, %ecx
cmpl %ecx, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movl %r15d, %esi
imull %r14d, %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -60(%rbp), %esi ## 4-byte Reload
jmp LBB0_9
LBB0_1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%rsi), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %eax
jmp LBB0_12
LBB0_11:
xorl %eax, %eax
LBB0_12:
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 "usage: %s <N>\n"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
cmp w0, #2
b.ne LBB0_3
; %bb.1:
ldr x0, [x1, #8]
bl _atoi
cmp w0, #3
b.ge LBB0_5
LBB0_2:
mov w0, #0
b LBB0_4
LBB0_3:
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
ldr x8, [x1]
str x8, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
LBB0_4:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_5:
mov w8, #43691
movk w8, #43690, lsl #16
umull x8, w0, w8
lsr x8, x8, #33
str x8, [sp, #8] ; 8-byte Folded Spill
mov w21, #1
mov w22, #-3
mov w25, #4
mov w24, #2
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
sub w22, w22, #2
add w24, w24, w25
add w25, w25, #2
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp w26, w8
mov x0, x20
b.eq LBB0_2
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
mov x26, x21
add w21, w21, #1
mov x20, x0
cmp w26, w0
b.ge LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mul w27, w26, w26
mov x28, x24
mov x19, x20
mov x23, x21
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add w23, w23, #1
sub w19, w19, #1
add w28, w28, w26
cmp w26, w19
b.eq LBB0_6
LBB0_10: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w22, w19
cmp w8, w23
b.le LBB0_6
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
madd w9, w23, w23, w27
mul w10, w8, w8
cmp w9, w10
b.ne LBB0_9
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
mul w8, w28, w8
str x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "usage: %s <N>\n"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/162642337.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qlcnic_fw_flash_get_minidump_temp
_qlcnic_fw_flash_get_minidump_temp: ## @qlcnic_fw_flash_get_minidump_temp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
callq _qlcnic_82xx_check
testq %rax, %rax
jne LBB0_1
## %bb.2:
movq %rbx, %rdi
callq _qlcnic_83xx_lock_flash
testq %rax, %rax
je LBB0_3
LBB0_1:
movq _EIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _QLC_83XX_MINIDUMP_FLASH@GOTPCREL(%rip), %rax
movl (%rax), %esi
sarl $2, %r14d
movq %rbx, %rdi
movq %r15, %rdx
movl %r14d, %ecx
callq _qlcnic_83xx_lockless_flash_read32
movl %eax, %r14d
movq %rbx, %rdi
callq _qlcnic_83xx_unlock_flash
movl %r14d, %eax
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _EIO,4,2 ## @EIO
.comm _QLC_83XX_MINIDUMP_FLASH,4,2 ## @QLC_83XX_MINIDUMP_FLASH
.no_dead_strip _qlcnic_fw_flash_get_minidump_temp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qlcnic_fw_flash_get_minidump_temp
_qlcnic_fw_flash_get_minidump_temp: ; @qlcnic_fw_flash_get_minidump_temp
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
mov x19, x0
bl _qlcnic_82xx_check
cbnz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _qlcnic_83xx_lock_flash
cbz x0, LBB0_4
LBB0_2:
Lloh0:
adrp x8, _EIO@GOTPAGE
Lloh1:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
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
LBB0_4:
Lloh3:
adrp x8, _QLC_83XX_MINIDUMP_FLASH@GOTPAGE
Lloh4:
ldr x8, [x8, _QLC_83XX_MINIDUMP_FLASH@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
asr w3, w21, #2
mov x0, x19
mov x2, x20
bl _qlcnic_83xx_lockless_flash_read32
mov x20, x0
mov x0, x19
bl _qlcnic_83xx_unlock_flash
mov x0, x20
b LBB0_3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EIO,4,2 ; @EIO
.comm _QLC_83XX_MINIDUMP_FLASH,4,2 ; @QLC_83XX_MINIDUMP_FLASH
.no_dead_strip _qlcnic_fw_flash_get_minidump_temp
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_minidump.c_qlcnic_fw_flash_get_minidump_temp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtas_excl_open
_rtas_excl_open: ## @rtas_excl_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _PDE
movq %rax, %rbx
movq _flash_file_open_lock@GOTPCREL(%rip), %rdi
callq _spin_lock
movq %rbx, %rdi
callq _atomic_read
cmpl $3, %eax
jl LBB0_2
## %bb.1:
movq _flash_file_open_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock
movq _EBUSY@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_3
LBB0_2:
movq %rbx, %rdi
callq _atomic_inc
movq _flash_file_open_lock@GOTPCREL(%rip), %rdi
callq _spin_unlock
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _flash_file_open_lock,4,2 ## @flash_file_open_lock
.comm _EBUSY,4,2 ## @EBUSY
.no_dead_strip _rtas_excl_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtas_excl_open
_rtas_excl_open: ; @rtas_excl_open
.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 _PDE
mov x19, x0
Lloh0:
adrp x0, _flash_file_open_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _flash_file_open_lock@GOTPAGEOFF]
bl _spin_lock
mov x0, x19
bl _atomic_read
cmp w0, #3
b.lt LBB0_2
; %bb.1:
Lloh2:
adrp x0, _flash_file_open_lock@GOTPAGE
Lloh3:
ldr x0, [x0, _flash_file_open_lock@GOTPAGEOFF]
bl _spin_unlock
Lloh4:
adrp x8, _EBUSY@GOTPAGE
Lloh5:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
b LBB0_3
LBB0_2:
mov x0, x19
bl _atomic_inc
Lloh7:
adrp x0, _flash_file_open_lock@GOTPAGE
Lloh8:
ldr x0, [x0, _flash_file_open_lock@GOTPAGEOFF]
bl _spin_unlock
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _flash_file_open_lock,4,2 ; @flash_file_open_lock
.comm _EBUSY,4,2 ; @EBUSY
.no_dead_strip _rtas_excl_open
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_rtas_flash.c_rtas_excl_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uftdi_cfg_set_dtr
_uftdi_cfg_set_dtr: ## @uftdi_cfg_set_dtr
.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, %rbx
movq 8(%rdi), %r15
movl (%rdi), %r14d
leaq L_.str(%rip), %rsi
movl $2, %edi
movq %rbx, %rdx
callq _DPRINTFN
testq %rbx, %rbx
jne LBB0_1
## %bb.2:
movq _FTDI_SIO_SET_DTR_LOW@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _FTDI_SIO_SET_DTR_HIGH@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %esi
movq _UT_WRITE_VENDOR_DEVICE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -32(%rbp)
movq _FTDI_SIO_MODEM_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
callq _USETW
movl %r14d, %esi
callq _USETW
xorl %esi, %esi
callq _USETW
movl 4(%r15), %edi
leaq -48(%rbp), %rdx
movq %r15, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $1000, %r9d ## imm = 0x3E8
callq _ucom_cfg_do_request
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DTR=%u\n"
.comm _FTDI_SIO_SET_DTR_HIGH,4,2 ## @FTDI_SIO_SET_DTR_HIGH
.comm _FTDI_SIO_SET_DTR_LOW,4,2 ## @FTDI_SIO_SET_DTR_LOW
.comm _UT_WRITE_VENDOR_DEVICE,4,2 ## @UT_WRITE_VENDOR_DEVICE
.comm _FTDI_SIO_MODEM_CTRL,4,2 ## @FTDI_SIO_MODEM_CTRL
.no_dead_strip _uftdi_cfg_set_dtr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uftdi_cfg_set_dtr
_uftdi_cfg_set_dtr: ; @uftdi_cfg_set_dtr
.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
ldr x20, [x0, #8]
ldr w21, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #2
mov x2, x19
bl _DPRINTFN
Lloh2:
adrp x8, _FTDI_SIO_SET_DTR_HIGH@GOTPAGE
Lloh3:
ldr x8, [x8, _FTDI_SIO_SET_DTR_HIGH@GOTPAGEOFF]
Lloh4:
adrp x9, _FTDI_SIO_SET_DTR_LOW@GOTPAGE
Lloh5:
ldr x9, [x9, _FTDI_SIO_SET_DTR_LOW@GOTPAGEOFF]
cmp x19, #0
csel x8, x9, x8, eq
ldr w1, [x8]
Lloh6:
adrp x8, _UT_WRITE_VENDOR_DEVICE@GOTPAGE
Lloh7:
ldr x8, [x8, _UT_WRITE_VENDOR_DEVICE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _FTDI_SIO_MODEM_CTRL@GOTPAGE
Lloh10:
ldr x9, [x9, _FTDI_SIO_MODEM_CTRL@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, w8, [sp, #20]
bl _USETW
mov x1, x21
bl _USETW
mov w1, #0
bl _USETW
ldr w0, [x20, #4]
add x2, sp, #8
mov x1, x20
mov x3, #0
mov w4, #0
mov w5, #1000
bl _ucom_cfg_do_request
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DTR=%u\n"
.comm _FTDI_SIO_SET_DTR_HIGH,4,2 ; @FTDI_SIO_SET_DTR_HIGH
.comm _FTDI_SIO_SET_DTR_LOW,4,2 ; @FTDI_SIO_SET_DTR_LOW
.comm _UT_WRITE_VENDOR_DEVICE,4,2 ; @UT_WRITE_VENDOR_DEVICE
.comm _FTDI_SIO_MODEM_CTRL,4,2 ; @FTDI_SIO_MODEM_CTRL
.no_dead_strip _uftdi_cfg_set_dtr
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/serial/extr_uftdi.c_uftdi_cfg_set_dtr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
xorl %eax, %eax
callq _archive_write_new
movq %rax, %rbx
testl %r14d, %r14d
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _archive_write_add_filter_gzip
LBB0_2:
movq _ARCHIVE_OK@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _should
movl (%r14), %esi
leaq L_.str(%rip), %rcx
movq %rbx, %rdi
movq %rcx, %rdx
movq %rcx, %r8
callq _should
movq _ARCHIVE_FAILED@GOTPCREL(%rip), %r12
movl (%r12), %esi
leaq L_.str.1(%rip), %r14
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %rcx
xorl %r8d, %r8d
callq _should
movl (%r12), %esi
leaq L_.str.2(%rip), %r15
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %rcx
movq %r15, %r8
callq _should
movl (%r12), %esi
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
xorl %r8d, %r8d
callq _should
movl (%r12), %esi
leaq L_.str.3(%rip), %r8
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
callq _should
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _archive_write_free ## TAILCALL
.cfi_endproc
## -- End function
.comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _ARCHIVE_FAILED,4,2 ## @ARCHIVE_FAILED
L_.str.1: ## @.str.1
.asciz "fubar"
L_.str.2: ## @.str.2
.asciz "snafu"
L_.str.3: ## @.str.3
.asciz "betcha"
.no_dead_strip _test
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test
_test: ; @test
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
bl _archive_write_new
mov x19, x0
cbnz w20, LBB0_2
; %bb.1:
mov x0, x19
bl _archive_write_add_filter_gzip
LBB0_2:
Lloh0:
adrp x20, _ARCHIVE_OK@GOTPAGE
Lloh1:
ldr x20, [x20, _ARCHIVE_OK@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x19
mov x2, #0
mov x3, #0
mov x4, #0
bl _should
ldr w1, [x20]
Lloh2:
adrp x2, l_.str@PAGE
Lloh3:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov x3, x2
mov x4, x2
bl _should
Lloh4:
adrp x22, _ARCHIVE_FAILED@GOTPAGE
Lloh5:
ldr x22, [x22, _ARCHIVE_FAILED@GOTPAGEOFF]
ldr w1, [x22]
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x19
mov x2, #0
mov x3, x20
mov x4, #0
bl _should
ldr w1, [x22]
Lloh8:
adrp x21, l_.str.2@PAGE
Lloh9:
add x21, x21, l_.str.2@PAGEOFF
mov x0, x19
mov x2, #0
mov x3, x20
mov x4, x21
bl _should
ldr w1, [x22]
mov x0, x19
mov x2, x20
mov x3, x21
mov x4, #0
bl _should
ldr w1, [x22]
Lloh10:
adrp x4, l_.str.3@PAGE
Lloh11:
add x4, x4, l_.str.3@PAGEOFF
mov x0, x19
mov x2, x20
mov x3, x21
bl _should
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _archive_write_free
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _ARCHIVE_FAILED,4,2 ; @ARCHIVE_FAILED
l_.str.1: ; @.str.1
.asciz "fubar"
l_.str.2: ; @.str.2
.asciz "snafu"
l_.str.3: ; @.str.3
.asciz "betcha"
.no_dead_strip _test
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_archive_write_set_filter_option.c_test.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function stbi__gif_test_raw
_stbi__gif_test_raw: ## @stbi__gif_test_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _stbi__get8
xorl %r14d, %r14d
cmpb $71, %al
jne LBB0_7
## %bb.1:
movq %rbx, %rdi
callq _stbi__get8
cmpb $73, %al
jne LBB0_7
## %bb.2:
movq %rbx, %rdi
callq _stbi__get8
cmpb $70, %al
jne LBB0_7
## %bb.3:
movq %rbx, %rdi
callq _stbi__get8
cmpb $56, %al
jne LBB0_7
## %bb.4:
movq %rbx, %rdi
callq _stbi__get8
cmpb $57, %al
je LBB0_6
## %bb.5:
cmpb $55, %al
jne LBB0_7
LBB0_6:
movq %rbx, %rdi
callq _stbi__get8
xorl %r14d, %r14d
cmpb $97, %al
sete %r14b
LBB0_7:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _stbi__gif_test_raw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function stbi__gif_test_raw
_stbi__gif_test_raw: ; @stbi__gif_test_raw
.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 _stbi__get8
cmp w0, #71
b.ne LBB0_7
; %bb.1:
mov x0, x19
bl _stbi__get8
cmp w0, #73
b.ne LBB0_7
; %bb.2:
mov x0, x19
bl _stbi__get8
cmp w0, #70
b.ne LBB0_7
; %bb.3:
mov x0, x19
bl _stbi__get8
cmp w0, #56
b.ne LBB0_7
; %bb.4:
mov x0, x19
bl _stbi__get8
cmp w0, #57
b.eq LBB0_6
; %bb.5:
and w8, w0, #0xff
cmp w8, #55
b.ne LBB0_7
LBB0_6:
mov x0, x19
bl _stbi__get8
cmp w0, #97
cset w0, eq
b LBB0_8
LBB0_7:
mov w0, #0
LBB0_8:
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 _stbi__gif_test_raw
.subsections_via_symbols
| AnghaBench/openpilot/phonelibs/nanovg/extr_stb_image.h_stbi__gif_test_raw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fib ## -- Begin function fib
.p2align 4, 0x90
_fib: ## @fib
.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
cmpl $2, %edi
jb LBB0_8
## %bb.1:
jle LBB0_8
## %bb.2:
leal -2(%rax), %esi
addl $-3, %eax
movl %esi, %ecx
andl $7, %ecx
cmpl $7, %eax
jae LBB0_4
## %bb.3:
xorl %edx, %edx
movl $1, %eax
jmp LBB0_6
LBB0_4:
andl $-8, %esi
xorl %edx, %edx
movl $1, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
addl %eax, %edx
addl %edx, %eax
addl %eax, %edx
addl %edx, %eax
addl %eax, %edx
addl %edx, %eax
addl %eax, %edx
addl %edx, %eax
addl $-8, %esi
jne LBB0_5
LBB0_6:
testl %ecx, %ecx
je LBB0_8
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl %eax, %esi
movl %edx, %eax
addl %esi, %eax
movl %esi, %edx
decl %ecx
jne LBB0_7
LBB0_8:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function fact
LCPI1_0:
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.long 4294967294 ## 0xfffffffe
.long 4294967293 ## 0xfffffffd
LCPI1_1:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI1_2:
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
LCPI1_3:
.long 4294967288 ## 0xfffffff8
.long 4294967288 ## 0xfffffff8
.long 4294967288 ## 0xfffffff8
.long 4294967288 ## 0xfffffff8
LCPI1_4:
.long 4294967284 ## 0xfffffff4
.long 4294967284 ## 0xfffffff4
.long 4294967284 ## 0xfffffff4
.long 4294967284 ## 0xfffffff4
LCPI1_5:
.long 4294967280 ## 0xfffffff0
.long 4294967280 ## 0xfffffff0
.long 4294967280 ## 0xfffffff0
.long 4294967280 ## 0xfffffff0
LCPI1_6:
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
LCPI1_7:
.long 4294967272 ## 0xffffffe8
.long 4294967272 ## 0xffffffe8
.long 4294967272 ## 0xffffffe8
.long 4294967272 ## 0xffffffe8
LCPI1_8:
.long 4294967268 ## 0xffffffe4
.long 4294967268 ## 0xffffffe4
.long 4294967268 ## 0xffffffe4
.long 4294967268 ## 0xffffffe4
LCPI1_9:
.long 4294967264 ## 0xffffffe0
.long 4294967264 ## 0xffffffe0
.long 4294967264 ## 0xffffffe0
.long 4294967264 ## 0xffffffe0
.section __TEXT,__text,regular,pure_instructions
.globl _fact
.p2align 4, 0x90
_fact: ## @fact
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
movl $1, %eax
testl %edi, %edi
jle LBB1_12
## %bb.1:
cmpl $8, %edi
jb LBB1_11
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %ecx
andl $-8, %ecx
movd %edi, %xmm0
pshufd $0, %xmm0, %xmm6 ## xmm6 = xmm0[0,0,0,0]
paddd LCPI1_0(%rip), %xmm6
leal -8(%rcx), %esi
movl %esi, %edx
shrl $3, %edx
incl %edx
movl %edx, %eax
andl $3, %eax
cmpl $24, %esi
jae LBB1_4
## %bb.3:
movdqa LCPI1_1(%rip), %xmm1 ## xmm1 = [1,1,1,1]
movdqa %xmm1, %xmm2
jmp LBB1_6
LBB1_4:
andl $-4, %edx
movdqa LCPI1_1(%rip), %xmm1 ## xmm1 = [1,1,1,1]
movdqa LCPI1_2(%rip), %xmm8 ## xmm8 = [4294967292,4294967292,4294967292,4294967292]
movdqa LCPI1_3(%rip), %xmm9 ## xmm9 = [4294967288,4294967288,4294967288,4294967288]
movdqa LCPI1_4(%rip), %xmm10 ## xmm10 = [4294967284,4294967284,4294967284,4294967284]
movdqa LCPI1_5(%rip), %xmm11 ## xmm11 = [4294967280,4294967280,4294967280,4294967280]
movdqa LCPI1_6(%rip), %xmm12 ## xmm12 = [4294967276,4294967276,4294967276,4294967276]
movdqa LCPI1_7(%rip), %xmm13 ## xmm13 = [4294967272,4294967272,4294967272,4294967272]
movdqa LCPI1_8(%rip), %xmm4 ## xmm4 = [4294967268,4294967268,4294967268,4294967268]
movdqa LCPI1_9(%rip), %xmm5 ## xmm5 = [4294967264,4294967264,4294967264,4294967264]
movdqa %xmm1, %xmm2
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
movdqa %xmm6, %xmm3
paddd %xmm8, %xmm3
pmulld %xmm2, %xmm3
pmulld %xmm6, %xmm1
movdqa %xmm6, %xmm2
paddd %xmm9, %xmm2
pmulld %xmm1, %xmm2
movdqa %xmm6, %xmm1
paddd %xmm10, %xmm1
movdqa %xmm6, %xmm7
paddd %xmm11, %xmm7
movdqa %xmm6, %xmm0
paddd %xmm12, %xmm0
pmulld %xmm1, %xmm0
pmulld %xmm3, %xmm0
movdqa %xmm6, %xmm1
paddd %xmm13, %xmm1
pmulld %xmm7, %xmm1
pmulld %xmm2, %xmm1
movdqa %xmm6, %xmm2
paddd %xmm4, %xmm2
pmulld %xmm0, %xmm2
paddd %xmm5, %xmm6
addl $-4, %edx
jne LBB1_5
LBB1_6:
testl %eax, %eax
je LBB1_9
## %bb.7:
movdqa LCPI1_2(%rip), %xmm3 ## xmm3 = [4294967292,4294967292,4294967292,4294967292]
movdqa LCPI1_3(%rip), %xmm4 ## xmm4 = [4294967288,4294967288,4294967288,4294967288]
.p2align 4, 0x90
LBB1_8: ## =>This Inner Loop Header: Depth=1
movdqa %xmm6, %xmm0
paddd %xmm3, %xmm0
pmulld %xmm0, %xmm2
pmulld %xmm6, %xmm1
paddd %xmm4, %xmm6
decl %eax
jne LBB1_8
LBB1_9:
pmulld %xmm2, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
pmulld %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
pmulld %xmm0, %xmm1
movd %xmm1, %eax
cmpl %edi, %ecx
popq %rbp
je LBB1_12
## %bb.10:
andl $7, %edi
.p2align 4, 0x90
LBB1_11: ## =>This Inner Loop Header: Depth=1
imull %edi, %eax
leal -1(%rdi), %ecx
cmpl $1, %edi
movl %ecx, %edi
ja LBB1_11
LBB1_12:
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI2_0:
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.long 4294967294 ## 0xfffffffe
.long 4294967293 ## 0xfffffffd
LCPI2_1:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI2_2:
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
LCPI2_3:
.long 4294967288 ## 0xfffffff8
.long 4294967288 ## 0xfffffff8
.long 4294967288 ## 0xfffffff8
.long 4294967288 ## 0xfffffff8
LCPI2_4:
.long 4294967284 ## 0xfffffff4
.long 4294967284 ## 0xfffffff4
.long 4294967284 ## 0xfffffff4
.long 4294967284 ## 0xfffffff4
LCPI2_5:
.long 4294967280 ## 0xfffffff0
.long 4294967280 ## 0xfffffff0
.long 4294967280 ## 0xfffffff0
.long 4294967280 ## 0xfffffff0
LCPI2_6:
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
.long 4294967276 ## 0xffffffec
LCPI2_7:
.long 4294967272 ## 0xffffffe8
.long 4294967272 ## 0xffffffe8
.long 4294967272 ## 0xffffffe8
.long 4294967272 ## 0xffffffe8
LCPI2_8:
.long 4294967268 ## 0xffffffe4
.long 4294967268 ## 0xffffffe4
.long 4294967268 ## 0xffffffe4
.long 4294967268 ## 0xffffffe4
LCPI2_9:
.long 4294967264 ## 0xffffffe0
.long 4294967264 ## 0xffffffe0
.long 4294967264 ## 0xffffffe0
.long 4294967264 ## 0xffffffe0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -16(%rbp), %esi
cmpl $2, %esi
jb LBB2_7
## %bb.1:
leal -2(%rsi), %ecx
addl $-3, %esi
movl %ecx, %eax
andl $7, %eax
cmpl $7, %esi
jae LBB2_3
## %bb.2:
movl $1, %esi
jmp LBB2_5
LBB2_3:
andl $-8, %ecx
xorl %ebx, %ebx
movl $1, %esi
.p2align 4, 0x90
LBB2_4: ## =>This Inner Loop Header: Depth=1
addl %esi, %ebx
addl %ebx, %esi
addl %esi, %ebx
addl %ebx, %esi
addl %esi, %ebx
addl %ebx, %esi
addl %esi, %ebx
addl %ebx, %esi
addl $-8, %ecx
jne LBB2_4
LBB2_5:
testl %eax, %eax
je LBB2_7
.p2align 4, 0x90
LBB2_6: ## =>This Inner Loop Header: Depth=1
movl %esi, %ecx
movl %ebx, %esi
addl %ecx, %esi
movl %ecx, %ebx
decl %eax
jne LBB2_6
LBB2_7:
leaq L_.str.2(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %eax
movl $1, %esi
testl %eax, %eax
jle LBB2_19
## %bb.8:
cmpl $8, %eax
jb LBB2_18
## %bb.9:
movl %eax, %ecx
andl $-8, %ecx
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm6 ## xmm6 = xmm0[0,0,0,0]
paddd LCPI2_0(%rip), %xmm6
leal -8(%rcx), %edi
movl %edi, %esi
shrl $3, %esi
incl %esi
movl %esi, %edx
andl $3, %edx
cmpl $24, %edi
jae LBB2_11
## %bb.10:
movdqa LCPI2_1(%rip), %xmm1 ## xmm1 = [1,1,1,1]
movdqa %xmm1, %xmm2
jmp LBB2_13
LBB2_11:
andl $-4, %esi
movdqa LCPI2_1(%rip), %xmm1 ## xmm1 = [1,1,1,1]
movdqa LCPI2_2(%rip), %xmm8 ## xmm8 = [4294967292,4294967292,4294967292,4294967292]
movdqa LCPI2_3(%rip), %xmm9 ## xmm9 = [4294967288,4294967288,4294967288,4294967288]
movdqa LCPI2_4(%rip), %xmm10 ## xmm10 = [4294967284,4294967284,4294967284,4294967284]
movdqa LCPI2_5(%rip), %xmm11 ## xmm11 = [4294967280,4294967280,4294967280,4294967280]
movdqa LCPI2_6(%rip), %xmm12 ## xmm12 = [4294967276,4294967276,4294967276,4294967276]
movdqa LCPI2_7(%rip), %xmm13 ## xmm13 = [4294967272,4294967272,4294967272,4294967272]
movdqa LCPI2_8(%rip), %xmm4 ## xmm4 = [4294967268,4294967268,4294967268,4294967268]
movdqa LCPI2_9(%rip), %xmm5 ## xmm5 = [4294967264,4294967264,4294967264,4294967264]
movdqa %xmm1, %xmm2
.p2align 4, 0x90
LBB2_12: ## =>This Inner Loop Header: Depth=1
movdqa %xmm6, %xmm3
paddd %xmm8, %xmm3
pmulld %xmm2, %xmm3
pmulld %xmm6, %xmm1
movdqa %xmm6, %xmm2
paddd %xmm9, %xmm2
pmulld %xmm1, %xmm2
movdqa %xmm6, %xmm1
paddd %xmm10, %xmm1
movdqa %xmm6, %xmm7
paddd %xmm11, %xmm7
movdqa %xmm6, %xmm0
paddd %xmm12, %xmm0
pmulld %xmm1, %xmm0
pmulld %xmm3, %xmm0
movdqa %xmm6, %xmm1
paddd %xmm13, %xmm1
pmulld %xmm7, %xmm1
pmulld %xmm2, %xmm1
movdqa %xmm6, %xmm2
paddd %xmm4, %xmm2
pmulld %xmm0, %xmm2
paddd %xmm5, %xmm6
addl $-4, %esi
jne LBB2_12
LBB2_13:
testl %edx, %edx
je LBB2_16
## %bb.14:
movdqa LCPI2_2(%rip), %xmm3 ## xmm3 = [4294967292,4294967292,4294967292,4294967292]
movdqa LCPI2_3(%rip), %xmm4 ## xmm4 = [4294967288,4294967288,4294967288,4294967288]
.p2align 4, 0x90
LBB2_15: ## =>This Inner Loop Header: Depth=1
movdqa %xmm6, %xmm0
paddd %xmm3, %xmm0
pmulld %xmm0, %xmm2
pmulld %xmm6, %xmm1
paddd %xmm4, %xmm6
decl %edx
jne LBB2_15
LBB2_16:
pmulld %xmm2, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
pmulld %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
pmulld %xmm0, %xmm1
movd %xmm1, %esi
cmpl %ecx, %eax
je LBB2_19
## %bb.17:
andl $7, %eax
.p2align 4, 0x90
LBB2_18: ## =>This Inner Loop Header: Depth=1
imull %eax, %esi
leal -1(%rax), %ecx
cmpl $1, %eax
movl %ecx, %eax
ja LBB2_18
LBB2_19:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nEnter the fibonacci to be found :"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\nThe fibbonacci is : %d\n"
L_.str.3: ## @.str.3
.asciz "\nInput the number for which factorial is to be found :"
L_.str.4: ## @.str.4
.asciz "\nThe factorial of the given number is : %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fib ; -- Begin function fib
.p2align 2
_fib: ; @fib
.cfi_startproc
; %bb.0:
subs w8, w0, #2
b.lo LBB0_4
; %bb.1:
cmp w0, #3
; implicit-def: $w0
b.lt LBB0_4
; %bb.2:
mov w9, #0
mov w0, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x10, x0
add w0, w0, w9
mov x9, x10
subs w8, w8, #1
b.ne LBB0_3
LBB0_4:
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function fact
lCPI1_0:
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.long 4294967294 ; 0xfffffffe
.long 4294967293 ; 0xfffffffd
.section __TEXT,__text,regular,pure_instructions
.globl _fact
.p2align 2
_fact: ; @fact
.cfi_startproc
; %bb.0:
cmp w0, #1
b.lt LBB1_3
; %bb.1:
cmp w0, #16
b.hs LBB1_4
; %bb.2:
mov w8, #1
mov x9, x0
b LBB1_7
LBB1_3:
mov w0, #1
ret
LBB1_4:
dup.4s v0, w0
Lloh0:
adrp x8, lCPI1_0@PAGE
Lloh1:
ldr q1, [x8, lCPI1_0@PAGEOFF]
add.4s v1, v0, v1
movi.4s v0, #1
mvni.4s v2, #3
and w10, w0, #0xfffffff0
and w9, w0, #0xf
mvni.4s v3, #7
mvni.4s v4, #11
mvni.4s v5, #15
mov x8, x10
movi.4s v6, #1
movi.4s v7, #1
movi.4s v16, #1
LBB1_5: ; =>This Inner Loop Header: Depth=1
add.4s v17, v1, v2
add.4s v18, v1, v3
add.4s v19, v1, v4
mul.4s v0, v0, v1
mul.4s v6, v6, v17
mul.4s v7, v7, v18
mul.4s v16, v16, v19
add.4s v1, v1, v5
subs w8, w8, #16
b.ne LBB1_5
; %bb.6:
mul.4s v0, v6, v0
mul.4s v0, v7, v0
mul.4s v0, v16, v0
ext.16b v1, v0, v0, #8
mul.2s v0, v0, v1
fmov w8, s0
mov.s w11, v0[1]
mul w8, w8, w11
cmp w10, w0
b.eq LBB1_8
LBB1_7: ; =>This Inner Loop Header: Depth=1
mul w8, w8, w9
subs w9, w9, #1
b.hi LBB1_7
LBB1_8:
mov x0, x8
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function main
lCPI2_0:
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.long 4294967294 ; 0xfffffffe
.long 4294967293 ; 0xfffffffd
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
subs w9, w8, #2
b.lo LBB2_3
; %bb.1:
mov w10, #0
mov w8, #1
LBB2_2: ; =>This Inner Loop Header: Depth=1
mov x11, x8
add w8, w10, w8
mov x10, x11
subs w9, w9, #1
b.ne LBB2_2
LBB2_3:
str x8, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh8:
adrp x0, l_.str.3@PAGE
Lloh9:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w9, [sp, #8]
cmp w9, #1
b.lt LBB2_6
; %bb.4:
cmp w9, #16
b.hs LBB2_7
; %bb.5:
mov w11, #1
mov x8, x9
b LBB2_10
LBB2_6:
mov w11, #1
b LBB2_11
LBB2_7:
dup.4s v0, w9
Lloh12:
adrp x8, lCPI2_0@PAGE
Lloh13:
ldr q1, [x8, lCPI2_0@PAGEOFF]
add.4s v1, v0, v1
movi.4s v0, #1
mvni.4s v2, #3
and w10, w9, #0xfffffff0
and w8, w9, #0xf
mvni.4s v3, #7
mvni.4s v4, #11
mvni.4s v5, #15
mov x11, x10
movi.4s v6, #1
movi.4s v7, #1
movi.4s v16, #1
LBB2_8: ; =>This Inner Loop Header: Depth=1
add.4s v17, v1, v2
add.4s v18, v1, v3
add.4s v19, v1, v4
mul.4s v0, v1, v0
mul.4s v6, v17, v6
mul.4s v7, v18, v7
mul.4s v16, v19, v16
add.4s v1, v1, v5
subs w11, w11, #16
b.ne LBB2_8
; %bb.9:
mul.4s v0, v6, v0
mul.4s v0, v7, v0
mul.4s v0, v16, v0
ext.16b v1, v0, v0, #8
mul.2s v0, v0, v1
fmov w11, s0
mov.s w12, v0[1]
mul w11, w11, w12
cmp w9, w10
b.eq LBB2_11
LBB2_10: ; =>This Inner Loop Header: Depth=1
mul w11, w8, w11
subs w8, w8, #1
b.hi LBB2_10
LBB2_11:
str x11, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nEnter the fibonacci to be found :"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\nThe fibbonacci is : %d\n"
l_.str.3: ; @.str.3
.asciz "\nInput the number for which factorial is to be found :"
l_.str.4: ; @.str.4
.asciz "\nThe factorial of the given number is : %d\n"
.subsections_via_symbols
| the_stack_data/61075861.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_rtmp_hls_parse_aac_header
_ngx_rtmp_hls_parse_aac_header: ## @ngx_rtmp_hls_parse_aac_header
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq _ngx_rtmp_codec_module@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ngx_rtmp_get_module_ctx
movq (%rax), %rax
movq %rax, -56(%rbp)
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -48(%rbp), %rdx
leaq -56(%rbp), %r8
movq %rbx, %rdi
xorl %esi, %esi
movl $2, %ecx
callq _ngx_rtmp_hls_copy
movq _NGX_OK@GOTPCREL(%rip), %r12
movq _NGX_ERROR@GOTPCREL(%rip), %r13
cmpq (%r12), %rax
jne LBB0_11
## %bb.1:
leaq -64(%rbp), %rsi
leaq -48(%rbp), %rdx
leaq -56(%rbp), %r8
movq %rbx, %rdi
movl $1, %ecx
callq _ngx_rtmp_hls_copy
cmpq (%r12), %rax
jne LBB0_11
## %bb.2:
leaq -60(%rbp), %rsi
leaq -48(%rbp), %rdx
leaq -56(%rbp), %r8
movq %rbx, %rdi
movl $1, %ecx
callq _ngx_rtmp_hls_copy
cmpq (%r12), %rax
jne LBB0_11
## %bb.3:
movl -64(%rbp), %eax
movl %eax, %r8d
sarl $3, %r8d
movl %r8d, (%r15)
cmpl $8, %eax
jb LBB0_5
## %bb.4:
cmpl $31, %r8d
je LBB0_5
## %bb.6:
cmpl $40, %eax
jl LBB0_8
## %bb.7:
movl $2, (%r15)
LBB0_8:
andl $7, %eax
movl -60(%rbp), %ecx
movl %ecx, %edx
shrl $7, %edx
andl $1, %edx
leal (%rdx,%rax,2), %eax
movl %eax, (%r14)
cmpl $15, %eax
jne LBB0_10
## %bb.9:
movq _NGX_LOG_DEBUG_RTMP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%rbx), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rcx
xorl %edx, %edx
movl $15, %r8d
callq _ngx_log_debug1
jmp LBB0_11
LBB0_5:
movq _NGX_LOG_DEBUG_RTMP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%rbx), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rcx
xorl %edx, %edx
callq _ngx_log_debug1
jmp LBB0_11
LBB0_10:
shrl $3, %ecx
andl $15, %ecx
movq -72(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
movq _NGX_LOG_DEBUG_RTMP@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%rbx), %rax
movl (%rax), %esi
movl (%r15), %r8d
movl (%r14), %r9d
movl %ecx, (%rsp)
leaq L_.str.2(%rip), %rcx
xorl %edx, %edx
callq _ngx_log_debug3
movq %r12, %r13
LBB0_11:
movq (%r13), %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ngx_rtmp_codec_module,4,2 ## @ngx_rtmp_codec_module
.comm _NGX_OK,8,3 ## @NGX_OK
.comm _NGX_ERROR,8,3 ## @NGX_ERROR
.comm _NGX_LOG_DEBUG_RTMP,4,2 ## @NGX_LOG_DEBUG_RTMP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hls: unsupported adts object type:%ui"
L_.str.1: ## @.str.1
.asciz "hls: unsupported adts sample rate:%ui"
L_.str.2: ## @.str.2
.asciz "hls: aac object_type:%ui, sample_rate_index:%ui, channel_config:%ui"
.no_dead_strip _ngx_rtmp_hls_parse_aac_header
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_rtmp_hls_parse_aac_header
_ngx_rtmp_hls_parse_aac_header: ; @ngx_rtmp_hls_parse_aac_header
.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 x22, x3
mov x20, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, _ngx_rtmp_codec_module@GOTPAGE
Lloh1:
ldr x8, [x8, _ngx_rtmp_codec_module@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _ngx_rtmp_get_module_ctx
ldr x8, [x0]
str x8, [sp, #24]
ldr x8, [x8]
ldr x8, [x8]
str x8, [sp, #16]
add x2, sp, #16
add x4, sp, #24
mov x0, x19
mov x1, #0
mov w3, #2
bl _ngx_rtmp_hls_copy
Lloh3:
adrp x23, _NGX_OK@GOTPAGE
Lloh4:
ldr x23, [x23, _NGX_OK@GOTPAGEOFF]
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_11
; %bb.1:
add x1, sp, #12
add x2, sp, #16
add x4, sp, #24
mov x0, x19
mov w3, #1
bl _ngx_rtmp_hls_copy
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_11
; %bb.2:
add x1, sp, #8
add x2, sp, #16
add x4, sp, #24
mov x0, x19
mov w3, #1
bl _ngx_rtmp_hls_copy
ldr x8, [x23]
cmp x0, x8
b.ne LBB0_11
; %bb.3:
ldr w8, [sp, #12]
asr w4, w8, #3
str w4, [x21]
cmp w8, #8
b.lo LBB0_9
; %bb.4:
cmp w4, #31
b.eq LBB0_9
; %bb.5:
cmp w8, #40
b.lt LBB0_7
; %bb.6:
mov w9, #2
str w9, [x21]
LBB0_7:
ubfiz w9, w8, #1, #3
ldr w8, [sp, #8]
bfxil w9, w8, #7, #1
str w9, [x20]
cmp w9, #15
b.ne LBB0_13
; %bb.8:
Lloh5:
adrp x8, _NGX_LOG_DEBUG_RTMP@GOTPAGE
Lloh6:
ldr x8, [x8, _NGX_LOG_DEBUG_RTMP@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr x8, [x19]
ldr w1, [x8]
Lloh8:
adrp x3, l_.str.1@PAGE
Lloh9:
add x3, x3, l_.str.1@PAGEOFF
mov w2, #0
mov w4, #15
b LBB0_10
LBB0_9:
Lloh10:
adrp x8, _NGX_LOG_DEBUG_RTMP@GOTPAGE
Lloh11:
ldr x8, [x8, _NGX_LOG_DEBUG_RTMP@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
ldr x8, [x19]
ldr w1, [x8]
Lloh13:
adrp x3, l_.str@PAGE
Lloh14:
add x3, x3, l_.str@PAGEOFF
mov w2, #0
LBB0_10:
bl _ngx_log_debug1
LBB0_11:
Lloh15:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh16:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
LBB0_12:
ldr x0, [x8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_13:
ubfx w6, w8, #3, #4
Lloh17:
adrp x8, _NGX_LOG_DEBUG_RTMP@GOTPAGE
Lloh18:
ldr x8, [x8, _NGX_LOG_DEBUG_RTMP@GOTPAGEOFF]
str w6, [x22]
Lloh19:
ldr w0, [x8]
ldr x8, [x19]
ldr w1, [x8]
ldr w4, [x21]
ldr w5, [x20]
Lloh20:
adrp x3, l_.str.2@PAGE
Lloh21:
add x3, x3, l_.str.2@PAGEOFF
mov w2, #0
bl _ngx_log_debug3
Lloh22:
adrp x8, _NGX_OK@GOTPAGE
Lloh23:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
b LBB0_12
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _ngx_rtmp_codec_module,4,2 ; @ngx_rtmp_codec_module
.comm _NGX_OK,8,3 ; @NGX_OK
.comm _NGX_ERROR,8,3 ; @NGX_ERROR
.comm _NGX_LOG_DEBUG_RTMP,4,2 ; @NGX_LOG_DEBUG_RTMP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hls: unsupported adts object type:%ui"
l_.str.1: ; @.str.1
.asciz "hls: unsupported adts sample rate:%ui"
l_.str.2: ; @.str.2
.asciz "hls: aac object_type:%ui, sample_rate_index:%ui, channel_config:%ui"
.no_dead_strip _ngx_rtmp_hls_parse_aac_header
.subsections_via_symbols
| AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_hls_module.c_ngx_rtmp_hls_parse_aac_header.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function enh_desc_set_tx_ic
_enh_desc_set_tx_ic: ## @enh_desc_set_tx_ic
.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 _ETDES0_INTERRUPT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le32
orl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ETDES0_INTERRUPT,4,2 ## @ETDES0_INTERRUPT
.no_dead_strip _enh_desc_set_tx_ic
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function enh_desc_set_tx_ic
_enh_desc_set_tx_ic: ; @enh_desc_set_tx_ic
.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, _ETDES0_INTERRUPT@GOTPAGE
Lloh1:
ldr x8, [x8, _ETDES0_INTERRUPT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _cpu_to_le32
ldr w8, [x19]
orr w8, w8, w0
str w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ETDES0_INTERRUPT,4,2 ; @ETDES0_INTERRUPT
.no_dead_strip _enh_desc_set_tx_ic
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_enh_desc.c_enh_desc_set_tx_ic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function s3c24xx_serial_resetport
_s3c24xx_serial_resetport: ## @s3c24xx_serial_resetport
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _s3c24xx_port_to_info
movq %rax, %r15
movq _S3C2410_UCON@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %rbx, %rdi
callq _rd_regl
movq 8(%r15), %rdx
movq _PORT_S3C2440@GOTPCREL(%rip), %rsi
xorl %ecx, %ecx
cmpq (%rsi), %rdx
jne LBB0_2
## %bb.1:
movq _S3C2440_UCON0_DIVMASK@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_2:
orl (%r15), %ecx
andl %ecx, %eax
movl (%r12), %esi
orq (%r14), %rax
movq %rbx, %rdi
movq %rax, %rdx
callq _wr_regl
movq _S3C2410_UFCON@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _S3C2410_UFCON_RESETBOTH@GOTPCREL(%rip), %rax
movq (%rax), %rdx
orq 8(%r14), %rdx
movq %rbx, %rdi
callq _wr_regl
movl (%r15), %esi
movq 8(%r14), %rdx
movq %rbx, %rdi
callq _wr_regl
movl $1, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _udelay ## TAILCALL
.cfi_endproc
## -- End function
.comm _S3C2410_UCON,4,2 ## @S3C2410_UCON
.comm _PORT_S3C2440,8,3 ## @PORT_S3C2440
.comm _S3C2440_UCON0_DIVMASK,4,2 ## @S3C2440_UCON0_DIVMASK
.comm _S3C2410_UFCON,4,2 ## @S3C2410_UFCON
.comm _S3C2410_UFCON_RESETBOTH,8,3 ## @S3C2410_UFCON_RESETBOTH
.no_dead_strip _s3c24xx_serial_resetport
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function s3c24xx_serial_resetport
_s3c24xx_serial_resetport: ; @s3c24xx_serial_resetport
.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
bl _s3c24xx_port_to_info
mov x21, x0
Lloh0:
adrp x22, _S3C2410_UCON@GOTPAGE
Lloh1:
ldr x22, [x22, _S3C2410_UCON@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x20
bl _rd_regl
ldr w8, [x21]
Lloh2:
adrp x9, _PORT_S3C2440@GOTPAGE
Lloh3:
ldr x9, [x9, _PORT_S3C2440@GOTPAGEOFF]
ldr x10, [x21, #8]
Lloh4:
ldr x9, [x9]
Lloh5:
adrp x11, _S3C2440_UCON0_DIVMASK@GOTPAGE
Lloh6:
ldr x11, [x11, _S3C2440_UCON0_DIVMASK@GOTPAGEOFF]
Lloh7:
ldr w11, [x11]
cmp x10, x9
csel w9, w11, wzr, eq
orr w8, w9, w8
and x8, x0, x8
ldr w1, [x22]
ldr x9, [x19]
orr x2, x8, x9
mov x0, x20
bl _wr_regl
Lloh8:
adrp x21, _S3C2410_UFCON@GOTPAGE
Lloh9:
ldr x21, [x21, _S3C2410_UFCON@GOTPAGEOFF]
ldr w1, [x21]
ldr x8, [x19, #8]
Lloh10:
adrp x9, _S3C2410_UFCON_RESETBOTH@GOTPAGE
Lloh11:
ldr x9, [x9, _S3C2410_UFCON_RESETBOTH@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
orr x2, x9, x8
mov x0, x20
bl _wr_regl
ldr w1, [x21]
ldr x2, [x19, #8]
mov x0, x20
bl _wr_regl
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _udelay
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _S3C2410_UCON,4,2 ; @S3C2410_UCON
.comm _PORT_S3C2440,8,3 ; @PORT_S3C2440
.comm _S3C2440_UCON0_DIVMASK,4,2 ; @S3C2440_UCON0_DIVMASK
.comm _S3C2410_UFCON,4,2 ; @S3C2410_UFCON
.comm _S3C2410_UFCON_RESETBOTH,8,3 ; @S3C2410_UFCON_RESETBOTH
.no_dead_strip _s3c24xx_serial_resetport
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/serial/extr_samsung.c_s3c24xx_serial_resetport.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function warn
_warn: ## @warn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
popq %rbp
jmp _fprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Warning: At least one column was truncated\n"
.no_dead_strip _warn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function warn
_warn: ; @warn
.cfi_startproc
; %bb.0:
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
b _fprintf
.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 "Warning: At least one column was truncated\n"
.no_dead_strip _warn
.subsections_via_symbols
| AnghaBench/postgres/src/interfaces/ecpg/test/expected/extr_compat_oracle-char_array.c_warn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tegra210_hsic_port_map
_tegra210_hsic_port_map: ## @tegra210_hsic_port_map
.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), %edx
movl 4(%rdi), %edi
leaq L_.str(%rip), %rsi
popq %rbp
jmp _tegra_xusb_find_lane ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hsic"
.no_dead_strip _tegra210_hsic_port_map
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tegra210_hsic_port_map
_tegra210_hsic_port_map: ; @tegra210_hsic_port_map
.cfi_startproc
; %bb.0:
ldp w2, w8, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x8
b _tegra_xusb_find_lane
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hsic"
.no_dead_strip _tegra210_hsic_port_map
.subsections_via_symbols
| AnghaBench/linux/drivers/phy/tegra/extr_xusb-tegra210.c_tegra210_hsic_port_map.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function unit_stop
_unit_stop: ## @unit_stop
.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 _data_node@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
testq %rax, %rax
je LBB0_2
## %bb.1:
movl (%rax), %edi
callq _Curl_freeaddrinfo
movq (%rbx), %rdi
callq _free
LBB0_2:
movq _data_key@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq _hp@GOTPCREL(%rip), %rdi
callq _Curl_hash_destroy
movq _data@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _curl_easy_cleanup
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _curl_global_cleanup ## TAILCALL
.cfi_endproc
## -- End function
.comm _data_node,8,3 ## @data_node
.comm _data_key,8,3 ## @data_key
.comm _hp,4,2 ## @hp
.comm _data,4,2 ## @data
.no_dead_strip _unit_stop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function unit_stop
_unit_stop: ; @unit_stop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _data_node@GOTPAGE
Lloh1:
ldr x19, [x19, _data_node@GOTPAGEOFF]
ldr x8, [x19]
cbz x8, LBB0_2
; %bb.1:
ldr w0, [x8]
bl _Curl_freeaddrinfo
ldr x0, [x19]
bl _free
LBB0_2:
Lloh2:
adrp x8, _data_key@GOTPAGE
Lloh3:
ldr x8, [x8, _data_key@GOTPAGEOFF]
Lloh4:
ldr x0, [x8]
bl _free
Lloh5:
adrp x0, _hp@GOTPAGE
Lloh6:
ldr x0, [x0, _hp@GOTPAGEOFF]
bl _Curl_hash_destroy
Lloh7:
adrp x8, _data@GOTPAGE
Lloh8:
ldr x8, [x8, _data@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
bl _curl_easy_cleanup
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _curl_global_cleanup
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _data_node,8,3 ; @data_node
.comm _data_key,8,3 ; @data_key
.comm _hp,4,2 ; @hp
.comm _data,4,2 ; @data
.no_dead_strip _unit_stop
.subsections_via_symbols
| AnghaBench/curl/tests/unit/extr_unit1305.c_unit_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _one_qsfp_read ## -- Begin function one_qsfp_read
.p2align 4, 0x90
_one_qsfp_read: ## @one_qsfp_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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, -44(%rbp) ## 4-byte Spill
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %edx, %r13d
movl %esi, %r14d
movq %rdi, %r15
movq (%rdi), %rbx
movq %rbx, %rdi
callq _qsfp_resource
movl %eax, %r12d
movq _QSFP_WAIT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r12d, %esi
callq _acquire_chip_resource
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
movq -56(%rbp), %rcx ## 8-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
callq _qsfp_read
movl %eax, %r14d
movq %rbx, %rdi
movl %r12d, %esi
callq _release_chip_resource
movl %r14d, %eax
LBB0_2:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _QSFP_WAIT,4,2 ## @QSFP_WAIT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _one_qsfp_read ; -- Begin function one_qsfp_read
.p2align 2
_one_qsfp_read: ; @one_qsfp_read
.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, x4
mov x21, x3
mov x23, x2
mov x24, x1
mov x25, x0
ldr x19, [x0]
mov x0, x19
bl _qsfp_resource
mov x22, x0
Lloh0:
adrp x8, _QSFP_WAIT@GOTPAGE
Lloh1:
ldr x8, [x8, _QSFP_WAIT@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x19
mov x1, x22
bl _acquire_chip_resource
cbnz w0, LBB0_2
; %bb.1:
mov x0, x25
mov x1, x24
mov x2, x23
mov x3, x21
mov x4, x20
bl _qsfp_read
mov x20, x0
mov x0, x19
mov x1, x22
bl _release_chip_resource
mov x0, x20
LBB0_2:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _QSFP_WAIT,4,2 ; @QSFP_WAIT
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_qsfp.c_one_qsfp_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function max8660_pdata_from_dt
_max8660_pdata_from_dt: ## @max8660_pdata_from_dt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _max8660_pdata_from_dt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function max8660_pdata_from_dt
_max8660_pdata_from_dt: ; @max8660_pdata_from_dt
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _max8660_pdata_from_dt
.subsections_via_symbols
| AnghaBench/linux/drivers/regulator/extr_max8660.c_max8660_pdata_from_dt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___clzsi2 ## -- Begin function __clzsi2
.p2align 4, 0x90
___clzsi2: ## @__clzsi2
.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, %ecx
shrl $16, %ecx
xorl %eax, %eax
cmpl $65536, %edi ## imm = 0x10000
setb %al
cmovbl %edi, %ecx
shll $4, %eax
leal 15(%rax), %edx
orl $7, %eax
movl %ecx, %esi
shrl $8, %esi
testl $65280, %ecx ## imm = 0xFF00
cmovel %ecx, %esi
cmovel %edx, %eax
leal -4(%rax), %ecx
movl %esi, %edx
shrl $4, %edx
testb $-16, %sil
cmovel %esi, %edx
cmovel %eax, %ecx
leal -2(%rcx), %esi
movl %edx, %eax
shrl $2, %eax
testb $12, %dl
cmovel %edx, %eax
cmovel %ecx, %esi
shll $30, %eax
sarl $31, %eax
addl %esi, %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 ___clzsi2 ; -- Begin function __clzsi2
.p2align 2
___clzsi2: ; @__clzsi2
.cfi_startproc
; %bb.0:
lsr w8, w0, #16
cmp w0, #16, lsl #12 ; =65536
csel w8, w0, w8, lo
mov w9, #15
mov w10, #31
csel w9, w10, w9, lo
sub w10, w9, #8
lsr w11, w8, #8
tst w8, #0xff00
csel w8, w8, w11, eq
csel w9, w9, w10, eq
sub w10, w9, #4
lsr w11, w8, #4
tst w8, #0xf0
csel w8, w8, w11, eq
csel w9, w9, w10, eq
sub w10, w9, #2
lsr w11, w8, #2
tst w8, #0xc
csel w8, w8, w11, eq
csel w9, w9, w10, eq
lsl w8, w8, #30
add w0, w9, w8, asr #31
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/2692.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function igb_tx_olinfo_status
_igb_tx_olinfo_status: ## @igb_tx_olinfo_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq _E1000_ADVTXD_PAYLEN_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
shll %cl, %ebx
movq %rdx, %r15
movl %edi, %r14d
movq _IGB_RING_FLAG_TX_CTX_IDX@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 4(%rdx), %rsi
callq _test_bit
testq %rax, %rax
je LBB0_2
## %bb.1:
movl (%r15), %eax
shll $4, %eax
orl %eax, %ebx
LBB0_2:
movq _IGB_TX_FLAGS_CSUM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _E1000_TXD_POPTS_TXSM@GOTPCREL(%rip), %rax
movl (%rax), %edx
shll $8, %edx
movl %r14d, %edi
callq _IGB_SET_FLAG
movl %eax, %r15d
movq _IGB_TX_FLAGS_IPV4@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _E1000_TXD_POPTS_IXSM@GOTPCREL(%rip), %rax
movl (%rax), %edx
shll $8, %edx
movl %r14d, %edi
callq _IGB_SET_FLAG
orl %eax, %ebx
orl %r15d, %ebx
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _cpu_to_le32 ## TAILCALL
.cfi_endproc
## -- End function
.comm _E1000_ADVTXD_PAYLEN_SHIFT,4,2 ## @E1000_ADVTXD_PAYLEN_SHIFT
.comm _IGB_RING_FLAG_TX_CTX_IDX,4,2 ## @IGB_RING_FLAG_TX_CTX_IDX
.comm _IGB_TX_FLAGS_CSUM,4,2 ## @IGB_TX_FLAGS_CSUM
.comm _E1000_TXD_POPTS_TXSM,4,2 ## @E1000_TXD_POPTS_TXSM
.comm _IGB_TX_FLAGS_IPV4,4,2 ## @IGB_TX_FLAGS_IPV4
.comm _E1000_TXD_POPTS_IXSM,4,2 ## @E1000_TXD_POPTS_IXSM
.no_dead_strip _igb_tx_olinfo_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function igb_tx_olinfo_status
_igb_tx_olinfo_status: ; @igb_tx_olinfo_status
.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 x19, x0
Lloh0:
adrp x8, _E1000_ADVTXD_PAYLEN_SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _E1000_ADVTXD_PAYLEN_SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w21, w1, w8
Lloh3:
adrp x8, _IGB_RING_FLAG_TX_CTX_IDX@GOTPAGE
Lloh4:
ldr x8, [x8, _IGB_RING_FLAG_TX_CTX_IDX@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
add x1, x2, #4
bl _test_bit
cbz x0, LBB0_2
; %bb.1:
ldr w8, [x20]
orr w21, w21, w8, lsl #4
LBB0_2:
Lloh6:
adrp x8, _IGB_TX_FLAGS_CSUM@GOTPAGE
Lloh7:
ldr x8, [x8, _IGB_TX_FLAGS_CSUM@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x8, _E1000_TXD_POPTS_TXSM@GOTPAGE
Lloh10:
ldr x8, [x8, _E1000_TXD_POPTS_TXSM@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
lsl w2, w8, #8
mov x0, x19
bl _IGB_SET_FLAG
Lloh12:
adrp x8, _IGB_TX_FLAGS_IPV4@GOTPAGE
Lloh13:
ldr x8, [x8, _IGB_TX_FLAGS_IPV4@GOTPAGEOFF]
orr w20, w0, w21
Lloh14:
ldr w1, [x8]
Lloh15:
adrp x8, _E1000_TXD_POPTS_IXSM@GOTPAGE
Lloh16:
ldr x8, [x8, _E1000_TXD_POPTS_IXSM@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
lsl w2, w8, #8
mov x0, x19
bl _IGB_SET_FLAG
orr w0, w20, w0
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 _cpu_to_le32
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _E1000_ADVTXD_PAYLEN_SHIFT,4,2 ; @E1000_ADVTXD_PAYLEN_SHIFT
.comm _IGB_RING_FLAG_TX_CTX_IDX,4,2 ; @IGB_RING_FLAG_TX_CTX_IDX
.comm _IGB_TX_FLAGS_CSUM,4,2 ; @IGB_TX_FLAGS_CSUM
.comm _E1000_TXD_POPTS_TXSM,4,2 ; @E1000_TXD_POPTS_TXSM
.comm _IGB_TX_FLAGS_IPV4,4,2 ; @IGB_TX_FLAGS_IPV4
.comm _E1000_TXD_POPTS_IXSM,4,2 ; @E1000_TXD_POPTS_IXSM
.no_dead_strip _igb_tx_olinfo_status
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_tx_olinfo_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function InstallerImpl_InstallProduct
_InstallerImpl_InstallProduct: ## @InstallerImpl_InstallProduct
.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 _DISPATCH_METHOD@GOTPCREL(%rip), %rax
testl %edi, (%rax)
je LBB0_1
## %bb.2:
movq %r8, %r14
movq %rsi, %r15
leaq -40(%rbp), %rbx
movq %rbx, %rdi
callq _VariantInit
movq _VT_BSTR@GOTPCREL(%rip), %r12
movl (%r12), %edx
movq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq _DispGetParam
movl %eax, %ebx
movl %eax, %edi
callq _FAILED
testq %rax, %rax
jne LBB0_7
## %bb.3:
leaq -36(%rbp), %rbx
movq %rbx, %rdi
callq _VariantInit
movl (%r12), %edx
movq %r15, %rdi
movl $1, %esi
movq %rbx, %rcx
movq %r14, %r8
callq _DispGetParam
movl %eax, %ebx
movl %eax, %edi
callq _FAILED
testq %rax, %rax
jne LBB0_6
## %bb.4:
leaq -40(%rbp), %rdi
callq _V_BSTR
movl %eax, %r14d
leaq -36(%rbp), %rdi
callq _V_BSTR
movl %r14d, %edi
movl %eax, %esi
callq _MsiInstallProductW
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.5:
movq _DISP_E_EXCEPTION@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_6:
leaq -40(%rbp), %rdi
callq _VariantClear
leaq -36(%rbp), %rdi
callq _VariantClear
jmp LBB0_7
LBB0_1:
movq _DISP_E_MEMBERNOTFOUND@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_7:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DISPATCH_METHOD,4,2 ## @DISPATCH_METHOD
.comm _DISP_E_MEMBERNOTFOUND,4,2 ## @DISP_E_MEMBERNOTFOUND
.comm _VT_BSTR,4,2 ## @VT_BSTR
.comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS
.comm _DISP_E_EXCEPTION,4,2 ## @DISP_E_EXCEPTION
.no_dead_strip _InstallerImpl_InstallProduct
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function InstallerImpl_InstallProduct
_InstallerImpl_InstallProduct: ; @InstallerImpl_InstallProduct
.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
Lloh0:
adrp x8, _DISPATCH_METHOD@GOTPAGE
Lloh1:
ldr x8, [x8, _DISPATCH_METHOD@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_5
; %bb.1:
mov x20, x4
mov x21, x1
add x0, sp, #12
bl _VariantInit
Lloh3:
adrp x22, _VT_BSTR@GOTPAGE
Lloh4:
ldr x22, [x22, _VT_BSTR@GOTPAGEOFF]
ldr w2, [x22]
add x3, sp, #12
mov x0, x21
mov w1, #0
mov x4, x20
bl _DispGetParam
mov x19, x0
bl _FAILED
cbnz x0, LBB0_6
; %bb.2:
add x0, sp, #8
bl _VariantInit
ldr w2, [x22]
add x3, sp, #8
mov x0, x21
mov w1, #1
mov x4, x20
bl _DispGetParam
mov x19, x0
bl _FAILED
cbnz x0, LBB0_4
; %bb.3:
add x0, sp, #12
bl _V_BSTR
mov x20, x0
add x0, sp, #8
bl _V_BSTR
mov x1, x0
mov x0, x20
bl _MsiInstallProductW
Lloh5:
adrp x8, _ERROR_SUCCESS@GOTPAGE
Lloh6:
ldr x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
Lloh8:
adrp x9, _DISP_E_EXCEPTION@GOTPAGE
Lloh9:
ldr x9, [x9, _DISP_E_EXCEPTION@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
cmp x0, x8
csel w19, w19, w9, eq
LBB0_4:
add x0, sp, #12
bl _VariantClear
add x0, sp, #8
bl _VariantClear
b LBB0_6
LBB0_5:
Lloh11:
adrp x8, _DISP_E_MEMBERNOTFOUND@GOTPAGE
Lloh12:
ldr x8, [x8, _DISP_E_MEMBERNOTFOUND@GOTPAGEOFF]
Lloh13:
ldr w19, [x8]
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
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _DISPATCH_METHOD,4,2 ; @DISPATCH_METHOD
.comm _DISP_E_MEMBERNOTFOUND,4,2 ; @DISP_E_MEMBERNOTFOUND
.comm _VT_BSTR,4,2 ; @VT_BSTR
.comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS
.comm _DISP_E_EXCEPTION,4,2 ; @DISP_E_EXCEPTION
.no_dead_strip _InstallerImpl_InstallProduct
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/msi/extr_automation.c_InstallerImpl_InstallProduct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _c,80000000,4 ## @c
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.comm _c,80000000,3 ; @c
.subsections_via_symbols
| the_stack_data/14200683.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getround ## -- Begin function getround
.p2align 4, 0x90
_getround: ## @getround
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %r14d
leaq 1(%rsi), %rdi
callq _atoi
movl %eax, %ebx
cmpl $3, %eax
ja LBB0_4
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl %r14d, %ebx
jne LBB0_3
## %bb.2:
movl %r14d, %eax
leaq _dir(%rip), %rcx
movq (%rcx,%rax,8), %rdx
leaq L_.str.1(%rip), %rdi
movl %r14d, %esi
jmp LBB0_5
LBB0_4:
leaq L_.str.3(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rbx
leaq L_.str.6(%rip), %rdx
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.7(%rip), %rdx
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.8(%rip), %rdx
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.9(%rip), %rdx
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movslq %r14d, %rsi
leaq _dir(%rip), %rax
movq (%rax,%rsi,8), %rdx
leaq L_.str.5(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
LBB0_5:
xorl %eax, %eax
callq _printf
jmp LBB0_6
LBB0_3:
movslq %r14d, %rax
leaq _dir(%rip), %rcx
movq (%rcx,%rax,8), %rdx
movl %ebx, %eax
movq (%rcx,%rax,8), %r8
leaq L_.str.2(%rip), %rdi
movl %r14d, %esi
movl %ebx, %ecx
xorl %eax, %eax
callq _printf
movl %ebx, %r14d
LBB0_6:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Rounding mode for strtor... "
L_.str.1: ## @.str.1
.asciz "was and is %d (%s)\n"
.section __DATA,__const
.p2align 4 ## @dir
_dir:
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.quad L_.str.9
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "changed from %d (%s) to %d (%s)\n"
L_.str.3: ## @.str.3
.asciz "Bad rounding direction %d: choose among\n"
L_.str.4: ## @.str.4
.asciz "\t%d (%s)\n"
L_.str.5: ## @.str.5
.asciz "Leaving rounding mode for strtor... at %d (%s)\n"
L_.str.6: ## @.str.6
.asciz "toward zero"
L_.str.7: ## @.str.7
.asciz "nearest"
L_.str.8: ## @.str.8
.asciz "toward +Infinity"
L_.str.9: ## @.str.9
.asciz "toward -Infinity"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getround ; -- Begin function getround
.p2align 2
_getround: ; @getround
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, x1, #1
bl _atoi
mov x20, x0
cmp w0, #3
b.hi LBB0_3
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x8, _dir@PAGE
Lloh3:
add x8, x8, _dir@PAGEOFF
cmp w20, w19
b.ne LBB0_5
; %bb.2:
ldr x8, [x8, w19, uxtw #3]
stp x19, x8, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_4
LBB0_3:
; kill: def $w20 killed $w20 killed $x20 def $x20
str x20, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
Lloh8:
adrp x8, l_.str.6@PAGE
Lloh9:
add x8, x8, l_.str.6@PAGEOFF
stp xzr, x8, [sp]
Lloh10:
adrp x20, l_.str.4@PAGE
Lloh11:
add x20, x20, l_.str.4@PAGEOFF
mov x0, x20
bl _printf
Lloh12:
adrp x8, l_.str.7@PAGE
Lloh13:
add x8, x8, l_.str.7@PAGEOFF
mov w9, #1
stp x9, x8, [sp]
mov x0, x20
bl _printf
Lloh14:
adrp x8, l_.str.8@PAGE
Lloh15:
add x8, x8, l_.str.8@PAGEOFF
mov w9, #2
stp x9, x8, [sp]
mov x0, x20
bl _printf
Lloh16:
adrp x8, l_.str.9@PAGE
Lloh17:
add x8, x8, l_.str.9@PAGEOFF
mov w9, #3
stp x9, x8, [sp]
mov x0, x20
bl _printf
Lloh18:
adrp x8, _dir@PAGE
Lloh19:
add x8, x8, _dir@PAGEOFF
ldr x8, [x8, w19, sxtw #3]
mov x9, x19
stp x9, x8, [sp]
Lloh20:
adrp x0, l_.str.5@PAGE
Lloh21:
add x0, x0, l_.str.5@PAGEOFF
LBB0_4:
bl _printf
b LBB0_6
LBB0_5:
ldr x9, [x8, w19, sxtw #3]
ldr x8, [x8, w20, uxtw #3]
stp x20, x8, [sp, #16]
; kill: def $w19 killed $w19 killed $x19 def $x19
stp x19, x9, [sp]
Lloh22:
adrp x0, l_.str.2@PAGE
Lloh23:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x19, x20
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Rounding mode for strtor... "
l_.str.1: ; @.str.1
.asciz "was and is %d (%s)\n"
.section __DATA,__const
.p2align 3 ; @dir
_dir:
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.quad l_.str.9
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "changed from %d (%s) to %d (%s)\n"
l_.str.3: ; @.str.3
.asciz "Bad rounding direction %d: choose among\n"
l_.str.4: ; @.str.4
.asciz "\t%d (%s)\n"
l_.str.5: ; @.str.5
.asciz "Leaving rounding mode for strtor... at %d (%s)\n"
l_.str.6: ; @.str.6
.asciz "toward zero"
l_.str.7: ; @.str.7
.asciz "nearest"
l_.str.8: ; @.str.8
.asciz "toward +Infinity"
l_.str.9: ; @.str.9
.asciz "toward -Infinity"
.subsections_via_symbols
| the_stack_data/20100.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function netdev_get_msglevel
_netdev_get_msglevel: ## @netdev_get_msglevel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _netdev_priv
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _netdev_get_msglevel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function netdev_get_msglevel
_netdev_get_msglevel: ; @netdev_get_msglevel
.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 _netdev_priv
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _netdev_get_msglevel
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_netdev_get_msglevel.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function maple_response_devinfo
_maple_response_devinfo: ## @maple_response_devinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _started@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_3
## %bb.1:
movq _scanning@GOTPCREL(%rip), %rax
cmpl $2, (%rax)
je LBB0_3
## %bb.2:
movq _fullscan@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_9
LBB0_3:
cmpq $0, (%rbx)
je LBB0_4
## %bb.6:
movq %rbx, %rdi
callq _maple_attach_driver
cmpq $0, (%rbx)
je LBB0_7
LBB0_9:
cmpq $0, (%rbx)
jne LBB0_12
jmp LBB0_10
LBB0_4:
movq _checked@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 8(%rbx), %rcx
cmpl $0, (%rax,%rcx,4)
je LBB0_5
LBB0_7:
movq _empty@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 8(%rbx), %rcx
movl $0, (%rax,%rcx,4)
jmp LBB0_8
LBB0_5:
movl $1, (%rax,%rcx,4)
LBB0_8:
movq %rbx, %rdi
callq _maple_attach_driver
cmpq $0, (%rbx)
jne LBB0_12
LBB0_10:
movzbl 2(%r14), %eax
andl $31, %eax
movq _subdevice_map@GOTPCREL(%rip), %r15
movq (%r15), %rcx
movq 8(%rbx), %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
je LBB0_12
## %bb.11:
movzbl %al, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq _maple_map_subunits
movq (%r15), %rax
movq 8(%rbx), %rcx
movb %r14b, (%rax,%rcx)
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _started,4,2 ## @started
.comm _scanning,4,2 ## @scanning
.comm _fullscan,4,2 ## @fullscan
.comm _checked,8,3 ## @checked
.comm _empty,8,3 ## @empty
.comm _subdevice_map,8,3 ## @subdevice_map
.no_dead_strip _maple_response_devinfo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function maple_response_devinfo
_maple_response_devinfo: ; @maple_response_devinfo
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _started@GOTPAGE
Lloh1:
ldr x8, [x8, _started@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _scanning@GOTPAGE
Lloh4:
ldr x9, [x9, _scanning@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _fullscan@GOTPAGE
Lloh7:
ldr x10, [x10, _fullscan@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
cmp w8, #0
ccmp w9, #2, #4, ne
ccmp w10, #0, #4, ne
b.ne LBB0_3
; %bb.1:
ldr x8, [x19]
cbz x8, LBB0_4
; %bb.2:
mov x0, x19
bl _maple_attach_driver
ldr x8, [x19]
cbz x8, LBB0_5
LBB0_3:
ldr x8, [x19]
cbnz x8, LBB0_10
b LBB0_8
LBB0_4:
Lloh9:
adrp x8, _checked@GOTPAGE
Lloh10:
ldr x8, [x8, _checked@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
ldr x9, [x19, #8]
ldr w10, [x8, x9, lsl #2]
cbz w10, LBB0_6
LBB0_5:
Lloh12:
adrp x8, _empty@GOTPAGE
Lloh13:
ldr x8, [x8, _empty@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
ldr x9, [x19, #8]
str wzr, [x8, x9, lsl #2]
b LBB0_7
LBB0_6:
mov w10, #1
str w10, [x8, x9, lsl #2]
LBB0_7:
mov x0, x19
bl _maple_attach_driver
ldr x8, [x19]
cbnz x8, LBB0_10
LBB0_8:
ldrb w8, [x20, #2]
Lloh15:
adrp x21, _subdevice_map@GOTPAGE
Lloh16:
ldr x21, [x21, _subdevice_map@GOTPAGEOFF]
and w20, w8, #0x1f
ldr x8, [x21]
ldr x9, [x19, #8]
ldrsb w8, [x8, x9]
cmp w20, w8
b.eq LBB0_10
; %bb.9:
mov x0, x19
mov x1, x20
bl _maple_map_subunits
ldr x8, [x21]
ldr x9, [x19, #8]
strb w20, [x8, x9]
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _started,4,2 ; @started
.comm _scanning,4,2 ; @scanning
.comm _fullscan,4,2 ; @fullscan
.comm _checked,8,3 ; @checked
.comm _empty,8,3 ; @empty
.comm _subdevice_map,8,3 ; @subdevice_map
.no_dead_strip _maple_response_devinfo
.subsections_via_symbols
| AnghaBench/linux/drivers/sh/maple/extr_maple.c_maple_response_devinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vout_ChangeViewpoint ## -- Begin function vout_ChangeViewpoint
.p2align 4, 0x90
_vout_ChangeViewpoint: ## @vout_ChangeViewpoint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq (%rdi), %r15
xorl %edi, %edi
cmpl $0, 12(%r15)
sete %dil
callq _assert
leaq 4(%r15), %rbx
movq %rbx, %rdi
callq _vlc_mutex_lock
movl (%r14), %eax
movl %eax, 8(%r15)
movq %rbx, %rdi
callq _vlc_mutex_unlock
movq _VOUT_CONTROL_VIEWPOINT@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -32(%rbp), %rbx
movq %rbx, %rdi
callq _vout_control_cmd_Init
movl (%r14), %eax
movl %eax, -32(%rbp)
movq %r15, %rdi
movq %rbx, %rsi
callq _vout_control_Push
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VOUT_CONTROL_VIEWPOINT,4,2 ## @VOUT_CONTROL_VIEWPOINT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vout_ChangeViewpoint ; -- Begin function vout_ChangeViewpoint
.p2align 2
_vout_ChangeViewpoint: ; @vout_ChangeViewpoint
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
ldr x20, [x0]
ldr w8, [x20, #12]
cmp w8, #0
cset w0, eq
bl _assert
add x21, x20, #4
mov x0, x21
bl _vlc_mutex_lock
ldr w8, [x19]
str w8, [x20, #8]
mov x0, x21
bl _vlc_mutex_unlock
Lloh0:
adrp x8, _VOUT_CONTROL_VIEWPOINT@GOTPAGE
Lloh1:
ldr x8, [x8, _VOUT_CONTROL_VIEWPOINT@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x0, sp, #8
bl _vout_control_cmd_Init
ldr w8, [x19]
str w8, [sp, #8]
add x1, sp, #8
mov x0, x20
bl _vout_control_Push
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VOUT_CONTROL_VIEWPOINT,4,2 ; @VOUT_CONTROL_VIEWPOINT
.subsections_via_symbols
| AnghaBench/vlc/src/video_output/extr_video_output.c_vout_ChangeViewpoint.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _auxtrace_record__options ## -- Begin function auxtrace_record__options
.p2align 4, 0x90
_auxtrace_record__options: ## @auxtrace_record__options
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _auxtrace_record__options ; -- Begin function auxtrace_record__options
.p2align 2
_auxtrace_record__options: ; @auxtrace_record__options
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
ldr x3, [x0]
br x3
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/tools/perf/util/extr_auxtrace.c_auxtrace_record__options.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_alpha_reloc_tag
_get_alpha_reloc_tag: ## @get_alpha_reloc_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 %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _ALPHA_RELOC_DIGITS@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq _sprintf
movq _alpha_literal_hash@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq %r15, %rsi
callq _hash_find
movq %rax, %rbx
testq %rax, %rax
jne LBB0_3
## %bb.1:
movq %r15, %rdi
callq _strlen
leal 16(%rax), %edi
movl $1, %esi
callq _xcalloc
movq %rax, %rbx
movq _now_seg@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rbx)
movq %r14, (%rbx)
movl 8(%rbx), %edi
movq %r15, %rsi
callq _strcpy
movl (%r12), %edi
movl 8(%rbx), %esi
movq %rbx, %rdx
callq _hash_insert
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rax, %rdi
callq _as_fatal
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_5
## %bb.4:
movq %rbx, %rax
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ALPHA_RELOC_DIGITS,4,2 ## @ALPHA_RELOC_DIGITS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "!%ld"
.comm _alpha_literal_hash,4,2 ## @alpha_literal_hash
.comm _now_seg,4,2 ## @now_seg
.no_dead_strip _get_alpha_reloc_tag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_alpha_reloc_tag
_get_alpha_reloc_tag: ; @get_alpha_reloc_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
sub sp, sp, #16
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, #-40]
Lloh3:
adrp x8, _ALPHA_RELOC_DIGITS@GOTPAGE
Lloh4:
ldr x8, [x8, _ALPHA_RELOC_DIGITS@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
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
mov x2, x19
bl _sprintf
Lloh10:
adrp x22, _alpha_literal_hash@GOTPAGE
Lloh11:
ldr x22, [x22, _alpha_literal_hash@GOTPAGEOFF]
ldr w0, [x22]
mov x1, x20
bl _hash_find
mov x21, x0
cbnz x0, LBB0_3
; %bb.1:
mov x0, x20
bl _strlen
add w0, w0, #16
mov w1, #1
bl _xcalloc
mov x21, x0
Lloh12:
adrp x8, _now_seg@GOTPAGE
Lloh13:
ldr x8, [x8, _now_seg@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [x0, #12]
str x19, [x0]
ldr w0, [x0, #8]
mov x1, x20
bl _strcpy
ldr w0, [x22]
ldr w1, [x21, #8]
mov x2, x21
bl _hash_insert
cbz x0, LBB0_3
; %bb.2:
bl _as_fatal
LBB0_3:
ldur x8, [x29, #-40]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
mov x0, x21
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_5:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _ALPHA_RELOC_DIGITS,4,2 ; @ALPHA_RELOC_DIGITS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "!%ld"
.comm _alpha_literal_hash,4,2 ; @alpha_literal_hash
.comm _now_seg,4,2 ; @now_seg
.no_dead_strip _get_alpha_reloc_tag
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-alpha.c_get_alpha_reloc_tag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function show_trigger
_show_trigger: ## @show_trigger
.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 %rdx, %rbx
movq _mce_helper@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rdx, %rdi
callq _strcpy
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strcat
movl (%r14), %edi
callq _strlen
incq %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _mce_helper,4,2 ## @mce_helper
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.no_dead_strip _show_trigger
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function show_trigger
_show_trigger: ; @show_trigger
.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 x20, _mce_helper@GOTPAGE
Lloh1:
ldr x20, [x20, _mce_helper@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x2
bl _strcpy
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _strcat
ldr w0, [x20]
bl _strlen
add x0, x0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _mce_helper,4,2 ; @mce_helper
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.no_dead_strip _show_trigger
.subsections_via_symbols
| AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_dev-mcelog.c_show_trigger.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_avg_h264_qpel8_mc11_mmi ## -- Begin function ff_avg_h264_qpel8_mc11_mmi
.p2align 4, 0x90
_ff_avg_h264_qpel8_mc11_mmi: ## @ff_avg_h264_qpel8_mc11_mmi
.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 $952, %rsp ## imm = 0x3B8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r13d
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -400(%rbp), %r12
leaq -720(%rbp), %r15
movq %r15, %rdi
movl $8, %edx
movl %r13d, %ecx
callq _put_h264_qpel8_h_lowpass_mmi
leal (%r13,%r13), %eax
cltq
shlq $2, %rax
subq %rax, %rbx
leaq -464(%rbp), %rdi
movq %rbx, %rsi
movl $8, %edx
movl %r13d, %ecx
movl $13, %r8d
callq _copy_block8_mmi
leaq -976(%rbp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl $8, %edx
movl $8, %ecx
callq _put_h264_qpel8_v_lowpass_mmi
movl $8, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl %r13d, %ecx
movl $8, %r8d
movl $8, %r9d
callq _ff_avg_pixels8_l2_8_mmi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $952, %rsp ## imm = 0x3B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ff_avg_h264_qpel8_mc11_mmi ; -- Begin function ff_avg_h264_qpel8_mc11_mmi
.p2align 2
_ff_avg_h264_qpel8_mc11_mmi: ; @ff_avg_h264_qpel8_mc11_mmi
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
sub sp, sp, #944
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
add x8, sp, #520
add x22, x8, #64
add x0, sp, #264
mov w2, #8
mov x3, x19
bl _put_h264_qpel8_h_lowpass_mmi
lsl w8, w19, #1
sub x1, x20, w8, sxtw #2
add x0, sp, #520
mov w2, #8
mov x3, x19
mov w4, #13
bl _copy_block8_mmi
add x0, sp, #8
mov x1, x22
mov w2, #8
mov w3, #8
bl _put_h264_qpel8_v_lowpass_mmi
add x1, sp, #264
add x2, sp, #8
mov x0, x21
mov x3, x19
mov w4, #8
mov w5, #8
mov w6, #8
bl _ff_avg_pixels8_l2_8_mmi
ldur x8, [x29, #-56]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
add sp, sp, #944
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel8_mc11_mmi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i2c_mux_gpio_set
_i2c_mux_gpio_set: ## @i2c_mux_gpio_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 %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movq _values@GOTPCREL(%rip), %r12
movq (%r12), %r15
movl %esi, %edi
callq _BITS_PER_TYPE
movq %r15, %rdi
movl %eax, %esi
callq _DECLARE_BITMAP
movq (%r12), %rcx
movl %ebx, (%rcx)
movl (%r14), %esi
movl 4(%r14), %edi
xorl %edx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _gpiod_set_array_value_cansleep ## TAILCALL
.cfi_endproc
## -- End function
.comm _values,8,3 ## @values
.no_dead_strip _i2c_mux_gpio_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i2c_mux_gpio_set
_i2c_mux_gpio_set: ; @i2c_mux_gpio_set
.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 x22, _values@GOTPAGE
Lloh1:
ldr x22, [x22, _values@GOTPAGEOFF]
ldr x21, [x22]
mov x0, x1
bl _BITS_PER_TYPE
mov x1, x0
mov x0, x21
bl _DECLARE_BITMAP
ldr x3, [x22]
str w19, [x3]
ldp w1, w0, [x20]
mov x2, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _gpiod_set_array_value_cansleep
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _values,8,3 ; @values
.no_dead_strip _i2c_mux_gpio_set
.subsections_via_symbols
| AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-gpio.c_i2c_mux_gpio_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getc ## -- Begin function getc
.p2align 4, 0x90
_getc: ## @getc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 8(%rdi), %eax
leal -1(%rax), %ecx
movl %ecx, 8(%rdi)
testl %eax, %eax
jle LBB0_2
## %bb.1:
movq (%rdi), %rax
leaq 1(%rax), %rcx
movq %rcx, (%rdi)
movzbl (%rax), %eax
popq %rbp
retq
LBB0_2:
popq %rbp
jmp __filbuf ## TAILCALL
.cfi_endproc
## -- End function
.globl _putc ## -- Begin function putc
.p2align 4, 0x90
_putc: ## @putc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 8(%rsi), %eax
leal -1(%rax), %ecx
movl %ecx, 8(%rsi)
testl %eax, %eax
jle LBB1_2
## %bb.1:
movq (%rsi), %rax
leaq 1(%rax), %rcx
movq %rcx, (%rsi)
movb %dil, (%rax)
movzbl %dil, %eax
popq %rbp
retq
LBB1_2:
popq %rbp
jmp __flsbuf ## TAILCALL
.cfi_endproc
## -- End function
.globl _getchar ## -- Begin function getchar
.p2align 4, 0x90
_getchar: ## @getchar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq __iob@GOTPCREL(%rip), %rax
movl 8(%rax), %ecx
leal -1(%rcx), %edx
movl %edx, 8(%rax)
testl %ecx, %ecx
jle LBB2_2
## %bb.1:
movq (%rax), %rcx
leaq 1(%rcx), %rdx
movq %rdx, (%rax)
movzbl (%rcx), %eax
popq %rbp
retq
LBB2_2:
movq __iob@GOTPCREL(%rip), %rdi
popq %rbp
jmp __filbuf ## TAILCALL
.cfi_endproc
## -- End function
.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 __iob@GOTPCREL(%rip), %rsi
movl 56(%rsi), %eax
leal -1(%rax), %ecx
movl %ecx, 56(%rsi)
testl %eax, %eax
jle LBB3_2
## %bb.1:
movq 48(%rsi), %rax
leaq 1(%rax), %rcx
movq %rcx, 48(%rsi)
movb %dil, (%rax)
movzbl %dil, %eax
popq %rbp
retq
LBB3_2:
addq $48, %rsi
popq %rbp
jmp __flsbuf ## TAILCALL
.cfi_endproc
## -- End function
.globl _fopen64 ## -- Begin function fopen64
.p2align 4, 0x90
_fopen64: ## @fopen64
.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 _fopen ## TAILCALL
.cfi_endproc
## -- End function
.globl _ftello64 ## -- Begin function ftello64
.p2align 4, 0x90
_ftello64: ## @ftello64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq -8(%rbp), %rsi
callq _fgetpos
xorl %ecx, %ecx
negl %eax
sbbq %rcx, %rcx
orq -8(%rbp), %rcx
movq %rcx, %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _duc ## -- Begin function duc
.p2align 4, 0x90
_duc: ## @duc
.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 %rcx, %r14
movq %rdx, %r15
movl %esi, %ebx
movl %edi, %esi
leaq -40(%rbp), %rdi
callq _srrc
movl -40(%rbp), %esi
leaq -36(%rbp), %rdi
callq _imf1
movl -36(%rbp), %esi
leaq -32(%rbp), %rdi
callq _imf2
movl -32(%rbp), %esi
leaq -28(%rbp), %rdi
callq _imf3
movl -28(%rbp), %esi
movl %ebx, %edi
movq %r15, %rdx
movq %r14, %rcx
callq _mixer
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getc ; -- Begin function getc
.p2align 2
_getc: ; @getc
.cfi_startproc
; %bb.0:
ldr w8, [x0, #8]
subs w8, w8, #1
str w8, [x0, #8]
b.lt LBB0_2
; %bb.1:
ldr x8, [x0]
add x9, x8, #1
str x9, [x0]
ldrb w0, [x8]
ret
LBB0_2:
b __filbuf
.cfi_endproc
; -- End function
.globl _putc ; -- Begin function putc
.p2align 2
_putc: ; @putc
.cfi_startproc
; %bb.0:
ldr w8, [x1, #8]
subs w8, w8, #1
str w8, [x1, #8]
b.lt LBB1_2
; %bb.1:
ldr x8, [x1]
add x9, x8, #1
str x9, [x1]
strb w0, [x8]
and w0, w0, #0xff
ret
LBB1_2:
b __flsbuf
.cfi_endproc
; -- End function
.globl _getchar ; -- Begin function getchar
.p2align 2
_getchar: ; @getchar
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, __iob@GOTPAGE
Lloh1:
ldr x8, [x8, __iob@GOTPAGEOFF]
ldr w9, [x8, #8]
subs w9, w9, #1
str w9, [x8, #8]
b.lt LBB2_2
; %bb.1:
ldr x9, [x8]
add x10, x9, #1
str x10, [x8]
ldrb w0, [x9]
ret
LBB2_2:
Lloh2:
adrp x0, __iob@GOTPAGE
Lloh3:
ldr x0, [x0, __iob@GOTPAGEOFF]
b __filbuf
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _putchar ; -- Begin function putchar
.p2align 2
_putchar: ; @putchar
.cfi_startproc
; %bb.0:
Lloh4:
adrp x8, __iob@GOTPAGE
Lloh5:
ldr x8, [x8, __iob@GOTPAGEOFF]
ldr w9, [x8, #56]
subs w9, w9, #1
str w9, [x8, #56]
b.lt LBB3_2
; %bb.1:
ldr x9, [x8, #48]
add x10, x9, #1
str x10, [x8, #48]
strb w0, [x9]
and w0, w0, #0xff
ret
LBB3_2:
add x1, x8, #48
b __flsbuf
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _fopen64 ; -- Begin function fopen64
.p2align 2
_fopen64: ; @fopen64
.cfi_startproc
; %bb.0:
b _fopen
.cfi_endproc
; -- End function
.globl _ftello64 ; -- Begin function ftello64
.p2align 2
_ftello64: ; @ftello64
.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
add x1, sp, #8
bl _fgetpos
ldr x8, [sp, #8]
cmp w0, #0
csinv x0, x8, xzr, eq
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _duc ; -- Begin function duc
.p2align 2
_duc: ; @duc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
mov x1, x0
add x0, sp, #12
bl _srrc
ldr w1, [sp, #12]
add x0, sp, #8
bl _imf1
ldr w1, [sp, #8]
add x0, sp, #4
bl _imf2
ldr w1, [sp, #4]
mov x0, sp
bl _imf3
ldr w1, [sp]
mov x0, x21
mov x2, x20
mov x3, x19
bl _mixer
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
.subsections_via_symbols
| the_stack_data/94238.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ar9003_hw_attach_mac_ops ## -- Begin function ar9003_hw_attach_mac_ops
.p2align 4, 0x90
_ar9003_hw_attach_mac_ops: ## @ar9003_hw_attach_mac_ops
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _ath9k_hw_ops
movq _ar9003_hw_rx_enable@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 16(%rax)
movq _ar9003_hw_set_desc_link@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 12(%rax)
movq _ar9003_hw_get_isr@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rax)
movq _ar9003_set_txdesc@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rax)
movq _ar9003_hw_proc_txdesc@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ar9003_hw_rx_enable,4,2 ## @ar9003_hw_rx_enable
.comm _ar9003_hw_set_desc_link,4,2 ## @ar9003_hw_set_desc_link
.comm _ar9003_hw_get_isr,4,2 ## @ar9003_hw_get_isr
.comm _ar9003_set_txdesc,4,2 ## @ar9003_set_txdesc
.comm _ar9003_hw_proc_txdesc,4,2 ## @ar9003_hw_proc_txdesc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ar9003_hw_attach_mac_ops ; -- Begin function ar9003_hw_attach_mac_ops
.p2align 2
_ar9003_hw_attach_mac_ops: ; @ar9003_hw_attach_mac_ops
.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 _ath9k_hw_ops
Lloh0:
adrp x8, _ar9003_hw_rx_enable@GOTPAGE
Lloh1:
ldr x8, [x8, _ar9003_hw_rx_enable@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #16]
Lloh3:
adrp x8, _ar9003_hw_set_desc_link@GOTPAGE
Lloh4:
ldr x8, [x8, _ar9003_hw_set_desc_link@GOTPAGEOFF]
Lloh5:
adrp x9, _ar9003_hw_get_isr@GOTPAGE
Lloh6:
ldr x9, [x9, _ar9003_hw_get_isr@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
ldr w9, [x9]
stp w9, w8, [x0, #8]
Lloh9:
adrp x8, _ar9003_set_txdesc@GOTPAGE
Lloh10:
ldr x8, [x8, _ar9003_set_txdesc@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x9, _ar9003_hw_proc_txdesc@GOTPAGE
Lloh13:
ldr x9, [x9, _ar9003_hw_proc_txdesc@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
stp w9, w8, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ar9003_hw_rx_enable,4,2 ; @ar9003_hw_rx_enable
.comm _ar9003_hw_set_desc_link,4,2 ; @ar9003_hw_set_desc_link
.comm _ar9003_hw_get_isr,4,2 ; @ar9003_hw_get_isr
.comm _ar9003_set_txdesc,4,2 ; @ar9003_set_txdesc
.comm _ar9003_hw_proc_txdesc,4,2 ; @ar9003_hw_proc_txdesc
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9003_mac.c_ar9003_hw_attach_mac_ops.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bmp280_common_remove ## -- Begin function bmp280_common_remove
.p2align 4, 0x90
_bmp280_common_remove: ## @bmp280_common_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
callq _dev_get_drvdata
movq %rax, %r14
movq %rax, %rdi
callq _iio_priv
movq %rax, %rbx
movq %r14, %rdi
callq _iio_device_unregister
movl 8(%rbx), %edi
callq _pm_runtime_get_sync
movl 8(%rbx), %edi
callq _pm_runtime_put_noidle
movl 8(%rbx), %edi
callq _pm_runtime_disable
movl 4(%rbx), %edi
callq _regulator_disable
movl (%rbx), %edi
callq _regulator_disable
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bmp280_common_remove ; -- Begin function bmp280_common_remove
.p2align 2
_bmp280_common_remove: ; @bmp280_common_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _dev_get_drvdata
mov x19, x0
bl _iio_priv
mov x20, x0
mov x0, x19
bl _iio_device_unregister
ldr w0, [x20, #8]
bl _pm_runtime_get_sync
ldr w0, [x20, #8]
bl _pm_runtime_put_noidle
ldr w0, [x20, #8]
bl _pm_runtime_disable
ldr w0, [x20, #4]
bl _regulator_disable
ldr w0, [x20]
bl _regulator_disable
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
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/pressure/extr_bmp280-core.c_bmp280_common_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _uart_send_string ## -- Begin function uart_send_string
.p2align 4, 0x90
_uart_send_string: ## @uart_send_string
.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
movb (%rdi), %al
testb %al, %al
je LBB0_3
## %bb.1:
movq %rdi, %rbx
incq %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edi
callq _uart_send
movzbl (%rbx), %eax
incq %rbx
testb %al, %al
jne LBB0_2
LBB0_3:
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 _uart_send_string ; -- Begin function uart_send_string
.p2align 2
_uart_send_string: ; @uart_send_string
.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
ldrb w8, [x0]
cbz w8, LBB0_3
; %bb.1:
add x19, x0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _uart_send
ldrb w8, [x19], #1
cbnz w8, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/raspberry-pi-os/exercises/lesson04/5/avenito/src/extr_uart.c_uart_send_string.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.