x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rt61pci_conf_tx
_rt61pci_conf_tx: ## @rt61pci_conf_tx
.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 %edx, %r13d
movq (%rdi), %r14
callq _rt2x00mac_conf_tx
cmpl $3, %r13d
jg LBB0_3
## %bb.1:
testl %eax, %eax
jne LBB0_3
## %bb.2:
movq %r14, %rdi
movl %r13d, %esi
movl %eax, -52(%rbp) ## 4-byte Spill
callq _rt2x00queue_get_tx_queue
movq %rax, %rbx
movq %rax, -64(%rbp) ## 8-byte Spill
movq _AC_TXOP_CSR0@GOTPCREL(%rip), %rax
leal (,%r13,4), %r12d
movq %r12, -72(%rbp) ## 8-byte Spill
## kill: def $r12d killed $r12d killed $r12 def $r12
andl $8, %r12d
addq (%rax), %r12
shll $4, %r13d
andl $16, %r13d
movl $65535, %r15d ## imm = 0xFFFF
movl %r13d, %ecx
shll %cl, %r15d
movq %r14, %rdi
movq %r12, %rsi
callq _rt2x00mmio_register_read
movq %rax, -48(%rbp)
movl 12(%rbx), %edx
shlq $32, %r15
orq %r15, %r13
leaq -48(%rbp), %rdi
movq %r13, %rsi
callq _rt2x00_set_field32
movq -48(%rbp), %rdx
movq %r14, %rdi
movq %r12, %rsi
callq _rt2x00mmio_register_write
movl $15, %ebx
movq -72(%rbp), %r13 ## 8-byte Reload
movl %r13d, %ecx
shll %cl, %ebx
movq _AIFSN_CSR@GOTPCREL(%rip), %r15
movq (%r15), %rsi
movq %r14, %rdi
callq _rt2x00mmio_register_read
movq %rax, -48(%rbp)
movq -64(%rbp), %r12 ## 8-byte Reload
movl 8(%r12), %edx
shlq $32, %rbx
movq %r13, %rsi
orq %rbx, %rsi
leaq -48(%rbp), %r13
movq %r13, %rdi
movq %rsi, %rbx
callq _rt2x00_set_field32
movq (%r15), %rsi
movq -48(%rbp), %rdx
movq %r14, %rdi
callq _rt2x00mmio_register_write
movq _CWMIN_CSR@GOTPCREL(%rip), %r15
movq (%r15), %rsi
movq %r14, %rdi
callq _rt2x00mmio_register_read
movq %rax, -48(%rbp)
movl 4(%r12), %edx
movq %r13, %rdi
movq %rbx, %rsi
callq _rt2x00_set_field32
movq (%r15), %rsi
movq -48(%rbp), %rdx
movq %r14, %rdi
callq _rt2x00mmio_register_write
movq _CWMAX_CSR@GOTPCREL(%rip), %r15
movq (%r15), %rsi
movq %r14, %rdi
callq _rt2x00mmio_register_read
movq %rax, -48(%rbp)
movl (%r12), %edx
movq %r13, %rdi
movq %rbx, %rsi
callq _rt2x00_set_field32
movq (%r15), %rsi
movq -48(%rbp), %rdx
movq %r14, %rdi
callq _rt2x00mmio_register_write
movl -52(%rbp), %eax ## 4-byte Reload
LBB0_3:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AC_TXOP_CSR0,8,3 ## @AC_TXOP_CSR0
.comm _AIFSN_CSR,8,3 ## @AIFSN_CSR
.comm _CWMIN_CSR,8,3 ## @CWMIN_CSR
.comm _CWMAX_CSR,8,3 ## @CWMAX_CSR
.no_dead_strip _rt61pci_conf_tx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rt61pci_conf_tx
_rt61pci_conf_tx: ; @rt61pci_conf_tx
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x23, x2
ldr x19, [x0]
bl _rt2x00mac_conf_tx
mov x20, x0
cmp w23, #3
b.gt LBB0_3
; %bb.1:
cbnz w20, LBB0_3
; %bb.2:
mov x0, x19
mov x1, x23
bl _rt2x00queue_get_tx_queue
mov x21, x0
Lloh0:
adrp x8, _AC_TXOP_CSR0@GOTPAGE
Lloh1:
ldr x8, [x8, _AC_TXOP_CSR0@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
lsl w22, w23, #2
and w9, w22, #0x8
add x24, x8, x9
ubfiz w23, w23, #4, #1
mov w8, #65535
lsl w25, w8, w23
mov x0, x19
mov x1, x24
bl _rt2x00mmio_register_read
str x0, [sp, #8]
ldr w2, [x21, #12]
bfi x23, x25, #32, #32
add x0, sp, #8
mov x1, x23
bl _rt2x00_set_field32
ldr x2, [sp, #8]
mov x0, x19
mov x1, x24
bl _rt2x00mmio_register_write
mov w8, #15
lsl w23, w8, w22
Lloh3:
adrp x24, _AIFSN_CSR@GOTPAGE
Lloh4:
ldr x24, [x24, _AIFSN_CSR@GOTPAGEOFF]
ldr x1, [x24]
mov x0, x19
bl _rt2x00mmio_register_read
str x0, [sp, #8]
ldr w2, [x21, #8]
bfi x22, x23, #32, #32
add x0, sp, #8
mov x1, x22
bl _rt2x00_set_field32
ldr x1, [x24]
ldr x2, [sp, #8]
mov x0, x19
bl _rt2x00mmio_register_write
Lloh5:
adrp x23, _CWMIN_CSR@GOTPAGE
Lloh6:
ldr x23, [x23, _CWMIN_CSR@GOTPAGEOFF]
ldr x1, [x23]
mov x0, x19
bl _rt2x00mmio_register_read
str x0, [sp, #8]
ldr w2, [x21, #4]
add x0, sp, #8
mov x1, x22
bl _rt2x00_set_field32
ldr x1, [x23]
ldr x2, [sp, #8]
mov x0, x19
bl _rt2x00mmio_register_write
Lloh7:
adrp x23, _CWMAX_CSR@GOTPAGE
Lloh8:
ldr x23, [x23, _CWMAX_CSR@GOTPAGEOFF]
ldr x1, [x23]
mov x0, x19
bl _rt2x00mmio_register_read
str x0, [sp, #8]
ldr w2, [x21]
add x0, sp, #8
mov x1, x22
bl _rt2x00_set_field32
ldr x1, [x23]
ldr x2, [sp, #8]
mov x0, x19
bl _rt2x00mmio_register_write
LBB0_3:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AC_TXOP_CSR0,8,3 ; @AC_TXOP_CSR0
.comm _AIFSN_CSR,8,3 ; @AIFSN_CSR
.comm _CWMIN_CSR,8,3 ; @CWMIN_CSR
.comm _CWMAX_CSR,8,3 ; @CWMAX_CSR
.no_dead_strip _rt61pci_conf_tx
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt61pci.c_rt61pci_conf_tx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sapi_cli_register_variables
_sapi_cli_register_variables: ## @sapi_cli_register_variables
.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
leaq L_.str(%rip), %rax
movq %rax, -48(%rbp)
callq _php_import_environment_variables
movq _php_self@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _strlen
movq %rax, -40(%rbp)
movq _sapi_module@GOTPCREL(%rip), %r15
movq _PARSE_SERVER@GOTPCREL(%rip), %r12
movl (%r12), %edi
leaq L_.str.1(%rip), %rsi
leaq -40(%rbp), %r8
movq %rbx, %rdx
movq %rax, %rcx
callq *(%r15)
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%rbx), %rsi
leaq L_.str.1(%rip), %rdi
movq %r14, %rdx
callq _php_register_variable
LBB0_2:
movl (%r12), %edi
movq -40(%rbp), %rcx
leaq L_.str.2(%rip), %rsi
movq _php_self@GOTPCREL(%rip), %rbx
leaq -40(%rbp), %r8
movq %rbx, %rdx
callq *(%r15)
testq %rax, %rax
je LBB0_4
## %bb.3:
movq (%rbx), %rsi
leaq L_.str.2(%rip), %rdi
movq %r14, %rdx
callq _php_register_variable
LBB0_4:
movq _script_filename@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
callq _strlen
movq %rax, -40(%rbp)
movl (%r12), %edi
leaq L_.str.3(%rip), %rsi
leaq -40(%rbp), %r8
movq %rbx, %rdx
movq %rax, %rcx
callq *(%r15)
testq %rax, %rax
je LBB0_6
## %bb.5:
movq (%rbx), %rsi
leaq L_.str.3(%rip), %rdi
movq %r14, %rdx
callq _php_register_variable
LBB0_6:
movl (%r12), %edi
movq -40(%rbp), %rcx
leaq L_.str.4(%rip), %rsi
movq _script_filename@GOTPCREL(%rip), %rbx
leaq -40(%rbp), %r8
movq %rbx, %rdx
callq *(%r15)
testq %rax, %rax
je LBB0_8
## %bb.7:
movq (%rbx), %rsi
leaq L_.str.4(%rip), %rdi
movq %r14, %rdx
callq _php_register_variable
LBB0_8:
movq $0, -40(%rbp)
movl (%r12), %edi
leaq L_.str.5(%rip), %rsi
leaq -48(%rbp), %rdx
leaq -40(%rbp), %r8
xorl %ecx, %ecx
callq *(%r15)
testq %rax, %rax
je LBB0_10
## %bb.9:
movq -48(%rbp), %rsi
leaq L_.str.5(%rip), %rdi
movq %r14, %rdx
callq _php_register_variable
LBB0_10:
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
.space 1
.comm _php_self,8,3 ## @php_self
.comm _sapi_module,8,3 ## @sapi_module
.comm _PARSE_SERVER,4,2 ## @PARSE_SERVER
L_.str.1: ## @.str.1
.asciz "PHP_SELF"
L_.str.2: ## @.str.2
.asciz "SCRIPT_NAME"
.comm _script_filename,8,3 ## @script_filename
L_.str.3: ## @.str.3
.asciz "SCRIPT_FILENAME"
L_.str.4: ## @.str.4
.asciz "PATH_TRANSLATED"
L_.str.5: ## @.str.5
.asciz "DOCUMENT_ROOT"
.no_dead_strip _sapi_cli_register_variables
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sapi_cli_register_variables
_sapi_cli_register_variables: ; @sapi_cli_register_variables
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
str x8, [sp]
bl _php_import_environment_variables
Lloh2:
adrp x20, _php_self@GOTPAGE
Lloh3:
ldr x20, [x20, _php_self@GOTPAGEOFF]
ldr x0, [x20]
bl _strlen
mov x3, x0
str x0, [sp, #8]
Lloh4:
adrp x21, _sapi_module@GOTPAGE
Lloh5:
ldr x21, [x21, _sapi_module@GOTPAGEOFF]
ldr x8, [x21]
Lloh6:
adrp x22, _PARSE_SERVER@GOTPAGE
Lloh7:
ldr x22, [x22, _PARSE_SERVER@GOTPAGEOFF]
ldr w0, [x22]
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
add x4, sp, #8
mov x2, x20
blr x8
cbz x0, LBB0_2
; %bb.1:
ldr x1, [x20]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
mov x2, x19
bl _php_register_variable
LBB0_2:
ldr x8, [x21]
ldr w0, [x22]
ldr x3, [sp, #8]
Lloh12:
adrp x1, l_.str.2@PAGE
Lloh13:
add x1, x1, l_.str.2@PAGEOFF
Lloh14:
adrp x20, _php_self@GOTPAGE
Lloh15:
ldr x20, [x20, _php_self@GOTPAGEOFF]
add x4, sp, #8
mov x2, x20
blr x8
cbz x0, LBB0_4
; %bb.3:
ldr x1, [x20]
Lloh16:
adrp x0, l_.str.2@PAGE
Lloh17:
add x0, x0, l_.str.2@PAGEOFF
mov x2, x19
bl _php_register_variable
LBB0_4:
Lloh18:
adrp x20, _script_filename@GOTPAGE
Lloh19:
ldr x20, [x20, _script_filename@GOTPAGEOFF]
ldr x0, [x20]
bl _strlen
mov x3, x0
str x0, [sp, #8]
ldr x8, [x21]
ldr w0, [x22]
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
add x4, sp, #8
mov x2, x20
blr x8
cbz x0, LBB0_6
; %bb.5:
ldr x1, [x20]
Lloh22:
adrp x0, l_.str.3@PAGE
Lloh23:
add x0, x0, l_.str.3@PAGEOFF
mov x2, x19
bl _php_register_variable
LBB0_6:
ldr x8, [x21]
ldr w0, [x22]
ldr x3, [sp, #8]
Lloh24:
adrp x1, l_.str.4@PAGE
Lloh25:
add x1, x1, l_.str.4@PAGEOFF
Lloh26:
adrp x20, _script_filename@GOTPAGE
Lloh27:
ldr x20, [x20, _script_filename@GOTPAGEOFF]
add x4, sp, #8
mov x2, x20
blr x8
cbz x0, LBB0_8
; %bb.7:
ldr x1, [x20]
Lloh28:
adrp x0, l_.str.4@PAGE
Lloh29:
add x0, x0, l_.str.4@PAGEOFF
mov x2, x19
bl _php_register_variable
LBB0_8:
str xzr, [sp, #8]
ldr x8, [x21]
ldr w0, [x22]
Lloh30:
adrp x1, l_.str.5@PAGE
Lloh31:
add x1, x1, l_.str.5@PAGEOFF
mov x2, sp
add x4, sp, #8
mov x3, #0
blr x8
cbz x0, LBB0_10
; %bb.9:
ldr x1, [sp]
Lloh32:
adrp x0, l_.str.5@PAGE
Lloh33:
add x0, x0, l_.str.5@PAGEOFF
mov x2, x19
bl _php_register_variable
LBB0_10:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _php_self,8,3 ; @php_self
.comm _sapi_module,8,3 ; @sapi_module
.comm _PARSE_SERVER,4,2 ; @PARSE_SERVER
l_.str.1: ; @.str.1
.asciz "PHP_SELF"
l_.str.2: ; @.str.2
.asciz "SCRIPT_NAME"
.comm _script_filename,8,3 ; @script_filename
l_.str.3: ; @.str.3
.asciz "SCRIPT_FILENAME"
l_.str.4: ; @.str.4
.asciz "PATH_TRANSLATED"
l_.str.5: ; @.str.5
.asciz "DOCUMENT_ROOT"
.no_dead_strip _sapi_cli_register_variables
.subsections_via_symbols
| AnghaBench/php-src/sapi/cli/extr_php_cli.c_sapi_cli_register_variables.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __v3_fill
___v3_fill: ## @__v3_fill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movq _PACKET_RX_RING@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_2
## %bb.1:
movl $64, 16(%rbx)
movq $0, 40(%rbx)
movq _TP_FT_REQ_FILL_RXHASH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rbx)
LBB0_2:
xorl %eax, %eax
callq _getpagesize
movl %eax, %ecx
shll $2, %ecx
movl %ecx, 20(%rbx)
movq _TPACKET_ALIGNMENT@GOTPCREL(%rip), %rax
movl (%rax), %esi
shll $7, %esi
movl %esi, 24(%rbx)
movl %r14d, 28(%rbx)
movl %ecx, %eax
cltd
idivl %esi
imull %r14d, %eax
movl %eax, 32(%rbx)
movl %ecx, %eax
imull %r14d, %eax
movl %eax, (%rbx)
movq _walk_v3@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 48(%rbx)
movl %r14d, 4(%rbx)
movl %ecx, 8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PACKET_RX_RING,4,2 ## @PACKET_RX_RING
.comm _TP_FT_REQ_FILL_RXHASH,4,2 ## @TP_FT_REQ_FILL_RXHASH
.comm _TPACKET_ALIGNMENT,4,2 ## @TPACKET_ALIGNMENT
.comm _walk_v3,4,2 ## @walk_v3
.no_dead_strip ___v3_fill
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __v3_fill
___v3_fill: ; @__v3_fill
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _PACKET_RX_RING@GOTPAGE
Lloh1:
ldr x8, [x8, _PACKET_RX_RING@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_2
; %bb.1:
mov w8, #64
str w8, [x19, #16]
str xzr, [x19, #40]
Lloh3:
adrp x8, _TP_FT_REQ_FILL_RXHASH@GOTPAGE
Lloh4:
ldr x8, [x8, _TP_FT_REQ_FILL_RXHASH@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19, #36]
LBB0_2:
bl _getpagesize
lsl w8, w0, #2
Lloh6:
adrp x9, _TPACKET_ALIGNMENT@GOTPAGE
Lloh7:
ldr x9, [x9, _TPACKET_ALIGNMENT@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
lsl w9, w9, #7
stp w8, w9, [x19, #20]
sdiv w9, w8, w9
mul w9, w9, w20
stp w20, w9, [x19, #28]
Lloh9:
adrp x9, _walk_v3@GOTPAGE
Lloh10:
ldr x9, [x9, _walk_v3@GOTPAGEOFF]
mul w10, w8, w20
stp w10, w20, [x19]
Lloh11:
ldr w9, [x9]
str w9, [x19, #48]
str w8, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _PACKET_RX_RING,4,2 ; @PACKET_RX_RING
.comm _TP_FT_REQ_FILL_RXHASH,4,2 ; @TP_FT_REQ_FILL_RXHASH
.comm _TPACKET_ALIGNMENT,4,2 ; @TPACKET_ALIGNMENT
.comm _walk_v3,4,2 ; @walk_v3
.no_dead_strip ___v3_fill
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/net/extr_psock_tpacket.c___v3_fill.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rt2500pci_kick_queue
_rt2500pci_kick_queue: ## @rt2500pci_kick_queue
.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 8(%rdi), %rbx
movl (%rdi), %eax
cmpl $128, %eax
je LBB0_5
## %bb.1:
cmpl $130, %eax
je LBB0_4
## %bb.2:
cmpl $129, %eax
jne LBB0_7
## %bb.3:
movq _TXCSR0@GOTPCREL(%rip), %r15
movl (%r15), %esi
leaq -28(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _rt2x00mmio_register_read
movq _TXCSR0_KICK_PRIO@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _TXCSR0@GOTPCREL(%rip), %r15
movl (%r15), %esi
leaq -28(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _rt2x00mmio_register_read
movq _TXCSR0_KICK_ATIM@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_4:
movq _TXCSR0@GOTPCREL(%rip), %r15
movl (%r15), %esi
leaq -28(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rdx
callq _rt2x00mmio_register_read
movq _TXCSR0_KICK_TX@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %esi
movq %r14, %rdi
movl $1, %edx
callq _rt2x00_set_field32
movl (%r15), %esi
movl -28(%rbp), %edx
movq %rbx, %rdi
callq _rt2x00mmio_register_write
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TXCSR0,4,2 ## @TXCSR0
.comm _TXCSR0_KICK_PRIO,4,2 ## @TXCSR0_KICK_PRIO
.comm _TXCSR0_KICK_TX,4,2 ## @TXCSR0_KICK_TX
.comm _TXCSR0_KICK_ATIM,4,2 ## @TXCSR0_KICK_ATIM
.no_dead_strip _rt2500pci_kick_queue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rt2500pci_kick_queue
_rt2500pci_kick_queue: ; @rt2500pci_kick_queue
.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
ldr x19, [x0, #8]
ldr w8, [x0]
cmp w8, #128
b.eq LBB0_4
; %bb.1:
cmp w8, #130
b.eq LBB0_5
; %bb.2:
cmp w8, #129
b.ne LBB0_7
; %bb.3:
Lloh0:
adrp x20, _TXCSR0@GOTPAGE
Lloh1:
ldr x20, [x20, _TXCSR0@GOTPAGEOFF]
ldr w1, [x20]
add x2, sp, #12
mov x0, x19
bl _rt2x00mmio_register_read
Lloh2:
adrp x8, _TXCSR0_KICK_PRIO@GOTPAGE
Lloh3:
ldr x8, [x8, _TXCSR0_KICK_PRIO@GOTPAGEOFF]
b LBB0_6
LBB0_4:
Lloh4:
adrp x20, _TXCSR0@GOTPAGE
Lloh5:
ldr x20, [x20, _TXCSR0@GOTPAGEOFF]
ldr w1, [x20]
add x2, sp, #12
mov x0, x19
bl _rt2x00mmio_register_read
Lloh6:
adrp x8, _TXCSR0_KICK_ATIM@GOTPAGE
Lloh7:
ldr x8, [x8, _TXCSR0_KICK_ATIM@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh8:
adrp x20, _TXCSR0@GOTPAGE
Lloh9:
ldr x20, [x20, _TXCSR0@GOTPAGEOFF]
ldr w1, [x20]
add x2, sp, #12
mov x0, x19
bl _rt2x00mmio_register_read
Lloh10:
adrp x8, _TXCSR0_KICK_TX@GOTPAGE
Lloh11:
ldr x8, [x8, _TXCSR0_KICK_TX@GOTPAGEOFF]
LBB0_6:
ldr w1, [x8]
add x0, sp, #12
mov w2, #1
bl _rt2x00_set_field32
ldr w1, [x20]
ldr w2, [sp, #12]
mov x0, x19
bl _rt2x00mmio_register_write
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _TXCSR0,4,2 ; @TXCSR0
.comm _TXCSR0_KICK_PRIO,4,2 ; @TXCSR0_KICK_PRIO
.comm _TXCSR0_KICK_TX,4,2 ; @TXCSR0_KICK_TX
.comm _TXCSR0_KICK_ATIM,4,2 ; @TXCSR0_KICK_ATIM
.no_dead_strip _rt2500pci_kick_queue
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2500pci.c_rt2500pci_kick_queue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function intel_th_device_alloc
_intel_th_device_alloc: ## @intel_th_device_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -44(%rbp) ## 4-byte Spill
movl %esi, %r14d
movq %rdi, %r12
movq _INTEL_TH_OUTPUT@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpl %esi, (%rax)
sete %cl
movq 8(%rdi,%rcx,8), %rbx
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rdx, %rdi
callq _strlen
movl $49, %edi
subq %rax, %rdi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kzalloc
movq %rax, %r15
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rax, %r13
movq %r12, -64(%rbp) ## 8-byte Spill
movl -44(%rbp), %r12d ## 4-byte Reload
movl %r12d, (%r15)
movl %r14d, 4(%r15)
movl 40(%r15), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _strcpy
addq $8, %r13
movq %r13, %rdi
callq _device_initialize
movq _intel_th_bus@GOTPCREL(%rip), %rax
movq %rax, 32(%r15)
movq _intel_th_device_type@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %r14d, %ecx
movl (%rax,%rcx,4), %eax
movl %eax, 24(%r15)
movq %rbx, 16(%r15)
movq 4(%rbx), %rax
movq %rax, 8(%r15)
movl (%rbx), %esi
movq %r13, %rdi
callq _dma_set_coherent_mask
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
testl %r12d, %r12d
js LBB0_3
## %bb.2:
leaq L_.str(%rip), %rsi
movq %r13, %rdi
movq -56(%rbp), %rcx ## 8-byte Reload
movl -44(%rbp), %r8d ## 4-byte Reload
xorl %eax, %eax
callq _dev_set_name
jmp LBB0_4
LBB0_3:
leaq L_.str.1(%rip), %rsi
movq %r13, %rdi
movq -56(%rbp), %rcx ## 8-byte Reload
xorl %eax, %eax
callq _dev_set_name
LBB0_4:
movq %r15, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INTEL_TH_OUTPUT,4,2 ## @INTEL_TH_OUTPUT
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _intel_th_bus,4,2 ## @intel_th_bus
.comm _intel_th_device_type,8,3 ## @intel_th_device_type
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d-%s%d"
L_.str.1: ## @.str.1
.asciz "%d-%s"
.no_dead_strip _intel_th_device_alloc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function intel_th_device_alloc
_intel_th_device_alloc: ; @intel_th_device_alloc
.cfi_startproc
; %bb.0:
sub sp, sp, #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, x3
mov x19, x2
mov x23, x1
mov x22, x0
Lloh0:
adrp x8, _INTEL_TH_OUTPUT@GOTPAGE
Lloh1:
ldr x8, [x8, _INTEL_TH_OUTPUT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w1
mov w8, #8 ; =0x8
mov w9, #16 ; =0x10
csel x8, x9, x8, eq
ldr x24, [x0, x8]
mov x0, x2
bl _strlen
mov w8, #49 ; =0x31
sub x0, x8, x0
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _kzalloc
mov x21, x0
cbz x0, LBB0_5
; %bb.1:
stp w20, w23, [x21]
ldr w0, [x21, #40]
mov x1, x19
bl _strcpy
add x0, x21, #8
bl _device_initialize
Lloh6:
adrp x8, _intel_th_bus@GOTPAGE
Lloh7:
ldr x8, [x8, _intel_th_bus@GOTPAGEOFF]
Lloh8:
adrp x9, _intel_th_device_type@GOTPAGE
Lloh9:
ldr x9, [x9, _intel_th_device_type@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
ldr w9, [x9, w23, uxtw #2]
str x8, [x21, #32]
str w9, [x21, #24]
str x24, [x21, #16]
ldur d0, [x24, #4]
str d0, [x21, #8]
ldr w1, [x24]
add x0, x21, #8
bl _dma_set_coherent_mask
ldr w2, [x22]
tbnz w20, #31, LBB0_3
; %bb.2:
str x20, [sp]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
b LBB0_4
LBB0_3:
Lloh13:
adrp x1, l_.str.1@PAGE
Lloh14:
add x1, x1, l_.str.1@PAGEOFF
LBB0_4:
add x0, x21, #8
mov x3, x19
bl _dev_set_name
LBB0_5:
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
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _INTEL_TH_OUTPUT,4,2 ; @INTEL_TH_OUTPUT
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _intel_th_bus,4,2 ; @intel_th_bus
.comm _intel_th_device_type,8,3 ; @intel_th_device_type
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d-%s%d"
l_.str.1: ; @.str.1
.asciz "%d-%s"
.no_dead_strip _intel_th_device_alloc
.subsections_via_symbols
| assembly_file_101214.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opfstcw
_opfstcw: ## @opfstcw
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdx), %rcx
movl (%rcx), %edx
movq _OT_MEMORY@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
je LBB0_4
## %bb.2:
movq _OT_WORD@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
je LBB0_4
## %bb.3:
movabsq $665719931097, %rax ## imm = 0x9B000000D9
movq %rax, -4(%rsi)
movq 8(%rcx), %rax
movl (%rax), %eax
orl $56, %eax
movl %eax, (%rsi)
movl $1, %eax
LBB0_4:
popq %rbp
LBB0_5:
retq
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.comm _OT_WORD,4,2 ## @OT_WORD
.no_dead_strip _opfstcw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function opfstcw
lCPI0_0:
.long 217 ; 0xd9
.long 155 ; 0x9b
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_opfstcw: ; @opfstcw
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.ne LBB0_4
; %bb.1:
ldr x8, [x2, #8]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_MEMORY@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_4
; %bb.2:
Lloh3:
adrp x10, _OT_WORD@GOTPAGE
Lloh4:
ldr x10, [x10, _OT_WORD@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_4
; %bb.3:
Lloh6:
adrp x9, lCPI0_0@PAGE
Lloh7:
ldr d0, [x9, lCPI0_0@PAGEOFF]
stur d0, [x1, #-4]
ldr x8, [x8, #8]
ldr w8, [x8]
orr w8, w8, #0x38
str w8, [x1]
mov w0, #1 ; =0x1
ret
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdr Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.comm _OT_WORD,4,2 ; @OT_WORD
.no_dead_strip _opfstcw
.subsections_via_symbols
| assembly_file_131499.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isp_stat_try_enable
_isp_stat_try_enable: ## @isp_stat_try_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
cmpq $0, 40(%rdi)
je LBB0_8
## %bb.1:
movq %rdi, %rbx
movq 16(%rdi), %rdi
callq _spin_lock_irqsave
movq (%rbx), %rax
movq _ISPSTAT_ENABLING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.2:
cmpl $0, 64(%rbx)
je LBB0_3
LBB0_7:
movq 16(%rbx), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
LBB0_8:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_3:
cmpq $0, 56(%rbx)
je LBB0_7
## %bb.4:
movl $1, 8(%rbx)
movq %rbx, %rdi
callq _isp_stat_buf_next
movq 40(%rbx), %rsi
movq 48(%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movl 32(%rbx), %esi
movq %rbx, %rdi
callq _isp_stat_buf_insert_magic
movq %rbx, %rdi
callq _IS_H3A
testl %eax, %eax
jne LBB0_6
## %bb.5:
leaq 28(%rbx), %rdi
xorl %esi, %esi
callq _atomic_set
LBB0_6:
movq %rbx, %rdi
movl $1, %esi
callq _isp_stat_pcr_enable
movq 16(%rbx), %rdi
callq _spin_unlock_irqrestore
movq 16(%rbx), %rax
movl 4(%rax), %edi
movl 24(%rbx), %edx
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _dev_dbg ## TAILCALL
.cfi_endproc
## -- End function
.comm _ISPSTAT_ENABLING,8,3 ## @ISPSTAT_ENABLING
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: module is enabled.\n"
.no_dead_strip _isp_stat_try_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isp_stat_try_enable
_isp_stat_try_enable: ; @isp_stat_try_enable
.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 x8, [x0, #40]
cbz x8, LBB0_4
; %bb.1:
mov x19, x0
ldr x0, [x0, #16]
bl _spin_lock_irqsave
ldr x8, [x19]
Lloh0:
adrp x9, _ISPSTAT_ENABLING@GOTPAGE
Lloh1:
ldr x9, [x9, _ISPSTAT_ENABLING@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
ldr w8, [x19, #64]
cbz w8, LBB0_5
LBB0_3:
ldr x0, [x19, #16]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
ldr x8, [x19, #56]
cbz x8, LBB0_3
; %bb.6:
mov w8, #1
str w8, [x19, #8]
mov x0, x19
bl _isp_stat_buf_next
ldp x1, x8, [x19, #40]
ldr x8, [x8]
mov x0, x19
blr x8
ldr w1, [x19, #32]
mov x0, x19
bl _isp_stat_buf_insert_magic
mov x0, x19
bl _IS_H3A
cbnz w0, LBB0_8
; %bb.7:
add x0, x19, #28
mov w1, #0
bl _atomic_set
LBB0_8:
mov x0, x19
mov w1, #1
bl _isp_stat_pcr_enable
ldr x0, [x19, #16]
bl _spin_unlock_irqrestore
ldr x8, [x19, #16]
ldr w0, [x8, #4]
ldr w2, [x19, #24]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dev_dbg
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ISPSTAT_ENABLING,8,3 ; @ISPSTAT_ENABLING
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: module is enabled.\n"
.no_dead_strip _isp_stat_try_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispstat.c_isp_stat_try_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vtcon_port_drain
_vtcon_port_drain: ## @vtcon_port_drain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
popq %rbp
jmp _vtcon_port_drain_bufs ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _vtcon_port_drain
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vtcon_port_drain
_vtcon_port_drain: ; @vtcon_port_drain
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _vtcon_port_drain_bufs
.cfi_endproc
; -- End function
.no_dead_strip _vtcon_port_drain
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/virtio/console/extr_virtio_console.c_vtcon_port_drain.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function befs_brun_size
_befs_brun_size: ## @befs_brun_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _BEFS_SB
imulq (%rax), %rbx
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _befs_brun_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function befs_brun_size
_befs_brun_size: ; @befs_brun_size
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _BEFS_SB
ldr x8, [x0]
mul x0, x8, 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 _befs_brun_size
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/befs/extr_befs.h_befs_brun_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wined3d_texture_set_swapchain ## -- Begin function wined3d_texture_set_swapchain
.p2align 4, 0x90
_wined3d_texture_set_swapchain: ## @wined3d_texture_set_swapchain
.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, 8(%rdi)
popq %rbp
jmp _wined3d_resource_update_draw_binding ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wined3d_texture_set_swapchain ; -- Begin function wined3d_texture_set_swapchain
.p2align 2
_wined3d_texture_set_swapchain: ; @wined3d_texture_set_swapchain
.cfi_startproc
; %bb.0:
str x1, [x0, #8]
b _wined3d_resource_update_draw_binding
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/reactos/dll/directx/wine/wined3d/extr_texture.c_wined3d_texture_set_swapchain.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bp_by_off
_bp_by_off: ## @bp_by_off
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rsi), %rax
movslq (%rax), %rax
movq (%rdi,%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _bp_by_off
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bp_by_off
_bp_by_off: ; @bp_by_off
.cfi_startproc
; %bb.0:
ldr x8, [x1]
ldrsw x8, [x8]
ldr x0, [x0, x8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _bp_by_off
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_vfs_default.c_bp_by_off.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function m68k_op_dble_16
_m68k_op_dble_16: ## @m68k_op_dble_16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %eax, %eax
callq _COND_NOT_LE
testq %rax, %rax
je LBB0_5
## %bb.1:
movq _DY@GOTPCREL(%rip), %r14
movl (%r14), %edi
decl %edi
callq _MASK_OUT_ABOVE_16
movl %eax, %ebx
movl (%r14), %edi
callq _MASK_OUT_BELOW_16
orl %ebx, %eax
movl %eax, (%r14)
cmpl $65535, %ebx ## imm = 0xFFFF
jne LBB0_2
## %bb.3:
movq _REG_PC@GOTPCREL(%rip), %rax
addl $2, (%rax)
movq _CYC_DBCC_F_EXP@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_5:
movq _REG_PC@GOTPCREL(%rip), %rax
addl $2, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
callq _OPER_I_16
movq _REG_PC@GOTPCREL(%rip), %rcx
addl $-2, (%rcx)
movl %eax, %edi
callq _m68ki_branch_16
movq _CYC_DBCC_F_NOEXP@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _USE_CYCLES ## TAILCALL
.cfi_endproc
## -- End function
.comm _DY,4,2 ## @DY
.comm _REG_PC,4,2 ## @REG_PC
.comm _CYC_DBCC_F_NOEXP,4,2 ## @CYC_DBCC_F_NOEXP
.comm _CYC_DBCC_F_EXP,4,2 ## @CYC_DBCC_F_EXP
.no_dead_strip _m68k_op_dble_16
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function m68k_op_dble_16
_m68k_op_dble_16: ; @m68k_op_dble_16
.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 _COND_NOT_LE
cbz x0, LBB0_3
; %bb.1:
Lloh0:
adrp x20, _DY@GOTPAGE
Lloh1:
ldr x20, [x20, _DY@GOTPAGEOFF]
ldr w8, [x20]
sub w0, w8, #1
bl _MASK_OUT_ABOVE_16
mov x19, x0
ldr w0, [x20]
bl _MASK_OUT_BELOW_16
orr w8, w0, w19
str w8, [x20]
mov w8, #65535
cmp w19, w8
b.ne LBB0_4
; %bb.2:
Lloh2:
adrp x8, _REG_PC@GOTPAGE
Lloh3:
ldr x8, [x8, _REG_PC@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #2
str w9, [x8]
Lloh4:
adrp x8, _CYC_DBCC_F_EXP@GOTPAGE
Lloh5:
ldr x8, [x8, _CYC_DBCC_F_EXP@GOTPAGEOFF]
b LBB0_5
LBB0_3:
Lloh6:
adrp x8, _REG_PC@GOTPAGE
Lloh7:
ldr x8, [x8, _REG_PC@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #2
str w9, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
bl _OPER_I_16
Lloh8:
adrp x8, _REG_PC@GOTPAGE
Lloh9:
ldr x8, [x8, _REG_PC@GOTPAGEOFF]
ldr w9, [x8]
sub w9, w9, #2
str w9, [x8]
bl _m68ki_branch_16
Lloh10:
adrp x8, _CYC_DBCC_F_NOEXP@GOTPAGE
Lloh11:
ldr x8, [x8, _CYC_DBCC_F_NOEXP@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _USE_CYCLES
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _DY,4,2 ; @DY
.comm _REG_PC,4,2 ; @REG_PC
.comm _CYC_DBCC_F_NOEXP,4,2 ; @CYC_DBCC_F_NOEXP
.comm _CYC_DBCC_F_EXP,4,2 ; @CYC_DBCC_F_EXP
.no_dead_strip _m68k_op_dble_16
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_dble_16.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spufs_cntl_set
_spufs_cntl_set: ## @spufs_cntl_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
callq _spu_acquire
movl %eax, %r14d
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq (%rbx), %rax
movq %rbx, %rdi
movl %r15d, %esi
callq *(%rax)
movq %rbx, %rdi
callq _spu_release
LBB0_2:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _spufs_cntl_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spufs_cntl_set
_spufs_cntl_set: ; @spufs_cntl_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 x21, x1
mov x19, x0
bl _spu_acquire
mov x20, x0
cbnz w0, LBB0_2
; %bb.1:
ldr x8, [x19]
ldr x8, [x8]
mov x0, x19
mov x1, x21
blr x8
mov x0, x19
bl _spu_release
LBB0_2:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _spufs_cntl_set
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/cell/spufs/extr_file.c_spufs_cntl_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _newNode ## -- Begin function newNode
.p2align 4, 0x90
_newNode: ## @newNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $16, %edi
callq _malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isEmpty ## -- Begin function isEmpty
.p2align 4, 0x90
_isEmpty: ## @isEmpty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl $16, %edi
callq _malloc
movl %r14d, (%rax)
movq (%rbx), %rcx
movq %rcx, 8(%rax)
movq %rax, (%rbx)
leaq L_.str(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _pop ## -- Begin function pop
.p2align 4, 0x90
_pop: ## @pop
.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, %rax
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB3_1
## %bb.2:
movq 8(%rdi), %rcx
movq %rcx, (%rax)
movl (%rdi), %ebx
callq _free
jmp LBB3_3
LBB3_1:
movl $-2147483648, %ebx ## imm = 0x80000000
LBB3_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _peek ## -- Begin function peek
.p2align 4, 0x90
_peek: ## @peek
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB4_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
LBB4_1:
movl $-2147483648, %eax ## imm = 0x80000000
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 %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $20, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $30, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movl $30, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.2(%rip), %rdi
movl $20, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d pushed to stack \n"
L_.str.1: ## @.str.1
.asciz "%d popped from stack\n"
L_.str.2: ## @.str.2
.asciz "Top element is %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _newNode ; -- Begin function newNode
.p2align 2
_newNode: ; @newNode
.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
mov w0, #16
bl _malloc
str w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _isEmpty ; -- Begin function isEmpty
.p2align 2
_isEmpty: ; @isEmpty
.cfi_startproc
; %bb.0:
cmp x0, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w0, #16
bl _malloc
str w19, [x0]
ldr x8, [x20]
str x8, [x0, #8]
str x0, [x20]
str x19, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x8, x0
ldr x0, [x0]
cbz x0, LBB3_2
; %bb.1:
ldr x9, [x0, #8]
str x9, [x8]
ldr w19, [x0]
bl _free
b LBB3_3
LBB3_2:
mov w19, #-2147483648
LBB3_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _peek ; -- Begin function peek
.p2align 2
_peek: ; @peek
.cfi_startproc
; %bb.0:
cbz x0, LBB4_2
; %bb.1:
ldr w0, [x0]
ret
LBB4_2:
mov w0, #-2147483648
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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 w8, #10
str x8, [sp]
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w20, #20
str x20, [sp]
mov x0, x19
bl _printf
mov w21, #30
str x21, [sp]
mov x0, x19
bl _printf
str x21, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
str x20, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d pushed to stack \n"
l_.str.1: ; @.str.1
.asciz "%d popped from stack\n"
l_.str.2: ; @.str.2
.asciz "Top element is %d\n"
.subsections_via_symbols
| the_stack_data/121586.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bwn_phy_lp_gaintbl_write
_bwn_phy_lp_gaintbl_write: ## @bwn_phy_lp_gaintbl_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 $2, (%rdi)
jl LBB0_2
## %bb.1:
popq %rbp
jmp _bwn_phy_lp_gaintbl_write_r2 ## TAILCALL
LBB0_2:
popq %rbp
jmp _bwn_phy_lp_gaintbl_write_r01 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _bwn_phy_lp_gaintbl_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bwn_phy_lp_gaintbl_write
_bwn_phy_lp_gaintbl_write: ; @bwn_phy_lp_gaintbl_write
.cfi_startproc
; %bb.0:
ldr w8, [x0]
and x2, x2, #0xffffffff
cmp w8, #2
b.lt LBB0_2
; %bb.1:
b _bwn_phy_lp_gaintbl_write_r2
LBB0_2:
b _bwn_phy_lp_gaintbl_write_r01
.cfi_endproc
; -- End function
.no_dead_strip _bwn_phy_lp_gaintbl_write
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_lp.c_bwn_phy_lp_gaintbl_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function checkRef
_checkRef: ## @checkRef
.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 $1, %r14d
testq %rsi, %rsi
je LBB0_7
## %bb.1:
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
cmpq %rsi, (%rdi)
jge LBB0_4
## %bb.2:
leaq L_.str(%rip), %rdx
jmp LBB0_3
LBB0_4:
movq %r12, %rdi
movq %rbx, %rsi
callq _getPageReferenced
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.1(%rip), %rdx
LBB0_3:
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rcx
callq _checkAppendMsg
jmp LBB0_7
LBB0_6:
movq %r12, %rdi
movq %rbx, %rsi
callq _setPageReferenced
xorl %r14d, %r14d
LBB0_7:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid page number %d"
L_.str.1: ## @.str.1
.asciz "2nd reference to page %d"
.no_dead_strip _checkRef
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function checkRef
_checkRef: ; @checkRef
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cbz x1, LBB0_3
; %bb.1:
mov x20, x2
mov x19, x1
mov x21, x0
ldr x8, [x0]
cmp x8, x1
b.ge LBB0_4
; %bb.2:
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
b LBB0_6
LBB0_3:
mov w0, #1
b LBB0_8
LBB0_4:
mov x0, x21
mov x1, x19
bl _getPageReferenced
cbz x0, LBB0_7
; %bb.5:
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
LBB0_6:
mov x0, x21
mov x1, x20
mov x3, x19
bl _checkAppendMsg
mov w0, #1
b LBB0_8
LBB0_7:
mov x0, x21
mov x1, x19
bl _setPageReferenced
mov w0, #0
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid page number %d"
l_.str.1: ; @.str.1
.asciz "2nd reference to page %d"
.no_dead_strip _checkRef
.subsections_via_symbols
| AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_checkRef.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AAS_ReachabilityFromNum ## -- Begin function AAS_ReachabilityFromNum
.p2align 4, 0x90
_AAS_ReachabilityFromNum: ## @AAS_ReachabilityFromNum
.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, %rax
movq _aasworld@GOTPCREL(%rip), %rcx
cmpl $0, 16(%rcx)
je LBB0_4
## %bb.1:
testl %edi, %edi
js LBB0_4
## %bb.2:
cmpl %edi, (%rcx)
jle LBB0_4
## %bb.3:
movl %edi, %esi
shlq $2, %rsi
addq 8(%rcx), %rsi
movq %rax, %rdi
movl $4, %edx
popq %rbp
jmp _Com_Memcpy ## TAILCALL
LBB0_4:
movq %rax, %rdi
xorl %esi, %esi
movl $4, %edx
popq %rbp
jmp _Com_Memset ## TAILCALL
.cfi_endproc
## -- End function
.comm _aasworld,24,3 ## @aasworld
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _AAS_ReachabilityFromNum ; -- Begin function AAS_ReachabilityFromNum
.p2align 2
_AAS_ReachabilityFromNum: ; @AAS_ReachabilityFromNum
.cfi_startproc
; %bb.0:
mov x8, x1
Lloh0:
adrp x9, _aasworld@GOTPAGE
Lloh1:
ldr x9, [x9, _aasworld@GOTPAGEOFF]
ldr w10, [x9, #16]
cbz w10, LBB0_4
; %bb.1:
tbnz w0, #31, LBB0_4
; %bb.2:
ldr w10, [x9]
cmp w10, w0
b.le LBB0_4
; %bb.3:
ldr x9, [x9, #8]
add x1, x9, w0, uxtw #2
mov x0, x8
mov w2, #4
b _Com_Memcpy
LBB0_4:
mov x0, x8
mov w1, #0
mov w2, #4
b _Com_Memset
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _aasworld,24,3 ; @aasworld
.subsections_via_symbols
| AnghaBench/lab/engine/code/botlib/extr_be_aas_route.c_AAS_ReachabilityFromNum.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function test_insertorder
_test_insertorder: ## @test_insertorder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
callq _create_db
movl %eax, %r14d
leaq L_.str(%rip), %rsi
movl %eax, %edi
xorl %eax, %eax
callq _ok
leaq L_.str.1(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rbx
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
leaq L_.str.2(%rip), %r13
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.3(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.4(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.5(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.6(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.7(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.8(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
movq _ERROR_FUNCTION_FAILED@GOTPCREL(%rip), %r12
xorl %edi, %edi
cmpq (%r12), %rax
sete %dil
leaq L_.str.9(%rip), %r15
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.10(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%r12), %rax
sete %dil
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.11(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.12(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
movq _ERROR_BAD_QUERY_SYNTAX@GOTPCREL(%rip), %r12
xorl %edi, %edi
cmpq (%r12), %rax
sete %dil
leaq L_.str.13(%rip), %r15
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.14(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%r12), %rax
sete %dil
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.15(%rip), %rdx
movl %r14d, %edi
xorl %esi, %esi
callq _run_query
xorl %edi, %edi
cmpq (%r12), %rax
sete %dil
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq L_.str.16(%rip), %rsi
leaq -48(%rbp), %rdx
movl %r14d, %edi
callq _MsiDatabaseOpenViewA
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl -48(%rbp), %edi
xorl %esi, %esi
callq _MsiViewExecute
xorl %edi, %edi
cmpq (%rbx), %rax
sete %dil
movq %r13, %rbx
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
leaq -44(%rbp), %r14
movq _ordervals@GOTPCREL(%rip), %r13
leaq L_.str.17(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %edi
movq %r14, %rsi
callq _MsiViewFetch
xorl %edi, %edi
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
sete %dil
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
movl $1, %esi
callq _MsiRecordGetInteger
movq (%r13), %rcx
movq (%rcx,%r12), %rcx
movq (%rcx), %rdx
xorl %edi, %edi
cmpq %rdx, %rax
sete %dil
movq %r15, %rsi
movq %rax, %rcx
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
movl $2, %esi
callq _MsiRecordGetInteger
movq (%r13), %rcx
movq (%rcx,%r12), %rcx
movq 8(%rcx), %rdx
xorl %edi, %edi
cmpq %rdx, %rax
sete %dil
movq %r15, %rsi
movq %rax, %rcx
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
movl $3, %esi
callq _MsiRecordGetInteger
movq (%r13), %rcx
movq (%rcx,%r12), %rcx
movq 16(%rcx), %rdx
xorl %edi, %edi
cmpq %rdx, %rax
sete %dil
movq %r15, %rsi
movq %rax, %rcx
xorl %eax, %eax
callq _ok
movl -44(%rbp), %edi
callq _MsiCloseHandle
addq $-8, %r12
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to create db\n"
L_.str.1: ## @.str.1
.asciz "CREATE TABLE `T` ( `A` SHORT, `B` SHORT, `C` SHORT PRIMARY KEY `A`)"
.comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS
L_.str.2: ## @.str.2
.asciz "Expected ERROR_SUCCESS, got %d\n"
L_.str.3: ## @.str.3
.asciz "INSERT INTO `T` ( `A`, `B`, `C` ) VALUES ( 1, 2, 3 )"
L_.str.4: ## @.str.4
.asciz "INSERT INTO `T` ( `B`, `C`, `A` ) VALUES ( 4, 5, 6 )"
L_.str.5: ## @.str.5
.asciz "INSERT INTO `T` ( `C`, `A`, `B` ) VALUES ( 7, 8, 9 )"
L_.str.6: ## @.str.6
.asciz "INSERT INTO `T` ( `A`, `B` ) VALUES ( 10, 11 )"
L_.str.7: ## @.str.7
.asciz "INSERT INTO `T` ( `B`, `C` ) VALUES ( 12, 13 )"
L_.str.8: ## @.str.8
.asciz "INSERT INTO `T` ( `C` ) VALUES ( 14 )"
.comm _ERROR_FUNCTION_FAILED,8,3 ## @ERROR_FUNCTION_FAILED
L_.str.9: ## @.str.9
.asciz "Expected ERROR_FUNCTION_FAILED, got %d\n"
L_.str.10: ## @.str.10
.asciz "INSERT INTO `T` ( `A`, `C` ) VALUES ( 1, 14 )"
L_.str.11: ## @.str.11
.asciz "INSERT INTO `T` ( `A`, `C` ) VALUES ( 14, 15 )"
L_.str.12: ## @.str.12
.asciz "INSERT INTO `T` VALUES ( 16 )"
.comm _ERROR_BAD_QUERY_SYNTAX,8,3 ## @ERROR_BAD_QUERY_SYNTAX
L_.str.13: ## @.str.13
.asciz "Expected ERROR_BAD_QUERY_SYNTAX, got %d\n"
L_.str.14: ## @.str.14
.asciz "INSERT INTO `T` VALUES ( 17, 18 )"
L_.str.15: ## @.str.15
.asciz "INSERT INTO `T` VALUES ( 19, 20, 21 )"
L_.str.16: ## @.str.16
.asciz "SELECT * FROM `T`"
.comm _ordervals,8,3 ## @ordervals
L_.str.17: ## @.str.17
.asciz "Expected %d, got %d\n"
.comm _ERROR_NO_MORE_ITEMS,8,3 ## @ERROR_NO_MORE_ITEMS
.comm _msifile,4,2 ## @msifile
.no_dead_strip _test_insertorder
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function test_insertorder
_test_insertorder: ; @test_insertorder
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
bl _create_db
mov x20, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ok
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
Lloh4:
adrp x22, _ERROR_SUCCESS@GOTPAGE
Lloh5:
ldr x22, [x22, _ERROR_SUCCESS@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
Lloh6:
adrp x19, l_.str.2@PAGE
Lloh7:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x8
mov x1, x19
bl _ok
Lloh8:
adrp x2, l_.str.3@PAGE
Lloh9:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
Lloh10:
adrp x2, l_.str.4@PAGE
Lloh11:
add x2, x2, l_.str.4@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
Lloh12:
adrp x2, l_.str.5@PAGE
Lloh13:
add x2, x2, l_.str.5@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
Lloh14:
adrp x2, l_.str.6@PAGE
Lloh15:
add x2, x2, l_.str.6@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
Lloh16:
adrp x2, l_.str.7@PAGE
Lloh17:
add x2, x2, l_.str.7@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
Lloh18:
adrp x2, l_.str.8@PAGE
Lloh19:
add x2, x2, l_.str.8@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
Lloh20:
adrp x23, _ERROR_FUNCTION_FAILED@GOTPAGE
Lloh21:
ldr x23, [x23, _ERROR_FUNCTION_FAILED@GOTPAGEOFF]
ldr x8, [x23]
cmp x0, x8
cset w8, eq
str x0, [sp]
Lloh22:
adrp x21, l_.str.9@PAGE
Lloh23:
add x21, x21, l_.str.9@PAGEOFF
mov x0, x8
mov x1, x21
bl _ok
Lloh24:
adrp x2, l_.str.10@PAGE
Lloh25:
add x2, x2, l_.str.10@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x23]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x21
bl _ok
Lloh26:
adrp x2, l_.str.11@PAGE
Lloh27:
add x2, x2, l_.str.11@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
Lloh28:
adrp x2, l_.str.12@PAGE
Lloh29:
add x2, x2, l_.str.12@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
Lloh30:
adrp x23, _ERROR_BAD_QUERY_SYNTAX@GOTPAGE
Lloh31:
ldr x23, [x23, _ERROR_BAD_QUERY_SYNTAX@GOTPAGEOFF]
ldr x8, [x23]
cmp x0, x8
cset w8, eq
str x0, [sp]
Lloh32:
adrp x21, l_.str.13@PAGE
Lloh33:
add x21, x21, l_.str.13@PAGEOFF
mov x0, x8
mov x1, x21
bl _ok
Lloh34:
adrp x2, l_.str.14@PAGE
Lloh35:
add x2, x2, l_.str.14@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x23]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x21
bl _ok
Lloh36:
adrp x2, l_.str.15@PAGE
Lloh37:
add x2, x2, l_.str.15@PAGEOFF
mov x0, x20
mov w1, #0 ; =0x0
bl _run_query
ldr x8, [x23]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x21
bl _ok
Lloh38:
adrp x1, l_.str.16@PAGE
Lloh39:
add x1, x1, l_.str.16@PAGEOFF
add x2, sp, #28
mov x0, x20
bl _MsiDatabaseOpenViewA
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
ldr w0, [sp, #28]
mov w1, #0 ; =0x0
bl _MsiViewExecute
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
mov x21, #0 ; =0x0
Lloh40:
adrp x23, _ordervals@GOTPAGE
Lloh41:
ldr x23, [x23, _ordervals@GOTPAGEOFF]
Lloh42:
adrp x20, l_.str.17@PAGE
Lloh43:
add x20, x20, l_.str.17@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [sp, #28]
add x1, sp, #24
bl _MsiViewFetch
ldr x8, [x22]
cmp x0, x8
cset w8, eq
str x0, [sp]
mov x0, x8
mov x1, x19
bl _ok
ldr w0, [sp, #24]
mov w1, #1 ; =0x1
bl _MsiRecordGetInteger
ldr x8, [x23]
ldr x8, [x8, x21]
ldr x9, [x8]
cmp x0, x9
cset w8, eq
stp x9, x0, [sp]
mov x0, x8
mov x1, x20
bl _ok
ldr w0, [sp, #24]
mov w1, #2 ; =0x2
bl _MsiRecordGetInteger
ldr x8, [x23]
ldr x8, [x8, x21]
ldr x9, [x8, #8]
cmp x0, x9
cset w8, eq
stp x9, x0, [sp]
mov x0, x8
mov x1, x20
bl _ok
ldr w0, [sp, #24]
mov w1, #3 ; =0x3
bl _MsiRecordGetInteger
ldr x8, [x23]
ldr x8, [x8, x21]
ldr x9, [x8, #16]
cmp x0, x9
cset w8, eq
stp x9, x0, [sp]
mov x0, x8
mov x1, x20
bl _ok
ldr w0, [sp, #24]
bl _MsiCloseHandle
sub x21, x21, #8
b LBB0_1
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot 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 AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to create db\n"
l_.str.1: ; @.str.1
.asciz "CREATE TABLE `T` ( `A` SHORT, `B` SHORT, `C` SHORT PRIMARY KEY `A`)"
.comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS
l_.str.2: ; @.str.2
.asciz "Expected ERROR_SUCCESS, got %d\n"
l_.str.3: ; @.str.3
.asciz "INSERT INTO `T` ( `A`, `B`, `C` ) VALUES ( 1, 2, 3 )"
l_.str.4: ; @.str.4
.asciz "INSERT INTO `T` ( `B`, `C`, `A` ) VALUES ( 4, 5, 6 )"
l_.str.5: ; @.str.5
.asciz "INSERT INTO `T` ( `C`, `A`, `B` ) VALUES ( 7, 8, 9 )"
l_.str.6: ; @.str.6
.asciz "INSERT INTO `T` ( `A`, `B` ) VALUES ( 10, 11 )"
l_.str.7: ; @.str.7
.asciz "INSERT INTO `T` ( `B`, `C` ) VALUES ( 12, 13 )"
l_.str.8: ; @.str.8
.asciz "INSERT INTO `T` ( `C` ) VALUES ( 14 )"
.comm _ERROR_FUNCTION_FAILED,8,3 ; @ERROR_FUNCTION_FAILED
l_.str.9: ; @.str.9
.asciz "Expected ERROR_FUNCTION_FAILED, got %d\n"
l_.str.10: ; @.str.10
.asciz "INSERT INTO `T` ( `A`, `C` ) VALUES ( 1, 14 )"
l_.str.11: ; @.str.11
.asciz "INSERT INTO `T` ( `A`, `C` ) VALUES ( 14, 15 )"
l_.str.12: ; @.str.12
.asciz "INSERT INTO `T` VALUES ( 16 )"
.comm _ERROR_BAD_QUERY_SYNTAX,8,3 ; @ERROR_BAD_QUERY_SYNTAX
l_.str.13: ; @.str.13
.asciz "Expected ERROR_BAD_QUERY_SYNTAX, got %d\n"
l_.str.14: ; @.str.14
.asciz "INSERT INTO `T` VALUES ( 17, 18 )"
l_.str.15: ; @.str.15
.asciz "INSERT INTO `T` VALUES ( 19, 20, 21 )"
l_.str.16: ; @.str.16
.asciz "SELECT * FROM `T`"
.comm _ordervals,8,3 ; @ordervals
l_.str.17: ; @.str.17
.asciz "Expected %d, got %d\n"
.comm _ERROR_NO_MORE_ITEMS,8,3 ; @ERROR_NO_MORE_ITEMS
.comm _msifile,4,2 ; @msifile
.no_dead_strip _test_insertorder
.subsections_via_symbols
| assembly_file_491.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function int_to_ibta_mtu
_int_to_ibta_mtu: ## @int_to_ibta_mtu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, %eax
cmpl $1023, %edi ## imm = 0x3FF
jle LBB0_1
## %bb.4:
cmpl $1024, %edi ## imm = 0x400
je LBB0_9
## %bb.5:
cmpl $2048, %edi ## imm = 0x800
je LBB0_10
## %bb.6:
cmpl $4096, %edi ## imm = 0x1000
jne LBB0_12
## %bb.7:
movq _IB_MTU_4096@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_1:
cmpl $256, %edi ## imm = 0x100
je LBB0_8
## %bb.2:
cmpl $512, %edi ## imm = 0x200
jne LBB0_12
## %bb.3:
movq _IB_MTU_512@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_9:
movq _IB_MTU_1024@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_10:
movq _IB_MTU_2048@GOTPCREL(%rip), %rax
jmp LBB0_11
LBB0_8:
movq _IB_MTU_256@GOTPCREL(%rip), %rax
LBB0_11:
movl (%rax), %eax
LBB0_12:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IB_MTU_256,4,2 ## @IB_MTU_256
.comm _IB_MTU_512,4,2 ## @IB_MTU_512
.comm _IB_MTU_1024,4,2 ## @IB_MTU_1024
.comm _IB_MTU_2048,4,2 ## @IB_MTU_2048
.comm _IB_MTU_4096,4,2 ## @IB_MTU_4096
.no_dead_strip _int_to_ibta_mtu
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function int_to_ibta_mtu
_int_to_ibta_mtu: ; @int_to_ibta_mtu
.cfi_startproc
; %bb.0:
mov x8, x0
mov w0, #-1
cmp w8, #1023
b.le LBB0_5
; %bb.1:
cmp w8, #1024
b.eq LBB0_8
; %bb.2:
cmp w8, #2048
b.eq LBB0_9
; %bb.3:
cmp w8, #1, lsl #12 ; =4096
b.ne LBB0_12
; %bb.4:
Lloh0:
adrp x8, _IB_MTU_4096@GOTPAGE
Lloh1:
ldr x8, [x8, _IB_MTU_4096@GOTPAGEOFF]
b LBB0_11
LBB0_5:
cmp w8, #256
b.eq LBB0_10
; %bb.6:
cmp w8, #512
b.ne LBB0_12
; %bb.7:
Lloh2:
adrp x8, _IB_MTU_512@GOTPAGE
Lloh3:
ldr x8, [x8, _IB_MTU_512@GOTPAGEOFF]
b LBB0_11
LBB0_8:
Lloh4:
adrp x8, _IB_MTU_1024@GOTPAGE
Lloh5:
ldr x8, [x8, _IB_MTU_1024@GOTPAGEOFF]
b LBB0_11
LBB0_9:
Lloh6:
adrp x8, _IB_MTU_2048@GOTPAGE
Lloh7:
ldr x8, [x8, _IB_MTU_2048@GOTPAGEOFF]
b LBB0_11
LBB0_10:
Lloh8:
adrp x8, _IB_MTU_256@GOTPAGE
Lloh9:
ldr x8, [x8, _IB_MTU_256@GOTPAGEOFF]
LBB0_11:
ldr w0, [x8]
LBB0_12:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _IB_MTU_256,4,2 ; @IB_MTU_256
.comm _IB_MTU_512,4,2 ; @IB_MTU_512
.comm _IB_MTU_1024,4,2 ; @IB_MTU_1024
.comm _IB_MTU_2048,4,2 ; @IB_MTU_2048
.comm _IB_MTU_4096,4,2 ; @IB_MTU_4096
.no_dead_strip _int_to_ibta_mtu
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_main.c_int_to_ibta_mtu.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hex_encode ## -- Begin function hex_encode
.p2align 4, 0x90
_hex_encode: ## @hex_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r14
leaq (%rsi,%rsi), %rax
movq %rax, (%rdx)
leaq (%rsi,%rsi), %r12
incq %r12
movq %r12, %rdi
callq _malloc
movq %rax, %rbx
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rbx, %rdi
movq %r12, %rsi
callq ___bzero
testq %r15, %r15
je LBB0_4
## %bb.2:
xorl %eax, %eax
leaq _encoding_table(%rip), %rdi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%rax), %edx
movq %rdx, %rsi
shrq $4, %rsi
movzbl (%rsi,%rdi), %ecx
movb %cl, (%rbx,%rax,2)
andl $15, %edx
movzbl (%rdx,%rdi), %ecx
movb %cl, 1(%rbx,%rax,2)
incq %rax
cmpq %rax, %r15
jne LBB0_3
LBB0_4:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _hex_decode ## -- Begin function hex_decode
.p2align 4, 0x90
_hex_decode: ## @hex_decode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testb $1, %sil
jne LBB1_10
## %bb.1:
movq %rdx, %r14
movq %rdi, %r15
shrq %rsi
movq %rsi, (%rdx)
movq %rsi, %rdi
callq _alloc_binary_data_memory
testq %rax, %rax
je LBB1_10
## %bb.2:
cmpq $0, (%r14)
je LBB1_11
## %bb.3:
xorl %ecx, %ecx
leaq _decoding_table(%rip), %rsi
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movzbl (%r15,%rcx,2), %edx
movzbl (%rdx,%rsi), %edx
cmpb $-1, %dl
je LBB1_9
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movzbl 1(%r15,%rcx,2), %edi
movzbl (%rdi,%rsi), %ebx
cmpb $-1, %bl
je LBB1_9
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
shlb $4, %dl
orb %dl, %bl
movb %bl, (%rax,%rcx)
incq %rcx
cmpq %rcx, (%r14)
ja LBB1_4
jmp LBB1_11
LBB1_9:
movq %rax, %rdi
callq _free_binary_data
LBB1_10:
xorl %eax, %eax
LBB1_11:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @encoding_table
_encoding_table:
.ascii "0123456789ABCDEF"
.p2align 4 ## @decoding_table
_decoding_table:
.ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\001\002\003\004\005\006\007\b\t\377\377\377\377\377\377\377\n\013\f\r\016\017\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\n\013\f\r\016\017\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hex_encode ; -- Begin function hex_encode
.p2align 2
_hex_encode: ; @hex_encode
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x21, x0
lsl x8, x1, #1
str x8, [x2]
mov w22, #1
bfi x22, x1, #1, #63
mov x0, x22
bl _malloc
mov x19, x0
cbz x0, LBB0_9
; %bb.1:
mov x0, x19
mov x1, x22
bl _bzero
cbz x20, LBB0_9
; %bb.2:
Lloh0:
adrp x8, _encoding_table@PAGE
Lloh1:
add x8, x8, _encoding_table@PAGEOFF
cmp x20, #1
b.ne LBB0_4
; %bb.3:
mov x9, #0
mov x10, #0
b LBB0_7
LBB0_4:
and x9, x20, #0xfffffffffffffffe
lsl x10, x9, #1
add x11, x21, #1
add x12, x19, #3
mov x13, x9
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldurb w14, [x11, #-1]
ldrb w15, [x11], #2
lsr x16, x14, #4
lsr x17, x15, #4
ldrb w16, [x8, x16]
ldrb w17, [x8, x17]
sturb w16, [x12, #-3]
and x14, x14, #0xf
and x15, x15, #0xf
ldrb w14, [x8, x14]
ldrb w15, [x8, x15]
sturb w17, [x12, #-1]
sturb w14, [x12, #-2]
strb w15, [x12], #4
subs x13, x13, #2
b.ne LBB0_5
; %bb.6:
cmp x9, x20
b.eq LBB0_9
LBB0_7:
add x11, x21, x9
sub x9, x20, x9
add x10, x10, x19
add x10, x10, #1
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x11], #1
lsr x13, x12, #4
ldrb w13, [x8, x13]
sturb w13, [x10, #-1]
and x12, x12, #0xf
ldrb w12, [x8, x12]
strb w12, [x10], #2
subs x9, x9, #1
b.ne LBB0_8
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _hex_decode ; -- Begin function hex_decode
.p2align 2
_hex_decode: ; @hex_decode
.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
tbnz w1, #0, LBB1_8
; %bb.1:
mov x19, x2
mov x20, x0
lsr x0, x1, #1
str x0, [x2]
bl _alloc_binary_data_memory
cbz x0, LBB1_9
; %bb.2:
ldr x8, [x19]
cbz x8, LBB1_9
; %bb.3:
mov x8, #0
add x9, x20, #1
Lloh2:
adrp x10, _decoding_table@PAGE
Lloh3:
add x10, x10, _decoding_table@PAGEOFF
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldurb w11, [x9, #-1]
ldrb w11, [x10, x11]
cmp w11, #255
b.eq LBB1_7
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
ldrb w12, [x9]
ldrb w12, [x10, x12]
cmp w12, #255
b.eq LBB1_7
; %bb.6: ; in Loop: Header=BB1_4 Depth=1
orr w11, w12, w11, lsl #4
strb w11, [x0, x8]
add x8, x8, #1
ldr x11, [x19]
add x9, x9, #2
cmp x11, x8
b.hi LBB1_4
b LBB1_9
LBB1_7:
bl _free_binary_data
LBB1_8:
mov x0, #0
LBB1_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__const
_encoding_table: ; @encoding_table
.ascii "0123456789ABCDEF"
_decoding_table: ; @decoding_table
.ascii "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000\001\002\003\004\005\006\007\b\t\377\377\377\377\377\377\377\n\013\f\r\016\017\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\n\013\f\r\016\017\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
.subsections_via_symbols
| the_stack_data/15818.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function irq_thread_check_affinity
_irq_thread_check_affinity: ## @irq_thread_check_affinity
.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 _irq_thread_check_affinity
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function irq_thread_check_affinity
_irq_thread_check_affinity: ; @irq_thread_check_affinity
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _irq_thread_check_affinity
.subsections_via_symbols
| AnghaBench/linux/kernel/irq/extr_manage.c_irq_thread_check_affinity.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qup_i2c_read_rx_fifo_v2
_qup_i2c_read_rx_fifo_v2: ## @qup_i2c_read_rx_fifo_v2
.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
cmpl $0, (%rdi)
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _qup_i2c_recv_tags
movl $1, (%rbx)
LBB0_2:
movq %rbx, %rdi
callq _qup_i2c_recv_data
cmpl $0, 8(%rbx)
jne LBB0_4
## %bb.3:
movl $1, 4(%rbx)
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qup_i2c_read_rx_fifo_v2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qup_i2c_read_rx_fifo_v2
_qup_i2c_read_rx_fifo_v2: ; @qup_i2c_read_rx_fifo_v2
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w8, [x0]
cbnz w8, LBB0_2
; %bb.1:
mov x0, x19
bl _qup_i2c_recv_tags
mov w8, #1
str w8, [x19]
LBB0_2:
mov x0, x19
bl _qup_i2c_recv_data
ldr w8, [x19, #8]
cbnz w8, LBB0_4
; %bb.3:
mov w8, #1
str w8, [x19, #4]
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
.no_dead_strip _qup_i2c_read_rx_fifo_v2
.subsections_via_symbols
| AnghaBench/linux/drivers/i2c/busses/extr_i2c-qup.c_qup_i2c_read_rx_fifo_v2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movabsq $1311768467294899695, %rbx ## imm = 0x1234567890ABCDEF
movabsq $-81986143110479071, %r14 ## imm = 0xFEDCBA0987654321
movq %rbx, -24(%rbp)
movq %r14, -32(%rbp)
leaq -32(%rbp), %rdi
callq _quad_fetch_and
xorq %rbx, %rdx
xorq %r14, %rax
orq %rdx, %rax
jne LBB0_7
## %bb.1:
movabsq $-81986143110479072, %rax ## imm = 0xFEDCBA0987654320
xorq -32(%rbp), %rax
movabsq $1311768467294899680, %rcx ## imm = 0x1234567890ABCDE0
xorq -24(%rbp), %rcx
orq %rax, %rcx
jne LBB0_7
## %bb.2:
movq %r14, -32(%rbp)
movq %rbx, -24(%rbp)
leaq -32(%rbp), %rdi
callq _quad_fetch_or
xorq %rbx, %rdx
xorq %r14, %rax
orq %rdx, %rax
jne LBB0_7
## %bb.3:
movabsq $-81986143110479057, %rax ## imm = 0xFEDCBA098765432F
xorq -32(%rbp), %rax
movabsq $1311768467294899711, %rcx ## imm = 0x1234567890ABCDFF
xorq -24(%rbp), %rcx
orq %rax, %rcx
jne LBB0_7
## %bb.4:
movq %r14, -32(%rbp)
movq %rbx, -24(%rbp)
leaq -32(%rbp), %rdi
callq _quad_fetch_add
xorq %rbx, %rdx
xorq %r14, %rax
orq %rdx, %rax
jne LBB0_7
## %bb.5:
movabsq $-81986074391002335, %rax ## imm = 0xFEDCBA1987654321
xorq -32(%rbp), %rax
movabsq $1311768467311676911, %rcx ## imm = 0x1234567891ABCDEF
xorq -24(%rbp), %rcx
orq %rax, %rcx
jne LBB0_7
## %bb.6:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
callq _abort
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function quad_fetch_and
_quad_fetch_and: ## @quad_fetch_and
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movq (%rdi), %rax
movq 8(%rdi), %rdx
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
andq $-16, %rbx
movq %rdx, %rcx
andq $-16, %rcx
lock cmpxchg16b (%rdi)
jne LBB1_1
## %bb.2:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function quad_fetch_or
_quad_fetch_or: ## @quad_fetch_or
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movq (%rdi), %rax
movq 8(%rdi), %rdx
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
orq $14, %rbx
movq %rdx, %rcx
orq $16, %rcx
lock cmpxchg16b (%rdi)
jne LBB2_1
## %bb.2:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function quad_fetch_add
_quad_fetch_add: ## @quad_fetch_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movq (%rdi), %rax
movq 8(%rdi), %rdx
movabsq $68719476736, %rsi ## imm = 0x1000000000
.p2align 4, 0x90
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
addq %rsi, %rbx
movq %rdx, %rcx
adcq $16777216, %rcx ## imm = 0x1000000
lock cmpxchg16b (%rdi)
jne LBB3_1
## %bb.2:
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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, #52719
movk x19, #37035, lsl #16
movk x19, #22136, lsl #32
movk x19, #4660, lsl #48
mov x20, #17185
movk x20, #34661, lsl #16
movk x20, #47625, lsl #32
movk x20, #65244, lsl #48
stp x20, x19, [sp]
mov x0, sp
bl _quad_fetch_and
eor x8, x1, x19
eor x9, x0, x20
orr x8, x9, x8
ldp x10, x9, [sp]
cmp x8, #0
mov x8, #17184
movk x8, #34661, lsl #16
movk x8, #47625, lsl #32
movk x8, #65244, lsl #48
eor x8, x10, x8
mov x10, #52704
movk x10, #37035, lsl #16
movk x10, #22136, lsl #32
movk x10, #4660, lsl #48
eor x9, x9, x10
orr x8, x8, x9
ccmp x8, #0, #0, eq
b.ne LBB0_6
; %bb.1:
stp x20, x19, [sp]
mov x0, sp
bl _quad_fetch_or
eor x8, x1, x19
eor x9, x0, x20
orr x8, x9, x8
cbnz x8, LBB0_6
; %bb.2:
ldp x9, x8, [sp]
mov x10, #17199
movk x10, #34661, lsl #16
movk x10, #47625, lsl #32
movk x10, #65244, lsl #48
eor x9, x9, x10
mov x10, #52735
movk x10, #37035, lsl #16
movk x10, #22136, lsl #32
movk x10, #4660, lsl #48
eor x8, x8, x10
orr x8, x9, x8
cbnz x8, LBB0_6
; %bb.3:
stp x20, x19, [sp]
mov x0, sp
bl _quad_fetch_add
eor x8, x1, x19
eor x9, x0, x20
orr x8, x9, x8
cbnz x8, LBB0_6
; %bb.4:
ldp x9, x8, [sp]
mov x10, #17185
movk x10, #34661, lsl #16
movk x10, #47641, lsl #32
movk x10, #65244, lsl #48
eor x9, x9, x10
mov x10, #52719
movk x10, #37291, lsl #16
movk x10, #22136, lsl #32
movk x10, #4660, lsl #48
eor x8, x8, x10
orr x8, x9, x8
cbnz x8, LBB0_6
; %bb.5:
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
LBB0_6:
bl _abort
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function quad_fetch_and
_quad_fetch_and: ; @quad_fetch_and
.cfi_startproc
; %bb.0:
ldp x2, x3, [x0]
LBB1_1: ; =>This Inner Loop Header: Depth=1
mov x5, x3
mov x4, x2
and x6, x2, #0xfffffffffffffff0
and x7, x5, #0xfffffffffffffff0
mov x2, x4
mov x3, x5
caspa x2, x3, x6, x7, [x0]
eor x8, x3, x5
eor x9, x2, x4
orr x8, x9, x8
cbnz x8, LBB1_1
; %bb.2:
mov x0, x2
mov x1, x3
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function quad_fetch_or
_quad_fetch_or: ; @quad_fetch_or
.cfi_startproc
; %bb.0:
ldp x2, x3, [x0]
LBB2_1: ; =>This Inner Loop Header: Depth=1
mov x5, x3
mov x4, x2
orr x6, x2, #0xe
orr x7, x5, #0x10
mov x2, x4
mov x3, x5
caspa x2, x3, x6, x7, [x0]
eor x8, x3, x5
eor x9, x2, x4
orr x8, x9, x8
cbnz x8, LBB2_1
; %bb.2:
mov x0, x2
mov x1, x3
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function quad_fetch_add
_quad_fetch_add: ; @quad_fetch_add
.cfi_startproc
; %bb.0:
ldp x2, x3, [x0]
mov x8, #68719476736
mov w9, #16777216
LBB3_1: ; =>This Inner Loop Header: Depth=1
mov x5, x3
mov x4, x2
adds x6, x2, x8
adcs x7, x5, x9
mov x2, x4
mov x3, x5
caspa x2, x3, x6, x7, [x0]
eor x10, x3, x5
eor x11, x2, x4
orr x10, x11, x10
cbnz x10, LBB3_1
; %bb.2:
mov x0, x2
mov x1, x3
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/913236.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ieee80211_send_probe ## -- Begin function ieee80211_send_probe
.p2align 4, 0x90
_ieee80211_send_probe: ## @ieee80211_send_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _ieee80211_probe_req
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rdi
movq %rbx, %rsi
callq _softmac_mgmt_xmit
incl (%rbx)
LBB0_2:
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 _ieee80211_send_probe ; -- Begin function ieee80211_send_probe
.p2align 2
_ieee80211_send_probe: ; @ieee80211_send_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _ieee80211_probe_req
cbz x0, LBB0_2
; %bb.1:
mov x1, x19
bl _softmac_mgmt_xmit
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/ieee80211/extr_ieee80211_softmac.c_ieee80211_send_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function obex_alloc_inst
_obex_alloc_inst: ## @obex_alloc_inst
.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 _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $12, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %rbx
movq _obex_free_inst@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movq %rbx, %rdi
addq $8, %rdi
callq _gserial_alloc_line
testl %eax, %eax
je LBB0_5
## %bb.4:
movl %eax, %r14d
movq %rbx, %rdi
callq _kfree
movl %r14d, %edi
jmp LBB0_2
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
LBB0_2:
popq %rbx
popq %r14
popq %rbp
jmp _ERR_PTR ## TAILCALL
LBB0_5:
leaq L_.str(%rip), %rsi
movq _obex_func_type@GOTPCREL(%rip), %rdx
movq %rbx, %rdi
callq _config_group_init_type_name
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _obex_free_inst,4,2 ## @obex_free_inst
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _obex_func_type,4,2 ## @obex_func_type
.no_dead_strip _obex_alloc_inst
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function obex_alloc_inst
_obex_alloc_inst: ; @obex_alloc_inst
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #12
bl _kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
Lloh3:
adrp x8, _obex_free_inst@GOTPAGE
Lloh4:
ldr x8, [x8, _obex_free_inst@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x0, #4]
add x0, x0, #8
bl _gserial_alloc_line
cbz w0, LBB0_5
; %bb.2:
mov x20, x0
mov x0, x19
bl _kfree
mov x0, x20
b LBB0_4
LBB0_3:
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ERR_PTR
LBB0_5:
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
Lloh11:
adrp x2, _obex_func_type@GOTPAGE
Lloh12:
ldr x2, [x2, _obex_func_type@GOTPAGEOFF]
mov x0, x19
bl _config_group_init_type_name
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _obex_free_inst,4,2 ; @obex_free_inst
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _obex_func_type,4,2 ; @obex_func_type
.no_dead_strip _obex_alloc_inst
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/function/extr_f_obex.c_obex_alloc_inst.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.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 _func ## -- Begin function func
.p2align 4, 0x90
_func: ## @func
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _func2 ## -- Begin function func2
.p2align 4, 0x90
_func2: ## @func2
.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 _func3 ## -- Begin function func3
.p2align 4, 0x90
_func3: ## @func3
.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 _func4 ## -- Begin function func4
.p2align 4, 0x90
_func4: ## @func4
.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 _func5 ## -- Begin function func5
.p2align 4, 0x90
_func5: ## @func5
.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 _func6 ## -- Begin function func6
.p2align 4, 0x90
_func6: ## @func6
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _func ; -- Begin function func
.p2align 2
_func: ; @func
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _func2 ; -- Begin function func2
.p2align 2
_func2: ; @func2
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _func3 ; -- Begin function func3
.p2align 2
_func3: ; @func3
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _func4 ; -- Begin function func4
.p2align 2
_func4: ; @func4
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _func5 ; -- Begin function func5
.p2align 2
_func5: ; @func5
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _func6 ; -- Begin function func6
.p2align 2
_func6: ; @func6
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/154827768.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_skip_write ## -- Begin function set_skip_write
.p2align 4, 0x90
_set_skip_write: ## @set_skip_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _s_skip_write@GOTPCREL(%rip), %rax
movl $1, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _s_skip_write,4,2 ## @s_skip_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_skip_write ; -- Begin function set_skip_write
.p2align 2
_set_skip_write: ; @set_skip_write
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _s_skip_write@GOTPAGE
Lloh1:
ldr x8, [x8, _s_skip_write@GOTPAGEOFF]
mov w9, #1
Lloh2:
str w9, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _s_skip_write,4,2 ; @s_skip_write
.subsections_via_symbols
| AnghaBench/php-src/sapi/litespeed/extr_lsapilib.c_set_skip_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cx231xx_isoc_audio_deinit
_cx231xx_isoc_audio_deinit: ## @cx231xx_isoc_audio_deinit
.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, %r15
movl 16(%rdi), %edi
leaq L_.str(%rip), %rsi
callq _dev_dbg
movq _CX231XX_AUDIO_BUFS@GOTPCREL(%rip), %r14
movl (%r14), %eax
testl %eax, %eax
jle LBB0_8
## %bb.1:
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
callq _usb_unlink_urb
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %rax
movq (%rax,%rbx,8), %rdi
callq _usb_free_urb
movq 8(%r15), %rax
movq $0, (%rax,%rbx,8)
movq (%r15), %rax
movq (%rax,%rbx,8), %rdi
callq _kfree
movq (%r15), %rax
movq $0, (%rax,%rbx,8)
movl (%r14), %eax
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq %eax, %rcx
cmpq %rcx, %rbx
jge LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rcx
cmpq $0, (%rcx,%rbx,8)
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _irqs_disabled
movq 8(%r15), %rcx
movq (%rcx,%rbx,8), %rdi
testl %eax, %eax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
callq _usb_kill_urb
jmp LBB0_6
LBB0_8:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Stopping isoc\n"
.comm _CX231XX_AUDIO_BUFS,4,2 ## @CX231XX_AUDIO_BUFS
.no_dead_strip _cx231xx_isoc_audio_deinit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cx231xx_isoc_audio_deinit
_cx231xx_isoc_audio_deinit: ; @cx231xx_isoc_audio_deinit
.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 w0, [x0, #16]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
Lloh2:
adrp x20, _CX231XX_AUDIO_BUFS@GOTPAGE
Lloh3:
ldr x20, [x20, _CX231XX_AUDIO_BUFS@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_8
; %bb.1:
mov x21, #0
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
bl _usb_unlink_urb
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19, #8]
lsl x22, x21, #3
ldr x0, [x8, x22]
bl _usb_free_urb
ldr x8, [x19, #8]
str xzr, [x8, x22]
ldr x8, [x19]
ldr x0, [x8, x22]
bl _kfree
ldr x8, [x19]
str xzr, [x8, x22]
ldr w8, [x20]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x21, x21, #1
cmp x21, w8, sxtw
b.ge LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
ldr x9, [x9, x21, lsl #3]
cbz x9, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
bl _irqs_disabled
mov x8, x0
ldr x9, [x19, #8]
ldr x0, [x9, x21, lsl #3]
cbnz w8, LBB0_2
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
bl _usb_kill_urb
b LBB0_3
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Stopping isoc\n"
.comm _CX231XX_AUDIO_BUFS,4,2 ; @CX231XX_AUDIO_BUFS
.no_dead_strip _cx231xx_isoc_audio_deinit
.subsections_via_symbols
| AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-audio.c_cx231xx_isoc_audio_deinit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_init_kb ## -- Begin function matrix_init_kb
.p2align 4, 0x90
_matrix_init_kb: ## @matrix_init_kb
.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
jmp _matrix_init_user ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_init_kb ; -- Begin function matrix_init_kb
.p2align 2
_matrix_init_kb: ; @matrix_init_kb
.cfi_startproc
; %bb.0:
b _matrix_init_user
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/bpiphany/frosty_flake/extr_frosty_flake.c_matrix_init_kb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comedi_get_version_code ## -- Begin function comedi_get_version_code
.p2align 4, 0x90
_comedi_get_version_code: ## @comedi_get_version_code
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _COMEDI_VERSION_CODE@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _COMEDI_VERSION_CODE,4,2 ## @COMEDI_VERSION_CODE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comedi_get_version_code ; -- Begin function comedi_get_version_code
.p2align 2
_comedi_get_version_code: ; @comedi_get_version_code
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _COMEDI_VERSION_CODE@GOTPAGE
Lloh1:
ldr x8, [x8, _COMEDI_VERSION_CODE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COMEDI_VERSION_CODE,4,2 ; @COMEDI_VERSION_CODE
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/kcomedilib/extr_get.c_comedi_get_version_code.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function isXmlEncoded
_isXmlEncoded: ## @isXmlEncoded
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
callq _assert
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strpbrk
testq %rax, %rax
je LBB0_1
LBB0_17:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rbx
movq %r14, %rcx
cmpb $35, 1(%r14)
jne LBB0_13
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpb $120, 2(%rcx)
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
addq $3, %rcx
cmpq %rbx, %rcx
je LBB0_17
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
ja LBB0_1
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%rcx), %edi
movq %rcx, %r14
callq _isxdigit
testl %eax, %eax
je LBB0_17
## %bb.7: ## in Loop: Header=BB0_8 Depth=2
movq %r14, %rcx
incq %rcx
cmpq %rbx, %rcx
jbe LBB0_8
jmp LBB0_1
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
incq %rcx
cmpq %rbx, %rcx
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
jae LBB0_1
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%rcx), %edi
movq %rcx, %r14
callq _isalnum
testl %eax, %eax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_16 Depth=2
movq %r14, %rcx
incq %rcx
cmpq %rbx, %rcx
jne LBB0_16
jmp LBB0_1
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
addq $2, %rcx
cmpq %rbx, %rcx
je LBB0_17
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
jae LBB0_1
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movsbl (%rcx), %edi
movq %rcx, %r14
callq _isdigit
testl %eax, %eax
je LBB0_17
## %bb.11: ## in Loop: Header=BB0_12 Depth=2
movq %r14, %rcx
incq %rcx
cmpq %rbx, %rcx
jne LBB0_12
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
## Child Loop BB0_12 Depth 2
## Child Loop BB0_8 Depth 2
movq %rbx, %rdi
movl $38, %esi
callq _strchr
testq %rax, %rax
je LBB0_1
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
movl $59, %esi
movq %rax, %r14
callq _strchr
testq %rax, %rax
jne LBB0_3
jmp LBB0_17
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "<>'\""
.no_dead_strip _isXmlEncoded
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function isXmlEncoded
_isXmlEncoded: ; @isXmlEncoded
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
cmp x0, #0
cset w0, ne
bl _assert
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _strpbrk
cbz x0, LBB0_16
LBB0_1:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2: ; in Loop: Header=BB0_16 Depth=1
mov x19, x0
mov x8, x20
ldrb w9, [x20, #1]!
cmp w9, #35
b.ne LBB0_8
; %bb.3: ; in Loop: Header=BB0_16 Depth=1
mov x20, x8
ldrb w9, [x20, #2]!
cmp w9, #120
b.ne LBB0_12
; %bb.4: ; in Loop: Header=BB0_16 Depth=1
add x20, x8, #3
cmp x20, x19
b.eq LBB0_1
; %bb.5: ; in Loop: Header=BB0_16 Depth=1
b.hi LBB0_16
LBB0_6: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x20]
bl _isxdigit
cbz w0, LBB0_1
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
add x20, x20, #1
cmp x20, x19
b.ls LBB0_6
b LBB0_16
LBB0_8: ; in Loop: Header=BB0_16 Depth=1
cmp x20, x19
b.eq LBB0_1
; %bb.9: ; in Loop: Header=BB0_16 Depth=1
b.hs LBB0_16
LBB0_10: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x20]
bl _isalnum
cbz w0, LBB0_1
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
add x20, x20, #1
cmp x20, x19
b.ne LBB0_10
b LBB0_16
LBB0_12: ; in Loop: Header=BB0_16 Depth=1
cmp x20, x19
b.eq LBB0_1
; %bb.13: ; in Loop: Header=BB0_16 Depth=1
b.hs LBB0_16
LBB0_14: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x20]
bl _isdigit
cbz w0, LBB0_1
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
add x20, x20, #1
cmp x20, x19
b.ne LBB0_14
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_14 Depth 2
; Child Loop BB0_6 Depth 2
mov x0, x19
mov w1, #38 ; =0x26
bl _strchr
cbz x0, LBB0_16
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
mov x20, x0
mov w1, #59 ; =0x3b
bl _strchr
cbnz x0, LBB0_2
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "<>'\""
.no_dead_strip _isXmlEncoded
.subsections_via_symbols
| assembly_file_73282.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smallest_imm_type
_smallest_imm_type: ## @smallest_imm_type
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
cmpl $1, %edi
jne LBB0_3
## %bb.1:
movq _Cpu186@GOTPCREL(%rip), %rax
movq _Cpu286@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _cpu_arch_flags@GOTPCREL(%rip), %rax
movq _Cpu386@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movq _Cpu486@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movq _CpuNo64@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
cmpl %ecx, (%rax)
je LBB0_3
## %bb.2:
movq _Imm1@GOTPCREL(%rip), %rcx
movq _Imm8@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%rcx), %eax
movq _Imm8S@GOTPCREL(%rip), %rcx
jmp LBB0_5
LBB0_3:
movl %ebx, %edi
callq _fits_in_signed_byte
testq %rax, %rax
je LBB0_9
## %bb.4:
movq _Imm8S@GOTPCREL(%rip), %rcx
movq _Imm8@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_5:
orl (%rcx), %eax
movq _Imm16@GOTPCREL(%rip), %rcx
LBB0_6:
orl (%rcx), %eax
movq _Imm32@GOTPCREL(%rip), %rcx
LBB0_7:
orl (%rcx), %eax
movq _Imm32S@GOTPCREL(%rip), %rcx
LBB0_8:
orl (%rcx), %eax
movq _Imm64@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
LBB0_19:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_9:
movl %ebx, %edi
callq _fits_in_unsigned_byte
testq %rax, %rax
je LBB0_11
## %bb.10:
movq _Imm8@GOTPCREL(%rip), %rcx
movq _Imm16@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_6
LBB0_11:
movl %ebx, %edi
callq _fits_in_signed_word
testq %rax, %rax
jne LBB0_13
## %bb.12:
movl %ebx, %edi
callq _fits_in_unsigned_word
testq %rax, %rax
je LBB0_14
LBB0_13:
movq _Imm16@GOTPCREL(%rip), %rcx
movq _Imm32@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_7
LBB0_14:
movl %ebx, %edi
callq _fits_in_signed_long
testq %rax, %rax
je LBB0_16
## %bb.15:
movq _Imm32@GOTPCREL(%rip), %rcx
movq _Imm32S@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_8
LBB0_16:
movl %ebx, %edi
callq _fits_in_unsigned_long
movq %rax, %rcx
xorl %eax, %eax
movq _Imm64@GOTPCREL(%rip), %rdx
testq %rcx, %rcx
je LBB0_18
## %bb.17:
movq _Imm32@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_18:
orl (%rdx), %eax
jmp LBB0_19
.cfi_endproc
## -- End function
.comm _cpu_arch_flags,4,2 ## @cpu_arch_flags
.comm _Cpu186,4,2 ## @Cpu186
.comm _Cpu286,4,2 ## @Cpu286
.comm _Cpu386,4,2 ## @Cpu386
.comm _Cpu486,4,2 ## @Cpu486
.comm _CpuNo64,4,2 ## @CpuNo64
.comm _Imm1,4,2 ## @Imm1
.comm _Imm8,4,2 ## @Imm8
.comm _Imm8S,4,2 ## @Imm8S
.comm _Imm16,4,2 ## @Imm16
.comm _Imm32,4,2 ## @Imm32
.comm _Imm32S,4,2 ## @Imm32S
.comm _Imm64,4,2 ## @Imm64
.no_dead_strip _smallest_imm_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smallest_imm_type
_smallest_imm_type: ; @smallest_imm_type
.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
cmp w0, #1
b.ne LBB0_3
; %bb.1:
Lloh0:
adrp x8, _cpu_arch_flags@GOTPAGE
Lloh1:
ldr x8, [x8, _cpu_arch_flags@GOTPAGEOFF]
Lloh2:
adrp x9, _Cpu186@GOTPAGE
Lloh3:
ldr x9, [x9, _Cpu186@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
adrp x10, _Cpu286@GOTPAGE
Lloh6:
ldr x10, [x10, _Cpu286@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
orr w9, w10, w9
Lloh8:
adrp x10, _Cpu386@GOTPAGE
Lloh9:
ldr x10, [x10, _Cpu386@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
ldr w10, [x10]
orr w9, w9, w10
Lloh12:
adrp x10, _Cpu486@GOTPAGE
Lloh13:
ldr x10, [x10, _Cpu486@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
orr w9, w9, w10
Lloh15:
adrp x10, _CpuNo64@GOTPAGE
Lloh16:
ldr x10, [x10, _CpuNo64@GOTPAGEOFF]
Lloh17:
ldr w10, [x10]
orr w9, w9, w10
cmp w8, w9
b.eq LBB0_3
; %bb.2:
Lloh18:
adrp x8, _Imm1@GOTPAGE
Lloh19:
ldr x8, [x8, _Imm1@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
Lloh21:
adrp x9, _Imm8@GOTPAGE
Lloh22:
ldr x9, [x9, _Imm8@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
orr w8, w9, w8
Lloh24:
adrp x9, _Imm8S@GOTPAGE
Lloh25:
ldr x9, [x9, _Imm8S@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
orr w8, w8, w9
b LBB0_5
LBB0_3:
mov x0, x19
bl _fits_in_signed_byte
cbz x0, LBB0_10
; %bb.4:
Lloh27:
adrp x8, _Imm8S@GOTPAGE
Lloh28:
ldr x8, [x8, _Imm8S@GOTPAGEOFF]
Lloh29:
ldr w8, [x8]
Lloh30:
adrp x9, _Imm8@GOTPAGE
Lloh31:
ldr x9, [x9, _Imm8@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
orr w8, w9, w8
LBB0_5:
Lloh33:
adrp x9, _Imm16@GOTPAGE
Lloh34:
ldr x9, [x9, _Imm16@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
orr w8, w8, w9
LBB0_6:
Lloh36:
adrp x9, _Imm32@GOTPAGE
Lloh37:
ldr x9, [x9, _Imm32@GOTPAGEOFF]
Lloh38:
ldr w9, [x9]
orr w8, w8, w9
LBB0_7:
Lloh39:
adrp x9, _Imm32S@GOTPAGE
Lloh40:
ldr x9, [x9, _Imm32S@GOTPAGEOFF]
Lloh41:
ldr w9, [x9]
orr w8, w8, w9
LBB0_8:
Lloh42:
adrp x9, _Imm64@GOTPAGE
Lloh43:
ldr x9, [x9, _Imm64@GOTPAGEOFF]
Lloh44:
ldr w9, [x9]
orr w0, w8, w9
LBB0_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_10:
mov x0, x19
bl _fits_in_unsigned_byte
cbz x0, LBB0_12
; %bb.11:
Lloh45:
adrp x8, _Imm8@GOTPAGE
Lloh46:
ldr x8, [x8, _Imm8@GOTPAGEOFF]
Lloh47:
ldr w8, [x8]
Lloh48:
adrp x9, _Imm16@GOTPAGE
Lloh49:
ldr x9, [x9, _Imm16@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
orr w8, w9, w8
b LBB0_6
LBB0_12:
mov x0, x19
bl _fits_in_signed_word
cbnz x0, LBB0_14
; %bb.13:
mov x0, x19
bl _fits_in_unsigned_word
cbz x0, LBB0_15
LBB0_14:
Lloh51:
adrp x8, _Imm16@GOTPAGE
Lloh52:
ldr x8, [x8, _Imm16@GOTPAGEOFF]
Lloh53:
ldr w8, [x8]
Lloh54:
adrp x9, _Imm32@GOTPAGE
Lloh55:
ldr x9, [x9, _Imm32@GOTPAGEOFF]
Lloh56:
ldr w9, [x9]
orr w8, w9, w8
b LBB0_7
LBB0_15:
mov x0, x19
bl _fits_in_signed_long
cbz x0, LBB0_17
; %bb.16:
Lloh57:
adrp x8, _Imm32@GOTPAGE
Lloh58:
ldr x8, [x8, _Imm32@GOTPAGEOFF]
Lloh59:
ldr w8, [x8]
Lloh60:
adrp x9, _Imm32S@GOTPAGE
Lloh61:
ldr x9, [x9, _Imm32S@GOTPAGEOFF]
Lloh62:
ldr w9, [x9]
orr w8, w9, w8
b LBB0_8
LBB0_17:
mov x0, x19
bl _fits_in_unsigned_long
Lloh63:
adrp x8, _Imm32@GOTPAGE
Lloh64:
ldr x8, [x8, _Imm32@GOTPAGEOFF]
Lloh65:
ldr w8, [x8]
Lloh66:
adrp x9, _Imm64@GOTPAGE
Lloh67:
ldr x9, [x9, _Imm64@GOTPAGEOFF]
Lloh68:
ldr w9, [x9]
cmp x0, #0
csel w8, wzr, w8, eq
orr w0, w9, w8
b LBB0_9
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh10
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.cfi_endproc
; -- End function
.comm _cpu_arch_flags,4,2 ; @cpu_arch_flags
.comm _Cpu186,4,2 ; @Cpu186
.comm _Cpu286,4,2 ; @Cpu286
.comm _Cpu386,4,2 ; @Cpu386
.comm _Cpu486,4,2 ; @Cpu486
.comm _CpuNo64,4,2 ; @CpuNo64
.comm _Imm1,4,2 ; @Imm1
.comm _Imm8,4,2 ; @Imm8
.comm _Imm8S,4,2 ; @Imm8S
.comm _Imm16,4,2 ; @Imm16
.comm _Imm32,4,2 ; @Imm32
.comm _Imm32S,4,2 ; @Imm32S
.comm _Imm64,4,2 ; @Imm64
.no_dead_strip _smallest_imm_type
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-i386.c_smallest_imm_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvme_ctrlr_cmd_identify_controller ## -- Begin function nvme_ctrlr_cmd_identify_controller
.p2align 4, 0x90
_nvme_ctrlr_cmd_identify_controller: ## @nvme_ctrlr_cmd_identify_controller
.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 %rsi, %rdi
movl $4, %esi
callq _nvme_allocate_request_vaddr
movq %rax, %rbx
movq _NVME_OPC_IDENTIFY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movl $1, %edi
callq _htole32
movl %eax, (%rbx)
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _nvme_ctrlr_submit_admin_request ## TAILCALL
.cfi_endproc
## -- End function
.comm _NVME_OPC_IDENTIFY,4,2 ## @NVME_OPC_IDENTIFY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvme_ctrlr_cmd_identify_controller ; -- Begin function nvme_ctrlr_cmd_identify_controller
.p2align 2
_nvme_ctrlr_cmd_identify_controller: ; @nvme_ctrlr_cmd_identify_controller
.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
mov x0, x1
mov w1, #4
bl _nvme_allocate_request_vaddr
mov x20, x0
Lloh0:
adrp x8, _NVME_OPC_IDENTIFY@GOTPAGE
Lloh1:
ldr x8, [x8, _NVME_OPC_IDENTIFY@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #4]
mov w0, #1
bl _htole32
str w0, [x20]
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _nvme_ctrlr_submit_admin_request
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NVME_OPC_IDENTIFY,4,2 ; @NVME_OPC_IDENTIFY
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/nvme/extr_nvme_ctrlr_cmd.c_nvme_ctrlr_cmd_identify_controller.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getShit ## -- Begin function getShit
.p2align 4, 0x90
_getShit: ## @getShit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rsi
callq _popen
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %rbx
movb $0, _getShit.buff(%rip)
leaq _getShit.buff(%rip), %r14
movq %r14, %rdi
movl $1024, %esi ## imm = 0x400
movq %rax, %rdx
callq _fgets
movq %rbx, %rdi
callq _pclose
movq %r14, %rax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
callq _getShit.cold.1
xorl %eax, %eax
jmp LBB0_2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function getShit.cold.1
_getShit.cold.1: ## @getShit.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.1(%rip), %rdi
callq _perror
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_getShit.buff,1024,4 ## @getShit.buff
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "popen"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getShit ; -- Begin function getShit
.p2align 2
_getShit: ; @getShit
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _popen
cbz x0, LBB0_2
; %bb.1:
mov x19, x0
Lloh2:
adrp x20, _getShit.buff@PAGE
Lloh3:
add x20, x20, _getShit.buff@PAGEOFF
strb wzr, [x20]
mov x0, x20
mov w1, #1024
mov x2, x19
bl _fgets
mov x0, x19
bl _pclose
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
bl _getShit.cold.1
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function getShit.cold.1
_getShit.cold.1: ; @getShit.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
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #0
bl _exit
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_getShit.buff,1024,0 ; @getShit.buff
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l_.str.1: ; @.str.1
.asciz "popen"
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/linux/remote/extr_99.c_getShit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function imap_perform_upgrade_tls
_imap_perform_upgrade_tls: ## @imap_perform_upgrade_tls
.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 _FIRSTSOCKET@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq 8(%rdi), %r14
movq %r14, %rdx
callq _Curl_ssl_connect_nonblocking
testl %eax, %eax
je LBB0_1
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_1:
movq _IMAP_UPGRADETLS@GOTPCREL(%rip), %rax
movq (%rax), %rsi
cmpq %rsi, (%rbx)
je LBB0_3
## %bb.2:
movq %rbx, %rdi
callq _state
LBB0_3:
cmpq $0, (%r14)
je LBB0_4
## %bb.6:
movq %rbx, %rdi
callq _imap_to_imaps
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _imap_perform_capability ## TAILCALL
LBB0_4:
xorl %eax, %eax
jmp LBB0_5
.cfi_endproc
## -- End function
.comm _FIRSTSOCKET,4,2 ## @FIRSTSOCKET
.comm _IMAP_UPGRADETLS,8,3 ## @IMAP_UPGRADETLS
.no_dead_strip _imap_perform_upgrade_tls
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function imap_perform_upgrade_tls
_imap_perform_upgrade_tls: ; @imap_perform_upgrade_tls
.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, _FIRSTSOCKET@GOTPAGE
Lloh1:
ldr x8, [x8, _FIRSTSOCKET@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x20, x0, #8
mov x2, x20
bl _Curl_ssl_connect_nonblocking
cbz w0, LBB0_2
LBB0_1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
ldr x8, [x19]
Lloh3:
adrp x9, _IMAP_UPGRADETLS@GOTPAGE
Lloh4:
ldr x9, [x9, _IMAP_UPGRADETLS@GOTPAGEOFF]
Lloh5:
ldr x1, [x9]
cmp x8, x1
b.eq LBB0_4
; %bb.3:
mov x0, x19
bl _state
LBB0_4:
ldr x8, [x20]
cbz x8, LBB0_6
; %bb.5:
mov x0, x19
bl _imap_to_imaps
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _imap_perform_capability
LBB0_6:
mov w0, #0
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _FIRSTSOCKET,4,2 ; @FIRSTSOCKET
.comm _IMAP_UPGRADETLS,8,3 ; @IMAP_UPGRADETLS
.no_dead_strip _imap_perform_upgrade_tls
.subsections_via_symbols
| AnghaBench/curl/lib/extr_imap.c_imap_perform_upgrade_tls.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/179829598.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vx_stop_stream
_vx_stop_stream: ## @vx_stop_stream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _CMD_STOP_STREAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -32(%rbp), %r15
movq %r15, %rdi
callq _vx_init_rmh
movl (%rbx), %edx
movl 4(%rbx), %esi
movq %r15, %rdi
callq _vx_set_stream_cmd_params
movq %r14, %rdi
movq %r15, %rsi
callq _vx_send_msg_nolock
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CMD_STOP_STREAM,4,2 ## @CMD_STOP_STREAM
.no_dead_strip _vx_stop_stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vx_stop_stream
_vx_stop_stream: ; @vx_stop_stream
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _CMD_STOP_STREAM@GOTPAGE
Lloh1:
ldr x8, [x8, _CMD_STOP_STREAM@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x0, sp, #8
bl _vx_init_rmh
ldp w2, w1, [x19]
add x0, sp, #8
bl _vx_set_stream_cmd_params
add x1, sp, #8
mov x0, x20
bl _vx_send_msg_nolock
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 _CMD_STOP_STREAM,4,2 ; @CMD_STOP_STREAM
.no_dead_strip _vx_stop_stream
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_stop_stream.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/120861.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ca8210_set_tx_power
_ca8210_set_tx_power: ## @ca8210_set_tx_power
.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 (%rdi), %rax
movslq %esi, %rcx
imulq $1374389535, %rcx, %rcx ## imm = 0x51EB851F
movq %rcx, %rdx
shrq $63, %rdx
sarq $37, %rcx
addl %edx, %ecx
movl %ecx, -4(%rbp)
movq _PHY_TRANSMIT_POWER@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl (%rax), %r8d
leaq -4(%rbp), %rcx
xorl %esi, %esi
movl $1, %edx
callq _mlme_set_request_sync
movl %eax, %edi
callq _link_to_linux_err
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PHY_TRANSMIT_POWER,4,2 ## @PHY_TRANSMIT_POWER
.no_dead_strip _ca8210_set_tx_power
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ca8210_set_tx_power
_ca8210_set_tx_power: ; @ca8210_set_tx_power
.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
ldr x8, [x0]
mov w9, #34079
movk w9, #20971, lsl #16
smull x9, w1, w9
lsr x10, x9, #63
asr x9, x9, #37
add w9, w9, w10
stur w9, [x29, #-4]
Lloh0:
adrp x9, _PHY_TRANSMIT_POWER@GOTPAGE
Lloh1:
ldr x9, [x9, _PHY_TRANSMIT_POWER@GOTPAGEOFF]
Lloh2:
ldr w0, [x9]
ldr w4, [x8]
sub x3, x29, #4
mov w1, #0
mov w2, #1
bl _mlme_set_request_sync
bl _link_to_linux_err
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PHY_TRANSMIT_POWER,4,2 ; @PHY_TRANSMIT_POWER
.no_dead_strip _ca8210_set_tx_power
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ieee802154/extr_ca8210.c_ca8210_set_tx_power.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mach_port_peek ## -- Begin function mach_port_peek
.p2align 4, 0x90
_mach_port_peek: ## @mach_port_peek
.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 _IS_NULL@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
jne LBB0_2
## %bb.1:
movq _KERN_INVALID_TASK@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_2:
movq %r9, %r15
movq %r8, %r12
movl %edx, %r14d
movl %esi, %r13d
movq %rdi, %rbx
movq %rcx, -64(%rbp) ## 8-byte Spill
movl %esi, %edi
callq _MACH_PORT_VALID
testl %eax, %eax
je LBB0_6
## %bb.3:
movl %r14d, %edi
callq _GET_RCV_ELEMENTS
movq _MACH_RCV_TRAILER_AUDIT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_5
## %bb.4:
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl %r14d, %esi
callq _REQUESTED_TRAILER_SIZE
movq 24(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB0_9
LBB0_5:
movq _kGUARD_EXC_INVALID_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %r13d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _mach_port_guard_exception
movq _KERN_INVALID_VALUE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _KERN_INVALID_RIGHT@GOTPCREL(%rip), %rax
LBB0_7:
movq (%rax), %rbx
LBB0_8:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq %rcx, %rax
movq _TRUE@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
movl %r14d, %esi
movq %rax, %r14
callq _REQUESTED_TRAILER_SIZE
movl %eax, (%r14)
leaq -56(%rbp), %rdx
movq %rbx, %rdi
movl %r13d, %esi
callq _ipc_port_translate_receive
movq _KERN_SUCCESS@GOTPCREL(%rip), %r14
cmpq (%r14), %rax
jne LBB0_12
## %bb.10:
movq -56(%rbp), %rdi
leaq -48(%rbp), %r8
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
xorl %r9d, %r9d
callq _ipc_mqueue_peek
movq %rax, %rbx
movq -56(%rbp), %rdi
callq _ip_unlock
movq _TRUE@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_14
## %bb.11:
movl 16(%rbp), %edi
movl (%r13), %eax
movl %eax, -48(%rbp)
movq 24(%rbp), %rax
movl (%rax), %edx
leaq -48(%rbp), %rsi
callq _memcpy
movq (%r14), %rbx
jmp LBB0_8
LBB0_12:
movq %rax, %rbx
movq _KERN_INVALID_NAME@GOTPCREL(%rip), %rax
cmpq %rbx, (%rax)
jne LBB0_15
## %bb.13:
movq _kGUARD_EXC_INVALID_NAME@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_14:
movq _KERN_FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_15:
movq _kGUARD_EXC_INVALID_RIGHT@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %ecx
movl %r13d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _mach_port_guard_exception
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _IS_NULL,8,3 ## @IS_NULL
.comm _KERN_INVALID_TASK,8,3 ## @KERN_INVALID_TASK
.comm _KERN_INVALID_RIGHT,8,3 ## @KERN_INVALID_RIGHT
.comm _MACH_RCV_TRAILER_AUDIT,8,3 ## @MACH_RCV_TRAILER_AUDIT
.comm _TRUE,8,3 ## @TRUE
.comm _kGUARD_EXC_INVALID_VALUE,4,2 ## @kGUARD_EXC_INVALID_VALUE
.comm _KERN_INVALID_VALUE,8,3 ## @KERN_INVALID_VALUE
.comm _KERN_SUCCESS,8,3 ## @KERN_SUCCESS
.comm _KERN_INVALID_NAME,8,3 ## @KERN_INVALID_NAME
.comm _kGUARD_EXC_INVALID_NAME,4,2 ## @kGUARD_EXC_INVALID_NAME
.comm _kGUARD_EXC_INVALID_RIGHT,4,2 ## @kGUARD_EXC_INVALID_RIGHT
.comm _KERN_FAILURE,8,3 ## @KERN_FAILURE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mach_port_peek ; -- Begin function mach_port_peek
.p2align 2
_mach_port_peek: ; @mach_port_peek
.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
Lloh0:
adrp x8, _IS_NULL@GOTPAGE
Lloh1:
ldr x8, [x8, _IS_NULL@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x0
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _KERN_INVALID_TASK@GOTPAGE
Lloh4:
ldr x8, [x8, _KERN_INVALID_TASK@GOTPAGEOFF]
b LBB0_7
LBB0_2:
mov x20, x7
mov x19, x6
mov x23, x5
mov x24, x4
mov x21, x3
mov x26, x2
mov x22, x1
mov x25, x0
mov x0, x1
bl _MACH_PORT_VALID
cbz w0, LBB0_6
; %bb.3:
mov x0, x26
bl _GET_RCV_ELEMENTS
Lloh5:
adrp x8, _MACH_RCV_TRAILER_AUDIT@GOTPAGE
Lloh6:
ldr x8, [x8, _MACH_RCV_TRAILER_AUDIT@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
cmp x0, x8
b.gt LBB0_5
; %bb.4:
Lloh8:
adrp x27, _TRUE@GOTPAGE
Lloh9:
ldr x27, [x27, _TRUE@GOTPAGEOFF]
ldr x0, [x27]
mov x1, x26
bl _REQUESTED_TRAILER_SIZE
ldr w8, [x20]
cmp w0, w8
b.le LBB0_9
LBB0_5:
Lloh10:
adrp x8, _kGUARD_EXC_INVALID_VALUE@GOTPAGE
Lloh11:
ldr x8, [x8, _kGUARD_EXC_INVALID_VALUE@GOTPAGEOFF]
Lloh12:
ldr w3, [x8]
mov x0, x22
mov w1, #0
mov w2, #0
bl _mach_port_guard_exception
Lloh13:
adrp x8, _KERN_INVALID_VALUE@GOTPAGE
Lloh14:
ldr x8, [x8, _KERN_INVALID_VALUE@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh15:
adrp x8, _KERN_INVALID_RIGHT@GOTPAGE
Lloh16:
ldr x8, [x8, _KERN_INVALID_RIGHT@GOTPAGEOFF]
LBB0_7:
ldr x25, [x8]
LBB0_8:
mov x0, x25
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_9:
ldr x0, [x27]
mov x1, x26
bl _REQUESTED_TRAILER_SIZE
str w0, [x20]
add x2, sp, #8
mov x0, x25
mov x1, x22
bl _ipc_port_translate_receive
Lloh17:
adrp x26, _KERN_SUCCESS@GOTPAGE
Lloh18:
ldr x26, [x26, _KERN_SUCCESS@GOTPAGEOFF]
ldr x8, [x26]
cmp x0, x8
b.ne LBB0_12
; %bb.10:
ldr x0, [sp, #8]
mov x4, sp
mov x1, x21
mov x2, x24
mov x3, x23
mov x5, #0
bl _ipc_mqueue_peek
mov x22, x0
ldr x0, [sp, #8]
bl _ip_unlock
ldr x8, [x27]
cmp x22, x8
b.ne LBB0_13
; %bb.11:
ldr w8, [x21]
str w8, [sp]
ldr w2, [x20]
mov x1, sp
mov x0, x19
bl _memcpy
ldr x25, [x26]
b LBB0_8
LBB0_12:
mov x25, x0
Lloh19:
adrp x8, _KERN_INVALID_NAME@GOTPAGE
Lloh20:
ldr x8, [x8, _KERN_INVALID_NAME@GOTPAGEOFF]
Lloh21:
adrp x9, _kGUARD_EXC_INVALID_NAME@GOTPAGE
Lloh22:
ldr x9, [x9, _kGUARD_EXC_INVALID_NAME@GOTPAGEOFF]
Lloh23:
ldr x8, [x8]
Lloh24:
adrp x10, _kGUARD_EXC_INVALID_RIGHT@GOTPAGE
Lloh25:
ldr x10, [x10, _kGUARD_EXC_INVALID_RIGHT@GOTPAGEOFF]
cmp x8, x0
csel x8, x9, x10, eq
ldr w3, [x8]
mov x0, x22
mov w1, #0
mov w2, #0
bl _mach_port_guard_exception
b LBB0_8
LBB0_13:
Lloh26:
adrp x8, _KERN_FAILURE@GOTPAGE
Lloh27:
ldr x8, [x8, _KERN_FAILURE@GOTPAGEOFF]
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh23
.loh AdrpLdrGot Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _IS_NULL,8,3 ; @IS_NULL
.comm _KERN_INVALID_TASK,8,3 ; @KERN_INVALID_TASK
.comm _KERN_INVALID_RIGHT,8,3 ; @KERN_INVALID_RIGHT
.comm _MACH_RCV_TRAILER_AUDIT,8,3 ; @MACH_RCV_TRAILER_AUDIT
.comm _TRUE,8,3 ; @TRUE
.comm _kGUARD_EXC_INVALID_VALUE,4,2 ; @kGUARD_EXC_INVALID_VALUE
.comm _KERN_INVALID_VALUE,8,3 ; @KERN_INVALID_VALUE
.comm _KERN_SUCCESS,8,3 ; @KERN_SUCCESS
.comm _KERN_INVALID_NAME,8,3 ; @KERN_INVALID_NAME
.comm _kGUARD_EXC_INVALID_NAME,4,2 ; @kGUARD_EXC_INVALID_NAME
.comm _kGUARD_EXC_INVALID_RIGHT,4,2 ; @kGUARD_EXC_INVALID_RIGHT
.comm _KERN_FAILURE,8,3 ; @KERN_FAILURE
.subsections_via_symbols
| AnghaBench/darwin-xnu/osfmk/ipc/extr_mach_port.c_mach_port_peek.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $112, %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
xorl %r14d, %r14d
leaq -144(%rbp), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movq %rbx, %rdi
callq _strlen
testl %eax, %eax
jle LBB0_15
## %bb.1:
movl %eax, %esi
andl $1, %eax
cmpq $1, %rsi
jne LBB0_17
## %bb.2:
xorl %ecx, %ecx
xorl %r12d, %r12d
xorl %r15d, %r15d
LBB0_3:
testq %rax, %rax
je LBB0_10
## %bb.4:
movb -144(%rbp,%rcx), %al
cmpb $49, %al
je LBB0_9
## %bb.5:
cmpb $50, %al
je LBB0_8
## %bb.6:
cmpb $51, %al
jne LBB0_10
## %bb.7:
incl %r12d
jmp LBB0_10
LBB0_17:
subq %rax, %rsi
xorl %ecx, %ecx
xorl %r14d, %r14d
xorl %r12d, %r12d
xorl %r15d, %r15d
jmp LBB0_18
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_18 Depth=1
incl %r15d
LBB0_30: ## in Loop: Header=BB0_18 Depth=1
addq $2, %rcx
cmpq %rcx, %rsi
je LBB0_3
LBB0_18: ## =>This Inner Loop Header: Depth=1
movzbl -144(%rbp,%rcx), %edx
cmpb $51, %dl
je LBB0_23
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpb $50, %dl
je LBB0_22
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
cmpb $49, %dl
jne LBB0_24
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
incl %r14d
jmp LBB0_24
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_18 Depth=1
incl %r15d
jmp LBB0_24
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_18 Depth=1
incl %r12d
LBB0_24: ## in Loop: Header=BB0_18 Depth=1
movzbl -143(%rbp,%rcx), %edx
cmpb $49, %dl
je LBB0_29
## %bb.25: ## in Loop: Header=BB0_18 Depth=1
cmpb $50, %dl
je LBB0_28
## %bb.26: ## in Loop: Header=BB0_18 Depth=1
cmpb $51, %dl
jne LBB0_30
## %bb.27: ## in Loop: Header=BB0_18 Depth=1
incl %r12d
jmp LBB0_30
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_18 Depth=1
incl %r14d
jmp LBB0_30
LBB0_9:
incl %r14d
jmp LBB0_10
LBB0_8:
incl %r15d
jmp LBB0_10
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_10 Depth=1
movl $43, %edi
callq _putchar
LBB0_10: ## =>This Inner Loop Header: Depth=1
testl %r14d, %r14d
je LBB0_11
## %bb.31: ## in Loop: Header=BB0_10 Depth=1
movl %r14d, %ebx
leal -1(%rbx), %r14d
movl $49, %edi
callq _putchar
cmpl $1, %ebx
jg LBB0_34
## %bb.32: ## in Loop: Header=BB0_10 Depth=1
testl %r15d, %r15d
jg LBB0_34
## %bb.33: ## in Loop: Header=BB0_10 Depth=1
testl %r12d, %r12d
jle LBB0_10
jmp LBB0_34
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_11 Depth=1
movl $43, %edi
callq _putchar
LBB0_11: ## =>This Inner Loop Header: Depth=1
testl %r15d, %r15d
je LBB0_12
## %bb.35: ## in Loop: Header=BB0_11 Depth=1
movl %r15d, %ebx
leal -1(%rbx), %r15d
movl $50, %edi
callq _putchar
cmpl $1, %ebx
jg LBB0_37
## %bb.36: ## in Loop: Header=BB0_11 Depth=1
testl %r12d, %r12d
jle LBB0_11
jmp LBB0_37
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_12 Depth=1
movl %r12d, %ebx
leal -1(%rbx), %r12d
movl $51, %edi
callq _putchar
cmpl $2, %ebx
jl LBB0_12
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movl $43, %edi
callq _putchar
LBB0_12: ## =>This Inner Loop Header: Depth=1
testl %r12d, %r12d
jne LBB0_13
LBB0_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_16
## %bb.38:
xorl %eax, %eax
addq $112, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #20
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
add x0, sp, #20
bl _strlen
cmp w0, #1
b.lt LBB0_6
; %bb.1:
mov w21, #0
mov w19, #0
mov w20, #0
and x8, x0, #0xffffffff
add x9, sp, #20
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x9], #1
cmp w10, #49
cinc w11, w21, eq
cmp w10, #50
csel w11, w21, w11, eq
cinc w12, w20, eq
cmp w10, #51
csel w20, w20, w12, eq
cinc w19, w19, eq
csel w21, w21, w11, eq
subs x8, x8, #1
b.ne LBB0_2
; %bb.3:
cbnz w21, LBB0_13
LBB0_4:
cbnz w20, LBB0_18
LBB0_5:
cbnz w19, LBB0_9
LBB0_6:
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_20
; %bb.7:
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_8: ; in Loop: Header=BB0_9 Depth=1
cbz w19, LBB0_6
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x20, x19
sub w19, w19, #1
mov w0, #51
bl _putchar
cmp w20, #2
b.lt LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov w0, #43
bl _putchar
b LBB0_8
LBB0_11: ; in Loop: Header=BB0_13 Depth=1
mov w0, #43
bl _putchar
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
cbz w21, LBB0_4
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov w0, #49
bl _putchar
subs w21, w21, #1
b.gt LBB0_11
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
cmp w20, #0
b.gt LBB0_11
; %bb.15: ; in Loop: Header=BB0_13 Depth=1
cmp w19, #1
b.lt LBB0_12
b LBB0_11
LBB0_16: ; in Loop: Header=BB0_18 Depth=1
mov w0, #43
bl _putchar
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
cbz w20, LBB0_5
LBB0_18: ; =>This Inner Loop Header: Depth=1
mov w0, #50
bl _putchar
subs w20, w20, #1
b.gt LBB0_16
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
cmp w19, #1
b.lt LBB0_17
b LBB0_16
LBB0_20:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| the_stack_data/248581262.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function decode_string
_decode_string: ## @decode_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 %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), %rax
cmpq %rdx, %rax
jae LBB0_5
## %bb.1:
movl %ecx, %r13d
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %r8, -48(%rbp) ## 8-byte Spill
movl (%rax), %ebx
movq %rsi, %rdi
movq %rdx, %rsi
movl $7, %edx
callq _h2o_hpack_decode_int
testl %eax, %eax
js LBB0_5
## %bb.2:
movl %eax, %r14d
movq (%r12), %rdi
subq %rdi, %r15
sarq $2, %r15
movl %eax, %eax
testb $-128, %bl
jne LBB0_7
## %bb.3:
cmpq %rax, %r15
jl LBB0_5
## %bb.9:
movq %rax, %r15
testl %r13d, %r13d
je LBB0_16
## %bb.10:
cmpl $58, (%rdi)
je LBB0_17
## %bb.11:
movl %r14d, %esi
movq -48(%rbp), %rdx ## 8-byte Reload
callq _h2o_hpack_validate_header_name
testl %eax, %eax
jne LBB0_17
jmp LBB0_5
LBB0_7:
cmpq %rax, %r15
jl LBB0_5
## %bb.13:
movq %rax, %r15
movl %r14d, %esi
addl %r14d, %esi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _alloc_buf
movq %rax, %rbx
movq 8(%rax), %rdi
movq (%r12), %rsi
movl %r14d, %edx
movl %r13d, %ecx
movq -48(%rbp), %r8 ## 8-byte Reload
callq _h2o_hpack_decode_huffman
movq %rax, (%rbx)
movq _SIZE_MAX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_15
LBB0_5:
xorl %ebx, %ebx
LBB0_19:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq %r15, %rdx
jmp LBB0_18
LBB0_16:
movl %r14d, %esi
movq -48(%rbp), %rdx ## 8-byte Reload
callq _h2o_hpack_validate_header_value
LBB0_17:
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r14d, %esi
callq _alloc_buf
movq %rax, %rbx
movq 8(%rax), %rdi
movq (%r12), %rsi
movl %r14d, %edx
callq _memcpy
movq %r15, %rdx
movq %r15, %rax
LBB0_18:
movq 8(%rbx), %rcx
movb $0, (%rcx,%rax)
shlq $2, %rdx
addq %rdx, (%r12)
jmp LBB0_19
.cfi_endproc
## -- End function
.comm _SIZE_MAX,8,3 ## @SIZE_MAX
.no_dead_strip _decode_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function decode_string
_decode_string: ; @decode_string
.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
ldr x8, [x1]
cmp x8, x2
b.hs LBB0_9
; %bb.1:
mov x21, x4
mov x23, x3
mov x24, x2
mov x19, x1
mov x22, x0
ldr w26, [x8]
mov x0, x1
mov x1, x2
mov w2, #7
bl _h2o_hpack_decode_int
tbnz w0, #31, LBB0_9
; %bb.2:
mov x20, x0
mov w25, w0
ldr x0, [x19]
sub x8, x24, x0
asr x8, x8, #2
cmp x8, x25
tbnz w26, #7, LBB0_7
; %bb.3:
b.lt LBB0_9
; %bb.4:
cbz w23, LBB0_11
; %bb.5:
ldr w8, [x0]
cmp w8, #58
b.eq LBB0_12
; %bb.6:
mov x1, x20
mov x2, x21
bl _h2o_hpack_validate_header_name
cbnz w0, LBB0_12
b LBB0_9
LBB0_7:
b.lt LBB0_9
; %bb.8:
lsl w1, w20, #1
mov x0, x22
bl _alloc_buf
mov x22, x0
ldr x0, [x0, #8]
ldr x1, [x19]
mov x2, x20
mov x3, x23
mov x4, x21
bl _h2o_hpack_decode_huffman
str x0, [x22]
Lloh0:
adrp x8, _SIZE_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_13
LBB0_9:
mov x22, #0
LBB0_10:
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
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_11:
mov x1, x20
mov x2, x21
bl _h2o_hpack_validate_header_value
LBB0_12:
mov x0, x22
mov x1, x20
bl _alloc_buf
mov x22, x0
ldr x0, [x0, #8]
ldr x1, [x19]
mov x2, x20
bl _memcpy
mov x0, x25
LBB0_13:
ldr x8, [x22, #8]
strb wzr, [x8, x0]
ldr x8, [x19]
add x8, x8, x25, lsl #2
str x8, [x19]
b LBB0_10
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIZE_MAX,8,3 ; @SIZE_MAX
.no_dead_strip _decode_string
.subsections_via_symbols
| AnghaBench/h2o/lib/http2/extr_hpack.c_decode_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function StripSpace
_StripSpace: ## @StripSpace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _strlen
movslq %eax, %rcx
negq %rcx
movq %rbx, %rax
jmp LBB0_1
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
incq %rax
LBB0_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rax), %edx
cmpl $10, %edx
je LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $13, %edx
je LBB0_9
## %bb.3:
addq %rbx, %rcx
decq %rcx
cmpq %rcx, %rax
ja LBB0_8
## %bb.4:
movabsq $4294977024, %rdx ## imm = 0x100002600
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx), %esi
cmpq $32, %rsi
ja LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
btq %rsi, %rdx
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movb $0, (%rcx)
decq %rcx
cmpq %rcx, %rax
jbe LBB0_5
LBB0_8:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _StripSpace
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function StripSpace
_StripSpace: ; @StripSpace
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _strlen
mov x8, #0 ; =0x0
sub x8, x8, w0, sxtw
mov x0, x19
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x0]
cmp w9, #10
ccmp w9, #13, #4, ne
b.ne LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add x0, x0, #1
b LBB0_1
LBB0_3:
add x8, x19, x8
sub x8, x8, #1
cmp x0, x8
b.hi LBB0_7
; %bb.4:
mov w9, #1 ; =0x1
mov x10, #9728 ; =0x2600
movk x10, #1, lsl #32
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x8]
cmp w11, #32
lsl x11, x9, x11
and x11, x11, x10
ccmp x11, #0, #4, ls
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
strb wzr, [x8], #-1
cmp x0, x8
b.ls LBB0_5
LBB0_7:
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 _StripSpace
.subsections_via_symbols
| assembly_file_155402.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq $0, -16(%rbp)
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
movq -16(%rbp), %rcx
testq %rcx, %rcx
jle LBB0_2
## %bb.1:
leaq -1(%rcx), %rax
leaq -2(%rcx), %rdx
mulq %rdx
shldq $63, %rax, %rdx
leaq (%rcx,%rdx), %rbx
decq %rbx
LBB0_2:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter limit: "
L_.str.1: ## @.str.1
.asciz "%ld"
L_.str.2: ## @.str.2
.asciz "Total = %ld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str xzr, [sp, #8]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #8
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x8, [sp, #8]
subs x9, x8, #1
b.lt LBB0_2
; %bb.1:
sub x10, x8, #2
mul x11, x9, x10
umulh x9, x9, x10
extr x9, x9, x11, #1
add x8, x8, x9
sub x8, x8, #1
b LBB0_3
LBB0_2:
mov x8, #0
LBB0_3:
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter limit: "
l_.str.1: ; @.str.1
.asciz "%ld"
l_.str.2: ; @.str.2
.asciz "Total = %ld\n"
.subsections_via_symbols
| the_stack_data/53085.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%3d"
.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 w8, #1
str x8, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #2
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #3
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #4
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #5
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #6
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #7
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #8
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #9
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #10
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%3d"
.subsections_via_symbols
| the_stack_data/28262182.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qed_init_qm_rl_pqs
_qed_init_qm_rl_pqs: ## @qed_init_qm_rl_pqs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _qed_init_qm_get_num_pf_rls
movq %rax, %rbx
movq %r14, %rdi
callq _qed_get_pq_flags
movq _PQ_FLAGS_RLS@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
testl %eax, %esi
je LBB0_4
## %bb.1:
movl (%r14), %edx
movq %r14, %rdi
callq _qed_init_qm_set_idx
testq %rbx, %rbx
jle LBB0_4
## %bb.2:
movq _PQ_INIT_PF_RL@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _qed_get_offload_tc
movl (%r15), %ecx
movq %r14, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _qed_init_qm_pq
decq %rbx
jne LBB0_3
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PQ_FLAGS_RLS,4,2 ## @PQ_FLAGS_RLS
.comm _PQ_INIT_PF_RL,4,2 ## @PQ_INIT_PF_RL
.no_dead_strip _qed_init_qm_rl_pqs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qed_init_qm_rl_pqs
_qed_init_qm_rl_pqs: ; @qed_init_qm_rl_pqs
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _qed_init_qm_get_num_pf_rls
mov x20, x0
mov x0, x19
bl _qed_get_pq_flags
Lloh0:
adrp x8, _PQ_FLAGS_RLS@GOTPAGE
Lloh1:
ldr x8, [x8, _PQ_FLAGS_RLS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
tst w1, w0
b.eq LBB0_4
; %bb.1:
ldr w2, [x19]
mov x0, x19
bl _qed_init_qm_set_idx
cmp x20, #1
b.lt LBB0_4
; %bb.2:
Lloh3:
adrp x21, _PQ_INIT_PF_RL@GOTPAGE
Lloh4:
ldr x21, [x21, _PQ_INIT_PF_RL@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _qed_get_offload_tc
mov x2, x0
ldr w3, [x21]
mov x0, x19
mov x1, x19
bl _qed_init_qm_pq
subs x20, x20, #1
b.ne LBB0_3
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _PQ_FLAGS_RLS,4,2 ; @PQ_FLAGS_RLS
.comm _PQ_INIT_PF_RL,4,2 ; @PQ_INIT_PF_RL
.no_dead_strip _qed_init_qm_rl_pqs
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_dev.c_qed_init_qm_rl_pqs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function redaction_list_evict_sync
_redaction_list_evict_sync: ## @redaction_list_evict_sync
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _zfs_refcount_destroy
movq %rbx, %rdi
movl $4, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kmem_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _redaction_list_evict_sync
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function redaction_list_evict_sync
_redaction_list_evict_sync: ; @redaction_list_evict_sync
.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 _zfs_refcount_destroy
mov x0, x19
mov w1, #4
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _kmem_free
.cfi_endproc
; -- End function
.no_dead_strip _redaction_list_evict_sync
.subsections_via_symbols
| AnghaBench/zfs/module/zfs/extr_dsl_bookmark.c_redaction_list_evict_sync.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function breakpoint_enabled
_breakpoint_enabled: ## @breakpoint_enabled
.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 _bp_enabled@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jne LBB0_2
## %bb.1:
xorl %eax, %eax
cmpl $0, 8(%rdi)
sete %al
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _bp_enabled,8,3 ## @bp_enabled
.no_dead_strip _breakpoint_enabled
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function breakpoint_enabled
_breakpoint_enabled: ; @breakpoint_enabled
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _bp_enabled@GOTPAGE
Lloh1:
ldr x9, [x9, _bp_enabled@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ldr w8, [x0, #8]
cmp w8, #0
cset w0, eq
ret
LBB0_2:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _bp_enabled,8,3 ; @bp_enabled
.no_dead_strip _breakpoint_enabled
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_breakpoint.c_breakpoint_enabled.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _config_get_option_list ## -- Begin function config_get_option_list
.p2align 4, 0x90
_config_get_option_list: ## @config_get_option_list
.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 %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq -48(%rbp), %r12
movq %r12, %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq $0, (%r14)
movq _config_collate_func@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
callq _config_get_option
testl %eax, %eax
je LBB0_1
## %bb.2:
cmpq $0, -40(%rbp)
movq -48(%rbp), %rdi
je LBB0_4
## %bb.3:
callq _config_delstrlist
movl $2, %eax
jmp LBB0_5
LBB0_1:
movl $1, %eax
jmp LBB0_5
LBB0_4:
movq %rdi, (%r14)
xorl %eax, %eax
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _config_collate_func,4,2 ## @config_collate_func
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _config_get_option_list ; -- Begin function config_get_option_list
.p2align 2
_config_get_option_list: ; @config_get_option_list
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, sp
mov w1, #0
mov w2, #16
bl _memset
str xzr, [x19]
Lloh0:
adrp x8, _config_collate_func@GOTPAGE
Lloh1:
ldr x8, [x8, _config_collate_func@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x3, sp
mov x0, x21
mov x1, x20
bl _config_get_option
cbz w0, LBB0_3
; %bb.1:
ldp x8, x9, [sp]
cbz x9, LBB0_4
; %bb.2:
mov x0, x8
bl _config_delstrlist
mov w0, #2
b LBB0_5
LBB0_3:
mov w0, #1
b LBB0_5
LBB0_4:
mov w0, #0
str x8, [x19]
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _config_collate_func,4,2 ; @config_collate_func
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/util/extr_config_file.c_config_get_option_list.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 $1, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _device_compute ## -- Begin function device_compute
.p2align 4, 0x90
_device_compute: ## @device_compute
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _host_compute ## -- Begin function host_compute
.p2align 4, 0x90
_host_compute: ## @host_compute
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sum = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #1
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _device_compute ; -- Begin function device_compute
.p2align 2
_device_compute: ; @device_compute
.cfi_startproc
; %bb.0:
mov w8, #1
str w8, [x0]
ret
.cfi_endproc
; -- End function
.globl _host_compute ; -- Begin function host_compute
.p2align 2
_host_compute: ; @host_compute
.cfi_startproc
; %bb.0:
mov w8, #1
str w8, [x0]
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sum = %d\n"
.subsections_via_symbols
| the_stack_data/117328607.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function tc_fill_all_pass_entry
LCPI0_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
LCPI0_1:
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_tc_fill_all_pass_entry: ## @tc_fill_all_pass_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %esi, %esi
movl $40, %edx
callq _memset
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [1,1,0,4294967295]
movups %xmm0, (%rbx)
movq $0, 32(%rbx)
movaps LCPI0_1(%rip), %xmm0 ## xmm0 = [0,0,1,0]
movups %xmm0, 16(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _tc_fill_all_pass_entry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function tc_fill_all_pass_entry
lCPI0_0:
.long 1 ; 0x1
.long 1 ; 0x1
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
lCPI0_1:
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_tc_fill_all_pass_entry: ; @tc_fill_all_pass_entry
.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
mov w1, #0
mov w2, #40
bl _memset
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str xzr, [x19, #32]
Lloh2:
adrp x8, lCPI0_1@PAGE
Lloh3:
ldr q1, [x8, lCPI0_1@PAGEOFF]
stp q0, q1, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpAdrp Lloh0, Lloh2
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.no_dead_strip _tc_fill_all_pass_entry
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_tc.c_tc_fill_all_pass_entry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ghb_queue_select_log ## -- Begin function ghb_queue_select_log
.p2align 4, 0x90
_ghb_queue_select_log: ## @ghb_queue_select_log
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movl 24(%rdi), %edi
leaq L_.str(%rip), %rsi
callq _GHB_WIDGET
movl %eax, %edi
callq _GTK_LIST_BOX
movq %rax, %rdi
callq _gtk_list_box_get_selected_row
testq %rax, %rax
je LBB0_15
## %bb.1:
movq %rax, %rdi
callq _gtk_list_box_row_get_index
testq %rax, %rax
js LBB0_15
## %bb.2:
movq %rax, %rbx
movl 28(%r13), %edi
callq _ghb_array_len
cmpq %rax, %rbx
jge LBB0_15
## %bb.3:
movl 28(%r13), %edi
movq %rbx, %rsi
callq _ghb_array_get
leaq L_.str.1(%rip), %rsi
movq %rax, %rdi
callq _ghb_dict_get
movq %rax, %r14
movl 24(%r13), %edi
leaq L_.str.2(%rip), %rsi
callq _GHB_WIDGET
movl %eax, %edi
callq _GTK_TEXT_VIEW
movq %rax, %r15
movq %rax, %rdi
callq _gtk_text_view_get_buffer
movq %rax, %rbx
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _ghb_dict_get_int
movl %eax, %r12d
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _ghb_dict_get_string
movq _GHB_QUEUE_PENDING@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r12d
je LBB0_6
## %bb.4:
testq %rax, %rax
je LBB0_6
## %bb.5:
movq %rax, %rdi
jmp LBB0_7
LBB0_6:
leaq L_.str.6(%rip), %rdi
LBB0_7:
callq _ghb_string_value
movl %eax, %edx
leaq L_.str.5(%rip), %rsi
movq %r13, %rdi
callq _ghb_ui_update
movq _GHB_QUEUE_RUNNING@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jne LBB0_10
## %bb.8:
movq 16(%r13), %rsi
cmpq %rbx, %rsi
je LBB0_15
## %bb.9:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _gtk_text_view_set_buffer ## TAILCALL
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq (%r13), %rsi
cmpq %rbx, %rsi
je LBB0_12
## %bb.11:
movq %r15, %rdi
callq _gtk_text_view_set_buffer
LBB0_12:
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _ghb_dict_get_string
movq _GHB_QUEUE_PENDING@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r12d
je LBB0_14
## %bb.13:
testq %rax, %rax
je LBB0_14
## %bb.16:
movq %r13, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _read_log ## TAILCALL
LBB0_14:
movq 8(%r13), %rdi
callq _g_free
movq $0, 8(%r13)
movq (%r13), %rdi
leaq L_.str.6(%rip), %rsi
xorl %edx, %edx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _gtk_text_buffer_set_text ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "queue_list"
L_.str.1: ## @.str.1
.asciz "uiSettings"
L_.str.2: ## @.str.2
.asciz "queue_activity_view"
L_.str.3: ## @.str.3
.asciz "job_status"
L_.str.4: ## @.str.4
.asciz "ActivityFilename"
.comm _GHB_QUEUE_PENDING,4,2 ## @GHB_QUEUE_PENDING
L_.str.5: ## @.str.5
.asciz "queue_activity_location"
L_.str.6: ## @.str.6
.space 1
.comm _GHB_QUEUE_RUNNING,4,2 ## @GHB_QUEUE_RUNNING
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ghb_queue_select_log ; -- Begin function ghb_queue_select_log
.p2align 2
_ghb_queue_select_log: ; @ghb_queue_select_log
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr w0, [x0, #24]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _GHB_WIDGET
bl _GTK_LIST_BOX
bl _gtk_list_box_get_selected_row
cbz x0, LBB0_8
; %bb.1:
bl _gtk_list_box_row_get_index
tbnz x0, #63, LBB0_8
; %bb.2:
mov x20, x0
ldr w0, [x19, #28]
bl _ghb_array_len
cmp x20, x0
b.ge LBB0_8
; %bb.3:
ldr w0, [x19, #28]
mov x1, x20
bl _ghb_array_get
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _ghb_dict_get
mov x20, x0
ldr w0, [x19, #24]
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
bl _GHB_WIDGET
bl _GTK_TEXT_VIEW
mov x21, x0
bl _gtk_text_view_get_buffer
mov x23, x0
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _ghb_dict_get_int
mov x22, x0
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _ghb_dict_get_string
Lloh10:
adrp x24, _GHB_QUEUE_PENDING@GOTPAGE
Lloh11:
ldr x24, [x24, _GHB_QUEUE_PENDING@GOTPAGEOFF]
ldr w8, [x24]
cmp w22, w8
ccmp x0, #0, #4, ne
b.ne LBB0_5
; %bb.4:
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
LBB0_5:
bl _ghb_string_value
mov x2, x0
Lloh14:
adrp x1, l_.str.5@PAGE
Lloh15:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _ghb_ui_update
Lloh16:
adrp x8, _GHB_QUEUE_RUNNING@GOTPAGE
Lloh17:
ldr x8, [x8, _GHB_QUEUE_RUNNING@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
cmp w22, w8
b.ne LBB0_9
; %bb.6:
ldr x1, [x19, #16]
cmp x1, x23
b.eq LBB0_8
; %bb.7:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _gtk_text_view_set_buffer
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
LBB0_9:
ldr x1, [x19]
cmp x1, x23
b.eq LBB0_11
; %bb.10:
mov x0, x21
bl _gtk_text_view_set_buffer
LBB0_11:
Lloh19:
adrp x1, l_.str.4@PAGE
Lloh20:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
bl _ghb_dict_get_string
ldr w8, [x24]
cmp w22, w8
b.eq LBB0_14
; %bb.12:
mov x1, x0
cbz x0, LBB0_14
; %bb.13:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _read_log
LBB0_14:
ldr x0, [x19, #8]
bl _g_free
str xzr, [x19, #8]
ldr x0, [x19]
Lloh21:
adrp x1, l_.str.6@PAGE
Lloh22:
add x1, x1, l_.str.6@PAGEOFF
mov w2, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _gtk_text_buffer_set_text
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "queue_list"
l_.str.1: ; @.str.1
.asciz "uiSettings"
l_.str.2: ; @.str.2
.asciz "queue_activity_view"
l_.str.3: ; @.str.3
.asciz "job_status"
l_.str.4: ; @.str.4
.asciz "ActivityFilename"
.comm _GHB_QUEUE_PENDING,4,2 ; @GHB_QUEUE_PENDING
l_.str.5: ; @.str.5
.asciz "queue_activity_location"
l_.str.6: ; @.str.6
.space 1
.comm _GHB_QUEUE_RUNNING,4,2 ; @GHB_QUEUE_RUNNING
.subsections_via_symbols
| AnghaBench/HandBrake/gtk/src/extr_queuehandler.c_ghb_queue_select_log.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function eeh_dev_removed
_eeh_dev_removed: ## @eeh_dev_removed
.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 _EEH_DEV_REMOVED@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
testl %ecx, (%rdi)
setne %al
popq %rbp
retq
LBB0_1:
movl $1, %eax
retq
.cfi_endproc
## -- End function
.comm _EEH_DEV_REMOVED,4,2 ## @EEH_DEV_REMOVED
.no_dead_strip _eeh_dev_removed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function eeh_dev_removed
_eeh_dev_removed: ; @eeh_dev_removed
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
ldr w8, [x0]
Lloh0:
adrp x9, _EEH_DEV_REMOVED@GOTPAGE
Lloh1:
ldr x9, [x9, _EEH_DEV_REMOVED@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w0, ne
ret
LBB0_2:
mov w0, #1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EEH_DEV_REMOVED,4,2 ; @EEH_DEV_REMOVED
.no_dead_strip _eeh_dev_removed
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/kernel/extr_eeh_driver.c_eeh_dev_removed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _kvm_mmu_free_roots ## -- Begin function kvm_mmu_free_roots
.p2align 4, 0x90
_kvm_mmu_free_roots: ## @kvm_mmu_free_roots
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, -48(%rbp) ## 8-byte Spill
movq _invalid_list@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _LIST_HEAD
movq _KVM_MMU_ROOT_CURRENT@GOTPCREL(%rip), %rax
movq _KVM_MMU_NUM_PREV_ROOTS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _BITS_PER_LONG@GOTPCREL(%rip), %rdx
xorl %edi, %edi
cmpl (%rdx), %ecx
setge %dil
movl (%rax), %ebx
callq _BUILD_BUG_ON
orl %r15d, %ebx
je LBB0_2
## %bb.1:
movq (%r14), %rdi
callq _VALID_PAGE
testq %rax, %rax
jne LBB0_8
LBB0_2:
movq _KVM_MMU_NUM_PREV_ROOTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %r12d, %r12d
testl %eax, %eax
jns LBB0_3
LBB0_7:
cmpl %eax, %r12d
jne LBB0_8
LBB0_29:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
decq %r12
movq _KVM_MMU_NUM_PREV_ROOTS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
cmpq %rax, %r12
jg LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %r12d, %edi
callq _KVM_MMU_ROOT_PREVIOUS
testl %r15d, %eax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 48(%r14), %rax
movq (%rax,%r12,8), %rdi
callq _VALID_PAGE
testq %rax, %rax
je LBB0_6
## %bb.5:
movq _KVM_MMU_NUM_PREV_ROOTS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %r12d
je LBB0_29
LBB0_8:
movl %ebx, -52(%rbp) ## 4-byte Spill
movq %r14, %rbx
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
callq _spin_lock
movq _KVM_MMU_NUM_PREV_ROOTS@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_13
## %bb.9:
xorl %r14d, %r14d
movq _invalid_list@GOTPCREL(%rip), %r12
xorl %r13d, %r13d
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
incq %r13
movq _KVM_MMU_NUM_PREV_ROOTS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
addq $8, %r14
cmpq %rax, %r13
jge LBB0_13
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edi
callq _KVM_MMU_ROOT_PREVIOUS
testl %r15d, %eax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq 48(%rbx), %rsi
addq %r14, %rsi
movq %r12, %rdx
callq _mmu_free_root_page
jmp LBB0_12
LBB0_13:
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_28
## %bb.14:
movq _PT64_ROOT_4LEVEL@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, 8(%rbx)
jge LBB0_15
LBB0_18:
movq 24(%rbx), %rsi
cmpq $0, (%rsi)
je LBB0_20
## %bb.19:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _invalid_list@GOTPCREL(%rip), %rdx
callq _mmu_free_root_page
movq 24(%rbx), %rsi
LBB0_20:
cmpq $0, 8(%rsi)
je LBB0_22
## %bb.21:
addq $8, %rsi
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _invalid_list@GOTPCREL(%rip), %rdx
callq _mmu_free_root_page
movq 24(%rbx), %rsi
LBB0_22:
cmpq $0, 16(%rsi)
je LBB0_24
## %bb.23:
addq $16, %rsi
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _invalid_list@GOTPCREL(%rip), %rdx
callq _mmu_free_root_page
movq 24(%rbx), %rsi
LBB0_24:
cmpq $0, 24(%rsi)
je LBB0_26
## %bb.25:
addq $24, %rsi
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _invalid_list@GOTPCREL(%rip), %rdx
callq _mmu_free_root_page
LBB0_26:
movq _INVALID_PAGE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rbx)
jmp LBB0_27
LBB0_15:
cmpq %rax, 16(%rbx)
jge LBB0_17
## %bb.16:
cmpq $0, 40(%rbx)
je LBB0_18
LBB0_17:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
movq _invalid_list@GOTPCREL(%rip), %rdx
movq %rbx, %rsi
callq _mmu_free_root_page
LBB0_27:
movq $0, 32(%rbx)
LBB0_28:
movq -48(%rbp), %rbx ## 8-byte Reload
movq (%rbx), %rdi
movq _invalid_list@GOTPCREL(%rip), %rsi
callq _kvm_mmu_commit_zap_page
movq (%rbx), %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _invalid_list,4,2 ## @invalid_list
.comm _KVM_MMU_ROOT_CURRENT,4,2 ## @KVM_MMU_ROOT_CURRENT
.comm _KVM_MMU_NUM_PREV_ROOTS,4,2 ## @KVM_MMU_NUM_PREV_ROOTS
.comm _BITS_PER_LONG,4,2 ## @BITS_PER_LONG
.comm _PT64_ROOT_4LEVEL,8,3 ## @PT64_ROOT_4LEVEL
.comm _INVALID_PAGE,8,3 ## @INVALID_PAGE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _kvm_mmu_free_roots ; -- Begin function kvm_mmu_free_roots
.p2align 2
_kvm_mmu_free_roots: ; @kvm_mmu_free_roots
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _invalid_list@GOTPAGE
Lloh1:
ldr x8, [x8, _invalid_list@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _LIST_HEAD
Lloh3:
adrp x8, _KVM_MMU_ROOT_CURRENT@GOTPAGE
Lloh4:
ldr x8, [x8, _KVM_MMU_ROOT_CURRENT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
orr w24, w8, w21
Lloh6:
adrp x25, _KVM_MMU_NUM_PREV_ROOTS@GOTPAGE
Lloh7:
ldr x25, [x25, _KVM_MMU_NUM_PREV_ROOTS@GOTPAGEOFF]
ldr w8, [x25]
Lloh8:
adrp x9, _BITS_PER_LONG@GOTPAGE
Lloh9:
ldr x9, [x9, _BITS_PER_LONG@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
cmp w8, w9
cset w0, ge
bl _BUILD_BUG_ON
cbz w24, LBB0_2
; %bb.1:
ldr x0, [x20]
bl _VALID_PAGE
cbnz x0, LBB0_11
LBB0_2:
ldr w8, [x25]
tbnz w8, #31, LBB0_10
; %bb.3:
mov x22, #0 ; =0x0
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x22, x22, #1
ldrsw x8, [x25]
cmp x22, x8
b.gt LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _KVM_MMU_ROOT_PREVIOUS
tst w0, w21
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #48]
ldr x0, [x8, x22, lsl #3]
bl _VALID_PAGE
cbz x0, LBB0_4
; %bb.7:
ldr w8, [x25]
LBB0_8:
cmp w22, w8
b.ne LBB0_11
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_10:
mov w22, #0 ; =0x0
cmp w22, w8
b.eq LBB0_9
LBB0_11:
ldr x0, [x19]
bl _spin_lock
ldr w8, [x25]
cmp w8, #1
b.lt LBB0_16
; %bb.12:
mov x26, #0 ; =0x0
mov x22, #0 ; =0x0
Lloh11:
adrp x23, _invalid_list@GOTPAGE
Lloh12:
ldr x23, [x23, _invalid_list@GOTPAGEOFF]
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
add x22, x22, #1
ldrsw x8, [x25]
add x26, x26, #8
cmp x22, x8
b.ge LBB0_16
LBB0_14: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _KVM_MMU_ROOT_PREVIOUS
tst w0, w21
b.eq LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
ldr x0, [x19]
ldr x8, [x20, #48]
add x1, x8, x26
mov x2, x23
bl _mmu_free_root_page
b LBB0_13
LBB0_16:
cbz w24, LBB0_31
; %bb.17:
ldr x9, [x20, #8]
Lloh13:
adrp x8, _PT64_ROOT_4LEVEL@GOTPAGE
Lloh14:
ldr x8, [x8, _PT64_ROOT_4LEVEL@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
cmp x9, x8
b.ge LBB0_27
LBB0_18:
ldr x1, [x20, #24]
ldr x8, [x1]
cbz x8, LBB0_20
; %bb.19:
ldr x0, [x19]
Lloh16:
adrp x2, _invalid_list@GOTPAGE
Lloh17:
ldr x2, [x2, _invalid_list@GOTPAGEOFF]
bl _mmu_free_root_page
ldr x1, [x20, #24]
LBB0_20:
mov x8, x1
ldr x9, [x8, #8]!
cbz x9, LBB0_22
; %bb.21:
ldr x0, [x19]
Lloh18:
adrp x2, _invalid_list@GOTPAGE
Lloh19:
ldr x2, [x2, _invalid_list@GOTPAGEOFF]
mov x1, x8
bl _mmu_free_root_page
ldr x1, [x20, #24]
LBB0_22:
mov x8, x1
ldr x9, [x8, #16]!
cbz x9, LBB0_24
; %bb.23:
ldr x0, [x19]
Lloh20:
adrp x2, _invalid_list@GOTPAGE
Lloh21:
ldr x2, [x2, _invalid_list@GOTPAGEOFF]
mov x1, x8
bl _mmu_free_root_page
ldr x1, [x20, #24]
LBB0_24:
ldr x8, [x1, #24]!
cbz x8, LBB0_26
; %bb.25:
ldr x0, [x19]
Lloh22:
adrp x2, _invalid_list@GOTPAGE
Lloh23:
ldr x2, [x2, _invalid_list@GOTPAGEOFF]
bl _mmu_free_root_page
LBB0_26:
Lloh24:
adrp x8, _INVALID_PAGE@GOTPAGE
Lloh25:
ldr x8, [x8, _INVALID_PAGE@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
str x8, [x20]
b LBB0_30
LBB0_27:
ldr x9, [x20, #16]
cmp x9, x8
b.ge LBB0_29
; %bb.28:
ldr x8, [x20, #40]
cbz x8, LBB0_18
LBB0_29:
ldr x0, [x19]
Lloh27:
adrp x2, _invalid_list@GOTPAGE
Lloh28:
ldr x2, [x2, _invalid_list@GOTPAGEOFF]
mov x1, x20
bl _mmu_free_root_page
LBB0_30:
str xzr, [x20, #32]
LBB0_31:
ldr x0, [x19]
Lloh29:
adrp x1, _invalid_list@GOTPAGE
Lloh30:
ldr x1, [x1, _invalid_list@GOTPAGEOFF]
bl _kvm_mmu_commit_zap_page
ldr x0, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _spin_unlock
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _invalid_list,4,2 ; @invalid_list
.comm _KVM_MMU_ROOT_CURRENT,4,2 ; @KVM_MMU_ROOT_CURRENT
.comm _KVM_MMU_NUM_PREV_ROOTS,4,2 ; @KVM_MMU_NUM_PREV_ROOTS
.comm _BITS_PER_LONG,4,2 ; @BITS_PER_LONG
.comm _PT64_ROOT_4LEVEL,8,3 ; @PT64_ROOT_4LEVEL
.comm _INVALID_PAGE,8,3 ; @INVALID_PAGE
.subsections_via_symbols
| assembly_file_6502.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Pause
_Pause: ## @Pause
.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 _Pause
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Pause
_Pause: ; @Pause
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _Pause
.subsections_via_symbols
| AnghaBench/vlc/modules/audio_output/extr_adummy.c_Pause.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cap_soc_clocks
_cap_soc_clocks: ## @cap_soc_clocks
.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
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, (%rdi)
jle LBB0_27
## %bb.1:
leaq 16(%rbp), %rdx
movslq (%rdx), %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3
movq %rcx, %rax
shrq $63, %rax
sarq $38, %rcx
addl %eax, %ecx
movslq 4(%rdx), %rsi
movq %rsi, -64(%rbp) ## 8-byte Spill
imulq $274877907, %rsi, %rsi ## imm = 0x10624DD3
movq %rsi, %rax
shrq $63, %rax
sarq $38, %rsi
addl %eax, %esi
movq %rdi, -48(%rbp) ## 8-byte Spill
movslq 8(%rdx), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
imulq $274877907, %rdi, %r9 ## imm = 0x10624DD3
movq %r9, %rax
shrq $63, %rax
sarq $38, %r9
addl %eax, %r9d
movslq 12(%rdx), %r10
imulq $274877907, %r10, %r11 ## imm = 0x10624DD3
movq %r11, %rax
shrq $63, %rax
sarq $38, %r11
addl %eax, %r11d
movslq 16(%rdx), %rbx
imulq $274877907, %rbx, %r14 ## imm = 0x10624DD3
movq %r14, %rax
shrq $63, %rax
sarq $38, %r14
addl %eax, %r14d
movslq 20(%rdx), %r15
imulq $274877907, %r15, %r12 ## imm = 0x10624DD3
movq %r12, %rax
shrq $63, %rax
sarq $38, %r12
addl %eax, %r12d
movslq 24(%rdx), %r13
imulq $274877907, %r13, %rax ## imm = 0x10624DD3
movq %rax, %rdi
shrq $63, %rdi
sarq $38, %rax
addl %edi, %eax
movslq 28(%rdx), %rdi
imulq $274877907, %rdi, %rdx ## imm = 0x10624DD3
movq %rdx, %r8
shrq $63, %r8
sarq $38, %rdx
addl %r8d, %edx
movq -48(%rbp), %r8 ## 8-byte Reload
movq 8(%r8), %r8
shll $4, %esi
addq $28, %r8
jmp LBB0_2
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_2 Depth=1
addq $-32, %r8
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl %ecx, -28(%r8)
jle LBB0_5
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl %ecx, -28(%r8)
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
cmpl %esi, -24(%r8)
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl %esi, -24(%r8)
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -56(%rbp) ## 4-byte Folded Reload
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
cmpl %r9d, -20(%r8)
jle LBB0_11
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movl %r9d, -20(%r8)
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
testl %r10d, %r10d
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
cmpl %r11d, -16(%r8)
jle LBB0_14
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, -16(%r8)
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
testl %ebx, %ebx
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
cmpl %r14d, -12(%r8)
jle LBB0_17
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, -12(%r8)
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r15d
je LBB0_20
## %bb.18: ## in Loop: Header=BB0_2 Depth=1
cmpl %r12d, -8(%r8)
jle LBB0_20
## %bb.19: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, -8(%r8)
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
testl %r13d, %r13d
je LBB0_23
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
cmpl %eax, -4(%r8)
jle LBB0_23
## %bb.22: ## in Loop: Header=BB0_2 Depth=1
movl %eax, -4(%r8)
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
testl %edi, %edi
je LBB0_26
## %bb.24: ## in Loop: Header=BB0_2 Depth=1
cmpl %edx, (%r8)
jle LBB0_26
## %bb.25: ## in Loop: Header=BB0_2 Depth=1
movl %edx, (%r8)
jmp LBB0_26
LBB0_27:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cap_soc_clocks
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cap_soc_clocks
_cap_soc_clocks: ; @cap_soc_clocks
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_27
; %bb.1:
ldr x5, [x0, #8]
mov w6, #19923 ; =0x4dd3
movk w6, #4194, lsl #16
ldpsw x8, x9, [x1]
smull x10, w8, w6
lsr x11, x10, #63
asr x10, x10, #38
add w10, w10, w11
smull x11, w9, w6
lsr x12, x11, #63
asr x11, x11, #38
add w11, w11, w12
lsl w11, w11, #4
ldpsw x12, x13, [x1, #8]
smull x14, w12, w6
lsr x15, x14, #63
asr x14, x14, #38
add w14, w14, w15
smull x15, w13, w6
lsr x16, x15, #63
asr x15, x15, #38
add w15, w15, w16
ldpsw x16, x17, [x1, #16]
smull x0, w16, w6
lsr x2, x0, #63
asr x0, x0, #38
add w0, w0, w2
smull x2, w17, w6
lsr x3, x2, #63
asr x2, x2, #38
add w2, w2, w3
ldpsw x3, x1, [x1, #24]
smull x4, w3, w6
lsr x7, x4, #63
asr x4, x4, #38
add w4, w4, w7
smull x6, w1, w6
lsr x7, x6, #63
asr x6, x6, #38
add w6, w6, w7
add x5, x5, #16
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x5, x5, #32
LBB0_3: ; =>This Inner Loop Header: Depth=1
cbnz w8, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldur w7, [x5, #-16]
cmp w7, w10
b.le LBB0_6
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
stur w10, [x5, #-16]
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
cbz w9, LBB0_9
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldur w7, [x5, #-12]
cmp w7, w11
b.le LBB0_9
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
stur w11, [x5, #-12]
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
cbz w12, LBB0_12
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
ldur w7, [x5, #-8]
cmp w7, w14
b.le LBB0_12
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
stur w14, [x5, #-8]
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
cbz w13, LBB0_15
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
ldur w7, [x5, #-4]
cmp w7, w15
b.le LBB0_15
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
stur w15, [x5, #-4]
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
cbz w16, LBB0_18
; %bb.16: ; in Loop: Header=BB0_3 Depth=1
ldr w7, [x5]
cmp w7, w0
b.le LBB0_18
; %bb.17: ; in Loop: Header=BB0_3 Depth=1
str w0, [x5]
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
cbz w17, LBB0_21
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
ldr w7, [x5, #4]
cmp w7, w2
b.le LBB0_21
; %bb.20: ; in Loop: Header=BB0_3 Depth=1
str w2, [x5, #4]
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
cbz w3, LBB0_24
; %bb.22: ; in Loop: Header=BB0_3 Depth=1
ldr w7, [x5, #8]
cmp w7, w4
b.le LBB0_24
; %bb.23: ; in Loop: Header=BB0_3 Depth=1
str w4, [x5, #8]
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
cbz w1, LBB0_2
; %bb.25: ; in Loop: Header=BB0_3 Depth=1
ldr w7, [x5, #12]
cmp w7, w6
b.le LBB0_2
; %bb.26: ; in Loop: Header=BB0_3 Depth=1
str w6, [x5, #12]
b LBB0_2
LBB0_27:
ret
.cfi_endproc
; -- End function
.no_dead_strip _cap_soc_clocks
.subsections_via_symbols
| assembly_file_179943.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function uasp_free_cmdreq
_uasp_free_cmdreq: ## @uasp_free_cmdreq
.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
movq 8(%rbx), %rsi
callq _usb_ep_free_request
movq (%rbx), %rdi
callq _kfree
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _uasp_free_cmdreq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function uasp_free_cmdreq
_uasp_free_cmdreq: ; @uasp_free_cmdreq
.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]
ldr x1, [x19, #8]
bl _usb_ep_free_request
ldr x0, [x19]
bl _kfree
stp xzr, 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 _uasp_free_cmdreq
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/function/extr_f_tcm.c_uasp_free_cmdreq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function urtw_set_macaddr
_urtw_set_macaddr: ## @urtw_set_macaddr
.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 _URTW_MAC0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rbx), %edx
callq _urtw_write32_m
movq _URTW_MAC4@GOTPCREL(%rip), %rax
movl (%rax), %esi
movzwl 4(%rbx), %edx
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _urtw_write16_m ## TAILCALL
.cfi_endproc
## -- End function
.comm _URTW_MAC0,4,2 ## @URTW_MAC0
.comm _URTW_MAC4,4,2 ## @URTW_MAC4
.no_dead_strip _urtw_set_macaddr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function urtw_set_macaddr
_urtw_set_macaddr: ; @urtw_set_macaddr
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _URTW_MAC0@GOTPAGE
Lloh1:
ldr x8, [x8, _URTW_MAC0@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x19]
bl _urtw_write32_m
Lloh3:
adrp x8, _URTW_MAC4@GOTPAGE
Lloh4:
ldr x8, [x8, _URTW_MAC4@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldrh w2, [x19, #4]
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _urtw_write16_m
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _URTW_MAC0,4,2 ; @URTW_MAC0
.comm _URTW_MAC4,4,2 ; @URTW_MAC4
.no_dead_strip _urtw_set_macaddr
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_set_macaddr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dns_resource_key_compare_func
_dns_resource_key_compare_func: ## @dns_resource_key_compare_func
.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
callq _dns_resource_key_name
movl %eax, %ebx
movq %r14, %rdi
callq _dns_resource_key_name
movl %ebx, %edi
movl %eax, %esi
callq _dns_name_compare_func
testl %eax, %eax
jne LBB0_2
## %bb.1:
movl 4(%r15), %edi
movl 4(%r14), %esi
callq _CMP
testl %eax, %eax
je LBB0_3
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movl (%r15), %edi
movl (%r14), %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _CMP ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dns_resource_key_compare_func
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dns_resource_key_compare_func
_dns_resource_key_compare_func: ; @dns_resource_key_compare_func
.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 _dns_resource_key_name
mov x21, x0
mov x0, x19
bl _dns_resource_key_name
mov x1, x0
mov x0, x21
bl _dns_name_compare_func
cbnz w0, LBB0_2
; %bb.1:
ldr w0, [x20, #4]
ldr w1, [x19, #4]
bl _CMP
cbz w0, LBB0_3
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
ldr w0, [x20]
ldr w1, [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 _CMP
.cfi_endproc
; -- End function
.no_dead_strip _dns_resource_key_compare_func
.subsections_via_symbols
| AnghaBench/systemd/src/resolve/extr_resolved-dns-rr.c_dns_resource_key_compare_func.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pkcs7_sig_note_pkey_algo ## -- Begin function pkcs7_sig_note_pkey_algo
.p2align 4, 0x90
_pkcs7_sig_note_pkey_algo: ## @pkcs7_sig_note_pkey_algo
.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), %esi
cmpl $128, %esi
jne LBB0_2
## %bb.1:
movq 8(%rdi), %rax
movq (%rax), %rax
leaq L_.str(%rip), %rcx
movq %rcx, (%rax)
leaq L_.str.1(%rip), %rcx
movq %rcx, 8(%rax)
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
leaq L_.str.2(%rip), %rdi
callq _printk
movq _ENOPKG@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rsa"
L_.str.1: ## @.str.1
.asciz "pkcs1"
L_.str.2: ## @.str.2
.asciz "Unsupported pkey algo: %u\n"
.comm _ENOPKG,4,2 ## @ENOPKG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pkcs7_sig_note_pkey_algo ; -- Begin function pkcs7_sig_note_pkey_algo
.p2align 2
_pkcs7_sig_note_pkey_algo: ; @pkcs7_sig_note_pkey_algo
.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 w1, [x0]
cmp w1, #128
b.ne LBB0_2
; %bb.1:
mov x8, x0
mov w0, #0
ldr x8, [x8, #8]
ldr x8, [x8]
Lloh0:
adrp x9, l_.str@PAGE
Lloh1:
add x9, x9, l_.str@PAGEOFF
Lloh2:
adrp x10, l_.str.1@PAGE
Lloh3:
add x10, x10, l_.str.1@PAGEOFF
stp x9, x10, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_2:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printk
Lloh6:
adrp x8, _ENOPKG@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOPKG@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rsa"
l_.str.1: ; @.str.1
.asciz "pkcs1"
l_.str.2: ; @.str.2
.asciz "Unsupported pkey algo: %u\n"
.comm _ENOPKG,4,2 ; @ENOPKG
.subsections_via_symbols
| AnghaBench/linux/crypto/asymmetric_keys/extr_pkcs7_parser.c_pkcs7_sig_note_pkey_algo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function max98926_volatile_register
_max98926_volatile_register: ## @max98926_volatile_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-128, %esi
xorl %eax, %eax
cmpl $12, %esi
setb %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _max98926_volatile_register
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function max98926_volatile_register
_max98926_volatile_register: ; @max98926_volatile_register
.cfi_startproc
; %bb.0:
sub w8, w1, #128
cmp w8, #12
cset w0, lo
ret
.cfi_endproc
; -- End function
.no_dead_strip _max98926_volatile_register
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_max98926.c_max98926_volatile_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _omap_dm_timer_set_load ## -- Begin function omap_dm_timer_set_load
.p2align 4, 0x90
_omap_dm_timer_set_load: ## @omap_dm_timer_set_load
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movq _OMAP_TIMER_CTRL_REG@GOTPCREL(%rip), %r12
movl (%r12), %esi
callq _omap_dm_timer_read_reg
movq _OMAP_TIMER_CTRL_AR@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %edx, %ecx
orl %eax, %ecx
notl %edx
andl %eax, %edx
testl %r15d, %r15d
cmovnel %ecx, %edx
movl (%r12), %esi
movq %rbx, %rdi
callq _omap_dm_timer_write_reg
movq _OMAP_TIMER_LOAD_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl %r14d, %edx
callq _omap_dm_timer_write_reg
movq _OMAP_TIMER_TRIGGER_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _omap_dm_timer_write_reg ## TAILCALL
.cfi_endproc
## -- End function
.comm _OMAP_TIMER_CTRL_REG,4,2 ## @OMAP_TIMER_CTRL_REG
.comm _OMAP_TIMER_CTRL_AR,4,2 ## @OMAP_TIMER_CTRL_AR
.comm _OMAP_TIMER_LOAD_REG,4,2 ## @OMAP_TIMER_LOAD_REG
.comm _OMAP_TIMER_TRIGGER_REG,4,2 ## @OMAP_TIMER_TRIGGER_REG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _omap_dm_timer_set_load ; -- Begin function omap_dm_timer_set_load
.p2align 2
_omap_dm_timer_set_load: ; @omap_dm_timer_set_load
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x22, _OMAP_TIMER_CTRL_REG@GOTPAGE
Lloh1:
ldr x22, [x22, _OMAP_TIMER_CTRL_REG@GOTPAGEOFF]
ldr w1, [x22]
bl _omap_dm_timer_read_reg
Lloh2:
adrp x8, _OMAP_TIMER_CTRL_AR@GOTPAGE
Lloh3:
ldr x8, [x8, _OMAP_TIMER_CTRL_AR@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
orr w9, w8, w0
bic w8, w0, w8
cmp w20, #0
csel w2, w8, w9, eq
ldr w1, [x22]
mov x0, x21
bl _omap_dm_timer_write_reg
Lloh5:
adrp x8, _OMAP_TIMER_LOAD_REG@GOTPAGE
Lloh6:
ldr x8, [x8, _OMAP_TIMER_LOAD_REG@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x21
mov x2, x19
bl _omap_dm_timer_write_reg
Lloh8:
adrp x8, _OMAP_TIMER_TRIGGER_REG@GOTPAGE
Lloh9:
ldr x8, [x8, _OMAP_TIMER_TRIGGER_REG@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x21
mov w2, #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 _omap_dm_timer_write_reg
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _OMAP_TIMER_CTRL_REG,4,2 ; @OMAP_TIMER_CTRL_REG
.comm _OMAP_TIMER_CTRL_AR,4,2 ; @OMAP_TIMER_CTRL_AR
.comm _OMAP_TIMER_LOAD_REG,4,2 ; @OMAP_TIMER_LOAD_REG
.comm _OMAP_TIMER_TRIGGER_REG,4,2 ; @OMAP_TIMER_TRIGGER_REG
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_set_load.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dump_append ## -- Begin function dump_append
.p2align 4, 0x90
_dump_append: ## @dump_append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdi, %rbx
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_3
## %bb.1:
cmpq %r14, (%rbx)
jae LBB0_2
## %bb.4:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq %rbx, %rdi
movq %r14, %rcx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp __dump_append ## TAILCALL
LBB0_2:
movq 8(%rax), %r15
movq %r15, %rdi
movq %r14, %rdx
callq _memmove
movq 8(%rbx), %rax
movl (%rax), %edi
movq %r15, %rsi
movq %r14, %rdx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _compressor_write ## TAILCALL
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dump_append ; -- Begin function dump_append
.p2align 2
_dump_append: ; @dump_append
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x0
ldr x8, [x0, #8]
cbz x8, LBB0_3
; %bb.1:
ldr x9, [x20]
cmp x9, x19
b.hs LBB0_4
; %bb.2:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
mov x0, x20
mov x3, 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 __dump_append
LBB0_4:
ldr x21, [x8, #8]
mov x0, x21
mov x2, x19
bl _memmove
ldr x8, [x20, #8]
ldr w0, [x8]
mov x1, x21
mov x2, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _compressor_write
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/freebsd/sys/kern/extr_kern_shutdown.c_dump_append.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __unmap_scsi_data
___unmap_scsi_data: ## @__unmap_scsi_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
cmpl $2, (%rsi)
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _scsi_dma_unmap
LBB0_2:
movl $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip ___unmap_scsi_data
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __unmap_scsi_data
___unmap_scsi_data: ; @__unmap_scsi_data
.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
ldr w8, [x1]
cmp w8, #2
b.ne LBB0_2
; %bb.1:
mov x0, x19
bl _scsi_dma_unmap
LBB0_2:
str wzr, [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 ___unmap_scsi_data
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/extr_ncr53c8xx.c___unmap_scsi_data.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function btrfs_feature_attr_show
_btrfs_feature_attr_show: ## @btrfs_feature_attr_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
callq _to_fs_info
movq %rax, %rbx
movq %r15, %rdi
callq _to_btrfs_feature_attr
movq %rax, %r15
testq %rbx, %rbx
je LBB0_2
## %bb.1:
movl 4(%r15), %esi
movq %rbx, %rdi
callq _get_features
xorl %ecx, %ecx
testl %eax, (%r15)
setne %cl
jmp LBB0_3
LBB0_2:
movq %r15, %rdi
callq _can_modify_feature
movl %eax, %ecx
LBB0_3:
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _snprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.no_dead_strip _btrfs_feature_attr_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function btrfs_feature_attr_show
_btrfs_feature_attr_show: ; @btrfs_feature_attr_show
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
bl _to_fs_info
mov x21, x0
mov x0, x20
bl _to_btrfs_feature_attr
mov x20, x0
cbz x21, LBB0_2
; %bb.1:
ldr w1, [x20, #4]
mov x0, x21
bl _get_features
ldr w8, [x20]
tst w8, w0
cset w3, ne
b LBB0_3
LBB0_2:
mov x0, x20
bl _can_modify_feature
mov x3, x0
LBB0_3:
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _snprintf
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.no_dead_strip _btrfs_feature_attr_show
.subsections_via_symbols
| AnghaBench/linux/fs/btrfs/extr_sysfs.c_btrfs_feature_attr_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function DecrementRefCount
_DecrementRefCount: ## @DecrementRefCount
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movq $0, -64(%rbp)
movq $0, -48(%rbp)
movq $0, -56(%rbp)
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _DPRINT1
movq _HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _KEY_QUERY_VALUE@GOTPCREL(%rip), %r13
movl (%r13), %ecx
leaq l_.str.1(%rip), %rsi
leaq -64(%rbp), %r8
xorl %edx, %edx
callq _RegOpenKeyExW
movq _ERROR_SUCCESS@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
jne LBB0_1
## %bb.2:
movq -64(%rbp), %rdi
movq _KEY_SET_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
orl (%r13), %ecx
leaq -48(%rbp), %r8
movq %r15, %rsi
xorl %edx, %edx
callq _RegOpenKeyExW
cmpq (%r12), %rax
jne LBB0_1
## %bb.3:
movq $8, -72(%rbp)
movq -48(%rbp), %rdi
leaq -56(%rbp), %r15
leaq l_.str.3(%rip), %rsi
leaq -80(%rbp), %rcx
leaq -72(%rbp), %r9
xorl %edx, %edx
movl %r15d, %r8d
callq _RegQueryValueExW
cmpq (%r12), %rax
jne LBB0_1
## %bb.4:
decq -56(%rbp)
movq $8, -72(%rbp)
movq -48(%rbp), %rdi
movq _REG_DWORD@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq l_.str.3(%rip), %rsi
movl $8, %r9d
xorl %edx, %edx
movl %r15d, %r8d
callq _RegSetValueExW
movq %rax, %rbx
cmpq (%r12), %rax
jne LBB0_5
## %bb.6:
testq %r14, %r14
je LBB0_8
## %bb.7:
movq -56(%rbp), %rax
movq %rax, (%r14)
jmp LBB0_8
LBB0_1:
movq %rax, %rbx
LBB0_5:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _DPRINT1
LBB0_8:
movq -48(%rbp), %rdi
testq %rdi, %rdi
je LBB0_10
## %bb.9:
callq _RegCloseKey
LBB0_10:
movq -64(%rbp), %rdi
testq %rdi, %rdi
je LBB0_12
## %bb.11:
callq _RegCloseKey
LBB0_12:
movq %rbx, %rax
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 "DecrementRefCount(%S %p)\n"
.comm _HKEY_LOCAL_MACHINE,8,3 ## @HKEY_LOCAL_MACHINE
.section __TEXT,__const
.p2align 2 ## @.str.1
l_.str.1:
.long 83 ## 0x53
.long 79 ## 0x4f
.long 70 ## 0x46
.long 84 ## 0x54
.long 87 ## 0x57
.long 65 ## 0x41
.long 82 ## 0x52
.long 69 ## 0x45
.long 92 ## 0x5c
.long 77 ## 0x4d
.long 105 ## 0x69
.long 99 ## 0x63
.long 114 ## 0x72
.long 111 ## 0x6f
.long 115 ## 0x73
.long 111 ## 0x6f
.long 102 ## 0x66
.long 116 ## 0x74
.long 92 ## 0x5c
.long 87 ## 0x57
.long 105 ## 0x69
.long 110 ## 0x6e
.long 100 ## 0x64
.long 111 ## 0x6f
.long 119 ## 0x77
.long 115 ## 0x73
.long 32 ## 0x20
.long 78 ## 0x4e
.long 84 ## 0x54
.long 92 ## 0x5c
.long 67 ## 0x43
.long 117 ## 0x75
.long 114 ## 0x72
.long 114 ## 0x72
.long 101 ## 0x65
.long 110 ## 0x6e
.long 116 ## 0x74
.long 86 ## 0x56
.long 101 ## 0x65
.long 114 ## 0x72
.long 115 ## 0x73
.long 105 ## 0x69
.long 111 ## 0x6f
.long 110 ## 0x6e
.long 92 ## 0x5c
.long 80 ## 0x50
.long 114 ## 0x72
.long 111 ## 0x6f
.long 102 ## 0x66
.long 105 ## 0x69
.long 108 ## 0x6c
.long 101 ## 0x65
.long 76 ## 0x4c
.long 105 ## 0x69
.long 115 ## 0x73
.long 116 ## 0x74
.long 0 ## 0x0
.comm _KEY_QUERY_VALUE,4,2 ## @KEY_QUERY_VALUE
.comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Error: %lu\n"
.comm _KEY_SET_VALUE,4,2 ## @KEY_SET_VALUE
.section __TEXT,__const
.p2align 2 ## @.str.3
l_.str.3:
.long 82 ## 0x52
.long 101 ## 0x65
.long 102 ## 0x66
.long 67 ## 0x43
.long 111 ## 0x6f
.long 117 ## 0x75
.long 110 ## 0x6e
.long 116 ## 0x74
.long 0 ## 0x0
.comm _REG_DWORD,4,2 ## @REG_DWORD
.no_dead_strip _DecrementRefCount
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function DecrementRefCount
_DecrementRefCount: ; @DecrementRefCount
.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 x19, x1
mov x21, x0
stp xzr, xzr, [sp, #32]
str xzr, [sp, #24]
str x1, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x21
bl _DPRINT1
Lloh2:
adrp x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh3:
ldr x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh4:
ldr x0, [x8]
Lloh5:
adrp x23, _KEY_QUERY_VALUE@GOTPAGE
Lloh6:
ldr x23, [x23, _KEY_QUERY_VALUE@GOTPAGEOFF]
ldr w3, [x23]
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
add x4, sp, #40
mov w2, #0
bl _RegOpenKeyExW
Lloh9:
adrp x22, _ERROR_SUCCESS@GOTPAGE
Lloh10:
ldr x22, [x22, _ERROR_SUCCESS@GOTPAGEOFF]
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_6
; %bb.1:
ldr x0, [sp, #40]
ldr w8, [x23]
Lloh11:
adrp x9, _KEY_SET_VALUE@GOTPAGE
Lloh12:
ldr x9, [x9, _KEY_SET_VALUE@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w3, w9, w8
add x4, sp, #32
mov x1, x21
mov w2, #0
bl _RegOpenKeyExW
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_6
; %bb.2:
mov w8, #8
str x8, [sp, #16]
ldr x0, [sp, #32]
Lloh14:
adrp x1, l_.str.3@PAGE
Lloh15:
add x1, x1, l_.str.3@PAGEOFF
add x3, sp, #8
add x4, sp, #24
add x5, sp, #16
mov x2, #0
bl _RegQueryValueExW
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_6
; %bb.3:
ldp x8, x0, [sp, #24]
sub x9, x8, #1
mov w8, #8
stp x8, x9, [sp, #16]
Lloh16:
adrp x8, _REG_DWORD@GOTPAGE
Lloh17:
ldr x8, [x8, _REG_DWORD@GOTPAGEOFF]
Lloh18:
ldr w3, [x8]
Lloh19:
adrp x1, l_.str.3@PAGE
Lloh20:
add x1, x1, l_.str.3@PAGEOFF
add x4, sp, #24
mov w2, #0
mov w5, #8
bl _RegSetValueExW
mov x20, x0
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_7
; %bb.4:
cbz x19, LBB0_8
; %bb.5:
ldr x8, [sp, #24]
str x8, [x19]
b LBB0_8
LBB0_6:
mov x20, x0
LBB0_7:
Lloh21:
adrp x0, l_.str.2@PAGE
Lloh22:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x20
bl _DPRINT1
LBB0_8:
ldr x0, [sp, #32]
cbz x0, LBB0_10
; %bb.9:
bl _RegCloseKey
LBB0_10:
ldr x0, [sp, #40]
cbz x0, LBB0_12
; %bb.11:
bl _RegCloseKey
LBB0_12:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DecrementRefCount(%S %p)\n"
.comm _HKEY_LOCAL_MACHINE,8,3 ; @HKEY_LOCAL_MACHINE
.section __TEXT,__const
.p2align 2 ; @.str.1
l_.str.1:
.long 83 ; 0x53
.long 79 ; 0x4f
.long 70 ; 0x46
.long 84 ; 0x54
.long 87 ; 0x57
.long 65 ; 0x41
.long 82 ; 0x52
.long 69 ; 0x45
.long 92 ; 0x5c
.long 77 ; 0x4d
.long 105 ; 0x69
.long 99 ; 0x63
.long 114 ; 0x72
.long 111 ; 0x6f
.long 115 ; 0x73
.long 111 ; 0x6f
.long 102 ; 0x66
.long 116 ; 0x74
.long 92 ; 0x5c
.long 87 ; 0x57
.long 105 ; 0x69
.long 110 ; 0x6e
.long 100 ; 0x64
.long 111 ; 0x6f
.long 119 ; 0x77
.long 115 ; 0x73
.long 32 ; 0x20
.long 78 ; 0x4e
.long 84 ; 0x54
.long 92 ; 0x5c
.long 67 ; 0x43
.long 117 ; 0x75
.long 114 ; 0x72
.long 114 ; 0x72
.long 101 ; 0x65
.long 110 ; 0x6e
.long 116 ; 0x74
.long 86 ; 0x56
.long 101 ; 0x65
.long 114 ; 0x72
.long 115 ; 0x73
.long 105 ; 0x69
.long 111 ; 0x6f
.long 110 ; 0x6e
.long 92 ; 0x5c
.long 80 ; 0x50
.long 114 ; 0x72
.long 111 ; 0x6f
.long 102 ; 0x66
.long 105 ; 0x69
.long 108 ; 0x6c
.long 101 ; 0x65
.long 76 ; 0x4c
.long 105 ; 0x69
.long 115 ; 0x73
.long 116 ; 0x74
.long 0 ; 0x0
.comm _KEY_QUERY_VALUE,4,2 ; @KEY_QUERY_VALUE
.comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Error: %lu\n"
.comm _KEY_SET_VALUE,4,2 ; @KEY_SET_VALUE
.section __TEXT,__const
.p2align 2 ; @.str.3
l_.str.3:
.long 82 ; 0x52
.long 101 ; 0x65
.long 102 ; 0x66
.long 67 ; 0x43
.long 111 ; 0x6f
.long 117 ; 0x75
.long 110 ; 0x6e
.long 116 ; 0x74
.long 0 ; 0x0
.comm _REG_DWORD,4,2 ; @REG_DWORD
.no_dead_strip _DecrementRefCount
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/userenv/extr_profile.c_DecrementRefCount.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _jsY_findword ## -- Begin function jsY_findword
.p2align 4, 0x90
_jsY_findword: ## @jsY_findword
.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 $-1, %eax
testl %edx, %edx
jle LBB0_9
## %bb.1:
movl %edx, %r13d
movq %rsi, %r15
movq %rdi, %r12
decl %r13d
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
decl %r14d
movl %r14d, %r13d
cmpl %r13d, %ebx
jg LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
leal (%rbx,%r13), %r14d
sarl %r14d
movslq %r14d, %rax
movq (%r15,%rax,8), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
js LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
incl %r14d
movl %r14d, %ebx
cmpl %r13d, %ebx
jle LBB0_2
LBB0_8:
movl $-1, %eax
jmp LBB0_9
LBB0_5:
movl %r14d, %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _jsY_findword ; -- Begin function jsY_findword
.p2align 2
_jsY_findword: ; @jsY_findword
.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
subs w22, w2, #1
b.lt LBB0_6
; %bb.1:
mov x19, x1
mov x20, x0
mov w23, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub w22, w21, #1
cmp w23, w22
b.gt LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
add w8, w23, w22
asr w21, w8, #1
ldr x1, [x19, w21, sxtw #3]
mov x0, x20
bl _strcmp
tbnz w0, #31, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cbz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
add w23, w21, #1
cmp w23, w22
b.le LBB0_3
LBB0_6:
mov w21, #-1
LBB0_7:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/mujs/extr_jslex.c_jsY_findword.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cleanupBuffers
_cleanupBuffers: ## @cleanupBuffers
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_5
## %bb.1:
cmpq $0, (%rax)
je LBB0_4
## %bb.2:
movl $16, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _GetProcessHeap
movq 8(%r14), %rcx
movq 8(%rcx), %rcx
movq (%rcx,%r15), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _HeapFree
incq %rbx
movq 8(%r14), %rax
addq $24, %r15
cmpq (%rax), %rbx
jb LBB0_3
LBB0_4:
xorl %eax, %eax
callq _GetProcessHeap
movq 8(%r14), %rcx
movq 8(%rcx), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _HeapFree
xorl %eax, %eax
callq _GetProcessHeap
movq 8(%r14), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _HeapFree
LBB0_5:
movq (%r14), %rax
testq %rax, %rax
je LBB0_10
## %bb.6:
cmpq $0, (%rax)
je LBB0_9
## %bb.7:
movl $16, %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _GetProcessHeap
movq (%r14), %rcx
movq 8(%rcx), %rcx
movq (%rcx,%r15), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _HeapFree
incq %rbx
movq (%r14), %rax
addq $24, %r15
cmpq (%rax), %rbx
jb LBB0_8
LBB0_9:
xorl %eax, %eax
callq _GetProcessHeap
movq (%r14), %rcx
movq 8(%rcx), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _HeapFree
xorl %eax, %eax
callq _GetProcessHeap
movq (%r14), %rdx
movl %eax, %edi
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _HeapFree ## TAILCALL
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cleanupBuffers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cleanupBuffers
_cleanupBuffers: ; @cleanupBuffers
.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 x8, [x0, #8]
cbz x8, LBB0_5
; %bb.1:
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.2:
mov x20, #0
mov w21, #16
LBB0_3: ; =>This Inner Loop Header: Depth=1
bl _GetProcessHeap
ldr x8, [x19, #8]
ldr x8, [x8, #8]
ldr x2, [x8, x21]
mov w1, #0
bl _HeapFree
add x20, x20, #1
ldr x8, [x19, #8]
ldr x8, [x8]
add x21, x21, #24
cmp x20, x8
b.lo LBB0_3
LBB0_4:
bl _GetProcessHeap
ldr x8, [x19, #8]
ldr x2, [x8, #8]
mov w1, #0
bl _HeapFree
bl _GetProcessHeap
ldr x2, [x19, #8]
mov w1, #0
bl _HeapFree
LBB0_5:
ldr x8, [x19]
cbz x8, LBB0_10
; %bb.6:
ldr x8, [x8]
cbz x8, LBB0_9
; %bb.7:
mov x20, #0
mov w21, #16
LBB0_8: ; =>This Inner Loop Header: Depth=1
bl _GetProcessHeap
ldr x8, [x19]
ldr x8, [x8, #8]
ldr x2, [x8, x21]
mov w1, #0
bl _HeapFree
add x20, x20, #1
ldr x8, [x19]
ldr x8, [x8]
add x21, x21, #24
cmp x20, x8
b.lo LBB0_8
LBB0_9:
bl _GetProcessHeap
ldr x8, [x19]
ldr x2, [x8, #8]
mov w1, #0
bl _HeapFree
bl _GetProcessHeap
ldr x2, [x19]
mov w1, #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 _HeapFree
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
.cfi_endproc
; -- End function
.no_dead_strip _cleanupBuffers
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/secur32/extr_ntlm.c_cleanupBuffers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
leaq L_str(%rip), %rdi
callq _puts
movq 8(%r14), %rdi
leaq _filter(%rip), %rdx
movq _alphasort$INODE64@GOTPCREL(%rip), %rcx
leaq -40(%rbp), %rsi
callq _scandir$INODE64
testl %eax, %eax
jle LBB0_3
## %bb.1:
movl %eax, %r15d
xorl %ebx, %ebx
movq _filename@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rsi
movl $100, %edx
movq %r12, %rdi
callq ___strcpy_chk
movq -40(%rbp), %rax
movq (%rax,%rbx,8), %rsi
addq $21, %rsi
movl $100, %edx
movq %r12, %rdi
callq ___strcat_chk
movq %r12, %rdi
callq _scan
incq %rbx
cmpq %rbx, %r15
jne LBB0_2
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _filter ## -- Begin function filter
.p2align 4, 0x90
_filter: ## @filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
addq $21, %rdi
callq _strlen
cmpl $3, %eax
jl LBB1_3
## %bb.1:
cltq
leaq (%rbx,%rax), %rdi
addq $19, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB1_2
LBB1_3:
xorl %eax, %eax
jmp LBB1_4
LBB1_2:
movl $1, %eax
LBB1_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _scan ## -- Begin function scan
.p2align 4, 0x90
_scan: ## @scan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq L_.str.2(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB2_8
## %bb.1:
movq %rax, %r14
movq _buf1@GOTPCREL(%rip), %rdi
movl $10000, %esi ## imm = 0x2710
movq %rax, %rdx
callq _fgets
movq %rax, %r12
movq _buf2@GOTPCREL(%rip), %rdi
movl $10000, %esi ## imm = 0x2710
movq %r14, %rdx
callq _fgets
movq %rax, %r15
movq _buf3@GOTPCREL(%rip), %rdi
movl $10000, %esi ## imm = 0x2710
movq %r14, %rdx
callq _fgets
testq %rax, %rax
je LBB2_7
## %bb.2:
movq %rax, %rbx
leaq L_.str.4(%rip), %r13
jmp LBB2_3
.p2align 4, 0x90
LBB2_6: ## in Loop: Header=BB2_3 Depth=1
movq %r12, %rdi
movl $10000, %esi ## imm = 0x2710
movq %r14, %rdx
callq _fgets
movq %r15, %r12
movq %rbx, %r15
movq %rax, %rbx
testq %rax, %rax
je LBB2_7
LBB2_3: ## =>This Inner Loop Header: Depth=1
cmpb $123, (%rbx)
jne LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movl $5, %edx
movq %r12, %rdi
movq %r13, %rsi
callq _strncmp
testl %eax, %eax
je LBB2_6
## %bb.5: ## in Loop: Header=BB2_3 Depth=1
movq %r12, %rdi
callq _strlen
movb $0, -1(%rax,%r12)
movq %r15, %rdi
callq _strlen
movb $0, -1(%rax,%r15)
leaq L_.str.5(%rip), %rdi
movq %r12, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _printf
jmp LBB2_6
LBB2_7:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
LBB2_8:
leaq L_.str.3(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _filename,100,4 ## @filename
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz ".c"
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "cannot open %s\n"
.comm _buf1,10000,4 ## @buf1
.comm _buf2,10000,4 ## @buf2
.comm _buf3,10000,4 ## @buf3
L_.str.4: ## @.str.4
.asciz "static"
L_.str.5: ## @.str.5
.asciz "%s %s;\n"
L_str: ## @str
.asciz "// Run 'make' in 'eigenmath/tools' directory to update this file"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x0, [x19, #8]
Lloh2:
adrp x2, _filter@PAGE
Lloh3:
add x2, x2, _filter@PAGEOFF
Lloh4:
adrp x3, _alphasort@GOTPAGE
Lloh5:
ldr x3, [x3, _alphasort@GOTPAGEOFF]
add x1, sp, #8
bl _scandir
cmp w0, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0
mov w8, w0
lsl x22, x8, #3
Lloh6:
adrp x20, _filename@GOTPAGE
Lloh7:
ldr x20, [x20, _filename@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x1, [x19, #8]
mov x0, x20
mov w2, #100
bl ___strcpy_chk
ldr x8, [sp, #8]
ldr x8, [x8, x21]
add x1, x8, #21
mov x0, x20
mov w2, #100
bl ___strcat_chk
mov x0, x20
bl _scan
add x21, x21, #8
cmp x22, x21
b.ne LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _filter ; -- Begin function filter
.p2align 2
_filter: ; @filter
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, x0, #21
bl _strlen
cmp w0, #3
b.lt LBB1_2
; %bb.1:
add x8, x19, w0, sxtw
add x0, x8, #19
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cbz w0, LBB1_3
LBB1_2:
mov w0, #0
b LBB1_4
LBB1_3:
mov w0, #1
LBB1_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _scan ; -- Begin function scan
.p2align 2
_scan: ; @scan
.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
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
cbz x0, LBB2_8
; %bb.1:
mov x19, x0
Lloh12:
adrp x0, _buf1@GOTPAGE
Lloh13:
ldr x0, [x0, _buf1@GOTPAGEOFF]
mov w1, #10000
mov x2, x19
bl _fgets
mov x20, x0
Lloh14:
adrp x0, _buf2@GOTPAGE
Lloh15:
ldr x0, [x0, _buf2@GOTPAGEOFF]
mov w1, #10000
mov x2, x19
bl _fgets
mov x21, x0
Lloh16:
adrp x0, _buf3@GOTPAGE
Lloh17:
ldr x0, [x0, _buf3@GOTPAGEOFF]
mov w1, #10000
mov x2, x19
bl _fgets
cbz x0, LBB2_7
; %bb.2:
mov x22, x0
Lloh18:
adrp x23, l_.str.4@PAGE
Lloh19:
add x23, x23, l_.str.4@PAGEOFF
Lloh20:
adrp x24, l_.str.5@PAGE
Lloh21:
add x24, x24, l_.str.5@PAGEOFF
b LBB2_4
LBB2_3: ; in Loop: Header=BB2_4 Depth=1
mov x0, x20
mov w1, #10000
mov x2, x19
bl _fgets
mov x20, x21
mov x21, x22
mov x22, x0
cbz x0, LBB2_7
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x22]
cmp w8, #123
b.ne LBB2_3
; %bb.5: ; in Loop: Header=BB2_4 Depth=1
mov x0, x20
mov x1, x23
mov w2, #5
bl _strncmp
cbz w0, LBB2_3
; %bb.6: ; in Loop: Header=BB2_4 Depth=1
mov x0, x20
bl _strlen
add x8, x0, x20
sturb wzr, [x8, #-1]
mov x0, x21
bl _strlen
add x8, x0, x21
sturb wzr, [x8, #-1]
stp x20, x21, [sp]
mov x0, x24
bl _printf
b LBB2_3
LBB2_7:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _fclose
LBB2_8:
str x20, [sp]
Lloh22:
adrp x0, l_.str.3@PAGE
Lloh23:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _filename,100,0 ; @filename
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz ".c"
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "cannot open %s\n"
.comm _buf1,10000,0 ; @buf1
.comm _buf2,10000,0 ; @buf2
.comm _buf3,10000,0 ; @buf3
l_.str.4: ; @.str.4
.asciz "static"
l_.str.5: ; @.str.5
.asciz "%s %s;\n"
l_str: ; @str
.asciz "// Run 'make' in 'eigenmath/tools' directory to update this file"
.subsections_via_symbols
| the_stack_data/1077983.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $11, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $12, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $13, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $14, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $15, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $12, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $11, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_ar ## -- Begin function add_ar
.p2align 4, 0x90
_add_ar: ## @add_ar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB1_8
## %bb.1:
movl %esi, %r8d
cmpl $1, %esi
jne LBB1_3
## %bb.2:
movl $1, %eax
xorl %edx, %edx
testb $1, %r8b
jne LBB1_7
jmp LBB1_8
LBB1_3:
movl %r8d, %esi
andl $-2, %esi
movl $5, %eax
xorl %edx, %edx
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
leal -4(%rax), %ecx
movl %ecx, -20(%rdi,%rax,4)
leal -3(%rax), %ecx
movl %ecx, -16(%rdi,%rax,4)
leal -2(%rax), %ecx
movl %ecx, -12(%rdi,%rax,4)
leal -1(%rax), %ecx
movl %ecx, -8(%rdi,%rax,4)
movl %eax, -4(%rdi,%rax,4)
leal 1(%rax), %ecx
movl %ecx, (%rdi,%rax,4)
addq $2, %rdx
addq $6, %rax
cmpq %rdx, %rsi
jne LBB1_4
## %bb.5:
addl $-4, %eax
testb $1, %r8b
je LBB1_8
LBB1_7:
leaq (%rdx,%rdx,2), %rcx
movl %eax, (%rdi,%rcx,4)
leal 1(%rax), %edx
movl %edx, 4(%rdi,%rcx,4)
addl $2, %eax
movl %eax, 8(%rdi,%rcx,4)
LBB1_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _prn2d ## -- Begin function prn2d
.p2align 4, 0x90
_prn2d: ## @prn2d
.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
testl %esi, %esi
jle LBB2_3
## %bb.1:
movq %rdi, %r12
movl %esi, %eax
shlq $2, %rax
leaq (%rax,%rax,2), %r15
leaq L_.str(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl (%r12,%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 4(%r12,%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl 8(%r12,%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
addq $12, %rbx
cmpq %rbx, %r15
jne LBB2_2
LBB2_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%4d"
.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
mov w8, #1
str x8, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #2
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #3
str x8, [sp]
mov x0, x19
bl _printf
mov w26, #10
mov w0, #10
bl _putchar
mov w23, #4
str x23, [sp]
mov x0, x19
bl _printf
mov w24, #5
str x24, [sp]
mov x0, x19
bl _printf
mov w25, #6
str x25, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w27, #7
str x27, [sp]
mov x0, x19
bl _printf
mov w28, #8
str x28, [sp]
mov x0, x19
bl _printf
mov w20, #9
str x20, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
str x26, [sp]
mov x0, x19
bl _printf
mov w21, #11
str x21, [sp]
mov x0, x19
bl _printf
mov w22, #12
str x22, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w8, #13
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #14
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #15
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #10
bl _putchar
str x22, [sp]
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x19
bl _printf
str x26, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
str x20, [sp]
mov x0, x19
bl _printf
str x28, [sp]
mov x0, x19
bl _printf
str x27, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
str x25, [sp]
mov x0, x19
bl _printf
str x24, [sp]
mov x0, x19
bl _printf
str x23, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w8, #3
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #2
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #1
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function add_ar
lCPI1_0:
.long 1 ; 0x1
.long 4 ; 0x4
.long 7 ; 0x7
.long 10 ; 0xa
.section __TEXT,__literal8,8byte_literals
.p2align 3
lCPI1_1:
.long 1 ; 0x1
.long 2 ; 0x2
.section __TEXT,__text,regular,pure_instructions
.globl _add_ar
.p2align 2
_add_ar: ; @add_ar
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB1_8
; %bb.1:
mov w9, w1
cmp w1, #16
b.hs LBB1_3
; %bb.2:
mov x10, #0
mov w8, #1
b LBB1_6
LBB1_3:
and x10, x9, #0xfffffff0
add w8, w10, w10, lsl #1
orr w8, w8, #0x1
add x11, x0, #96
movi.4s v0, #12
movi.4s v1, #13
movi.4s v2, #14
movi.4s v3, #1
movi.4s v4, #2
movi.4s v5, #24
Lloh2:
adrp x12, lCPI1_0@PAGE
Lloh3:
ldr q16, [x12, lCPI1_0@PAGEOFF]
movi.4s v6, #25
movi.4s v7, #26
movi.4s v19, #36
movi.4s v20, #37
movi.4s v21, #38
movi.4s v22, #48
mov x12, x10
LBB1_4: ; =>This Inner Loop Header: Depth=1
add.4s v23, v16, v0
add.4s v24, v16, v1
add.4s v25, v16, v2
add.4s v17, v16, v3
add.4s v18, v16, v4
add.4s v26, v16, v5
add.4s v27, v16, v6
sub x13, x11, #96
sub x14, x11, #48
st3.4s { v16, v17, v18 }, [x13]
st3.4s { v23, v24, v25 }, [x14]
add.4s v28, v16, v7
add.4s v23, v16, v19
add.4s v24, v16, v20
add.4s v25, v16, v21
add x13, x11, #192
st3.4s { v26, v27, v28 }, [x11], #48
st3.4s { v23, v24, v25 }, [x11]
add.4s v16, v16, v22
mov x11, x13
subs x12, x12, #16
b.ne LBB1_4
; %bb.5:
cmp x10, x9
b.eq LBB1_8
LBB1_6:
mov w11, #12
madd x11, x10, x11, x0
add x11, x11, #4
sub x9, x9, x10
Lloh4:
adrp x10, lCPI1_1@PAGE
Lloh5:
ldr d0, [x10, lCPI1_1@PAGEOFF]
LBB1_7: ; =>This Inner Loop Header: Depth=1
dup.2s v1, w8
stur w8, [x11, #-4]
add.2s v1, v1, v0
str d1, [x11], #12
add w8, w8, #3
subs x9, x9, #1
b.ne LBB1_7
LBB1_8:
ret
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdr Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _prn2d ; -- Begin function prn2d
.p2align 2
_prn2d: ; @prn2d
.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
cmp w1, #1
b.lt LBB2_3
; %bb.1:
mov w20, w1
add x21, x0, #8
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldur w8, [x21, #-8]
str x8, [sp]
mov x0, x19
bl _printf
ldur w8, [x21, #-4]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [x21], #12
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
subs x20, x20, #1
b.ne LBB2_2
LBB2_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%4d"
.subsections_via_symbols
| the_stack_data/220455691.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _DropletSplashTiles ## @DropletSplashTiles
.p2align 4
_DropletSplashTiles:
.ascii "\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\200\000 \000@\000@\000@\000@\000@\000@\000A\000A\000A\000A\000A\000A\000A\000A\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000A\000A\000A\000A\000A\000A\000A\000A\000@\000@\000@\000@\000@\000@\000 \000\200\000\007\000\001\000\000\000\000\000\000\000\000\000\000\000\300\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\374\000\371\000\372\000z\000z\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\300\000\000\000\000\000\000\000\000\000\000\000\001\000\007\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000z\000z\000\372\000\371\000\374\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\006\000\017\000\017\000\017\000\017\000\017\000\017\000\006\000\000\000?\000\017\000\007\000\003\000\003\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\000\000\000\000\000\000\000\000\000\000\b\000\b\000\f\000\f\000\016\000\016\000\017\000\017\000\017\000\017\000\037\000\003\000\003\000\007\000\017\000\037\000\037\000\017\000\017\000\007\000\007\000\003\000\003\000\001\000\201\000\201\000\303\000\376\000\370\000\360\000\344\000\350\000\310\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\001\000\000\000\000\000\000\000\000\000\000\000\000\0000\000x\000x\000x\000x\000x\000x\000x\000x\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\310\000\350\000\344\000\360\000\370\000\376\000x\000x\000x\000x\000x\000x\000x\000x\0000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\377\000~\000>\000\036\000\036\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\000\000@\000\200\000\200\000\200\000\200\000\200\000\201\000\203\000\203\000\203\000\203\000\203\000\203\000\201\000\200\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\036\000\036\000>\000~\000\377\000\200\000\200\000\200\000\200\000\200\000\201\000\203\000\203\000\203\000\203\000\203\000\203\000\203\000\203\000C\000\007\000\017\000\003\000\001\000\000\000\000\000\000\000\000\000\200\000\300\000\300\000\300\000\300\000\300\000\300\000\200\000\000\000\370\000\362\000\364\000\364\000\364\000t\000t\000t\000t\000t\000t\000t\000t\000t\000t\000t\000\000\000\000\000\001\000\003\000\017\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\362\000\370\000?\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\017\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\007\000\003\000\003\000\003\000\003\000\003\000\007\000\300\000\220\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\177\000\377\000\377\000\377\000\177\000\000\000\000\000\000\000\000\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\220\000\300\000\000\000\000\000\000\000\177\000\377\000\377\000\377\000\377\000\177\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000>\000\034\000\035\000\035\000\035\000\034\000>\000\377\000\377\000\377\000\377\000\377\000\377\000\177\000\177\000\177\000\000\000\200\000\000\000\000\000\000\000\200\000\b\000\344\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\177\000\177\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000?\000\037\000\037\000\037\000\037\000\037\000?\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\362\000\370\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\017\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\377\000\177\000\177\000\177\000\177\000\177\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000?\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377|\377B\377B\377B\377|\377@\377@\377@\377|\377B\377B\377B\377|\377D\377B\377B\377~\377@\377@\377|\377@\377@\377@\377~\377<\377B\377@\3778\377\004\377\002\377B\377<\377\177\377\b\377\b\377\b\377\b\377\b\377\b\377\b\377\030\377$\377B\377B\377~\377B\377B\377B\377"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _DropletSplashTiles ; @DropletSplashTiles
_DropletSplashTiles:
.ascii "\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\200\000 \000@\000@\000@\000@\000@\000@\000A\000A\000A\000A\000A\000A\000A\000A\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000A\000A\000A\000A\000A\000A\000A\000A\000@\000@\000@\000@\000@\000@\000 \000\200\000\007\000\001\000\000\000\000\000\000\000\000\000\000\000\300\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\374\000\371\000\372\000z\000z\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\340\000\300\000\000\000\000\000\000\000\000\000\000\000\001\000\007\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000:\000z\000z\000\372\000\371\000\374\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\006\000\017\000\017\000\017\000\017\000\017\000\017\000\006\000\000\000?\000\017\000\007\000\003\000\003\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\001\000\000\000\000\000\000\000\000\000\000\000\b\000\b\000\f\000\f\000\016\000\016\000\017\000\017\000\017\000\017\000\037\000\003\000\003\000\007\000\017\000\037\000\037\000\017\000\017\000\007\000\007\000\003\000\003\000\001\000\201\000\201\000\303\000\376\000\370\000\360\000\344\000\350\000\310\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\001\000\000\000\000\000\000\000\000\000\000\000\000\0000\000x\000x\000x\000x\000x\000x\000x\000x\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\320\000\310\000\350\000\344\000\360\000\370\000\376\000x\000x\000x\000x\000x\000x\000x\000x\0000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\377\000~\000>\000\036\000\036\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\000\000@\000\200\000\200\000\200\000\200\000\200\000\201\000\203\000\203\000\203\000\203\000\203\000\203\000\201\000\200\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\016\000\036\000\036\000>\000~\000\377\000\200\000\200\000\200\000\200\000\200\000\201\000\203\000\203\000\203\000\203\000\203\000\203\000\203\000\203\000C\000\007\000\017\000\003\000\001\000\000\000\000\000\000\000\000\000\200\000\300\000\300\000\300\000\300\000\300\000\300\000\200\000\000\000\370\000\362\000\364\000\364\000\364\000t\000t\000t\000t\000t\000t\000t\000t\000t\000t\000t\000\000\000\000\000\001\000\003\000\017\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\362\000\370\000?\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\017\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\007\000\003\000\003\000\003\000\003\000\003\000\007\000\300\000\220\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\177\000\377\000\377\000\377\000\177\000\000\000\000\000\000\000\000\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\240\000\220\000\300\000\000\000\000\000\000\000\177\000\377\000\377\000\377\000\377\000\177\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000>\000\034\000\035\000\035\000\035\000\034\000>\000\377\000\377\000\377\000\377\000\377\000\377\000\177\000\177\000\177\000\000\000\200\000\000\000\000\000\000\000\200\000\b\000\344\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\177\000\177\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000?\000\037\000\037\000\037\000\037\000\037\000?\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\364\000\362\000\370\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\017\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\377\000\177\000\177\000\177\000\177\000\177\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000\037\000?\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377\000\377|\377B\377B\377B\377|\377@\377@\377@\377|\377B\377B\377B\377|\377D\377B\377B\377~\377@\377@\377|\377@\377@\377@\377~\377<\377B\377@\3778\377\004\377\002\377B\377<\377\177\377\b\377\b\377\b\377\b\377\b\377\b\377\b\377\030\377$\377B\377B\377~\377B\377B\377B\377"
.subsections_via_symbols
| the_stack_data/243892086.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function DumpModeEncode
_DumpModeEncode: ## @DumpModeEncode
.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 $1, %r14d
testq %rdx, %rdx
jle LBB0_8
## %bb.1:
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
leaq (%r15,%rbx,4), %r15
subq %rbx, %r13
testq %r13, %r13
jle LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rax
movq 8(%r12), %rcx
movq %rcx, %rbx
subq %rax, %rbx
addq %r13, %rax
cmpq %rcx, %rax
cmovleq %r13, %rbx
xorl %edi, %edi
testq %rbx, %rbx
setg %dil
callq _assert
movq 16(%r12), %rdi
movq %r15, %rax
cmpq %r15, %rdi
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rsi
movq %rbx, %rdx
callq __TIFFmemcpy
movq 16(%r12), %rax
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
leaq (%rax,%rbx,4), %rax
movq %rax, 16(%r12)
movq (%r12), %rax
addq %rbx, %rax
movq %rax, (%r12)
cmpq 8(%r12), %rax
jl LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _TIFFFlushData1
testl %eax, %eax
jne LBB0_7
## %bb.6:
xorl %r14d, %r14d
LBB0_8:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _DumpModeEncode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function DumpModeEncode
_DumpModeEncode: ; @DumpModeEncode
.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
cmp x2, #1
b.lt LBB0_7
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, x23
sub x19, x19, x22
cmp x19, #0
b.le LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldp x8, x9, [x21]
sub x10, x9, x8
add x8, x8, x19
cmp x8, x9
csel x22, x10, x19, gt
cmp x22, #0
cset w0, gt
bl _assert
ldr x0, [x21, #16]
mov x8, x20
cmp x0, x20
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x1, x20
mov x2, x22
bl __TIFFmemcpy
ldr x8, [x21, #16]
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
lsl x23, x22, #2
add x8, x8, x23
str x8, [x21, #16]
ldp x8, x9, [x21]
add x8, x8, x22
cmp x8, x9
str x8, [x21]
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x21
bl _TIFFFlushData1
cbnz w0, LBB0_2
b LBB0_8
LBB0_7:
mov w0, #1
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
.cfi_endproc
; -- End function
.no_dead_strip _DumpModeEncode
.subsections_via_symbols
| AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dumpmode.c_DumpModeEncode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __redisAsyncDisconnect
___redisAsyncDisconnect: ## @__redisAsyncDisconnect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq ___redisAsyncCopyError
cmpq $0, (%rbx)
je LBB0_1
## %bb.2:
movq _REDIS_DISCONNECTING@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 12(%rbx)
jmp LBB0_3
LBB0_1:
leaq 8(%rbx), %rdi
xorl %esi, %esi
callq ___redisShiftCallback
movq _REDIS_ERR@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpl (%rcx), %eax
sete %dil
callq _assert
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp ___redisAsyncFree ## TAILCALL
.cfi_endproc
## -- End function
.comm _REDIS_ERR,4,2 ## @REDIS_ERR
.comm _REDIS_DISCONNECTING,4,2 ## @REDIS_DISCONNECTING
.no_dead_strip ___redisAsyncDisconnect
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __redisAsyncDisconnect
___redisAsyncDisconnect: ; @__redisAsyncDisconnect
.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 ___redisAsyncCopyError
ldr x8, [x19]
cbz x8, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _REDIS_DISCONNECTING@GOTPAGE
Lloh1:
ldr x8, [x8, _REDIS_DISCONNECTING@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x19, #12]
orr w8, w9, w8
str w8, [x19, #12]
b LBB0_3
LBB0_2:
add x0, x19, #8
mov x1, #0
bl ___redisShiftCallback
Lloh3:
adrp x8, _REDIS_ERR@GOTPAGE
Lloh4:
ldr x8, [x8, _REDIS_ERR@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w0, w8
cset w0, eq
bl _assert
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b ___redisAsyncFree
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _REDIS_ERR,4,2 ; @REDIS_ERR
.comm _REDIS_DISCONNECTING,4,2 ; @REDIS_DISCONNECTING
.no_dead_strip ___redisAsyncDisconnect
.subsections_via_symbols
| AnghaBench/h2o/deps/hiredis/extr_async.c___redisAsyncDisconnect.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/128920.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function abInit
_abInit: ## @abInit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _abInit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function abInit
_abInit: ; @abInit
.cfi_startproc
; %bb.0:
stp xzr, xzr, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _abInit
.subsections_via_symbols
| AnghaBench/esp-idf/components/console/linenoise/extr_linenoise.c_abInit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bnx2x_hw_stats_update
_bnx2x_hw_stats_update: ## @bnx2x_hw_stats_update
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _nig_stats@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _bnx2x_sp
movq %rax, %r15
movq _port_stats@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _bnx2x_sp
movq %rax, %r14
movl (%rbx), %eax
addl $-128, %eax
cmpl $4, %eax
ja LBB0_6
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_4:
movq %rbx, %rdi
callq _bnx2x_mstat_stats_update
jmp LBB0_7
LBB0_6:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _BNX2X_ERR
jmp LBB0_7
LBB0_5:
movq _BNX2X_MSG_STATS@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _DP
movl $-1, %r14d
jmp LBB0_17
LBB0_3:
movq %rbx, %rdi
callq _bnx2x_emac_stats_update
jmp LBB0_7
LBB0_2:
movq %rbx, %rdi
callq _bnx2x_bmac_stats_update
LBB0_7:
leaq 56(%rbx), %r12
movl 4(%r14), %esi
movl 8(%r14), %edi
movq 8(%r15), %rdx
subq 64(%rbx), %rdx
callq _ADD_EXTEND_64
movl 48(%rbx), %esi
movl 52(%rbx), %edi
movq (%r15), %rdx
subq 56(%rbx), %rdx
callq _ADD_EXTEND_64
movq %rbx, %rdi
callq _CHIP_IS_E3
testq %rax, %rax
jne LBB0_9
## %bb.8:
movq _egress_mac_pkt0@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _etherstatspkts1024octetsto1522octets@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_STAT64_NIG
movq _egress_mac_pkt1@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _etherstatspktsover1522octets@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _UPDATE_STAT64_NIG
LBB0_9:
movq %r12, %rdi
movq %r15, %rsi
movl $16, %edx
callq _memcpy
leaq 32(%rbx), %rdi
movq 16(%r14), %rsi
addq $16, %rsi
movl $4, %edx
callq _memcpy
movl 8(%r14), %eax
movl %eax, 24(%rbx)
movl 4(%r14), %eax
movl %eax, 20(%rbx)
incl (%r14)
movq %rbx, %rdi
callq _CHIP_IS_E3
testq %rax, %rax
je LBB0_14
## %bb.10:
movq %rbx, %rdi
callq _BP_PORT
testq %rax, %rax
jne LBB0_11
## %bb.12:
movq _MISC_REG_CPMU_LP_SM_ENT_CNT_P0@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_11:
movq _MISC_REG_CPMU_LP_SM_ENT_CNT_P1@GOTPCREL(%rip), %rax
LBB0_13:
movq (%rax), %rsi
movq %rbx, %rdi
callq _REG_RD
addl %eax, 16(%rbx)
LBB0_14:
movq %rbx, %rdi
callq _BP_NOMCP
xorl %r14d, %r14d
testl %eax, %eax
jne LBB0_17
## %bb.15:
movq _port_mb@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq %rbx, %rdi
callq _BP_PORT
movl (%r15,%rax,4), %esi
movq %rbx, %rdi
callq _SHMEM_RD
cmpq 8(%rbx), %rax
je LBB0_17
## %bb.16:
movq %rax, 8(%rbx)
leaq L_.str.2(%rip), %rdi
xorl %r14d, %r14d
movq %rax, %rsi
xorl %eax, %eax
callq _BNX2X_ERR
LBB0_17:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_3
.long L0_0_set_2
.end_data_region
## -- End function
.comm _nig_stats,4,2 ## @nig_stats
.comm _port_stats,4,2 ## @port_stats
.comm _BNX2X_MSG_STATS,4,2 ## @BNX2X_MSG_STATS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "stats updated by DMAE but no MAC active\n"
L_.str.1: ## @.str.1
.asciz "Unknown MAC type\n"
.comm _egress_mac_pkt0,4,2 ## @egress_mac_pkt0
.comm _etherstatspkts1024octetsto1522octets,4,2 ## @etherstatspkts1024octetsto1522octets
.comm _egress_mac_pkt1,4,2 ## @egress_mac_pkt1
.comm _etherstatspktsover1522octets,4,2 ## @etherstatspktsover1522octets
.comm _MISC_REG_CPMU_LP_SM_ENT_CNT_P1,8,3 ## @MISC_REG_CPMU_LP_SM_ENT_CNT_P1
.comm _MISC_REG_CPMU_LP_SM_ENT_CNT_P0,8,3 ## @MISC_REG_CPMU_LP_SM_ENT_CNT_P0
.comm _port_mb,8,3 ## @port_mb
L_.str.2: ## @.str.2
.asciz "NIG timer max (%u)\n"
.no_dead_strip _bnx2x_hw_stats_update
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bnx2x_hw_stats_update
_bnx2x_hw_stats_update: ; @bnx2x_hw_stats_update
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _nig_stats@GOTPAGE
Lloh1:
ldr x8, [x8, _nig_stats@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _bnx2x_sp
mov x21, x0
Lloh3:
adrp x8, _port_stats@GOTPAGE
Lloh4:
ldr x8, [x8, _port_stats@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _bnx2x_sp
mov x20, x0
mov x22, x19
ldr w8, [x22], #56
sub w8, w8, #128
cmp w8, #4
b.hi LBB0_3
; %bb.1:
Lloh6:
adrp x9, lJTI0_0@PAGE
Lloh7:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x0, x19
bl _bnx2x_mstat_stats_update
b LBB0_7
LBB0_3:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _BNX2X_ERR
b LBB0_7
LBB0_4:
Lloh10:
adrp x8, _BNX2X_MSG_STATS@GOTPAGE
Lloh11:
ldr x8, [x8, _BNX2X_MSG_STATS@GOTPAGEOFF]
Lloh12:
ldr w0, [x8]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
bl _DP
mov w0, #-1
b LBB0_15
LBB0_5:
mov x0, x19
bl _bnx2x_emac_stats_update
b LBB0_7
LBB0_6:
mov x0, x19
bl _bnx2x_bmac_stats_update
LBB0_7:
ldp w1, w0, [x20, #4]
ldr x8, [x21, #8]
ldr x9, [x19, #64]
sub x2, x8, x9
bl _ADD_EXTEND_64
ldp w1, w0, [x19, #48]
ldr x8, [x21]
ldr x9, [x19, #56]
sub x2, x8, x9
bl _ADD_EXTEND_64
mov x0, x19
bl _CHIP_IS_E3
cbnz x0, LBB0_9
; %bb.8:
Lloh15:
adrp x8, _egress_mac_pkt0@GOTPAGE
Lloh16:
ldr x8, [x8, _egress_mac_pkt0@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
Lloh18:
adrp x8, _etherstatspkts1024octetsto1522octets@GOTPAGE
Lloh19:
ldr x8, [x8, _etherstatspkts1024octetsto1522octets@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
bl _UPDATE_STAT64_NIG
Lloh21:
adrp x8, _egress_mac_pkt1@GOTPAGE
Lloh22:
ldr x8, [x8, _egress_mac_pkt1@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
Lloh24:
adrp x8, _etherstatspktsover1522octets@GOTPAGE
Lloh25:
ldr x8, [x8, _etherstatspktsover1522octets@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
bl _UPDATE_STAT64_NIG
LBB0_9:
mov x0, x22
mov x1, x21
mov w2, #16
bl _memcpy
add x0, x19, #32
ldr x8, [x20, #16]
add x1, x8, #16
mov w2, #4
bl _memcpy
ldur d0, [x20, #4]
stur d0, [x19, #20]
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
mov x0, x19
bl _CHIP_IS_E3
cbz x0, LBB0_11
; %bb.10:
mov x0, x19
bl _BP_PORT
Lloh27:
adrp x8, _MISC_REG_CPMU_LP_SM_ENT_CNT_P1@GOTPAGE
Lloh28:
ldr x8, [x8, _MISC_REG_CPMU_LP_SM_ENT_CNT_P1@GOTPAGEOFF]
Lloh29:
adrp x9, _MISC_REG_CPMU_LP_SM_ENT_CNT_P0@GOTPAGE
Lloh30:
ldr x9, [x9, _MISC_REG_CPMU_LP_SM_ENT_CNT_P0@GOTPAGEOFF]
cmp x0, #0
csel x8, x9, x8, eq
ldr x1, [x8]
mov x0, x19
bl _REG_RD
ldr w8, [x19, #16]
add w8, w8, w0
str w8, [x19, #16]
LBB0_11:
mov x0, x19
bl _BP_NOMCP
cbnz w0, LBB0_14
; %bb.12:
Lloh31:
adrp x8, _port_mb@GOTPAGE
Lloh32:
ldr x8, [x8, _port_mb@GOTPAGEOFF]
Lloh33:
ldr x20, [x8]
mov x0, x19
bl _BP_PORT
ldr w1, [x20, x0, lsl #2]
mov x0, x19
bl _SHMEM_RD
ldr x8, [x19, #8]
cmp x0, x8
b.eq LBB0_14
; %bb.13:
str x0, [x19, #8]
str x0, [sp]
Lloh34:
adrp x0, l_.str.2@PAGE
Lloh35:
add x0, x0, l_.str.2@PAGEOFF
bl _BNX2X_ERR
LBB0_14:
mov w0, #0
LBB0_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
; -- End function
.comm _nig_stats,4,2 ; @nig_stats
.comm _port_stats,4,2 ; @port_stats
.comm _BNX2X_MSG_STATS,4,2 ; @BNX2X_MSG_STATS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stats updated by DMAE but no MAC active\n"
l_.str.1: ; @.str.1
.asciz "Unknown MAC type\n"
.comm _egress_mac_pkt0,4,2 ; @egress_mac_pkt0
.comm _etherstatspkts1024octetsto1522octets,4,2 ; @etherstatspkts1024octetsto1522octets
.comm _egress_mac_pkt1,4,2 ; @egress_mac_pkt1
.comm _etherstatspktsover1522octets,4,2 ; @etherstatspktsover1522octets
.comm _MISC_REG_CPMU_LP_SM_ENT_CNT_P1,8,3 ; @MISC_REG_CPMU_LP_SM_ENT_CNT_P1
.comm _MISC_REG_CPMU_LP_SM_ENT_CNT_P0,8,3 ; @MISC_REG_CPMU_LP_SM_ENT_CNT_P0
.comm _port_mb,8,3 ; @port_mb
l_.str.2: ; @.str.2
.asciz "NIG timer max (%u)\n"
.no_dead_strip _bnx2x_hw_stats_update
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_stats.c_bnx2x_hw_stats_update.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PsCascadeStatusGet ## -- Begin function PsCascadeStatusGet
.p2align 4, 0x90
_PsCascadeStatusGet: ## @PsCascadeStatusGet
.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, %r13
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -80(%rbp)
movq _CmdPrompt@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq %rax, -72(%rbp)
leaq L_.str.1(%rip), %rdi
callq __UU
movl %eax, -64(%rbp)
movq _CmdEvalNotEmpty@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movl $0, -56(%rbp)
cmpq $0, 8(%r13)
je LBB0_1
## %bb.2:
leaq -80(%rbp), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl $1, %r8d
callq _ParseCommandList
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %r14
leaq -96(%rbp), %r12
movq %r12, %rdi
movl $12, %esi
callq _Zero
movl -88(%rbp), %edi
movq 8(%r13), %rdx
movl $4, %esi
callq _StrCpy
movl -92(%rbp), %ebx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _GetParamUniStr
movl %ebx, %edi
movl $4, %esi
movl %eax, %edx
callq _UniStrCpy
movl (%r13), %edi
movq %r12, %rsi
callq _ScGetLinkStatus
movq %rax, %rbx
movq _ERR_NO_ERROR@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_5
## %bb.6:
xorl %ebx, %ebx
xorl %eax, %eax
callq _CtNewStandard
movq %rax, %r12
leaq -96(%rbp), %r13
movq %rax, %rdi
movq %r13, %rsi
callq _CmdPrintStatusToListView
movq %r12, %rdi
movq %r15, %rsi
callq _CtFree
movq %r13, %rdi
callq _FreeRpcLinkStatus
jmp LBB0_7
LBB0_1:
movq (%r15), %rbx
leaq L_.str.2(%rip), %rdi
callq __UU
movq %r15, %rdi
movl %eax, %esi
callq *%rbx
LBB0_3:
movq _ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
movq (%rax), %rbx
jmp LBB0_8
LBB0_5:
movq %r15, %rdi
movq %rbx, %rsi
callq _CmdPrintError
LBB0_7:
movq %r14, %rdi
callq _FreeParamValueList
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.9:
movq %rbx, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[name]"
.comm _CmdPrompt,4,2 ## @CmdPrompt
L_.str.1: ## @.str.1
.asciz "CMD_CascadeCreate_Prompt_Name"
.comm _CmdEvalNotEmpty,4,2 ## @CmdEvalNotEmpty
L_.str.2: ## @.str.2
.asciz "CMD_Hub_Not_Selected"
.comm _ERR_INVALID_PARAMETER,8,3 ## @ERR_INVALID_PARAMETER
.comm _ERR_NO_ERROR,8,3 ## @ERR_NO_ERROR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PsCascadeStatusGet ; -- Begin function PsCascadeStatusGet
.p2align 2
_PsCascadeStatusGet: ; @PsCascadeStatusGet
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x3
mov x20, x2
mov x22, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _CmdPrompt@GOTPAGE
Lloh4:
ldr x9, [x9, _CmdPrompt@GOTPAGEOFF]
stur x8, [x29, #-40]
Lloh5:
ldrsw x8, [x9]
Lloh6:
adrp x9, l_.str@PAGE
Lloh7:
add x9, x9, l_.str@PAGEOFF
stp x9, x8, [sp, #24]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl __UU
Lloh10:
adrp x8, _CmdEvalNotEmpty@GOTPAGE
Lloh11:
ldr x8, [x8, _CmdEvalNotEmpty@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
stp w0, w8, [sp, #40]
str wzr, [sp, #48]
ldr x8, [x21, #8]
cbz x8, LBB0_4
; %bb.1:
add x3, sp, #24
mov x0, x19
mov x1, x22
mov x2, x20
mov w4, #1
bl _ParseCommandList
cbz x0, LBB0_5
; %bb.2:
mov x20, x0
add x0, sp, #8
mov w1, #12
bl _Zero
ldr w0, [sp, #16]
ldr x2, [x21, #8]
mov w1, #4
bl _StrCpy
ldr w22, [sp, #12]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _GetParamUniStr
mov x2, x0
mov x0, x22
mov w1, #4
bl _UniStrCpy
ldr w0, [x21]
add x1, sp, #8
bl _ScGetLinkStatus
Lloh15:
adrp x8, _ERR_NO_ERROR@GOTPAGE
Lloh16:
ldr x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_6
; %bb.3:
bl _CtNewStandard
mov x21, x0
add x1, sp, #8
bl _CmdPrintStatusToListView
mov x0, x21
mov x1, x19
bl _CtFree
add x0, sp, #8
bl _FreeRpcLinkStatus
mov x0, x20
bl _FreeParamValueList
mov x21, #0
b LBB0_7
LBB0_4:
ldr x20, [x19]
Lloh18:
adrp x0, l_.str.2@PAGE
Lloh19:
add x0, x0, l_.str.2@PAGEOFF
bl __UU
mov x1, x0
mov x0, x19
blr x20
LBB0_5:
Lloh20:
adrp x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh21:
ldr x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh22:
ldr x21, [x8]
b LBB0_7
LBB0_6:
mov x21, x0
mov x0, x19
mov x1, x21
bl _CmdPrintError
mov x0, x20
bl _FreeParamValueList
LBB0_7:
ldur x8, [x29, #-40]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
mov x0, x21
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[name]"
.comm _CmdPrompt,4,2 ; @CmdPrompt
l_.str.1: ; @.str.1
.asciz "CMD_CascadeCreate_Prompt_Name"
.comm _CmdEvalNotEmpty,4,2 ; @CmdEvalNotEmpty
l_.str.2: ; @.str.2
.asciz "CMD_Hub_Not_Selected"
.comm _ERR_INVALID_PARAMETER,8,3 ; @ERR_INVALID_PARAMETER
.comm _ERR_NO_ERROR,8,3 ; @ERR_NO_ERROR
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Cedar/extr_Command.c_PsCascadeStatusGet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function si470x_fops_poll
_si470x_fops_poll: ## @si470x_fops_poll
.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
callq _video_drvdata
movq %rax, %rbx
movq (%rax), %rax
movq _SYSCONFIG1@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _SYSCONFIG1_RDS@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, (%rax,%rcx,4)
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _si470x_rds_on
LBB0_2:
movq %rbx, %rsi
addq $24, %rsi
movq %r15, %rdi
movq %r14, %rdx
callq _poll_wait
movq 8(%rbx), %rcx
movq _POLLIN@GOTPCREL(%rip), %rax
movq _POLLRDNORM@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rax), %edx
xorl %eax, %eax
cmpq 16(%rbx), %rcx
cmovnel %edx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SYSCONFIG1,8,3 ## @SYSCONFIG1
.comm _SYSCONFIG1_RDS,4,2 ## @SYSCONFIG1_RDS
.comm _POLLIN,4,2 ## @POLLIN
.comm _POLLRDNORM,4,2 ## @POLLRDNORM
.no_dead_strip _si470x_fops_poll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function si470x_fops_poll
_si470x_fops_poll: ; @si470x_fops_poll
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
bl _video_drvdata
mov x20, x0
ldr x8, [x0]
Lloh0:
adrp x9, _SYSCONFIG1@GOTPAGE
Lloh1:
ldr x9, [x9, _SYSCONFIG1@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr w8, [x8, x9, lsl #2]
Lloh3:
adrp x9, _SYSCONFIG1_RDS@GOTPAGE
Lloh4:
ldr x9, [x9, _SYSCONFIG1_RDS@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_2
; %bb.1:
mov x0, x20
bl _si470x_rds_on
LBB0_2:
add x1, x20, #24
mov x0, x21
mov x2, x19
bl _poll_wait
ldp x8, x9, [x20, #8]
Lloh6:
adrp x10, _POLLIN@GOTPAGE
Lloh7:
ldr x10, [x10, _POLLIN@GOTPAGEOFF]
Lloh8:
adrp x11, _POLLRDNORM@GOTPAGE
Lloh9:
ldr x11, [x11, _POLLRDNORM@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
Lloh11:
ldr w11, [x11]
orr w10, w11, w10
cmp x8, x9
csel w0, wzr, w10, eq
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10
.cfi_endproc
; -- End function
.comm _SYSCONFIG1,8,3 ; @SYSCONFIG1
.comm _SYSCONFIG1_RDS,4,2 ; @SYSCONFIG1_RDS
.comm _POLLIN,4,2 ; @POLLIN
.comm _POLLRDNORM,4,2 ; @POLLRDNORM
.no_dead_strip _si470x_fops_poll
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/radio/si470x/extr_radio-si470x-usb.c_si470x_fops_poll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fotg210_done
_fotg210_done: ## @fotg210_done
.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
leaq 4(%rsi), %rdi
callq _list_del_init
movq (%rbx), %rdi
movq 8(%rdi), %rax
movq _USB_SPEED_UNKNOWN@GOTPCREL(%rip), %rcx
movq _ESHUTDOWN@GOTPCREL(%rip), %rdx
xorl %esi, %esi
subl (%rdx), %esi
cmpq (%rcx), %rax
cmovnel %r14d, %esi
movl %esi, (%r15)
callq _spin_unlock
leaq 24(%rbx), %rdi
movq %r15, %rsi
callq _usb_gadget_giveback_request
movq (%rbx), %rdi
callq _spin_lock
cmpq $0, 16(%rbx)
je LBB0_3
## %bb.1:
leaq 8(%rbx), %rdi
callq _list_empty
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fotg210_disable_fifo_int ## TAILCALL
LBB0_3:
movq (%rbx), %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fotg210_set_cxdone ## TAILCALL
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _USB_SPEED_UNKNOWN,8,3 ## @USB_SPEED_UNKNOWN
.comm _ESHUTDOWN,4,2 ## @ESHUTDOWN
.no_dead_strip _fotg210_done
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fotg210_done
_fotg210_done: ; @fotg210_done
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x1
mov x19, x0
add x0, x1, #4
bl _list_del_init
ldr x0, [x19]
ldr x8, [x0, #8]
Lloh0:
adrp x9, _USB_SPEED_UNKNOWN@GOTPAGE
Lloh1:
ldr x9, [x9, _USB_SPEED_UNKNOWN@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _ESHUTDOWN@GOTPAGE
Lloh4:
ldr x10, [x10, _ESHUTDOWN@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
cmp x8, x9
csneg w8, w20, w10, ne
str w8, [x21]
bl _spin_unlock
add x0, x19, #24
mov x1, x21
bl _usb_gadget_giveback_request
ldr x0, [x19]
bl _spin_lock
ldr x8, [x19, #16]
cbz x8, LBB0_3
; %bb.1:
add x0, x19, #8
bl _list_empty
cbz x0, LBB0_4
; %bb.2:
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 _fotg210_disable_fifo_int
LBB0_3:
ldr 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 _fotg210_set_cxdone
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _USB_SPEED_UNKNOWN,8,3 ; @USB_SPEED_UNKNOWN
.comm _ESHUTDOWN,4,2 ; @ESHUTDOWN
.no_dead_strip _fotg210_done
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/gadget/udc/extr_fotg210-udc.c_fotg210_done.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __flush_batch
___flush_batch: ## @__flush_batch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r14
leaq -48(%rbp), %rdi
callq _blk_start_plug
cmpl $0, (%r12)
jle LBB0_3
## %bb.1:
xorl %ebx, %ebx
movq _REQ_SYNC@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq (%rax,%rbx,8), %rdi
movl (%r15), %esi
callq _write_dirty_buffer
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
leaq -48(%rbp), %rdi
callq _blk_finish_plug
cmpl $0, (%r12)
jle LBB0_6
## %bb.4:
xorl %ebx, %ebx
leaq L_.str(%rip), %r15
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq (%rax,%rbx,8), %r13
movq %r13, %rdi
movq %r15, %rsi
callq _BUFFER_TRACE
movq %r13, %rdi
callq ___brelse
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_5
LBB0_6:
movl $0, (%r12)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REQ_SYNC,4,2 ## @REQ_SYNC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "brelse"
.no_dead_strip ___flush_batch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __flush_batch
___flush_batch: ; @__flush_batch
.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
add x0, sp, #8
bl _blk_start_plug
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0
Lloh0:
adrp x22, _REQ_SYNC@GOTPAGE
Lloh1:
ldr x22, [x22, _REQ_SYNC@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x0, [x8, x21, lsl #3]
ldr w1, [x22]
bl _write_dirty_buffer
add x21, x21, #1
ldrsw x8, [x19]
cmp x21, x8
b.lt LBB0_2
LBB0_3:
add x0, sp, #8
bl _blk_finish_plug
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov x23, #0
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x22, [x8, x23, lsl #3]
mov x0, x22
mov x1, x21
bl _BUFFER_TRACE
mov x0, x22
bl ___brelse
add x23, x23, #1
ldrsw x8, [x19]
cmp x23, x8
b.lt LBB0_5
LBB0_6:
str wzr, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _REQ_SYNC,4,2 ; @REQ_SYNC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "brelse"
.no_dead_strip ___flush_batch
.subsections_via_symbols
| AnghaBench/linux/fs/jbd2/extr_checkpoint.c___flush_batch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function desc_table_rw
_desc_table_rw: ## @desc_table_rw
.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
movl %r8d, -60(%rbp) ## 4-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
movl %edx, %r14d
movq %rsi, -80(%rbp) ## 8-byte Spill
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl %edx, %edi
callq _ISLDT
testq %rax, %rax
jne LBB0_1
## %bb.2:
movq _VM_REG_GUEST_GDTR@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _VM_REG_GUEST_LDTR@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %esi
leaq -96(%rbp), %rdx
leaq -88(%rbp), %rcx
leaq -104(%rbp), %r8
movl %r15d, %edi
callq _xh_vm_get_desc
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert
movq -88(%rbp), %rbx
movl %r14d, %edi
callq _SEL_LIMIT
xorl %edi, %edi
cmpq %rax, %rbx
setge %dil
callq _assert
movq -96(%rbp), %r12
movl %r14d, %edi
callq _SEL_START
movq %rax, %rbx
addq %r12, %rbx
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
jne LBB0_4
## %bb.5:
movq _XHYVE_PROT_WRITE@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_4:
movq _XHYVE_PROT_READ@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %r14d
leaq -56(%rbp), %r12
movq %r12, %rdi
callq _nitems
## kill: def $eax killed $eax def $rax
movl %r15d, %edi
movq -80(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
movl $4, %ecx
movl %r14d, %r8d
movq %r12, %r9
pushq %r13
pushq %rax
callq _xh_vm_copy_setup
addq $16, %rsp
movl %eax, %ebx
testl %eax, %eax
jne LBB0_11
## %bb.7:
cmpl $0, (%r13)
jne LBB0_11
## %bb.8:
cmpl $0, -60(%rbp) ## 4-byte Folded Reload
je LBB0_10
## %bb.9:
leaq -56(%rbp), %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
movl $4, %edx
callq _xh_vm_copyin
jmp LBB0_11
LBB0_10:
leaq -56(%rbp), %rsi
movq -72(%rbp), %rdi ## 8-byte Reload
movl $4, %edx
callq _xh_vm_copyout
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_13
## %bb.12:
movl %ebx, %eax
addq $72, %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 _VM_REG_GUEST_LDTR,4,2 ## @VM_REG_GUEST_LDTR
.comm _VM_REG_GUEST_GDTR,4,2 ## @VM_REG_GUEST_GDTR
.comm _XHYVE_PROT_READ,4,2 ## @XHYVE_PROT_READ
.comm _XHYVE_PROT_WRITE,4,2 ## @XHYVE_PROT_WRITE
.no_dead_strip _desc_table_rw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function desc_table_rw
_desc_table_rw: ; @desc_table_rw
.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 x21, x5
mov x20, x4
mov x19, x3
mov x24, x2
mov x22, x1
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
mov x0, x2
bl _ISLDT
Lloh3:
adrp x8, _VM_REG_GUEST_LDTR@GOTPAGE
Lloh4:
ldr x8, [x8, _VM_REG_GUEST_LDTR@GOTPAGEOFF]
Lloh5:
adrp x9, _VM_REG_GUEST_GDTR@GOTPAGE
Lloh6:
ldr x9, [x9, _VM_REG_GUEST_GDTR@GOTPAGEOFF]
cmp x0, #0
csel x8, x9, x8, eq
ldr w1, [x8]
add x2, sp, #24
add x3, sp, #16
add x4, sp, #8
mov x0, x23
bl _xh_vm_get_desc
cmp w0, #0
cset w0, eq
bl _assert
ldr x25, [sp, #16]
mov x0, x24
bl _SEL_LIMIT
cmp x25, x0
cset w0, ge
bl _assert
ldr x25, [sp, #24]
mov x0, x24
bl _SEL_START
Lloh7:
adrp x8, _XHYVE_PROT_READ@GOTPAGE
Lloh8:
ldr x8, [x8, _XHYVE_PROT_READ@GOTPAGEOFF]
add x24, x0, x25
Lloh9:
adrp x9, _XHYVE_PROT_WRITE@GOTPAGE
Lloh10:
ldr x9, [x9, _XHYVE_PROT_WRITE@GOTPAGEOFF]
cmp w20, #0
csel x8, x9, x8, eq
ldr w25, [x8]
add x0, sp, #32
bl _nitems
mov x6, x0
add x5, sp, #32
mov x0, x23
mov x1, x22
mov x2, x24
mov w3, #4
mov x4, x25
mov x7, x21
bl _xh_vm_copy_setup
mov x22, x0
cbnz w0, LBB0_5
; %bb.1:
ldr w8, [x21]
cbnz w8, LBB0_5
; %bb.2:
cbz w20, LBB0_4
; %bb.3:
add x0, sp, #32
mov x1, x19
mov w2, #4
bl _xh_vm_copyin
b LBB0_5
LBB0_4:
add x1, sp, #32
mov x0, x19
mov w2, #4
bl _xh_vm_copyout
LBB0_5:
ldr x8, [sp, #40]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov x0, x22
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_7:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _VM_REG_GUEST_LDTR,4,2 ; @VM_REG_GUEST_LDTR
.comm _VM_REG_GUEST_GDTR,4,2 ; @VM_REG_GUEST_GDTR
.comm _XHYVE_PROT_READ,4,2 ; @XHYVE_PROT_READ
.comm _XHYVE_PROT_WRITE,4,2 ; @XHYVE_PROT_WRITE
.no_dead_strip _desc_table_rw
.subsections_via_symbols
| AnghaBench/xhyve/src/extr_task_switch.c_desc_table_rw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mc_unify_path
_mc_unify_path: ## @mc_unify_path
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %r14
callq _strlen
## kill: def $eax killed $eax def $rax
leal 2(%rax), %edi
callq _xmalloc
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq _strcpy
movq %rbx, %rdi
callq _strlen
movzbl -1(%rbx), %ecx
cmpl $47, %ecx
je LBB0_5
## %bb.3:
cmpl $92, %ecx
je LBB0_5
## %bb.4:
cltq
movq %rbx, %rdi
addq %rax, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcpy
LBB0_5:
movq %rbx, %rdi
movl $92, %esi
callq _strchr
jmp LBB0_6
LBB0_1:
leaq L_.str(%rip), %rbx
LBB0_6:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./"
L_.str.1: ## @.str.1
.asciz "/"
.no_dead_strip _mc_unify_path
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mc_unify_path
_mc_unify_path: ; @mc_unify_path
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
bl _strlen
add w0, w0, #2
bl _xmalloc
mov x19, x0
mov x1, x20
bl _strcpy
mov x0, x19
bl _strlen
ldurb w8, [x19, #-1]
cmp w8, #47
b.eq LBB0_4
; %bb.2:
cmp w8, #92
b.eq LBB0_4
; %bb.3:
add x0, x19, w0, sxtw
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _strcpy
LBB0_4:
mov x0, x19
mov w1, #92 ; =0x5c
bl _strchr
b LBB0_6
LBB0_5:
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "./"
l_.str.1: ; @.str.1
.asciz "/"
.no_dead_strip _mc_unify_path
.subsections_via_symbols
| assembly_file_155910.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tui_resume
_tui_resume: ## @tui_resume
.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 _tui_old_uiout@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq _gdb_stdout@GOTPCREL(%rip), %r15
movq (%r15), %rsi
callq _cli_out_set_stream
movq %rax, %rbx
cmpq (%r15), %rax
je LBB0_2
## %bb.1:
movl (%r14), %edi
movq %rbx, %rsi
callq _cli_out_set_stream
xorl %eax, %eax
callq _gdb_setup_readline
jmp LBB0_4
LBB0_2:
xorl %eax, %eax
callq _gdb_setup_readline
testq %rbx, %rbx
je LBB0_4
## %bb.3:
movl (%r14), %edi
movq (%r15), %rsi
callq _cli_out_set_stream
LBB0_4:
movq _tui_start_enabled@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_6
## %bb.5:
xorl %eax, %eax
callq _tui_enable
LBB0_6:
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tui_old_uiout,4,2 ## @tui_old_uiout
.comm _gdb_stdout,8,3 ## @gdb_stdout
.comm _tui_start_enabled,8,3 ## @tui_start_enabled
.no_dead_strip _tui_resume
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tui_resume
_tui_resume: ; @tui_resume
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x20, _tui_old_uiout@GOTPAGE
Lloh1:
ldr x20, [x20, _tui_old_uiout@GOTPAGEOFF]
ldr w0, [x20]
Lloh2:
adrp x21, _gdb_stdout@GOTPAGE
Lloh3:
ldr x21, [x21, _gdb_stdout@GOTPAGEOFF]
ldr x1, [x21]
bl _cli_out_set_stream
mov x19, x0
ldr x8, [x21]
cmp x0, x8
b.eq LBB0_2
; %bb.1:
ldr w0, [x20]
mov x1, x19
bl _cli_out_set_stream
bl _gdb_setup_readline
b LBB0_4
LBB0_2:
bl _gdb_setup_readline
cbz x19, LBB0_4
; %bb.3:
ldr w0, [x20]
ldr x1, [x21]
bl _cli_out_set_stream
LBB0_4:
Lloh4:
adrp x8, _tui_start_enabled@GOTPAGE
Lloh5:
ldr x8, [x8, _tui_start_enabled@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
cbz x8, LBB0_6
; %bb.5:
bl _tui_enable
LBB0_6:
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _tui_old_uiout,4,2 ; @tui_old_uiout
.comm _gdb_stdout,8,3 ; @gdb_stdout
.comm _tui_start_enabled,8,3 ; @tui_start_enabled
.no_dead_strip _tui_resume
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/tui/extr_tui-interp.c_tui_resume.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sort_axz
_sort_axz: ## @sort_axz
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
jle LBB0_16
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 3
movq %rbx, %rcx
andq $-2, %rcx
movl (%r14,%rcx,4), %eax
movl 4(%r14,%rcx,4), %ecx
movq %rbx, %rsi
xorl %r15d, %r15d
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
decq %r15
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_7 Depth 3
cmpl %eax, (%r14,%r15,8)
jl LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
cmpl %ecx, 4(%r14,%r15,8)
jl LBB0_6
jmp LBB0_7
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_7 Depth=3
decq %rsi
LBB0_7: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
cmpl %eax, (%r14,%rsi,8)
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=3
jne LBB0_11
## %bb.9: ## in Loop: Header=BB0_7 Depth=3
cmpl %ecx, 4(%r14,%rsi,8)
jg LBB0_10
LBB0_11: ## in Loop: Header=BB0_3 Depth=2
cmpq %rsi, %r15
jg LBB0_13
## %bb.12: ## in Loop: Header=BB0_3 Depth=2
movq (%r14,%r15,8), %rdx
movq (%r14,%rsi,8), %rdi
movq %rdi, (%r14,%r15,8)
incq %r15
movq %rdx, (%r14,%rsi,8)
decq %rsi
LBB0_13: ## in Loop: Header=BB0_3 Depth=2
cmpq %rsi, %r15
jle LBB0_3
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _sort_axz
leaq (,%r15,8), %rax
subq %rax, %r14
subq %r15, %rbx
jg LBB0_2
## %bb.15:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB0_16:
retq
.cfi_endproc
## -- End function
.no_dead_strip _sort_axz
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sort_axz
_sort_axz: ; @sort_axz
.cfi_startproc
; %bb.0:
cmp x1, #1
b.lt LBB0_18
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _sort_axz
sub x20, x20, x21, lsl #3
subs x19, x19, x21
b.le LBB0_17
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_7 Depth 3
; Child Loop BB0_12 Depth 3
mov x21, #0 ; =0x0
lsr x8, x19, #1
add x9, x20, x8, lsl #3
ldp w8, w9, [x9]
mov x1, x19
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
cmp x21, x1
b.gt LBB0_2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_7 Depth 3
; Child Loop BB0_12 Depth 3
add x10, x20, x21, lsl #3
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=3
sub x21, x21, #1
sub x10, x10, #8
LBB0_7: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w11, [x10]
cmp w11, w8
b.lt LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=3
b.ne LBB0_10
; %bb.9: ; in Loop: Header=BB0_7 Depth=3
ldr w11, [x10, #4]
cmp w11, w9
b.lt LBB0_6
LBB0_10: ; in Loop: Header=BB0_5 Depth=2
add x11, x20, x1, lsl #3
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=3
sub x1, x1, #1
sub x11, x11, #8
LBB0_12: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Inner Loop Header: Depth=3
ldr w12, [x11]
cmp w12, w8
b.gt LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=3
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_12 Depth=3
ldr w12, [x11, #4]
cmp w12, w9
b.gt LBB0_11
LBB0_15: ; in Loop: Header=BB0_5 Depth=2
cmp x21, x1
b.gt LBB0_4
; %bb.16: ; in Loop: Header=BB0_5 Depth=2
ldr x12, [x10]
add x21, x21, #1
ldr x13, [x11]
str x13, [x10]
sub x1, x1, #1
str x12, [x11]
b LBB0_4
LBB0_17:
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
LBB0_18:
ret
.cfi_endproc
; -- End function
.no_dead_strip _sort_axz
.subsections_via_symbols
| assembly_file_44177.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _switch_to ## -- Begin function switch_to
.p2align 4, 0x90
_switch_to: ## @switch_to
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rsi
movq _current@GOTPCREL(%rip), %rax
movq (%rax), %rdi
cmpq %rsi, %rdi
je LBB0_1
## %bb.2:
movq %rsi, (%rax)
popq %rbp
jmp _cpu_switch_to ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _current,8,3 ## @current
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _switch_to ; -- Begin function switch_to
.p2align 2
_switch_to: ; @switch_to
.cfi_startproc
; %bb.0:
mov x1, x0
Lloh0:
adrp x8, _current@GOTPAGE
Lloh1:
ldr x8, [x8, _current@GOTPAGEOFF]
ldr x0, [x8]
cmp x0, x1
b.eq LBB0_2
; %bb.1:
str x1, [x8]
b _cpu_switch_to
LBB0_2:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _current,8,3 ; @current
.subsections_via_symbols
| AnghaBench/raspberry-pi-os/exercises/lesson05/2/avenito/src/extr_sched.c_switch_to.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $134145, %r14d ## imm = 0x20C01
leaq L_str(%rip), %r15
leaq _states_alignment(%rip), %r13
leaq _states_on_or_off(%rip), %rbx
leaq L_.str.9(%rip), %r12
jmp LBB0_1
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
xorq $1048576, %r14 ## imm = 0x100000
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
movl $10, %edi
callq _putchar
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movq %r15, %rdi
callq _puts
movzbl %r14b, %esi
movl %r14d, %edx
shrl $8, %edx
andl $127, %edx
movq %r14, %rax
shrq $13, %rax
andl $24, %eax
movq (%rax,%r13), %rcx
movq %r14, %rax
shrq $15, %rax
andl $8, %eax
movq (%rax,%rbx), %r8
movq %r14, %rax
shrq $16, %rax
andl $8, %eax
movq (%rax,%rbx), %r9
movq %r14, %rax
shrq $17, %rax
andl $8, %eax
movq (%rax,%rbx), %rax
movq %rax, (%rsp)
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
callq _output_menu_and_get_choice
cmpb $113, %al
je LBB0_23
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl %al, %eax
addl $-97, %eax
cmpl $20, %eax
ja LBB0_22
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rbx
jmp LBB0_7
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
leaq L_.str.10(%rip), %rdi
callq _puts
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.8(%rip), %rdi
callq _puts
movq %r12, %rdi
callq _puts
callq _getchar
movl %eax, %r15d
shll $24, %r15d
cmpl $167772160, %r15d ## imm = 0xA000000
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl %eax, %r13d
movq _buffer@GOTPCREL(%rip), %rdi
callq _gets
cmpl $1660944384, %r15d ## imm = 0x63000000
je LBB0_12
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
cmpl $1811939328, %r15d ## imm = 0x6C000000
je LBB0_12
## %bb.10: ## in Loop: Header=BB0_7 Depth=2
cmpl $1912602624, %r15d ## imm = 0x72000000
jne LBB0_11
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
cmpb $99, %r13b
je LBB0_17
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
cmpb $114, %r13b
je LBB0_18
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
cmpb $108, %r13b
jne LBB0_15
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
andq $-196609, %r14 ## imm = 0xFFFCFFFF
jmp LBB0_15
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
xorq $262144, %r14 ## imm = 0x40000
jmp LBB0_22
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _buffer@GOTPCREL(%rip), %r12
movq %r12, %rdi
callq _gets
movq %r12, %rdi
leaq L_.str.9(%rip), %r12
leaq L_.str.6(%rip), %rsi
leaq -48(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
andq $-256, %r14
orq -48(%rbp), %r14
jmp LBB0_22
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
xorq $524288, %r14 ## imm = 0x80000
jmp LBB0_22
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _buffer@GOTPCREL(%rip), %r12
movq %r12, %rdi
callq _gets
movq %r12, %rdi
leaq L_.str.9(%rip), %r12
leaq L_.str.6(%rip), %rsi
leaq -48(%rbp), %rdx
xorl %eax, %eax
callq _sscanf
movq -48(%rbp), %rax
andq $-32513, %r14 ## imm = 0x80FF
shlq $8, %rax
orq %rax, %r14
jmp LBB0_22
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
andq $-196609, %r14 ## imm = 0xFFFCFFFF
orq $65536, %r14 ## imm = 0x10000
jmp LBB0_15
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
andq $-196609, %r14 ## imm = 0xFFFCFFFF
orq $131072, %r14 ## imm = 0x20000
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %r15
leaq _states_alignment(%rip), %r13
leaq _states_on_or_off(%rip), %rbx
jmp LBB0_22
LBB0_23:
leaq L_.str.11(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_19
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_4
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_20
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_22
.long L0_0_set_5
.long L0_0_set_22
.long L0_0_set_21
.end_data_region
## -- End function
.globl _set_font_id ## -- Begin function set_font_id
.p2align 4, 0x90
_set_font_id: ## @set_font_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $-256, %rax
andq (%rdi), %rax
orq %rsi, %rax
movq %rax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_font_size ## -- Begin function set_font_size
.p2align 4, 0x90
_set_font_size: ## @set_font_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $-32513, %rax ## imm = 0x80FF
andq (%rdi), %rax
shlq $8, %rsi
orq %rax, %rsi
movq %rsi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_font_align ## -- Begin function set_font_align
.p2align 4, 0x90
_set_font_align: ## @set_font_align
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $-196609, %rax ## imm = 0xFFFCFFFF
andq (%rdi), %rax
shlq $16, %rsi
orq %rax, %rsi
movq %rsi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_font_bold ## -- Begin function set_font_bold
.p2align 4, 0x90
_set_font_bold: ## @set_font_bold
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $-262145, %rax ## imm = 0xFFFBFFFF
andq (%rdi), %rax
movl %esi, %ecx
shlq $18, %rcx
orq %rax, %rcx
movq %rcx, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_font_italic ## -- Begin function set_font_italic
.p2align 4, 0x90
_set_font_italic: ## @set_font_italic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $-524289, %rax ## imm = 0xFFF7FFFF
andq (%rdi), %rax
movl %esi, %ecx
shlq $19, %rcx
orq %rax, %rcx
movq %rcx, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_font_underlined ## -- Begin function set_font_underlined
.p2align 4, 0x90
_set_font_underlined: ## @set_font_underlined
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $-1048577, %rax ## imm = 0xFFEFFFFF
andq (%rdi), %rax
movl %esi, %ecx
shlq $20, %rcx
orq %rax, %rcx
movq %rcx, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _output_font_settings ## -- Begin function output_font_settings
.p2align 4, 0x90
_output_font_settings: ## @output_font_settings
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_str(%rip), %rdi
callq _puts
movzbl %bl, %esi
movl %ebx, %edx
shrl $8, %edx
andl $127, %edx
movq %rbx, %rax
shrq $13, %rax
andl $24, %eax
leaq _states_alignment(%rip), %rcx
movq (%rax,%rcx), %rcx
movq %rbx, %rax
shrq $15, %rax
andl $8, %eax
leaq _states_on_or_off(%rip), %rdi
movq (%rax,%rdi), %r8
movq %rbx, %rax
shrq $16, %rax
andl $8, %eax
movq (%rax,%rdi), %r9
shrq $17, %rbx
andl $8, %ebx
movq (%rbx,%rdi), %rax
movq %rax, (%rsp)
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverse_font_bold ## -- Begin function reverse_font_bold
.p2align 4, 0x90
_reverse_font_bold: ## @reverse_font_bold
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorb $4, 2(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverse_font_italic ## -- Begin function reverse_font_italic
.p2align 4, 0x90
_reverse_font_italic: ## @reverse_font_italic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorb $8, 2(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reverse_font_underlined ## -- Begin function reverse_font_underlined
.p2align 4, 0x90
_reverse_font_underlined: ## @reverse_font_underlined
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorb $16, 2(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function output_menu_and_get_choice
LCPI11_0:
.long 113 ## 0x71
.long 1761607680 ## 0x69000000
.long 1644167168 ## 0x62000000
.long 1627389952 ## 0x61000000
.section __TEXT,__text,regular,pure_instructions
.globl _output_menu_and_get_choice
.p2align 4, 0x90
_output_menu_and_get_choice: ## @output_menu_and_get_choice
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.14(%rip), %r14
leaq L_.str.15(%rip), %r15
leaq L_.str.16(%rip), %rbx
.p2align 4, 0x90
LBB11_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
movq %r15, %rdi
callq _puts
movq %rbx, %rdi
callq _puts
callq _getchar
movl %eax, %r12d
movl %eax, %r13d
shll $24, %r13d
cmpl $167772160, %r13d ## imm = 0xA000000
je LBB11_3
## %bb.2: ## in Loop: Header=BB11_1 Depth=1
movq _buffer@GOTPCREL(%rip), %rdi
callq _gets
LBB11_3: ## in Loop: Header=BB11_1 Depth=1
movl %r12d, %eax
andl $251, %eax
movd %eax, %xmm0
pinsrd $1, %r13d, %xmm0
pshufd $84, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,1,1]
pcmpeqd LCPI11_0(%rip), %xmm0
movmskps %xmm0, %eax
testl %eax, %eax
jne LBB11_6
## %bb.4: ## in Loop: Header=BB11_1 Depth=1
cmpl $1929379840, %r13d ## imm = 0x73000000
je LBB11_6
## %bb.5: ## in Loop: Header=BB11_1 Depth=1
cmpl $1711276032, %r13d ## imm = 0x66000000
je LBB11_6
## %bb.7: ## in Loop: Header=BB11_1 Depth=1
leaq L_.str.17(%rip), %rdi
callq _puts
jmp LBB11_1
LBB11_6:
movsbl %r12b, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "left"
L_.str.1: ## @.str.1
.asciz "center"
L_.str.2: ## @.str.2
.asciz "right"
.section __DATA,__data
.globl _states_alignment ## @states_alignment
.p2align 4
_states_alignment:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "off"
L_.str.4: ## @.str.4
.asciz "on"
.section __DATA,__data
.globl _states_on_or_off ## @states_on_or_off
.p2align 4
_states_on_or_off:
.quad L_.str.3
.quad L_.str.4
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "Enter font id (0-255): "
.comm _buffer,1024,4 ## @buffer
L_.str.6: ## @.str.6
.asciz "%u"
L_.str.7: ## @.str.7
.asciz "Enter font size (0-127): "
L_.str.8: ## @.str.8
.asciz "Select alignment:"
L_.str.9: ## @.str.9
.asciz "l)left c)center r)right"
L_.str.10: ## @.str.10
.asciz "Invalid alignment!\n"
L_.str.11: ## @.str.11
.asciz "Bye!"
L_.str.13: ## @.str.13
.asciz "%3u %4u %-6s %-3s %-3s %-3s\n\n"
L_.str.14: ## @.str.14
.asciz "f)change font s)change size a)change alignment"
L_.str.15: ## @.str.15
.asciz "b)toggle bold i)toggle italic u)toggle underline"
L_.str.16: ## @.str.16
.asciz "q)quit"
L_.str.17: ## @.str.17
.asciz "Invalid choice!\n"
L_str: ## @str
.asciz " ID SIZE ALIGNMENT B I U"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x19, l_str@PAGE
Lloh1:
add x19, x19, l_str@PAGEOFF
Lloh2:
adrp x28, _states_alignment@PAGE
Lloh3:
add x28, x28, _states_alignment@PAGEOFF
Lloh4:
adrp x27, _states_on_or_off@PAGE
Lloh5:
add x27, x27, _states_on_or_off@PAGEOFF
Lloh6:
adrp x21, l_.str.8@PAGE
Lloh7:
add x21, x21, l_.str.8@PAGEOFF
mov w20, #3073
movk w20, #2, lsl #16
Lloh8:
adrp x22, l_.str.9@PAGE
Lloh9:
add x22, x22, l_.str.9@PAGEOFF
mov w26, #167772160
Lloh10:
adrp x23, l_.str.10@PAGE
Lloh11:
add x23, x23, l_.str.10@PAGEOFF
Lloh12:
adrp x24, _buffer@GOTPAGE
Lloh13:
ldr x24, [x24, _buffer@GOTPAGEOFF]
mov w25, #1660944384
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
eor x20, x20, #0x100000
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x0, x19
bl _puts
and x8, x20, #0xff
ubfx x9, x20, #8, #7
ubfx x10, x20, #16, #2
ldr x10, [x28, x10, lsl #3]
ubfx x11, x20, #18, #1
ldr x11, [x27, x11, lsl #3]
ubfx x12, x20, #19, #1
ldr x12, [x27, x12, lsl #3]
ubfx x13, x20, #20, #1
ldr x13, [x27, x13, lsl #3]
stp x12, x13, [sp, #32]
stp x10, x11, [sp, #16]
stp x8, x9, [sp]
Lloh14:
adrp x0, l_.str.13@PAGE
Lloh15:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
bl _output_menu_and_get_choice
cmp w0, #113
b.eq LBB0_16
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub w8, w0, #97
cmp w8, #20
b.hi LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
Lloh16:
adrp x11, lJTI0_0@PAGE
Lloh17:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_1
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
eor x20, x20, #0x40000
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
mov x0, x23
bl _puts
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
bl _puts
mov x0, x22
bl _puts
bl _getchar
lsl w19, w0, #24
cmp w19, w26
b.eq LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
mov x28, x0
mov x0, x24
bl _gets
cmp w19, w25
b.eq LBB0_12
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
mov w8, #1811939328
cmp w19, w8
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
mov w8, #1912602624
cmp w19, w8
b.ne LBB0_7
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
and w8, w28, #0xff
and x9, x20, #0xfffffffffffcffff
orr x10, x9, #0x10000
orr x11, x9, #0x20000
cmp w8, #108
csel x9, x20, x9, ne
cmp w8, #114
csel x9, x11, x9, eq
cmp w8, #99
csel x20, x10, x9, eq
Lloh18:
adrp x19, l_str@PAGE
Lloh19:
add x19, x19, l_str@PAGEOFF
Lloh20:
adrp x28, _states_alignment@PAGE
Lloh21:
add x28, x28, _states_alignment@PAGEOFF
b LBB0_2
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
Lloh22:
adrp x0, l_.str.5@PAGE
Lloh23:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x0, x24
bl _gets
add x8, sp, #56
str x8, [sp]
mov x0, x24
Lloh24:
adrp x1, l_.str.6@PAGE
Lloh25:
add x1, x1, l_.str.6@PAGEOFF
bl _sscanf
ldr x8, [sp, #56]
and x9, x20, #0xffffffffffffff00
orr x20, x8, x9
b LBB0_2
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
eor x20, x20, #0x80000
b LBB0_2
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
Lloh26:
adrp x0, l_.str.7@PAGE
Lloh27:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov x0, x24
bl _gets
add x8, sp, #56
str x8, [sp]
mov x0, x24
Lloh28:
adrp x1, l_.str.6@PAGE
Lloh29:
add x1, x1, l_.str.6@PAGEOFF
bl _sscanf
ldr x8, [sp, #56]
and x9, x20, #0xffffffffffff80ff
orr x20, x9, x8, lsl #8
b LBB0_2
LBB0_16:
Lloh30:
adrp x0, l_.str.11@PAGE
Lloh31:
add x0, x0, l_.str.11@PAGEOFF
bl _puts
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 AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_8-LBB0_1)>>2
.byte (LBB0_6-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_13-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_14-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_15-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_1-LBB0_1)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _set_font_id ; -- Begin function set_font_id
.p2align 2
_set_font_id: ; @set_font_id
.cfi_startproc
; %bb.0:
ldr x8, [x0]
and x8, x8, #0xffffffffffffff00
orr x8, x8, x1
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_font_size ; -- Begin function set_font_size
.p2align 2
_set_font_size: ; @set_font_size
.cfi_startproc
; %bb.0:
ldr x8, [x0]
and x8, x8, #0xffffffffffff80ff
orr x8, x8, x1, lsl #8
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_font_align ; -- Begin function set_font_align
.p2align 2
_set_font_align: ; @set_font_align
.cfi_startproc
; %bb.0:
ldr x8, [x0]
and x8, x8, #0xfffffffffffcffff
orr x8, x8, x1, lsl #16
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_font_bold ; -- Begin function set_font_bold
.p2align 2
_set_font_bold: ; @set_font_bold
.cfi_startproc
; %bb.0:
ldr x8, [x0]
and x8, x8, #0xfffffffffffbffff
cmp w1, #0
mov w9, #262144
csel x9, x9, xzr, ne
orr x8, x8, x9
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_font_italic ; -- Begin function set_font_italic
.p2align 2
_set_font_italic: ; @set_font_italic
.cfi_startproc
; %bb.0:
ldr x8, [x0]
and x8, x8, #0xfffffffffff7ffff
cmp w1, #0
mov w9, #524288
csel x9, x9, xzr, ne
orr x8, x8, x9
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _set_font_underlined ; -- Begin function set_font_underlined
.p2align 2
_set_font_underlined: ; @set_font_underlined
.cfi_startproc
; %bb.0:
ldr x8, [x0]
and x8, x8, #0xffffffffffefffff
cmp w1, #0
mov w9, #1048576
csel x9, x9, xzr, ne
orr x8, x8, x9
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _output_font_settings ; -- Begin function output_font_settings
.p2align 2
_output_font_settings: ; @output_font_settings
.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
Lloh32:
adrp x0, l_str@PAGE
Lloh33:
add x0, x0, l_str@PAGEOFF
bl _puts
and x8, x19, #0xff
ubfx x9, x19, #16, #2
Lloh34:
adrp x10, _states_alignment@PAGE
Lloh35:
add x10, x10, _states_alignment@PAGEOFF
ldr x9, [x10, x9, lsl #3]
ubfx x10, x19, #8, #7
ubfx x11, x19, #18, #1
Lloh36:
adrp x12, _states_on_or_off@PAGE
Lloh37:
add x12, x12, _states_on_or_off@PAGEOFF
ldr x11, [x12, x11, lsl #3]
ubfx x13, x19, #19, #1
ldr x13, [x12, x13, lsl #3]
ubfx x14, x19, #20, #1
ldr x12, [x12, x14, lsl #3]
stp x13, x12, [sp, #32]
stp x9, x11, [sp, #16]
stp x8, x10, [sp]
Lloh38:
adrp x0, l_.str.13@PAGE
Lloh39:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _reverse_font_bold ; -- Begin function reverse_font_bold
.p2align 2
_reverse_font_bold: ; @reverse_font_bold
.cfi_startproc
; %bb.0:
ldr x8, [x0]
eor x8, x8, #0x40000
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _reverse_font_italic ; -- Begin function reverse_font_italic
.p2align 2
_reverse_font_italic: ; @reverse_font_italic
.cfi_startproc
; %bb.0:
ldr x8, [x0]
eor x8, x8, #0x80000
str x8, [x0]
ret
.cfi_endproc
; -- End function
.globl _reverse_font_underlined ; -- Begin function reverse_font_underlined
.p2align 2
_reverse_font_underlined: ; @reverse_font_underlined
.cfi_startproc
; %bb.0:
ldr x8, [x0]
eor x8, x8, #0x100000
str x8, [x0]
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function output_menu_and_get_choice
lCPI11_0:
.long 1761607680 ; 0x69000000
.long 1644167168 ; 0x62000000
.long 1627389952 ; 0x61000000
.long 1711276032 ; 0x66000000
.section __TEXT,__text,regular,pure_instructions
.globl _output_menu_and_get_choice
.p2align 2
_output_menu_and_get_choice: ; @output_menu_and_get_choice
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh40:
adrp x19, l_.str.14@PAGE
Lloh41:
add x19, x19, l_.str.14@PAGEOFF
Lloh42:
adrp x20, l_.str.15@PAGE
Lloh43:
add x20, x20, l_.str.15@PAGEOFF
Lloh44:
adrp x21, l_.str.16@PAGE
Lloh45:
add x21, x21, l_.str.16@PAGEOFF
mov w25, #167772160
Lloh46:
adrp x8, lCPI11_0@PAGE
Lloh47:
ldr q0, [x8, lCPI11_0@PAGEOFF]
str q0, [sp] ; 16-byte Folded Spill
mov w26, #251
mov w27, #1929379840
Lloh48:
adrp x22, _buffer@GOTPAGE
Lloh49:
ldr x22, [x22, _buffer@GOTPAGEOFF]
Lloh50:
adrp x23, l_.str.17@PAGE
Lloh51:
add x23, x23, l_.str.17@PAGEOFF
LBB11_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
mov x0, x20
bl _puts
mov x0, x21
bl _puts
bl _getchar
mov x24, x0
lsl w28, w0, #24
cmp w28, w25
b.eq LBB11_3
; %bb.2: ; in Loop: Header=BB11_1 Depth=1
mov x0, x22
bl _gets
LBB11_3: ; in Loop: Header=BB11_1 Depth=1
and w8, w24, w26
cmp w8, #113
b.eq LBB11_6
; %bb.4: ; in Loop: Header=BB11_1 Depth=1
dup.4s v0, w28
ldr q1, [sp] ; 16-byte Folded Reload
cmeq.4s v0, v0, v1
xtn.4h v0, v0
umov.h w8, v0[0]
umov.h w9, v0[1]
and w9, w9, #0x1
bfi w8, w9, #1, #1
umov.h w9, v0[2]
and w9, w9, #0x1
bfi w8, w9, #2, #1
umov.h w9, v0[3]
bfi w8, w9, #3, #29
and w8, w8, #0xf
cmp w8, #0
ccmp w28, w27, #4, eq
b.eq LBB11_6
; %bb.5: ; in Loop: Header=BB11_1 Depth=1
mov x0, x23
bl _puts
b LBB11_1
LBB11_6:
sxtb w0, w24
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpLdrGot Lloh48, Lloh49
.loh AdrpLdr Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "left"
l_.str.1: ; @.str.1
.asciz "center"
l_.str.2: ; @.str.2
.asciz "right"
.section __DATA,__data
.globl _states_alignment ; @states_alignment
.p2align 3
_states_alignment:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "off"
l_.str.4: ; @.str.4
.asciz "on"
.section __DATA,__data
.globl _states_on_or_off ; @states_on_or_off
.p2align 3
_states_on_or_off:
.quad l_.str.3
.quad l_.str.4
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "Enter font id (0-255): "
.comm _buffer,1024,0 ; @buffer
l_.str.6: ; @.str.6
.asciz "%u"
l_.str.7: ; @.str.7
.asciz "Enter font size (0-127): "
l_.str.8: ; @.str.8
.asciz "Select alignment:"
l_.str.9: ; @.str.9
.asciz "l)left c)center r)right"
l_.str.10: ; @.str.10
.asciz "Invalid alignment!\n"
l_.str.11: ; @.str.11
.asciz "Bye!"
l_.str.13: ; @.str.13
.asciz "%3u %4u %-6s %-3s %-3s %-3s\n\n"
l_.str.14: ; @.str.14
.asciz "f)change font s)change size a)change alignment"
l_.str.15: ; @.str.15
.asciz "b)toggle bold i)toggle italic u)toggle underline"
l_.str.16: ; @.str.16
.asciz "q)quit"
l_.str.17: ; @.str.17
.asciz "Invalid choice!\n"
l_str: ; @str
.asciz " ID SIZE ALIGNMENT B I U"
.subsections_via_symbols
| the_stack_data/204805.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function nap_profile_create_service_name
_nap_profile_create_service_name: ## @nap_profile_create_service_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq _nap_profile_create_service_name.service_name(%rip), %r15
movq %r15, %rdi
callq _strlen
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movl %eax, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _common_profile_create_string8 ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 4, 0x0 ## @nap_profile_create_service_name.service_name
_nap_profile_create_service_name.service_name:
.asciz "Network Access Point"
.no_dead_strip _nap_profile_create_service_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function nap_profile_create_service_name
_nap_profile_create_service_name: ; @nap_profile_create_service_name
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _nap_profile_create_service_name.service_name@PAGE
Lloh1:
add x21, x21, _nap_profile_create_service_name.service_name@PAGEOFF
mov x0, x21
bl _strlen
mov x3, x0
mov x0, x20
mov x1, x19
mov x2, 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 _common_profile_create_string8
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__data
_nap_profile_create_service_name.service_name: ; @nap_profile_create_service_name.service_name
.asciz "Network Access Point"
.no_dead_strip _nap_profile_create_service_name
.subsections_via_symbols
| assembly_file_181266.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Y ## -- Begin function Y
.p2align 4, 0x90
_Y: ## @Y
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
decl %edi
movss %xmm0, -4(%rbp) ## 4-byte Spill
callq _Y
addss -4(%rbp), %xmm0 ## 4-byte Folded Reload
sqrtss %xmm0, %xmm0
addq $16, %rsp
popq %rbp
retq
LBB0_1:
xorps %xmm0, %xmm0
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
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -4(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movl -4(%rbp), %edi
callq _Y
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Please input x and n:"
L_.str.1: ## @.str.1
.asciz "%lf,%d"
L_.str.2: ## @.str.2
.asciz "Result=%.2f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Y ; -- Begin function Y
.p2align 2
_Y: ; @Y
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
fmov s8, s0
sub w0, w0, #1
bl _Y
fadd s0, s0, s8
fsqrt s0, s0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value b8
.cfi_same_value b9
movi d0, #0000000000000000
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #12
sub x9, x29, #8
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur d0, [x29, #-8]
fcvt s0, d0
ldur w0, [x29, #-12]
bl _Y
fcvt d0, s0
str d0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Please input x and n:"
l_.str.1: ; @.str.1
.asciz "%lf,%d"
l_.str.2: ; @.str.2
.asciz "Result=%.2f\n"
.subsections_via_symbols
| the_stack_data/1264547.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cafe_reg_set_bit
_cafe_reg_set_bit: ## @cafe_reg_set_bit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
popq %rbp
jmp _cafe_reg_write_mask ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _cafe_reg_set_bit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cafe_reg_set_bit
_cafe_reg_set_bit: ; @cafe_reg_set_bit
.cfi_startproc
; %bb.0:
mov x3, x2
b _cafe_reg_write_mask
.cfi_endproc
; -- End function
.no_dead_strip _cafe_reg_set_bit
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/extr_cafe_ccic.c_cafe_reg_set_bit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wm_pcm_mute_put
_wm_pcm_mute_put: ## @wm_pcm_mute_put
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r15
callq _snd_kcontrol_chip
movq %rax, %r14
movq %rax, %rdi
callq _snd_ice1712_save_gpio_status
movq _WM_MUTE@GOTPCREL(%rip), %r13
movl (%r13), %esi
movq %r14, %rdi
callq _wm_get
movl %eax, %r12d
movl %r12d, %eax
andl $-17, %eax
movq (%r15), %rcx
xorl %ebx, %ebx
cmpq $0, (%rcx)
sete %bl
shll $4, %ebx
orl %eax, %ebx
cmpw %bx, %r12w
je LBB0_2
## %bb.1:
movl (%r13), %esi
movzwl %bx, %edx
movq %r14, %rdi
callq _wm_put
LBB0_2:
xorl %r15d, %r15d
cmpw %bx, %r12w
setne %r15b
movq %r14, %rdi
callq _snd_ice1712_restore_gpio_status
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WM_MUTE,4,2 ## @WM_MUTE
.no_dead_strip _wm_pcm_mute_put
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wm_pcm_mute_put
_wm_pcm_mute_put: ; @wm_pcm_mute_put
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
bl _snd_kcontrol_chip
mov x19, x0
bl _snd_ice1712_save_gpio_status
Lloh0:
adrp x22, _WM_MUTE@GOTPAGE
Lloh1:
ldr x22, [x22, _WM_MUTE@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x19
bl _wm_get
mov x20, x0
and w8, w0, #0xffffffef
ldr x9, [x21]
ldr x9, [x9]
cmp x9, #0
cset w9, eq
orr w21, w8, w9, lsl #4
cmp w0, w21
b.eq LBB0_2
; %bb.1:
ldr w1, [x22]
and w2, w21, #0xffff
mov x0, x19
bl _wm_put
LBB0_2:
cmp w20, w21, uxth
cset w20, ne
mov x0, x19
bl _snd_ice1712_restore_gpio_status
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _WM_MUTE,4,2 ; @WM_MUTE
.no_dead_strip _wm_pcm_mute_put
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_aureon.c_wm_pcm_mute_put.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _BUFSZ@GOTPCREL(%rip), %r13
movl (%r13), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
xorl %r14d, %r14d
xorl %edi, %edi
movl $32, %esi
movl $12, %edx
callq _hashindex_init
movq %rax, %r12
movq %rax, %rdi
callq _cache_sync_init
movq %rax, %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r13), %edx
xorl %edi, %edi
movq %rbx, %rsi
callq _read
testl %eax, %eax
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _cache_sync_feed
testl %eax, %eax
jne LBB0_1
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _cache_sync_error
testq %rax, %rax
je LBB0_1
## %bb.4:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r15, %rdi
callq _cache_sync_error
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movq %rax, %rdx
callq _fprintf
movl $1, %r14d
jmp LBB0_6
LBB0_5:
movq %r12, %rdi
callq _hashindex_free
movq %r15, %rdi
callq _cache_sync_free
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_8
## %bb.7:
movl %r14d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _BUFSZ,4,2 ## @BUFSZ
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error: %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp 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
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 x22, _BUFSZ@GOTPAGE
Lloh4:
ldr x22, [x22, _BUFSZ@GOTPAGEOFF]
ldr w8, [x22]
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, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
mov w0, #0
mov w1, #32
mov w2, #12
bl _hashindex_init
mov x21, x0
bl _cache_sync_init
mov x20, x0
ldr w2, [x22]
mov w0, #0
mov x1, x19
bl _read
cbz w0, LBB0_6
; %bb.1:
mov x2, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr w2, [x22]
mov w0, #0
mov x1, x19
bl _read
mov x2, x0
cbz w0, LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _cache_sync_feed
cbnz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _cache_sync_error
cbz x0, LBB0_2
; %bb.5:
Lloh7:
adrp x8, _stderr@GOTPAGE
Lloh8:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
ldr w19, [x8]
mov x0, x20
bl _cache_sync_error
mov x2, x0
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #1
b LBB0_7
LBB0_6:
mov x0, x21
bl _hashindex_free
mov x0, x20
bl _cache_sync_free
mov w0, #0
LBB0_7:
ldur x8, [x29, #-40]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
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_9:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _BUFSZ,4,2 ; @BUFSZ
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error: %s\n"
.subsections_via_symbols
| AnghaBench/borg/scripts/fuzz-cache-sync/extr_main.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nouveau_ttm_fini ## -- Begin function nouveau_ttm_fini
.p2align 4, 0x90
_nouveau_ttm_fini: ## @nouveau_ttm_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 8(%rdi), %rdi
addq $4, %rdi
callq _mutex_lock
leaq 4(%rbx), %r14
movq _TTM_PL_VRAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _ttm_bo_clean_mm
movq _TTM_PL_TT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _ttm_bo_clean_mm
movq 8(%rbx), %rdi
addq $4, %rdi
callq _mutex_unlock
movq %r14, %rdi
callq _ttm_bo_device_release
movq %rbx, %rdi
callq _nouveau_ttm_global_release
movl (%rbx), %r14d
testl %r14d, %r14d
js LBB0_2
## %bb.1:
movq 8(%rbx), %rax
movl (%rax), %edi
movl $1, %esi
callq _pci_resource_start
movl %eax, %r15d
movq 8(%rbx), %rax
movl (%rax), %edi
movl $1, %esi
callq _pci_resource_len
movq _DRM_MTRR_WC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %r14d, %edi
movl %r15d, %esi
movl %eax, %edx
callq _drm_mtrr_del
movl $-1, (%rbx)
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TTM_PL_VRAM,4,2 ## @TTM_PL_VRAM
.comm _TTM_PL_TT,4,2 ## @TTM_PL_TT
.comm _DRM_MTRR_WC,4,2 ## @DRM_MTRR_WC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nouveau_ttm_fini ; -- Begin function nouveau_ttm_fini
.p2align 2
_nouveau_ttm_fini: ; @nouveau_ttm_fini
.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 x8, [x0, #8]
add x0, x8, #4
bl _mutex_lock
add x20, x19, #4
Lloh0:
adrp x8, _TTM_PL_VRAM@GOTPAGE
Lloh1:
ldr x8, [x8, _TTM_PL_VRAM@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _ttm_bo_clean_mm
Lloh3:
adrp x8, _TTM_PL_TT@GOTPAGE
Lloh4:
ldr x8, [x8, _TTM_PL_TT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _ttm_bo_clean_mm
ldr x8, [x19, #8]
add x0, x8, #4
bl _mutex_unlock
mov x0, x20
bl _ttm_bo_device_release
mov x0, x19
bl _nouveau_ttm_global_release
ldr w20, [x19]
tbnz w20, #31, LBB0_2
; %bb.1:
ldr x8, [x19, #8]
ldr w0, [x8]
mov w1, #1
bl _pci_resource_start
mov x21, x0
ldr x8, [x19, #8]
ldr w0, [x8]
mov w1, #1
bl _pci_resource_len
mov x2, x0
Lloh6:
adrp x8, _DRM_MTRR_WC@GOTPAGE
Lloh7:
ldr x8, [x8, _DRM_MTRR_WC@GOTPAGEOFF]
Lloh8:
ldr w3, [x8]
mov x0, x20
mov x1, x21
bl _drm_mtrr_del
mov w8, #-1
str w8, [x19]
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _TTM_PL_VRAM,4,2 ; @TTM_PL_VRAM
.comm _TTM_PL_TT,4,2 ; @TTM_PL_TT
.comm _DRM_MTRR_WC,4,2 ; @DRM_MTRR_WC
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_ttm.c_nouveau_ttm_fini.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nvkm_gpio_set ## -- Begin function nvkm_gpio_set
.p2align 4, 0x90
_nvkm_gpio_set: ## @nvkm_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 %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r15d
movl %esi, %r14d
movq %rdi, %rbx
leaq -40(%rbp), %r8
callq _nvkm_gpio_find
testl %eax, %eax
jne LBB0_2
## %bb.1:
movq -40(%rbp), %rax
movslq %r15d, %rcx
movl (%rax,%rcx,4), %r8d
movl %r8d, %ecx
shrl %ecx
andl $1, %ecx
andl $1, %r8d
movl -32(%rbp), %edx
movq %rbx, %rdi
movl %r14d, %esi
callq _nvkm_gpio_drive
LBB0_2:
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 _nvkm_gpio_set ; -- Begin function nvkm_gpio_set
.p2align 2
_nvkm_gpio_set: ; @nvkm_gpio_set
.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 x21, x4
mov x19, x1
mov x20, x0
mov x4, sp
bl _nvkm_gpio_find
cbnz w0, LBB0_2
; %bb.1:
ldr x8, [sp]
ldr w8, [x8, w21, sxtw #2]
ubfx w3, w8, #1, #1
and w4, w8, #0x1
ldr w2, [sp, #8]
mov x0, x20
mov x1, x19
bl _nvkm_gpio_drive
LBB0_2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/extr_base.c_nvkm_gpio_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function temp_max_alarm_show
_temp_max_alarm_show: ## @temp_max_alarm_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
callq _pc87360_update_device
movq %rax, %r15
movq %rbx, %rdi
callq _to_sensor_dev_attr
movl (%rax), %eax
movq (%r15), %rcx
movq _CHAN_ALM_MAX@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
xorl %edx, %edx
andl (%rcx,%rax,4), %esi
setne %dl
leaq L_.str(%rip), %rsi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.comm _CHAN_ALM_MAX,4,2 ## @CHAN_ALM_MAX
.no_dead_strip _temp_max_alarm_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function temp_max_alarm_show
_temp_max_alarm_show: ; @temp_max_alarm_show
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
bl _pc87360_update_device
mov x21, x0
mov x0, x20
bl _to_sensor_dev_attr
ldr w8, [x0]
ldr x9, [x21]
ldr w8, [x9, x8, lsl #2]
Lloh0:
adrp x9, _CHAN_ALM_MAX@GOTPAGE
Lloh1:
ldr x9, [x9, _CHAN_ALM_MAX@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w2, ne
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _sprintf
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.comm _CHAN_ALM_MAX,4,2 ; @CHAN_ALM_MAX
.no_dead_strip _temp_max_alarm_show
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_pc87360.c_temp_max_alarm_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Opcode_xsr_lbeg_Slot_inst_encode
_Opcode_xsr_lbeg_Slot_inst_encode: ## @Opcode_xsr_lbeg_Slot_inst_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $6356992, (%rdi) ## imm = 0x610000
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Opcode_xsr_lbeg_Slot_inst_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Opcode_xsr_lbeg_Slot_inst_encode
_Opcode_xsr_lbeg_Slot_inst_encode: ; @Opcode_xsr_lbeg_Slot_inst_encode
.cfi_startproc
; %bb.0:
mov w8, #6356992
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Opcode_xsr_lbeg_Slot_inst_encode
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_lbeg_Slot_inst_encode.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/301709.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function computeYMD
LCPI0_0:
.quad 0xc13c7dd040000000 ## double -1867216.25
LCPI0_1:
.quad 0x40e1d58800000000 ## double 36524.25
LCPI0_2:
.quad 0xc05e866666666666 ## double -122.09999999999999
LCPI0_3:
.quad 0x4076d40000000000 ## double 365.25
LCPI0_4:
.quad 0x403e99a027525461 ## double 30.600100000000001
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_computeYMD: ## @computeYMD
.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
cmpl $0, (%rdi)
jne LBB0_6
## %bb.1:
cmpl $0, 20(%rdi)
je LBB0_2
## %bb.3:
movq %rdi, %rbx
movl 16(%rdi), %edi
callq _validJulianDay
testl %eax, %eax
je LBB0_7
## %bb.4:
movl $43200000, %eax ## imm = 0x2932E00
movq %rbx, %rdi
addl 16(%rbx), %eax
cltq
imulq $833999931, %rax, %rax ## imm = 0x31B5D43B
movq %rax, %rcx
shrq $63, %rcx
sarq $56, %rax
addl %ecx, %eax
cvtsi2sd %eax, %xmm0
addsd LCPI0_0(%rip), %xmm0
divsd LCPI0_1(%rip), %xmm0
cvttsd2si %xmm0, %ecx
leal 3(%rcx), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
sarl $2, %edx
addl %ecx, %eax
subl %edx, %eax
addl $1525, %eax ## imm = 0x5F5
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
addsd LCPI0_2(%rip), %xmm0
divsd LCPI0_3(%rip), %xmm0
cvttsd2si %xmm0, %ecx
movl %ecx, %edx
andl $32767, %edx ## imm = 0x7FFF
imull $36525, %edx, %edx ## imm = 0x8EAD
imulq $1374389535, %rdx, %rdx ## imm = 0x51EB851F
shrq $37, %rdx
subl %edx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd LCPI0_4(%rip), %xmm1 ## xmm1 = [3.0600100000000001E+1,0.0E+0]
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %edx
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %esi
subl %esi, %eax
movl %eax, 12(%rbx)
xorl %esi, %esi
cmpl $14, %edx
setl %sil
negl %esi
orl $-13, %esi
addl %edx, %esi
movl %esi, 8(%rbx)
xorl %eax, %eax
cmpl $3, %esi
setge %al
xorl $-4715, %eax ## imm = 0xED95
addl %ecx, %eax
movl $4, %ecx
jmp LBB0_5
LBB0_2:
movabsq $4294969296, %rax ## imm = 0x1000007D0
movq %rax, 4(%rdi)
movl $1, %eax
movl $12, %ecx
LBB0_5:
movl %eax, (%rdi,%rcx)
movl $1, (%rdi)
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_7:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _datetimeError ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _computeYMD
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function computeYMD
lCPI0_0:
.long 2000 ; 0x7d0
.long 1 ; 0x1
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_computeYMD: ; @computeYMD
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w8, [x0]
cbnz w8, LBB0_6
; %bb.1:
ldr w8, [x0, #20]
cbz w8, LBB0_4
; %bb.2:
mov x19, x0
ldr w0, [x0, #16]
bl _validJulianDay
cbz w0, LBB0_7
; %bb.3:
mov x0, x19
ldr w8, [x19, #16]
mov w9, #11776 ; =0x2e00
movk w9, #659, lsl #16
add w8, w8, w9
mov w9, #54331 ; =0xd43b
movk w9, #12725, lsl #16
smull x8, w8, w9
lsr x9, x8, #63
asr x8, x8, #56
add w8, w8, w9
scvtf d0, w8
mov x9, #1073741824 ; =0x40000000
movk x9, #32208, lsl #32
movk x9, #49468, lsl #48
fmov d1, x9
fadd d0, d0, d1
mov x9, #234780092268544 ; =0xd58800000000
movk x9, #16609, lsl #48
fmov d1, x9
fdiv d0, d0, d1
fcvtzs w9, d0
add w10, w9, #3
cmp w9, #0
csel w10, w10, w9, lt
add w8, w8, w9
sub w8, w8, w10, asr #2
add w8, w8, #1525
scvtf d0, w8
mov x9, #7378697629483820646 ; =0x6666666666666666
movk x9, #34406, lsl #32
movk x9, #49246, lsl #48
fmov d1, x9
fadd d0, d0, d1
mov x9, #233096465088512 ; =0xd40000000000
movk x9, #16502, lsl #48
fmov d1, x9
fdiv d0, d0, d1
fcvtzs w9, d0
and w10, w9, #0x7fff
mov w11, #36525 ; =0x8ead
mul w10, w10, w11
mov w11, #34079 ; =0x851f
movk w11, #20971, lsl #16
umull x10, w10, w11
lsr x10, x10, #37
sub w8, w8, w10
scvtf d0, w8
mov x10, #21601 ; =0x5461
movk x10, #10066, lsl #16
movk x10, #39328, lsl #32
movk x10, #16446, lsl #48
fmov d1, x10
fdiv d0, d0, d1
fcvtzs w10, d0
scvtf d0, w10
fmul d0, d0, d1
fcvtzs w11, d0
sub w8, w8, w11
cmp w10, #14
mov w11, #-13 ; =0xfffffff3
csinv w11, w11, wzr, ge
add w10, w11, w10
stp w10, w8, [x19, #8]
cmp w10, #2
mov w8, #-4716 ; =0xffffed94
cinc w8, w8, le
add w8, w8, w9
mov w9, #4 ; =0x4
b LBB0_5
LBB0_4:
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr d0, [x8, lCPI0_0@PAGEOFF]
stur d0, [x0, #4]
mov w8, #1 ; =0x1
mov w9, #12 ; =0xc
LBB0_5:
str w8, [x0, x9]
mov w8, #1 ; =0x1
str w8, [x0]
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_7:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _datetimeError
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.no_dead_strip _computeYMD
.subsections_via_symbols
| assembly_file_132687.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_mcg_16_xsh_rr_8_random_r.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spmi_regulator_select_voltage
_spmi_regulator_select_voltage: ## @spmi_regulator_select_voltage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r12d
movq %rdi, %rsi
movq (%rdi), %rax
movq 8(%rax), %rbx
movl (%rbx), %r8d
movslq (%rax), %rax
leaq (%rax,%rax,2), %rcx
movl -20(%rbx,%rcx,8), %r9d
cmpl %edx, %r8d
movl %r8d, %edi
cmovgl %r12d, %edi
cmpl %r12d, %r8d
cmovlel %r12d, %edi
cmpl %r8d, %edi
jl LBB0_11
## %bb.1:
cmpl %r9d, %edi
jg LBB0_11
## %bb.2:
movl %eax, %eax
testl %eax, %eax
movl $1, %r13d
cmovlel %eax, %r13d
leal -1(%r13), %r8d
movq %rsi, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl $2, %eax
jl LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq -1(%rax), %rcx
addl $-2, %eax
leaq (%rax,%rax,2), %rax
movl 4(%rbx,%rax,8), %edx
movq %rcx, %rax
cmpl %edx, %edi
jle LBB0_3
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rcx, %rax
testl %edx, %edx
jle LBB0_3
## %bb.6:
leal 1(%rcx), %r13d
movl %ecx, %r8d
LBB0_7:
movl %r8d, -44(%rbp) ## 4-byte Spill
movslq %r8d, %rax
leaq (%rax,%rax,2), %r15
subl 8(%rbx,%r15,8), %edi
movl 12(%rbx,%r15,8), %esi
callq _DIV_ROUND_UP
movl 12(%rbx,%r15,8), %r10d
imull %r10d, %eax
addl 8(%rbx,%r15,8), %eax
cmpl %r14d, %eax
jle LBB0_8
## %bb.13:
movq -56(%rbp), %rcx ## 8-byte Reload
movl 8(%rcx), %edi
leaq L_.str.1(%rip), %rsi
xorl %ebx, %ebx
movl %r12d, %edx
movl %r14d, %ecx
movl %eax, %r8d
xorl %eax, %eax
callq _dev_err
jmp LBB0_12
LBB0_11:
movl 8(%rsi), %edi
leaq L_.str(%rip), %rsi
xorl %ebx, %ebx
movl %r12d, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq _dev_err
LBB0_12:
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %ebx
jmp LBB0_20
LBB0_8:
xorl %esi, %esi
cmpl $2, %r13d
jl LBB0_19
## %bb.9:
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rcx
movl -44(%rbp), %edx ## 4-byte Reload
cmpl $2, %edx
movl $1, %edi
cmovgel %edx, %edi
movq 8(%rcx), %r8
leaq -1(%rdi), %rcx
movl %edi, %r9d
andl $3, %r9d
cmpq $3, %rcx
jae LBB0_14
## %bb.10:
xorl %edx, %edx
xorl %esi, %esi
jmp LBB0_16
LBB0_14:
andl $2147483644, %edi ## imm = 0x7FFFFFFC
leaq 88(%r8), %rcx
xorl %edx, %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
addl -72(%rcx), %esi
addl -48(%rcx), %esi
addl -24(%rcx), %esi
addl (%rcx), %esi
addq $4, %rdx
addq $96, %rcx
cmpq %rdx, %rdi
jne LBB0_15
LBB0_16:
testq %r9, %r9
je LBB0_19
## %bb.17:
leaq (%rdx,%rdx,2), %rcx
leaq (%r8,%rcx,8), %rcx
addq $16, %rcx
shlq $3, %r9
leaq (%r9,%r9,2), %rdx
xorl %edi, %edi
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
addl (%rcx,%rdi), %esi
addq $24, %rdi
cmpq %rdi, %rdx
jne LBB0_18
LBB0_19:
subl (%rbx,%r15,8), %eax
cltd
idivl %r10d
movl %eax, %ebx
addl %esi, %ebx
LBB0_20:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "request v=[%d, %d] is outside possible v=[%d, %d]\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz "request v=[%d, %d] cannot be met by any set point; next set point: %d\n"
.no_dead_strip _spmi_regulator_select_voltage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spmi_regulator_select_voltage
_spmi_regulator_select_voltage: ; @spmi_regulator_select_voltage
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
ldr x8, [x0]
ldr x22, [x8, #8]
ldr w4, [x22]
ldr w10, [x8]
sub w8, w10, #1
mov w9, #24
smaddl x8, w8, w9, x22
ldr w11, [x8, #4]
cmp w4, w2
ccmp w4, w1, #4, le
csel w8, w1, w4, le
cmp w8, w4
ccmp w8, w11, #0, ge
b.le LBB0_2
; %bb.1:
ldr w0, [x21, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
str x11, [sp]
b LBB0_8
LBB0_2:
cmp w10, #1
csinc w23, w10, wzr, lt
sub w24, w23, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
cmp w10, #1
b.le LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub x11, x10, #1
sub w10, w10, #2
umaddl x10, w10, w9, x22
ldr w10, [x10, #4]
cmp w8, w10
ccmp w10, #1, #8, gt
mov x10, x11
b.lt LBB0_3
; %bb.5:
add w23, w11, #1
mov x24, x11
LBB0_6:
mov w9, #24
smaddl x25, w24, w9, x22
ldp w9, w1, [x25, #8]
sub w0, w8, w9
bl _DIV_ROUND_UP
ldp w9, w8, [x25, #8]
madd w4, w8, w0, w9
cmp w4, w19
b.le LBB0_9
; %bb.7:
ldr w0, [x21, #8]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
LBB0_8:
mov x2, x20
mov x3, x19
bl _dev_err
Lloh4:
adrp x8, _EINVAL@GOTPAGE
Lloh5:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
b LBB0_19
LBB0_9:
sxtw x9, w24
cmp w23, #2
b.lt LBB0_12
; %bb.10:
ldr x10, [x21]
ldr x11, [x10, #8]
cmp w9, #1
csinc w10, w9, wzr, gt
cmp w10, #9
b.hs LBB0_13
; %bb.11:
mov x12, #0
mov w13, #0
b LBB0_16
LBB0_12:
mov w13, #0
b LBB0_18
LBB0_13:
ands x12, x10, #0x7
mov w13, #8
csel x12, x13, x12, eq
sub x12, x10, x12
add x13, x11, #112
movi.2d v0, #0000000000000000
mov x14, x12
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_14: ; =>This Inner Loop Header: Depth=1
sub x15, x13, #96
sub x16, x13, #48
ld3.2d { v4, v5, v6 }, [x15]
ld3.2d { v16, v17, v18 }, [x16]
mov x15, x13
ld3.2d { v19, v20, v21 }, [x15], #48
ld3.2d { v22, v23, v24 }, [x15]
xtn.2s v4, v4
xtn.2s v5, v16
xtn.2s v6, v19
xtn.2s v7, v22
add.2s v0, v0, v4
add.2s v1, v1, v5
add.2s v2, v2, v6
add.2s v3, v3, v7
add x13, x13, #192
subs x14, x14, #8
b.ne LBB0_14
; %bb.15:
add.2s v0, v1, v0
add.2s v0, v2, v0
add.2s v0, v3, v0
addp.2s v0, v0, v0
fmov w13, s0
LBB0_16:
mov w14, #24
madd x11, x12, x14, x11
add x11, x11, #16
sub x10, x10, x12
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w12, [x11], #24
add w13, w13, w12
subs x10, x10, #1
b.ne LBB0_17
LBB0_18:
mov w10, #24
mul x9, x9, x10
ldr w9, [x22, x9]
sub w9, w4, w9
sdiv w8, w9, w8
add w0, w8, w13
LBB0_19:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "request v=[%d, %d] is outside possible v=[%d, %d]\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz "request v=[%d, %d] cannot be met by any set point; next set point: %d\n"
.no_dead_strip _spmi_regulator_select_voltage
.subsections_via_symbols
| AnghaBench/linux/drivers/regulator/extr_qcom_spmi-regulator.c_spmi_regulator_select_voltage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function spicds_wrbit
_spicds_wrbit: ## @spicds_wrbit
.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
xorl %r14d, %r14d
cmpq $0, 16(%rdi)
setne %r14b
xorl %r15d, %r15d
testl %esi, %esi
setne %r15b
movl (%rdi), %edi
movl %r14d, %esi
xorl %edx, %edx
movl %r15d, %ecx
callq *8(%rbx)
movl $1, %edi
callq _DELAY
movl (%rbx), %edi
movl %r14d, %esi
movl $1, %edx
movl %r15d, %ecx
callq *8(%rbx)
movl $1, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _DELAY ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _spicds_wrbit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function spicds_wrbit
_spicds_wrbit: ; @spicds_wrbit
.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
ldp x9, x8, [x0, #8]
cmp x8, #0
cset w20, ne
cmp w1, #0
cset w21, ne
ldr w0, [x0]
mov x1, x20
mov w2, #0
mov x3, x21
blr x9
mov w0, #1
bl _DELAY
ldr x8, [x19, #8]
ldr w0, [x19]
mov x1, x20
mov w2, #1
mov x3, x21
blr x8
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 _DELAY
.cfi_endproc
; -- End function
.no_dead_strip _spicds_wrbit
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/pci/extr_spicds.c_spicds_wrbit.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.