arm
stringlengths 122
210k
| x86
stringlengths 122
207k
| filename
stringlengths 30
207
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _security_transfer_creds ; -- Begin function security_transfer_creds
.p2align 2
_security_transfer_creds: ; @security_transfer_creds
.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 x0, [sp, #8]
str x1, [sp]
adrp x8, _cred_transfer@GOTPAGE
ldr x8, [x8, _cred_transfer@GOTPAGEOFF]
ldr w0, [x8]
ldr x1, [sp, #8]
ldr x2, [sp]
bl _call_void_hook
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _cred_transfer,4,2 ; @cred_transfer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _security_transfer_creds ## -- Begin function security_transfer_creds
.p2align 4, 0x90
_security_transfer_creds: ## @security_transfer_creds
.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, -8(%rbp)
movq %rsi, -16(%rbp)
movq _cred_transfer@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
callq _call_void_hook
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cred_transfer,4,2 ## @cred_transfer
.subsections_via_symbols
| AnghaBench/linux/security/extr_security.c_security_transfer_creds.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _malloc_mutex_prefork ; -- Begin function malloc_mutex_prefork
.p2align 2
_malloc_mutex_prefork: ; @malloc_mutex_prefork
.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 x0, [sp, #8]
str x1, [sp]
ldr x0, [sp, #8]
ldr x1, [sp]
bl _malloc_mutex_lock
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _malloc_mutex_prefork ## -- Begin function malloc_mutex_prefork
.p2align 4, 0x90
_malloc_mutex_prefork: ## @malloc_mutex_prefork
.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, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _malloc_mutex_lock
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/jemalloc/src/extr_mutex.c_malloc_mutex_prefork.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rose_open
_rose_open: ; @rose_open
.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
str x0, [sp, #16]
ldr x8, [sp, #16]
ldr x0, [x8]
bl _rose_add_loopback_node
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB0_3
LBB0_2:
ldr x0, [sp, #16]
bl _netif_start_queue
stur wzr, [x29, #-4]
b LBB0_3
LBB0_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _rose_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rose_open
_rose_open: ## @rose_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _rose_add_loopback_node
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
je LBB0_2
## %bb.1:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rdi
callq _netif_start_queue
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rose_open
.subsections_via_symbols
| AnghaBench/linux/net/rose/extr_rose_dev.c_rose_open.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gru_gamer
_gru_gamer: ; @gru_gamer
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
stur w3, [x29, #-28]
stur x4, [x29, #-40]
str x5, [sp, #48]
str x6, [sp, #40]
ldur x8, [x29, #-8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x9, [sp, #32]
str x8, [x9]
ldur x8, [x29, #-40]
ldr x9, [sp, #32]
str x8, [x9, #8]
ldr x8, [sp, #48]
ldr x9, [sp, #32]
str x8, [x9, #16]
ldr x8, [sp, #32]
str x8, [sp, #24] ; 8-byte Folded Spill
adrp x8, _OP_GAMER@GOTPAGE
ldr x8, [x8, _OP_GAMER@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur w8, [x29, #-12]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur w8, [x29, #-28]
str w8, [sp, #12] ; 4-byte Folded Spill
adrp x8, _IAA_RAM@GOTPAGE
ldr x8, [x8, _IAA_RAM@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #16] ; 4-byte Folded Spill
ldr x0, [sp, #40]
bl _CB_IMA
ldr w1, [sp, #8] ; 4-byte Folded Reload
ldr w2, [sp, #12] ; 4-byte Folded Reload
ldr w3, [sp, #16] ; 4-byte Folded Reload
mov x6, x0
ldr w0, [sp, #20] ; 4-byte Folded Reload
mov w5, #0
mov x4, x5
bl ___opdword
mov x1, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _gru_start_instruction
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.comm _OP_GAMER,4,2 ; @OP_GAMER
.comm _IAA_RAM,4,2 ; @IAA_RAM
.no_dead_strip _gru_gamer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gru_gamer
_gru_gamer: ## @gru_gamer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq 16(%rbp), %rax
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movq %r8, -40(%rbp)
movq %r9, -48(%rbp)
movq -8(%rbp), %rax
movq %rax, -56(%rbp)
movq -24(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, (%rax)
movq -40(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, 8(%rax)
movq -48(%rbp), %rcx
movq -56(%rbp), %rax
movq %rcx, 16(%rax)
movq -56(%rbp), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq _OP_GAMER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -80(%rbp) ## 4-byte Spill
movl -12(%rbp), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movl -28(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq _IAA_RAM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movq 16(%rbp), %rdi
callq _CB_IMA
movl -80(%rbp), %edi ## 4-byte Reload
movl -76(%rbp), %esi ## 4-byte Reload
movl -72(%rbp), %edx ## 4-byte Reload
movl -68(%rbp), %ecx ## 4-byte Reload
xorl %r9d, %r9d
movl %r9d, %r8d
movl %eax, (%rsp)
callq ___opdword
movq -64(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
callq _gru_start_instruction
addq $96, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OP_GAMER,4,2 ## @OP_GAMER
.comm _IAA_RAM,4,2 ## @IAA_RAM
.no_dead_strip _gru_gamer
.subsections_via_symbols
| AnghaBench/linux/drivers/misc/sgi-gru/extr_gru_instructions.h_gru_gamer.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ovl_set_nlink_lower ; -- Begin function ovl_set_nlink_lower
.p2align 2
_ovl_set_nlink_lower: ; @ovl_set_nlink_lower
.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 x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp] ; 8-byte Folded Spill
ldr x0, [sp, #8]
bl _ovl_dentry_lower
mov x1, x0
ldr x0, [sp] ; 8-byte Folded Reload
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _ovl_set_nlink_common
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "L%+i"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ovl_set_nlink_lower ## -- Begin function ovl_set_nlink_lower
.p2align 4, 0x90
_ovl_set_nlink_lower: ## @ovl_set_nlink_lower
.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, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _ovl_dentry_lower
movq -16(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
leaq L_.str(%rip), %rdx
callq _ovl_set_nlink_common
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "L%+i"
.subsections_via_symbols
| AnghaBench/linux/fs/overlayfs/extr_inode.c_ovl_set_nlink_lower.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iwlagn_fw_error
_iwlagn_fw_error: ; @iwlagn_fw_error
.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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
str wzr, [x8]
adrp x8, _STATUS_FW_ERROR@GOTPAGE
ldr x8, [x8, _STATUS_FW_ERROR@GOTPAGEOFF]
ldr w0, [x8]
ldur x8, [x29, #-8]
add x1, x8, #32
bl _set_bit
ldur x8, [x29, #-8]
add x0, x8, #36
bl _iwl_abort_notification_waits
adrp x8, _STATUS_READY@GOTPAGE
ldr x8, [x8, _STATUS_READY@GOTPAGEOFF]
ldr w0, [x8]
ldur x8, [x29, #-8]
add x1, x8, #32
bl _clear_bit
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_1
LBB0_1:
adrp x8, _jiffies@GOTPAGE
ldr x8, [x8, _jiffies@GOTPAGEOFF]
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
ldr x9, [x9, #8]
subs x0, x8, x9
bl _jiffies_to_msecs
str w0, [sp, #16]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldr w8, [sp, #16]
adrp x9, _IWL_MIN_RELOAD_DURATION@GOTPAGE
ldr x9, [x9, _IWL_MIN_RELOAD_DURATION@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, hi
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2:
ldur x9, [x29, #-8]
ldr x8, [x9, #16]
add x8, x8, #1
str x8, [x9, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
adrp x9, _IWL_MAX_CONTINUE_RELOAD_CNT@GOTPAGE
ldr x9, [x9, _IWL_MAX_CONTINUE_RELOAD_CNT@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur x0, [x29, #-8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _IWL_ERR
b LBB0_12
LBB0_4:
b LBB0_6
LBB0_5:
ldur x8, [x29, #-8]
str xzr, [x8, #16]
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
adrp x8, _STATUS_EXIT_PENDING@GOTPAGE
ldr x8, [x8, _STATUS_EXIT_PENDING@GOTPAGEOFF]
ldr w0, [x8]
ldur x8, [x29, #-8]
add x1, x8, #32
bl _test_bit
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8:
adrp x8, _iwlwifi_mod_params@GOTPAGE
ldr x8, [x8, _iwlwifi_mod_params@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur x0, [x29, #-8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _IWL_DEBUG_FW_ERRORS
ldur x8, [x29, #-8]
ldr w0, [x8, #28]
ldur x8, [x29, #-8]
add x1, x8, #24
bl _queue_work
b LBB0_11
LBB0_10:
ldur x0, [x29, #-8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _IWL_DEBUG_FW_ERRORS
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _STATUS_FW_ERROR,4,2 ; @STATUS_FW_ERROR
.comm _STATUS_READY,4,2 ; @STATUS_READY
.comm _jiffies,8,3 ; @jiffies
.comm _IWL_MIN_RELOAD_DURATION,4,2 ; @IWL_MIN_RELOAD_DURATION
.comm _IWL_MAX_CONTINUE_RELOAD_CNT,8,3 ; @IWL_MAX_CONTINUE_RELOAD_CNT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "BUG_ON, Stop restarting\n"
.comm _STATUS_EXIT_PENDING,4,2 ; @STATUS_EXIT_PENDING
.comm _iwlwifi_mod_params,8,3 ; @iwlwifi_mod_params
l_.str.1: ; @.str.1
.asciz "Restarting adapter due to uCode error.\n"
l_.str.2: ; @.str.2
.asciz "Detected FW error, but not restarting\n"
.comm _IWL_DL_FW_ERRORS,4,2 ; @IWL_DL_FW_ERRORS
.comm _IWL_RXON_CTX_BSS,4,2 ; @IWL_RXON_CTX_BSS
.no_dead_strip _iwlagn_fw_error
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iwlagn_fw_error
_iwlagn_fw_error: ## @iwlagn_fw_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movl $0, (%rax)
movq _STATUS_FW_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -8(%rbp), %rsi
addq $32, %rsi
callq _set_bit
movq -8(%rbp), %rdi
addq $36, %rdi
callq _iwl_abort_notification_waits
movq _STATUS_READY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -8(%rbp), %rsi
addq $32, %rsi
callq _clear_bit
cmpl $0, -12(%rbp)
jne LBB0_7
## %bb.1:
movq _jiffies@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movq -8(%rbp), %rax
subq 8(%rax), %rdi
callq _jiffies_to_msecs
movl %eax, -16(%rbp)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movl -16(%rbp), %eax
movq _IWL_MIN_RELOAD_DURATION@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
ja LBB0_5
## %bb.2:
movq -8(%rbp), %rax
movq 16(%rax), %rcx
addq $1, %rcx
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq _IWL_MAX_CONTINUE_RELOAD_CNT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jl LBB0_4
## %bb.3:
movq -8(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _IWL_ERR
jmp LBB0_12
LBB0_4:
jmp LBB0_6
LBB0_5:
movq -8(%rbp), %rax
movq $0, 16(%rax)
LBB0_6:
jmp LBB0_7
LBB0_7:
movq _STATUS_EXIT_PENDING@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -8(%rbp), %rsi
addq $32, %rsi
callq _test_bit
cmpl $0, %eax
jne LBB0_12
## %bb.8:
movq _iwlwifi_mod_params@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_10
## %bb.9:
movq -8(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _IWL_DEBUG_FW_ERRORS
movq -8(%rbp), %rax
movl 28(%rax), %edi
movq -8(%rbp), %rsi
addq $24, %rsi
callq _queue_work
jmp LBB0_11
LBB0_10:
movq -8(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _IWL_DEBUG_FW_ERRORS
LBB0_11:
jmp LBB0_12
LBB0_12:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STATUS_FW_ERROR,4,2 ## @STATUS_FW_ERROR
.comm _STATUS_READY,4,2 ## @STATUS_READY
.comm _jiffies,8,3 ## @jiffies
.comm _IWL_MIN_RELOAD_DURATION,4,2 ## @IWL_MIN_RELOAD_DURATION
.comm _IWL_MAX_CONTINUE_RELOAD_CNT,8,3 ## @IWL_MAX_CONTINUE_RELOAD_CNT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "BUG_ON, Stop restarting\n"
.comm _STATUS_EXIT_PENDING,4,2 ## @STATUS_EXIT_PENDING
.comm _iwlwifi_mod_params,8,3 ## @iwlwifi_mod_params
L_.str.1: ## @.str.1
.asciz "Restarting adapter due to uCode error.\n"
L_.str.2: ## @.str.2
.asciz "Detected FW error, but not restarting\n"
.comm _IWL_DL_FW_ERRORS,4,2 ## @IWL_DL_FW_ERRORS
.comm _IWL_RXON_CTX_BSS,4,2 ## @IWL_RXON_CTX_BSS
.no_dead_strip _iwlagn_fw_error
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/dvm/extr_main.c_iwlagn_fw_error.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sanity_check
_sanity_check: ; @sanity_check
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #8]
str x2, [sp]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #28]
b LBB0_3
LBB0_2:
str wzr, [sp, #28]
b LBB0_3
LBB0_3:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _MGSL_MAGIC,8,3 ; @MGSL_MAGIC
.no_dead_strip _sanity_check
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sanity_check
_sanity_check: ## @sanity_check
.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, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_3
LBB0_2:
movl $0, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MGSL_MAGIC,8,3 ## @MGSL_MAGIC
.no_dead_strip _sanity_check
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/extr_synclink_gt.c_sanity_check.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _readsysfs ; -- Begin function readsysfs
.p2align 2
_readsysfs: ; @readsysfs
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #144
adrp x8, _PATH_MAX@GOTPAGE
ldr x8, [x8, _PATH_MAX@GOTPAGEOFF]
stur x8, [x29, #-128] ; 8-byte Folded Spill
adrp x9, ___stack_chk_guard@GOTPAGE
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
ldr x9, [x9]
stur x9, [x29, #-8]
stur x0, [x29, #-24]
stur x1, [x29, #-32]
ldr w8, [x8]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-40]
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-120] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-120] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-112] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-48]
adrp x8, _PAGE_SIZE@GOTPAGE
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
ldr w8, [x8]
; kill: def $x8 killed $w8
stur x8, [x29, #-104] ; 8-byte Folded Spill
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-96] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-96] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-88] ; 8-byte Folded Spill
stur x8, [x29, #-56]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-64]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x0, [x29, #-112] ; 8-byte Folded Reload
ldur x8, [x29, #-128] ; 8-byte Folded Reload
ldr w1, [x8]
adrp x8, _MICSYSFSDIR@GOTPAGE
ldr x8, [x8, _MICSYSFSDIR@GOTPAGEOFF]
ldr x3, [x8]
ldur x4, [x29, #-32]
adrp x2, l_.str@PAGE
add x2, x2, l_.str@PAGEOFF
bl _snprintf
b LBB0_3
LBB0_2:
ldur x0, [x29, #-112] ; 8-byte Folded Reload
ldur x8, [x29, #-128] ; 8-byte Folded Reload
ldr w1, [x8]
adrp x8, _MICSYSFSDIR@GOTPAGE
ldr x8, [x8, _MICSYSFSDIR@GOTPAGEOFF]
ldr x3, [x8]
ldur x4, [x29, #-24]
ldur x8, [x29, #-32]
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
bl _snprintf
add sp, sp, #16
b LBB0_3
LBB0_3:
ldur x0, [x29, #-112] ; 8-byte Folded Reload
adrp x8, _O_RDONLY@GOTPAGE
ldr x8, [x8, _O_RDONLY@GOTPAGEOFF]
ldr w1, [x8]
bl _open
stur w0, [x29, #-68]
ldur w8, [x29, #-68]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x8, _errno@GOTPAGE
ldr x8, [x8, _errno@GOTPAGEOFF]
ldr w0, [x8]
bl _strerror
ldur x1, [x29, #-112] ; 8-byte Folded Reload
mov x2, x0
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _mpsslog
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
mov w8, #1
stur w8, [x29, #-76]
b LBB0_13
LBB0_5:
ldur x1, [x29, #-88] ; 8-byte Folded Reload
ldur x8, [x29, #-104] ; 8-byte Folded Reload
ldur w0, [x29, #-68]
mov x2, x8
bl _read
stur w0, [x29, #-72]
ldur w8, [x29, #-72]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
adrp x8, _errno@GOTPAGE
ldr x8, [x8, _errno@GOTPAGEOFF]
ldr w0, [x8]
bl _strerror
ldur x1, [x29, #-112] ; 8-byte Folded Reload
mov x2, x0
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _mpsslog
b LBB0_12
LBB0_7:
ldur w8, [x29, #-72]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
b LBB0_12
LBB0_9:
ldur x0, [x29, #-88] ; 8-byte Folded Reload
ldur w8, [x29, #-72]
subs w9, w8, #1
mov x8, x0
add x8, x8, w9, sxtw
strb wzr, [x8]
bl _strlen
add x0, x0, #1
bl _malloc
stur x0, [x29, #-64]
ldur x8, [x29, #-64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
ldur x1, [x29, #-88] ; 8-byte Folded Reload
ldur x0, [x29, #-64]
bl _strcpy
b LBB0_11
LBB0_11:
b LBB0_12
LBB0_12:
ldur w0, [x29, #-68]
bl _close
ldur x8, [x29, #-64]
stur x8, [x29, #-16]
mov w8, #1
stur w8, [x29, #-76]
b LBB0_13
LBB0_13:
ldur x8, [x29, #-40]
mov sp, x8
ldur x8, [x29, #-16]
stur x8, [x29, #-136] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
bl ___stack_chk_fail
LBB0_15:
ldur x0, [x29, #-136] ; 8-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _PATH_MAX,4,2 ; @PATH_MAX
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s/%s"
.comm _MICSYSFSDIR,8,3 ; @MICSYSFSDIR
l_.str.1: ; @.str.1
.asciz "%s/%s/%s"
.comm _O_RDONLY,4,2 ; @O_RDONLY
l_.str.2: ; @.str.2
.asciz "Failed to open sysfs entry '%s': %s\n"
.comm _errno,4,2 ; @errno
l_.str.3: ; @.str.3
.asciz "Failed to read sysfs entry '%s': %s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _readsysfs ## -- Begin function readsysfs
.p2align 4, 0x90
_readsysfs: ## @readsysfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq _PATH_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -112(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -40(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -112(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -104(%rbp) ## 8-byte Spill
movq %rax, -48(%rbp)
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -96(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_2
## %bb.1:
movq -104(%rbp), %rdi ## 8-byte Reload
movq _PATH_MAX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MICSYSFSDIR@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -32(%rbp), %r8
leaq L_.str(%rip), %rdx
movb $0, %al
callq _snprintf
jmp LBB0_3
LBB0_2:
movq -104(%rbp), %rdi ## 8-byte Reload
movq _PATH_MAX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MICSYSFSDIR@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq -24(%rbp), %r8
movq -32(%rbp), %r9
leaq L_.str.1(%rip), %rdx
movb $0, %al
callq _snprintf
LBB0_3:
movq -104(%rbp), %rdi ## 8-byte Reload
movq _O_RDONLY@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _open
movl %eax, -68(%rbp)
cmpl $0, -68(%rbp)
jge LBB0_5
## %bb.4:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
movq -104(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
leaq L_.str.2(%rip), %rdi
callq _mpsslog
movq $0, -16(%rbp)
movl $1, -76(%rbp)
jmp LBB0_13
LBB0_5:
movq -88(%rbp), %rsi ## 8-byte Reload
movq -96(%rbp), %rax ## 8-byte Reload
movl -68(%rbp), %edi
movl %eax, %edx
callq _read
movl %eax, -72(%rbp)
cmpl $0, -72(%rbp)
jge LBB0_7
## %bb.6:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
movq -104(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
leaq L_.str.3(%rip), %rdi
callq _mpsslog
jmp LBB0_12
LBB0_7:
cmpl $0, -72(%rbp)
jne LBB0_9
## %bb.8:
jmp LBB0_12
LBB0_9:
movq -88(%rbp), %rdi ## 8-byte Reload
movl -72(%rbp), %eax
subl $1, %eax
cltq
movb $0, (%rdi,%rax)
callq _strlen
movq %rax, %rdi
addq $1, %rdi
callq _malloc
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
je LBB0_11
## %bb.10:
movq -88(%rbp), %rsi ## 8-byte Reload
movq -64(%rbp), %rdi
callq _strcpy
LBB0_11:
jmp LBB0_12
LBB0_12:
movl -68(%rbp), %edi
callq _close
movq -64(%rbp), %rax
movq %rax, -16(%rbp)
movl $1, -76(%rbp)
LBB0_13:
movq -40(%rbp), %rax
movq %rax, %rsp
movq -16(%rbp), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_15
## %bb.14:
movq -120(%rbp), %rax ## 8-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _PATH_MAX,4,2 ## @PATH_MAX
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s/%s"
.comm _MICSYSFSDIR,8,3 ## @MICSYSFSDIR
L_.str.1: ## @.str.1
.asciz "%s/%s/%s"
.comm _O_RDONLY,4,2 ## @O_RDONLY
L_.str.2: ## @.str.2
.asciz "Failed to open sysfs entry '%s': %s\n"
.comm _errno,4,2 ## @errno
L_.str.3: ## @.str.3
.asciz "Failed to read sysfs entry '%s': %s\n"
.subsections_via_symbols
| AnghaBench/linux/samples/mic/mpssd/extr_sysfs.c_readsysfs.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hclgevf_deferred_task_schedule
_hclgevf_deferred_task_schedule: ; @hclgevf_deferred_task_schedule
.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 x0, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x0, [sp, #8]
bl _hclgevf_mbx_task_schedule
b LBB0_2
LBB0_2:
adrp x8, _HCLGEVF_RESET_PENDING@GOTPAGE
ldr x8, [x8, _HCLGEVF_RESET_PENDING@GOTPAGEOFF]
ldr w0, [x8]
ldr x1, [sp, #8]
bl _test_bit
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x0, [sp, #8]
bl _hclgevf_reset_task_schedule
b LBB0_4
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _HCLGEVF_RESET_PENDING,4,2 ; @HCLGEVF_RESET_PENDING
.no_dead_strip _hclgevf_deferred_task_schedule
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hclgevf_deferred_task_schedule
_hclgevf_deferred_task_schedule: ## @hclgevf_deferred_task_schedule
.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, -8(%rbp)
movq -8(%rbp), %rax
cmpq $0, 8(%rax)
je LBB0_2
## %bb.1:
movq -8(%rbp), %rdi
callq _hclgevf_mbx_task_schedule
LBB0_2:
movq _HCLGEVF_RESET_PENDING@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -8(%rbp), %rsi
callq _test_bit
cmpq $0, %rax
je LBB0_4
## %bb.3:
movq -8(%rbp), %rdi
callq _hclgevf_reset_task_schedule
LBB0_4:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HCLGEVF_RESET_PENDING,4,2 ## @HCLGEVF_RESET_PENDING
.no_dead_strip _hclgevf_deferred_task_schedule
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_deferred_task_schedule.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfp_cpp_area_acquire_nonblocking ; -- Begin function nfp_cpp_area_acquire_nonblocking
.p2align 2
_nfp_cpp_area_acquire_nonblocking: ; @nfp_cpp_area_acquire_nonblocking
.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
str x0, [sp, #16]
ldr x0, [sp, #16]
bl _mutex_lock
ldr x8, [sp, #16]
add x0, x8, #4
bl _atomic_inc_return
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_1
LBB0_1:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x8, [x8]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_2
LBB0_2:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x8, [x8]
ldr x8, [x8]
ldr x0, [sp, #16]
blr x8
str w0, [sp, #12]
ldr w8, [sp, #12]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
add x0, x8, #4
bl _atomic_dec
ldr x0, [sp, #16]
bl _mutex_unlock
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB0_7
LBB0_4:
b LBB0_5
LBB0_5:
b LBB0_6
LBB0_6:
ldr x0, [sp, #16]
bl _mutex_unlock
ldr x0, [sp, #16]
bl _nfp_cpp_area_get
stur wzr, [x29, #-4]
b LBB0_7
LBB0_7:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nfp_cpp_area_acquire_nonblocking ## -- Begin function nfp_cpp_area_acquire_nonblocking
.p2align 4, 0x90
_nfp_cpp_area_acquire_nonblocking: ## @nfp_cpp_area_acquire_nonblocking
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rdi
callq _mutex_lock
movq -16(%rbp), %rdi
addq $4, %rdi
callq _atomic_inc_return
cmpl $1, %eax
jne LBB0_6
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rax
cmpq $0, (%rax)
je LBB0_5
## %bb.2:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movq -16(%rbp), %rdi
callq *%rax
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jge LBB0_4
## %bb.3:
movq -16(%rbp), %rdi
addq $4, %rdi
callq _atomic_dec
movq -16(%rbp), %rdi
callq _mutex_unlock
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_7
LBB0_4:
jmp LBB0_5
LBB0_5:
jmp LBB0_6
LBB0_6:
movq -16(%rbp), %rdi
callq _mutex_unlock
movq -16(%rbp), %rdi
callq _nfp_cpp_area_get
movl $0, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nfpcore/extr_nfp_cppcore.c_nfp_cpp_area_acquire_nonblocking.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cx88_shutdown ; -- Begin function cx88_shutdown
.p2align 2
_cx88_shutdown: ; @cx88_shutdown
.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 x0, [sp, #8]
adrp x8, _MO_DEV_CNTRL2@GOTPAGE
ldr x8, [x8, _MO_DEV_CNTRL2@GOTPAGEOFF]
ldr w0, [x8]
mov w1, #0
str w1, [sp, #4] ; 4-byte Folded Spill
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_VID_DMACNTRL@GOTPAGE
ldr x8, [x8, _MO_VID_DMACNTRL@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_AUD_DMACNTRL@GOTPAGE
ldr x8, [x8, _MO_AUD_DMACNTRL@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_TS_DMACNTRL@GOTPAGE
ldr x8, [x8, _MO_TS_DMACNTRL@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_VIP_DMACNTRL@GOTPAGE
ldr x8, [x8, _MO_VIP_DMACNTRL@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_GPHST_DMACNTRL@GOTPAGE
ldr x8, [x8, _MO_GPHST_DMACNTRL@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_PCI_INTMSK@GOTPAGE
ldr x8, [x8, _MO_PCI_INTMSK@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_VID_INTMSK@GOTPAGE
ldr x8, [x8, _MO_VID_INTMSK@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_AUD_INTMSK@GOTPAGE
ldr x8, [x8, _MO_AUD_INTMSK@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_TS_INTMSK@GOTPAGE
ldr x8, [x8, _MO_TS_INTMSK@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_VIP_INTMSK@GOTPAGE
ldr x8, [x8, _MO_VIP_INTMSK@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _MO_GPHST_INTMSK@GOTPAGE
ldr x8, [x8, _MO_GPHST_INTMSK@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldr w1, [sp, #4] ; 4-byte Folded Reload
adrp x8, _VID_CAPTURE_CONTROL@GOTPAGE
ldr x8, [x8, _VID_CAPTURE_CONTROL@GOTPAGEOFF]
ldr w0, [x8]
bl _cx_write
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _MO_DEV_CNTRL2,4,2 ; @MO_DEV_CNTRL2
.comm _MO_VID_DMACNTRL,4,2 ; @MO_VID_DMACNTRL
.comm _MO_AUD_DMACNTRL,4,2 ; @MO_AUD_DMACNTRL
.comm _MO_TS_DMACNTRL,4,2 ; @MO_TS_DMACNTRL
.comm _MO_VIP_DMACNTRL,4,2 ; @MO_VIP_DMACNTRL
.comm _MO_GPHST_DMACNTRL,4,2 ; @MO_GPHST_DMACNTRL
.comm _MO_PCI_INTMSK,4,2 ; @MO_PCI_INTMSK
.comm _MO_VID_INTMSK,4,2 ; @MO_VID_INTMSK
.comm _MO_AUD_INTMSK,4,2 ; @MO_AUD_INTMSK
.comm _MO_TS_INTMSK,4,2 ; @MO_TS_INTMSK
.comm _MO_VIP_INTMSK,4,2 ; @MO_VIP_INTMSK
.comm _MO_GPHST_INTMSK,4,2 ; @MO_GPHST_INTMSK
.comm _VID_CAPTURE_CONTROL,4,2 ; @VID_CAPTURE_CONTROL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cx88_shutdown ## -- Begin function cx88_shutdown
.p2align 4, 0x90
_cx88_shutdown: ## @cx88_shutdown
.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, -8(%rbp)
movq _MO_DEV_CNTRL2@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_VID_DMACNTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_AUD_DMACNTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_TS_DMACNTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_VIP_DMACNTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_GPHST_DMACNTRL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_PCI_INTMSK@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_VID_INTMSK@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_AUD_INTMSK@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_TS_INTMSK@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_VIP_INTMSK@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _MO_GPHST_INTMSK@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
movq _VID_CAPTURE_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _cx_write
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MO_DEV_CNTRL2,4,2 ## @MO_DEV_CNTRL2
.comm _MO_VID_DMACNTRL,4,2 ## @MO_VID_DMACNTRL
.comm _MO_AUD_DMACNTRL,4,2 ## @MO_AUD_DMACNTRL
.comm _MO_TS_DMACNTRL,4,2 ## @MO_TS_DMACNTRL
.comm _MO_VIP_DMACNTRL,4,2 ## @MO_VIP_DMACNTRL
.comm _MO_GPHST_DMACNTRL,4,2 ## @MO_GPHST_DMACNTRL
.comm _MO_PCI_INTMSK,4,2 ## @MO_PCI_INTMSK
.comm _MO_VID_INTMSK,4,2 ## @MO_VID_INTMSK
.comm _MO_AUD_INTMSK,4,2 ## @MO_AUD_INTMSK
.comm _MO_TS_INTMSK,4,2 ## @MO_TS_INTMSK
.comm _MO_VIP_INTMSK,4,2 ## @MO_VIP_INTMSK
.comm _MO_GPHST_INTMSK,4,2 ## @MO_GPHST_INTMSK
.comm _VID_CAPTURE_CONTROL,4,2 ## @VID_CAPTURE_CONTROL
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-core.c_cx88_shutdown.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipv4_range_sort_cmp
_ipv4_range_sort_cmp: ; @ipv4_range_sort_cmp
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str x1, [sp, #24]
ldr x8, [sp, #32]
str x8, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #8]
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #44]
b LBB0_9
LBB0_2:
ldr x8, [sp, #16]
ldr x8, [x8]
ldr x9, [sp, #8]
ldr x9, [x9]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #-1
str w8, [sp, #44]
b LBB0_9
LBB0_4:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #1
str w8, [sp, #44]
b LBB0_9
LBB0_6:
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w8, #-1
str w8, [sp, #44]
b LBB0_9
LBB0_8:
str wzr, [sp, #44]
b LBB0_9
LBB0_9:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _ipv4_range_sort_cmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipv4_range_sort_cmp
_ipv4_range_sort_cmp: ## @ipv4_range_sort_cmp
.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, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
cmpq (%rcx), %rax
jle LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_9
LBB0_2:
movq -32(%rbp), %rax
movq (%rax), %rax
movq -40(%rbp), %rcx
cmpq (%rcx), %rax
jge LBB0_4
## %bb.3:
movl $-1, -4(%rbp)
jmp LBB0_9
LBB0_4:
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq -40(%rbp), %rcx
cmpq 8(%rcx), %rax
jle LBB0_6
## %bb.5:
movl $1, -4(%rbp)
jmp LBB0_9
LBB0_6:
movq -32(%rbp), %rax
movq 8(%rax), %rax
movq -40(%rbp), %rcx
cmpq 8(%rcx), %rax
jge LBB0_8
## %bb.7:
movl $-1, -4(%rbp)
jmp LBB0_9
LBB0_8:
movl $0, -4(%rbp)
LBB0_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ipv4_range_sort_cmp
.subsections_via_symbols
| AnghaBench/lede/package/lean/ipset-lists/tools/extr_ipv4_merger.c_ipv4_range_sort_cmp.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_ports
_write_ports: ; @write_ports
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
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
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
adrp x0, _nfsd_mutex@GOTPAGE
ldr x0, [x0, _nfsd_mutex@GOTPAGEOFF]
str x0, [sp, #24] ; 8-byte Folded Spill
bl _mutex_lock
ldur x8, [x29, #-8]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-8]
bl _netns
ldr x1, [sp] ; 8-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
mov x3, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl ___write_ports
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
stur w8, [x29, #-28]
bl _mutex_unlock
ldur w0, [x29, #-28]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.comm _nfsd_mutex,4,2 ; @nfsd_mutex
.no_dead_strip _write_ports
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_ports
_write_ports: ## @write_ports
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq _nfsd_mutex@GOTPCREL(%rip), %rdi
callq _mutex_lock
movq -8(%rbp), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -16(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq -24(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movq -8(%rbp), %rdi
callq _netns
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movq -40(%rbp), %rdx ## 8-byte Reload
movl %eax, %ecx
callq ___write_ports
movl %eax, -28(%rbp)
movq _nfsd_mutex@GOTPCREL(%rip), %rdi
callq _mutex_unlock
movl -28(%rbp), %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _nfsd_mutex,4,2 ## @nfsd_mutex
.no_dead_strip _write_ports
.subsections_via_symbols
| AnghaBench/linux/fs/nfsd/extr_nfsctl.c_write_ports.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ntfs_clear_extent_inode ; -- Begin function ntfs_clear_extent_inode
.p2align 2
_ntfs_clear_extent_inode: ; @ntfs_clear_extent_inode
.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 x0, [sp, #8]
ldr x8, [sp, #8]
ldr w1, [x8, #20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _ntfs_debug
ldr x0, [sp, #8]
bl _NInoAttr
bl _BUG_ON
ldr x8, [sp, #8]
ldr w8, [x8]
adds w8, w8, #1
cset w8, ne
and w0, w8, #0x1
bl _BUG_ON
ldr x0, [sp, #8]
bl ___ntfs_clear_inode
ldr x0, [sp, #8]
bl _ntfs_destroy_extent_inode
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Entering for inode 0x%lx."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ntfs_clear_extent_inode ## -- Begin function ntfs_clear_extent_inode
.p2align 4, 0x90
_ntfs_clear_extent_inode: ## @ntfs_clear_extent_inode
.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, -8(%rbp)
movq -8(%rbp), %rax
movl 20(%rax), %esi
leaq L_.str(%rip), %rdi
callq _ntfs_debug
movq -8(%rbp), %rdi
callq _NInoAttr
movl %eax, %edi
callq _BUG_ON
movq -8(%rbp), %rax
cmpl $-1, (%rax)
setne %al
andb $1, %al
movzbl %al, %edi
callq _BUG_ON
movq -8(%rbp), %rdi
callq ___ntfs_clear_inode
movq -8(%rbp), %rdi
callq _ntfs_destroy_extent_inode
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Entering for inode 0x%lx."
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ntfs/extr_inode.c_ntfs_clear_extent_inode.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpt_lock_volume ; -- Begin function mpt_lock_volume
.p2align 2
_mpt_lock_volume: ; @mpt_lock_volume
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #96
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur w0, [x29, #-16]
stur w1, [x29, #-20]
adrp x8, _MAXPATHLEN@GOTPAGE
ldr x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
ldr w8, [x8]
; kill: def $x8 killed $w8
stur x8, [x29, #-80] ; 8-byte Folded Spill
mov x9, sp
stur x9, [x29, #-32]
lsr x9, x8, #0
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-72] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-72] ; 8-byte Folded Reload
mov x9, sp
subs x0, x9, x10
stur x0, [x29, #-64] ; 8-byte Folded Spill
mov sp, x0
stur x8, [x29, #-40]
ldur w0, [x29, #-16]
ldur w1, [x29, #-20]
sub x2, x29, #44
bl _mpt_query_disk
stur w0, [x29, #-48]
ldur w8, [x29, #-48]
adrp x9, _ENOENT@GOTPAGE
ldr x9, [x9, _ENOENT@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-56]
b LBB0_7
LBB0_2:
ldur w8, [x29, #-48]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldur w0, [x29, #-48]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _warnc
ldur w8, [x29, #-48]
stur w8, [x29, #-12]
mov w8, #1
stur w8, [x29, #-56]
b LBB0_7
LBB0_4:
ldur x0, [x29, #-64] ; 8-byte Folded Reload
ldur x8, [x29, #-80] ; 8-byte Folded Reload
mov x1, x8
adrp x8, __PATH_DEV@GOTPAGE
ldr x8, [x8, __PATH_DEV@GOTPAGEOFF]
ldr x3, [x8]
ldur w4, [x29, #-44]
adrp x2, l_.str.1@PAGE
add x2, x2, l_.str.1@PAGEOFF
bl _snprintf
ldur x0, [x29, #-64] ; 8-byte Folded Reload
adrp x8, _O_RDWR@GOTPAGE
ldr x8, [x8, _O_RDWR@GOTPAGEOFF]
ldr w1, [x8]
bl _open
stur w0, [x29, #-52]
ldur w8, [x29, #-52]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x8, _errno@GOTPAGE
ldr x8, [x8, _errno@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-48]
ldur w1, [x29, #-44]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _warn
ldur w8, [x29, #-48]
stur w8, [x29, #-12]
mov w8, #1
stur w8, [x29, #-56]
b LBB0_7
LBB0_6:
stur wzr, [x29, #-12]
mov w8, #1
stur w8, [x29, #-56]
b LBB0_7
LBB0_7:
ldur x8, [x29, #-32]
mov sp, x8
ldur w8, [x29, #-12]
stur w8, [x29, #-84] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
bl ___stack_chk_fail
LBB0_9:
ldur w0, [x29, #-84] ; 4-byte Folded Reload
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _MAXPATHLEN,4,2 ; @MAXPATHLEN
.comm _ENOENT,4,2 ; @ENOENT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to lookup volume device name"
l_.str.1: ; @.str.1
.asciz "%s%s"
.comm __PATH_DEV,8,3 ; @_PATH_DEV
.comm _O_RDWR,4,2 ; @O_RDWR
.comm _errno,4,2 ; @errno
l_.str.2: ; @.str.2
.asciz "Unable to lock volume %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mpt_lock_volume ## -- Begin function mpt_lock_volume
.p2align 4, 0x90
_mpt_lock_volume: ## @mpt_lock_volume
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl %edi, -16(%rbp)
movl %esi, -20(%rbp)
movq _MAXPATHLEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -32(%rbp)
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -80(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rax, -40(%rbp)
movl -16(%rbp), %edi
movl -20(%rbp), %esi
leaq -48(%rbp), %rdx
callq _mpt_query_disk
movl %eax, -52(%rbp)
movl -52(%rbp), %eax
movq _ENOENT@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.1:
movl $0, -12(%rbp)
movl $1, -60(%rbp)
jmp LBB0_7
LBB0_2:
cmpl $0, -52(%rbp)
je LBB0_4
## %bb.3:
movl -52(%rbp), %edi
leaq L_.str(%rip), %rsi
callq _warnc
movl -52(%rbp), %eax
movl %eax, -12(%rbp)
movl $1, -60(%rbp)
jmp LBB0_7
LBB0_4:
movq -72(%rbp), %rdi ## 8-byte Reload
movq -80(%rbp), %rax ## 8-byte Reload
movl %eax, %esi
movq __PATH_DEV@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl -48(%rbp), %r8d
leaq L_.str.1(%rip), %rdx
callq _snprintf
movq -72(%rbp), %rdi ## 8-byte Reload
movq _O_RDWR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _open
movl %eax, -56(%rbp)
cmpl $0, -56(%rbp)
jge LBB0_6
## %bb.5:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp)
movl -48(%rbp), %esi
leaq L_.str.2(%rip), %rdi
callq _warn
movl -52(%rbp), %eax
movl %eax, -12(%rbp)
movl $1, -60(%rbp)
jmp LBB0_7
LBB0_6:
movl $0, -12(%rbp)
movl $1, -60(%rbp)
LBB0_7:
movq -32(%rbp), %rax
movq %rax, %rsp
movl -12(%rbp), %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_9
## %bb.8:
movl -84(%rbp), %eax ## 4-byte Reload
movq %rbp, %rsp
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.comm _MAXPATHLEN,4,2 ## @MAXPATHLEN
.comm _ENOENT,4,2 ## @ENOENT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to lookup volume device name"
L_.str.1: ## @.str.1
.asciz "%s%s"
.comm __PATH_DEV,8,3 ## @_PATH_DEV
.comm _O_RDWR,4,2 ## @O_RDWR
.comm _errno,4,2 ## @errno
L_.str.2: ## @.str.2
.asciz "Unable to lock volume %s"
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/mptutil/extr_mpt_config.c_mpt_lock_volume.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _emit_neg ; -- Begin function emit_neg
.p2align 2
_emit_neg: ; @emit_neg
.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
stur w0, [x29, #-4]
str w1, [sp, #8]
adrp x8, _regname@GOTPAGE
ldr x8, [x8, _regname@GOTPAGEOFF]
ldr x9, [x8]
ldrsw x10, [sp, #8]
ldr w1, [x9, x10, lsl #2]
ldr x8, [x8]
ldursw x9, [x29, #-4]
ldr w2, [x8, x9, lsl #2]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _assem_debug
ldr w0, [sp, #8]
ldur w1, [x29, #-4]
mov w2, #0
bl _rd_rn_rm
mov w8, #-497025024
orr w0, w8, w0
bl _output_w32
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rsb %s,%s,#0\n"
.comm _regname,8,3 ; @regname
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _emit_neg ## -- Begin function emit_neg
.p2align 4, 0x90
_emit_neg: ## @emit_neg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq _regname@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -8(%rbp), %rcx
movl (%rax,%rcx,4), %esi
movq _regname@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq -4(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq L_.str(%rip), %rdi
callq _assem_debug
movl -8(%rbp), %edi
movl -4(%rbp), %esi
xorl %edx, %edx
callq _rd_rn_rm
movl %eax, %edi
orl $3797942272, %edi ## imm = 0xE2600000
callq _output_w32
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rsb %s,%s,#0\n"
.comm _regname,8,3 ## @regname
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_neg.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp 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
adrp x8, _errno@GOTPAGE
ldr x8, [x8, _errno@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov w8, #-1
str w8, [sp, #32] ; 4-byte Folded Spill
stur w8, [x29, #-20]
mov w8, #1
stur w8, [x29, #-24]
mov w0, #3
bl _ksft_set_plan
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr w0, [sp, #32] ; 4-byte Folded Reload
bl _sys_pidfd_open
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8]
bl _strerror
mov x1, x0
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _ksft_print_msg
b LBB0_7
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _ksft_test_result_pass
bl _getpid
mov w1, #1
bl _sys_pidfd_open
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8]
bl _strerror
mov x1, x0
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _ksft_print_msg
b LBB0_7
LBB0_4:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _ksft_test_result_pass
bl _getpid
mov w1, #0
bl _sys_pidfd_open
stur w0, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr w0, [x8]
bl _strerror
mov x1, x0
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _ksft_print_msg
b LBB0_7
LBB0_6:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _ksft_test_result_pass
ldur w0, [x29, #-20]
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov w2, #4
bl _get_pid_from_fdinfo_file
stur w0, [x29, #-28]
ldur w1, [x29, #-20]
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _ksft_print_msg
stur wzr, [x29, #-24]
b LBB0_7
LBB0_7:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldur w0, [x29, #-20]
bl _close
b LBB0_9
LBB0_9:
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl _ksft_exit_pass
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB0_12
LBB0_11:
bl _ksft_exit_fail
str w0, [sp, #12] ; 4-byte Folded Spill
b LBB0_12
LBB0_12:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s - succeeded to open pidfd for invalid pid -1\n"
.comm _errno,4,2 ; @errno
l_.str.1: ; @.str.1
.asciz "do not allow invalid pid test: passed\n"
l_.str.2: ; @.str.2
.asciz "%s - succeeded to open pidfd with invalid flag value specified\n"
l_.str.3: ; @.str.3
.asciz "do not allow invalid flag test: passed\n"
l_.str.4: ; @.str.4
.asciz "%s - failed to open pidfd\n"
l_.str.5: ; @.str.5
.asciz "open a new pidfd test: passed\n"
l_.str.6: ; @.str.6
.asciz "Pid:"
l_.str.7: ; @.str.7
.asciz "pidfd %d refers to process with pid %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 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 $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $-1, -20(%rbp)
movl $1, -24(%rbp)
movl $3, %edi
callq _ksft_set_plan
movl $4294967295, %edi ## imm = 0xFFFFFFFF
xorl %esi, %esi
callq _sys_pidfd_open
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jl LBB0_2
## %bb.1:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
movl %eax, %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _ksft_print_msg
jmp LBB0_7
LBB0_2:
leaq L_.str.1(%rip), %rdi
callq _ksft_test_result_pass
movb $0, %al
callq _getpid
movl %eax, %edi
movl $1, %esi
callq _sys_pidfd_open
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jl LBB0_4
## %bb.3:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
movl %eax, %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _ksft_print_msg
jmp LBB0_7
LBB0_4:
leaq L_.str.3(%rip), %rdi
callq _ksft_test_result_pass
movb $0, %al
callq _getpid
movl %eax, %edi
xorl %esi, %esi
callq _sys_pidfd_open
movl %eax, -20(%rbp)
cmpl $0, -20(%rbp)
jge LBB0_6
## %bb.5:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
movl %eax, %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _ksft_print_msg
jmp LBB0_7
LBB0_6:
leaq L_.str.5(%rip), %rdi
callq _ksft_test_result_pass
movl -20(%rbp), %edi
leaq L_.str.6(%rip), %rsi
movl $4, %edx
callq _get_pid_from_fdinfo_file
movl %eax, -28(%rbp)
movl -20(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _ksft_print_msg
movl $0, -24(%rbp)
LBB0_7:
cmpl $0, -20(%rbp)
jl LBB0_9
## %bb.8:
movl -20(%rbp), %edi
callq _close
LBB0_9:
cmpl $0, -24(%rbp)
jne LBB0_11
## %bb.10:
movb $0, %al
callq _ksft_exit_pass
movl %eax, -32(%rbp) ## 4-byte Spill
jmp LBB0_12
LBB0_11:
movb $0, %al
callq _ksft_exit_fail
movl %eax, -32(%rbp) ## 4-byte Spill
LBB0_12:
movl -32(%rbp), %eax ## 4-byte Reload
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s - succeeded to open pidfd for invalid pid -1\n"
.comm _errno,4,2 ## @errno
L_.str.1: ## @.str.1
.asciz "do not allow invalid pid test: passed\n"
L_.str.2: ## @.str.2
.asciz "%s - succeeded to open pidfd with invalid flag value specified\n"
L_.str.3: ## @.str.3
.asciz "do not allow invalid flag test: passed\n"
L_.str.4: ## @.str.4
.asciz "%s - failed to open pidfd\n"
L_.str.5: ## @.str.5
.asciz "open a new pidfd test: passed\n"
L_.str.6: ## @.str.6
.asciz "Pid:"
L_.str.7: ## @.str.7
.asciz "pidfd %d refers to process with pid %d\n"
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/pidfd/extr_pidfd_open_test.c_main.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i40e_pci_error_reset_prepare
_i40e_pci_error_reset_prepare: ; @i40e_pci_error_reset_prepare
.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 x0, [sp, #8]
ldr x0, [sp, #8]
bl _pci_get_drvdata
str x0, [sp]
ldr x0, [sp]
mov w1, #0
bl _i40e_prep_for_reset
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _i40e_pci_error_reset_prepare
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i40e_pci_error_reset_prepare
_i40e_pci_error_reset_prepare: ## @i40e_pci_error_reset_prepare
.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, -8(%rbp)
movq -8(%rbp), %rdi
callq _pci_get_drvdata
movq %rax, -16(%rbp)
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _i40e_prep_for_reset
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _i40e_pci_error_reset_prepare
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_pci_error_reset_prepare.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function efx_reado_table
_efx_reado_table: ; @efx_reado_table
.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
stur x0, [x29, #-8]
str x1, [sp, #16]
str w2, [sp, #12]
str w3, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr w8, [sp, #12]
; kill: def $x8 killed $w8
ldr w9, [sp, #8]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #2
mov x2, x8
bl _efx_reado
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _efx_reado_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function efx_reado_table
_efx_reado_table: ## @efx_reado_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movl %ecx, -24(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movl -20(%rbp), %eax
## kill: def $rax killed $eax
movl -24(%rbp), %ecx
## kill: def $rcx killed $ecx
shlq $2, %rcx
addq %rcx, %rax
movl %eax, %edx
callq _efx_reado
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _efx_reado_table
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/sfc/extr_io.h_efx_reado_table.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iiWriteBuf8
_iiWriteBuf8: ; @iiWriteBuf8
.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
str x0, [sp, #16]
str x1, [sp, #8]
str w2, [sp, #4]
ldr x8, [sp, #16]
ldr x8, [x8]
adrp x9, _I2E_MAGIC@GOTPAGE
ldr x9, [x9, _I2E_MAGIC@GOTPAGEOFF]
ldr x9, [x9]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr x0, [sp, #16]
adrp x8, _I2EE_INVALID@GOTPAGE
ldr x8, [x8, _I2EE_INVALID@GOTPAGEOFF]
ldr w1, [x8]
bl _I2_COMPLETE
b LBB0_2
LBB0_2:
ldr x8, [sp, #16]
ldr w0, [x8, #8]
ldr x1, [sp, #8]
ldr w2, [sp, #4]
bl _I2_OUTSB
ldr x0, [sp, #16]
adrp x8, _I2EE_GOOD@GOTPAGE
ldr x8, [x8, _I2EE_GOOD@GOTPAGEOFF]
ldr w1, [x8]
bl _I2_COMPLETE
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.comm _I2E_MAGIC,8,3 ; @I2E_MAGIC
.comm _I2EE_INVALID,4,2 ; @I2EE_INVALID
.comm _I2EE_GOOD,4,2 ; @I2EE_GOOD
.no_dead_strip _iiWriteBuf8
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iiWriteBuf8
_iiWriteBuf8: ## @iiWriteBuf8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl %edx, -28(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq _I2E_MAGIC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_2
## %bb.1:
movq -16(%rbp), %rdi
movq _I2EE_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _I2_COMPLETE
LBB0_2:
movq -16(%rbp), %rax
movl 8(%rax), %edi
movq -24(%rbp), %rsi
movl -28(%rbp), %edx
callq _I2_OUTSB
movq -16(%rbp), %rdi
movq _I2EE_GOOD@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _I2_COMPLETE
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _I2E_MAGIC,8,3 ## @I2E_MAGIC
.comm _I2EE_INVALID,4,2 ## @I2EE_INVALID
.comm _I2EE_GOOD,4,2 ## @I2EE_GOOD
.no_dead_strip _iiWriteBuf8
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/ip2/extr_i2ellis.c_iiWriteBuf8.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function add_msg
_add_msg: ; @add_msg
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
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
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur w3, [x29, #-20]
str x4, [sp, #32]
ldur x8, [x29, #-8]
ldr w8, [x8]
adrp x9, _R3964_MAX_MSG_COUNT@GOTPAGE
ldr x9, [x9, _R3964_MAX_MSG_COUNT@GOTPAGEOFF]
ldr w9, [x9]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, _GFP_ATOMIC@GOTPAGE
ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_5
LBB0_4:
adrp x8, _GFP_KERNEL@GOTPAGE
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB0_5
LBB0_5:
ldr w1, [sp, #12] ; 4-byte Folded Reload
mov w0, #32
bl _kmalloc
str x0, [sp, #24]
ldr x1, [sp, #24]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _TRACE_M
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
b LBB0_20
LBB0_7:
ldur x8, [x29, #-8]
add x0, x8, #24
ldr x1, [sp, #16]
bl _spin_lock_irqsave
ldur w8, [x29, #-12]
ldr x9, [sp, #24]
str w8, [x9]
ldur w8, [x29, #-16]
ldr x9, [sp, #24]
str w8, [x9, #4]
ldur w8, [x29, #-20]
ldr x9, [sp, #24]
str w8, [x9, #8]
ldr x8, [sp, #32]
ldr x9, [sp, #24]
str x8, [x9, #24]
ldr x8, [sp, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
str x8, [x9, #16]
ldur x9, [x29, #-8]
str x8, [x9, #32]
b LBB0_10
LBB0_9:
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
ldr x9, [x9, #16]
str x8, [x9, #16]
ldr x8, [sp, #24]
ldur x9, [x29, #-8]
str x8, [x9, #16]
b LBB0_10
LBB0_10:
ldur x9, [x29, #-8]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldr x9, [sp, #32]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB0_12
LBB0_12:
ldur x8, [x29, #-8]
add x0, x8, #24
ldr x1, [sp, #16]
bl _spin_unlock_irqrestore
b LBB0_18
LBB0_13:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldr w8, [x8]
adrp x9, _R3964_MSG_ACK@GOTPAGE
ldr x9, [x9, _R3964_MSG_ACK@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14:
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldr w8, [x8, #8]
adrp x9, _R3964_OVERFLOW@GOTPAGE
ldr x9, [x9, _R3964_OVERFLOW@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15:
ldur x8, [x29, #-8]
ldr x9, [x8, #16]
ldr w8, [x9, #4]
add w8, w8, #1
str w8, [x9, #4]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _TRACE_PE
b LBB0_17
LBB0_16:
adrp x8, _R3964_MSG_ACK@GOTPAGE
ldr x8, [x8, _R3964_MSG_ACK@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-12]
stur wzr, [x29, #-16]
adrp x8, _R3964_OVERFLOW@GOTPAGE
ldr x8, [x8, _R3964_OVERFLOW@GOTPAGEOFF]
ldr w8, [x8]
stur w8, [x29, #-20]
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _TRACE_PE
b LBB0_2
LBB0_17:
b LBB0_18
LBB0_18:
ldur x8, [x29, #-8]
ldr w8, [x8, #4]
adrp x9, _R3964_USE_SIGIO@GOTPAGE
ldr x9, [x9, _R3964_USE_SIGIO@GOTPAGEOFF]
ldr w9, [x9]
ands w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
ldur x8, [x29, #-8]
ldr w0, [x8, #8]
adrp x8, _SIGIO@GOTPAGE
ldr x8, [x8, _SIGIO@GOTPAGEOFF]
ldr w1, [x8]
mov w2, #1
bl _kill_pid
b LBB0_20
LBB0_20:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.comm _R3964_MAX_MSG_COUNT,4,2 ; @R3964_MAX_MSG_COUNT
.comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "add_msg - kmalloc %p"
.comm _R3964_MSG_ACK,4,2 ; @R3964_MSG_ACK
.comm _R3964_OVERFLOW,4,2 ; @R3964_OVERFLOW
l_.str.1: ; @.str.1
.asciz "add_msg - inc prev OVERFLOW-msg"
l_.str.2: ; @.str.2
.asciz "add_msg - queue OVERFLOW-msg"
.comm _R3964_USE_SIGIO,4,2 ; @R3964_USE_SIGIO
.comm _SIGIO,4,2 ; @SIGIO
.no_dead_strip _add_msg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function add_msg
_add_msg: ## @add_msg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movq %r8, -32(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movq _R3964_MAX_MSG_COUNT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jge LBB0_13
## %bb.1:
jmp LBB0_2
LBB0_2:
cmpl $0, -20(%rbp)
je LBB0_4
## %bb.3:
movq _GFP_ATOMIC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
jmp LBB0_5
LBB0_4:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
LBB0_5:
movl -52(%rbp), %esi ## 4-byte Reload
movl $32, %edi
callq _kmalloc
movq %rax, -40(%rbp)
movq -40(%rbp), %rsi
leaq L_.str(%rip), %rdi
callq _TRACE_M
cmpq $0, -40(%rbp)
jne LBB0_7
## %bb.6:
jmp LBB0_20
LBB0_7:
movq -8(%rbp), %rdi
addq $24, %rdi
movq -48(%rbp), %rsi
callq _spin_lock_irqsave
movl -12(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl -16(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, 4(%rax)
movl -20(%rbp), %ecx
movq -40(%rbp), %rax
movl %ecx, 8(%rax)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 24(%rax)
movq -40(%rbp), %rax
movq $0, 16(%rax)
movq -8(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB0_9
## %bb.8:
movq -40(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq %rcx, 32(%rax)
jmp LBB0_10
LBB0_9:
movq -40(%rbp), %rcx
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq %rcx, 16(%rax)
movq -40(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
LBB0_10:
movq -8(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
cmpq $0, -32(%rbp)
je LBB0_12
## %bb.11:
movq -32(%rbp), %rax
movl (%rax), %ecx
addl $1, %ecx
movl %ecx, (%rax)
LBB0_12:
movq -8(%rbp), %rdi
addq $24, %rdi
movq -48(%rbp), %rsi
callq _spin_unlock_irqrestore
jmp LBB0_18
LBB0_13:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movl (%rax), %eax
movq _R3964_MSG_ACK@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_16
## %bb.14:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movl 8(%rax), %eax
movq _R3964_OVERFLOW@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_16
## %bb.15:
movq -8(%rbp), %rax
movq 16(%rax), %rax
movl 4(%rax), %ecx
addl $1, %ecx
movl %ecx, 4(%rax)
leaq L_.str.1(%rip), %rdi
callq _TRACE_PE
jmp LBB0_17
LBB0_16:
movq _R3964_MSG_ACK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -12(%rbp)
movl $0, -16(%rbp)
movq _R3964_OVERFLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -20(%rbp)
movq $0, -32(%rbp)
leaq L_.str.2(%rip), %rdi
callq _TRACE_PE
jmp LBB0_2
LBB0_17:
jmp LBB0_18
LBB0_18:
movq -8(%rbp), %rax
movl 4(%rax), %eax
movq _R3964_USE_SIGIO@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
cmpl $0, %eax
je LBB0_20
## %bb.19:
movq -8(%rbp), %rax
movl 8(%rax), %edi
movq _SIGIO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edx
callq _kill_pid
LBB0_20:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _R3964_MAX_MSG_COUNT,4,2 ## @R3964_MAX_MSG_COUNT
.comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "add_msg - kmalloc %p"
.comm _R3964_MSG_ACK,4,2 ## @R3964_MSG_ACK
.comm _R3964_OVERFLOW,4,2 ## @R3964_OVERFLOW
L_.str.1: ## @.str.1
.asciz "add_msg - inc prev OVERFLOW-msg"
L_.str.2: ## @.str.2
.asciz "add_msg - queue OVERFLOW-msg"
.comm _R3964_USE_SIGIO,4,2 ## @R3964_USE_SIGIO
.comm _SIGIO,4,2 ## @SIGIO
.no_dead_strip _add_msg
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/extr_n_r3964.c_add_msg.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i40iw_create_hmc_obj_type
_i40iw_create_hmc_obj_type: ; @i40iw_create_hmc_obj_type
.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 x0, [sp, #8]
str x1, [sp]
ldr x8, [sp, #8]
ldr x8, [x8]
ldr x8, [x8]
ldr x0, [sp, #8]
ldr x1, [sp]
blr x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.no_dead_strip _i40iw_create_hmc_obj_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i40iw_create_hmc_obj_type
_i40iw_create_hmc_obj_type: ## @i40iw_create_hmc_obj_type
.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, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq *%rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _i40iw_create_hmc_obj_type
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_main.c_i40iw_create_hmc_obj_type.c |
Subsets and Splits